Professional Documents
Culture Documents
E 99 CH 09
E 99 CH 09
009
IC3 IC2
C10
H1
H2
C3
C9
C13 C4
R6
R7
C8 C6
L2 R5 L1 R4
+ C7 C12 C11
C5
K1
0
R3
IC1
R2 C2
R1
H3
H4
K.S.M. Walraven
The control is a compact design for driving bipolar stepper motors.
Driver stages IC2 and IC3 are modern types from ST Microelec-
tronics. Because of the combination of CMOS logic with D-MOS
power transistors, these devices need few external components.
Also, compared with the previous generation of bipolar devices
such as the L298, the D-MOS transistors drop lower voltages so
that the internal dissipation is smaller.
The input stage, IC1, enables the motor to proceed one step
for each pulse at its input pin 18. The level at pin 17 (CW/CCW)
L1
20 (reset), pin 11 (control), and
10Ω
C2 15n
7 4
IN2 BOOT1
100n L6203
pin 10 (enable) should be linked
C11
R3 11
ENABLE BOOT2
8 to the +5 V supply. Pin 1 (sync)
is an output used when several
1k
C6 22n
5V IC1 12 10
SENSE
15n
L297s are driven in tandem and
1
K1 15 4 OUT2 should be left open in the pre-
VREF A
10 17
CW/CCW B
6
R7
VREF sent design. Pin 3 (home) is an
9 11 5 9 6
INH1 output that indicates when out-
0Ω5
CONTROL C3
8 18 14
7 10
STEP SENS1 puts A, B, C, and D, assume the
220n
6 20
ENABLE C13 binary code 0101, and is not
RESET
5 3
C
7 10µ
used in the present design. The
HOME
4 19
HALF/FULL D
9 63V
other pins are of less impor-
3 1
SYNC INH2
8 C10 tance and will in most cases not
2 16 13 2
OSC SENS2
100n
be used at all – further informa-
1 5V
OUT1
3 tion may be obtained from
2
R1 L297 5
IN1
C7
R5 Internet address
IC3
L2 http://www.us.st.com
22k
10Ω
15n
7 4
IN2 BOOT1 Since the current through
L6203
11 8
C12 the motor coils must not only be
C1 ENABLE BOOT2
C8 22n switched on and off, but also be
3n3 10
SENSE reversed, the driver ICs contain
15n
OUT2
1
a complete bridge formed by
R6
VREF four D-MOSFETs. The upper
9 6 two need to be driven by a
0Ω5
C4
potential that is higher than the
220n supply voltage, and this is
994065 - 11 obtained with the aid of a boot-
1N4001
010 higher than reference voltage
will do), T1 and T4 are switched
U IN C1
on, while the other two MOS-
100µ 25V
FETs are off. In this way, the
C2 D12
LM3194 is configured in the
R1
100n usual manner with the top end
D11
100k
T1 T3
3
of the resistor network con-
D10 nected to the internal voltage
9 L10
10 reference and the low end con-
BS170 BS250 MODE 11
P1 5
SIG IC1
L9 D9 nected to ground. As the input
R4 12
820Ω
6
RHI
L8
13
voltage rises, the comparators
L7 D8
1k
7
REFOUT 14 inside the LM3914 will cause
R5 L6
+/– 6V the indicator LEDs to be
R3 15
LM3914 L5 D7
2k2
10k
L4
16 switched on one by one, starting
control
8 L3
17 D6 with D3.
REFADJ 18
R2 D1 4
RLO
L2 When the control voltage is
1
D5
L1 lower than about –3V, T2 and
100k
T2 T4 P2
2
2x D2
D4
T3 are switched on while T1
6V2
500mW
and T4 are off. Consequently,
BS250 BS170 4k7
D3 the ends of the resistor network
are connected the other way
994012 - 11
around: the top end goes to
ground and the low end, to the
Design by V. Mitrovic reference voltage. The first
LED to be switched on will then be D12; i.e., the LEDs that forms
The LM3914 is a truly versatile component. Besides LEDs, only a the bargraph display light in the opposite direction. Although not
few other components are needed to make the ‘bidirectional’ bar- documented by the manufacturer of the LM3914, this option
graph voltmeter shown here. The circuit is similar to a conven- works well, but only in bar mode (in dot mode, internal logic dis-
tional bar display, but it offers a possibility to change the direction ables any lower-numbered LEDs when a higher-numbered LED
in which the LEDs are switched on. This may be useful, for exam- is on, which obviously conflicts with our purposes).
ple, when positive and negative voltages are measured. For a pos- To achieve good symmetry, an adjustable resistor is added to the
itive input voltage, the LEDs are switched on in the usual manner, voltage divider in the LM3914. Using a DVM, adjust the preset
that is, from D3 to D12, while for negative voltages, the LEDs are until the voltage across P1+R4 equals 1/11th part of Urefout.
switched on in the opposite direction, from D12 to D3. Obviously, Sensitivity is determined with the ratio of resistors R5 and P2. If, for
the negative voltage must be ‘rectified’, i.e. inverted, before the example, the reference voltage is set to 2.2 V by means of P2, there
measurement. A suitable circuit for this purpose is presented in will be a voltage drop of 200 mV per resistor in the ladder network
the article ‘Absolute-value meter with polarity detector’ (reference (including R4-P1). So, the first LED will switch on when the input
number 994020-1) elsewhere in this issue. voltage exceeds 200 mV, the second, at 400 mV, and so on, and the
A set of transistor switches (MOSFETs) controls the direction in whole display will be on at 2 V.
which the LEDs light. When the control voltage is high (+6V, The circuit draws about 100 mA when all LEDs are switched on.
according to the schematics, but any voltage that is at least 3V (994012-1)