L6219R STEPPER MOTOR DRIVER ■ ■ ■ ■ ■ ■ ■ ■ ■ ABLE TO DRIVE BOTH WINDINGS OF BIPOLAR STEPPER MOTOR OUTPUT CURRENT UP TO 500mA EACH WINDING WIDE VOLTAGE RANGE 4.5V TO 10V 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 L6219R 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 L6219R 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 SO24(2+2) ORDERING NUMBER: L6219R sustaining 10V and including four diodes for current recirculation.A cross conduction protection is provided to avoid simultaneous cross conduction during switching current direction.An internal pulse-widthmodulation (PWM) controls the output current to 500mA with peak start-up current up to 1A. Wide range of current control from 500mA (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 January 2003 1/10 L6219R PIN CONNECTION (Top view) PIN DESCRIPTION Pin # Name 1;2 OUTPUT A See pins 5;21 Description 3;23 SENSE RESISTOR Connection to Lower Emitters of Output Stage for Insertion of Current Sense Resistor 4;22 COMPARATOR INPUT Input connected to the comparators. The voltage across the sense resistor is 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. 5;21 OUTPUT B 6;19 GROUND See pins 7;18 7;18 GROUND Ground Connection. With pins 6 and 19 also conducts heat from die to printed circuit copper. 8;20 INPUT 0 See INPUT 1 (pins 9;17) 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. 10;16 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. 11;15 REFERENCE VOLTAGE A voltage applied to this pin sets the reference voltage of the comparators, this determining the output current (also thus depending on Rs and the two inputs INPUT 0 and INPUT 1). 12;14 RC 13 Vss - LOGIC SUPPLY 24 Vs - LOAD SUPPLY Output Connection. The output stage is a "H" bridge formed by four transistors and four diodes suitable for switching applications. 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). Supply Voltage Input for Logic Circuitry 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, 1500W, 100pF). 2/10 L6219R ABSOLUTE MAXIMUM RATINGS Symbol Parameter Value Unit VS Supply Voltage 30 V Io Output Current (peak) ±1 A Io Output Current (continuous) ±0.3 A VSS Logic Supply Voltage VIN Logic Input Voltage Range 7 V -0.3 to VSS V Vsense Sense Output Voltage 1.5 V TJ Junction Temperature +150 °C Top 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. Value Unit 18 75 (*) °C/W °C/W (*) With minimized copper area. . ELECTRICAL CHARACTERISTICS (Tj = 25°C, VS = 4.5V, VSS = 4.75V to 5.25V, VREF = 2V; unless otherwise specified) See fig. 3 Symbol Parameter Test Condition Min. Typ. Max. Unit 10 V OUTPUT DRIVERS (OUTA or OUTB) VS Motor Supply Range ICEX Output Leakage Current *) Vs = 30V; VOUT = Vs; Vs = 30V; VOUT = 0 VCE(sat) Output Saturation Voltage Sink Driver, IOUT= +300mA Sink Driver, IOUT = +500mA Source Driver, IOUT = -300mA Source Driver, IOUT = -500mA Clamp Diode Forward Voltage Sink Diode Source Diode IF = 500mA IS(on) Driver Supply Current Both Bridges ON, No Load Vs = 10V IS(off) Driver Supply Current Both Bridges OFF; Vs = 10V VF 4.5 -50 <1 <-1 50 µA µA - 0.3 0.7 1.1 1.3 0.6 1 1.4 1.6 V V V V 1 1 1.5 1.5 V V - 8 15 mA - 6 10 mA CONTROL LOGIC VIN(H) Input Voltage All Inputs 2.4 - - V VIN(L) Input Voltage All Inputs - - 0.8 V IIN(H) Input Current VIN = 2.4V - <1 20 µA IIN(L) Input Current VIN = 0.84V - -3 -200 µA 3/10 L6219R ELECTRICAL CHARACTERISTICS (continued) (Tj = 25°C, VS = 4.5V, VSS = 4.75V to 5.25V, VREF = 2V; unless otherwise specified) See fig. 3 Symbol VREF Parameter Test Condition Min. Typ. Max. Unit 1.5 - 2 V Reference Voltage Operating ISS(ON) Total Logic Supply Current Io = I1 = 0.8V, No Load - 44 60 mA ISS(OFF) Total Logic Supply Current Io = I1 = 2.4V, No Load - 10 14 mA Io = I1 = 0.8V 9.5 10 10.5 - Io = 2.4V, I1 = 0.8V 13.5 15 16.5 - Io = 0.8V, I1 = 2.4V 25.5 30 34.5 - COMPARATORS VREF/ Vsense Current Limit Threshold (at trip point) toff Cutoff Time Rt = 56KΩ Ct = 820pF - 50 µs td Turn Off Delay Fig. 1 - 1 µs - 170 PROTECTION TJ Thermal Shutdown Temperature *) ICEX is the sum of the leakage of the power switch and recirculation diode. Figure 1. 4/10 - °C L6219R 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. I0 I1 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 Current Level 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 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: V re f I m ax = ------------10 R s See figures 4, 5 and 6 for maximum allowable output current and reference voltage versus Vs supply. 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. 5/10 L6219R 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 turn-off 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 contin-uous 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 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 6/10 L6219R 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) Figure 3. Typical Application Circuit. 7/10 L6219R Figure 6. Maximum output current vs. supply voltage 800 800 700 700 600 600 Output current (mA) Output current (mA) Figure 4. Maximum output current vs. reference voltage 500 400 Vss=5V 300 Vss=4.5V 500 400 Vss=5V Vss=4.5V 300 200 200 100 100 0 0 1 2 3 4 5 6 7 8 0 0 Vref (V) 2 4 6 Vs (V) Figure 5. Maximum reference voltages vs. supply voltage 8 7 6 Vref1,2 (V) 5 4 3 2 1 0 0 2 4 6 Vs (V) 8/10 8 10 12 8 10 12 L6219R mm inch DIM. MIN. TYP. MAX. MIN. TYP. MAX. A 2.35 2.65 0.093 0.104 A1 0.10 0.30 0.004 0.012 B 0.33 0.51 0.013 0.200 C 0.23 0.32 0.009 0.013 D (1) 15.20 15.60 0.598 0.614 E 7.40 7.60 0.291 0.299 e 1.27 10.0 10.65 0.394 0.419 h 0.25 0;75 0.010 0.030 L 0.40 1.27 0.016 0.050 ddd Weight: 0.60gr 0.050 H k OUTLINE AND MECHANICAL DATA 0˚ (min.), 8˚ (max.) 0.10 0.004 (1) “D” dimension does not include mold flash, protusions or gate burrs. Mold flash, protusions or gate burrs shall not exceed 0.15mm per side. SO24 0070769 C 9/10 L6219R 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. Specifications 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 © 2003 STMicroelectronics - All Rights Reserved STMicroelectronics GROUP OF COMPANIES Australia - Brazil - Canada - China - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - United States. http://www.st.com 10/10