A6219DS Dual Full-Bridge PWM Motor Driver Features and Benefits Description Interchangeable with SGS L6219DS 750 mA Continuous Output Current 45 V Output Sustaining Voltage Internal Clamp Diodes Internal PWM Current Control Low Output Saturation Voltage Internal Thermal Shutdown Circuitry Similar to Dual PBL3717, UC3770 The L6219DS motor driver is designed to drive both windings of a bipolar stepper motor or bidirectionally control two DC motors. Both bridges are capable of sustaining 45 V and include internal pulse-width modulation (PWM) control of the output current to 750 mA. The outputs have been optimized for a low output saturation voltage drop (less than 1.8 V total source plus sink at 500 mA). Package: 24 pin SOICW (suffix LB) The bridges include both ground clamp and flyback diodes for protection against inductive transients. Internally generated delays prevent crossover currents when switching current direction. Special power-up sequencing is not required. Thermal protection circuitry disables the outputs if the chip temperature exceeds safe operating limits. For PWM current control, the maximum output current is determined by user selection of a reference voltage and sensing resistor. Two logic-level inputs select output current limits of 0, 33, 67, or 100% of the maximum level. A PHASE input to each bridge determines load current direction. The L6219DS is supplied in a 24-pin surface-mountable SOIC, with 4 internally-fused leads for maximum package power dissipation in the smallest possible construction. It is lead (Pb) free with 100% matte tin leadframe plating. Not to scale Typical Application STEPPER MOTOR V BB VBB 1 24 RS RC FROM P 4 5 20 6 19 7 18 8 17 56 k7 RT Q2 PWM 2 10 REF CC 21 C 99 V 22 2 PWM 1 C RC 1 3 + RS 23 2 Q1 16 15 V REF 14 11 12 820 pF CT FROM P 820 pF VCC 13 +5 V C T 56 k7 RT Dwg. EP-008B1 29319.43H L6219DS Dual Full-Bridge PWM Motor Driver Selection Guide L6219DS-T L6219DSTR-T Operating Ambient Temperature Range TA (C) Packing Part Number 31 pieces per tube 1000 pieces per reel -20 to 85 -20 to 85 Absolute Maximum Ratings Characteristic Symbol Notes Rating Units Motor Supply Voltage VBB 45 V Logic Supply Voltage VCC 7.0 V Logic Input Voltage Range VIN -0.3 to VCC+0.3 V Output Emitter Voltage VSENSE 1.5 V Output Current, Peak IOUT(pk) 1.0 A 750 mA Output Current, Continuous Output current rating may be limited by duty cycle, ambient temperature, and heat sinking. Under any set of conditions, do not exceed the specified peak current rating or a junction temperature of +150C. IOUT Operating Ambient Temperature TA -20 to 85 C Maximum Junction Temperature TJ(max) 150 C Tstg -55 to 150 C Storage Temperature Range S Thermal Characteristics Characteristic Package Thermal Resistance Symbol Test Conditions* RJA Value Units 1-layer PCB with copper limited to solder pads 77 C/W 1-layer PCB with 3.57 in.2 of copper area 49 C/W 6 C/W RJT *Additional thermal information available on the Allegro website. 2.5 R JT = 6C/W 2.0 1.5 R JA= 49C/W 1.0 R JA= 77C/W 0.5 0 25 50 75 100 TEMPERATURE in C 125 150 Dwg. GP-019C Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 2 L6219DS Dual Full-Bridge PWM Motor Driver PWM Current-Control Circuitry Phase Truth Table VBB CHANNEL 1 TERMINAL NUMBERS SHOWN. 24 PHASE OUTA H H L L L H OUTB OUT B 1 21 OUT A V REF 15 20 k7 23 w10 40 k7 SENSE COMP IN - ONE SHOT + 22 RC 10 k7 I 0 20 14 CC RS I 1 17 RT SOURCE DISABLE RC CT Dwg. EP-007-5 Pin-Out Diagram OUT 1A 1 OUT 2A 2 SENSE 2 VBB 1 3 2 24 LOAD SUPPLY 23 SENSE 1 22 COMP IN 1 21 OUT 1B OUT 2B 5 20 I 01 GROUND 6 19 GROUND GROUND 7 18 GROUND I 02 8 17 I11 I12 9 16 PHASE 1 15 V REF 1 14 RC 1 13 LOGIC SUPPLY PHASE 2 10 V REF 2 11 RC 2 12 Q 2 PWM 1 4 PWM 2 COMP IN 2 Q1 V CC Dwg. PP-005-3 Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com Copyright (c) 1998, 2003 Allegro MicroSystems, Inc. 3 L6219DS Dual Full-Bridge PWM Motor Driver ELECTRICAL CHARACTERISTICS at TA = +25C, TJ 150C, VBB = 45 V, VCC = 4.75 V to 5.25 V, VREF = 5.0 V (unless otherwise noted). Limits Characteristic Symbol Test Conditions Min. Typ. Max. Units 10 -- 45 V VOUT = VBB -- < 1.0 50 A VOUT = 0 -- <-1.0 -50 A Output Drivers (OUTA or OUTB) Motor Supply Range VBB Output Leakage Current ICEX Output Sustaining Voltage VCE(sus) IOUT = 750 mA, L = 3.0 mH 45 -- -- V Output Saturation Voltage VCE(SAT) Sink Driver, IOUT = +500 mA -- 0.4 0.6 V Sink Driver, IOUT = +750 mA -- 1.0 1.2 V Source Driver, IOUT = -500 mA -- 1.0 1.2 V Source Driver, IOUT = -750 mA -- 1.3 1.5 V Clamp Diode Leakage Current IR VR = 45 V -- < 1.0 50 A Clamp Diode Forward Voltage VF IF = 750 mA -- 1.6 2.0 V IBB(ON) Both Bridges On, No Load -- 20 25 mA IBB(OFF) Both Bridges Off -- 5.0 10 mA VIN(1) All inputs 2.4 -- -- V VIN(0) All inputs -- -- 0.8 V IIN(1) VIN = 2.4 V -- <1.0 20 A VIN = 0.8 V -- - 3.0 -200 A Operating 1.5 -- 7.5 V I0 = I1 = 0.8 V 9.5 10 10.5 -- I0 = 2.4 V, I1 = 0.8 V 13.5 15 16.5 -- I0 = 0.8 V, I1 = 2.4 V 25.5 30 34.5 -- -- 170 -- C Driver Supply Current Control Logic Input Voltage Input Current Reference Voltage Range Current Limit Threshold (at trip point) Thermal Shutdown Temperature Total Logic Supply Current Fixed Off-Time VREF VREF / VCOMPIN TJ ICC(ON) I0 = I1 = 0.8 V, No Load -- 40 50 mA ICC(OFF) I0 = I1 = 2.4 V, No Load -- 10 14 mA RT = 56 k, CT = 820 pF -- 46 -- s toff Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 4 L6219DS Dual Full-Bridge PWM Motor Driver Applications Information PWM Current Control PWM Output Current Wave Form The L6219DS dual bridge is designed to drive both windings of a bipolar stepper motor. Output current is sensed and controlled independently in each bridge by an external sense resistor (RS), internal comparator, and monostable multivibrator. When the bridge is turned on, current increases in the motor winding and it is sensed by the external sense resistor until the sense voltage (VCOMPIN) reaches the level set at the comparator's input: ITRIP = VREF/10 RS The comparator then triggers the monostable which turns off the source driver of the bridge. The actual load current peak will be slightly higher than the trip point (especially for lowinductance loads) because of the internal logic and switching delays. This delay (td) is typically 2 s. After turn-off, the motor current decays, circulating through the ground-clamp diode and sink transistor. The source driver's off time (and therefore the magnitude of the current decrease) is determined by the monostable's external RC timing components, where toff = RTCT within the range of 20 k to 100 k and 100 pF to 1000 pF. The fixed-off time should be short enough to keep the current chopping above the audible range (< 46 s) and long enough to properly regulate the current. Because only slow-decay current control is available, short off times (< 10 s) require additional efforts to ensure proper current regulation. Factors that can negatively affect the ability to properly regulate the current when using short off times include: higher motor-supply voltage, light load, and longer than necessary blank time. V P HAS E + I OUT 0 - I T R IP td toff Dwg. WM-003-1A Load Current Paths V BB When the source driver is re-enabled, the winding current (the sense voltage) is again allowed to rise to the comparator's threshold. This cycle repeats itself, maintaining the average motor winding current at the desired level. Loads with high distributed capacitances may result in high turn-on current peaks. This peak (appearing across RS) will attempt to trip the comparator, resulting in erroneous current control or high-frequency oscillations. An external RCCC time delay should be used to further delay the action of the comparator. Depending on load type, many applications will not require these external components (SENSE connected to COMP IN). RS B R IDG E ON S OUR C E OF F ALL OF F Dwg. E P -006-1 Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 5 L6219DS Dual Full-Bridge PWM Motor Driver Logic Control of Output Current General Two logic level inputs (I0 and I1) allow digital selection of the motor winding current at 100%, 67%, 33%, or 0% of the maximum level per the table below. The 0% output current condition turns off all drivers in the bridge and can be used as an OUTPUT ENABLE function. The PHASE input to each bridge determines the direction motor winding current flows. An internally generated dead time (approximately 2 s) prevents crossover currents that can occur when switching the PHASE input. These logic level inputs greatly enhance the implementation of P-controlled drive formats. During half-step operations, the I0 and I1 allow the P to control the motor at a constant torque between all positions in an eightstep sequence. This is accomplished by digitally selecting 100% drive current when only one phase is on and 67% drive current when two phases are on. Logic highs on both I0 and I1 turn off all drivers to allow rapid current decay when switching phases. This helps to ensure proper motor operation at high step rates. The logic control inputs can also be used to select a reduced current level (and reduced power dissipation) for `hold' conditions and/or increased current (and available torque) for start-up conditions. Current-Control Truth Table l0 I1 Output Current L L VREF/10 RS = ITRIP H L VREF/15 RS = 2/3 ITRIP L H VREF/30 RS = 1/3 ITRIP H H 0 All four drivers in the bridge output can be turned off between steps (I0 = I1 2.4 V) resulting in a fast current decay through the internal output clamp and flyback diodes. The fast current decay is desirable in half-step and high-speed applications. The PHASE, I0 ,and I1 inputs float high. Varying the reference voltage (VREF) provides continuous control of the peak load current for microstepping applications. Thermal protection circuitry turns off all drivers when the junction temperature reaches 170C. It is only intended to protect the device from failures due to excessive junction temperature and should not imply that output short circuits are permitted. The output drivers are re-enabled when the junction temperature cools to 145C. The L6219DS output drivers are optimized for low output saturation voltages--less than 1.8 V total (source plus sink) at 500 mA. Under normal operating conditions, when combined with the excellent thermal properties of the fused internal lead package design, this allows continuous operation of both bridges simultaneously at 500 mA. Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 6 L6219DS Dual Full-Bridge PWM Motor Driver Application Information Current Sensing To minimize current sensing inaccuracies caused by ground trace IR drops, each current-sensing resistor should have a separate return to the ground terminal of the device. For low-value sense resistors, the IR drops in the PCB can be significant and should be taken into account. The use of sockets should be avoided as their contact resistance can cause variations in the effective value of RS. Generally, larger values of RS reduce the aforementioned effects but can result in excessive heating and power loss in the sense resistor. The selected value of RS should not cause the absolute maximum voltage rating of 1.5 V, for the SENSE terminal, to be exceeded. The recommended value of RS is in the range of: RS = 0.75 / ITRIP(max) 50% . If desired, the reference input voltage can be filtered by placing a capacitor from REFIN to ground. The ground return for this capacitor as well as the bottom of any resistor divider used should be independent of the high-current power-ground trace to avoid changes in REFIN due to IR drops. Thermal Considerations For reliable operation, it is recommended that the maximum junction temperature be kept below 110C to 125C. The junction temperature can be measured best by attaching a thermocouple to the power pins (6, 7, 18 and 19) of the device and measuring the pin temperature, TTAB. The junction temperature can then be approximated by using the formula: TJ = TTAB + (2 x ILOAD x VF x RJT) , where VF can be chosen from the electrical specification table for the given level of ILOAD. The value for RJT is approximately 6C/W. The power dissipation can be improved 20% to 30% by adding a section of printed circuit board copper (typically 6 to 18 square centimeters) connected to the power pins of the device. The thermal performance in applications that run at high load currents, high duty cycles, or both can be improved by adding external diodes from each output to ground in parallel with the internal diodes. Fast-recovery (200 ns) diodes should be used to minimize switching losses. Load Supply Terminal The load supply terminal, VBB, should be decoupled with an electrolytic capacitor (47F is recommended), placed as close to the device as is physically practical. To minimize the effect of system ground IR drops on the logic and reference input signals, the system ground should have a low-resistance return to the load supply voltage. Fixed Off-Time Selection With increasing values of tOFF, switching losses decrease, lowlevel load current regulation improves, EMI reduces, PWM frequency decreases, and ripple current increases. The value of tOFF can be chosen for optimization of these parameters. For applications where audible noise is a concern, typical values of tOFF should be chosen in the range of 15 to 35 s. Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 7 L6219DS Dual Full-Bridge PWM Motor Driver Package LB, 24-Pin SOICW 15.400.20 4 4 24 +0.07 0.27 -0.06 2.20 10.300.33 7.500.10 9.60 A 1 0.65 B PCB Layout Reference View +0.44 0.84 -0.43 2 1.27 0.25 24X SEATING PLANE 0.10 C 0.41 0.10 For reference only Pins 6 and 7, and 18 and 19 internally fused (Reference JEDEC MS-013 AD) Dimensions exclusive of mold flash, gate burrs, and dambar protrusions Exact case and lead configuration at supplier discretion within limits shown 1.27 A Terminal #1 mark area C SEATING PLANE GAUGE PLANE 2.65 MAX 0.20 0.10 B Reference pad layout (reference IPC SOIC127P1030X265-24M) All pads a minimum of 0.20 mm from all adjacent pads; adjust as necessary to meet application process requirements and PCB layout tolerances Copyright (c)1998-2008, Allegro MicroSystems, Inc. The products described here are manufactured under one or more U.S. patents or U.S. patents pending. Allegro MicroSystems, Inc. reserves the right to make, from time to time, such departures from the detail specifications as may be required to permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that the information being relied upon is current. Allegro's products are not to be used in life support devices or systems, if a failure of an Allegro product can reasonably be expected to cause the failure of that life support device or system, or to affect the safety or effectiveness of that device or system. The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems, Inc. assumes no responsibility for its use; nor for any infringement of patents or other rights of third parties which may result from its use. For the latest version of this document, visit our website: www.allegromicro.com Allegro MicroSystems, Inc. 115 Northeast Cutoff Worcester, Massachusetts 01615-0036 U.S.A. 1.508.853.5000; www.allegromicro.com 8