BLDC Motor Control Algorithm
Brushless motors are self-commutated (self-direction switching) and therefore more complex to control. BLDC motor control requires knowledge of the rotor position and mechanism for commutating the motor. For closed-loop speed control, there are two additional requirements, namely the measurement of the rotor speed and/or motor current and the PWM signals to control the motor speed and power. BLDC motors can use edge-aligned or center-aligned PWM signals depending on the application requirements. Most applications require only speed change operation and will use 6 independent edge-aligned PWM signals. This provides the highest resolution. If the application requires server positioning, dynamic braking or power reversal, the use of supplementary center-aligned PWM signals is recommended. To sense the rotor position, BLDC motors use Hall effect sensors to provide absolute position sensing. This results in more wire usage and higher cost. Sensorless BLDC control eliminates the need for Hall sensors and instead uses the motor's back EMF (electromotive force) to predict the rotor position. Sensorless control is essential for low-cost variable speed applications such as fans and pumps. Refrigerator and air conditioning compressors also require sensorless control when using BLDC motors. Dead time insertion and compensation: Most BLDC motors do not require complementary PWM, dead time insertion, or dead time compensation. The only BLDC applications that may require these features are high performance BLDC servo motors, sine wave excited BLDC motors, brushless AC, or PC synchronous motors.
Control Algorithm
Many different control algorithms are used to provide control of BLDC motors. Typically, power transistors are used as linear regulators to control the motor voltage. This approach is not practical when driving high power motors. High power motors must be PWM controlled and require a microcontroller to provide starting and control functions. The control algorithm must provide the following three functions:
PWM voltage for controlling motor speed
Mechanism for rectifying and commutating the motor
Methods for predicting rotor position using back EMF or Hall sensors
Pulse width modulation is used only to apply a variable voltage to the motor windings. The effective voltage is proportional to the PWM duty cycle. When properly commutated, the torque-speed characteristics of the BLDC are the same as those of the following DC motors. The speed and variable torque of the motor can be controlled with a variable voltage.
Figure 1 Commutation of the power transistors enables the proper windings in the stator to generate the optimum torque based on the rotor position. In a BLDC motor, the MCU must know the position of the rotor and be able to commutate at the right time.
Trapezoidal commutation of BLDC motor
One of the simplest methods for brushless DC motors is to use so-called trapezoidal commutation.
Figure 2: Simplified block diagram of a trapezoidal controller for a BLDC motor In Figure 2, the current is controlled through one pair of motor terminals at a time, while the third motor terminal is always electrically disconnected from the power supply. Three Hall devices embedded in the large motor are used to provide digital signals, which measure the rotor position in a 60-degree sector and provide this information to the motor controller. Since the current in two windings is equal at each time and the current in the third winding is zero, this method can only produce a current space vector with one of six directions. As the motor rotates, the current at the motor terminals is electrically switched (commutated) once every 60 degrees, so that the current space vector is always at the nearest 30 degrees of the 90-degree phase shift.
Figure 3: Trapezoidal control: drive waveforms and torque at commutation The current waveform in each winding is therefore a trapezoid, starting from zero to positive current to zero and then to negative current. This creates a current space vector that will approach balanced rotation as it is stepped in six different directions as the rotor rotates. In motor applications such as air conditioners and refrigerators, using Hall sensors is not a permanent option. Back EMF sensors sensed in non-coupled windings can be used to achieve the same result. Such trapezoidal drive systems are very common due to the simplicity of the control circuit, but they suffer from torque ripple problems during commutation.
Sinusoidal commutation of BLDC motors
Trapezoidal commutation is not sufficient to provide balanced, accurate BLDC motor control. This is mainly because the torque produced in a three-phase BLDC motor (with a sine wave back EMF) is defined by the following equation: Shaft Torque = Kt [IRSin (o) + ISSin (o + 120) + ITSin (o + 240)]
in:
o is the electrical angle of the shaft
Kt is the torque constant of the motor
IR, IS and IT are phase currents
If the phase currents are sinusoidal: IR = I0Sino; IS = I0Sin (+120°); IT = I0Sin (+240°) This results in: Shaft Torque = 1.5I0*Kt (a constant independent of the shaft angle) Sinusoidally commutated brushless motor controllers strive to drive the three motor windings with three currents that vary smoothly sinusoidally as the motor turns. The relative phases of these currents are chosen so that they will produce a smooth rotor current space vector that is orthogonal to the rotor and has a constant. This eliminates torque ripple and direction pulses related to the direction of rotation. In order to generate a smooth sinusoidal modulation of the motor current as the motor rotates, an accurate measurement of the rotor position is required. Hall devices only provide a rough calculation of the rotor position, which is not sufficient for this purpose. For this reason, angle feedback from an encoder or similar device is required.
Figure 4: Simplified block diagram of a sine wave controller for a BLDC motor Since the winding currents must combine to produce a smooth constant rotor current space vector, and each position of the stator winding is 120 degrees apart, the current in each winding group must be sinusoidal and phase-shifted by 120 degrees. Position information from the encoder is used to synthesize two sine waves, which are 120 degrees phase-shifted between them. These signals are then multiplied by the torque value, so the amplitude of the sine wave is proportional to the required torque. As a result, the two sinusoidal current commands are properly phased to produce a rotating stator current space vector in orthogonal directions. The sinusoidal current command signals output a pair of PI controllers that modulate the current in the two appropriate motor windings. The current in the third rotor winding is the negative sum of the controlled winding currents and therefore cannot be controlled separately. The output of each PI controller is fed to a PWM modulator and then to the output bridge and two motor terminals. The voltage applied to the third motor terminal is derived from the negative sum of the signals applied to the first two winding groups, for three sinusoidal voltages spaced 120 degrees apart. As a result, the actual output current waveform accurately tracks the sinusoidal current command signal, and the resulting current space vector rotates smoothly, is stable in magnitude and is positioned in the desired direction. The results of sinusoidal commutation commutation for stable control are not normally achieved with trapezoidal commutation commutation. However, since it is very efficient at low motor speeds, it will break down at high motor speeds. This is because as speed increases, the current return controllers must track a sinusoidal signal of increasing frequency. At the same time, they must overcome the motor's back EMF, which increases in amplitude and frequency as speed increases. Since the PI controller has finite gain and frequency response, time-varying disturbances to the current control loop will cause phase lag and gain errors in the motor current, which will increase at higher speeds. This will disturb the direction of the current space vector relative to the rotor, causing it to shift from the orthogonal direction. When this occurs, less torque can be produced with a given amount of current, so more current is required to maintain torque, and efficiency decreases. This reduction will continue as speed increases. At some point, the current phase shift exceeds 90 degrees. When this occurs, the torque is reduced to zero. With sinusoidal combination, speeds above this point result in negative torque, so it cannot be achieved.
AC Motor Control Algorithms
1. Scalar control Scalar control (or V/Hz control) is a simple method of controlling the speed of the command motor. The steady-state model of the command motor is mainly used to obtain technology, so transient performance is impossible to achieve. The system does not have a current loop. To control the motor, the three-phase power supply only varies in amplitude and frequency. 2. Vector control or field-oriented control The torque in the motor varies as a function of the stator and rotor magnetic fields, and reaches a peak when the two magnetic fields are orthogonal to each other. In scalar-based control, the angle between the two magnetic fields varies significantly. Vector control tries to recreate the orthogonal relationship in the AC motor. To control the torque, currents are generated from the generated magnetic flux to achieve the responsiveness of a DC machine. Vector control of an AC command motor is similar to the control of a single-excitation DC motor. In a DC motor, the magnetic field energy ΦF generated by the excitation current IF is orthogonal to the armature flux ΦA generated by the armature current IA. These magnetic fields are decoupled and stable with each other. Therefore, when the armature current is controlled to control the torque, the magnetic field energy remains unaffected and a faster transient response is achieved. Field oriented control (FOC) of a three-phase AC motor involves mimicking the operation of a DC motor.
Previous article:EV Drive Motor Insulation System 800V EV Motor Insulation System Challenges
Next article:Which type of electric motor is widely used in industrial production?
Recommended ReadingLatest update time:2024-11-16 15:02
- 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
- How to use JTAG to program UCD90120A
- Creating a Superior Smart Display Experience with DLP Pico Technology
- Previous test questions of the measurement and control category of the electric competition
- instaSPIN-FOC Motor Starting
- TGF4042 Function Signal Generator Evaluation: Pulse Waveform Generation
- Practical Hardware Manual
- Let's talk about the calculation method of RCD
- Which option is the best?
- MSP430F5529 generates PWM waves with CCS
- TI C66x DSP QM queue reserve method