Week-7 Challenge: DC Motor Control
Aim -
1. A. Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’.
B. Comment on the armature current shoot-up from the scope results.
C. Refer to the help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with the H-bridge model.
2. Develop a 2-quadrant chopper using simulink & explain the working of the same with the relevant results. (Refer to article - Multiquadrant operation of motor )
3. Explain in a brief about operation of BLDC motor.
1. A. Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’.
B. Comment on the armature current shoot-up from the scope results.
C. Refer to the help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with the H-bridge model.
An H-bridge is a simple circuit that lets us to control a DC motor to go backward or forward.
In general an H-bridge is a rather simple circuit, containing four switching element, with the load at the center, in an H-like configuration:

The switching elements (Q1..Q4) are usually bi-polar or FET transistors, in some high-voltage applications IGBTs. Integrated solutions also exist but whether the switching elements are integrated with their control circuits or not is not relevant for the most part for this discussion. The diodes (D1..D4) are called catch diodes and are usually of a Schottky type.
The top-end of the bridge is connected to a power supply (battery for example) and the bottom-end is grounded.
In general all four switching elements can be turned on and off independently, though there are some obvious restrictions.
Though the load can in be anything we want, by far the most pervasive application if H-bridges is with a brushed DC or bipolar stepper motor (steppers need two H-bridges per motor) load. In the following we will concentrate on applications as a brushed DC motor driver.
Operation -
The basic operating mode of an H-bridge is fairly simple: if Q1 and Q4 are turned on, the left lead of the motor will be connected to the power supply, while the right lead is connected to ground. Current starts flowing through the motor which energizes the motor in the forward direction and the motor shaft starts spinning.

If Q2 and Q3 are turned on, the reverse will happen, the motor gets energized in the reverse direction, and the shaft will start spinning backwards.

In a bridge, you should never ever close both Q1 and Q2 or Q3 and Q4 at the same time. If you did that, you just have created a really low-resistance path between power and GND, effectively short-circuiting your power supply. This condition is called ‘shoot-through’ and is an almost guaranteed way to quickly destroy your bridge, or something else in your circuit.

MATLAB demo model named Speed control of a DC motor using BJT H-bridge.

The main basic function of a BJT is to amplify current it will allow BJTs are used as amplifiers or switches to produce wide applicability in electronic equipment include mobile phones, industrial control, television, and radio transmitters. There are two different types of BJTs are available, they are NPN and PNP.
The Bipolar Junction Transistor (BJT) when used for power switching applications, operates as an IGBT. When it is conducting a forward voltage Vf is developed between collector and emitter. Therefore, the IGBT block can be used to model the BJT device.
The IGBT block does not simulate the gate current controlling the BJT or IGBT. The switch is controlled by a Simulink® signal (1/0).
MODEL DISCRIPTION:
1) dc motor used is model is preset model(5 HP 24V 1750 rpm) .It simulates a fan type load (where Load torque is proportional to square of speed). The armature mean voltage can be varied from 0 to 240 V when the duty cycle is varied from 0 to 100%.
2)The H-bridge consists of four BJT/Diode pairs (BJT simulated by IGBT models)
3)Two transistors are switched simultaneously: Q1 and Q4 or Q2 and Q3. When Q1 and Q4 are fired, a positive voltage is applied to the motor and diodes D2-D3 operate as free-wheeling diodes when Q1 and Q4 are switched off.
4)When Q2 and Q3 are fired, a negative voltage is applied to the motor and diodes D1-D4 operate as free-wheeling diodes when Q2 and Q3 are switched off.
Simulation Result -

thus from above graph we can see that, for 0 to 0.5 sec , the current flows through diode D3 and from 0.5 sec to 1 sec , the current flows through Q3.
The motor starts in the positive direction with a duty cycle of 75% . At t= 0.5 sec., the armature voltage is suddenly reversed and the motor runs in the negative direction.
'Scope' shows motor speed, armature current and load torque and 'Currents' shows currents flowing in BJT Q3 and diode D3.

