Week-7 Challenge: DC Motor Control
Aim:-
- 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. - Develop a 2-quadrant chopper using Simulink & explain the working of the same with the relevant results. (Refer to the article - Multiquadrant operation of motor ).
- Explain in a brief about the operation of BLDC motor.
Theory:-
H-Bridge:-
let us understand the basic concept of speed control using H-bridge configuration.
Most DC motors have two terminals because they are series type (armature and field windings are connected in series) DC motors.

As shown in the figure there are two terminals ‘A’ and ‘B’ of DC motor. Now if we connect terminal A with +Ve supply and terminal B with –Ve supply or ground the current will flow from the motor from A to B and the motor will rotate in one direction – say clockwise (CW) or forward direction. Now as shown in the second figure we change the supply terminals. Now B is connected with +Ve and A is connected to ground. The current will flow from motor from B to A and the motor will rotate in another direction (counter-clockwise – CCW or reverse).
The arrangement to get a reversible supply is shown in the right side of figure. Four switches are connected in between +Ve supply and ground and DC motor is connected in between two switches as shown. Such circuit arrangement is known as H-bridge because it looks like letter ‘H’ (H-bridge circuits are most widely used in DC motor drivers). Let us see how it gives reverse supply to motor.
If SW1 and SW4 are pressed simultaneously then current will flow from +Ve – SW1 – A – B – SW4 – Gnd. So motor will rotate in one direction. Open (release) SW1 and SW4 to stop motor. Now if SW2 and SW3 are pressed current will flow from +Ve – SW2 – B – A – SW3 – Gnd. So motor gets reverse supply and it will rotate in another direction.
(Caution: care has to be taken that SW1 and SW3 or SW2 and SW4 must not be pressed simultaneously otherwise it will short circuit the supply)

The circuit replaces the switches with NPN type transistors. Diodes are given for the current to free wheel as the DC motor is a RLE load where the current cannot change direction instantaneously. We all know that transistor works as switch. For NPN transistor if we give enough +Ve input to base it will turn ON (Saturation region) and if we give 0 input it will be turned OFF (Cut off region). So in this circuit, if Q1 and Q4 are turned ON simultaneously the motor will rotate forward and if Q2 and Q3 are turned ON then the motor will rotate in reverse direction.
In order to vary the speed of the DC motor, We have to change the voltage applied to the DC motor. This could be achieved with the help of Pulse width modulation.

Pulse width modulation means varying the width (duty) of the pulse. Width means ON time Ton of pulse. The average output voltage (Vdc or Vavg) is given by equation
Vdc = Ton/(Ton + Toff) * Vs
Vdc = δ . Vs
where,
δ = Duty cycle.
The voltage directly depends upon Ton. As shown in above figure if duty is 50% the average output voltage Vdc is exactly the half of Vs. If duty is increased to 75%, Vdc also increases to 3/4th of Vs and if duty is decreased to 25%, Vdc reduces to 1/4th of Vs. Thus as pulse width varies the average output voltage varies. So we have to apply PWM to DC motor to vary its speed.
BJT:-
A bipolar junction transistor (BJT) is a type of transistor that uses both electrons and electron holes as charge carriers. In contrast, a unipolar transistor, such as a field-effect transistor, uses only one kind of charge carrier. A bipolar transistor allows a small current injected at one of its terminals to control a much larger current flowing between two other terminals, making the device capable of amplification or switching. BJTs use two junctions between two semiconductor types, n-type and p-type, which are regions in a single crystal of material.
The junctions can be made in several different ways, such as changing the doping of the semiconductor material as it is grown, by depositing metal pellets to form alloy junctions, or by such methods as diffusion of n-type and p-type doping substances into the crystal.
Q1.A Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’.
The example shown below is the Simulink model of an H-Bridge used to generate a chopped voltage and to control the speed of a DC motor.

