Power Electronics / Power Management


Using a DSC to simplify sensorless BLDC motor control

4 September 2013 Power Electronics / Power Management

As the technology of choice for many high- to mid-range systems, brushless DC (BLDC) motors offer a constant or variable speed drive combined with high reliability and ease of control. The use of even a few Hall-effect sensors, however, adds to the total system cost which can take BLDC out of the reach of low-cost applications. Previous attempts at sensorless control have also been priced out of the reach of mass-market applications by requiring expensive controllers to run the algorithms used to replace the sensors.

Now, however, with volume costs of close to one dollar per unit, digital signal controllers (DSCs) such as Microchip’s dsPIC33FJ15MC102 can overcome these challenges and make sensorless BLDC motor control a viable choice for low-cost applications.

Sensored BLDC

To understand how sensorless BLDC motor control works, it is useful to consider the basic sensored control model.

The BLDC motor uses an energised coil, or stator, which causes a perman-ent magnet on the rotor, or shaft, to align with the coil, and rotate the rotor to generate torque. In a three-phase BLDC motor the stator’s three coils, or phases, are turned on and off sequentially in advance of the rotor.

To make the rotor spin smoothly, the motor is built using multiple sets of coils for each coil or phase, and each phase must be turned on and off in a specific order to make the rotor rotate. The position of the rotor dictates which phase needs to be turned on or off. Therefore, it is critical that the position of the rotor is known, and that the controller actively switches the phases on and off so that the BLDC motor can operate.

The simplest way to calculate the rotor’s position is to use Hall-effect sensors, which generate pulses which allow the controller to identify the rotor’s position. With the rotor’s position identified, the basic BLDC controller just needs to look up which pattern for the three phases corresponds to the position of the rotor, and switch the phases to that pattern.

Sensorless BLDC

Taking a closer look at the three phases of a BLDC motor can help to explain how a sensorless BLDC algorithm can calculate the position of the rotor.

In trapezoidal control, one phase is pulled high (+VBUS), one phase is pulled low (-VBUS) and the third phase is inactive, at any one time. The waveform of each phase is shaped like a trapezoid, as shown in Figure 1.

Figure 1. BLDC motor windings and trapezoidal waveforms.
Figure 1. BLDC motor windings and trapezoidal waveforms.

When the rotor passes by a phase, the permanent magnet on the rotor induces a current in that phase that results in a voltage known as back EMF (electromotive force). The back EMF is dependent on the number of turns in each phase winding, the angular velocity of the rotor, and the strength of the rotor’s permanent magnet. The back-EMF waveform of each phase is related to the position of the rotor, so the back EMF can be used to determine the rotor’s position.

Although there are many methods of using back EMF to determine the position of the rotor, one of the most common and robust is zero-crossing detection. When one of the back-EMF signals crosses zero, the controller must switch the pattern on the phases. This process, known as commutation, is shown in Figure 2.

Figure 2. Back EMF zero crossing.
Figure 2. Back EMF zero crossing.

In order to keep the rotor advancing, there must be a phase shift between the point at which the zero crossing occurs and when commutation occurs. The controller must calculate and compensate for this. A simple way to implement zero crossing is to assume that a zero-crossing event occurs whenever the back EMF on any of the phases reaches VBUS/2.

This method can be easily implemented by using a few operational amplifiers, configured as comparators. However, this does present a number of problems: the back EMF is typically less than VBUS, so the zero-crossing events do not necessarily happen at VBUS/2; in addition, the properties of each phase may be different, so the back EMF voltage for a zero crossing on one phase could be different from that of the other phase. Finally, this simplistic sensing method causes positive and negative phase shifts in the sensed back EMF signals.

Real-world BLDC

In real-world applications, the zero-crossing threshold voltage varies considerably. This variable threshold voltage is, however, equal to the voltage of the neutral point of the motor, as the neutral point is the average of the back EMF of all three phases.

Therefore, whenever the back EMF of any phase equals the motor’s neutral point, a zero-crossing event has occurred and the controller needs to commutate. This can be done by using resistors and operational amplifiers, or by using the ADC module and software on the controller.

With a programmable controller, such as a dsPIC DSC, the back EMF for each phase can be sampled using the ADC module, and the neutral point can be easily recreated in software by taking the average of the three back EMF signals. The software can then compare this value to the sensed back EMF of the three phases and detect when a zero-crossing event has occurred.