the waveform for speed, armature current and load torque is shown in above graphs.
from armature current graph , we can see that ,at starting there is sudden spike increase in current at 0 sec also and at 0.5 sec also. We can see that , as the voltage gets changed in the circuit , the speed of motor also changes.
In this transition of positive to negative direction of rotation we observe a high surge in current, this is due to the transient switching occurring in the circuit.
As there is already current flowing in the circuit & on changing of switches after 0.5 sec, the current in the circuit adds to the changed direction of current and we observe a surge.
B. Comment on the armature current shoot-up from the scope results.
The duty Cycle selected is 75%


from armature current graph , we can see that ,at starting there is sudden spike increase in current at 0 sec also and at 0.5 sec also. We can see that , as the voltage gets changed in the circuit , the speed of motor also changes.In this transition of positive to negative direction of rotation we observe a high surge in current, this is due to the transient switching occurring in the circuit.
As there is already current flowing in the circuit & on changing of switches after 0.5 sec, the current in the circuit adds to the changed direction of current and we observe a surge in current.
the surge in the current can be reduced by reducing the duty cycle.
by changing the duty cycle from 75% to 50% , the current surge can be reduced.
The duty Cycle selected is 50%


The armature spike is reduced by changing the duty cycle 75% to 50%.
C. Refer to the help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with the H-bridge model.




The Four-Quadrant Chopper DC Drive (DC7) block represents a four-quadrant, DC-supplied, chopper (or DC-DC PWM converter) drive for DC motors.This drive features closed-loop speed control with four-quadrant operation. The speed control loop outputs the reference armature current of the machine.Using a PI current controller, the chopper duty cycle corresponding to the commanded armature current is derived. This duty cycle is then compared with a sawtooth carrier signal to obtain the required PWM signals for the chopper.
The main advantage of this drive, compared with other DC drives, is that it can operate in all four quadrants (forward motoring, reverse regeneration, reversemotoring, and forward regeneration). In addition, due to the use of high switching frequency DC-DC converters, a lower armature current ripple (compared with thyristor-based DC drives) is obtained. However, four switching devices are required, which increases thecomplexity of the drive system.

The machine is separately excited with a constant DC field voltage source. There is thus no field voltage control. By default, the field current is set to its steadystate value when a simulation is started.
The armature voltage is provided by an IGBT converter controlled by two PI regulators. The converter is fed by a constant DC voltage source. Armature current oscillations are reduced by a smoothing inductance connected in series with the armature circuit.
WORKING OF FOUR QUADRANT CHOPPER:
The circuit of a four quadrant chopper or class-E chopper basically consists of four semiconductor switches CH1 to CH4 and four diodes D1 to D4. The four diodes are connected in anti-parallel. The circuit diagram of this type of chopper is shown below.

In the above circuit diagram, the choppers are numbered CH1 to CH4. For first quadrant operation CH1 is made ON, for second quadrant operation CH2 is made ON and so on. To better understand the working of four quadrant chopper, we will discuss its operation separately for each quadrant.
First Quadrant Operation:
For first quadrant operation, CH4 is kept ON, CH3 is kept OFF and CH1 is operated. When both CH1 & CH4 are ON simultaneously, the load gets directly connected to the source and hence the output voltage becomes equal to the source voltage. This essentially means that Vo = Vs . It may be noted that the load current flows from source to load as shown by the direction of io . When CH1 is switched OFF, the load current free wheels through CH4 and D2. During this period, the load voltage and current remains positive.Thus, both the output voltage v and load current i are positive and hence, the operation of chopper is in first quadrant. It may be noted that, Class-E chopper operates as a step-down chopper in this case.
Second Quadrant Operation:
To obtain second quadrant operation, CH2 is operated while keeping the CH1, CH3 & CH4 OFF. When CH2 is ON, the DC source in the load drives current through CH2, D4, E and L. Inductor L stores energy during the On period of CH2.
When CH2 is turned OFF, current is fed back to the source through D1, D4. It should be noted at this point that (E+Ldi/dt) is more than the source voltage Vs. As load voltage Vo is positive and Io is negative, it is second quadrant operation of chopper. Since, the current is fed back to the source, this simply means that load is transferring power to the source. Kindly read step up chopper for detailed analysis and better understanding. For second quadrant operation, load must contain emf E as shown in the circuit diagram. In second quadrant, configuration operates as a step-up chopper.
Third Quadrant Operation:
To obtain third quadrant operation, both the load voltage and load current should be negative. The current and voltage are assumed positive if their direction matches with what shown in the circuit diagram. If the direction is opposite to what shown in the circuit diagram, it is considered negative. One important thing to notice is that the polarity of emf E in load must be reversed to have third quadrant operation. Circuit diagram of Class-E chopper for third quadrant operation
is shown below.

Polarity of Load emf E reversed
For third quadrant operation, CH1 is kept off, CH2 is kept ON and CH3 is operated. When CH3 is ON, load gets connected to source and hence load voltage is equal to source voltage. But carefully observe that the polarity of load voltage vo is opposite to what shown in the circuit diagram. Hence, Vo is assumed negative. Let us now see what is the status of load current io . It may be seen that io is flowing in the direction opposite to shown in the circuit diagram and hence negative.
Now, when CH3 is turned OFF, the negative load current free wheels through the CH2 and D4. In this manner, Vo and io both are negative. Hence, the chopper operates in third quadrant.
Fourth Quadrant Operation:
To obtain fourth quadrant operation, CH4 is operated while keeping CH1, CH2 and CH3 OFF. The polarity of load emf E needs to be reversed in this case too like third quadrant operation.
When CH4 is turned ON, positive current flows through CH4, D2, L and E. Inductance L stores energy during the time CH4 is ON. When CH4 is made OFF, current is fed back to the source through diodes D2, D3. Here load voltage is negative but the load current is always positive. This leads to chopper operation in fourth quadrant. Here, power is fed back to the source from load and chopper acts as a step-up chopper.
The operation of a four quadrant chopper or Class-E chopper is summarized in the figure below.

COMPARISON OF 4 QUADRANT CHOPPER AND BJT H BRIDGE:
1) The 4 quadrant chopper works in all four modes like
- forward motoring
- forward breaking
- reverse motoring
- reverse breaking
But the BJT h bridge model works on only two modes
- forward motoring
- reverse motoring
2)To change the direction of rotation of motor from forward to reverse and vice versa , the current signals get transited from one to other switch while in h bridge model, the direction of rotation of motor is changed by changing the polarity of current.
3)The 4 quadrant chopper have high switching frequency while h bridge model have low switching frequency.
4)The armature current in 4 quadrant chopper have a little spike at transition from one to other switch because of high swithing frequency while h bridge model have high spike of current.
5)The 4 quadrant chopper is generally used in industrial application while h bridge model is used in robotics.
2. Develop a 2-quadrant chopper using simulink & explain the working of the same with the relevant results.
Circuit diagram Two quadrant chopper -

Two quadrant chopper is also called as type c chopper. Type C chopper is obtained by connecting type –A and type –B choppers in parallel. We will always get a positive output voltage V as the freewheeling diode FD is present across the load. When the chopper is on the freewheeling diode starts conducting and the output voltage v will be equal to V . The direction of the load current i will be reversed. The current i will be flowing towards the source and it will be positive regardless the chopper is on or the FD conducts. The load current will be negative if the chopper is or the diode D2 conducts. We can say the chopper and FD operate together as type-A chopper in first quadrant. In the second quadrant, the chopper and D2 will operate together as type –B chopper.
The average voltage will be always positive but the average load current might be positive or negative. The power flow may be life the first quadrant operation ie from source to load or from load to source like the second quadrant operation. The two choppers should not be turned on simultaneously as the combined action my cause a short circuit in supply lines. For regenerative braking and motoring these type of chopper configuration is used.
TWO QUADRANT CHOPPER MODEL USING SIMULINK:


let us take two mosfet blocks and diodes blocks and connect it as shown in circuit diagram.
The dc voltage source is connected as shown.
let the voltage of dc voltage source be 24 volts.

let us consider an series RLC branch block and select inductor L . thus block works as a load.
To consider LE load ie motor load , and dc voltage source of 12 volt is also connected in series with inductor.

