0 Introduction
Rare earth permanent magnet brushless DC motors use high-performance rare earth permanent magnet materials and non-contact commutation technology. They are small in size, high in efficiency, spark-free, reliable in operation, and have speed regulation performance similar to that of ordinary DC motors. They are widely used in aerospace, precision instruments, industrial control automation, and other fields. Brushless DC motors use electronic commutation devices and no mechanical brushes; they use permanent magnet rotors and no excitation loss; the heat-generating armature windings are placed on the outer stator, which has good heat dissipation, high efficiency, strong overload capacity, and no commutation sparks. They are particularly suitable for high-speed fields and are a key development direction for high-speed motors.
At present, in some special fields, there are strict requirements on the size of the motor, the number of connections and reliability. In these occasions, the position sensorless brushless DC motor (BLDCM) has become an ideal choice. The project uses digital design technologies such as DSP and CPLD to build a small-volume, high-speed, high-reliability motor speed control system. The system uses a two-phase brushless DC motor, a position sensorless method, and uses the back electromotive force of the motor winding as a signal. The CPLD generates the motor commutation timing, and realizes the steady speed control of the brushless DC motor through hardware startup and phase-locked loop tracking. The system has the characteristics of simple structure and electronic control circuit, reliable operation, and easy maintenance.
1 Mathematical model of brushless DC motor
Taking two-phase conduction and three-phase star six-state as an example, the voltage balance equation of the three-phase winding of the brushless DC motor is:
In the formula: uA, uB, uC are the stator phase winding voltages; eA, eB, eC are the stator phase winding electromotive forces; iA, iB, iC are the stator phase winding currents; L is the self-inductance of each phase winding of the stator; M is the mutual inductance between every two phase windings of the stator; R is the three-phase stator resistance; p is the differential operator.
The equivalent circuit model of the permanent magnet brushless DC motor can be obtained from formula (1), as shown in Figure 1.
The electromagnetic torque generated by the stator winding is expressed as:
The rotor motion equation of a permanent magnet brushless DC motor is:
Where: Tn is the electromagnetic torque; TL is the load torque; B is the damping coefficient; ω is the motor mechanical speed; J is the moment of inertia.
2 Control strategy and hardware composition of the control system
2.1 Control strategy of control system
The system adopts speed and current double closed-loop control, and uses digital devices to form the speed control part. The current loop uses the traditional PI regulator. DSP, as the central controller, issues various instructions and forms the PI regulator of the speed loop, which can perform intelligent PID control; part of the CPLD forms a phase-locked loop to detect the error value between the input frequency and the feedback frequency, and the other part uses the armature back electromotive force to generate the inverter's commutation control signal. The control principle block diagram of the system is shown in Figure 2.
2.2 Hardware composition of the control system
The hardware connection block diagram of the brushless DC motor control system is shown in Figure 3, which mainly consists of a brushless DC motor, an inverter, a controller, and a power supply.
Since the motor has a high speed, reaching 19,500 r/min, a large-scale programmable logic device (CPLD) with a fast operation speed is used to process speed feedback and motor commutation signals, and TMS320F2812 (DSP) constitutes the speed controller. The speed feedback of the motor is processed by the built-in phase-locked loop 74LS297 of the CPLD to generate a deviation input to the DSP for speed loop correction, and then output to the current controller through the 4-channel, 12-bit resolution D/A converter DAC7724. After current correction, it enters the inverter. EPM7128S (CPLD) receives the back electromotive force of the motor winding to generate a conduction signal to control the switch of the four power amplifiers. The motor has two windings, A and B. The two windings are turned on in the forward and reverse directions in turn. If the stator winding is energized continuously in the order of ABAB, the rotor will rotate clockwise at a certain speed.
The hardware circuit connection diagram of the DSP core control part of the control system is shown in Figure 4.
3 Software Design
The system software consists of two parts: DSP program and CPLD program. When designing the software, we first conduct a system analysis and divide the entire program into submodules according to functional requirements. Considering the real-time requirements of the control system, interrupt programming is adopted. The entire DSP software system consists of a main program and several interrupt service programs.
The main function of the main program is to initialize the system, including initializing the DSP registers, interrupts, timers, GPIO, etc. Initialize the DSP to generate a working clock; initialize the internal modules of the DSP; disable global interrupts, initialize the interrupt vector table, and set the interrupts as needed; turn on global interrupts, enter the loop waiting main program, and wait for internal and external interrupt signals. The interrupt subroutine completes the correction control task of the speed loop. The flowchart of the DSP interrupt subroutine is shown in Figure 5.
The CPLD part completes the phase-change processing and speed feedback control functions of the motor, and uses a mixed design of graphical design and VHDL language to complete the programming of the timing part. The CPLD receives the back electromotive force of the motor winding, and forms the conduction control signal of the 4-way inverter through the on-chip logic circuit to control the power-on sequence of the motor winding; the phase-locked processing is performed through the built-in digital phase-locked loop 74LS297 of the CPLD to complete the constant control of the motor speed. The phase-locked loop and the phase-change processing circuit are packaged together using CPLD to form a complete speed feedback control module. The CPLD part of the program flow chart is shown in Figure 6.
4 Control system simulation and comparative analysis of its results
After VHDL description and compilation, EDA software can be used to perform timing function simulation. Functional simulation is performed in QuartusⅡ software development environment, and the timing simulation waveform is shown in Figure 7.
The speed controller is simulated using Matlab simulation software, and the obtained speed response curve of the simulation system is shown in Figure 8.
The continuous system is discretized using the bilinear transformation method, and the resulting digital system speed response curve is shown in Figure 9.
In the figure: n is the motor rotation speed; r is the motor revolutions.
The experimental results show that the speed response indicators of the improved digital system: rise time, adjustment time, overshoot, etc. have all been improved, and the system has good speed and stability.
5 Conclusion
Based on the analysis of the operating principle of brushless DC motor, a brushless DC motor control system solution based on TMS320F2812 is proposed, which makes full use of the powerful functions of DSP to enable the system to obtain higher control accuracy and dynamic and static characteristics. Phase-locked speed control is applied to the brushless DC motor system, and the simulation results of analog and digital systems are compared and analyzed, which proves that the system has strong robustness and adaptability, realizes the control of motor output torque and speed, and improves the speed regulation performance of the motor.
Previous article:Research and design of digital telephoto camera based on DSP
Next article:Implementation of Digital Multi-Function Board Based on DSP TMS320VC5402
Recommended ReadingLatest update time:2024-11-16 19:40
- Popular Resources
- Popular amplifiers
- 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
- Looking to buy a ZYNQ development board
- LPC7168 QEIPOS cannot get value
- When BLE meets MEMS-LSM6DSL driver ported to NRF52832
- Can you please tell me why CS+ does not display the Simulator GUI interface?
- [SAMR21 New Gameplay] Summary
- 【TI Recommended Course】#TI Embedded Processor Solutions for Speech Recognition Applications#
- How to convert high and low level signals into analog signals
- RF quality information sharing
- LSM6DSL acceleration wake-up threshold usage (WAKE_UP_THS (5Bh))
- NUCLEO Burning