Challenge

Week-7 Challenge: DC Motor Control

1. A. Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’.

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.

Static 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 (let’s say) 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.

  1. BJT as an IGBT: In power switching applications, a Bipolar Junction Transistor (BJT) can operate similarly to an Insulated Gate Bipolar Transistor (IGBT). When the BJT is conducting (in its saturated region), it develops a forward voltage (Vf) between the collector and emitter, typically in the range of 1 V. In the simulation, an IGBT block models the behavior of the BJT.

  2. Switch Control: The IGBT block in the simulation does not account for the gate current that controls the BJT or IGBT. Instead, the switch is controlled by a signal from Simulink (1 for ON and 0 for OFF).

  3. DC Motor Model: The simulation includes a DC motor model with preset parameters (e.g., 5 HP, 24V, 1750 rpm). This motor model simulates a load that behaves like a fan, where the load torque is proportional to the square of the speed.

  4. H-Bridge Configuration: The H-bridge used for controlling the DC motor consists of four BJT/Diode pairs. It's important to note that BJTs are simulated using IGBT models in this context. Two transistors are switched simultaneously: Q1 and Q4 or Q2 and Q3. When Q1 and Q4 are activated, a positive voltage is applied to the motor. Diodes D2 and D3 operate as freewheeling diodes when Q1 and Q4 are switched off. Similarly, when Q2 and Q3 are fired, a negative voltage is applied to the motor, and diodes D1 and D4 serve as freewheeling diodes when Q2 and Q3 are switched off.

  5. Simulation Scenario: The simulation scenario involves starting the motor in the positive direction with a duty cycle of 75%, resulting in a mean DC voltage of 180V. At t=0.5 seconds, the armature voltage is abruptly reversed, causing the motor to run in the negative direction.

  6. Scope and Current Monitoring: The simulation includes scope displays to visualize motor speed, armature current, and load torque. Additionally, there's a monitoring component that displays the currents flowing in BJT Q3 and diode D3.

Overall, this simulation allows for the analysis of speed control in a DC motor using an H-bridge configuration with BJTs (simulated as IGBTs) as the switching elements. It provides insights into how changing the duty cycle affects motor behavior and direction.

Working of H-bridge model:

  • Here H-bridge  DC chopper circuit is designed to control the speed of the motor.
  • IGBT acts as BJT in power switching devices.
  • Four IGBT switches are used for inverting the DC voltage 0 to 240 v supply.The current flows from collector(C) to emitter(E).
  • The gate are controlled by the pulses(0 and 1) according to the armature voltge of motor given by pulse generator.

  • This image shoes the voltage value given from initial to final during the step time.According to the pulses on and off the voltage supplied to the IGBT's.
  • Here four switches are used Q1,Q2,Q3,Q4. Pulses P1,P2,P3,P4 are conected with corresponding switches.
  • In first state, Q1 and Q4 are closed by giving 1V to IGBT'S,current from battery passes through Q1 and Q4.Diode D2,D3 are used as free wheeling diode in this state.In this case Forward motoring and forward breaking are held.
  • In Second state,Q2 and Q3 are closed by giving 1V to IGBT's,current from battery passes through Q2 and Q3.Diode D1,D4 are used as free wheeling diode in this stateIn this case reverse motoring and reverse breaking are held.The current direction change its direction in this state.
  • Both the states are occuring in 0.5 seconds in their sample time.Thus DC supply converted  and feeded to the armature of the motor.
  • Here free wheeling diodes are used as a safety purpose of this inverter circuit as when the flow of current on low values protects the circuit and machine by feed backing the current  or in high voltage fluctuvations voltage get splited as protection to the motor and circuit components. 
  • In motor operation, armature terminals  are connected with a 240V along the inverter circuit and field windings are connected with 300 V DC suppy to act as a electro magnet for the motor.
  • The load torque is given as mechanical input to the motor for its referance.
  • Thus through this magnetic fields generated, variable current carring conductors in rotor armature produces forces according to fleming left hand rule principle. Thus the motor starts to rotate.
  • Here run this demo model and study the results from scopes.

Speed of motor:

  • Initially increases to 0 to nearly 900 rpm upto 0.5 secs(Forward motoring action takes place).
  • Then speed reduces to 0 rpm(Forward dynamic breaking action takes place).
  • Then speed increases from 0 to -900 rpm at upto 1 sec( Reverse motoring action takes place).
  • Then reverse dynasmic breaking occurs(Not shown in scope).

Load torque of motor:

  • Initially torque increase from 0 to 0.5 secs in forward motoring action.
  • Then torque reduces to 0 Nm in forward dynamic breaking mode.
  • Then torque increases in reverse direction in reverse motoring action upto 1 sec.
  • Again torque reduce to zero.(Not shown in scope).

1B)

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 means at 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 & 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.

in above results , the duty cycle selected as 75%.

by changing the duty cycle from 75% to 50% , the current surge can be reduced tremendously.

thus we can find that , the armature curent spike is reduced by changing the duty cycle from 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, 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.

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.

In summary,  two different models for controlling the speed and direction of a DC motor: the Four-Quadrant Chopper DC Drive (DC7) block and a BJT H-bridge model. Here are the key points of comparison between the two:

  1. Operational Modes:

    • Four-Quadrant Chopper (DC7): It operates in all four modes—forward motoring, forward braking, reverse motoring, and reverse braking.
    • BJT H-Bridge: It operates in only two modes—forward motoring and reverse motoring.
  2. Direction Control:

    • Four-Quadrant Chopper (DC7): Changing the direction of rotation is achieved by transitioning the current signals from one switch to another.
    • BJT H-Bridge: The direction of rotation is changed by altering the polarity of the current.
  3. Switching Frequency:

    • Four-Quadrant Chopper (DC7): It operates at a high switching frequency.
    • BJT H-Bridge: It operates at a lower switching frequency.
  4. Armature Current:

    • Four-Quadrant Chopper (DC7): It may have a slight spike in armature current at transitions between switches due to the high switching frequency.
    • BJT H-Bridge: It exhibits a higher spike in armature current.
  5. Applications:

    • Four-Quadrant Chopper (DC7): Typically used in industrial applications.
    • BJT H-Bridge: Commonly used in robotics.

In essence, the Four-Quadrant Chopper (DC7) offers more operational modes and is suitable for industrial applications, whereas the BJT H-Bridge provides simplicity and is often employed in robotics. The choice between the two depends on the specific requirements and constraints of the motor control application.

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 )

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