The pulse generator block is used to create gate pulse.
The not gate is used in the model so that the two mosfet will not get closed at the same time otherwise short circuit will occur .due to use of not gate , when onemosfet is ON the other mosfet will get off and when other mosfet is ON the first mosfet will get off .
The amplitude of pulse generator is kept 10 so that we can clearly see the pulses at scope and let period be 0.02 seconds and let pulse weidth be 50%

SCOPE RESULT:

The voltage waveform is not going less than zero . the minimum value of voltage is zero and maximum value is always in the positive direction.
However in current waveform , the current increases and decreases. the current may be positive as well as negative.
And the pulse amplitude is 10 thus from pulse waveform we can see that the pulse amplitude is 10.
3. Explain in a brief about operation of BLDC motor.
A brushless DC motor (known as BLDC) is a permanent magnet synchronous electric motor which is driven by direct current (DC) electricity and it accomplishes electronically controlled commutation system (commutation is the process of producing rotational torque in the motor by changing phase currents through it at appropriate times) instead of a mechanically commutation system. BLDC motors are also referred as trapezoidal permanent magnet motors.
Unlike conventional brushed type DC motor, wherein the brushes make the mechanical contact with commutator on the rotor so as to form an electric path between a DC electric source and rotor armature windings, BLDC motor employs electrical commutation with permanent magnet rotor and a stator with a sequence of coils. In this motor, permanent magnet (or field poles) rotates and current carrying conductors are fixed.

The armature coils are switched electronically by transistors or silicon controlled rectifiers at the correct rotor position in such a way that armature field is in space quadrature with the rotor field poles. Hence the force acting on the rotor causes it to rotate. Hall sensors or rotary encoders are most commonly used to sense the position of the rotor and are positioned around the stator. The rotor position feedback from the sensor helps to determine when to switch the armature current.
This electronic commutation arrangement eliminates the commutator arrangement and brushes in a DC motor and hence more reliable and less noisy operation is achieved. Due to the absence of brushes BLDC motors are capable to run at high speeds. The efficiency of BLDC motors is typically 85 to 90 percent, whereas as brushed type DC motors are 75 to 80 percent efficient. There are wide varieties of BLDC motors available ranging from small power range to fractional horsepower, integral horsepower and large power ranges.
Construction of BLDC Motor
BLDC motors can be constructed in different physical configurations. Depending on the stator windings, these can be configured as single-phase, two-phase, or three-phase motors. However, three-phase BLDC motors with permanent magnet rotor are most commonly used.

The construction of this motor has many similarities of three phase induction motor as well as conventional DC motor. This motor has stator and rotor parts as like all other motors.

Stator of a BLDC motor made up of stacked steel laminations to carry the windings. These windings are placed in slots which are axially cut along the inner periphery of the stator. These windings can be arranged in either star or delta. However, most BLDC motors have three phase star connected stator.
Each winding is constructed with numerous interconnected coils, where one or more coils are placed in each slot. In order to form an even number of poles, each of these windings is distributed over the stator periphery.

