Give away medical masks when you place an order. learn more
This article discusses optimized control schemes for driving sensorless brushless DC (BLDC) motors and demonstrates the importance and advantages of microcontroller peripheral interoperation in these applications. Some of the latest microcontrollers available for sensorless BLDC motor control applications will be introduced.
The use of BLDC motors has steadily increased over the last several years as requirements for improved efficiency and better reliability have risen. Variable speed motor applications in industries such as white goods, automotive, cooling, aerospace, medical, and industrial automation are now using the BLDC motor in favor of other types of motors, such as brushed DC and AC induction. The drive electronics for BLDC motors are more complex and to address this, the semiconductor industry has responded with more cost-efficient solutions for these applications.
Several control methods exist for BLDC motors; the decision as to which method to use is defined by the requirements of the application. In sensor-based BLDC control applications, Hall Effect elements are integrated into the motor and are used to detect the position of the rotor for drive synchronization. Typically, three Hall Effect sensors are used. Each sensor provides a high signal for 180 degrees of the electrical rotation and a low signal for the other 180 degrees. The three sensors are placed 120 degrees apart, thereby dividing the rotation into six phases (i.e., six-step commutation). The microcontroller reads the information from the three sensors to determine the position of the rotor. In this scheme, the microcontroller always knows the rotor position – even when the motor is stopped – and can easily determine the correct commutation sequence required for the control loop. However, this scheme comes with the cost penalty associated with Hall Effect sensors – not to mention the additional assembly and wiring steps required to manufacture the motors.
In contrast, a more cost-effective sensorless control scheme employs detection of back EMF signals, which are generated (induced) by the un-energized phase windings in the BLDC motor. This signal information is used to synchronize the timing of the control loop. In effect, the Hall Effect sensors can be eliminated, but the inference is that the rotor must first be moving to generate the back EMF before any positional information can become available. Although this particular issue certainly limits the types of applications in which a sensorless control scheme can be used, there are still many valid end-products that can take advantage of its lower cost. Fans and blowers, for example, are excellent candidates for this type of control scheme.
There are many microcontroller-based solutions available on the market today, ranging from simple low-cost 8-bit devices to higher-performance 16- and 32-bit devices which all feature the minimum peripherals required to drive the sensorless BLDC motor: a three-phase pulse-width modulator (PWM) to control the motor phases, an ADC to detect back EMF, and a comparator for over-current protection.
However, to the same degree as the peripheral set integrated on the MCU is crucial to targeting it to an application, the interoperation of these peripherals can greatly affect the performance of the MCU in the application. Terms such as MIPS become even more meaningless as autonomous peripherals are able to provide the services necessary for the application without CPU intervention.
As a case in point, Zilog has recently announced the Z16FMC family of 16-bit microcontrollers that, in addition to four channels of Linked List DMA, provides automated interoperation between the ADC and timer, and between the comparator and PWM outputs. (Figure 1)
Sensorless control of BLDC motors requires a microcontroller with fast interrupt response to handle PWM updates in real-time. For applications that require additional functions, such as high-speed serial communications, PWM demodulation, complex user interfaces and display control, the ability for the core motor control peripherals to operate autonomously becomes vital.
The peripheral set integrated on the MCU is essential for optimizing it to the application, but the interoperation of these peripherals can greatly affect the performance of the MCU in the application. The Z16FMC series provides Linked List DMA and automated interoperation between the ADC and timer (Time Stamp feature) and between the PWM outputs (fault response) and the comparator. (Figure 2)
The DMA can be used to offload the CPU and handle serial communications in order to optimize the real-time response to the PWM controller.
Time Stamp feature for speed control
Most microcontrollers use at least one dedicated comparator to detect the zero crossing of the input back EMF voltage signal. This facilitates output-driving pulse synchronization and adjustment to properly regulate motor speed. An alternative approach based on Zilog's motor control MCU eliminates the need for this comparator by interconnecting the ADC with a timer. (Figure 3)
In this case, the timer is used to generate an interrupt at a point where the back EMF voltage crosses the bus voltage. During this interrupt, the timer continues running in the background and the back EMF and bus voltages are sampled. The timer value is updated based on the difference between the voltages (and direction of the motor) to lock it onto the actual speed of the motor. This event is used to determine the commutation point and update the PWM to efficiently regulate the speed of the motor. This Time Stamp approach results in a very simple and cost-effective solution for smooth operation of the motor in steady state.