NJRC NJM3777E3

NJM3777
DUAL STEPPER MOTOR DRIVER
■ GENERAL DESCRIPTION
■ PACKAGE OUTLINE
The NJM3777 is a switch-mode (chopper), constant-current
driver with two channels: one for each winding of a two-phase
stepper motor. The NJM3777 is equipped with a Disable input
to simplify half-stepping operation. The NJM3777 contains a
clock oscillator, which is common for both driver channels, a
set of comparators and flip-flops implementing the switching
control, and two output H-bridges, including recirculation
NJM3777E3
diodes. Voltage supply requirements are + 5 V for logic and +
10 to + 45 V for the motor. Maximum output current is 900mA
per channel.
■ FEATURES
• Dual chopper driver
• 900 mA continuous output current per channel
• Digital filter on chip eliminates external filtering components
• Package
EMP24(Batwing)
■ BLOCK DIAGRAM
Phase 1
Dis1 VR1
E1
C1
NJM3777
VCC
–
V
CC
+
R
S
Q
M A1
M B1
Logic
V MM1
+
VMM2
–
M B2
Logic
M A2
RC
+
–
Phase 2
Figure 1. Block diagram
Dis 2 VR2
C2
S
R
GND
Q
E2
NJM3777
■ PIN CONFIGURATION
NC 1
24
NC
MB1 2
23
MB2
E1 3
22
E2
MA1 4
21
MA2
20
VMM2
19
GND
18
GND
VR1 8
17
VR2
C1 9
16
C2
Phase1 10
15
Phase2
Dis1 11
14
Dis2
RC 12
13
Vcc
VMM1 5
GND 6
GND 7
NJM
3777E3
Figure 2. Pin configuration
■ PIN DESCRIPTION
EMP
1
2
3
4
5
6, 7,
18, 19
Symbol
NC
MB1
E1
MA1
VMM1
GND
8
9
VR1
C1
10
Phase1
11
Dis1
12
RC
13
14
VCC
Dis2
15
Phase2
16
C2
17
20
21
22
23
24
VR2
VMM2
MA2
E2
MB2
NC
Description
Not connected
Motor output B, channel 1. Motor current flows from MA1 to MB1 when Phase1 is HIGH.
Common emitter, channel 1. This pin connects to a sensing resistor RS to ground.
Motor output A, channel 1. Motor current flows from MA1 to MB1 when Phase1 is HIGH.
Motor supply voltage, channel 1, +10 to +40 V. VMM1 and VMM2 should be connected together.
Ground and negative supply. Note: these pins are used thermally for heat-sinking.
Make sure that all ground pins are soldered onto a suitably large copper ground plane for efficient heat sinking.
Reference voltage, channel 1. Controls the comparator threshold voltage and hence the output current.
Comparator input channel 1. This input senses the instantaneous voltage across the sensing resistor,
filtered by the internal digital filter or an optional external RC network.
Controls the direction of motor current at outputs MA1 and MB1. Motor current flows from MA1 to MB1 when
Phase1 is HIGH.
Disable input for channel 1. When HIGH, all four output transistors are turned off, which results in a
rapidly decreasing output current to zero.
Clock oscillator RC pin. Connect a 12 kohm resistor to VCC and a 4 700 pF capacitor to ground to obtain
the nominal switching frequency of 23.0 kHz and a digital filter blanking time of 1.0 µs.
Logic voltage supply, nominally +5 V.
Disable input for channel 2. When HIGH, all four output transistors are turned off, which results in a
rapidly decreasing output current to zero.
Controls the direction of motor current at outputs MA2 and MB2. Motor current flows from MA2 to MB2 when
Phase2 is HIGH.
Comparator input channel 2. This input senses the instantaneous voltage across the sensing resistor,
filtered by the internal digital filter or an optional external RC network.
Reference voltage, channel 2. Controls the comparator threshold voltage and hence the output current.
Motor supply voltage, channel 2, +10 to +40 V. VMM1 and VMM2 should be connected together.
Motor output A, channel 2. Motor current flows from MA2 to MB2 when Phase2 is HIGH.
Common emitter, channel 2. This pin connects to a sensing resistor RS to ground.
Motor output B, channel 2. Motor current flows from MA2 to MB2 when Phase2 is HIGH.
Not connected
NJM3777
■ FUNCTIONAL DESCRIPTION
Each channel of the NJM3777 consists of the following sections: an output H-bridge with four transistors and four
recirculation diodes, capable of driving up to 800 mA continuous current to the motor winding, a logic section that
controls the output transistors, an S-R flip-flop, and a comparator. The clock-oscillator is common to both channels.
Constant current control is achieved by switching the output current to the windings. This is done by sensing the
peak current through the winding via a current-sensing resistor RS, effectively connected in series with the motor
winding. As the current increases, a voltage develops across the sensing resistor, which is fed back to the comparator. At the predetermined level, defined by the voltage at the reference input VR, the comparator resets the flipflop, which turns off the upper output transistor. The turn-off of one channel is independent of the other channel.
The current decreases until the clock oscillator triggers the flip-flops of both channels simultaneously, which turns
on the output transistors again, and the cycle is repeated.
To prevent erroneous switching due to switching transients at turn-on, the NJM3777 includes a digital filter. The
clock oscillator provides a blanking pulse which is used for digital filtering of the voltage transient across the
current sensing resistor during turn-on.
The current paths during turn-on, turn-off and phase shift are shown in figure 3.
V MM
1
2
3
RS
Motor Current
1
2
3
Fast Current Decay
Slow Current Decay
Figure 3. Output stage with current paths
during turn-on, turn-off and phase shift.
Time
NJM3777
■ ABSOLUTE MAXIMUM RATINGS
Parameter
Voltage
Logic supply
Motor supply
Logic inputs
Analog inputs
Current
Motor output current
Logic inputs
Analog inputs
Temperature
Operating junction temperature
Storage temperature
Power Dissipation (Package Data)
Power dissipation at TGND = +25°C
Power dissipation at TGND = +125°C
Pin No.
Symbol
Min
Max
Unit
13
5, 20
10, 11, 14, 15
8, 9, 16, 17
VCC
VMM
VI
VA
0
0
-0.3
-0.3
7
45
6
VCC
V
V
V
V
2, 4, 21, 23
10, 11, 14, 15
8, 9, 16, 17
IM
II
IA
-900
-10
-10
+900
-
mA
mA
mA
TJ
TS
-40
-55
+150
+150
°C
°C
PD
PD
-
5
2
W
W
Min
4.75
10
-800
-20
2
Typ
5
12
■ RECOMMENDED OPERATING CONDITIONS
Parameter
Logic supply voltage
Motor supply voltage
Output emitter voltage
Motor output current
Operating junction temperature
Rise and fall time logic inputs
Oscillator timing resistor
Symbol
VCC
VMM
VE
IM
TJ
tr,, tf
RT
Max
5.25
40
1.0
+800
+125
2
20
Unit
V
V
V
mA
°C
µs
kΩ
| V MA – V MB |
Phase 1
Dis1 VR1
10
11
8
C1
E1
9
3
t on
NJM3777
t
off
50 %
VCC
I CC
–
V
CC
13
+
R
S
Q
Logic
4
M A1
2
M B1
5
VMM1
20
V MM2
23
M B2
21
M A2
t
VE ( I M )
td
12 kΩ
+
RT
–
Logic
I RC RC
I MM
IM
V
CH
I OL
12
+
–
S
R
Q
4 700 pF
VCC
CT
15
Phase 2
II
I IH
I IL
IR
IA
14
6, 7, 18, 19
22
C2
GND
E2
V
t
tb
RC
IC
IA
VM
V
V
V
16
VCH
VI
IH
17
Dis 2 V R2
VA
VRC
VE
C
V
V MA
V MM
V
IL
R
A
RS
t
1
fs = t + t
on off
Figure 4. Definition of symbols
D=
ton
ton + t off
Figure 5. Definition of terms
NJM3777
■ ELECTRICAL CHARACTERISTICS
Electrical characteristics over recommended operating conditions, unless otherwise noted. - 20°C ≤ Tj ≤ + 125°C.
Parameter
Symbol
General
Supply current
Supply current
Total power dissipation
ICC
ICC
PD
Total power dissipation
PD
Thermal shutdown junction temperature
Turn-off delay
td
Logic Inputs
Logic HIGH input voltage
Logic LOW input voltage
Logic HIGH input current
Logic LOW input current
VIH
VIL
IIH
IIL
Analog Inputs
Threshold voltage
Input current
|VC1—VC2| mismatch
VCH
IA
VCdiff
Motor Outputs
Lower transistor saturation voltage
Lower transistor leakage current
Lower diode forward voltage drop
Upper transistor saturation voltage
Upper transistor leakage current
Upper diode forward voltage drop
Chopper Oscillator
Chopping frequency
Digital filter blanking time
fs
tb
Conditions
Min
Typ
Max
Unit
Note 4.
Dis1= Dis2= HIGH.
VMM= 24 V, IM1= IM2= 650 mA.
Notes 2, 3, 4.
VMM= 24 V, IM1= 800 mA, IM2= 0 mA.
Notes 2, 3, 4.
-
85
7
2.9
99
10
3.4
mA
mA
W
-
2.3
2.7
W
-
160
1.1
2.0
°C
µs
2.0
-0.2
-0.1
0.6
20
-
V
V
µA
mA
480
-
500
500
5
520
20
mV
µA
mV
IM = 500 mA
VMM=41 V,Dis1= Dis2= HIGH.
IM = 500 mA
IM = 500 mA.
VMM=41 V, Dis1= Dis2= HIGH.
IM = 500 mA.
-
0.5
1.2
1.4
1.3
0.8
50
1.3
1.6
50
1.5
V
µA
V
V
µA
V
CT = 4 700 pF, RT = 12 kohm
CT = 4 700 pF. Note 3.
21.5
-
23.0
1.0
24.5
-
kHz
µs
dVC/dt ≥ 50 mV/µs,
IM = 100 mA. Note 3.
VI = 2.4 V
VI = 0.4 V
VR= 5 V
VR= 5 V
■ THERMAL CHARACTERISTICS
Parameter
Thermal resistance
Symbol
RthJ-GND
RthJ-A
Conditions
Note 2.
Min
-
Notes
1. All voltages are with respect to ground. Currents are positive into, negative out of specified terminal.
2. All ground pins soldered onto a 20 cm2 PCB copper area with free air convection, TA = + 25° C.
3. Not covered by final test program.
4. Switching duty cycle D = 30 %, fs = 23.0 kHz.
Typ
13
42
Max
-
Unit
°C/W
°C/W
NJM3777
■ APPLICATIONS INFORMATION
Current control
The regulated output current level to the motor winding is determined by the voltage at the reference input and the
value of the sensing resistor, RS. The peak current through the sensing resistor (and the motor winding) can be
expressed as:
IM,peak = 0.1•VR / RS [A]
With a recommended value of 0.5 ohm for the sensing resistor RS, a 2.5 V reference voltage will produce an output
current of approximately 500 mA. RS should be selected for maximum motor current. Be sure not to exceed the
absolute maximum output current which is 900 mA. Chopping frequency, winding inductance and supply voltage
also affect the current, but to much less extent.
For accurate current regulation, the sensing resistor should be a 0.5 - 1.0 W precision resistor, i. e. less than 1%
tolerance and low temperature coefficient.
V MM
+5 V
+
0.1 µF
0.1 µF
13
V
10
5
V
CC
20
V
MM1
MM2
Phase 1
11
Dis1
8
V R1
15
M A1
4
M B1
2
NJM3777E3
21
M A2
Phase 2
14
Dis 2
17
V R2
RC GND
12
+5 V 12 kΩ
6, 7,
18, 19
23
M B2
C1
E1
C2
3
9
10 µF
STEPPER
MOTOR
E2
16
22
Pin numbers refer
to EMP package.
4 700 pF
RS
RS
0.47 Ω
0.47 Ω
GND (VCC )
GND (VMM )
Figure 6. Typical stepper motor driver application with NJM3777
V MM
V CC (+5 V)
+
0.1 F
0.1 F
13
4
13
V DD
D0
V
Sign1
3
DA1
2
10
To
P
+2.5V
Dis1
8
V R1
1
V Ref
Sign2
18
15
Phase
14
VSS
17
DA2
19
MM2
MA1
4
MB1
2
NJM3777E3
NJU39612E2
14 A0
5
WR
16
CS
20
RESET
20
V
MM1
Phase1
11
6 D7
5
V
CC
MA2
2
Dis2
17
V R2
RC GND
12
+5 V 12 k‰
6, 7,
18, 19
MB2
C1
9
E1
3
C2
16
21
23
E2
STEPPER
MOTOR
22
Pin numbers refer
to EMP package.
4700 pF
GND
(VCC )
10 F
0.47 ‰
RS
0.47 ‰
Figure 7. Typical microstepping application with NJU39612
RS
GND (V MM)
NJM3777
Current sense filtering
At turn-on a current spike occurs, due to the recovery of the recirculation diodes and the capacitance of the motor
winding. To prevent this spike from reseting the flip-flops through the current sensing comparators, the clock
oscillator generates a blanking pulse at turn-on. The blanking pulse pulse disables the comparators for a short time.
Thereby any voltage transient across the sensing resistor will be ignored during the blanking time.
Choose the blanking pulse time to be longer than the duration of the switching transients by selecting a proper CT
value. The time is calculated as:
tb = 210 • CT [s]
As the CT value may vary from approximately 2 200 pF to 33 000 pF, a blanking time ranging from 0.5 µs to 7 µs is
possible. Nominal value is 4 700 pF, which gives a blanking time of 1.0 µs.
As the filtering action introduces a small delay, the peak value across the sensing resistor, and hence the peak
motor current, will reach a slightly higher level than what is defined by the reference voltage. The filtering delay also
limits the minimum possible output current. As the output will be on for a short time each cycle, equal to the digital
filtering blanking time plus additional internal delays, an amount of current will flow through the winding. Typically
this current is 1-10 % of the maximum output current set by RS.
When optimizing low current performance, the filtering may be done by adding an external low pass filter in series
with the comparator C input. In this case the digital blanking time should be as short as possible. The recommended filter component values are 1 kohm and 820 pF. Lowering the switching fre- quency also helps reducing
the minimum output current.
To create an absolute zero current, the Dis input should be HIGH.
Switching frequency
The frequency of the clock oscillator is set by the timing components RT and CT at the RC-pin. As CT sets the digital
filter blanking time, the clock oscillator frequency is adjusted by RT. The value of RT is limited to 2 - 20 kohm. The
frequency is approximately calculated as:
fs = 1 / ( 0.77 • RT • CT)
Nominal component values of 12 kohm and 4 700 pF results in a clock frequency of 23.0 kHz. A lower frequency
will result in higher current ripple, but may improve low level linearity. A higher clock frequency reduces current
ripple, but increases the switching losses in the IC and possibly the iron losses in the motor.
Phase inputs
A logic HIGH on a Phase input gives a current flowing from pin MA into pin MB.
A logic LOW gives a current flow in the opposite direction. A time delay prevents cross conduction in the H-bridge
when changing the Phase input.
Phase 1
Dis 1
Phase 2
Dis 2
V R1
80
Thermal resistance [°C/W]
140%
100%
V R2
70
140%
100%
60
I MA1
140%
100%
50
24-pin
EMP
40
–100%
–140%
I MA2
30
140%
100%
20
5
10
15
20
25
30
35
PCB copper foil area [cm 2 ]
EMP package
Figure 8. Typical thermal resistance vs. PC Board
copper area and suggested layout
–100%
–140%
Full step mode
Half step mode
Figure 9. Stepping modes
Modified half step mode
NJM3777
Dis (Disable) inputs
A logic HIGH on the Dis inputs will turn off all four transistors of the output H-bridge, which results in a rapidly
decreasing out- put current to zero.
VR (Reference) inputs
The Vref inputs of the NJM3777 have a voltage divider with a ratio of 1 to 10 to reduce the external reference
voltage to an adequate level. The divider consists of closely matched resistors. Nominal input reference voltage is 5
V.
Interference
Due to the switching operation of NJM3777, noise and transients are generated and might be coupled into adjacent
circuitry. To reduce potential interference there are a few basic rules to follow:
• Use separate ground leads for power ground (the ground connection of RS), the ground leads of NJM3777, and
the ground of external analog and digital circuitry. The grounds should be connected together close to the GND
pins of NJM3777.
• Decouple the supply voltages close to the NJM3777 circuit. Use a ceramic capacitor in parallel with an electrolytic
type for both VCC and VMM. Route the power supply lines close together.
• Do not place sensitive circuits close to the driver. Avoid physical current loops, and place the driver close to both
the motor and the power supply connector. The motor leads could preferably be twisted or shielded.
Motor selection
The NJM3777 is designed for two-phase bipolar stepper motors, i.e. motors that have only one winding per phase.
The chopping principle of the NJM3777 is based on a constant frequency and a varying duty cycle. This scheme
imposes certain restrictions on motor selection. Unstable chopping can occur if the chopping duty cycle exceeds
approximately 50 %. See figure 5 for definitions. To avoid this, it is necessary to choose a motor with a low winding
resistance and inductance, i.e. windings with a few turns.
It is not possible to use a motor that is rated for the same voltage as the actual supply voltage. Only rated current
needs to be considered. Typical motors to be used together with the NJM3777 have a voltage rating of 1 to 6 V,
while the supply voltage usually ranges from 10 to 40 V.
Low inductance, especially in combination with a high supply voltage, enables high stepping rates. However, to
give the same torque capability at low speed, the reduced number of turns in the winding in the low resistive, low
inductive motor must be compensated by a higher current. A compromise has to be made. Choose a motor with the
lowest possible winding resistance and inductance, that still gives the required torque, and use as high supply
voltage as possible, without exceeding the maximum recommended 40 V. Check that the chopping duty cycle does
not exceed 50 % at maximum current.
Heat sinking
NJM3777 is a power IC, packaged in a power EMP package. The ground leads of the package (the batwing) are
thermally connected to the chip. External heatsinking is achieved by soldering the ground leads onto a copper
ground plane on the PCB.
Maximum continuous output current is heavily dependent on the heatsinking and ambient temperature. Consult
figures 8, 10 and 11to determine the necessary heat- sink, or to find the maximum output current under varying
conditions.
A copper area of 20 cm2 (approx. 1.8” x 1.8”), copper foil thickness 35 µm on a 1.6 mm epoxy PCB, permits the
circuit to operate at 2 x 450 mA output current, at ambient temperatures up to 85° C.
Thermal shutdown
The circuit is equipped with a thermal shutdown function that turns the outputs off at a chip (junction) temperature
above 160° C. Normal operation is resumed when the temperature has decreased.
Programming
Figure 9 shows the different input and output sequences for full-step, half-step and modified halfstep operations.
NJM3777
Full-step mode
Both windings are energized at all the time with the same current, IM1 = IM2. To make the motor take one step, the
current direction (and the magnetic field direction) in one phase is reversed. The next step is then taken when the
other phase current reverses. The current changes go through a sequence of four different states which equal four
full steps until the initial state is reached again.
Half-step mode
In the half-step mode, the current in one winding is brought to zero before a complete current reversal is made. The
motor will then have taken two half steps equalling one full step in rotary movement. The cycle is repeated, but on
the other phase. A total of eight states are sequenced until the initial state is reached again.
Half-step mode can overcome potential resonance problems. Resonances appear as a sudden loss of torque at
one or more distinct stepping rates and must be avoided so as not to loose control of the motor´s shaft position.
One disadvantage with the half-step mode is the reduced torque in the half step positions, in which current flows
through one winding only. The torque in this position is approximately 70 % of the full step position torque.
Modified half-step mode
The torque variations in half step mode will be elimi-nated if the current is increased about 1.4 times in the halfstep
position. A constant torque will further reduce resonances and mechanical noise, resulting in better performance,
life expectancy and reliability of the mechanical system.
Modifying the current levels must be done by bringing the reference voltage up (or down) from its nominal value
correspondingly. This can be done by using DACs or simple resistor divider networks. The NJM3777 is designed to
handle about 1.4 times higher current in one channel on mode, for example 2 x 600 mA in the full-step position,
and 1 x 800 mA in the half-step position.
NJM3777
■ TYPICAL CHARACTERISTICS
Maximum allowable power dissipation [W]
PD (W)
5
3.0
1.2
m
3
pe
ra
ch
tu
re
ture
T
2
1.0
nel
an
e ch
1.0
pera
tem
wo
te
pin
n
an
nt
ing
2.0
els
bie
on
Batw
Am
4
0
-25
0
0.40
0.60
0.80
25
EMP package
I M (A)
Figure 10. Power dissipation vs.
motor current.Ta = 25°C
0.6
0.2
0
50
75
100
125
150
Temperature [°C]
0.20
0.8
0.4
1
on
On
0
VCE Sat (V)
6
0
0
All ground pins soldered onto a
20 cm2 PCB copper area with
free air convection.
VCE Sat (V)
1.2
1.0
1.0
1.0
0.8
0.8
0.8
0.6
0.6
0.6
0.4
0.4
0.4
0.2
0.2
0.2
0.40
0.60
0.80
I M (A)
Figure 13. Typical lower diode
voltage drop vs. recirculating
current
0.80
Vd, ud (V)
1.2
0.20
0.60
I M (A)
1.2
0
0.40
Figure 11. Maximum allowable power Figure 12. Typical lower transistor
saturation voltage vs. output current
dissipation
Vd, ld (V)
0
0.20
0
0
0
0.20
0.40
0.60
0.80
I M (A)
Figure 14. Typical upper transistor
saturation voltage vs. output current
0
0.20
0.40
0.60
0.80
I M (A)
Figure 15. Typical upper diode
voltage drop vs. recirculating current
The specifications on this databook are only
given for information , without any guarantee
as regards either mistakes or omissions.
The application circuits in this databook are
described only to show representative
usages of the product and not intended for
the guarantee or permission of any right
including the industrial rights.