The stator must be chosen with the correct rating of the voltage depending on the power supply capability. For robotics, automotive and small actuating applications, 48 V or less voltage BLDC motors are preferred. For industrial aplication and automation system,100 V or higher rating motors are used.
Rotor
BLDC motor incorporates a permanent magnet in the rotor. The number of poles in the rotor can vary from 2 to 8 pole pairs with alternate south and north poles depending on the application requirement. In order to achieve maximum torque in the motor, the flux density of the material should be high. A proper magnetic material for the rotor is needed to produce required magnetic field density.
Ferrite magnets are inexpensive, however they have a low flux density for a given volume. Rare earth alloy magnets are commonly used for new designs. Some of these alloys are Samarium Cobalt (SmCo), Neodymium (Nd), and Ferrite and Boron (NdFeB). The rotor can be constructed with different core configurations such as the circular core with permanent magnet on the periphery, circular core with rectangular magnets, etc.
Hall Sensors
Hall sensor provides the information to synchronize stator armature excitation with rotor position. Since the commutation of BLDC motor is controlled electronically, the stator windings should be energized in sequence in order to rotate the motor. Before energizing a particular stator winding, acknowledgment of rotor position is necessary. So the Hall Effect sensor embedded in stator senses the rotor position.
Most BLDC motors incorporate three Hall sensors which are embedded into the stator. Each sensor generates Low and High signals whenever the rotor poles pass near to it. The exact commutation sequence to the stator winding can be determined based on the combination of these three sensor’s response.
Working Principle and Operation of BLDC Motor
BLDC motor works on the principle similar to that of a conventional DC motor, i.e., the Lorentz force law which states that whenever a current carrying conductor placed in a magnetic field it experiences a force. As a consequence of reaction force, the magnet will experience an equal and opposite force. In case BLDC motor, the current carrying conductor is stationary while the permanent magnet moves.
When the stator coils are electrically switched by a supply source, it becomes electromagnet and starts producing the uniform field in the air gap. Though the source of supply is DC, switching makes to generate an AC voltage waveform with trapezoidal shape. Due to the force of interaction between electromagnet stator and permanent magnet rotor, the rotor continues to rotate.
Consider the figure below in which motor stator is excited based on different switching states. With the switching of windings as High and Low signals, corresponding winding energized as North and South poles. The permanent magnet rotor with North and South poles align with stator poles causing motor to rotate.
Observe that motor produces torque because of the development of attraction forces (when North-South or South-North alignment) and repulsion forces (when North-North or South-South alignment). By this way motor moves in a clockwise direction.
Here, one might get a question that how we know which stator coil should be energized and when to do. This is because; the motor continuous rotation depends on the switching sequence around the coils. As discussed above that Hall sensors give shaft position feedback to the electronic controller unit.
Based on this signal from sensor, the controller decides particular coils to energize. Hall-effect sensors generate Low and High level signals whenever rotor poles pass near to it. These signals determine the position of the shaft.
Brushless DC Motor Drive
As described above that the electronic controller circuit energizes appropriate motor winding by turning transistor or other solid state switches to rotate the motor continuously. The figure below shows the simple BLDC motor drive circuit which consists of MOSFET bridge (also called as inverter bridge), electronic controller, hall effect sensor and BLDC motor.
Here, Hall-effect sensors are used for position and speed feedback. The electronic controller can be a microcontroller unit or microprocessor or DSP processor or FPGA unit or any other controller. This controller receives these signals, processes them and sends the control signals to the MOSFET driver circuit.
In addition to the switching for a rated speed of the motor, additional electronic circuitry changes the motor speed based on required application. These speed control units are generally implemented with PID controllers to have precise control. It is also possible to produce four-quadrant operation from the motor whilst maintaining good efficiency throughout the speed variations using modern drives.
Advantages of BLDC Motor
BLDC motor has several advantages over conventional DC motors and some of these are
- It has no mechanical commutator and associated problems
- High efficiency due to the use of permanent magnet rotor
- High speed of operation even in loaded and unloaded conditions due to the absence of brushes that limits the speed
- Smaller motor geometry and lighter in weight than both brushed type DC and induction AC motors
- Long life as no inspection and maintenance is required for commutator system
- Higher dynamic response due to low inertia and carrying windings in the stator
- Less electromagnetic interference
- Quite operation (or low noise) due to absence of brushes
Disadvantages of Brushless Motor
- These motors are costly
- Electronic controller required control this motor is expensive
- Not much availability of many integrated electronic control solutions, especially for tiny BLDC motors
- Requires complex drive circuitry
- Need of additional sensors
Applications of Brushless DC Motors (BLDC)
Brushless DC Motors (BLDC) are used for a wide variety of application requirements such as varying loads, constant loads and positioning applications in the fields of industrial control, automotive, aviation, automation systems, health care equipments, etc. Some specific applications of BLDC motors are
- Computer hard drives and DVD/CD players
- Electric vehicles, hybrid vehicles, and electric bicycles
- Industrial robots, CNC machine tools, and simple belt driven systems
- Washing machines, compressors and dryers
- Fans, pumps and blowers

