Idc - Sem-07 PDF
Idc - Sem-07 PDF
Idc - Sem-07 PDF
Chandkheda, Gandhinagar-382424
Semester-VII
INDUSTRIAL DRIVES AND CONTROL
Name: …………………………………………………………………
Chandkheda, Gandhinagar-382424
CERTIFICATE
INDEX
Sr.
NAME PAGE No.
No. DATE SIGN
PRACTICAL: 1
INTRODUCTION:
Drives are employed for systems that require motion control – e.g. transportation system,
fans, robots, pumps, machine tools, etc. Prime movers are required in drive systems to provide
the movement or motion and energy that is used to provide the motion can come from various
sources: diesel engines, petrol engines, hydraulic motors, electric motors etc.
Drives that use electric motors as the prime movers are known as electrical drives. It is estimated
that about half of electricity generated is converted to mechanical energy and this conversion is
performed using electric drives.
b. Available in wide range of speed, torque and power; they are available in mW up to
MW range.
c. High efficiency, low noise, low maintenance requirements and cleaner operation
d. Electric energy is easy to be transported over long distances.
e. Adaptable to various operating conditions: explosive, submerged in liquid, various
types of mounting, etc
f. Can be started instantly and can be fully loaded immediately (no need to warm-up or re-
fuelling the motor)
A typical conventional electric drive system for variable speed application employing multi-
machine system is shown in Figure 1, which also known as the Ward-Leonard system. The
variable speed of the load is obtained by varying the terminal voltage of the DC motor, which is
fed by the DC generator. The AC motor is mechanically coupled to the DC generator and hence
runs at constant speed. Subsequently, the field excitation of the DC generator is adjusted in order
to provide the adjustable DC voltage to the DC machine. If the DC generator voltage is adjusted
to be lower than the back EMF voltage of the DC motor, the ‘motor’ will be operated in
regenerative braking mode. In other words, 4-quadrant operation is possible with this
configuration. Obviously, the system is bulky, expensive, inflexible and require regular
maintenance due to the present of the DC machines.
In the past, for constant speed application, induction and synchronous motors were widely. An
efficient variable speed operation of AC motors is only possible if both the frequency and
magnitude of the 3-phase supply voltage are adjustable; unfortunately this is used to be almost
impossible.
Ia
Variable
fixed Speed
variable
AC speed DC DC
DC Load
Motor Generator motor
If
With the advancement in power electronics, microprocessors and digital electronics, typical
electric drive systems nowadays are becoming more compact, efficient, cheaper and versatile.
The voltage and current (magnitude and frequency) applied to the motor can be changed at will
by employing power electronic converters. AC motor is no longer limited to applications where
only AC source is available, however, it can also be used when the power source available is DC
or vice versa.
• Non-linear control
• Real-time control
• DSP application
• PFC
• sensors
• Speed sensor less
• Power electronic converters
The main components of a modern electrical drive are the motor, power processor, control unit
electrical source and the mechanical load. These components are different from one drive system
to another drive system, depending upon the applications, cost, available electrical source, etc.
These are briefly discussed below.
a) Motors
Motors obtain power from electrical sources. They convert energy from electrical to
mechanical - therefore can be regarded as energy converters. Inbraking mode, the flow of
power is reversed.
Depending upon the type of power converters used, it is also possible forthe power to be fed
back to the sources (regenerative braking) rather than dissipated as heat (dynamic braking).
There are several types of motors used in electric drivesthe choice of the type to be used
depends on applications, cost, environmental factors and also on the type of sources
available. Broadly, they can be classified as either DC or AC motors:
Shape the voltage or current that is supplied to the motor – these methods are inflexible,
inefficient and have limited control capability. In modern electric drive systems, power
electronic converters are used to shape the desired voltage or current that is supplied to the
motor. The power converters are commonly used to convert one form of electrical power to
another (e.g. AC to DC, DC to AC, etc).
The main advantage of using power electronic converters is because of their high efficiency.
With power electronic converters, characteristic of the motors can be changed at will to adapt
the load requirements. Power electronic converters have several advantages over classical
methods of power conversion, such as :
AC-DC CONVERTER
AC-DC CONVERTER
DC-AC CONVERTER
AC-AC CONVERTER
c) Control Unit
Control unit is used to generate the switching signals to the power switches of the power
converters. The switching signals are generated depending on the control scheme adopted,
which depends on the desired drive performance and the type of motors used. A controller
can be as simple as few op-amps and/or a few digital ICs, or it can be as complex as the
combinations of several ASICs and digital signal processors (DSPs). The controllers can be
constructed from/using:
Analog circuit - which is noisy, inflexible. However, analog circuit ideally can
provide infinite control bandwidth.
Digital circuit – immune to noise, configurable. The bandwidth is obviously limited
that depends on the sampling frequency. Field Programmable Gate Arrays (FPGA)
devices are gaining popularity due to their re-configurable features.
However implementation of sophisticated control algorithm and observers can be
very difficult and complex.
Most of the time, the control unit has to be electrically isolated from the power
converters using opto-coupler or pulse transformers, for the following reasons:
d) Source
Electrical sources or power supplies provide the energy to the electrical motors. Power
sources can be of AC or DC in nature and normally are uncontrollable, i.e. their magnitudes
and frequencies are either fixed or varying, depending on the sources of energy such as
battery, power utility, fuel cell, etc. Fixed frequency and fixed magnitude AC source is
normally obtained from power utility and can be either three-phase or single-phase; 3-phase
sources are normally for high power applications. In order to efficiently control the motor,
regardless of whether it is a DC or AC source (and depending on the type of the motor), it has
to be regulated using power electronics converters before being fed to the motor. Power
electronics converters typically have poor input power factor and it is sometimes necessary
for the power converters to be operated with high power factor; if this is needed, power factor
correction circuit has to be introduced.
e) Sensors
Sensors for voltage, current, speed or torque are required for closed-loop operation and
protections in electrical drive systems. Signals from these sensors have to be isolated from
the control unit for the same reasons as explained before. Electrical isolation in voltage and
current sensors are obtained using, for example, Hall-ffect sensors/devices. For high
performance drive system, the speed is obtained from high-resolution speed encoders or
resolvers. The terms ‘sensorless drive’ is normally referred to a drive system that does not
need a mechanical speed sensor but rather the speed is estimated using motor terminal
variables i.e. voltages and currents.
There can be several factors that affect the selection of different configuration of electrical
drive system such as:
a) Torque and speed profile - determine the ratings of converters and the quadrant of
operation required.
b) Capital and running cost – Drive systems will vary in terms of start-up cost and running
cost, e.g. maintenance.
c) Space and weight restrictions
d) Environment and location.
CONCLUSION:
PRACTICAL: 2
THEORY:
Industrial motors come in different verities,
Ac motors
Dc motors
Brushless dc servomotors
Brushless dc motor
Servo motor
Stepper motor
Lines motors
AC motors:
The most common and simple industrial motor is 3 phase ac induction motor is
the 3phase ac induction motor, sometimes known as squirrel cage motor.
a. Simple design:
Simply a series of 3 winding in the exterior stator section with a simple
rotating section (rotor). The charging fluid caused by the 50 to 60 hz ac line
voltage causes the motor to rotate around the axis of motor.
Torque
b. Low cost:
It is a low cost motor requiring more than about ½hp watts of power.ac motors
are preferred for commercial and domestic application 90% of all motors are
ac induction motors. they are found in air conditions, mashers, draggers,
industrial machining blowers etc.
c. Reliable operation:
Foot mount
E-face
Large flange
Vertical
Specialty
Dc motors:
The dc motor is one of the earliest motor designed. Today it is the motor of choice
in the majority of variable speed and torque control applications.
Advantages:
At fine horsepower and greater various forms of shunts wound d.c motors
are most commonly used. Those is because the electromagnetic windings
are more cost effective then permanent magnets in this power range.
1. Easy to control speed:
Variable speed and variable torque electronics are easy to design and
manufacture varying the speed of brushed dc motor requires little more
than a large enough potential large dc drives are available up to
hundreds of horsepower.
Disadvantages:
Expensive to produce
Physically large
High maintenance
Brushes dc motor:
2) Reluctance
High reliability.
Low EMI
Servo motors:
Mechanical time constant in these motors is reduced by reducing the rotor inertia.
Hence, the rotors are belonged structures. These motors come its within fail safe
electromechanical brakes.
Insulated coils. The ends of each coil are connected to commutator bar that is mounted on
an aluminum angle.
The mounting secondary features multiple permanent magnet and brushes for
commutation. A cable supplies power to the moving secondary mounting holes are
located can both sides the primary and secondary.
The magnetic attractive force between the primary and secondary can be used as a
magnetic preload for the bearing system.
Features:
High force
High acceleration
High speed
High repeatability
Brushless AC motors:
Stepper motor:
It is brushless electric motor that can circle a full rotation into a large no. of steps.
The motors position can be controlled precisely without any f/b mechanism is similar to
suitable reluctance motor.
A stepper motor is an electromechanical device which connects electric pulse into
discrete mechanical movements. The rotation in discrete step increments when electrical
command pulses are applied in the proper sequence. The motor rotation has general direct
relationships to these applied i/p pulses. The sequence of applied pulses is directly is
directly related to the frequency of i/p pulses and the length of rotation is directly related
to the no. of input pulses applied.
Advantages:
Motor response to digital input pulse provides open loop control, making the
motor simpler and less costly top control.
It is possible to achieve very low speed synchronous rotation which is a load that
is directly coupled to the shaft.
A wide range of rotation speed can be realized as the speed is proportional to the
frequency of the input pulses.
Disadvantages:
Resonance can occur if not properly controlled.
Permanent magnet
Hybrid
Linear motor:
It is essentially a multiphase alternating current electric motor that has its stator.
So that instead of producing a torque it produces a linear force along its length. The most
common mode of operation is as a length force type actuator in which the applied force is
linearly proportional to current and magnetic field (F=qxβ).
How acceleration motor are suitable for trains and either ground based operation
for transportation application. High acceleration linear motor are quite short and
designed to accurate on object up to a vey
high speed and then release that objects like roller coaster. They are used to study
hypervelocity collisions as weapons. The high acceleration motors are usually of
the linear induction motor with an active 3ϕ winding on one side of the air gap
and a passive conductor place on other side.
Brushes DC • Long life span • High initial cost • Multiphase DC • Hard drives
electric motor
• Low • Requires a • CD/DVD
maintenance controller players
• Electric
wheels
CONCLUSION:
PRACTICAL: 3
Apparatus:
Name Range
DC Voltmeter 0-300V
DC Ammeter 0-20A
DC Ammeter 0-2A
Variable rheostat
Load 0-150Ω
Variable rheostat
Load 0-200Ω
Speed Indicator 0-2000rpm
Theory:
Any D.C. motor can be made to have smooth and effective control of speed over
a wide range. The shunt motor runs at a speed defined by the expressions.
Where N is the speed,
V is applied voltage,
Ia is the armature current, and
Ra is the armature resistance and Φ is the field flux.
Speed control methods of shunt motor:
1. Applied voltage control.
2. Armature rheostat control.
Panel board:
RESISTIVE LOAD:
On Panel view:
Speed control is achieved by adding an external resistance in the armature circuit. This
method is used where a fixed voltage is available. In this method, a high current rating
rheostat is required.
Disadvantages:
• Large amount of power is lost as heat in the rheostat. Hence, the efficiency is low.
• Speed above the rated speed is not possible. The motor can be run from its rated speed
to low speeds.
CIRCUIT DIAGRAM:
Procedure:
Switch on the supply and increase the voltage gradually to its rated
Gradually decrease the voltage and note down the speed at different
supply voltages.
resistance position.
Gradually, increase the voltage till the motor attains the rated
voltage.
Specification of DC motor:
Rated power-5.5KW
RPM – 1500 rpm
Supply voltage- 400v
Supply current- 1.9A
Field voltage- 220v
Field current – 1.47A
Observations:
a) SPEED CONTROL
Armature Armature
S.No Resistive load(w) Speed(rpm) voltage(v) current(I)
1 0 1000 325 0.5
2 500 970 320 1
3 1000 960 310 1.8
4 2000 950 317 2.3
5 5000 930 300 5
CONCLUSION:
PRACTICAL: 4
Apparatus:
Induction motor
Mechanical load tester
AC motor drives
Power supply
AC generator
Electrical load
Thus the carrier frequency is derived from the speed of the power device switch remains ON and
OFF. It is also called switching frequency.
Therefore higher the carrier frequency higher the resolution for PWM contains. The typical
carrier frequency ranges from 3KHz to 4 KHz or 3000 to 4000 times per second as compared
with older SCR based carrier frequency which ranges from 250 to 500 times per second.
Thus it is clear as much as higher the carrier frequency higher will be the resolution of output
waveform. It is also noted that the carrier frequency decreases the efficiency of the VFD because
it led to increase the heat of the VFD circuit.
Benefits of AC drive
For understanding the basic principles behind AC drive operation requires understanding
three basic section of AC drive: the Rectifier unit, DC Bus and the Inverter unit.
The supply voltage is firstly pass through a rectifier unit where in gets converted into AC
to DC supply, the three phase supply is fed with three phase full wave diode where it gets
converts into DC supply.
The DC bus comprises with a filter section where the harmonics generated during the AC
to DC conversion are filtered out. The last section consists of an inverter section which
comprises with six IGBT where the filtered DC supply is being converted to quasi
sinusoidal wave of AC supply which is supply to the ac motor connected to it.
From the ac motor working principle, we know that the synchronous speed of motor
(rpm) is dependent upon frequency.
Therefore by varying the frequency of the power supply through AC drive we can control
the synchronous motor speed:
As the frequency can easily variable as compared with the poles of the motor therefore ac
drives are frequently used.
Torque is produced as the induction motor generates flux in its rotating field.
(2) Change the slip characteristics of the motor; this is done with varying resistors, such as
is done with a wound-rotor motor or by varying the stator voltage; or
(3) Change the frequency of the power supplied to the motor. This is the method of choice.
The speed of the rotating electric field within the induction motor.
Synchronous Speed = 120 x frequency .
No of motor poles
Physical Properties
Typically, a Variable Frequency Drive system involves an AC motor, controller, and operator
interface. The three-phase induction motor is most commonly applied to a Variable Frequency
Drive because it offers versatility and cost-effectiveness in comparison to a single-phase or
synchronous motor. Though they can be advantageous in some circumstances, a Variable
Frequency Drive system often utilizes motors that are designed for fixed-speed operation.
Variable Frequency Drive operator interfaces allow for the user to adjust operating speed,
and start and stop the motor. The operator interface might also allow the user to switch and
reverse between automatic control, or manual speed adjustment.
Performance objective:
Upon successful completion of this experiment, the student will be able to:
1. Explain the constant speed characteristics of three-phase induction motors.
2. Make the correct connections for a narrow range speedcontrol from applied voltage.
Specification of AC motor:
rated power- 5.5 KW
supply voltage- 415v
supply current- 11A
phase- 3
RPM -1450 rpm
Efficiency- 86%
IP- 55
Specification of generator:
Rated power-7.5 KW
Supply voltage- 415v
Supply current- 15A
Frequency- 50 hz
Speed excitation- 1500 rpm
Power factor- 0.8
Phase -3
Phasor indicator(R,Y,B)
Supply voltage meter( 0- 500v)
Load ampere meter (0-15A)
RMP meter (10-1500 rpm)
Voltage selector (BR,YR,YB)
Jog mode( jog forward , jog reverse)
Direction of rotation indicator (forward and reverse)
Speed pot
Drive on, off
INDUCTION MOTOR:
Observation table:
Reference speed – 200 rpm
CONCLUSION:
PRACTICAL: 5
Aim: To observe speed control of DC shunt motor by MATLAB.
Required: 1) P.C (or) Laptop with MATLAB
2) Simulink
Observation:
Observation Table:
Conclusion:
PRACTICAL: 6
A simulation model of the DC motor drive will be built using the Matlab/Simulink
environment. This assignment aims to familiarize you with basic features of
Simulink and to demonstrate modelling approaches applicable to electric drives.
The objective of the experiment:
1. Model and simulate a DC motor drive in the Matlab/Simulink environment
2. Tune the current and speed controllers using a model-based approach
3. Explain effects of the pulse-width modulation (PWM) on control performance.
The
armatur
e
voltage
Ua and the load torque
Tl are the inputs of the model.
The armature current ia and the angular rotor speed Wm are the outputs of the
model.
Waveforms: Wm:
Tem:
Conclusion:
PRACTICAL: 7
Aim: simulation of single phase fully controlled rectifier control of seperately
exicited Dc motor.
Introduction:
The growth in power electronics was made possible with their evolution of
microelectronic in 1970s and 1980s in which the low power IC control chips
provided the intelligence and brain to control the high-power semiconductor
devices.
Moreover the introduction of the microprocessors made it possible to apply the
modern control theory to power electronics.
In the last 20 years the rapid growth in power electronics application because of
this introduction of very fast and high-power switching devices engage with the
utilization of state-of –the –art control algorithms.
An electric power can be converted from one form to other form with the help of
Power electronics devices.
The function of the power electronics circuits by using semiconductor devices as a
switch is modifying or controlling the voltage.
The goals of power electronics circuits are to change electrical energy from one
form to other from source to load with highest efficiency high availability and high
reliability with lowest cost, smallest size and weight.
Circuit diagram:
Observation:
Conclusion:
PRACTICAL: 8
Theory:
In electronics, a chopper circuit is used to refer to numerous types of electronic
switching devices and circuits used in power control and signal applications. A
chopper is a device that converts fixed DC input to a variable DC output voltage
directly. Essentially, a chopper is an electronic switch that is used to interrupt one
signal under the control of another.
In power electronics applications, since the switching element is either fully on or
fully off, its losses are low, and the circuit can provide high efficiency. However,
the current supplied to the load is discontinuous and may require smoothing or a
high switching frequency to avoid undesirable effects. In signal processing circuits,
use of a chopper stabilizes a system against drift of electronic components; the
original signal can be recovered after amplification or other processing by a
synchronous demodulator that essentially un-does the "chopping" process.
4 External inductance Not required Required for boosting the output voltage
5 Use For motoring operation, for motor load For regenerative braking for motor load.
Average mode is used for fast simulations, where the high frequency switching
actions of the switches is not required. The Chopper block implements an average-
value half-bridge or full-bridge IGBT converter model. The average-value model
can be one of these types:
Half-bridge, one-, or two-quadrant DC drive — The converter is composed of one
controlled current source on the DC source side and one controlled voltage source
on the motor side, as shown in the figure.
The current source allows the representation of the average input current value
following this equation:
Iin = αIout
where α is the duty cycle value of IGBT 1 and Iout the armature current value.
For one-quadrant DC drives, when Iout ≤ 0,
Iin = Iout
The voltage source on the motor side represents the average voltage value
following this equation:
Vout = αVin
For one-quadrant DC drives, when Iout ≤ 0,
Vout = Vin
with Vin being the input voltage.
Chopper Waveform Output:
Output Waveform:
Conclusion:
PRACTICAL: 9
Aim: To study performance of chopper fed D.C motor speed
control.
Fig (2) shows the chopper fed DC series motor drive the armature voltage is
related in control voltage by a linear gain of chopper Kc.
Assuming back emf constant Kc doesn’t change in armature current and remains
constant
Recognizing that ∆la (o) and (∆la)2 are very small tending to zero, equation 2
are liberalized as
∆eca = Ke∆er
∆eb = Ka(Iao∆w+wo∆Ic)
∆ca = Rmin = LMdc∆Ia/dt+∆eb
∆td = 2KaIao∆Ia
∆Td = jd(∆w/dt) = B∆w+T∆L
CONCLUSION:
PRACTICAL: 10
In frequency converter drives, squirrel cage motors are usually run within the
range between the peak torques.
Variable Frequency Drive or VFD is the way that enables controlling of the speed
of induction motor by applying varying frequency of AC supply voltage. By
controlling the output AC frequency, it is possible to drive the motor at different
speed based on the requirements.
These are adjustable speed drive largely used in industrial applications such as
pumps, ventilation systems, elevators, machine tool drives etc. It is essentially an
energy saving system. Therefore, the first requirement is to generate sine wave
with different frequency for VFD.
Motor Torque
Motor torque capability is proportional to magnetic flux density in the motor's air
gap. In order to maintain constant torque capability at the output shaft of an AC
motor used as an adjustable speed device, the flux density in the air gap must be
maintained constant over the operating frequency range. Since the motor presents a
highly inductive load to the power supply, its impedance increases directly with
applied frequency. It is necessary, therefore, to increase the applied voltage
indirect proportion to the increase in frequency or increase in speed. Therefore the
ratio of volts to frequency must be kept constant, as shown in the relationship
below:
Volts/Frequency=CONSTANT
Output Torque
Squirrel cage motor can best be started by increasing the frequency while
constantly maintaining the slip below the peak slip. This permits a starting torque
equal to the rated torque without using an over sized drive. This type of starting
requires a minimum output frequency of 0.5 to 2Hz, depending on the size of the
motor, and full IR compensation.
Where IR compensation is not used and the machine can only be fed with a current
no higher than the rated current, the starting torque produced by a standard motor
will usually be 45 to 55% of the rated torque. In this case, the motor size or the
temperature has no significant effect on the starting torque achieved.
As shown in Figure6 a frequency controlled squirrel cage motor drive can, (unless
the cooling fan prevents it),operate in all four quadrants above and below
minimum frequency, i.e.0.5Hz.
A smooth shift into generator operation is accomplished, as it is not necessary to
reverse the direction of the excitation current or of any other current – The shift is
achieved by providing a negative slip. This means that the supply frequency is
reduced to a value lower than would be required by the actual speed. The direction
of rotation is usually reversed by electronic means within the drive.
In the continuous state the torque supplied by the motor depends upon the slip. In
transition states, e.g. when the applied input frequency suddenly increases while
the speed remains constant, the torque will, within a time constant depending on
the motor, assume the value corresponding to then slip. The time constant will
increase for each larger motor output rating.
CONCLUSION:
PRACTICAL: 11
AIM: To Study and Perform stepper motor control using 8085 and 8051.
INTRODUCTION:
Stepper Motor
A stepper motor is a device that translates electrical pulses into mechanical
movement in steps of fixed step angle.
The stepper motor rotates in steps in response to the applied signals.
It is mainly used for position control.
It is used in disk drives, dot matrix printers, plotters and robotics and process
control circuits.
Structure
Stepper motors have a permanent magnet called rotor (also called the shaft)
surrounded by a stator. The most common stepper motors have four stator windings
that are paired with a center-tap. This type of stepper motor is commonly referred to
as a four-phase or unipolar stepper motor. The center tap allows a change of current
direction in each of two coils when a winding is grounded, thereby resulting in a
polarity change of the stator.
Interfacing
Even a small stepper motor require a current of 400 mA for its operation. But the
ports of the microcontroller cannot source this much amount of current. If such a
motor is directly connected to the microprocessor/microcontroller ports, the motor
may draw large current from the ports and damage it. So a suitable driver circuit is
used with the microprocessor/microcontroller to operate the motor.
Motor Driver Circuit (ULN2003)
Stepper motor driver circuits are available readily in the form of ICs. ULN2003 is
one such driver IC which is a High-Voltage High-Current Darlington transistor array
and can give a current of 500mA.This current is sufficient to drive a small stepper
motor. Internally, it has protection diodes used to protect the motor from damage
due to back emf and large eddy currents. So, this ULN2003 is used as a driver to
interface the stepper motor to the microcontroller.
Operation
The important parameter of a stepper motor is the step angle. It is the minimum
angle through which the motor rotates in response to each excitation pulse. In a
four phase motor if there are 200 steps in one complete rotation then then the step
angle is 360/200 = 1.8O . So to rotate the stepper motor we have to apply the
excitation pulse. For this the controller should send a hexa decimal code through
one of its ports. The hex code mainly depends on the construction of the
stepper motor. So, all the stepper motors do not have the same Hex code for their
rotation. (refer the operation manual supplied by the manufacturer.)
For example, let us consider the hex code for a stepper motor to rotate in
clockwise direction is 77H , BBH , DDH and EEH. This hex code will be applied
to the input terminals of the driver through the assembly language program. To
rotate the stepper motor in anti-clockwise direction the same code is applied in
the reverse order.
Stepper Motor interface- Schematic Diagram (for 8051)
CONCLUSION:
PRACTICAL: 12
AIM: Forward-reverse operation of DC motor using H-bridge.
This configuration is called an H-Bridge due to its shape. Let's say that the motor
runs forward when its + terminal is connected to Motor V+ and its - terminal is
connected to ground. It will run in reverse when the opposite is true. Turn on switch
A and switch D and the motor will run forward. Turn on switch B and switch C and it
will run in reverse. The following table shows all of the possibilities. A 1 means a
switch is on, and a 0 means it's off:
Only a few of the possibilities are needed. In fact, seven of the combinations must be
avoided because they short out the power supply. We can use the forward and
reverse, one of the offs and, optionally, one of the brakes.
The braking action might need a little explaining. A motor's armature will pass
through the fields of the magnets when it is turning, as will the wire that's wound
around the armature. That will induce an electrical current in the wire. Spin the
shaft of a motor and you can measure a voltage at its terminals; it has become a
generator. Short the motor's terminals and you will feel it resist your attempts to
spin the shaft. That's because the magnet that's formed by the current induced in
the armature winding is opposite to that of the motor's field magnet. The opposite
poles attract, resulting in a braking action. Both of the brake combinations short
the terminals of the motor together.
The following is a simplified diagram, a picture and a pinout derived from the data
sheet. The pins are actually in a straight line on the package and .05" apart, then
bent out to accommodate standard .1" circuit board spacing. You will need to bend
them left and right a little to get them to fit on a breadboard, but it can be done. The
odd pins are on the front of the package and the even pins on the back:
The following table shows the results of various combinations of inputs for side
A. X means don't care. In other words, all switches will be off with Enable off,
regardless of the status of IN 1 or IN 2:
1 0 1 Low High
1 1 0 High Low
Only one of the brakes is needed, so let's use the bottom transistors to short the motor
out. OUT 1 high and OUT 2 low will be forward, and the reverse will be, well,
reverse. The table now becomes:
EnA IN 1 IN 2 Status
1 1 0 Forward
1 0 1 Reverse
1 0 0 Brake
0 X X Stop
Conclusion: