An Introduction to Brushless DC Motor Control
Contributed By Electronic Products
The brushless DC (BLDC) motor is becoming increasingly popular in sectors such as automotive (particularly electric vehicles (EV)), HVAC, white goods and industrial because it does away with the mechanical commutator used in traditional motors, replacing it with an electronic device that improves the reliability and durability of the unit.
Another advantage of a BLDC motor is that it can be made smaller and lighter than a brush type with the same power output, making the former suitable for applications where space is tight.
The downside is that BLDC motors do need electronic management to run. For example, a microcontroller – using input from sensors indicating the position of the rotor – is needed to energize the stator coils at the correct moment. Precise timing allows for accurate speed and torque control, as well as ensuring the motor runs at peak efficiency.
This article explains the fundamentals of BLDC motor operation and describes typical control circuit for the operation of a three-phase unit. The article also considers some of the integrated modules – that the designer can select to ease the circuit design – which are specifically designed for BLDC motor control.
The advantages of brushless operation
The brushes of a conventional motor transmit power to the rotor windings which, when energized, turn in a fixed magnetic field. Friction between the stationary brushes and a rotating metal contact on the spinning rotor causes wear. In addition, power can be lost due to poor brush to metal contact and arcing.
Because a BLDC motor dispenses with the brushes – instead employing an “electronic commutator” – the motor’s reliability and efficiency is improved by eliminating this source of wear and power loss. In addition, BLDC motors boast a number of other advantages over brush DC motors and induction motors, including better speed versus torque characteristics; faster dynamic response; noiseless operation; and higher speed ranges.1
Moreover, the ratio of torque delivered relative to the motor’s size is higher, making it a good choice for applications such as washing machines and EVs, where high power is needed but compactness and lightness are critical factors. (However, it should be noted that brush-type DC motors do have a higher starting torque.)
A BLDC motor is known as a “synchronous” type because the magnetic field generated by the stator and the rotor revolve at the same frequency. One benefit of this arrangement is that BLDC motors do not experience the “slip” typical of induction motors.
While the motors can come in one-, two-, or three-phase types, the latter is the most common type and is the version that will be discussed here.
The stator of a BLDC motor comprises steel laminations, slotted axially to accommodate an even number of windings along the inner periphery (Figure 1). While the BLDC motor stator resembles that of an induction motor, the windings are distributed differently.
Figure 1: The stator of a BLDC motor showing slotted steel ring with axial windings. (Courtesy of Microchip.)
The rotor is constructed from permanent magnets with two-to-eight N-S pole pairs. More magnet pairs increase torque and smooth out so-called torque ripple, evening the power delivery from the motor. The downside is a more complex control system, increased cost, and lower maximum speed.
Traditionally, ferrite magnets were used to make the permanent magnets, but contemporary units tend to use rare earth magnets. While these magnets are more expensive, they generate greater flux density, allowing the rotor to be made smaller for a given torque. The use of these powerful magnets is a key reason why BLDC motors deliver higher power than a brush-type DC motor of the same size.
Detailed information about the construction and operation of BLDC motors can be found in an interesting application note (AN885) released by Microchip Technology.2
Fundamentals of operation
The BLDC motor’s electronic commutator sequentially energizes the stator coils generating a rotating electric field that ‘drags’ the rotor around with it. N “electrical revolutions” equates to one mechanical revolution, where N is the number of magnet pairs.
For a three-phase motor, three Hall-effect sensors are embedded in the stator to indicate the relative positions of stator and rotor to the controller so that it can energize the windings in the correct sequence and at the correct time. The Hall sensors are usually mounted on the non-driving end of the unit (Figure 2).
Figure 2: Hall sensors are embedded in the stator of a BLDC motor to determine the winding energizing sequence. (Courtesy of Microchip.)
When the rotor magnetic poles pass the Hall sensors, a high (for one pole) or low (for the opposite pole) signal is generated. As discussed in detail below, the exact sequence of commutation can be determined by combining the signals from the three sensors.
All electric motors generate a voltage potential due to the movement of the windings through the associated magnetic field. This potential is known as an electromotive force (EMF) and, according to Lenz’s law, it gives rise to a current in the windings with a magnetic field that opposes the original change in magnetic flux. In simpler terms, this means the EMF tends to resist the rotation of the motor and is therefore referred to as “back” EMF. For a given motor of fixed magnetic flux and number of windings, the EMF is proportional to the angular velocity of the rotor.
But the back EMF, while adding some “drag” to the motor, can be used for an advantage. By monitoring the back EMF, a microcontroller can determine the relative positions of stator and rotor without the need for Hall-effect sensors. This simplifies motor construction, reducing its cost as well as eliminating the additional wiring and connections to the motor that would otherwise be needed to support the sensors. This improves reliability when dirt and humidity are present.
However, a stationary motor generates no back EMF, making it impossible for the microcontroller to determine the position of the motor parts at start-up. The solution is to start the motor in an open loop configuration until sufficient EMF is generated for the microcontroller to take over motor supervision. These so-called “sensorless” BLDC motors are gaining in popularity.
Controlling a BLDC motor
While BLDC motors are mechanically relatively simple, they do require sophisticated control electronics and regulated power supplies. The designer is faced with the challenge of dealing with a three-phase high-power system that demands precise control to run efficiently.
Figure 3 shows a typical arrangement for driving a BLDC motor with Hall-effect sensors. (The control of a sensorless BLDC motor using back EMF measurement will be covered in a future article.) This system shows the three coils of the motor arranged in a “Y” formation, a Microchip PIC18F2431 microcontroller, an insulated-gate bipolar transistor (IGBT) driver, and a three-phase inverter comprising six IGBTs (metal oxide semiconductor field effect transistors (MOSFETs) can also be used for the high-power switching). The output from the microcontroller (mirrored by the IGBT driver) comprises pulse width modulated (PWM) signals that determine the average voltage and average current to the coils (and hence motor speed and torque). The motor uses three Hall-effect sensors (A, B, and C) to indicate rotor position. The rotor itself uses two pairs of permanent magnets to generate the magnetic flux.
Figure 3: BDLC power supply control system using an 8-bit microcontroller. (Courtesy of Microchip.)
The system employs a six-step commutation sequence for each electrical revolution. Because the motor has two pairs of magnets, two electrical revolutions are required to spin the motor once.
Figure 4 shows the current flow in an identical arrangement of coils to the motor in Figure 3 (this time labeled U, V, and W) for each of the six steps, and Figure 5 shows the subsequent Hall-effect sensor outputs and coil voltages.
Figure 4: Coil-energizing sequence for one electrical revolution of a three-phase BLDC motor. (Courtesy of Atmel.)
Figure 5: The state of the Hall-effect sensors determines when and how the coils are energized. A pair of Hall-effect sensors is linked to each coil. (Courtesy of Atmel.)
A pair of Hall-effect sensors determines when the microcontroller energizes a coil. In this example, sensors H1 and H2 determine the switching of coil U. When H2 detects a N magnet pole, coil U is positively energized; when H1 detects a N magnet pole, coil U is switched open; when H2 detects a S magnet pole coil U is switched negative, and finally, when H1 detects a S magnet pole, coil U is again switched open. Similarly, sensors H2 and H3 determine the energizing of coil V, with H1 and H3 looking after coil W.
At each step, two phases are on with one phase feeding current to the motor, and the other providing a current return path. The other phase is open. The microcontroller controls which two of the switches in the three-phase inverter must be closed to positively or negatively energize the two active coils. For example, switching Q1 in Figure 3 positively energizes coil A and switching Q2 negatively energizes coil B to provide the return path. Coil C remains open.
Designers can experiment with 8-bit microcontroller-based development kits to try out control regimes before committing on the design of a full-size motor. For example, Atmel has produced an inexpensive starter kit, the ATAVRMC323, for BLDC motor control based on the ATxmega128A1 8-bit microcontroller.4 Several other vendors offer similar kits.
Driving a BLDC motor
While an 8-bit microcontroller allied to a three-phase inverter is a good start, it is not enough for a complete BLDC motor control system. To complete the job requires a regulated power supply to drive the IGBT or MOSFETs (the “IGBT Driver” shown in Figure 3). Fortunately, the job is made easier because several major semiconductor vendors have specially designed integrated driver chips for the job.
These devices typically comprise a step-down (“buck”) converter (to power the microcontroller and other system power requirements), gate driver control and fault handling, plus some timing and control logic. The DRV8301 three-phase pre-driver from Texas Instruments is a good example (Figure 6).
Figure 6: Texas Instruments’ DRV8301 motor driver integrates a buck regulator, gate driver, and control logic in a single package.
This pre-driver supports up to 2.3 A sink and 1.7 A source peak current capability, and requires a single power supply with an input voltage of 8 to 60 V. The device uses automatic hand shaking when high-side or low-side IGBTs or MOSFETs are switching to prevent current shoot through.
ON Semiconductor offers a similar chip, the LB11696V. In this case, a motor driver circuit with the desired output power (voltage and current) can be implemented by adding discrete transistors in the output circuits. The chip also provides a full complement of protection circuits, making it suitable for applications that must exhibit high reliability. This device is designed for large BLDC motors such as those used in air conditioners and on-demand water heaters.
BLDC motors offer a number of advantages over conventional motors. The removal of brushes from a motor eliminates a mechanical part that otherwise reduces efficiency, wears out, or can fail catastrophically. In addition, the development of powerful rare earth magnets has allowed the production of BLDC motors that can produce the same power as brush type motors while fitting into a smaller space.
One perceived disadvantage is that BLDC motors, unlike the brush type, require an electronic system to supervise the energizing sequence of the coils and provide other control functions. Without the electronics, the motors cannot operate.
However, the proliferation of inexpensive, robust electronic devices specially designed for motor control means that designing a circuit is relatively simple and inexpensive. In fact, a BLDC motor can be set up to run in a basic configuration without even using a microcontroller by employing a modest three-phase sine- or square-wave generator. Fairchild Semiconductor, for example, offers its FCM8201 chip for this application, and has published an application note on how to set things up.5
Similarly, ON Semiconductor’s MC33033 BLDC motor controller integrates a rotor position decoder on the chip, so there is no need for microcontroller to complete the system. The device can be used to control a three-phase or four-phase BLDC motor.
However, employing an 8-bit microcontroller (programmed with factory-supplied code or the developer’s own software) adds very little cost to the control system, yet offers the user much greater control over the motor to ensure it runs with optimum efficiency, in addition to offering more precise positional-, speed-, or torque-output.
- “Brushless DC Motor Primer,” Muhammad Mubeen, July 2008.
- “Brushless DC (BLDC) Motor Fundamentals,” Padmaraja Yedamale, Microchip Technology application note AN885, 2003.
- “Using the PIC18F2431 for Sensorless BLDC Motor Control,” Padmaraja Yedamale, Microchip Technology application note AN970, 2005.
- “AVR1607: Brushless DC Motor (BLDC) Control in Sensor mode using ATxmega128A1 and ATAVRMC323,” Atmel application note, 2010.
- “FCM8201 Three-Phase Sine-Wave BLDC Motor Controller,” Fairchild Semiconductor application note AN-8201, 2011.
Disclaimer: The opinions, beliefs, and viewpoints expressed by the various authors and/or forum participants on this website do not necessarily reflect the opinions, beliefs, and viewpoints of Digi-Key Electronics or official policies of Digi-Key Electronics.