After a century of development, the automotive industry has entered its most exciting moment in history, with technological advances expected to bring unparalleled safety, higher productivity and better environmental benefits. But pure electric vehicles with autonomous driving capabilities cannot become mainstream or affordable overnight. OEMs realize that they need to establish the right architectural foundation for current and future cars. The regional controller is an important part of the vehicle EE architecture. This article discusses the key technologies and MCU solutions for implementing the regional controller.
The regional controller is a node in the car. It provides power distribution, data connection, I/O acquisition and drive requirements for various sensors, actuators and other devices in a physical area of the car. The MCU is the brain of the regional controller. The MCU in the regional controller generally needs to have powerful processing capabilities, rich communication interfaces, and a certain level of functional safety and information security. The following introduces some key technologies and MCU solutions for regional controllers.
1. High-performance multi-core processor
EE architecture vehicles centered around regional controllers and central computing units will reduce the number of ECUs in the vehicle, but will also increase the processor load of some ECUs because more functions are deployed to them. Physically, the regional controller is the logical concentration point of multiple ECUs, which places higher demands on the computing power of the MCU in the regional controller. In traditional ECUs with a single function, a low-performance single-core MCU is often sufficient to meet the requirements, while for regional controllers, high-performance multi-core MCUs are often required to meet the requirements. In a multi-core MCU, each core can run a single function, and multiple cores can realize multiple functions, thereby realizing the integration of multiple ECU functions.
The TC3xx microcontroller is the second generation of AURIX™ products, equipped with up to six TriCore™ 1.62 embedded cores, each with a clock frequency of up to 300MHz. The following figure is a block diagram of the TC39x series MCU in the TC3xx family. The computing power of TC39x reaches 4000 DMIPS.
Figure 1: TC39x Block Diagram
The TC4xx microcontroller is the third generation of AURIX™ products, equipped with up to six TriCore™ 1.8 embedded cores, each with a clock frequency of up to 500MHz, and an integrated PPU coprocessor that can achieve fast vector operations, basic neural network algorithms, and other complex mathematical algorithms. The PPU can be used in future regional controllers for modeling, model predictive control, and anti-intrusion detection and other information security algorithms. The figure below is a block diagram of the TC4Dx MCU in the TC4xx family. The computing power of TC4Dx reaches 8000DMIPS+72GFlops*1. 72GFlops is contributed by the PPU.
Figure 2: TC4Dx Block Diagram
*1. FLOPS is the number of floating point operations per second. 1GFLOPS = one billion (=10^9) floating point operations per second. Taking Multi-Layer Perception (MLP) as an example, when the number of input layer neurons = 14, the number of hidden layer neurons = 20, and the number of output layer neurons = 1, about 1.7GFLOPS of computing power is required.
2. Connectivity and interoperability
In the regional controller system, each sensor and actuator is connected to the local regional controller according to its location, and then the regional controller performs some data frame format conversion, aggregates the data and transmits the data to the central processing unit via high-speed Ethernet. The regional controller generally communicates with the sensors and actuators mounted on it through the controller CAN or LIN bus, or communicates with the camera or other ADAS sensors through low-speed Ethernet or LVDS. This requires the main control MCU of the regional controller to have a wealth of CAN and LIN communication interfaces and high-speed Ethernet interfaces. In the process of data forwarding by the regional controller, the problem of communication delay also needs to be considered. In the centralized architecture, most of the control and execution commands are issued by the central processing unit. Some commands (such as chassis and power) have strict requirements for delay, so there are also requirements for the delay time from high-speed Ethernet to CAN/LIN/low-speed Ethernet interface in the regional controller.
TC3xx/TC4xx family products have abundant CAN/LIN/Ethernet communication interfaces.
Figure 3: TC39x/TC4Dx CAN/LIN/Ethernet Channel
The TC4xx product integrates a dedicated hardware communication routing module CRE (CAN Routine Engine)/DRE (Data Routine Engine). One CAN module in the TC4xx integrates four CAN nodes. When the CAN nodes in the same module perform data communication, CAN data forwarding can be directly achieved through CRE without CPU and software intervention. When CAN nodes in different modules perform data forwarding or data forwarding between CAN nodes and Ethernet, data forwarding can be directly achieved through CRE+DRE, also without CPU and software intervention.
Figure 4: TC4xx CRE DRE
This hardware routing engine directly implements data forwarding, which greatly reduces data delay. The forwarding delay from CAN to Ethernet can be as short as 15us, and the forwarding delay from CAN to CAN can be as short as 5us.
Figure 5: TC4xx Communication Latency
In the future central integrated EE architecture, the amount of communication data continues to increase, and high-speed Ethernet gradually becomes the backbone network in the EE architecture. In order to consider data communication security and redundancy, the Ethernet ring network architecture has gradually become the mainstream, and the regional controller and the central control unit are nodes in the Ethernet ring network. TC4Dx has 2 5Gbps high-speed Ethernet interfaces and 4 10/100Mbps interfaces. The 2 high-speed Ethernet interfaces are connected to the Ethernet ring network (1 in and 1 out), and the 4 low-speed Ethernet interfaces can be connected to radar or camera sensors. The 2 high-speed Ethernet interfaces can directly forward Ethernet frames through the internal integrated high-speed Ethernet bridge (G-Ethernet Bridge). The 4 low-speed Ethernet interfaces can also directly forward Ethernet frames through the low-speed Ethernet bridge (L-Ethernet Bridge). The low-speed Ethernet interface and the high-speed Ethernet interface can also directly forward Ethernet frames through the low-speed Ethernet bridge + DRE + high-speed Ethernet bridge. This method greatly reduces the delay time of data forwarding between Ethernet interfaces.
Figure 6: TC4xx Ethernet Bridge
In the Ethernet backbone network with central processing units and regional controllers as nodes, it is often necessary to transmit multiple Ethernet data frames. Some data needs to be transmitted deterministically (such as control data), some data will take up a lot of bandwidth (such as audio and video data, ADAS sensor data, etc.), and some are regular data (such as no requirements for transmission delay). Therefore, in this backbone network, Ethernet frames need to be classified. For control data, it must be ensured that it can be sent out within a controllable delay time. For audio and video or ADAS sensor data, it must be ensured that during normal transmission, it cannot interfere with the transmission of other Ethernet frames in the network, causing other high-priority Ethernet frames to be blocked.
The Ethernet TSN protocol solves this problem very well. IEEE802.1Qav implements traffic shaping, priority division and queue management, which solves the problem of data conflict very well. On this basis, IEEE802.1Qbv implements the time-aware Shaper mechanism, which allows the port to control whether the traffic is allowed to be transmitted according to a certain time base. The transmission switch is controlled by the transmission gate and the gate control list (GLC). Through this time slot division mechanism, the time-sensitive message flow and other ordinary message flows are isolated, which can not only realize the deterministic transmission of time-sensitive messages, making the message arrival time predictable, but also avoid the interference of ordinary messages and improve real-time performance. IEEE802.1AS provides a time synchronization mechanism for each node in the Ethernet network. On this basis, IEEE802.1AS-rev adds the concepts of master clock redundancy and multiple time domains.
The AVB/TSN protocols supported by the TC3xx/TC4xx Ethernet controllers are as follows:
Figure 7: TC3xx/TC4xx Ethernet TSN Support
*1) IEEE802.1 Qbv-prelim: refers to the support of a slot function in the channel/queue of TC3xx's GETH. For example, a synchronization cycle can be divided into 3 slots, and then 3 queues can be configured, each queue occupies one slot, so that the 3 queues can send different Ethernet frames and the data sent by the 3 queues will not interfere with each other.
3. Non-interference
In the regional centralized architecture, the number of ECUs will be greatly reduced. Some of these reduced ECUs will be incorporated into the regional controllers, while others will upload their control functions to the central processing unit and transform themselves into smart sensors or smart actuators. In this process, the regional controller will carry more and more functions, and it is crucial that each function runs independently and does not interfere with each other.
By core
At present, multi-core MCUs have been widely used in automotive electronics. Each core can be assigned a function, so that each function runs in parallel, improving operating efficiency and ensuring that they do not interfere with each other. Of course, this requires relying on the Memory Protection Unit (MPU). TC3xx/TC4xx has up to 6 CPU cores, and each CPU supports the Memory Protection Unit (MPU). Taking TC3xx as an example, each CPU core has 6 groups of protection settings, each of which has 18 data protection areas and 10 code protection areas. After configuring the code data and code protection areas, other CPUs will not be able to access these areas. In addition, consider the situation where an operating system is running in a CPU. When multiple tasks are executed simultaneously, a set of protection settings can be assigned to each task, so that data and code can be isolated between tasks.
Previous article:Overview of LiDAR for Automotive Sensor Chips
Next article:A detailed explanation of BCM vehicle electrical management control unit
Recommended ReadingLatest update time:2024-11-16 09:22
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- First experience with the domestic RISC-V development board RV-STAR
- How to calculate clock pulse width from sampling rate of serial ADC?
- Wireless Condition Monitor for Motors and Pumps Using Multi-Axis Vibration
- Verification of the difference between & and && operators in C language
- After the power supply common mode surge protection, the power supply output voltage rises instead of falling
- Disturbance-free continuous power supply solution (disturbance-free quick switching with anti-sway module)
- Power supply obstacle" + electromagnetic interference and inductive howling
- Install an N102 on STM32F103 and experience NB-IoT development at home
- Switching Power Supply
- Selecting a buck-boost solution