Brushless DC Motor Control Based on TMS320F2812
[Copy link]
Part of the project uses 2812 to control a brushless DC motor. Here I will share the software and hardware design and program code:
1. The structure and commutation principle of a brushless DC motor
The body of a brushless DC motor is similar in structure to a permanent magnet synchronous motor, but it does not have a cage winding or other starting devices. Its rotor is made of permanent magnet material, and the stator has a multi-phase armature winding. The number of winding phases is divided into two-phase, three-phase, four-phase and five-phase, but the most commonly used are three-phase and four-phase. Each phase winding is connected to the corresponding power switch device in the external power electronic switch circuit, and the tracking rotor of the position sensor is connected to the motor shaft.
When one phase of the stator winding is energized, the phase current interacts with the magnetic field generated by the magnetic pole of the rotor permanent magnet to generate torque, driving the rotor to rotate. The position sensor then converts the rotor position into an electrical signal to control the power electronic switch circuit, so that the stator phase windings are turned on in a certain order, and the stator phase current changes phase in a certain order as the rotor position changes. This is the commutation principle of a brushless DC motor. Since the conduction sequence of the power electronic switch circuit is synchronized with the rotor angle, it plays the role of phase switching of the mechanical commutator.
The structure diagram of the brushless DC motor control system based on TMS320F2812 is shown in Figure 1. In Figure 1, the DC power supply is powered by the stator winding of the motor through the switch circuit. The position sensor uses a Hall sensor to continuously detect the current position of the rotor. The DSP controller determines which phase winding is connected based on the current position information, and then controls the conduction and cutoff of the switch tube to achieve the phase switching of the motor.
基于TMS320F2812的无刷直流电机控制.doc
(401 KB, downloads: 25)
|