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'.
In the MATLAB/SIMULINK documentation, we can search for the simulation model of the 'Speed control of a DC Motor using BJT H-bridge'. It is used to generate a chopped voltage and to control the speed of the DC motor. This model can be opened in SIMULINK from the documentation itself. As the name suggests, it uses a BJT (Bipolar Junction Transistor which is a type of transistor that uses both electrons and holes as charge carriers, hence the name bipolar. Other transistors such as FETs (Field Effect Transistors) are unipolar transistors meaning that they only use one type of charge carrier. BJTs are used for switching and amplifying applications.
BJTs have 3 terminals which are: the emitter (E), the base (B) and the collector (C). Current flows in only the emitter and the collector and the amount of current that flows through them is controlled by the base. BJTs use semiconductors in their working, and so there are 2 types of BJT: NPN type and PNP type. Their circuit symbols are shown below:
- PNP Transistor
This type uses 2 p-type semiconductors and one n-type semiconductor. The n-type semiconductor will be the base of the transistor. The emitter terminal is more positive in relation to the collector and base terminals. The collector is connected to positive supply and emitter is connected to negative supply. The base terminal is supplied with voltage and it operates the transistor by switching between ON or OFF states. When the base voltage is the same as the emitter voltage, the transistor is in the OFF state. When the base voltage decreases with respect to the emitter voltage, the transistor is in the ON state.
- NPN Transistor
This type uses 2 n-type semiconductors and one p-type semiconductor. The p-type semiconductor will be the base of the transistor. Construction wise it is exactly the same as the PNP type having 3 terminals. Just as in the PNP type, the collector terminal is conneced to the positive voltage supply and the emitter terminal is connected to the negative voltage supply. The base terminal is supplied with a voltage and controls the transistor being either in an ON or OFF state. When the base voltage is the same as the emitter voltage, the transistor will be in the OFF state. When the base voltage increases with respect to the emitter voltage, the transistor will be in the ON state.
BJT H-Bridge
When the BJT is conducting i.e. operating in the saturated region, there will be a forward voltage developed between the collector and the emitter (in the range of 1V). An IGBT is used to model the BJT because of this. The switch is controlled by a SIMULINK signal. The DC motor used in this model is preset to with specifications: 5HP, 24V, 1750rpm. It simulates a fan type load where the load is proportional to the square of the speed. The mean armature voltage can be varied between 0 and 240V when the duty cycle is changed anywhere from 0 to 100%. The duty cycle can be changed from the pulse generator block.
The H-bridge consists of 4 BJT and Diode pairs. Two transistors are switched on simultaneously: Q1 and Q4 or Q2 and Q3. When Q1 and Q4 are fired, a positive voltage is applied to the motor and the diodes, D2 and D3 operate as free wheeling diodes when Q1 and Q4 are switched off. Similarly, when Q2 and Q3 are fired, a negative voltage is applied to the motor and the diodes, D1 and D4 operate as free wheeling diodes when Q2 and Q3 are switched off.
By default, the motor will start in the positive direction and has a preset duty cycle of 75% with a mean DC voltage of 180V. At t = 0.5 seconds, the armature voltage will reverse and the motor will run in the negative direction.
This is the SIMULINK model for the BJT H-Bridge used in the speed control of a DC motor:

Here, we can see the 'Pulse Generator 500Hz' block. If we open it, we will get a dialog box with its settings which is shown below:
As we can see, the pulse generator is already preset with some settings. The pulse width field allows us to modify the duty cycle of the motor and hence, we can prevent the motor current from shooting up when the motor changes its direction from forward to reverse. By default the duty cycle is 75% meaning that the voltage is supplied to the motor for 75% of the time for one cycle. For the remaining 25%, the motor is off and receives no voltage from the source. It is this alternation between the ON and OFF states, that allows us to vary the voltage that is supplied to the motor and thereby control the speed of an electric vehicle.
The image below shows the output of the scope when the simulation is run using the preset values in the pulse generator block. There are 3 output graphs of angular speed, armature current and the load torque all against a time axis.
Scope:-

For this question, we are interested in modifying the simulation in order to prevent the initial shoot up of the armature current at the start of the cycle. This shootup occurs whenever the armature voltage reverses direction which is every 0.5 seconds. In the second graph above (which shows the armature current vs. time) we can see that at the start of the cycle, there is a sharp increase in the armature current that then decreases and comes to a more stable level where it remains until 0.5 seconds. When the next cycle begins, the exact same effect occurs but in the negative axis because in this cycle, the armature voltage is reversed.
This frequency of reversing the voltage direction has been preset in the 'armature voltage control' block. Opening it will give you a dialog box of its setting where the 'step time' field controls the frequency at which the voltage is reversed.
1. B. Comment on the armature current shoot-up from the scope results.
If we change the duty cycle i.e. the pulse width, we can control this initial shoot up of the current that occurs every time the armature voltage direction is reversed. When the duty cycle is decreased to 50% the output graph that is obtained is shown below:

For the 50% duty cycle, we can see that armature current does not shoot up initially for the positive direction of the armature voltage. However, after the 0.5 second mark when the armature voltage is reversed, the armature current shoots up in the negative direction. So, we need to decrease the duty cycle further to prevent this.
This time, I have reduced the duty cycle to 40%. The output graph is shown below:

Here, we can see that at the start of the cycle in the positive armature voltage direction, the armature current does not shoot up like it did before. The armature current increases immediately to approximately 7A and it maintains that level until the next cycle where the armature voltage is reversed to -7A.
1. c .Refer to the help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with the H-bridge model.
Four Quadrant Chopper DC Drive Block:-

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, reverse motoring, 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 steady-state 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 vs and load current io 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.
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 FOR 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 V0 as the freewheeling diode FD is present across the load. When the chopper is on the freewheeling diode starts conducting and the output voltage v0 will be equal to Vs . The direction of the load current i0 will be reversed. The current i0 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 one mosfet 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.
BLDC Motor:-
Brushless DC electric motors also known as electronically commutated motors .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 SCR 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.
In this motor, the permanent magnets attach to the rotor. The current-carrying conductors or armature winding 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.
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.

The layout of a DC brushless motor can vary depending on whether it is in “Out runner” style or “Inrunner” style.
-
Outrunner – The field magnet is a drum rotor which rotates around the stator. This style is preferred for applications that require high torque and where high rpm isn’t a requirement.
-
In runner – The stator is a fixed drum in which the field magnet rotates. This motor is known for producing less torque than the out runner style, but is capable of spinning at very high rpm.
stator:-
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.

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 OF BLDC MOTOR:-
The underlying principles for the working of a BLDC motor are the same as for a brushed DC motor; i.e., internal shaft position feedback. In case of a brushed DC motor, feedback is implemented using a mechanical commutator and brushes. With a in BLDC motor, it is achieved using multiple feedback sensors. The most commonly used sensors are hall sensors and optical encoders. Hall sensors work on the hall-effect principle that when a current-carrying conductor is exposed to the magnetic field, charge carriers experience a force based on the voltage developed across the two sides of the conductor.
If the direction of the magnetic field is reversed, the voltage developed will reverse as well. For Hall-effect sensors used in BLDC motors, whenever rotor magnetic poles (N or S) pass near the hall sensor, they generate a HIGH or LOW level signal, which can be used to determine the position of the shaft.
In a commutation system – one that is based on the position of the motor identified using feedback sensors – two of the three electrical windings are energized at a time as shown in figure 4.
In figure 4 (A), the GREEN winding labeled “001” is energized as the NORTH pole and the BLUE winding labeled as “010” is energized as the SOUTH pole. Because of this excitation, the SOUTH pole of the rotor aligns with the GREEN winding and the NORTH pole aligns with the RED winding labeled “100”. In order to move the rotor, the “RED” and “BLUE” windings are energized in the direction shown in figure 4(B). This causes the RED winding to become the NORTH pole and the BLUE winding to become the SOUTH pole. This shifting of the magnetic field in the stator produces torque because of the development of repulsion (Red winding – NORTH-NORTH alignment) and attraction forces (BLUE winding – NORTH-SOUTH alignment), which moves the rotor in the clockwise direction.



This torque is at its maximum when the rotor starts to move, but it reduces as the two fields align to each other. Thus, to preserve the torque or to build up the rotation, the magnetic field generated by stator should keep switching. To catch up with the field generated by the stator, the rotor will keep rotating. Since the magnetic field of the stator and rotor both rotate at the same frequency, they come under the category of synchronous motor.
This switching of the stator to build up the rotation is known as commutation. For 3-phase windings, there are 6 steps in the commutation; i.e., 6 unique combinations in which motor windings will be energized.
ADVANTAGES OF BLDC 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
DISADVANTAGES OF BLDC MOTOR - These motors are costly
- Electronic controller required control this motor is expensive
- Requires complex drive circuitry
- Need of additional sensors
APPLICATION OF BLDC 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.
CONCLUSION:-
1) MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge is studied and the the armature current shoot-up is studied and ‘The Four-Quadrant Chopper DC Drive (DC7) block is also studied and Compare it with the H-bridge model
2) 2-quadrant chopper using simulink model is made and the various results obatined is studied.
3)operation of BLDC motor is studied.
References:-
https://www.edn.com/brushless-dc-motors-part-ii-control-principles/
https://www.edn.com/brushless-dc-motors-part-i-construction-and-operating-principles/
https://robu.in/brushless-dc-motor-working-principle-construction-applications/
https://www.electricaltechnology.org/2016/05/bldc-brushless-dc-motor-construction-working-principle.html
https://www.circuitstoday.com/types-of-chopper-circuits