The Bipolar Junction Transistor (BJT) when used for power switching applications, operates as an IGBT. When it is conducting (BJT operating in the saturated region), a forward voltage Vf is developed between collector and emitter (in the range of 1 V). 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). The DC motor uses the preset model (5 HP 24V 1750 rpm). It simulates a fan type load (where Load torque is proportional to the square of speed). The armature mean voltage can be varied from 0 to 240 V when the duty cycle (specified in the Pulse Generator block) is varied from 0 to 100%.
The H-bridge consists of four BJT/Diode pairs (BJT simulated by IGBT models). 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. 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.
Q1.B Comment on the armature current shoot-up from the scope results.
Simulation Output:-
1. Pulse Generator Parameters;
Period: 2mili seconds
Pulse width (% of period): 75%

From the armature current graph, we can see that, at starting there is sudden spike increase in current at 0 sec also and at 0.5sec also means at the transition from 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 and on changing of switches after 0.5sec 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 the duty cycle in the above results, the duty cycle selected as 75%.
By changing the duty cycle from 75% to 45%, the current surge can be reduced tremendously.
2. Period: 2 milli second
Pulse width (%of period): 45%

Therefore when pulse width decreases, the voltage applied across the DC motor decreases and the armature current finally decreases.
Q1.C Refer to the help section of 'The Four -quadrant Chopper DC Drive (DC7) block'. Comper 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 a 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 Four-Quadrant Chopper DC Drive block uses these blocks from the Electric Drives/Fundamental Drive Blocks library:
- Speed Controller (DC)
- Regulation Switch
- Current Controller (DC)
- Chopper

The above figure shows the schematic of the 4 quadrant chopper DC drive
| H bridge | Four Quadrant chopper DC drive |
| Only Two quadrants of operation are possible. They are Forward motoring and reverse motoring | It can operate in all four quadrants (forward motoring, reverse regeneration, reverse motoring, and forward regeneration) |
| Higher armature current ripple. | Lower armature current ripple due to the high switching frequency of DC-DC converters |
| Less complex | More complex |
| Simulation is continuous and simulation time is more | Discrete and Simulation time is less |
| Widely Used in Robotics | Widely used in Automobile |
Q2.Develop a 2-quadrant chopper using simulink & explain the working of the same with the relevant results. (Refer to article - Multiquadrant operation of motor )
Type C chopper or Two Quadrant class A chopper:-
Class-C or Type-C Chopper is a category of the chopper that can operate in first as well as a second quadrant. This basically means that the power can either flow from source to load or load to source in this chopper. This kind of chopper is also known as the Two Quadrant Class-A chopper.
Operation or Working of Class-C or type C:
As we know that, a Class A and Class B chopper operates in first and second quadrant respectively. Therefore, if we connect both these types of chopper in parallel then it is possible to have chopper operation in the first as well as a second quadrant. In fact, Class-C or Type-C chopper is obtained by the parallel connection of Class-A and Class-B chopper. The figure below shows the circuit diagram of this type of chopper.

We can notice that chopper CH1, free-wheeling diode (FD) and load are forming Class-A Chopper whereas chopper CH2, D2 and Load are forming Class-B chopper. Both these choppers are connected in parallel. To obtain first quadrant operation we should switch ON chopper CH1 and for getting second quadrant operation we should switch ON chopper CH2. Let us discuss this in detail.
Case 1: When CH1 is switched ON/OFF
When chopper CH1 is switched ON, source Vs directly gets connected to the load and hence, load voltage Vo is equal to source voltage. The direction of load current is from source to load as shown in the circuit diagram which is assumed positive.
When CH1 is switched OFF, the free-wheeling diode FD comes into the circuit as it gets forward biased and hence shorts the load. Therefore, the output voltage Vo becomes zero. However, the io continues to die down through the FD and L in the same direction as shown in circuit diagram. Thus, the average output voltage Vo and current Io are positive and hence operation of chopper is in first quadrant.
Case 2: When CH2 is switched ON/OFF
When chopper CH2 is switched ON, load DC source E drives current through CH2 and load. The direction of this current io will be opposite to that shown in circuit diagram and hence is assumed negative. Output voltage Vo is zero during this time. When CH2 is made OFF, diode D2 gets forward biased and hence the current into the source from the load. The output voltage is Vs in this time as the load is connected to the source through D2 during OFF time of chopper CH2. Thus, the load current is always negative i.e. operation of chopper is within second quadrant.
The average load voltage is always positive but the average load current may be positive or negative. Therefore, power flow may be from source to load (first quadrant operation) or load to source (second quadrant operation). The operating region of Class-C or Type-C chopper is shown below by hatched area.

