M54679FP 2-Phase Stepper Motor Driver REJ03F0047-0100Z Rev.1.0 Sep.19.2003 Description The M54679FP is a semiconductor integrated circuit designed for stepper motor driver used to Printer, PPC and Facsimile. Features • Wide supply voltage sphere (10 – 35V). • Bipolar, constant current PWM function. • (Top side 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 change function (2 bits, 4 type currents). • Thermal protection circuit. • Include flywheel diodes. Application Printer, PPC and Facsimile. Function The M54679FP is a semiconductor integrated circuit which can drive two 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 include two current control circuits. Rev.1.0, Sep.19.2003, page 1 of 12 M54679FP Pin Configuration N.C 1 42 P.GND 2 41 N.C Out1A 3 40 Out2A Out1B 4 39 Out2B RS1 5 38 Rs2 S1 6 37 S2 Vm1 7 36 Vm2 8 35 9 34 GND 11 12 M54679FP 10 33 32 GND 31 13 30 14 29 VCC 15 28 Ph1A 16 27 Ph2A Ph1B 17 26 Ph2B Stby 18 25 Fref Vref 19 24 Regout I0(1) 20 23 I0(2) I1(1) 21 22 I1(2) Outline 42P9R-A Rev.1.0, Sep.19.2003, page 2 of 12 N.C N.C: no connection M54679FP Block Diagram Out1B Vm1 Out1A Out2A Vm2 Out2B Ph1A Ph2A P.GND 1.25V Regout (3.5V) 18K VCC P.GND Spike current cancel Current comp1 10K Ph2B Logic Logic Logic Source PWM Logic Source PWM Ph1B R Q FF1 S Q R FF2 S Spike current cancel Current comp2 Vref I0(1) Frequency Generator TSD VTH I0(2) VTL I1(1) Rs1 S1 Stby I1(2) VTM Standby P.GND Fref GND S2 RS2 Pin Function Terminal Symbol Function Motor Supply Voltage Vm1, Vm2 Power supply for motor drive. Output terminals Current sensor Out1A, Out1B, Out2A, Out2B Rs1, Rs2 Motor drive output terminals. Output current sensing resistor (Rs) connection terminals. Power supply Phase input VCC Ph1A, Ph1B, Ph2A, Ph2B Control circuit power supply. Output current direction switch terminals. Output current change Standby input I0(1), I1(1), I0(2), I1(2) Stby Output current change (100%, 70%, 33%, 0%) terminals. Standby input (L: Standby, H or open: motor function) terminal. Sense inputs Vref input S1, S2 Vref Input voltage terminal of comparators. Reference voltage due to setting output current. Output of voltage stabilizer A capacitor for oscillator Regout Fref Output of voltage stabilizer (3.5V). A capacitor due to PWM carrier frequency. Power GND P.GND The GND terminal of bottom side flywheel diodes. Rev.1.0, Sep.19.2003, page 3 of 12 M54679FP Absolute Maximum Ratings (Ta = 25°C unless otherwise noted.) Parameter Symbol Ratings Units Motor supply voltage Vm -0.3 – 37 V Condition Output current Power supply Iout VCC ±0.8 -0.3 – 7.0 A V Per one phase Logic input voltage Analog input voltage Vlogic Vanalog -0.3 – VCC -0.3 – VCC V V Ph1A, Ph1B, Ph2A, Ph2B, I0, I1, Stby Vref, S1, S2 Output current sensing Power dissipation VRs Pd 1.5 2.7 V W Rs1, Rs2 Under board mount condition. Thermal derating Junction temperature Kθ Tj 46 150 °C/W °C Operating temperature Storage temperature Topr Tstg -20 – 75 -40 – 125 °C °C Thermal Derating 6.0 (watts) Power Dissipation (Pdp) 5.0 4.0 Using J-type board 2.7 watts 3.0 2.0 1.0 0 25 50 75 100 125 Ambient Temperature 150 (°C) Recommended Operating Conditions Limits Parameter Symbol Min. Typ. Max. Unit Power supply Vcc 4.5 5.0 5.5 V Motor supply voltage Output current Vm Iout 10 50 35 800 V mA Rising time of logic inputs Falling time of logic inputs tPLH tPHL 2.0 2.0 µS µS PWM ON time PWM OFF time Ton Toff 5.0 5.0 50 50 µS µS Thermal shut down TSDon 160 °C Rev.1.0, Sep.19.2003, page 4 of 12 M54679FP Electrical characteristics (Ta = 25°C, VCC = 5.0V, VM = 24V unless otherwise noted.) Control Circuit Limits Parameter Symbol Min. Typ. Max. Supply current ICC1 ICC2 39 20 56 27 73 40 ICC3 Vlogic H 2.0 2.4 4.0 6.0 Vcc V Phase terminal input current Vlogic L I(Ph) H 0 0.6 10 µA Vin = 5V I0, I1 terminals input current I(Ph) L I(I0, I1) H –20 –3.0 10 µA Vin = 0V Vin = 5V I(I0, I1) L I(Stby) H –400 –300 10 µA Vin = 0V Vin = 5V I(Stby) L I(S) –400 –20 –300 –3.0 5.0 µA Vin = 0V S1 or S2 terminals input current (S1 or S2 = 0V, Vref = 5V). Logic input voltage (Ph, I1, I0, Stby terminals) Standby terminal input current Current sensing Comparators input current Unit Conditions mA Stby = H, Ph*A = H, Ph*B = L (Bridge ON) Stby = H, Ph*A = Ph*B (Bridge OFF) Stby = L (Standby condition) Current sensing Comparators input voltage sphere Vref input current V(S) 0 VCH(H) V S1 or S2 terminal input voltage sphere I(Vref) 500 650 µA Input current of Vref (Vref = 5V, I0 = I1 = 0V) Vref input voltage sphere Oscillation frequency of Fref V(Vref) FC 0 20 30 Vcc 40 V kHz C = 390pF, Fref terminal oscillation Voltage stabilizer output Current sensing Comparators threshold voltage Vreg VCH(H) 3.35 475 3.50 500 3.65 525 V mV Iout = -0.1mA – +1mA I0 = L, I1 = L, Vref = 5V (Vref/10*100%) VCH(M) VCH(L) 325 139 350 155 375 171 mV mV I0 = H, I1 = L, Vref = 5V (Vref/10*70%) I0 = L, I1 = H, Vref = 5V (Vref/10*33%) Output Circuit (Ta = 25°C, VCC = 5.0V, VM = 24V unless otherwise noted.) Limits Parameter Symbol Min. Typ. Max. Unit Conditions Output saturation voltage Vsat Output leakage current VF of flywheel diode (Top) Ileak VF(H) 1.6 2.2 V Top and Bottom at Load current 0.6A. –100 1.7 +100 2.3 µA V If = 0.6A VF of flywheel diode (Bottom) Turn ON delay of output VF(L) tdon 1.1 0.5 1.5 2.0 V µS If = 0.6A Time until output become ON since S > Vref Turn OFF delay of output tdoff 2.0 3.5 µS Time until output become OFF since S < Vref Rev.1.0, Sep.19.2003, page 5 of 12 M54679FP Function Explanation 1. Ph inputs make a decision the output function. Ph*A Ph*B Out*A Out*B L L OFF OFF H L H L L H H H L OFF H OFF * : 1 or 2 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=5V) L L 100% 500mV H L L H 70% 30% 350mV 155mV H H 0% 3. Equivalent circuit of Vref terminal. The equivalent circuit of Vref terminal is shown in right circuit. As Vref terminal needs typical 500µA input current, consider this value when Vref voltage is set. 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. Vref 18k 3.5k 0.68k 2k I0 I1 Rev.1.0, Sep.19.2003, page 6 of 12 M54679FP 5. Oscillation circuit. External capacitor is charged and discharged by the constant current and a triangular waveform appears to Vref terminal. The waveform voltage level is shown in right figure. This triangular waveform is a carrier frequency of PWM circuit. The carrier frequency change if this external capacitor value is changed. M54679FP is designed that the oscillation frequency is 30kHz if the external capacitor value is 390pF. The oscillation frequency is in inverse proportion to the value of a external capacitor. 2.5V 0.5V 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. M54679FP 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 are shut off during 2ms since the output power transistors go to ON. 7. Ph signal delay circuit. M54679FP 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. M54679FP has a voltage stabilizer of 3.5V. 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.0mA (source current), 0.1mA (sink current). 10. Setting output current. As the output circuit of M54679FP is designed by the bipolar type NPN transistors, the current that go through the motor coil is smaller about 15mA (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. Rev.1.0, Sep.19.2003, page 7 of 12 M54679FP 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. VM ON OFF Iout VCC MB MA ON OFF Ib = 15mA (Typ.) RS Rev.1.0, Sep.19.2003, page 8 of 12 Iout = IRS - Ib M54679FP 12. Output current timing chart under Ph inputs and I0, I1 output conditions. Under output current wave forms show the current that a motor driver is going to control, so these do not show the actual current wave forms. Torque vector B <4 steps function> (1) Ph1A Ph1B Ph2A Ph2B I0(1),I0(2) I1(1),I1(2) (2) (3) (4) AB AB 100% (2) (1) L L A 0% A 100% Output current 1 (Current of Phase 1) Output current 2 (Current of Phase 2) (3) A B 100% 100% 100% (4) B AB BA B <8 steps function> B 1 2 3 4 5 6 7 8 Ph1A Ph1B Ph2A Ph2B I0(1),I0(2) AB AB 100% 70% 2 I1(1),I1(2) A Output current 1 (Current of Phase 1) 0% 3 1 5 7 4 A B Output current 2 (Current of Phase 2) A 8 A 6 B BA AB B <16 steps function> 1 2 3 4 5 Ph1A Ph1B Ph2A Ph2B I0(1) 6 7 8 9 B 10 11 12 13 14 15 16 100% 70% 31% 0% I1(2) Output current 2 (Current of Phase 2) Rev.1.0, Sep.19.2003, page 9 of 12 4 3 2 5 I1(1) I0(2) Output current 1 (Current of Phase 1) AB AB A A 1 6 16 15 8 14 7 9 13 10 A B 11 AB B A 12 BA B M54679FP 13. Inputs terminals. Symbol Equivalent circuit of the circumstance of input terminals. Remarks VCC 18 20 21 23 22 pin: Stby pin: I0(1) pin: I1(1) pin: I0(2) pin: I1(2) 1K VCC 16 17 27 26 pin: Ph1A pin: Ph1B pin: Ph2A pin: Ph2B 1K VCC 6 37 pin: S1 pin: S2 VCC 19 pin: Vref Rev.1.0, Sep.19.2003, page 10 of 12 I0(1) I0(2) I1(1) I1(2) M54679FP Symbol Equivalent circuit of the circumstance of input terminals. Remarks VCC Fref Fref Application Circuit STEPPER MOTOR M 0.5 – 1.0Ω Rrs1 Vm 1 N.C N.C 42 2 P.GND N.C 41 3 Out1A Out2A 40 4 Out1B Out2B 39 5 Rs1 Rs2 38 6 S1 S2 37 7 Vm1 Vm2 9 34 GND 12 M54679FP 35 11 33 GND 32 31 13 30 29 14 VCC Rrs2 36 8 10 0.5 – 1.0Ω 15 VCC input 16 Ph1A Ph2A 27 input input 17 Ph1B Ph2B 26 input input 18 Stby Fref 25 19 Vref Regout 24 input 20 I0(1) I0(2) 23 input input 21 I1(1) I1(2) 22 input Rev.1.0, Sep.19.2003, page 11 of 12 28 390pF Rev.1.0, Sep.19.2003, page 12 of 12 G Z1 E HE e 1 42 z EIAJ Package Code HSSOP42-P-450-0.8 y Detail G D b 21 22 JEDEC Code — x M A Weight(g) — F Detail F A2 Lead Material Cu Alloy L1 c A1 A A1 A2 b c D E e HE L L1 z Z1 x y Symbol b2 e1 I2 b2 Dimension in Millimeters Min Nom Max — — 2.2 0 0.1 0.2 — 2.0 — 0.27 0.32 0.37 0.23 0.25 0.3 17.3 17.5 17.7 8.2 8.4 8.6 — 0.8 — 11.63 11.93 12.23 0.3 0.5 0.7 — 1.765 — — — 0.75 — 0.9 — — — 0.16 — — 0.1 0˚ — 10˚ — 0.5 — — 11.43 — — 1.27 — Recommended Mount Pad e Plastic 42pin 450mil HSSOP e1 MMP L l2 42P9R-A M54679FP Package Dimensions 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