M54679SP 2-Phase Stepper Motor Driver REJ03F0052-0100Z Rev.1.0 Sep.17.2003 Description The M54679SP is a semiconductor integrated circuit that can drive the bipolar stepping motor directly by controlling the coil-current at low level. Features • Wide supply voltage sphere (10 to 35 V) • Bipolar, constant current PWM function. (Topside transistors PWM function, maximum current is 0.8 Amps.) • Few external components. (This IC can be operated with 1 capacitor and 2 resistances.) • 4 phases input style (include the protection function of output through current). • Output current charge function (2 bits, 4 type currents). • Thermal protection circuit. • Include flywheel diodes. Application • Printer, PPC and Facsimile. Function The M54679SP is a semiconductor integrated circuit, which can drive to phase stepper motor. It can control the direction of motor current and output motor current (4 steps) by I0, I1 terminals. Also, it can drive the two-phase bipolar stepper motor by one IC as it includes two current control circuits. Block Diagram Out1B Vm1 Out1A Out2A Vm2 Out2B Ph2A Ph1A Ph1B Regout (3.5V) Source PWM Source PWM Ph2B P.GND P.GND Vcc 1.25V 18K Spike current cancel Current comp1 10K R Q FF1 Q R FF2 S S Spike current cancel Current comp2 Vref Frequency Generator TSD I0(1) I1(1) VTH I0(2) I1(2) VTL VTM Standby Rs1 Rev.1.0, Sep.17.2003, page 1 of 11 S1 Stby P.GND Fref GND S2 Rs2 M54679SP Pin Configuration (Top View) I1(2) 1 32 I1(1) I0(2) 2 31 I0(1) Regout 3 30 Vref Fref 4 29 Stby Ph2B 5 28 Ph1B Ph2A 6 27 Ph1A NC 7 26 Vcc 8 25 GND 9 24 10 23 Vm2 11 22 Vm1 S2 12 21 S1 Rs2 13 20 Rs1 Out2B 14 19 Out1B Out2A 15 18 Out1A N.C 16 17 P.GND GND 32 Shrink-DIP (32P4B) Pin Functions Symbol Terminal Function Vm1, Vm2 Out1A, Out1B, Out2A, Out2B, Rs1, Rs2 Vcc Motor supply voltage Output terminals Power supply for motor driver. Motor drive output terminals. Current sensor Power supply Output current sensing resistor (Rs) connection terminals. Control circuit power supply. Ph1A, Ph1B, Ph2A, Ph2B I0(1), I1(1), I0(2), I1(2), Stby S1, S2 Vref Regout Fref P.GND Phase input Output current direction switch terminals. Output current change Standby input Sense inputs Vref input Output of voltage stabilizer A capacitor for oscillator Power GND Output current change (100%, 70%, 31%, 0%) terminals. Standby input (L: standby, H or Open: motor function) terminal. Input voltage terminal of comparators. Reference voltage due to setting output current. Output of voltage stabilizer (Vout = 3.5 V). A capacitor due to PWM carrier frequency. The GND terminal of bottom side flywheel diodes. Rev.1.0, Sep.17.2003, page 2 of 11 M54679SP Absolute Maximum Ratings (Ta = 25°C unless otherwise noted) Symbol Parameter Vm Motor supply voltage Iout VCC Vlogic Vanalog VRs Pd Tj Topr Tstg Output current Power supply Logic input voltage Analog input voltage Output current sensing Power dissipation Junction temperature Operating temperature Storage temperature Conditions Per one phase Ph1A, Ph1B, Ph2A, Ph2B, I0, I1, stby Vref S1, S2 Rs1, Rs2 Rating Unit –0.3 to 37 V ±0.8 –0.3 to 7.0 –0.3 to Vcc –0.3 to Vcc 1.5 1.7 150 −20 to 75 −40 to 125 A V V V V W °C °C °C Thermal Derating Curve Power Dissipation Pd (W) θj-c = 25°C/W With a heat dissipation board Al board 10 cm2 θc-a = 25°C/W 3 ) ( 2.5W 1.7W 2 Simple substance (θc-a = 48.5°C/W) 1 0 10 20 30 40 50 60 70 80 Ambient Temperature Ta (°C) Recommended Operating Conditions Limits Symbol Parameter Min. Typ. Max. Unit Vcc Power supply 4.5 5.0 5.5 V Vm Motor supply voltage 10 — 35 V Iout Output current 50 — 800 mA tPLH Rising time of logic inputs — — 2.0 µs tPHL Falling time of logic inputs — — 2.0 µs Ton PWM ON time 5.0 — 50 µs Toff PWM OFF time 5.0 — 50 µs TSDon Thermal shut down — 160 — °C Rev.1.0, Sep.17.2003, page 3 of 11 M54679SP Electrical Characteristics (Ta = 25°C, Vcc = 5 V, VM = 24 V unless otherwise noted.) Control circuit Symbol ICC1 Parameter Supply current ICC2 ICC3 Im12 Motor supply current (standby) Conditions Limits Unit Min Typ Max Stby = H, Ph*A = H, Ph*B = L (Bridge ON) Stby = H, Ph*A = Ph*B (Bridge OFF) 39 56 73 20 27 40 Stby = L (Standby condition) Stby = L 1.5 –10 4.0 0 6.5 100 2.4 0 — –20 — — — –3.0 Vcc 0.6 10 — V µA mA µA VlogicH VlogicH I(PH)H I(PH)L Logic input voltage (Ph, I1, I0, Stby terminals) Note Phase terminal input current Vin = 5 V Vin = 0 V I(I0, I1)H I(I0, I1)L I(stby)H I(stby)L I(S) I0, I1 terminal input current Vin = 5 V Vin = 0 V Vin = 5 V Vin = 0 V S1 or S2 terminals input current (S = 0 V, Vref = 5 V). — –400 — –400 –20 — –300 — –300 –3.0 10 — 10 — — µA V(S) Current sensing comparators input voltage sphere S1 or S2 terminals input voltage sphere 0 — VCH(H) V I(Vref) Vref input current Input current of Vref (Vref = 5 V, I0 = I1 = 0 V) — 500 650 µA V(Vref) FC Vreg VCH(H) VCH(M) VCH(L) Vref input voltage sphere Oscillation frequency of Fref Voltage stabilizer output Current sensing comparators threshold voltage 0 20 3.35 475 325 139 — 30 3.50 500 350 155 Vcc 40 3.65 525 375 171 V kHz V mV mV mV Standby terminal input current Current sensing comparators input current C = 390 pF, Fref terminal oscillation Iout = –0.1 mA to +1 mA I0 = L, I1 = L, Vref = 5 V (Vref/10*100%) I0 = H, I1 = L, Vref = 5 V (Vref/10*70%) I0 = L, I1 = H, Vref = 5 V (Vref/10*31%) µA µA Note: The logic reference voltage depends on the diode, and changes according to the temperature. Please consider the change in the temperature when setting the voltage level input to the logic. Rev.1.0, Sep.17.2003, page 4 of 11 M54679SP Output circuit (Ta = 25°C, Vcc = 5 V, VM = 24 V unless otherwise noted.) Symbol Parameter Conditions Limits Unit Min Typ Max Vsat Ileak Output saturation voltage Output leakage current Top and Bottom at load current 0.6 A — –100 1.6 — 2.2 +100 V µA VF(H) VF(L) tdon VF of flywheel diode (top) VF of flywheel diode (bottom) Turn ON delay of output If = 0.6A If = 0.6A Time until output become ON since Fref = 2.5 V → 0.5 V — — — 1.7 1.1 0.5 2.3 1.5 2.0 V V µS tdoff Turn OFF delay of output Time until output become OFF since Vref < S — 2.0 3.5 µS tdstby OFF delay of standby Time until output become ON since Stby = L → H — 3.0 10.0 µS tdph Phase delay Time until output become ON since Phase = L → H — 3.0 10.0 µS Function Explanation (1) Ph inputs make a decision the output function. (Ph input of phase 4) Ph*A Ph*B Out*A Out*B L H L H L L H H OFF H L OFF OFF L H OFF *: 1 or 2 Note: The outputs shut off under Ph*A and Ph*B High condition at the same time. (2) Output current and terminal of output current setting. I0 I1 Output current ratio Current sensing comparators threshold voltage (Vref = 5 V) L H L H L L H H 100% 70% 31% 0% 500 mV 350 mV 155 mV — Rev.1.0, Sep.17.2003, page 5 of 11 M54679SP (3) Equivalent circuit of Vref terminal. The equivalent circuit of Vref terminal is shown in bellow circuit. As Vref terminal needs typical 500 µA input current, consider this value when Vref voltage is set. Vref 18K 3.5K 0.68K 2K I0 I1 (4) Current sensing comparators. The current sensing comparators compare the voltage (VRS) of current sensing resistor and threshold voltage (VCH) of this comparators, then if VRS > VCH, the comparators output change and shut off the output. (5) Oscillation circuit. External capacitor (390 pF typ) is charged and discharged by the constant current and a triangular waveform (VTH (Fref terminal high voltage) = 2.5 V, VTL (Fref terminal low voltage) = 0.5 V) appears to Fref terminal. This triangular waveform is a carrier frequency of PWM circuit. The carrier frequency changes if this external capacitor value is changed. M54679SP is designed that the oscillation frequency is 30 kHz if the external capacitor value is 390 pF. The oscillation frequency is in inverse proportion to the value of an external capacitor. (6) Spike current cancellation. Output power transistors go to ON, then the spike current appears on the RS (current sensing) in a short time and this is caused by the internal delay time. M54679SP has the cancellation circuit of the spike current as the current sensing comparators do not cause error functions. So, the function of current sensing comparators is shut off during 2 µs since the output power transistors go to ON. (7) Ph signal delay circuit. M54679SP has a delay time of 3.0 µs until output H-bridge power stage go to ON since Ph signal change Low to high. This delay time is enough short time for the frequency (plus rate) of Ph signal and there is no problem in the normal function. (8) Rs and S1 or S2 terminal. If S1 or S2 terminal (non-inverted input of the current sensing comparators) is connected the nearest position of current sensing resistor, the error of the current sensing by means of wire resistance on the board will be decreased. (9) Voltage stabilizer. M54679SP has a voltage stabilizer of 3.5 V. The reference voltage (Vref) can connect the output (Regout) of voltage stabilizer directly. In this case, the current capability of the output of voltage stabilizer is 1.0 mA (source current), 0.1 mA (sink current). Rev.1.0, Sep.17.2003, page 6 of 11 M54679SP (10) Setting output current. As the output circuit of M54679SP is designed by the bipolar type NPN transistors, the current that go through the motor coil is smaller about 15 mA (typical) than the current that go through the current sensing resistor. This is caused by the base current of the power transistors. Therefore, be aware this base current when the output current is set. VM ON OFF Iout VCC MB MA ON Ib=15mA(Typ.) OFF RS Iout =IRS - Ib (11) Power GND terminal. Power GND is connected the anodes of flywheel diodes of bottom side. When the output H-bridge power stage goes to ON, as the flyback current go through this GND terminal, minimize the wire resistor of this GND on the board. Rev.1.0, Sep.17.2003, page 7 of 11 M54679SP (12) Output current timing chart under Ph inputs and I0, I1 output conditions. Under output current waveforms show the current that a motor driver is going to control, so these do not show the actual current waveforms. The waveform of the current when motor is driven becomes a corrupted-curved waveform when the current changes due to the inductance of the motor. Torque vector <4 steps function> (1) Ph1A Ph1B Ph2A Ph2B I0(1),I0(2) I1(1),I1(2) B AB (3) (2) AB 100% (4) (2) L L (1) 0% A 100% Output current 1 (Current of Phase 1) 100% 100% Output current 2 (Current of Phase 2) A 100% (3) (4) A B B AB B BA B AB <8 steps function> 100% [1][2][3][4][5][6][7][8] AB 70% Ph1A Ph1B Ph2A Ph2B I0(1),I0(2) I1(1),I1(2) [2] 0% [1] [5] [7] [4] A A Output current 1 (Current of Phase 1) [3] [8] A [6] A B Output current 2 (Current of Phase 2) AB B BA B <16 steps function> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 100% B AB 4 3 2 70% Ph1A Ph1B Ph2A Ph2B I0(1) I1(1) I0(2) I1(2) 5 31% 0% AB A 1 6 7 8 16 15 14 9 A 13 10 11 12 Output current 1 (Current of Phase 1) Output current 2 (Current of Phase 2) Rev.1.0, Sep.17.2003, page 8 of 11 A A B B AB B BA M54679SP (13) Input terminal Symbol Equivalent circuit of the circumstance of input terminals Stby VCC 1K I0(1) I1(1) I0(2) I1(2) VCC Ph1A Ph1B Ph2A Ph2B S1 S2 1K VCC S VCH VCC Vref Vref Fref I0(1) I0(2) I1(1) I1(2) VCC Fref Rev.1.0, Sep.17.2003, page 9 of 11 Remarks M54679SP Application Circuit input input 390pF 1 I1(2) I1(1) 32 input 2 I0(2) I0(1) 31 input 3 Regout Vref 30 4 Fref Stby 29 input input 5 Ph2B Ph1B 28 input input 6 Ph2A Ph1A 27 input 7 NC Vcc 26 9 GND 24 GND 10 Rrs2 0.5 to 1.0 Ω 23 Vm1 22 S2 S1 21 13 Rs2 Rs1 20 14 Out2B Out1B 19 15 Out2A Out1A 18 16 N.C P.GND 17 11 Vm2 12 M Stepper Motor Rev.1.0, Sep.17.2003, page 10 of 11 Vcc 25 8 Rrs1 0.5 to 1.0 Ω Vm SEATING PLANE e D b1 b 16 Lead Material Alloy 42/Cu Alloy 1 Weight(g) 2.2 17 JEDEC Code — MMP 32 EIAJ Package Code SDIP32-P-400-1.78 A L Rev.1.0, Sep.17.2003, page 11 of 11 b2 A2 A1 A A1 A2 b b1 b2 c D E e e1 L Symbol Plastic 32pin 400mil SDIP c Dimension in Millimeters Min Nom Max — — 5.08 0.51 — — — 3.8 — 0.35 0.45 0.55 0.9 1.0 1.3 0.63 0.73 1.03 0.22 0.27 0.34 27.8 28.0 28.2 8.75 8.9 9.05 — 1.778 — — 10.16 — 3.0 — — — 0° 15° e1 32P4B M54679SP Package Dimensions E Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. Notes regarding these materials 1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party. 2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor home page (http://www.renesas.com). 4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. 6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials. 7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. 8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein. http://www.renesas.com RENESAS SALES OFFICES Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500 Fax: <1> (408) 382-7501 Renesas Technology Europe Limited. Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, United Kingdom Tel: <44> (1628) 585 100, Fax: <44> (1628) 585 900 Renesas Technology Europe GmbH Dornacher Str. 3, D-85622 Feldkirchen, Germany Tel: <49> (89) 380 70 0, Fax: <49> (89) 929 30 11 Renesas Technology Hong Kong Ltd. 7/F., North Tower, World Finance Centre, Harbour City, Canton Road, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2375-6836 Renesas Technology Taiwan Co., Ltd. FL 10, #99, Fu-Hsing N. Rd., Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999 Renesas Technology (Shanghai) Co., Ltd. 26/F., Ruijin Building, No.205 Maoming Road (S), Shanghai 200020, China Tel: <86> (21) 6472-1001, Fax: <86> (21) 6415-2952 Renesas Technology Singapore Pte. Ltd. 1, Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 © 2003. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon 1.0