—— Overview
The motor controller is a device to control the energy transmission between the power supply and the driving motor, which is composed of control signal interface circuit, drive motor control circuit and drive circuit . Its main function is to control the voltage and current of the drive motor, complete the control of the motor torque, speed and steering. The drive control technology of electric vehicle is one of the core technologies of electric vehicle. The design of motor controller and the development of control algorithm are the key factors to determine the performance of the whole drive system.
—— Software Function
• Torque control
• Speed control
• High voltage circuit control
• Active discharge / passive discharge
• Overtemperature protection
• Over-voltage protection |
• Under-voltage protection
• Overcurrent protection
• Communication frame loss protection
• Fault detection
• Working mode feedback
|
• Soft decoding
• Active anti shake
• Dead zone compensation
• Waked-up Function
• Can communication
|
MCU Function Frame
—— System Connection Diagram
—— Software Solution
The model-based V-shape development mode is adopted, and the application algorithm is completely based on MATLAB / Simulink / stateflow graphical modeling method to establish software engineering, which fully conforms to MAAB modeling specification, with clear hierarchical structure; One button automatic code generation tool is convenient and fast; it supports mainstream CANape / INCA / MECA calibration and measurement tools; the main control algorithm adopts space vector control and SVPWM technology.
Model based control algorithm
|