Once a zero-crossing event has occurred, the controller commutates the motor and the process starts again. Using the back EMF of the motor to detect zero crossings means that the sensor can be eliminated from the system without compromising performance.

Real-world systems also introduce other challenges to sensorless operation. First, at low speeds, the back EMF is very small and very difficult to detect. So, the controller must guess the rotor’s position until the motor begins to spin fast enough to generate enough back EMF to operate in sensorless mode. A software-programmable controller enables the system startup to be tailored to each application, which can minimise the effects of this issue.

Another challenge is switching noise from the MOSFETs. As the MOSFETs switch to change the voltage on each phase, they introduce noise into the back EMF which is sensed by the controller’s ADC module. This noise needs to be filtered out, in order to accurately recreate the back EMF of each phase.

A DSC has a DSP engine built into the processor, which can easily handle the computations needed to implement a digital filter and eliminate this switching noise. The use of a software-programmable controller can also provide easier solutions to other challenges, which are specific to each application.

Reducing development cost

Figure 3. Low-cost sensorless BLDC development kit.
Figure 3. Low-cost sensorless BLDC development kit.

New development tools, optimised for sensorless BLDC control, can significantly cut the cost and development time for implementing sensorless BLDC in mass-market and other applications. Microchip’s motor control starter kit, shown in Figure 3, includes detailed application notes, as well as example software and hardware schematics. Motor controller suppliers, including Microchip, also typically provide downloads of software and hardware files free of charge, which makes the learning process even easier.

For more information contact Tempe Technologies, +27 (0)11 455 5587.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

ABB’s Mission to Zero drives South Africa’s energy transition
ABB Electrification Products Power Electronics / Power Management
ABB Electrification is charting a bold path towards a net-zero future with its Mission to Zero programme, a blueprint that combines energy efficiency, electrification, and digital innovation to accelerate the transition to clean energy.

Read more...
Energy harvesting using a battery-less IoT system
NuVision Electronics Editor's Choice Power Electronics / Power Management
Energy Harvesting plays an essential role in the foundation of ambient IoT, a new generation of ultra-low power connected devices that operate by drawing energy from their environment instead of relying on traditional batteries.

Read more...
Driving power, defining performance
Future Electronics Power Electronics / Power Management
Vishay’s portfolio of inductors, current sense resistors, and MOSFETs provides a comprehensive solution for intelligent power management.

Read more...
Battery simulator module simplifies BMS testing
Test Dynamics Power Electronics / Power Management
The PXI/PXIe solution from Pickering Interfaces offers a scalable, modular design for faster development cycles, lower total cost of ownership, and improved safety.

Read more...
DC PSU: The cornerstone for efficient solar-storage systems
Vepac Electronics Power Electronics / Power Management
PV energy storage systems are evolving and DC power supplies, with their technical characteristics that are naturally compatible with new energy, have become a key carrier for improving system energy efficiency.

Read more...
Why local manufacturing, maintenance and support are key to the success of South Africa’s energy future
Power Electronics / Power Management
Although new renewable generation capacity is being developed, the current transmission infrastructure may not fully support the connection of these sources to the national grid or adequately deliver power to areas of high demand.

Read more...
Converter power modules for 48 V networks
Altron Arrow Power Electronics / Power Management
The economic and quality-of-life benefits of electrification is driving the adoption of HV to 48 V DC-DC conversion across many markets with 48 V power modules becoming more common.

Read more...
The importance of power integrity
Spectrum Concepts Power Electronics / Power Management
[Sponsored] Behind every high-speed system lies the need for power integrity. Without it, even the cleanest signal paths become compromised.

Read more...
Precise multi-vital sign monitoring
Future Electronics Power Electronics / Power Management
The AS7058 by ams OSRAM is an integrated multi-vital sign monitoring device, which provides a complete photoplethysmogram, electrocardiogram, body impedance sensor, and electrodermal activity sensor.

Read more...
Automotive battery diagnostics tester
Comtest Power Electronics / Power Management
Midtronics’ MVT handheld battery tester is a revolutionary tool, powered by MDX-AI, which is set to redefine the standards of battery diagnostics and testing in the automotive industry.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved