Permanent magnet synchronous motor control system
By employing the S32K144 controller and a combination of various sensors, the reliability and driving performance issues of the permanent magnet synchronous motor control system in extreme environments have been resolved, achieving high reliability, low failure risk, and an optimized driving experience.
Patent Information
- Application Number
- CN202423219096.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2034-12-25
AI Technical Summary
Existing permanent magnet synchronous motor control systems are unreliable in extreme temperatures, vibrations, and harsh environments, are easily affected by interference, and their driving comfort and power responsiveness need to be improved.
The S32K144 controller, combined with Hall sensors, speed sensors, temperature sensors, voltage sensors, and a driver input module, enables precise control and mode switching, supports CAN and CAN-FD communication, and simplifies system design.
It improves the system's reliability and anti-interference capabilities, reduces the risk of failure, extends the driving range of electric vehicles, and enhances driving comfort and power responsiveness.
Smart Images

Figure CN223559495U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to motor control system, especially a kind of permanent magnet synchronous motor control system. BACKGROUND
[0002] Permanent magnet synchronous motor is widely used in electric vehicles because of its high efficiency, high power density and good controllability. Compared with traditional asynchronous motor, permanent magnet synchronous motor can maintain higher efficiency and help extend the battery range during operation. However, the chip in the permanent magnet synchronous motor control system currently uses STM32 series chip. Although the STM32 series chip has wide application and good skills, it has some shortcomings in some key aspects. For example, the STM32 series chip has poor reliability in extreme temperature, vibration and other harsh automotive operating environments, and is easily disturbed. The STM32 series chip lacks comprehensive support in safety functions, and the lack of these functions may increase the risk of system failure. In addition, driving comfort and power responsiveness need to be improved. SUMMARY
[0003] The technical problem to be solved by the utility model is to provide a permanent magnet synchronous motor control system to solve the shortcomings of insufficient reliability, easy to be disturbed, increase the risk of system failure, and improve driving comfort and power responsiveness.
[0004] The technical solution to solve the above technical problems is a permanent magnet synchronous motor control system, comprising a battery management system, a controller, a motor driver, a permanent magnet synchronous motor, a signal acquisition module and a driver input module. The input and output terminals of the battery management system are connected to the controller, and the output terminal of the battery management system is also connected to the motor driver. The controller uses S32K144 controller, the input terminals of the S32K144 controller are connected to the driver input module and the signal acquisition module for acquiring permanent magnet synchronous motor current, temperature and speed signals, the input and output terminals of the S32K144 controller are connected to the motor driver, and the output terminal of the motor driver is connected to the input terminal of the permanent magnet synchronous motor. The driver input module includes a motion mode input module, an economic mode input module and a comfort mode input module.
[0005] The further technical solution of the utility model is that the signal acquisition module includes a Hall sensor for acquiring permanent magnet synchronous motor phase current, a speed sensor for acquiring permanent magnet synchronous motor speed signal and a temperature sensor for acquiring permanent magnet synchronous motor temperature. The output terminals of the Hall sensor, speed sensor and temperature sensor are respectively connected to the input terminals of the S32K144 controller.
[0006] The Hall sensor is installed on a phase current input circuit of the permanent magnet synchronous motor and is connected to an ADC input port of the S32K144 controller through a signal line.
[0007] The further technical scheme of the utility model discloses: the rotating encoder is installed on the rotor shaft of permanent magnet synchronous motor, is used for monitoring the rotor position of permanent magnet synchronous motor, provides accurate rotor position information and speed information, the A, B, Z phase output of rotating encoder are all connected to the GPIO pin of S32K144 controller.
[0008] The further technical scheme of the utility model discloses: the temperature sensor is installed on permanent magnet synchronous motor and is connected to the ADC input port of S32K144 controller through signal line.
[0009] The further technical scheme of the utility model discloses: voltage sensor is also installed on the output circuit of battery management system, the voltage sensor selects Analog Devices ADM8317 sensor, is used for continuously monitoring the output voltage state of battery management system, and the voltage sensor is connected to the ADC input port of S32K144 controller through signal line.
[0010] The further technical scheme of the utility model discloses: the input of S32K144 controller is also connected with the linear position sensor output that is installed on the automobile pedal through signal line, and the linear position sensor is used for detecting the foot range signal of pedal depression.
[0011] The further technical scheme of the utility model discloses: the motion mode input module, economic mode input module, comfortable mode input module are motion mode button, economic mode button, comfortable mode button respectively, and the driver input module still includes touch screen, and the motion mode button, economic mode button, comfortable mode button are integrated on touch screen respectively, and touch screen, motion mode button, economic mode button, comfortable mode button are connected with the input of S32K144 controller respectively.
[0012] The further technical scheme of the utility model discloses: S32K144 controller is also provided with ADC channel, and this ADC channel is used for regularly reading the motor current, temperature, rotating speed feedback signal and voltage feedback signal of battery management system that are collected.
[0013] The further technical scheme of the utility model discloses: S32K144 controller is equipped with CAN interface, and this CAN interface is connected with external equipment through CAN bus cable, realizes the data exchange and system coordination of S32K144 controller and external equipment.
[0014] Compared with the prior art, the permanent magnet synchronous motor control system has the following beneficial effects:
[0015] 1. High reliability, not easy to be disturbed
[0016] The utility model discloses a battery management system, controller, motor driver, permanent magnet synchronous motor, signal acquisition module, driver input module, wherein, the controller adopts S32K144 controller, through this S32K144 controller controls the speed of permanent magnet synchronous motor, torque, current limit etc. Parameter simulation realizes different automobile motion mode. S32K144 controller can guarantee that system is not easy to be disturbed under the harsh environment, has higher reliability and durability.
[0017] 2. Can reduce system failure risk
[0018] The utility model discloses a S32K144 controller accurate control permanent magnet synchronous motor's kinetic energy recovery, and kinetic energy recovery reduces the dependence on traditional braking system, reduces the wear and tear of braking system. Meanwhile, the high reliability and anti -interference ability of S32K144 controller ensure the stability of system in complex environment, reduce system failure risk, prolong the service life of vehicle.
[0019] 3. Can prolong the cruising range of electric automobile
[0020] The utility model discloses a S32K144 controller accurate control permanent magnet synchronous motor's kinetic energy recovery, and more kinetic energy is converted into electric energy and is fed back to the battery when decelerating and braking, significantly improves the energy efficiency of system, prolongs the cruising range of electric automobile.
[0021] 4. Control precision is high
[0022] The utility model has the hardware peripherals that are optimized for motor control in motor control, namely the module integrated in S32K144 controller, such as FlexPWM module, can have 6 independent PWM channels, can configure different frequency and duty ratio in the same module, these modules can generate more complex PWM waveform, and ensure the synchronization of ADC sampling and PWM output, make up the CPU load and delay problem caused by STM32 when realizing complex synchronous control logic, improve control precision.
[0023] 5. System structure is simple
[0024] The controller of the utility model not only supports standard CAN, but also supports CAN-FD and integrates LIN bus, does not need additional configuration, better satisfies high -speed multi -protocol communication demand, simplifies system design.
[0025] 6. Can comprehensively improve driving comfort and power response
[0026] The driver input module of the utility model includes motion mode input module, economic mode input module, comfortable mode input module, and the controller is intelligently adjusted the recovery intensity and acceleration performance of motor according to the three kinds of input modes, adopts S32K144 controller and can ensure the maximization of recovery under economic mode, the strongest acceleration performance under motion mode, the stable driving experience under comfortable mode, comprehensively improves driving comfort and power response.
[0027] Below, the technical features of the utility model of a kind of permanent magnet synchronous motor control system are further described with the drawings and examples. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 The utility model of a kind of permanent magnet synchronous motor control system structure diagram. DETAILED DESCRIPTION
[0029] Example one
[0030] A kind of permanent magnet synchronous motor control system, including battery management system, controller, motor driver, permanent magnet synchronous motor, signal acquisition module, driver input module;The input and output end of the battery management system is connected with controller, the output end of battery management system is also connected with motor driver;The controller adopts S32K144 controller, the input end of this S32K144 controller is connected with driver input module, signal acquisition module for collecting permanent magnet synchronous motor current, temperature, speed signal output respectively, the input and output end of S32K144 controller is connected with motor driver, the output end of motor driver is connected with the input end of permanent magnet synchronous motor.S32K1444 controller generated PWM signal is exported through GPIO pin, is transmitted into motor driver, through adjusting the frequency and duty ratio of PWM, to control the voltage and current of permanent magnet synchronous motor, through adjusting the voltage and current of permanent magnet synchronous motor to control the speed and torque of motor.
[0031] The signal acquisition module includes Hall sensor for collecting permanent magnet synchronous motor phase current, speed sensor for collecting permanent magnet synchronous motor speed signal, temperature sensor for collecting permanent magnet synchronous motor temperature;Wherein:
[0032] The Hall sensor is installed on the phase current input circuit of the permanent magnet synchronous motor, and one Hall sensor is connected to each phase circuit. The output end of the Hall sensor is connected to the ADC input port of the S32K144 controller input end. The current data of the vehicle running is collected in real time by the Hall sensor, and is transmitted to the S32K144 controller for judgment of the current running state. In the motion mode, the S32K144 controller adjusts the motor power output according to the vehicle speed to ensure better acceleration performance.
[0033] The rotation speed sensor adopts AMS AS5048A rotary encoder, which is installed on the rotor shaft of the permanent magnet synchronous motor, and is used to monitor the rotor position of the permanent magnet synchronous motor, and provides accurate rotor position information and speed information; the A, B and Z phase output ends of the encoder are connected to the GPIO pin of the S32K144 controller. The AS5048A rotary encoder can be used to monitor the rotation speed data of the motor in real time, which is very important for controlling the working state of the motor. The data of the rotation speed sensor is received by the S32K144 controller through the SPI interface or CAN bus, which is used to accurately adjust the rotation speed output of the permanent magnet synchronous motor.
[0034] The temperature sensor is installed on the permanent magnet synchronous motor and connected to the ADC input port of the S32K144 controller through a signal line, which is used to monitor the temperature of the permanent magnet synchronous motor and prevent overheating damage.
[0035] A voltage sensor is also installed on the output circuit of the battery management system, which selects Analog Devices ADM8317 sensor to continuously monitor the output voltage state of the battery management system. The voltage sensor is connected to the ADC input port of the S32K144 controller through a signal line. Based on the remaining power of the battery, the S32K144 controller will automatically switch to energy saving mode when the battery power is low, reducing the motor power output.
[0036] A linear position sensor is also installed on the automobile pedal, which is connected to the ADC input port of the S32K144 controller through a signal line. The linear position sensor detects the foot signal of the pedal depression, and feeds back the signal to the S32K144 controller, which is used to trigger the kinetic energy recovery process, and adjusts the recovery intensity according to the current mode setting.
[0037] The driver input module comprises a touch screen and a sports mode input module, an economic mode input module and a comfortable mode input module integrated on the touch screen respectively, and the sports mode input module, the economic mode input module and the comfortable mode input module are sports mode keys, economic mode keys and comfortable mode keys respectively.
[0038] The S32K144 controller is further provided with an ADC channel for regularly reading the collected current, voltage and other feedback signals of the motor so as to perform closed-loop control.
[0039] The S32K144 controller is provided with a CAN interface, which is connected with external equipment through a CAN bus cable to realize data exchange and system coordination between the S32K144 controller and the external equipment.
[0040] The battery management system provides stable power supply to ensure normal work of the controller, the sensor and the motor driver.
[0041] The three modes are switched by selecting different keys on the touch screen.
[0042] The sports mode keys: the speed and torque output of the motor are increased to provide strong power output and agile acceleration response.
[0043] The economic mode keys: the speed and torque of the motor are limited to maximize energy efficiency and cruising range.
[0044] The comfortable mode keys: the speed and torque of the motor are kept at a moderate level to provide a smooth acceleration response.
[0045] The control principle structure diagram of the application is as follows: Figure 1As shown, the low-voltage power supply is connected to the S32K144 controller and other components after conversion. The S32K144 controller receives input selections from the driver input module and adjusts the operating state of the permanent magnet synchronous motor by managing the motor driver, kinetic energy recovery intensity, and interaction with the battery management system to adapt to economic, sporty, or comfortable driving modes. At the same time, the system monitors the motor and battery status in real time through the signal acquisition module to ensure effective recovery of kinetic energy and optimization of vehicle performance, providing an efficient, safe, and comfortable driving experience.
Claims
1. A permanent magnet synchronous motor control system, characterized by: The application relates to a battery management system, a controller, a motor driver, a permanent magnet synchronous motor, a signal acquisition module and a driver input module; the input and output ends of the battery management system are connected with the controller, and the output end of the battery management system is also connected with the motor driver; the controller adopts an S32K144 controller, the input end of the S32K144 controller is connected with the driver input module and the output end of a signal acquisition module for acquiring the current, temperature and rotating speed signals of the permanent magnet synchronous motor, the input and output ends of the S32K144 controller are connected with the motor driver, and the output end of the motor driver is connected with the input end of the permanent magnet synchronous motor; the driver input module comprises a sports mode input module, an economic mode input module and a comfortable mode input module.
2. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: The signal acquisition module comprises a Hall sensor for acquiring the phase current of the permanent magnet synchronous motor, a rotating speed sensor for acquiring the rotating speed signal of the permanent magnet synchronous motor and a temperature sensor for acquiring the temperature of the permanent magnet synchronous motor; the output ends of the Hall sensor, the rotating speed sensor and the temperature sensor are connected with the input end of the S32K144 controller.
3. A permanent magnet synchronous motor control system according to claim 2, characterized in that: The Hall sensor is installed on the phase current input circuit of the permanent magnet synchronous motor and is connected with the ADC input port of the S32K144 controller through a signal line.
4. The control system of a permanent magnet synchronous motor according to claim 2, characterized in that: The rotating speed sensor adopts a rotary encoder which is installed on the rotor shaft of the permanent magnet synchronous motor and is used for monitoring the rotor position of the permanent magnet synchronous motor and providing accurate rotor position information and speed information; the A, B and Z phase output ends of the rotary encoder are connected with the GPIO pin of the S32K144 controller.
5. The control system of a permanent magnet synchronous motor according to claim 2, characterized in that: The temperature sensor is installed on the permanent magnet synchronous motor and is connected with the ADC input port of the S32K144 controller through a signal line.
6. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: A voltage sensor is also installed on the output circuit of the battery management system, the voltage sensor selects an Analog Devices ADM8317 sensor and is used for continuously monitoring the output voltage state of the battery management system, and the voltage sensor is connected with the ADC input port of the S32K144 controller through a signal line.
7. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: The input end of the S32K144 controller is also connected with the output end of a linear position sensor installed on the automobile pedal through a signal line, and the linear position sensor is used for detecting the foot stroke signal of the pedal.
8. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: The sports mode input module, the economic mode input module and the comfortable mode input module are respectively a sports mode key, an economic mode key and a comfortable mode key; the driver input module further comprises a touch screen, the sports mode key, the economic mode key and the comfortable mode key are integrated on the touch screen, and the touch screen, the sports mode key, the economic mode key and the comfortable mode key are connected with the input end of the S32K144 controller.
9. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: The S32K144 controller is further provided with an ADC channel which is used for regularly reading the acquired motor current, temperature, rotating speed feedback signals and voltage feedback signals of the battery management system.
10. The control system of a permanent magnet synchronous motor according to claim 1, characterized in that: The S32K144 controller is provided with a CAN interface, which is connected with an external device through a CAN bus cable to realize data exchange and system coordination between the S32K144 controller and the external device.