DC Motors:
Let us start with the Motor. DC motors rely on the fact that current running through
loops of wires produce magnetic field. That generated magnetic field in turn then
produces a torque on a magnet (permanent or electromagnetic) causing it to turn.
The wires are wound in such a way, and current supplied in the right order that the
motor continues to spin round and round. This process is called commutation.
Brushed DC Motor:
A brushed DC motor is called as such because the commutation process (the correct
order of applying DC current to cause rotation) is typically done through carbon
brushes pressed up against the commutator pads on the rotor of the motor. The
current is supplied by a constant DC source. This process is also called internal
commutation. While this process is initially inexpensive, reliable, and relatively
simple, the brushes wear out over time and cause maintenance and repair down the
road. Controlling speed is as simple as varying the voltage of the constant supply
connected to the brushes and in turn increasing current. Below is an example of a
basic brushed DC motor.
Brushless motors offer several advantages over brushed DC motors, including more
torque per weight, higher efficiency, increased reliability, reduced noise, less lifetime
maintenance, as well as the elimination of ionizing sparks from the commutator.
Control Methodologies:
The controller is in charge of directing the rotor rotation, but the controller requires
some means of determining the rotor's orientation/position (relative to the stator
coils.) Some designs use Hall effect sensors or a rotary encoder to directly measure
the rotor's position. Others measure the back EMF in the undriven coils to infer the
rotor position, eliminating the need for separate Hall effect sensors, and therefore are
often called sensor-less controllers.
Controllers that sense rotor position based on back-EMF have extra challenges in
initiating motion because no back-EMF is produced when the rotor is stationary. This
is usually accomplished by beginning rotation from an arbitrary phase, and then
skipping to the correct phase if it is found to be wrong. This can cause the motor to
run briefly backwards, adding even more complexity to the startup sequence. Other
sensor-less controllers are capable of measuring winding saturation caused by the
position of the magnets to infer the rotor position.
3 Phase H-Bridge and Power Electronics: A typical controller contains 3 bi-directional
outputs (i.e. frequency controlled three phase output), which are controlled by a logic
circuit (in our case a microcontroller.) These three bi-directional outputs are
controlled by switches.
A MOSFET is an electronic switch and is turned on and off by applying a voltage
differential across a certain portion of its structure causing an electrical change in the
silicon and causes electricity to conduct. A MOSFET is a three terminal device and
typically voltage bias is applied to the gate with respect to ground, while current flows
from drain to source or source to drain.
When the center of the bridge goes low (lower FET is on) the capacitor is charged
via a bootstrap diode, and this charge is used to later drive the gate of the high side
FET a few volts above the source pin's voltage so as to switch it on.
Sensors: the timing and sensing logic.
Back EMF:
The Back-EMF sensing technique is based on the fact that only two phases of a DC
Brushless motor are connected at a time, so the third phase can be used to sense
the Back-EMF voltage. The un-driven phase can be sampled through an ADC and
when the Back-EMF crosses through 0 volts this represents the natural commutation
point and the next commutation phase can. A disadvantage of a Back-EMF system is
that when the motor is at a standstill there is no way to detect what the next
commutation should be because there is no Back-EMF yet.
Hall Effect Sensors:
If both the gates of the same phase are closed at any given point of time then One of
the phase gets shorted, This is known as DC link shoot through. Hence the PWM
complementary to what is applied to the upper MOSFETS are applied on the lower
MOSFETS so that, DC link shoot through can be avoided. It is better if a dead time is
given, so that this failure does not occur.
twice the intrinsic gate resistance (IRF 540n has internal gate
resistance of 25Ohms) so that the capacitance in series with
stray inductance does not cause the gate voltage to oscillate.
Increasing the gate resistance will increase in the switch time,
at the same time cause decrease in voltage spike during the
transient conditions.
strength of an applied magnetic force, and this is determined by the voltage applied
to the stator windings. By using PWMs at a higher frequency than the commutations,
the amount of voltage applied to the stator can be easily controlled , therefore the
speed of the motor can be controlled.
A typical six-step PWM controller uses one of two PWM techniques:
1.
2.
Bipolar PWM switching - This technique refers to the voltage passing through
the two phases as being modulated with the PWM, both the input and output of
current are being modulated.
Unipolar and bipolar approaches refer to the relationship of the two phases being
switched.
Unipolar and bipolar switching have specific advantages. Unipolar switching reduces
electromagnetic noise and the DC bus ripple because there is less switching. Bipolar
switching is better suited for sensorless approaches where it is necessary to sense
back electromagnetic forces (BEMF). The bipolar approach has the zero volt point at
a 50% duty cycle, therefore there is more time to sense the BEMF.
Both unipolar and bipolar approaches can be either independent or complementary.
1.
Independent PWM Mode - the top and bottom switches of a phase are
operated independently over a commutation period. If a top switch performs a PWM,
the bottom switch is off, and vice versa. In this mode, the drive can operate in two
quadrants; again bipolar independent and unipolar independent switching are
available.
2.
Complementary PWM mode - the top and bottom switches of a phase are
operated inversely; if one switch is on, the other is off and vice versa. This mode
must be used if four quadrant drive operation is required. This mode needs dead
time insertion (DTI) between the top and bottom switches to avoid any phase shortcircuit. Unipolar complementary switching leads to lower switching losses and
current ripple. However, from a back-EMF "sensorless" perspective, the bipolar
complementary switching is the better choice as explained above.
The complementary or independent approaches refer to the relationship of the two
signals controlling one of the phases.
The independent approach applies to the PWM only on one side of the phase. The
complementary approach modulates both sides of an individual phase. The
complementary and independent approaches allow the control to address either a 2
or 4-quadrant.
One option is to use RCD delay circuits (resistor in parallel with a diode,
feeding a capacitor hooked to the input of your gate driver). This circuit will delay turn
on of our switch but not turn off so we'll have dead-time inserted in hardware. This
method is a little imprecise due to variances in resistor values and capacitor values.
2.
Another common option is using an MCU with a PWM peripheral that has
integrated dead time. This is usually easily configured by a few registers and eats up
very few clock cycles. This is a great solution for applications with a lot of H-Bridges.
Only disadvantage is this requires a specific subset of MCU's.
3.
take two independent signals. Some take digital commands to adjust the dead-time,
and some have fixed deadtimes.
4.
A fourth solution is to know our MCU's clock speed, and count the number of
clock cycles to interject the appropriate amount of dead-time. In common single core
MCU architectures we can use up-down counting and add half the deadtime to the
compare register for the high side switch, and subtract from the compare register for
the low side switch (or vice versa if we're using negative logic.
5.
Another solution is using a gate driver that has DC link shoot through
prevention circuitry inbuilt. IRS2336 gate driver shuts off both the power MOSFETS if
both the MOSFETS are turned on at the same time.
Explanation:
a MOSFET is limited in it's speed to switch on and off by the amount of time that it
takes to charge and discharge the small amount capacitance found in its structure.
This charge and capacitance information is usually found in the MOSFET data sheet
under the "Dynamic Characteristics. A MOSFET turns "ON" once the voltage
between the gate and source rises above it's threshold voltage (Vth) or turns "OFF"
once it goes below.