XD297 DIP20 / XL297 SOP20
this device is that it requires only clock, direction
and mode input signals. Since the phase are generated internally the burden on the microprocessor,
and the programmer, is greatly reduced. Mounted
in DIP20 and SO20 packages, the XD297 can be
used with monolithic bridge drives such as the
ZX298 or XD293, or with discrete transistors and
darlingtons.
NORMAL/WAVE DRIVE
HALF/FULL STEP MODES
CLOCKWISE/ANTICLOCKWISE DIRECTION
SWITCHMODE LOAD CURRENT REGULATION
PROGRAMMABLE LOAD CURRENT
FEW EXTERNAL COMPONENTS
RESET INPUT & HOME OUTPUT
ENABLE INPUT
DESCRIPTION
The XD297 Stepper Motor Controller IC generates
four phase drive signals for two phase bipolar and
four phase unipolar step motors in microcomputercontrolled applications. The motor can be driven in
half step, normal and wawe drive modes and onchip PWM chopper circuits permit switch-mode
control of the current in the windings. A feature of
ABSOLUTE MAXIMUM RATINGS
Symbol
Parameter
Value
Unit
V
Vs
Supply voltage
10
Vi
Input signals
7
V
Total power dissipation (Tamb = 70°C)
1
W
-40 to + 150
°C
Ptot
Tstg, Tj
Storage and junction temperature
TWO PHASE BIPOLAR STEPPER MOTOR CONTROL CIRCUIT
XD297
XZ298
1
XD297 DIP / XL297 SOP20
PIN CONNECTION (Top view)
XD297
XL297
BLOCK DIAGRAM (XD297 - XL297)
XD297
2
XD297 DIP / XL297 SOP20
PIN FUNCTIONS - XD297 - XL297
N°
NAME
FUNCTION
1
SYNC
Output of the on-chip chopper oscillator.
The SYNC connections The SYNC connections of all XD297 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.
2
GND
Ground connection.
3
HOME
4
A
5
INH1
6
B
Motor phase B drive signal for power stage.
7
C
Motor phase C drive signal for power stage.
8
INH2
9
D
10
ENABLE
11
CONTROL
12
Vs
13
SENS2
Input for load current sense voltage from power stages of phases
C and D.
14
SENS1
Input for load current sense voltage from power stages of phases
A and B.
15
Vref
Reference voltage for chopper circuit. A voltage applied to this pin
determines the peak load current.
16
OSC
17
CW/CCW
18
CLOCK
Open collector output that indicates when the XD297 is in its initial
state (ABCD = 0101).
The transistor is open when this signal is active.
Motor phase A drive signal for power stage.
Active low inhibit control for driver stage of A and B phases.
When a bipolar bridge is used this signal can be used to ensure
fast decay of load current when a winding is de-energized. Also
used by chopper to regulate load current if CONTROL input is low.
Active low inhibit control for drive stages of C and D phases.
Same functions as INH1.
Motor phase D drive signal for power stage.
Chip enable input. When low (inactive) INH1, INH2, A, B, C and D
are brought low.
Control input that defines action of chopper.
When low chopper acts on INH1 and INH2; when high chopper
acts on phase lines ABCD.
5V supply input.
An RC network (R to VCC, C to ground) connected to this terminal
determines the chopper rate. This terminal is connected to ground
on all but one device in synchronized multi - XD297 configurations.
f ≅ 1/0.69 RC
Clockwise/counterclockwise direction control input.
Physical direction of motor rotation also depends on connection
of windings.
Synchronized internally therefore direction can be changed at any
time.
Step clock. An active low pulse on this input advances the motor
one increment. The step occurs on the rising edge of this signal.
3
XD297 DIP / XL297 SOP20
PIN FUNCTIONS - XD297 - XL297 (continued)
N°
NAME
FUNCTION
19
HALF/FULL
Half/full step select input. When high selects half step operation,
when low selects full step operation. One-phase-on full step mode
is obtained by selecting FULL when the XD297’s translator 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).
20
RESET
Reset input. An active low pulse on this input restores the
translator to the home position (state 1, ABCD = 0101).
THERMAL DATA
Symbol
Rth-j-amb
Parameter
Thermal resistance junction-ambient
max
CIRCUIT OPERATION
The XD297 is intended for use with a dual bridge
driver, quad darlington array or discrete power
devices in step motor driving applications. It receives step clock, direction and mode signals from
the systems controller (usually a microcomputer
chip) and generates control signals for the power
stage.
The principal functions are a translator, which generates the motor phase sequences, and a dual
PWM chopper circuit which regulates the current in
the motor windings. The translator generates three
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). Two inhibit signals are also generated by
the XD297 in half step and wave drive modes. These
signals, which connect directly to the XZ298’s enable
inputs, are intended to speed current decay when
a winding is de-energised. When the XD297 is used
to drive a unipolar motor the chopper acts on these
lines.
An input called CONTROL determines whether the
chopper will act on the phase lines ABCD or the
inhibit lines INH1 and INH2. When the phase lines
4
DIP20
SO20
Unit
80
100
°C/W
are chopped the non-active phase line of each pair
(AB or CD) is activated (rather than interrupting the
line then active). In XD297 + XZ298 configurations this
technique reduces dissipation in the load current
sense resistors.
A common on-chip oscillator drives the dual chopper. It supplies pulses at the chopper rate which set
the two flip-flops FF1 and FF2. When the current in
a winding reaches the programmed peak value the
voltage across the sense resistor (connected to
one of the sense inputs SENS1 or SENS2) equals
Vref and the corresponding comparator resets its
flip flop, interrupting the drive current until the next
oscillator pulse arrives. The peak current for both
windings is programmed by a voltage divider on the
Vref input.
Ground noise problems in multiple configurations
can be avoided by synchronising the chopper oscillators. This is done by connecting all the SYNC
pins together, mounting the oscillator RC network
on one device only and grounding the OSC pin on
all other devices.
XD297 DIP / XL297 SOP20
MOTOR DRIVING PHASE SEQUENCES
The XD297’s translator generates phase 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
the translator advances on the low to high transistion of CLOCK.
Clockwise rotation is indicate; for anticlockwise rotation the sequences are simply reversed RESET
restores the translator to state 1, where ABCD =
0101.
HALF STEP MODE
Half step mode is selected by a high level on the HALF/FULL input.
NORMAL DRIVE 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
XD297 DIP / XL297 SOP20
MOTOR DRIVING 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 translator is at an even numbered state (2, 4, 6 or 8).
ELECTRICAL CHARACTERISTICS (Refer to the block diagram Tamb = 25°C, Vs = 5V unless otherwise
specified)
Symbol
Parameter
Vs
Supply voltage (pin 12)
Is
Quiescent supply current (pin 12)
Vi
Input voltage
(pin 11, 17, 18, 19, 20)
Test conditions
Ven
Outputs floating
50
Low
Input current
(pin 11, 17, 18, 19, 20)
Vo
Vinh
VSYNC
Sync Output Voltage
Unit
7
V
80
mA
0.6
V
Vs
V
µA
10
µA
Low
1.3
V
Vs
V
Ven = L
100
µA
Ven = H
10
µA
Io = 10mA
VOL
0.4
V
Io = 5mA
VOH
Io = 10mA
Vinh L
Io = 5mA
Vinh H
3.9
V
Io = 5mA
VSYNC H
3.3
V
Io = 5mA
VSYNC V
Enable input current (pin 10)
Inhibit output voltage (pins 5, 8)
100
Max.
Vi = H
Enable input voltage (pin 10)
Phase output voltage
(pins 4, 6, 7, 9)
2
Vi = L
High
Ien
Typ
4.75
High
Ii
Min.
6
2
3.9
V
0.4
0.8
V
XD297 DIP / XL297 SOP20
ELECTRICAL CHARACTERISTICS (continued)
Symbol
Parameter
Test conditions
Min.
Typ
Max.
Unit
Ileak
Leakage current (pin 3)
VCE = 7 V
1
µA
Vsat
Saturation voltage (pin 3)
I = 5 mA
0.4
V
Voff
Comparators offset voltage
(pins 13, 14, 15)
Vref = 1 V
5
mV
-100
10
µA
0
3
V
Io
Comparator bias current
(pins 13, 14, 15)
Vref
Input reference voltage (pin 15)
tCLK
Clock time
0.5
µs
tS
Set up time
1
µs
tH
Hold time
4
µs
tR
Reset time
1
µs
Reset to clock delay
1
µs
tRCLK
7
XD297 DIP / XL297 SOP20
APPLICATION INFORMATION
TWO PHASE BIPOLAR STEPPER MOTOR CONTROL CIRCUIT
This circuit drives bipolar stepper motors with winding currents up to 2A. The diodes are fast 2A types.
XZ298
XD297
Synchronising XD297
XD297
XD297
8
XD297 DIP / XL297 SOP20
DIP
98
XD297 DIP / XL297 SOP20
SOP
10
8