Challenge

Week-7 Challenge: DC Motor Control

  1. Run MATLAB demo ‘Speed control of a DC motor using BJT H-bridge’. Modify the model such that armature current doesn’t shoot up when motor changes direction from forward to reverse.
  2. Refer to help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with H-bridge model.
  3. Make a suitable EV model using DC7 block and make result report.

.......................................................................................................................................................

Q1)Run MATLAB demo ‘Speed control of a DC motor using BJT H-bridge’. Modify the model such that armature current doesn’t shoot up when motor changes direction from forward to reverse.

ans -

This example shows the simulation of an H-bridge used to generate a chopped voltage and to control the speed of a DC moto

Description

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 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

The diodes D2 to D3 provide a safer path for the back emf from the motor to dissipate and thus it protects the corresponding bipolar transistors from damage.

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.

Simulation

The motor starts in the positive direction with a duty cycle of 75% (mean DC voltage of 180V). 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.

in pulse generator The pulse width allows us to modify the duty cycle of the motor and 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% and reamining 25% there it is of ..so this kind of switching take place very fast and the control we want it is obtain.

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.

If we change the duty cycle 75% 50% 25% etc i.e. the pulse width we can control this initial shoot up of the armature current that occurs every time the armature voltage direction is reversed.
Result for 75 % duty cycle ie in pulse width we give 75%
Result for 60 % duty cycle ie in pulse width we give 60%
Result for 50 % duty cycle ie in pulse width we give 50%
Result for 40 % duty cycle ie in pulse width we give 40%
we can see in duty cycle 40% armature current ripple is is reduced when changing direction
from forward to reverse.
Q2) Refer to help section of ‘The Four-Quadrant Chopper DC Drive (DC7) block’. Compare it with H-bridge model.
ans--

Description

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 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

Remarks

The machine is separately excited with a constant E field voltage source. 1
The armature voltage is provided by an IGBT converter controlled by two Pl
connected in series with the armature circuit.

The model is discrete. Good simulation results have been obtained with a 1—
- The speed controller sampling time

- The current controller sampling time

comparision
1) 4 quadrant DC choppers are more commonly used in automobiles whereas the BJT H-bridges are commonly used in robotics and electro-mechanical devices.
2) in 4 quadrant DC choppers, a PI controller is used to control the speed and the current and in the H-bridge, this is not used.
3) DC7 Chopper Block Armature current changes phases due to the four-quadrant system thus providing further versatility to the motor. as it is not in BJT H-bridges
4) BJT H-bridges has a straight transistor configurationusing bipolarjunction transistors. As opposing to the name, it uses a two quadrant Dc motor system for Voltage conversion on a single phase. where as in DC7 Chopper Block it is Four quadrant
5)Unlike 4 quadrant DC choppers, BJT H-bridges are not capable of performing regenerative braking but they canperform dynamic braking. It is this difference that makes 4 quadrant DC choppers useful in hybrid and electric vehicles.
6) In 4 quadrant operation as per the drive cycle current sigal is produced and the moter operate this current signal are iterupted with each other to change the rotation of direction of the motor. However in BJT H-bridge the polarity of the current is reversed (depending on the duty cycle) to change the direction of rotation of the moter. ie
To change to direction pf motor current signals are interrupted with one another.
To change the direction of motor only the polarityof the current is changed.
Q3) Make a suitable EV model using DC7 block and make result report.
ans -- DC7 block model given
we make some changes in the given circuit

we will replaced the default blocks of the DC7 model with new blocks .

The first block to be replaced is the linear load torque block. with non linear torque equation

For this model of the EV, we will be using a new equation that characterizes the relation between the torque and the speed which is shown below:

Tm : 0.00514ω^2 + 24.7

where:

angular speed of motor (radians per second) ω

Torque of motor in (Nm)

to apply this equation we use blocks Math Function Block,Gain Block, Constant Block ,Add Block ,DC Voltage Block ,Drive Cycle Block or signal builder block and we import our signal xl file in it file attached .make stop time so that it is same as drive cycle.

zooming and showing legend .
speed reference
in forward and in reverse igbt switch operate 1,4 and 2,3
reference speed given through signal builder we see the armature current at 4th sec it have high speed and from 4sec to 7sec speed is decrease armature current goes in negative direction
in forward and in reverse igbt switch operate 1,4 and 2,3
in graph armature current and moter speed in zoom we see two colour lines yello and blue one is reference and one is actual moter curves .armature voltage fast switching 0 to 200 and -200 this is because switching of igbt 1,4 and 2,3.
the armature current f‌luctuations occur very rapidly as the IGBT switches 1&4 get switched ON and OFF continuosly at a very high frequency. This switching is done obviously to control the power that the motor receives to make it perform the forward motoring operation. The forward motoring operation occurs till t = 4 seconds which is when the motor angular speed is a maximum. After this, the motor angular speed decreases till the end of the drive cycle and this causes a change in the f‌luctuation of current. The maximum armature current and minimum armature current both decrease as the power requirement to the motor decreases when the motor angular speed decreases. The armature current follows the drive cycle data .
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.