Browse News Categories
Designers of motion systems often face challenges when selecting or developing electronics using PWM (Pulse Width Modulation) to drive brushless DC motors. It is useful to keep in mind some basic physical phenomena to avoid unexpected performance issues. This document provides general guidelines when using a PWM driver with a Portescap brushless DC motor.
COMMUTATION OF A BRUSHLESS DC MOTOR
Unlike brush DC motors (for which the commutation is made mechanically by brushes), brushless DC motors are electronically commutated. This means the phases of the motors are energized and unenergized in sequence according to the relative position of the rotor vs. the stator. For a 3-phase brushless DC motor, the driver is composed of 6 electronic switches (typically transistors), usually called a 3 phase H-bridge (see Figure 1). This configuration will allow 3 bidirectional outputs to energize the 3 phases of the motor.
Opening and closing the transistors in a specific sequence energizes the phases of the motor to maintain the optimal orientation of the magnetic field induced by the stator vs. rotor magnet (see Figure 2, Figure 3 & Figure 4).
The motor can be driven in a 6-step trapezoidal commutation which is broadly used (see Figure 3), or it can be operated to achieve a more advanced vector control also called as Field Oriented Control (FOC), depending on the sophistication of the electronics (see Figure 4).
PWM REGULATION
Whether for a brush (see Figure 5) or a brushless DC motor (see Figure 6), the working point (speed and torque) of an application can vary. The role of the amplifier is to vary the supply voltage or the current, or both, to achieve the desired motion output.
There are typically two different ways to vary the voltage or the current:
• | Linear drivers (or linear amplifiers) |
• | Chopper drivers (or chopper amplifiers) |
Linear amplifiers adapt the power delivered to the motor by linearly changing the voltage or current. It dissipates the power which is not delivered to the motor (lost power – see Figure 6). As a result, it requires a large heat sink to dissipate the power, increasing the amplifier size and making it more difficult to integrate in the application.
A chopper amplifier modulates the voltage (and current) by switching on and off the power transistors. The primary advantage is that it saves power when the transistor is off. This helps save on the battery life of the application, causes less heating from the electronic and allows a smaller size of the electronics. Most of the time, chopper amplifiers are using a PWM method.
The PWM method consists of varying the duty cycle at a fixed frequency (see Figure 7) to adjust the voltage or current within the desired target value.
Note that one advantage of the PWM technique to chop the current vs. others is that the switching frequency is a fixed parameter. It will make it easy for electronic designers to filter acoustic and electromagnetic noise generated.
When the transistor of the PWM is open 100% of the time, the voltage applied to the motor is the full bus voltage. When the transistor is open 50% of the time, the average voltage applied to the motor is half the bus voltage. When the transistor is closed 100% of the time, no voltage is applied to the motor.
INDUCTANCE EFFECT
A DC motor is characterized by an inductance L, a resistance R and a back electromotive force (back-EMF) E in series. The back-EMF is a voltage caused by the magnetic induction (Faraday-Lenz law of induction) that opposes the applied voltage and is proportional to the motor speed. See Figure 8 showing the motor when the PWM is ON, and when the PWM is OFF.
For now, to keep things simple, let’s not consider the back EMF.
When applying voltage or switching off voltage to a RL circuit, the inductor will oppose to the change of the current. Applying a voltage U to the RL circuit, the current will follow a first-order exponential rise, whose dynamic depends on the electric time constant τ equal to the ratio L / R (see Figure 9). It will asymptotically reach the steady state value, i.e. 99.3% of U / R, after 5 times the time constant.
The same exponential behavior will be observed when the RL circuit will discharge. See Figure 10.
In practice, brushless DC amplifiers have a rather high PWM frequency and do not allow the current to reach steady state. This frequency is generally above 50 kHz so that the current can be modulated properly with enough cycles occurring during each commutation step. For a PWM frequency of 50kHz, the cycle time to close and open a transistor is equal to 20 μs. Considering a 6-step commutation, the time for one commutation, 1-pole pair motor running at 40’000 rpm (667Hz), would take 250 μs. This would allow at least 250/20 = 12.5 cycles of the PWM during one step of the commutation.
Portescap brushless DC motors have an electrical time constant τ of a few hundred microseconds, therefore the current will have the time to react during each PWM cycle (see Figure 11 below).
However, the mechanical time constant is in the range of a few milliseconds, so there is roughly a factor of 10 between the mechanical and the electrical time constant. Therefore, the rotor of the motor itself will not have enough time to react when the voltage is switched at typical PWM frequencies. Low PWM frequencies of a few thousand Hertz may generate rotor vibrations and audible noise. It is advisable to go above the audible spectrum, meaning at least above 20 kHz.
LIMITATIONS OF PWM
PWM will lead to current rise and fall at each cycle, the variation between the minimum and the maximum value of the current is called the current ripple ΔI (see Figure 11). High current ripple can be problematic, and it is advisable to keep it as low as possible.
The torque of a DC motor is proportional to the average current, as illustrated by the formula:
Note that the average current Iavg needs to be considered for the motor torque. The average current only depends on the duty cycle and is independent of the current ripple. As it can be observed on Figure 11, the average current is the same in both cases (same duty cycle), whereas the ripple is much different (different electrical time constant).
Unlike brush DC motors, brushless DC motors do not have brushes, therefore high current ripple is not problematic for the lifetime itself. The current ripple will have a great impact on the motor losses, causing unnecessary heat. The current ripple will generate two types of losses:
• | Joules losses: The current ripple will increase the RMS (Root Mean Square) current value, which is the value considered for joules losses calculation. The ripple will simply generate additional heating, without increasing the average current, hence without increasing the torque. Notice that it is a square variation in function to the RMS current. |
With T being the time-period of the PWM, the RMS current can be calculated with the formula:
• | Iron losses: According to Faraday’s law of electromagnetic induction (Eq. 4), the variation of the magnetic field in a conducting material will induce a voltage, which will then generate circulating currents called eddy currents. |
Eddy current losses are proportional to the square of the motor speed and to the square of the motor current. Based on practical measurements, when the current ripple is high, the additional iron losses generated can become significant. Therefore, it is important to keep the current ripple as low as possible.
Let’s determine the formula for the current ripple, so we can define guidelines to minimize it. From the schematic of the motor (see Figure 8), we can derive the motor equation:
Let’s assume that the variation of the current is linear over the short periods of time TON and TOFF, therefore, we can rewrite the differential equation as follows:
Assuming steady state, the current ripple is constant:
Therefore, the two equations can be combined into one:
We can simplify the equation by introducing the duty cycle D and the PWM frequency fPWM:
From which we can derive the formula of the current ripple ΔI:
The variation of the current ripple in function of PWM duty cycle is a parabola, as shown in Figure 12.
The maximum value of the ripple is obtained when the duty cycle is 50%, meaning D=0.5:
From equation Eq. 15, there are several parameters influencing:
• | The power supply UPWM |
• | The duty cycle D |
• | The PWM frequency fPWM |
• | The inductance L |
RECOMMENDATIONS TO MINIMIZE THE CURRENT RIPPLE
Reduce or adapt the power supply voltage
The current ripple is directly proportional to the power
supply voltage. Having a high supply voltage can be useful
to reach extreme working points, requiring high speed
or higher power. However, if the application does not
require high speed or power, a lower supply voltage will
be beneficial to reduce the current ripple. Operating under
the same load point with a lower power supply voltage
will also increase the duty cycle, which will reduce the
current ripple even more. Generally, it is important to keep
the duty cycle of the PWM as far as possible from 50%,
which is the worst case (Figure 12).
Increase the PWM frequency
A higher frequency will cause a shorter cycle time of
the PWM; hence the current will have less time to rise.
Portescap recommends using PWM frequencies not less
than 50 kHz for brushless DC motors. PWM frequencies of
80 kHz or more would be even more appropriate for motors
having very small electrical time constant.
Increase the inductance
Portescap brushless DC motors have a very small
inductance value. Therefore, it is a good idea to add
external inductances as it will slow down the rise and fall
of the current, hence reducing the current ripple. Also, the
inductance value specified in Portescap catalogue is given
for a PWM frequency of 1 kHz. Since the motor inductance
varies depending on the PWM frequency, at typical PWM
frequency of 50 kHz, the inductance may decrease to
as low as 70% of the catalog value. Typically, additional
inductances of several tens of μH are added. The optimal
value of the inductance is usually confirmed experimentally.
The additional inductances need to be added as shown
below on Figure 13.
Though this solution would solve the current ripple concern, it might not be easy to integrate additional inductances, especially when space is limited. Therefore, it is usually wiser to explore the two other options first.
CONCLUSION
PWM has many advantages and is the most widely used solution for brushless DC drivers. Setting an adequate PWM voltage and using a high PWM frequency will help to reduce the ripple and can avoid the use of additional inductances. Today’s cost of electronic components makes it a simple solution to go with high PWM frequency. Electronic designers should consider carefully these parameters when developing a motion system, especially when size and weight of the electronic is a concern (i.e. portable devices with embedded electronics) or when battery life is a key criteria (additional energy dissipated by Joules losses for the internal resistance of extra inductances). Portescap engineers can help you define suitable electronic with our brushless DC motors, contact us in case you need any support.