LSI/CSI UL LS7280 LS7282 LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 ® A3800 (631) 271-0400 FAX (631) 271-0405 - PRELIMINARY - January 2005 BRUSHLESS DC MOTOR COMMUTATOR/CONTROLLER • • • • • • • 120°, 240°, or 300° electrical sensor spacing. Three-phase or four-phase operation Analog Speed control Direction control Output Enable control Positive Static Braking Overcurrent Sensing LS7280, LS7282 (DIP); LS7280-S, LS7282-S (SOIC); LS7280-TS, LS7282-TS (TSSOP) - See Connection Diagram - DESCRIPTION: The LS7280/LS7282 are MOS integrated circuits designed to generate the signals necessary to control a three phase or four phase brushless DC motor. They are the basic building blocks of a brushless DC motor controller. The circuits respond to changes at the SENSE inputs, originating at the motor position sensors, to provide electronic commutation of the motor windings. Pulse Width Modulation of outputs for motor speed control is accomplished through either the ENABLE input or through the Analog input (VTRIP) in conjunction with the OSCILLATOR input. Overcurrent circuitry is provided to protect the windings, associated drivers and power supply. The overcurrent circuitry causes the external output drivers to switch off immediately upon sensing the overcurrent condition and on again only when the overcurrent condition disappears and the positive edge of either the ENABLE input or the sawtooth OSCILLATOR occurs. This limits the overcurrent sense cycling to the chopping rate of the ENABLE input or the sawtooth OSCILLATOR. A positive braking feature is provided to effect rapid deceleration. While the LS7282 is designed for driving NPN and PNP transistors (See Fig. 2), the LS7280 is designed to drive both NMOS and PMOS Power FETs and develops a full 12V drive for both the N-Channel and P-Channel devices (See Fig. 1) when using a 12V power supply. 7280-011705-1 CONNECTION DIAGRAM - TOP VIEW CS1 1 OUT 1 LSI FEATURES: • Direct drive of P-Channel and N-Channel FETs (LS7280) • Direct drive of PNP and NPN transistors (LS7282) • Six outputs drive power switching bridge directly • Open or closed loop motor speed control. • +5V to +40V operation (VDD - VSS) • Externally selectable input to output code for 60°, 20 CS2 2 19 FWD/REV OUT 2 3 18 V SS (-V) OUT 3 4 17 S3 COMMON 5 16 S2 OUT 4 6 15 S1 OUT 5 7 14 OSCILLATOR OUT 6 8 13 V TRIP BRAKE 9 12 OVERCURRENT SENSE ENABLE 10 11 V DD (+V) INPUT/OUTPUT DESCRIPTION: COMMUTATION SELECTS (Pins 1, 20) These inputs are used to select the proper sequence of outputs based on the electrical separation of the motor position sensors. See Table 3. Note that in all cases the external output drivers are disabled for invalid SENSE input codes. Internal pull down resistors are provided at Pins 1 and 20 causing a logic zero when these pins are left open. FORWARD/REVERSE (Pin 19) This input is used to select the proper sequence of Outputs for the desired direction of rotation for the Motor (See Table 3). An internal pull-up resistor holds the input high when left open. SENSE INPUTS (Pins 15, 16, 17) These inputs provide control of the output commutation sequence as shown in Table 3. S1, S2, S3 originate in the position sensors of the motor and must sequence in cycle code order. Hall Switch pull-up resistors are provided at Pins 15, 16 and 17. The positive supply of the Hall devices should be common to the chip VDD. BRAKE (Pin 9) For the LS7282, a high level at this input unconditionally turns off Outputs 1, 2 and 3 and turns on Outputs 4, 5 and 6 (See Fig. 2). For the LS7280, a high level at this input turns on Outputs 1, 2 and 3 and Outputs 4, 5 and 6 (See Fig. 1). In both cases, transistors Q101, Q102 and Q103 cut off and transistors Q104, Q105 and Q106 turn on, shorting the windings together. The BRAKE has priority over all other inputs. BRAKE (Pin 9) An internal pull-down resistor holds the input low when left open. (Center- tapped motor configuration requires a power supply disconnect transistor controlled by the BRAKE signal - See Figure 2A). The sawtooth waveform at the OSC input typically varies approximately from 0.4VDD to V DD - 2V. The purpose of the VTRIP input in conjunction with the OSCILLATOR is to provide variable speed adjustment for the motor by means of PWM. ENABLE (Pin 10) A high level at this input permits the output to sequence as in Table 3, while a low disables all external output drivers. An internal pull-up resistor holds the input high when left open. Positive edges at this input will reset the overcurrent flip-flop. OSCILLATOR (Pin 14) An R and C connected to this input (See Figure 6) provide the timing components for a sawtooth OSCILLATOR. The signal generated is used in conjunction with VTRIP to provide PWM for variable speed applications and to reset the overcurrent condition. OVERCURRENT SENSE (Pin 12) This input provides the user a way of protecting the motor winding, drivers and power supply from an overload condition. The user provides a fractional-ohm resistor between the negative supply and the common emitters of the NPN drivers or common sources of N-Channel FET drivers. This point is connected to one end of a potentiometer (e.g. 100k ohms), the other end of which is connected to the positive supply. The wiper pickoff is adjusted so that all outputs are disabled for currents greater than the limit. The action of the input is to disable all external output drivers. When BRAKE exists, OVERCURRENT SENSE will be overridden. The overcurrent circuitry latches the overcurrent condition. The latch may be reset by the positive edge of either the sawtooth OSCILLATOR or the ENABLE input. When using the ENABLE input as a chopped input, the OSC input should be held at VDD. When the ENABLE input is held high, the OSCmust be used to reset the overcurrent latch. OUTPUTS 1, 2, 3 (Pins 2, 3, 4) For the LS7282, these open drain Outputs are enabled as shown in Table 3 and provide base current to PNP transistors or gate drive to P-Channel FET drivers when COMMON is floating. If COMMON is held at V DD, these Outputs can provide drive to NPN transistors or N-Channel FET drivers. For the LS7280, these Outputs provide drive to P-Channel FET drivers if COMMON is held at VDD. VTRIP (Pin 13) This input is used in conjunction with the sawtooth OSC input. When the voltage level applied to VTRIP is more negative than the waveform at the OSC input, the Outputs will be enabled as shown in Table 3. When VTRIP is more positive than the sawtooth OSCILLATOR waveform the external output drivers are disabled. MAXIMUM RATINGS: PARAMETER DC Supply Voltage Any Input Voltage to VSS Storage Temperature Operating Temperature OUTPUTS 4, 5, 6 (Pins 6, 7, 8) These open drain Outputs are enabled as in Table 3 and provide base current to NPN transistors or gate drive to N-Channel FET drivers. COMMON (Pin 5) The COMMON may be connected to VDD when using a center-tapped motor configuration or when using all NPN or N-Channel drivers. For the LS7280, the COMMON is tied to VDD. VDD (Pin 11) Supply voltage positive terminal. VSS (Pin 18) Supply voltage negative terminal (ground). SYMBOL VDD - VSS Vin TSTG TA VALUE +40 +40 to -0.5 -65 to +150 -25 to +125 DC ELECTRICAL CHARACTERISTICS: (All Voltages Referenced to VDD, TA = 25°C unless otherwise specified) SYMBOL MIN Supply Voltage VDD 5 Supply Current (Outputs not loaded) IDD Input Specifications: BRAKE, ENABLE, CS1, CS2 S1, S2, S3, FWD/REV Voltage (Logic1) (Logic 0) Voltage (Logic1) (Logic 0) Voltage (Logic 1) (Logic 0) OVERCURRENT SENSE (See Note) Threshold Voltage 7280-121604-2 UNIT V V °C °C TYP 1.5 MAX 40 3 RIN - 150 - VIH VIL VIH VIL VIH VIL VDD - 1.5 0 VDD - 1.0 0 VDD - 1.5 0 - VDD VDD - 4.0 VDD VDD - 4.0 VDD VDD - 6.0 VTH (VDD/2) - 0.25 - UNIT V mA kΩ V V V V V V (VDD/2) + 0.25 V } 9 ≤ V ≤ 24 }V <9 } V > 24 DD DD DD Oscillator: Frequency Range External Resistor Range Fosc Rosc 0 22 1/RC - 100 1000 kHz kΩ NOTE: Theoretical switching point of the OVERCURRENT SENSE input is one half of the power supply determined by an internal bias network in manufacturing. Tolerances cause the switching point to vary plus or minus 0.25V. After manufacture, the switching point remains fixed within 10mV over time and temperature. The input switching sensivity is a maximum of 50mV. There is no hysteresis on the OVERCURRENT SENSE input. TYPICAL CIRCUIT OPERATION: The oscillator is used for motor speed control as explained under VTRIP. Both upper and lower motor drive transistors are pulse width modulated (See Fig. 1 or 2) during speed control. For the LS7282, the outputs turn on in pairs (See Table 3). For example (See dotted line, Fig. 2): Q8 and Q4 are on, thus enabling a path from the positive supply through the emitter-base junction of Q101, Q8, Q4, R5, the base emitter junction of Q105 and the fractional-ohm resistor to ground. The current in the above described path is determined by the power supply voltage, the voltage drops across the base-emitter junctions of Q101 and Q105 (1.4V for single transistor or 2.8V for Darlington pairs), the impedance of Q8 and Q4 and the value of R5. Table 1 provides the recommended value for R5. R4 and R6 are the same value. For the LS7280, (See Fig.1) the external drivers also turn on in pairs. Internal operation is somewhat different than the LS7282. For example, external transistors Q101 and Q105 will turn on when internal transistor Q8 turns off and Q4 turns on enabling full power supply drive on Q101 and Q105. Since Pin 5 is tied to V DD, the gate of Pchannel Driver Q101 is brought to ground by R1 and the Gate of N-Channel driver Q105 is brought to VDD by Q4. Other external output pairs turn on similarly and the commutation sequence is identical to that of the LS7282 (Table 3). Table 2 indicates the minimum value of R1 (= R2 = R3 = R4 = R5 = R6) needed as a function of output drive voltage for Fig. 1. TABLE 1. OUTPUT CURRENT LIMITING RESISTOR SELECTION TABLE 20mA 15mA 10mA 7.5mA 6V ** ** ** 5mA 2.5mA 2mA 1.5mA ** ** ** ** 1.3k 9V ** ** ** ** 0.62k 2.4k 3.3k 4.3k 12V ** ** 0.43k 1k 1.8k 3.9k 4.7k 6.2k 15V ** 0.47k 1k 1.6k 2.4k 5.1k 6.2k 8.2k 18V 0.15k 0.82k 1.5k 1.8k 3k 6.2k 7.5k 10k 21V 0.75k 1.1k 1.8k 2.4k 3.6k 7.5k 9.1k 12k 24V 0.91k 1.3k 2k 2.7k 4.3k 8.2k 11k 13k 28V 1.2k 1.6k 2.4k 3.3k 5.1k 10k 13k 16k 32V 1.3k 1.8k 2.7k 3.9k 5.6k 12k 15k 20k 36V 1.6k 2k 3.3k 4.3k 6.8k 13k 16k 22k 40V 1.8k 2.4k 3.6k 4.7k 7.5k 15k 18k 24k TABLE 2 For Power Supply 5V to 40V R1 (k ohms) Output Voltage 6.8 3.3 1.8 VDD - 0.5 VDD - 1.0 VDD - 2.0 ** Exceeds maximum current possible for this voltage TABLE 3. OUTPUT COMMUTATION SEQUENCE FOR THREE-PHASE OPERATION SEQUENCE SELECT CS1 CS2 0 0 ELECTRICAL SEPARATION (-60°-) SENSE INPUTS S1 S2 S3 0 0 0 1 0 0 1 1 0 1 1 1 *See Figures 1 and 2. 0 1 1 For the LS7280, 0 0 1 Outputs O1, O2, O3 are the logical inversions of 0 1 0 the corresponding Out1 0 1 puts of the LS7282. CS1 CS2 0 1 (-120°-) S1 S2 S3 0 0 1 1 0 1 1 0 0 1 1 0 0 1 0 0 1 1 CS1 CS2 CS1 CS2 1 0 1 1 (-240°-) (-300°-) S1 S2 S3 S1 S2 S3 0 1 0 0 1 1 1 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 1 1 0 0 0 1 1 1 0 1 0 1 0 1 FWD/REV = 1 OUTPUTS * DRIVERS * ENABLED A B C O1, O5 + Off O3, O5 Off + O3, O4 Off + O2, O4 + Off O2, O6 Off + O1, O6 + Off ALL DISABLED ALL DISABLED FWD/REV = 0 OUTPUTS * ENABLED O2, O4 O2, O6 O1, O6 O1, O5 O3, O5 O3, O4 DRIVERS * A B C + Off Off + + Off + Off Off + Off + ALL DISABLED ALL DISABLED The OVERCURRENT input (BRAKE low) enables external output drivers in normal sequence when more negative than VDD/2 and disables all external output drivers when more positive than VDD/2. The OVERCURRENT is sensed continuously, and sets a flip flop which is reset by the rising edge of the ENABLE input or the sawtooth OSCILLATOR. (See description under OVERCURRENT SENSE.) The VTRIP Input (BRAKE low) enables the outputs in normal sequence when more negative than the OSC input and disables all outputs when more positive than the OSC input. The VTRIP input may be disabled by connecting it to VSS and the OSC input to VDD. (See description under VTRIP) 7280-011705-3 V DD P O1 2 P Q102 Q103 R1 O2 3 P Q101 R2 R3 O3 4 Q8 L3 Q6 Q7 Output Encoder 5 Q5 Q4 A L1 L2 B C Q3 M O T O R O6 8 O5 7 V DD 6 N N O4 Q104 12 R4 N Q105 Q106 R6 R5 TO OVERCURRENT ADJUSTMENT Fractional Ohm Resistor FIGURE 1. LS7280 THREE PHASE OUTPUT DRIVER CIRCUITRY VDD Direction of Current Flow 11 BRAKE O1 2 Q101 L3 Q6 Q7 5 Q5 Q4 Q3 A L1 B L2 C R6 O6 8 O5 R5 7 VDD 6 O4 R4 12 Q104 R7 Q105 R8 TO OVERCURRENT ADJUSTMENT FIGURE 2. LS7282 THREE PHASE OUTPUT DRIVER CIRCUITRY 7280-121504-4 Q103 O3 4 Output Encoder Q102 O2 3 Q8 R3 R2 R1 Q106 R9 Fractional Ohm Resistor M O T O R O4 6 FIGURE 2A. SINGLE-ENDED DRIVER CIRCUIT BRAKE BRAKE INPUT O5 9 This configuration requires only one base current limiting resistor connected from the COMMON pin to VDD. 7 LS7282 5 COMMON V DD MOTOR SUPPLY 8 O6 The information included herein is believed to be accurate and reliable. However, LSI Computer Systems, Inc. assumes no responsibilities for inaccuracies, nor for any infringements of patent rights of others which may result from its use. TABLE 4. OUTPUT COMMUTATION SEQUENCE FOR FOUR-PHASE OPERATION CS1 = CS2 = 0 OUTPUTS ENABLED S1 0 1 1 0 S2,S3 0 0 1 1 FWD/REV = 1 O1 O3 O4 O6 For four-phase commutation (See Fig. 3), the COMMUTATION SELECT inputs must both be tied low. The S1 input is driven from one motor position sensor while the S2 and S3 inputs are connected together and driven by the second position sensor. The COMMON input must be FWD/REV = 0 O4 O6 O1 O3 connected to VDD. The sensors have an electrical separation of 90°. Figure 3A indicates the use of Bipolar Transistors. Figure 3B indicates the use of FETs. In both cases, the LS7282 is used. FIGURE 3. FOUR-PHASE OUTPUT DRIVER CIRCUITRY FIGURE 3A 5 COMMON FIGURE 3B MOTOR SUPPLY COMMON V DD 9 BRAKE INPUT V DD L1 9 BRAKE L1 O1 O1 5 MOTOR SUPPLY 2 2 L2 L2 O3 O3 4 4 LS7282 LS7282 L3 L3 BRAKE BRAKE 6 O4 O4 6 L4 L4 8 O6 8 O6 OVERCURRENT SENSE 12 OVERCURRENT SENSE V DD 7280-121504-5 12 V DD V DD FROM MOTOR POSITION SENSOR FIGURE 4 CLOSED-LOOP SPEED CONTROLLER R1 15 S1 V DD A closed loop system can be configured by differentiating one of the motor position sense inputs and integrating only the negative pulses to form a DC voltage that is applied to the inverting input of an op-amp. The non-inverting input voltage is adjusted with a potentiometer until the resultant voltage at VTRIP causes the motor to run at desired speed. The R2-C1 differentiator, the R3-D1 negative pulse transmitter and the R4-C2 integrator form a frequency to voltage converter. An increase in motor speed above the desired speed causes VTRIP to increase which lowers the PWM and the resultant motor speed. A decrease in speed lowers VTRIP and raises the PWM and the resultant motor speed. For proper operation, both R5 and R6 should be greater than R4, and R4 in turn should be greater than both R2 and R3. Also, the R4-C2 time constant should be greater than the R2-C1 time constant. C3 may be added across R6 for additional VTRIP smoothing. R2 R3 D1 LS7280 or LS7282 C1 C3 R4 R5 R6 13 + C2 V TRIP V DD C4 VDD 14 OSCILLATOR R7 R8 CS1 1 CS2 20 COMMUTATION SEQUENCE SELECT LOGIC 4 COMMON 5 8 +V INPUT DECODER FWD/REV 19 6 S1 15 S2 16 OUTPUT ENCODER S3 17 BRAKE 9 OUTPUT DRIVERS 2 O1 3 O2 4 O3 6 O4 7 O5 8 O6 +V R ENABLE 10 R OVERCURRENT 12 SENSE V TRIP 13 +V POSITIVE EDGE DETECTOR R + - Q S POSITIVE EDGE DETECTOR + .001µF 14 33K SAWTOOTH OSCILLATOR +V 11 V DD GND 18 V SS NOTE : With indicated components, oscillator frequency is approximately 30KHz. FIGURE 5. LS7280 AND LS7282 BLOCK DIAGRAM 7280-121504-6