CAUTION:- Choppers CH1 and CH2 should not be ON simultaneously as this would lead to direct short circuit on the supply lines.
Application:- Class-C or Type-C choppers are used for motoring and regenerative breaking of DC Motors.
Realization using Simulink:-

Hence, the Simulink model corresponding to the circuit diagram is built using basic Simulink blocks. The pulse generator is used with the NOT gate to prevent misfiring of the MOSFETs so that they do not conduct at the same time which results in the short circuit
Pulse Generator Parameters:-

Amplitude of 10 is chosen so that we could see the pulses clearly.
Period 0.02 sec
Pulse width 50%
The output of the generator is connected to the NOT operator which ensures that only one switch is working at a time. Then it is further connected to the gate of the switches.
We need the powergui block to simulate any Simulink model it stores the equivalent Simulink circuit that represents the state-space equations of the model.
The inductor is provided which will store the current when switch 1 is turned off
DC Voltage Source parameters:-
Source side 24V
Load Side 12V
Simulink Output:-
Hence, we could see clearly that the voltage is always positive but the current becomes both positive and negative. Hence, the Type C chopper is simulated and verified.
Q3.Explain in a brief about the operation of BLDC motor.
Brushless DC electric motors also known as electronically commutated motors (ECMs, EC motors). Primary efficiency is a most importent feature for BLDC motors. Because the rotor is the sole bearer of the magnets and it doesn’t require any power. i.e. no connections, no commutator and no brushes. In place of these, the motor employs control circuitry. To detect where the rotor is at certain times, BLDC motors employ along with controllers, rotary encoders or a Hall sensor.
Construction:
In this motor, the permanent magnets attach to the rotor. The current-carrying conductors or armature windings are located on the stator. They use electrical commutation to convert electrical energy into mechanical energy. The main design difference between a brushed and brushless motors is the replacement of mechanical commutator with an electric switch circuit. A BLDC Motor is a type of synchronous motor in the sense that the magnetic field generated by the stator and the rotor revolve at the same frequency.

Brushless motor does not have any current carrying commutators. The field inside a brushless motor is switched through an amplifier which is triggered by the commutating device like an optical encoder.
Working:
BLDC motor works on the principle similar to that of a Brushed DC motor. 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 the BLDC motor, the current carrying conductor is stationary and the permanent magnet is moving.

When the stator coils get a supply from 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.
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 which causes the motor to rotate.
Advantages of Brushless DC motor
- Less overall maintenance due to absence of brushes
- Reduced size with far superior thermal characteristics
- Higher speed range and lower electric noise generation.
- It has no mechanical commutator and associated problems
- High efficiency and high output power to size ratio 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
- Low noise due to absence of brushes
Limitations of Brushless DC Motor
- These motors are costly
- Electronic controller required control this motor is expensive
- Requires complex drive circuitry
- Need of additional sensors
Applications of Brushless DC Motor
Brushless DC motors (BLDC) use 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.
- 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.
References:-
- https://skill-lync.com/student-projects/multi-quadrant-operation-of-dc-motor-in-simulink
- https://electricalbaba.com/four-quadrant-chopper-or-class-e-chopper/
- https://www.electronicshub.org/brushless-dc-motor-bldc-motor/
- https://in.mathworks.com/help/physmod/sps/ref/twoquadrantchopper.html#:~:text=The%20Two%2DQuadrant%20Chopper%20block,%E2%80%94%20Gate%20turn%2Doff%20thyristor.