L6219 ® STEPPER MOTOR DRIVER ABLE TO DRIVE BOTH WINDINGS OF BIPOLAR STEPPER MOTOR OUTPUT CURRENT UP TO 750mA EACH WINDING WIDE VOLTAGE RANGE 10V TO 46V HALF-STEP, FULL-STEP AND MICROSTEPPING MODE BUILT-IN PROTECTION DIODES INTERNAL PWM CURRENT CONTROL LOW OUTPUT SATURATION VOLTAGE DESIGNED FOR UNSTABILIZED MOTOR SUPPLY VOLTAGE INTERNAL THERMAL SHUTDOWN DESCRIPTION The L6219 is a bipolar monolithic integrated circuits intended to control and drive both winding of a bipolar stepper motor or bidirectionally control two DC motors. The L6219 with a few external components form a complete control and drive circuit for LS-TTL or microprocessor controlled stepper motor system. The power stage is a dual full bridge capable of sustaining 46V and including four diodes for current recirculation. A cross conduction protection is provided to avoid Powerdip 20+2+2 SO20+2+2 ORDERING NUMBERS: L6219 L6219DS simultaneous cross conduction during switching current direction. An internal pulse-width-modulation (PWM) controls the output current to 750mA with peak startup current up to 1A. Wide range of current control from 750mA (each bridge) is permitted by means of two logic inputs and an external voltage reference. A phase input to each bridge determines the load current direction. A thermal protection circuitry disables the outputs if the chip temperature exceeds safe operating limits. BLOCK DIAGRAM October 2001 1/9 L6219 PIN CONNECTION (Top view) Powerdip and SO PIN FUNCTIONS PDIP & SO 1;2 3;23 4;22 5;21 6;19 7;18 8;20 9;17 10;16 11;15 12;14 13 24 Name Function OUTPUT A See pins 5;21 SENSE RESISTOR Connection to Lower Emitters of Output Stage for Insertion of Current Sense Resistor COMPARATOR Input connected to the comparators. The voltage across the sense resistor is INPUT feedback to this input throught the low pass filter RC CC. The higher power transistors are disabled when the sense voltage exceeds the reference voltage of the selected comparator. When this occurs the current decays for a time set by RT CT (toff = 1.1 RT CT). See fig. 1. OUTPUT B Output Connection. The output stage is a "H" bridge formed by four transistors and four diodes suitable for switching applications. GROUND See pins 7;18 GROUND Ground Connection. With pins 6 and 19 also conducts heat from die to printed circuit copper. INPUT 0 See INPUT 1 (pins 9;17) INPUT 1 These pins and pins 8;20 (INPUT 0) are logic inputs which select the outputs of the comparators to set the current level. Current also depends on the sensing resistor and reference voltage. See Funcional Description. PHASE This TTL-compatible logic inputs sets the direction of current flow through the load. A high level causes current to flow from OUTPUT A (source) to OUTPUT B (sink). A schmitt trigger on this input provides good noise immunity and a delay circuit prevents output stage short circuits during switching. REFERENCE A voltage applied to this pin sets the reference voltage of the comparators, this VOLTAGE determining the output current (also thus depending on R s and the two inputs INPUT 0 and INPUT 1). RC A parallel RC network connected to this pin sets the OFF time of the higher power transistors. The pulse generator is a monostable triggered by the output of the comparators (toff = 1.1 RT CT). Vss - LOGIC SUPPLY Supply Voltage Input for Logic Circuitry Vs - LOAD SUPPLY Supply Voltage Input for the Output Stages. Note: ESD on GND, VS, VSS, OUT 1A and OUT 2A is guaranteed up to 1.5KV (Human Body Model, 1500Ω, 100pF). 2/9 L6219 ABSOLUTE MAXIMUM RATINGS Symbol Parameter VS Supply Voltage Io Io Output Current (peak) VSS VIN Vsense Value 50 Output Current (continuous) Logic Supply Voltage Logic Input Voltage Range Unit V ±1 A ±0.75 A 7 -0.3 to +7 V V Sense Output Voltage 1.5 V TJ Top Junction Temperature +150 °C Operating Temperature Range -20 to +85 °C Tstg Storage Temperature Range -55 to +150 °C THERMAL DATA Symbol Rthj-case Rthj-amb Description Thermal Resistance Junction-case Thermal Resistance Junction-ambient Max. Max. PDIP 14 60 (*) SO 18 75 (*) Unit °C/W °C/W (*) With minimized copper area. ELECTRICAL CHARACTERISTICS (Tj = 25°C, VS = 46V, VSS = 4.75V to 5.25V, VREF = 5V; unless otherwise specified) See fig. 3. Symbol Parameter Test Condition Min. Typ. Max. Unit OUTPUT DRIVERS (OUTA or OUTB) VS ICEX VCE(sat) Motor Supply Range Output Leakage Current Output Saturation Voltage 46 V VOUT = Vs VOUT = 0 10 - <1 <-1 50 -50 µA µA Sink Driver, IOUT = +500mA Sink Driver, IOUT = +750mA Source Driver, IOUT = -500mA Source Driver, IOUT = -750mA - 0.3 0.7 1.1 1.3 0.6 1 1.4 1.6 V V V V - <1 50 µA 1 1 1.5 1.5 V V IR Clamp Diode Leakage Current VR = 50V VF Clamp Diode Forward Voltage Sink Diode Source Diode IF =750mA IS(on) Driver Supply Current Both Bridges ON, No Load - 8 15 mA IS(off) Driver Supply Current Both Bridges OFF - 6 10 mA 2.4 - - 0.8 V V - <1 -3 20 -200 µA µA CONTROL LOGIC VIN(H) VIN(L) Input Voltage Input Voltage All Inputs All Inputs IIN(H) IIN(L) Input Current Input Current VIN = 2.4V VIN = 0.84V VREF ISS(ON) Reference Voltage Total Logic Supply Current Operating Io = I1 = 0.8V, No Load 1.5 - 64 7.5 74 V mA ISS(OFF) Total Logic Supply Current Io = I1 = 2.4V, No Load - 10 14 mA Io = I1 = 0.8V Io = 2.4V, I1 = 0.8V 9.5 13.5 10 15 10.5 16.5 - Io = 0.8V, I1 = 2.4V Rt = 56KΩ Ct = 820pF Fig. 1 25.5 - 30 50 1 34.5 µs µs COMPARATORS VREF / Vsense Current Limit Threshold (at trip point toff td Cutoff Time Turn Off Delay 3/9 L6219 ELECTRICAL CHARACTERISTICS (Continued) Symbol Parameter Test Condition Min. Typ. Max. Unit - 170 - °C PROTECTION TJ Thermal Shutdown Temperature Phase This input determines the direction of current flow in the windings, depending on the motor connections. The signal is fed through a Schmidt-trigger for noise immunity, and through a time delay in order to guarantee that no short-circuit occurs in the output stage during phase-shift. High level on the PHASE input causes the motor current flow from Out A through the winding to Out B Figure 1 Current Sensor This part contains a current sensing resistor (RS), a low pass filter (RC, CC) and three comparators. Only one comparator is active at a time. It is activated by the input logic according to the current level chosen with signals Io and I1. The motor current flows through the sensing resistor RS. When the current has increased so that the voltage across RS becomes higher than the reference voltage on the other comparator input, the comparator goes high, which triggers the pulse generator. The max peak current Imax can be defined by: FUNCTIONAL DESCRIPTION The circuit is intended to drive both windings of a bipolar stepper motor. The peak current control is generated through switch mode regulation. There is a choice of three different current levels with the two logic inputs I01 - I11 for winding 1 and I02 - I12 for winding 2. The current can also be switched off completely Input Logic (I0 and I1) The current level in the motor winding is selected with these inputs. (See fig. 2) If any of the logic inputs is left open, the circuit will treat it has a high level input. 4/9 I0 I1 Current Level H H No Current L H Low current V3 IO max H L Medium current 2/3 IO max L L Maximum current IO max Imax = Vref 10 Rs Single-pulse Generator The pulse generator is a monostable triggered on the positive going edge of the comparator output. The monostable output is high during the pulse time, toff , which is determined by the time components Rt and Ct. toff = 1.1 ⋅ RtCt The single pulse switches off the power feed to the motor winding, causing the winding current to decrease during toff. If a new trigger signal should occur during toff, it is ignored. Output Stage The output stage contains four Darlington transistors (source drivers) four saturated transistors (sink drivers) and eight diodes, connected in two H bridge. L6219 Figure 2: Principle Operating Sequence The source transistors are used to switch the power supplied to the motor winding, thus driving a constant current through the winding. It should be noted however, that is not permitted to short circuit the outputs. Internal circuitry is added in order to increase the accuracy of the motor current particularly with low current levels. VS, VSS, VRef The circuit will stand any order of turn-on or turnoff the supply voltages VS and VSS. Normal dV/dt values are then assumed. Preferably, VRef should be tracking VSS during power-on and power-off if VS is established. APPLICATION INFORMATIONS (Note 1) Some stepper motors are not designed for continuous operation at maximum current. As the circuit drives a constant current through the motor, its temperature might increase exceedingly both at low and high speed operation. Also, some stepper motors have such high core losses that they are not suited for switch mode 5/9 L6219 current regulation. Unused inputs should be connected to proper voltage levels in order to get the highest noise immunity. As the circuit operates with switch mode current regulation, interference generation problems might arise in some applications. A good measure might then be to decouple the circuit with a 100nF capacitor, located near the package between power line and ground. The ground lead between Rs, and circuit GND should be kept as short as possible. A typical Application Circuit is shown in Fig. 3. Note that Ct must be NPO type or similar else. To sense the winding current, paralleled metal film resistors are recommended (Rs) Note 1 - Other information is available as "Smart Power Development System": Test board HWL6219 (Stepper driver) Software SWL6219 (Floppy disc) Figure 3: Typical Application Circuit. (Pin out referred to DIP24 package) 6/9 L6219 mm DIM. MIN. TYP. A A1 inch MAX. MIN. TYP. 4.320 0.380 A2 0.170 0.015 3.300 0.130 B 0.410 0.460 0.510 0.016 0.018 0.020 B1 1.400 1.520 1.650 0.055 0.060 0.065 c 0.200 0.250 0.300 0.008 0.010 0.012 D 31.62 31.75 31.88 1.245 1.250 1.255 E 7.620 8.260 0.300 e 2.54 E1 6.350 e1 L 6.600 M 0.325 0.100 6.860 0.250 0.260 0.270 0.300 7.620 3.180 OUTLINE AND MECHANICAL DATA MAX. 3.430 0.125 0.135 Powerdip 24 0˚ min, 15˚ max. E1 A2 A A1 L B B1 e e1 D 24 13 c 1 12 M SDIP24L 7/9 L6219 mm DIM. MIN. TYP. inch MAX. MIN. TYP. MAX. A 2.35 2.65 0.093 0.104 A1 0.10 0.30 0.004 0.012 A2 2.55 0.100 B 0.33 0.51 0.013 0.0200 C 0.23 0.32 0.009 0.013 D 15.20 15.60 0.598 0.614 E 7.40 7.60 0.291 0.299 e 1.27 0,050 H 10.0 10.65 0.394 0.419 h 0.25 0.75 0.010 0.030 k OUTLINE AND MECHANICAL DATA 0° (min.), 8° (max.) SO24 L 0.40 1.27 0.016 0.050 0.10mm B e A A2 h x 45˚ A1 K A1 L .004 H Seating Plane D 13 1 12 E 24 SO24 8/9 C L6219 Information furnished is believed to be accurate and reliable. However, STMicroelectronics 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 patent or patent rights of STMicroelectronics. Specification mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics © 2001 STMicroelectronics – Printed in Italy – All Rights Reserved STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com 9/9