NORMAL/WAWEDRIVE
HALF/FULLSTEP MODES
CLOCKWISE/ANTICLOCKWISEDIRECTION
SWITCHMODE LOAD CURRENT REGULA-
TION
PROGRAMMABLELOAD CURRENT
FEW EXTERNALCOMPONENTS
RESET INPUT & HOME OUTPUT
ENABLEINPUT
DIP20SO20
ORDERING NUMBERS
:L297 (DIP20)
L297D (SO20)
L297
L297D
DESCRIPTION
The L297/A/D Stepper MotorController IC generates four phase drive signals fortwo phasebipolar
and four phase unipolar step motors in microcomputer-controlled applications. The motor can be
drivenin half step, normal and wawedrive modes
and on-chip PWM chopper circuits permit switchmode control of the current in the windings. A
featureof this device is that it requires only clock,
directionand modeinput signals.Since the phase
are generated internally the burden on the microprocessor,andtheprogrammer,is greatlyreduced.
Mounted in DIP20 and SO20 packages,the L297
can be used with monolithicbridge drives such as
the L298N or L293E, or with discrete transistors
and darlingtons.
ABSOLUTEMAXIMUMRATINGS
SymbolParameterValueUnit
V
V
P
T
stg,Tj
Supply voltage10V
s
Input signals7V
i
Totalpower dissipation (T
tot
Storage and junction temperature-40 to + 150°
=70°C)1W
amb
TWOPHASE BIPOLARSTEPPER MOTORCONTROL CIRCUIT
C
August 1996
1/11
L297-L297D
PIN CONNECTION (Topview)
L297
L297D
BLOCKDIAGRAM(L297/L297D)
2/11
PIN FUNCTIONS- L297/L297D
N°NAMEFUNCTION
L297-L297D
1SYNCOutput of the on-chip chopper oscillator.
The SYNC connections The SYNC connectionsof all L297s to be
synchronized are connected together and the oscillator
components are omitted on all but one. If an external clock source
is used it is injected at this terminal.
2GNDGround connection.
3HOMEOpen collector output that indicates when the L297 is in its initial
state (ABCD = 0101).
The transistor is open when this signal is active.
4AMotor phase A drive signal for powerstage.
5INH1Activelow inhibit control for driver stage of Aand B phases.
When a bipolar bridge is used this signal can be used to ensure
fastdecay of load current when a winding is de-energized.Also
used by chopper to regulate load current ifCONTROL input is low.
6BMotor phase B drive signal for powerstage.
7CMotor phase C drive signal forpower stage.
8INH2Activelow inhibit control for drive stages of C and D phases.
Same functions as INH1.
9DMotor phase D drive signal forpower stage.
10ENABLEChip enable input. When low (inactive) INH1, INH2, A, B, C and D
are brought low.
11CONTROLControl input that defines action of chopper.
When low chopper acts onINH1 and INH2; when high chopper
acts on phase lines ABCD.
12V
s
13SENS
2
5V supply input.
Input for load current sense voltage from power stages of phases
C and D.
14SENS
1
Input for load current sense voltage from power stages of phases
A and B.
15V
ref
16OSC
Reference voltage for chopper circuit. A voltage applied to this pin
determines the peak load current.
An RC network (R to V
determines the chopper rate.This terminalis connected to ground
, C to ground) connected to this terminal
CC
on all butone device in synchronized multi - L297 configurations. f
1/0.69 RC
≅
17CW/CCWClockwise/counterclockwise direction control input.
Physical direction of motor rotation also dependson connection
of windings.
Synchronized internally thereforedirection can be changed at any
time.
18CLOCKStepclock. An activelow pulse on this input advances the motor
one increment. The step occurs on the rising edge of this signal.
3/11
L297-L297D
PIN FUNCTIONS- L297/L297D(continued)
N°NAMEFUNCTION
19HALF/FULLHalf/full step selectinput. When high selects half step operation,
20RESETReset input. An active low pulse on this input restores the
when low selects full step operation. One-phase-on full step mode
is obtained by selecting FULL when the L297’stranslator is at an
even-numbered state.
Two-phase-on full step mode is set by selecting FULL when the
translator is at an odd numbered position. (The home position is
designate state 1).
translator to thehome position (state 1, ABCD= 0101).
THERMALDATA
SymbolParameterDIP20SO20Unit
R
th-j-amb
CIRCUITOPERATION
The L297 is intended for use with a dual bridge
driver, quad darlington array or discrete power
devices in step motor driving applications. It re-
Thermal resistance junction-ambientmax80100°
arechoppedthe non-activephase line of eachpair
(ABor CD)is activated(ratherthan interruptingthe
linethen active).InL297 +L298 configurationsthis
technique reduces dissipation in the load current
senseresistors.
ceivesstep clock,directionand mode signals from
the systems controller (usually a microcomputer
chip) and generates control signals for the power
stage.
Theprincipalfunctionsare a translator,whichgenerates the motor phase sequences, and a dual
PWMchoppercircuit whichregulatesthecurrentin
themotorwindings.The translatorgeneratesthree
different sequences, selected by the HALF/FULL
input. These are normal (two phases energised),
wave drive (one phase energised) and half-step
(alternately one phase energised/two phases energised).Twoinhibit signals are also generated by
theL297in half stepand wavedrivemodes.These
signals,whichconnectdirectlyto the L298’senable
inputs, are intended to speed current decay when
a winding is de-energised.When the L297 is used
todrivea unipolarmotorthe chopper actson these
lines.
Aninputcalled CONTROLdetermineswhetherthe
A common on-chip oscillator drivesthe dual chopper.It suppliespulsesat thechopperratewhichset
thetwoflip-flopsFF1 and FF2.Whenthe currentin
awindingreachesthe programmedpeakvaluethe
voltage across the sense resistor (connected to
one of the sense inputs SENS
and the corresponding comparator resets its
V
ref
or SENS2) equals
1
flip flop,interrupting the drive currentuntil the next
oscillator pulse arrives. The peak current for both
windingsis programmedbya voltagedivideron the
input.
V
ref
Ground noise problems in multiple configurations
can be avoidedby synchronisingthe chopper oscillators.This is done by connecting all the SYNC
pins together,mounting the oscillator RC network
on one device only andgrounding the OSC pin on
all other devices.
chopper will act on the phase lines ABCD or the
inhibitlines INH1 and INH2.When the phaselines
C/W
4/11
MOTORDRIVING PHASE SEQUENCES
The L297’s translator generatesphase sequences
for normal drive, wave drive and half step modes.
The state sequences and output waveforms for
these three modes are shown below. In all cases
Clockwise rotation is indicate;for anticlockwiserotation the sequences are simply reversed RESET
restores the translator to state 1, where ABCD =
0101.
the translator advanceson the low to high transistion of CLOCK.
HALF STEP MODE
Half step mode is selectedbya high levelon the HALF/FULL input.
L297-L297D
NORMALDRIVE MODE
Normal drive mode (also called ”two-phase-on” drive) is selected by a low level on the HALF/FULL input
when the translator is at an odd numbered state (1, 3, 5 or 7). In this mode the INH1 and INH2 outputs
remain high throughout.
5/11
L297-L297D
MOTORDRIVING PHASE SEQUENCES(continued)
WAVE DRIVE MODE
Wave drive mode (also called ”one-phase-on” drive) is selected by a low level on the HALF/FULL input
when the translatoris at an evennumbered state (2, 4, 6 or 8).
ELECTRICALCHARACTERISTICS
(Refer to the blockdiagram T
=25°C, Vs= 5V unless otherwise
amb
specified)
SymbolParameterTestconditionsMin.TypMax.Unit
Supply voltage (pin 12)4.757V
V
s
Quiescent supply current (pin 12)Outputs floating5080mA
I
s
Input voltage
V
i
(pin 11, 17, 18, 19, 20)
Input current
I
i
(pin 11, 17, 18, 19, 20)
V
Enable input voltage(pin 10)Low1.3V
en
Enable input current(pin 10)
I
en
Phase output voltage
V
o
Io= 10mAV
(pins 4, 6, 7, 9)
= 5mAV
I
o
V
Inhibit output voltage (pins 5, 8)Io= 10mAV
inh
Low0.6V
High2V
V
= L100µ
i
=H10
V
i
High2V
= L100µ
V
en
=H10µ
V
en
OL
OH
inh L
3.9V
s
A
s
0.4V
0.4V
V
A
µ
V
A
A
V
6/11
SYNC
= 5mAV
I
o
Sync OutputVoltageIo= 5mAV
= 5mAV
I
o
inh H
SYNC H
SYNC V
3.9V
3.3V
0.8
L297-L297D
ELECTRICALCHARACTERISTICS
(continued)
SymbolParameterTestconditionsMin.TypMax.Unit
I
V
V
Leakage current (pin 3)VCE=7V1µ
leak
Saturation voltage (pin 3)I = 5 mA0.4V
sat
Comparators offset voltage
off
(pins 13, 14, 15)
I
Comparator bias current
o
V
=1V5mV
ref
-10010
(pins 13, 14, 15)
V
t
t
RCLK
Input reference voltage (pin 15)03V
ref
Clock time0.5µ
CLK
Set up time1
t
S
Hold time4
t
H
Reset time1
t
R
Reset to clock delay1µ
µ
µs
µs
µ
A
A
s
s
s
Figure1.
7/11
L297-L297D
APPLICATION INFORMATION
TWOPHASEBIPOLAR STEPPERMOTORCONTROLCIRCUIT
This circuitdrives bipolar stepper motors with winding currentsup to 2A.The diodesare fast 2A types.
Figure2.
Figure3 :SynchronisingL297s
8/11
DIP20 PACKAGEMECHANICAL DATA
L297-L297D
DIM.
MIN.TYP.MAX.MIN.TYP.MAX.
a10.2540.010
B1.391.650.0550.065
b0.450.018
b10.250.010
D25.41.000
E8.50.335
e2.540.100
e322.860.900
F7.10.280
I3.930.155
L3.30.130
Z1.340.053
mminch
9/11
L297-L297D
SO20 PACKAGEMECHANICAL DATA
DIM.
MIN.TYP.MAX.MIN.TYP.MAX.
A2.650.104
a10.10.30.0040.012
a22.450.096
b0.350.490.0140.019
b10.230.320.0090.013
C0.50.020
c145 (typ.)
D12.613.00.4960.512
E1010.650.3940.419
e1.270.050
e311.430.450
F7.47.60.2910.299
L0.51.270.0200.050
M0.750.030
mminch
S8 (max.)
10/11
L297-L297D
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility for the
consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No
license is granted by implication or otherwise under any patentor patent rights of SGS-THOMSON Microelectronics. Specification mentioned
in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied.
SGS-THOMSONMicroelectronics products are not authorizedfor useas critical componentsin lifesupport devicesor systems without express
written approval of SGS-THOMSON Microelectronics.
1996 SGS-THOMSON Microelectronics – Printed in Italy – All Rights Reserved
SGS-THOMSON Microelectronics GROUP OF COMPANIES
Australia - Brazil - Canada - China - France- Germany - Hong Kong - Italy- Japan - Korea- Malaysia - Malta - Morocco - The Netherlands -