What is a motor control unit MCU?
The Motor Control Unit (MCU) is an electronic module between the battery and the motor that controls the speed and acceleration of an electric vehicle based on the input of the switch. The controller converts the direct current of the battery into alternating current, and adjusts the power output of the battery to drive the motor. The controller can also reverse the rotation of the motor and charge the battery in reverse during regenerative braking.
The Motor controller of electric vehicles can be broadly divided into the following categories, depending on voltage, power and current:
Major functions of MCU
Motor Control Unit is the central control hub of electric vehicle motor, which performs many important functions to ensure smooth and efficient driving. Its main function is to convert the DC (direct current) supplied by the battery into the three-phase electric power (AC) that drives the motor.
In addition, the MCU monitors key parameters such as temperature, current and voltage to optimize motor performance and prevent potential failure. It can also accurately control the speed, torque and direction of the motor and the corresponding output power of the motor according to the input of the driver or the vehicle control system.
▎The main functions of the motor control unit (MCU) are: Control motor torque and speed
▎Start/Stop the motor
▎Prevent electrical failure
▎Provide overload protection
▎Change the direction of motor rotation
▎Regenerative brake
MCU is a typical hardware architecture
The following figure shows a typical hardware architecture diagram of a MCU. It is mainly composed of power supply, current detection circuit, inverter circuit (VSI) , CAN transceiver and MCU.
▎Microcontroller MCU: the main control input of the microcontroller itself comes from a switch signal that the driver can control. The switch signal will determine how the duty cycle of the PWM pulse changes to obtain the required speed and torque. In order to realize the high efficiency and fast control, the microcontroller can implement the FOC control.
▎VSI (Voltage Source Inverter) : the main function of VSI is to convert DC to AC via the position feedback of the motor. In general, VSI uses six igbts. However, in order to improve the current capability of the inverter, the parallel combination of igbts will also be used. Low-voltage motors (typically below 100V) use MOSFET (metal oxide semiconductor field effect transistor) , while high-voltage motors use GaN power switches and silicon carbide (SiC) insulated-gate bipolar transistor (IGBT) drivers.
▎Current detection circuit: for Induction Motor Phase Current, a current sensor based on Houle effect is used. In general, two current sensors are used to sense the two-phase current, and the third-phase current is derived from these two sensors.
▎Power: different levels of power are required to power microcontrollers, motor temperature sensors, and position sensors. In addition, because the microcontroller has built-in current sensors, power is required to provide these sensors with the appropriate bias voltage. To meet these requirements, the power part converts the battery's DC voltage into different voltages as needed.
▎Gate Driver: The Gate driver circuit amplifies the PWM pulse voltage level generated by the microcontroller to drive the IGBT.
▎Can Transceiver: the function of CAN transceiver is to transmit and receive data on CAN bus. The communication between MCU and other modules on the vehicle is realized.
How the MCU works
The microcontroller MCU is responsible for executing complex control algorithms and managing the overall operation of the motor. It also provides an external communication interface (mainly CAN) that enables it to communicate with other ecus in the system and obtain control information from the VCU. The PWM signal generated by MCU is amplified by gate driver and used to control power switch IGBT. Inverter VSI can realize the conversion between DC and AC. Usually, six igbts with three half-bridges are used to realize this conversion, and the number of parallel connections is increased to meet the current requirements of the motor. Various detection and sampling circuits provide feedback of motor parameters, such as position, phase current, temperature, etc. , for accurate control.
There are many types of motor, such as BLDC/PMSM DC motor and AC motor. Therefore, the motor control algorithm used in electric vehicles will depend on the motor and the type of control (open-loop or closed-loop).
The corresponding relationships are as follows:
The future of MCU
▎Control multiple motors. With the development of electric vehicle industry, motor control devices have made great progress. An emerging trend is the development of motor control devices that can control multiple motors simultaneously.
▎In the motor, explore the hub-driven and mid-drive two modes.
▎With the improvement of the integration and efficiency of MCU, the third generation List of semiconductor materials will be widely used in MCU, typically SiC and GaN. Compared with traditional silicon-based switches, Gan power switches have the advantages of higher switching speed, lower power loss and better thermal performance. Therefore, the motor control device has higher efficiency, lower energy consumption and greater power density. Sic and IGBT drivers can provide higher operating temperature and voltage capabilities to improve performance and reliability in demanding EV applications.
▎The intellectualization of MCU. Machine Learning and artificial intelligence in MCU can protect data integrity and reduce human error.
With the popularization of electric vehicle (EV) , the role of Motor Control Unit (MCU) in improving EV performance becomes more and more important. We believe that with the continuous progress of MCU architecture and technology, the future of electric vehicles will be more efficient, powerful and sustainable.