Zilog’s Z8 Encore! XP® F082A Series products expand upon Zilog’s extensive line of 8-bit microcontrollers. The rich peripheral set makes it suitable for a variety of applications.
Read More
We will discuss optimized control schemes for driving sensorless BLDC motors and demonstrate the importance and advantages of microcontroller peripheral interoperation in these applications. We will also introduce you to some of the latest microcontrollers available for sensorless BLDC motor control applications.
The use of brushless DC (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. Because the drive electronics for BLDC motors are more complex, 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 sensors are used; each sensor provides a High signal for 180° of the electrical rotation and a Low signal for the other 180°. The three sensors are placed 120° apart, thereby dividing the rotation into six phases (i.e., six-step commutation). The microcontroller reads this information from these 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 of the Hall-Effect sensors – not to mention the additional assembly and wiring steps required to manufacture these motors.
In contrast, a more cost-effective sensorless control scheme employs detection of back EMF signals, which are generated (induced) by the unenergized phase windings in the BLDC motor; this signal information is used to synchronize the timing of the control loop. In effect, the Hall 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 that all feature the minimum peripherals required to drive the sensorless BLDC motor: a 3-phase pulse-width modulator (PWM) to control the motor phases, an ADC to detect back EMF, and a comparator for over-current protection.
However, inasmuch as the peripheral set integrated on the MCU is key 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 4 channels of Linked List DMA, provides automated interoperation between the ADC and Timer and between the Comparator and PWM outputs.
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 Z16FMC MCU includes the following features:
The 12-bit PWM module has three complementary pairs or six independent PWM outputs supporting programmable deadband and fault protection trip input to provide the output control; while the ADC has a 2 μs conversion time and can be triggered automatically by the PWM module. A special Time Stamp feature automatically captures a 16-bit timer value based on the ADC sample/hold.
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 Comparator and PWM outputs (fault response).
Direct Memory Access is a feature that allows data to be transferred on the bus independent of the CPU. Linked List DMA takes this simple concept to another level by using descriptors that provide the source and destination information, along with a link to the next descriptor to further reduce the overhead and real-time response requirements of the CPU.
Additionally, the multi-bus structure of the Z16F core allows data to be transferred across the data bus while instructions are being fetched from the Program bus, further reducing the overhead of the transaction.
There are two basic ways to take advantage of this feature in Sensorless BLDC and more complex Permanent Magnet Synchronous Motors and Vector Control applications:
Most microcontrollers use at least one dedicated comparator to detect the zero crossing of the input back EMF voltage signal so that the output-driving pulses can be synchronized and adjusted 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.
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.
Over-current faults can result from many different causes and are sometimes destructive. Shorted motor windings, shorted motor leads, problems in mechanical drives and linkages, a stuck rotor or changes in the load, breakdowns or misfiring of power devices and many other problems can arise – some of them permanent, some merely temporary. The Z16FMC Series features an over-current comparator that is directly coupled to the PWM module, thereby guaranteeing that a shutdown can truly occur in a cycle-by-cycle mode. This approach ensures minimum lag in responding to the fault condition.
In Figure 4, the current across the sense resistor generates the voltage that is presented to the negative input on the comparator. You can see that as the voltage generated across the sense resistor increases to the comparator threshold value, the PWM output is immediately driven Low until the following cycle. The next PWM cycle is generated normally once the voltage falls below the threshold.
The Z16FMC Motor Control Series provides an excellent upward migration path from the Z8FMC16100 series and is also suitable for Permanent Magnet Synchronous Motors (PMSM) and AC vector control applications.
The Sensorless BLDC Development Kit, available from Zilog, is based on Z16FMC28 device and uses high-efficiency IXYS MOSFETs to provide a very economical solution for control of a 30W three-phase BLDC motor. It ships complete with the following:
All source code is provided with the Development Kit (Z16FMC28200KITG), which can be purchased from a Zilog distributor. For details, visit the Zilog website: http://www.zilog.com.
Two motor phases are energized at any given time and the back EMF voltage is generated in the unenergized phase winding. The zero crossing of this induced voltage is detected for synchronization of the subsequent closed-loop control events. The Time Stamp feature of the Z8FMC16100 MCU provides for robust, efficient implementation of this critical sensing function without the requirement for an additional comparator. The algorithm for back EMF sensing is based on implementation of a Phase Locked Loop (PLL). This implementation is especially advantageous during startup, resulting in a very smooth increase in the motor speed, as well as nearly instantaneous reversal of direction of rotation on command. With the conventional approach, during the start-up sequence, power is applied to the windings in order to place the rotor in a known starting position, followed by commutation and start of back EMF sensing and control. In contrast, the PLL-based approach makes it possible to lock to the back EMF signal from the onset of the start-up phase, without the need for initial placement of the rotor in a specific position. Moreover, this approach significantly reduces the jerky movement of the motor during startup or reversal of direction.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.