February 1999 PBL 3775/1 Dual Stepper Motor Driver Description Key Features The PBL 3775/1 is a switch-mode (chopper), constant-current driver IC with two channels, one for each winding of a two-phase stepper motor. The circuit is similar to Ericsson´s PBL 3773/1. While several of Ericsson´s dual stepper motor drivers are optimized for micro-stepping applications, PBL 3775/1 is equipped with a disable input to simplify half-stepping operation. The PBL 3775/1 contains a clock oscillator, which is common for both driver channels, a set of comparators and flip-flops implementing the switching control, and two output H-bridges, including recirculation diodes. Voltage supply requirements are + 5 V for logic and + 10 to + 45 V for the motor. The close match between the two driver channels guarantees consistent output current ratios and motor positioning accuracy. • Dual chopper driver in a single package. • Operation down to -40°C. • 750 mA continuous output current per channel. • Low power dissipation, 2.0 W at 2 x 500 mA output current. • Close matching between channels for high microstepping accuracy. • Digital filter on chip eliminates external filtering components. E1 C1 37 Dis1 VR1 B L Phase 1 75 /1 • Plastic 22-pin batwing DIL package, 24-pin SOIC batwing or 28-pin power PLCC. All with lead-frame for heatsinking through PC board copper. VCC P PBL 3775/1 – V CC + R S Q M A1 L B /1 P 75 37 M B1 Logic V MM1 + V MM2 75 /1 – RC + – Phase 2 Figure 1. Block diagram Dis 2 V R2 C2 S R GND L PB M A2 37 M B2 Logic Q E2 28-pin PLCC package 22-pin plastic DIP package 24-pin SO package PBL 3775/1 Maximum Ratings Parameter Pin No. (DIP) Symbol Min Max Unit Voltage Logic supply Motor supply Logic inputs Analog inputs 12 4, 19 9, 10, 13, 14 7, 8, 15, 16 VCC VMM VI VA 0 0 -0.3 -0.3 7 45 6 VCC V V V V Current Motor output current Logic inputs Analog inputs 1, 3, 20, 22 9, 10, 13, 14 7, 8, 15, 16 IM II IA -850 -10 -10 +850 mA mA mA Temperature Operating junction temperature Storage temperature TJ TS -40 -55 +150 +150 °C °C Power Dissipation (Package Data) Power dissipation at TBW = +25°C, DIP and PLCC package Power dissipation at TBW = +125°C, DIP package Power dissipation at TBW = +125°C, PLCC package PD PD PD 5 2.2 2.6 W W W Recommended Operating Conditions Parameter Symbol Min Typ Max Unit Logic supply voltage Motor supply voltage Output emitter voltage Motor output current Operating junction temperature Rise and fall time logic inputs Oscillator timing resistor VCC VMM VE IM TJ tr,, tf RT 4.75 10 5 5.25 40 1.0 +750 +125 2 20 V V V mA °C µs kohm Phase 1 Dis 1 VR1 9 10 7 C1 E1 8 2 -750 -20 2 12 | V MA – V MB | PBL 3775/1 VCC I CC t on CC 12 + t off 50 % – V R S Q Logic 3 M A1 1 M B1 4 V MM1 19 V MM2 22 M B2 t VE ( I M ) td 12 kW + RT I MM V – R Logic I RC RC 11 + – S R 20 M A2 IM I OL Q 4 700 pF t VCC CT 14 Phase 2 II I IH I IL IR IA 13 16 Dis 2 V R2 V V VA VRC C2 GND V 21 tb RC E2 IA VCH IH 5, 6, 17, 18 IC VI V 15 VM VE C V V MA V MM V IL R t A RS 1 fs = t + t on off Figure 2. Definition of symbols. 2 D= Figure 3. Definition of terms. ton ton + t off PBL 3775/1 Electrical Characteristics Electrical characteristics over recommended operating conditions, unless otherwise noted. - 20° C ≤ Tj ≤ + 125° C. Parameter Ref. Symbol fig. Conditions General Supply current Supply current Total power dissipation ICC ICC PD 2 2 8 Total power dissipation PD 8 Thermal shutdown junction temperature Turn-off delay td 3 Note 4. Dis1= Dis2= HIGH. VMM= 24 V, IM1= IM2= 500 mA. Notes 2, 3, 4. VMM= 24 V, IM1= 700 mA, IM2= 0 mA. Notes 2, 3, 4. TA = +25°C, dVC/dt ≥ 50 mV/µs, IM = 100 mA. Note 3. Logic Inputs Logic HIGH input voltage Logic LOW input voltage Logic HIGH input current Logic LOW input current VIH VIL IIH IIL 2 2 2 2 Analog Inputs Threshold voltage Input current |VC1—VC2| mismatch VCH IA VCdiff 2 2 2 VR=5 V VR= 5 V Motor Outputs Lower transistor saturation voltage Lower transistor leakage current Lower diode forward voltage drop Upper transistor saturation voltage Upper diode forward voltage drop Upper transistor leakage current 10 2 11 12 13 2 Chopper Oscillator Chopping frequency Digital filter blanking time 3 3 fs tb Min Typ Max Unit 55 7 2.0 70 10 2.3 mA mA W 1.7 2.0 W 160 1.1 2.0 °C µs 2.0 VI = 2.4 V VI = 0.4 V 0.6 20 V V µA mA -0.2 -0.1 480 500 500 1 520 mV µA mV IM = 500 mA VMM=41 V,TA = +25°C. Dis1= Dis2= HIGH. IM = 500 mA IM = 500 mA. IM = 500 mA. VMM=41 V,TA = +25°C. Dis1= Dis2= HIGH.. 0.4 0.8 100 1.3 1.4 1.4 100 V µA V V V µA CT = 4 700 pF, RT = 12 kohm CT = 4 700 pF. Note 3. 21.5 23.0 1.0 24.5 kHz µs Min Typ Max Unit 1.1 1.1 1.1 Thermal Characteristics Parameter Thermal resistance Ref. Symbol fig. Conditions RthJ-BW RthJ-A 14 RthJ-BW RthJ-A 14 Rthj-c DIL package. DIL package. Note 2. PLCC package. PLCC package. Note 2. SO package 11 40 9 35 13 °C/W °C/W °C/W °C/W °C/W Rthj-a SO package 42 °C/W Notes 1. All voltages are with respect to ground. Currents are positive into, negative out of specified terminal. 2. All ground pins soldered onto a 20 cm2 PCB copper area with free air convection, TA = + 25° C. 3. Not covered by final test program. 4. Switching duty cycle D = 30 %, fs = 23.0 kHz. 3 19 VMM2 GND 5 18 GND C1 8 16 Dis2 C1 9 15 Phase2 Phase1 10 Dis1 11 14 C2 RC 12 13 Vcc VR1 7 Phase 1 9 VMM2 GND GND GND GND VR2 C2 2 1 28 27 26 23 VCC M B1 8 17 GND 16 V R2 PBL 3775/1QN 22 RC GND 9 21 Dis 1 E1 10 20 Phase1 M A1 11 19 C1 15 C 2 14 Phase 2 Dis1 10 13 Dis2 RC 11 12 VCC VR1 18 GND PBL 3775/1N Dis 2 M B2 7 GND 17 18 17 VR2 VR1 8 GND 6 Phase 2 24 GND 16 19 GND 25 E2 6 GND 15 PBL 3775/1SO 20 VMM2 MA2 5 GND 14 GND 7 VMM1 4 21 MA2 MA1 4 GND 6 20 MA2 GND 13 22 E2 E1 3 21 E 2 MA1 3 23 MB2 MB1 2 VMM1 5 E1 2 24 NC VMM1 12 NC 1 22 MB2 3 MB1 1 4 PBL 3775/1 Figure 4. Pin configuration. Pin Description SO DIP PLCC Symbol Description 2 3 4 5 6,7 18,19 1 2 3 4 5, 6, 17, 18 MB1 E1 MA1 VMM1 GND 8 7 [8] [10] [11] [12] [1-3, 9, 13-17, 28] [18] 9 8 [19] C1 10 9 [20] 11 10 [21] Dis1 12 11 [22] RC 13 14 12 13 [23] [24] VCC Dis2 15 14 [25] 16 15 [26] C2 17 16 [27] VR2 20 21 22 23 1,24 19 20 21 22 [4] [5] [6] [7] VMM2 MA2 E2 MB2 NC Motor output B, channel 1. Motor current flows from MA1 to MB1 when Phase1 is HIGH. Common emitter, channel 1. This pin connects to a sensing resistor RS to ground. Motor output A, channel 1. Motor current flows from MA1 to MB1 when Phase1 is HIGH. Motor supply voltage, channel 1, +10 to +40 V. VMM1 and VMM2 should be connected together. Ground and negative supply. Note: these pins are used thermally for heat-sinking. Make sure that all ground pins are soldered onto a suitably large copper ground plane for efficient heat sinking. Reference voltage, channel 1. Controls the comparator threshold voltage and hence the output current. Comparator input channel 1. This input senses the instantaneous voltage across the sensing resistor, filtered by the internal digital filter or an optional external RC network. Phase1 Controls the direction of motor current at outputs MA1 and MB1. Motor current flows from MA1 to MB1 when Phase1 is HIGH. Disable input for channel 1. When HIGH, all four output transistors are turned off, which results in a rapidly decreasing output current to zero. Clock oscillator RC pin. Connect a 12 kohm resistor to VCC and a 4 700 pF capacitor to ground to obtain the nominal switching frequency of 23.0 kHz and a digital filter blanking time of 1.0µs. Logic voltage supply, nominally +5 V. Disable input for channel 2. When HIGH, all four output transistors are turned off, which results in a rapidly decreasing output current to zero. Phase2 Controls the direction of motor current at outputs MA2 and MB2. Motor current flows from MA2 to MB2 when Phase2 is HIGH. Comparator input channel 2. This input senses the instantaneous voltage across the sensing resistor, filtered by the internal digital filter or an optional external RC network. Reference voltage, channel 2. Controls the comparator threshold voltage and hence the output current. Motor supply voltage, channel 2, +10 to +40 V. VMM1 and VMM2 should be connected together. Motor output A, channel 2. Motor current flows from MA2 to MB2 when Phase2 is HIGH. Common emitter, channel 2. This pin connects to a sensing resistor RS to ground. Motor output B, channel 2. Motor current flows from MA2 to MB2 when Phase2 is HIGH. SO pin 1 & 24 is "Not Connected" 4 VR1 PBL 3775/1 Functional Description Each channel of the PBL 3775/1 consists of the following sections: an output H-bridge with four transistors and four recirculation diodes, capable of driving up to 750 mA continuous current to the motor winding, a logic section that controls the output transistors, an S-R flip-flop, and a comparator. The clock-oscillator is common to both channels. Constant current control is achieved by switching the output current to the windings. This is done by sensing the peak current through the winding via a current-sensing resistor RS, effectively connected in series with the motor winding. As the current increases, a voltage develops across the sensing resistor, which is fed back to the comparator. At the predetermined level, defined by the voltage at the reference input VR, the comparator resets the flipflop, which turns off the upper output transistor. The turn-off of one channel is independent of the other channel. The current decreases until the clock reference voltage will produce an output current of approximately 500 mA. RS should be selected for maximum motor current. Be sure not to exceed the absolute maximum output current which is 850 mA. Chopping frequency, winding inductance and supply voltage also affect the current, but to much less extent. For accurate current regulation, the sensing resistor should be a 0.5 - 1.0 W precision resistor, i. e. less than 1% tolerance and low temperature coefficient. oscillator triggers the flip-flops of both channels simultaneously, which turns on the output transistors again, and the cycle is repeated. To prevent erroneous switching due to switching transients at turn-on, the PBL 3775/1 includes a digital filter. The clock oscillator provides a blanking pulse which is used for digital filtering of the voltage transient across the current sensing resistor during turn-on. The current paths during turn-on, turnoff and phase shift are shown in figure 5. Applications Information Current sense filtering Current control At turn-on a current spike occurs, due to the recovery of the recirculation diodes and the capacitance of the motor winding. To prevent this spike from reseting the flip-flops through the current sensing comparators, the clock oscillator generates a blanking pulse at turn-on. The blanking pulse pulse disables the comparators for a short time. Thereby any voltage transient across the sensing resistor will be ignored during the blanking time. The regulated output current level to the motor winding is determined by the voltage at the reference input and the value of the sensing resistor, RS. The peak current through the sensing resistor (and the motor winding) can be expressed as: IM,peak = 0.1•VR / RS [A] With a recommended value of 0.5 ohm for the sensing resistor RS, a 2.5 V V MM +5 V V MM 1 + 0.1 µF 0.1 µF 12 V 9 V R1 14 MA1 3 MB1 1 MA2 Dis 2 16 MB2 V R2 RC GND 11 Motor Current MM2 PBL 3775/1 Phase 2 13 RS MM1 Dis1 7 3 CC 19 V Phase 1 10 2 4 V +5 V 12 kΩ 5, 6, 17, 18 C1 8 E1 2 C2 15 E2 21 4 700 pF 1 2 RS 3 0.47 Ω GND (VCC ) Fast Current Decay 10 µF RS 20 22 STEPPER MOTOR Pin numbers refer to DIL package. 0.47 Ω GND (V MM ) Time Slow Current Decay Figure 5. Output stage with current paths during turn-on, turn-off and phase shift. Figure 6. Typical stepper motor driver application with PBL 3775/1. 5 PBL 3775/1 Choose the blanking pulse time to be longer than the duration of the switching transients by selecting a proper CT value. The time is calculated as: tb = 210 • CT [s] As the CT value may vary from approximately 2 200 pF to 33 000 pF, a blanking time ranging from 0.5 µs to 7 µs is possible. Nominal value is 4 700 pF, which gives a blanking time of 1.0 µs. As the filtering action introduces a small delay, the peak value across the sensing resistor, and hence the peak motor current, will reach a slightly higher level than what is defined by the reference voltage. The filtering delay also limits the minimum possible output current. As the output will be on for a short time each cycle, equal to the digital filtering blanking time plus additional internal delays, an amount of current will flow through the winding. Typically this current is 1-10 % of the maximum output current set by RS. When optimizing low current performance, the filtering may be done by adding an external low pass filter in series with the comparator C input. In this case the digital blanking time should be as short as possible. The recommended filter component values are 10 kohm and 820 pF. Lowering the switching frequency also helps reducing the minimum output current. To create an absolute zero current, the Dis input should be HIGH. VCC Switching frequency VR (Reference) inputs The frequency of the clock oscillator is set by the timing components RT and CT at the RC-pin. As CT sets the digital filter blanking time, the clock oscillator frequency is adjusted by RT. The value of RT is limited to 2 - 20 kohm. The frequency is approximately calculated The Vref inputs of the PBL 3775/1 have a voltage divider with a ratio of 1 to 10 to reduce the external reference voltage to an adequate level. The divider consists of closely matched resistors. Nominal input reference voltage is 5 V. Interference as: fs = 1 / ( 0.77 • RT • CT) Nominal component values of 12 kohm and 4 700 pF results in a clock frequency of 23.0 kHz. A lower frequency will result in higher current ripple, but may improve low level linearity. A higher clock frequency reduces current ripple, but increases the switching losses in the IC and possibly the iron losses in the motor. Phase inputs A logic HIGH on a Phase input gives a current flowing from pin MA into pin MB. A logic LOW gives a current flow in the opposite direction. A time delay prevents cross conduction in the H-bridge when changing the Phase input. Dis (Disable) inputs A logic HIGH on the Dis inputs will turn off all four transistors of the output Hbridge, which results in a rapidly decreasing output current to zero. (+5 V) V MM + 4x 10 kΩ 0.1 µF 0.1 µF 10 µF 16 Direction Step Half/Full Step 6 7 10 11 8 V DIR STEP HSM 12 CC P A1 P B1 7 2 14 13 B 9 Ø A V 9 10 PBD 3517/1 INH Ø 4 GND 16 3 4 V CC 19 V MM1 MM2 Phase 1 Dis 1 V R1 MA1 3 MB1 1 PBL 3775/1 MA2 Phase 2 Dis 2 V R2 RC GND 11 12 kΩ 5, 6, 17, 18 MB2 C1 8 E1 2 C2 15 E2 21 4 700 pF GND (V CC ) RS RS 1.0 Ω 1.0 Ω 20 22 STEPPER MOTOR Pin numbers refer to DIL package. GND (V MM ) Figure 7. Half stepping system where PBD 3517/1 is used as controller circuit in order to generate the necessary sequence to the PBL 3775/1. 6 to follow: • Use separate ground leads for power ground (the ground connection of RS), the ground leads of PBL 3775/1, and the ground of external analog and digital circuitry. The grounds should be connected together close to the GND pins of PBL 3775/1. • Decouple the supply voltages close to the PBL 3775/1 circuit. Use a ceramic capacitor in parallel with an electrolytic type for both VCC and VMM. Route the power supply lines close together. • Do not place sensitive circuits close to the driver. Avoid physical current loops, and place the driver close to both the motor and the power supply connector. The motor leads could preferably be twisted or shielded. Motor selection + 4.7 µF Due to the switching operation of PBL 3775/1, noise and transients are generated and might be coupled into adjacent circuitry. To reduce potential interference there are a few basic rules The PBL 3775/1 is designed for twophase bipolar stepper motors, i.e. motors that have only one winding per phase. The chopping principle of the PBL 3775/1 is based on a constant frequency and a varying duty cycle. This scheme imposes certain restrictions on motor selection. Unstable chopping can occur if the chopping duty cycle exceeds approximately 50 %. See figure 3 for definitions. To avoid this, it is necessary to choose a motor with a low winding resistance and inductance, i.e. windings with a few turns. It is not possible to use a motor that is rated for the same voltage as the actual supply voltage. Only rated current needs to be considered. Typical motors to be used together with the PBL 3775/1 have a voltage rating of 1 to 6 V, while the supply voltage usually ranges from 12 to 40 V. PBL 3775/1 PD (W) Maximum allowable power dissipation [W] 6 3.0 5 els on o Tw One 0 0 pe ra tu re 2 nn 1.0 m ture pera tem Figure 15 shows the different input and output sequences for full-step, half-step and modified halfstep operations. Fullstep mode. Both windings are energized at all the time with the same current, IM1 = IM2. To make the motor take one step, the current direction (and the magnetic field direction) in one phase is reversed. The next step is then taken when the other phase current reverses. The current changes go through a sequence of four different states which equal four full steps until the initial state is reached again. te pin ing Programming nt a ch 1 0.20 l on nne cha 0 -25 0 25 50 75 100 125 150 Temperature [°C] 0.40 0.60 0.80 PLCC package DIP package I M (A) Figure 8. Power dissipation vs. motor current.Ta = 25°C. All ground pins soldered onto a 20 cm2 PCB copper area with free air convection. Figure 9. Maximum allowable power dissipation. Vd, ld (V) VCE Sat (V) 1.2 1.2 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 0 0 0 0.20 0.40 0.60 0.80 0 0.20 I M (A) Thermal shutdown The circuit is equipped with a thermal shutdown function that turns the outputs off at a chip (junction) temperature above 160° C. Normal operation is resumed when the temperature has decreased about 20° C. bie 3 Heat sinking PBL 3775/1 is a power IC, packaged in a power DIP,SO or PLCC package. The ground leads of the package (the batwing) are thermally connected to the chip. External heatsinking is achieved by soldering the ground leads onto a copper ground plane on the PCB. Maximum continuous output current is heavily dependent on the heatsinking and ambient temperature. Consult figures 8, 9 and 14 to determine the necessary heatsink, or to find the maximum output current under varying conditions. A copper area of 20 cm2 (approx. 1.8” x 1.8”), copper foil thickness 35 µm on a 1.6 mm epoxy PCB, permits the circuit to operate at 2 x 450 mA output current, at ambient temperatures up to 85° C. Am 4 2.0 Batw Low inductance, especially in combination with a high supply voltage, enables high stepping rates. However, to give the same torque capability at low speed, the reduced number of turns in the winding in the low resistive, low inductive motor must be compensated by a higher current. A compromise has to be made. Choose a motor with the lowest possible winding resistance and inductance, that still gives the required torque, and use as high supply voltage as possible, without exceeding the maximum recommended 40 V. Check that the chopping duty cycle does not exceed 50 % at maximum current. 0.40 0.60 0.80 I M (A) Figure 10. Typical lower transistor saturation voltage vs. output current. Figure 11. Typical lower diode voltage drop vs. recirculating current. VCE Sat (V) Vd, ud (V) 1.2 1.2 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 0 0 0 0.20 0.40 0.60 0.80 I M (A) Figure 12. Typical upper transistor saturation voltage vs. output current. 0 0.20 0.40 0.60 0.80 I M (A) Figure 13. Typical upper diode voltage drop vs. recirculating current. 7 PBL 3775/1 Thermal resistance [°C/W] 80 16-pin DIP 70 60 50 40 20-pin SO 30 20 5 10 15 20 25 30 35 PCB copper foil area [cm 2 ] 28-pin PLCC PLCC package DIP package Figure 14. Typical thermal resistance vs. PC Board copper area and suggested layout. Phase 1 Dis 1 Phase 2 Dis 2 V R1 140% 100% V R2 140% 100% I MA1 140% 100% –100% –140% I MA2 140% 100% –100% –140% Full step mode Half step mode Figure 15. Stepping modes. Information given in this data sheet is believed to be accurate and reliable. However no responsibility is assumed for the consequences of its use 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 Ericsson Components. These products are sold only according to Ericsson Components' general conditions of sale, unless otherwise confirmed in writing. Specifications subject to change without notice. 1522-PBL 3775/1 Uen Rev. F © Ericsson Components AB 1999 Ericsson Components AB SE-164 81 Kista-Stockholm, Sweden Telephone: +46 8 757 50 00 8 Half-step mode. In the half-step mode, the current in one winding is brought to zero before a complete current reversal is made. The motor will then have taken two half steps equalling one full step in rotary movement. The cycle is repeated, but on the other phase. A total of eight states are sequenced until the initial state is reached again. Half-step mode can overcome potential resonance problems. Resonances appear as a sudden loss of torque at one or more distinct stepping rates and must be avoided so as not to loose control of the motor´s shaft position. One disadvantage with the half-step mode is the reduced torque in the half step positions, in which current flows through one winding only. The torque in this position is approximately 70 % of the full step position torque. Modified half-step mode.The torque variations in half step mode will be eliminated if the current is increased about 1.4 times in the halfstep position. A constant torque will further reduce resonances and mechanical noise, resulting in better performance, life expectancy and reliability of the mechanical system. Modifying the current levels must be done by bringing the reference voltage up (or down) from its nominal value correspondingly. This can be done by using DACs or simple resistor divider networks. The PBL 3775/1 is designed to handle about 1.4 times higher current in one channel on mode, for example 2 x 500 mA in the full-step position, and 1 x 700 mA in the half-step position. Modified half step mode Ordering Information Package DIP Tube PLCC Tube PLCC Tape & Reel SO Tube SO Tape & Reel Part No. PBL 3775/1NS PBL 3775/1QNS PBL 3775/1QNT PBL 3775/1SOS PBL 3775/1SOT