SLUS318B – APRIL 1999 – REVISED JANUARY 2002 FEATURES D Two-Quadrant and Four-Quadrant Operation D Integrated Absolute Value Current Amplifier D Pulse-by-Pulse and Average Current Sensing D Accurate, Variable Duty-Cycle Tachometer Output D Trimmed Precision Reference D Precision Oscillator D Direction Output DESCRIPTION The UCC3626 motor controller device combines many of the functions required to design a high-performance, two- or four-quadrant, threephase, brushless dc motor controller into one package. Rotor position inputs are decoded to provide six outputs that control an external power stage. A precision triangle oscillator and latched comparator provide PWM motor control in either voltage- or current-mode configurations. The oscillator is easily synchronized to an external master clock source via the SYNCH input. Additionally, a QUAD select input configures the chip to modulate either the low-side switches only, or both upper and lower switches, allowing the user to minimize switching losses in less demanding two-quadrant applications. The device includes a differential current-sense amplifier and absolute-value circuit which provide an accurate reconstruction of motor current, useful for pulse-by-pulse overcurrent protection, as well as closing a current control loop. A precision tachometer is also provided for implementing closed-loop speed control. The TACH_OUT signal is a variable duty-cycle, frequency output, which can be used directly for digital control or filtered to provide an analog feedback signal. Other features include COAST, BRAKE, and DIR_IN commands, along with a direction output, DIR_OUT. Copyright 2002, Texas Instruments Incorporated ! " #$ %!& % "! "! '! ! !( ! %% )*& % "!+ %! !!$* $ %! !+ $$ "!!& www.ti.com 1 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 AVAILABLE OPTIONS TA PDIP (N) PACKAGED DEVICES SOIC{ (DW) TSSOP{ (PW) –40_C to 85_C UCC2626N UCC2626DW UCC2626PW 0_C to 70_C UCC3626N UCC3626DW UCC3626PW {The DW and PW packages are available taped and reeled. Add TR suffix to device type (e.g. UCC2626DWTR) to order quantities of 2,000 devices per reel. N PACKAGE (TOP VIEW) GND VREF TACH_OUT R_TACH C_TACH CT SYNCH DIR_OUT SNS_NI SNS_I IOUT OC_REF PWM_I PWM_NI 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DW and PW PACKAGES (TOP VIEW) VDD AHI ALOW BHI BLOW CHI CLOW DIR_IN QUAD BRAKE COAST HALLC HALLB HALLA GND VREF TACH_OUT R_TACH C_TACH CT SYNCH DIR_OUT SNS_NI SNS_I IOUT OC_REF PWM_I PWM_NI 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 VDD AHI ALOW BHI BLOW CHI CLOW DIR_IN QUAD BRAKE COAST HALLC HALLB HALLA absolute maximum ratings over operating free-air temperature (unless otherwise noted)† Supply voltage VDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 V Input voltage, BRAKE, COAST, DIR_IN, HALLA, HALLB, HALLC, OC_REF, QUAD, SYNCH, PWM_I, PWM_NI . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to VDD SNS_I, SNS_NI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VDD Output current AHI, ALOW, BHI, BLOW, CHI, CLOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±200 mA DIR_OUT, IOUT, TACH_OUT, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 mA VREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –20 mA Junction temperature range, TJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –55°C to 150°C Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –65°C to 150°C Lead temperature soldering 1,6 mm (1/16 inch) from case for 10 seconds . . . . . . . . . . . . . . . . . . . . . . . 300°C † Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. ‡ All voltages are with respect to GND. Currents are positive into negative out of the specified terminal. 2 www.ti.com SLUS318B – APRIL 1999 – REVISED JANUARY 2002 block diagram 28 VDD 2 VREF 27 AHI 25 BHI 23 CHI 26 ALOW 24 BLOW QUAD 20 5 VOLT REFERENCE BRAKE 19 COAST 18 1.75V DIR_IN 21 DIRECTION SELECT HALLA 15 HALLB 16 HALL DECODER HALLC 17 DIR_OUT 8 DIRECTION DETECTOR EDGE DETECTOR PWM_NI 14 22 CLOW PWM_I 13 PWM COMPARATOR OSCILLATOR RxC SYNCH 7 CT 6 OC_REF 12 IOUT 11 SNS_NI OVERCURRENT COMPARATOR S Q R Q S SENSE AMPLIFIER R 9 SNS_I 10 Q ONE SHOT Q 3 TACH_OUT 5 C_TACH 4 R_TACH 1 GND PWM LOGIC X5 UDG–97173 www.ti.com 3 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 electrical characteristics over recommended operating conditions, VCC = 12 V; CT = 1 nF, R_TACH = 250 kΩ, C_TACH = 100 pF, TA = TJ, TA = –40°C to 85°C for the UCC2626, and 0°C to 70°C for the UCC3626 (unless otherwise noted) overall PARAMETER TEST CONDITIONS Supply current Outputs not switching MIN TYP MAX UNIT 1 3 5 MIN TYP MAX UNIT mA undervoltage lockout PARAMETER TEST CONDITIONS Start threshold UVLO hysteresis 9.0 10.5 11.0 V 0.35 0.40 0.50 V MIN TYP MAX UNIT 4.9 5 5.1 V 10 mV 10 mV 5-V reference PARAMETER TEST CONDITIONS Output voltage Line regulation voltage IVREF = –2 mA 11 V < VCC < 14.5 V Load regulation voltage –1 mA > IVREF > –5 mA Short circuit current 40 120 240 mA coast input comparator MIN TYP MAX UNIT Threshold voltage PARAMETER TEST CONDITIONS 1.60 1.75 2.00 V Hysteresis 0.04 0.10 0.16 V MIN TYP MAX UNIT current sense amplifier PARAMETER TEST CONDITIONS Input offset voltage VCM = 0 V Input bias current VCM = 0 V 5 10 15 µA Gain VCM = 0 V 4.85 5.00 5.15 V/V PSRR 11 V < VCC < 14.5 V 60 dB High-level output voltage IIOUT= –100 µA IIOUT = 100 µA 6.3 V VIOUT = 2 V VIOUT = 2 V 500 µA 300 µA Low-level output voltage UCC3626 Output source current UCC2626 8 70 mV mV pwm comparator PARAMETER TEST CONDITIONS MIN TYP MAX UNIT Input common mode range 2.0 8.0 V Propagation delay time 75 150 ns MAX UNIT overcurrent comparator PARAMETER TEST CONDITIONS MIN Input common mode range 0.0 Propagation delay time 50 MIN TYP 5.0 V 175 250 ns TYP MAX UNIT logic inputs PARAMETER TEST CONDITIONS High-level logic input voltage QUAD, BRAKE, DIR, SYNCH Low-level logic input voltage QUAD, BRAKE, DIR, SYNCH 4 www.ti.com 3.6 V 1.4 V SLUS318B – APRIL 1999 – REVISED JANUARY 2002 electrical characteristics over recommended operating conditions, VCC = 12 V; CT = 1 nF, R_TACH = 250 kΩ, C_TACH = 100 pF, TA = TJ, TA = –40°C to 85°C for the UCC2626, and 0°C to 70°C for the UCC3626 (unless otherwise noted) hall buffer inputs PARAMETER TEST CONDITIONS MIN TYP MAX 1.9 2.1 High-level input voltage HALLA, HALLB, HALLC 1.7 Hysteresis HALLA, HALLB, HALLC 0.6 Input current 0V < VIN < 5 V 1.0 UNIT V V µA –25 oscillator PARAMETER TEST CONDITIONS Frequency RTACH = 250 kΩ, CT = 1nF 12 V < VCC < 14.5 V Frequency change with voltage MIN TYP MAX UNIT 9.0 10.0 11.0 kHz 3% CT peak voltage 7.25 7.5 7.75 CT peak-to-valley voltage 4.75 5.0 5.25 SYNCH pin minimum pulse width 500 V V ns tachometer PARAMETER TEST CONDITIONS IOUT = –10 µA IOUT = 10 µA High-level output voltage/VREF Low-level output voltage MIN Low-level on-resistance High-level ramp threshold voltage CTACH charge current UNIT 20 mV 1 1.5 kΩ 1 1.5 kΩ 2.5 Ramp voltage On time accuracy On-time MAX 100% 0 IOUT = –100 µA IOUT = 100 µA High-level on-resistance TYP 99% 2.375 2.500 48 51 V 2.625 V 53 µA UCC3626 RTACH = 49.9 kΩ See Note 1 –3% 3% UCC2626 See Note 1 –4% 3% direction output PARAMETER TEST CONDITIONS IOUT = –100 µA IOUT = 100 µA High-level output voltage Low-level output voltage MIN TYP MAX UNIT 4.5 5.2 V 0 0.5 V output PARAMETER TEST CONDITIONS MIN TYP Maximum duty cycle IOUT = 2 mA IOUT = 100 µA 0.0 Lo le el o Low-level output tp t voltage oltage IOUT = –2 mA IOUT = –100 µA 4.0 High level output voltage High-level Rise and fall time CI = 10 pF NOTE 1: tON is calculated using the formula t ON + MAX UNIT 100% C TACH 0.1 0.0 4.7 4.8 0.5 V 0.1 V 5.2 V 5.2 V 100 ns ǒV HI * V LOǓ I CHARGE www.ti.com 5 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 pin descriptions AHI, BHI, CHI: Digital outputs used to control the high-side switches in a three-phase inverter. For specific decoding information reference Table I. ALOW, BLOW, CLOW: Digital outputs used to control the low-side switches in a three-phase inverter. For specific decoding information reference Table I. BRAKE: BRAKE is a digital input which causes the device to enter brake mode. In brake mode all three highside outputs (AHI, BHI & CHI) are turned off, while all three lowside outputs (ALOW, BLOW, CLOW) are turned on. During brake mode the tachometer output remains operational. The only conditions that can inhibit the low-side commands during brake are UVLO, exceeding peak current, the output of the PWM comparator, or the COAST command. COAST: The COAST input consists of a hysteretic comparator which disables the outputs. The input is useful in implementing an overvoltage bus clamp in four-quadrant applications. The outputs are disabled when the input is above 1.75 V. CT: This pin is used in conjunction with the R_TACH pin to set the frequency of the oscillator. A timing capacitor is normally connected between this point and ground and is alternately charged and discharged between 2.5 V and 7.5 V. C_TACH: A timing capacitor is connected between this pin and ground to set the width of the TACH_OUT pulse. The capacitor is charged with a current set by the resistor on pin R_TACH . DIR_IN: DIR_IN is a digital input which determines the order in which the HALLA, HALLB, and HALLC inputs are decoded. For specific decode information reference Table I. DIR_OUT: DIR_OUT represents the actual direction of the rotor as decoded from the HALLA, HALLB, and HALLC inputs. For any valid combination of HALLA, HALLB, and HALLC inputs there are two valid transitions; one of which translates to a clockwise rotation and another which translates to a counterclockwise rotation. The polarity of DIR_OUT is the same as DIR_IN while motoring, (i.e. sequencing from top to bottom in Table 1.) GND: GND is the reference ground for all functions of the part. Bypass and timing capacitors should be terminated as close as possible to this point. HALLA, HALLB, HALLC: These three inputs are designed to accept rotor position information positioned 120° apart. For specific decode information reference Table I. These inputs should be externally pulled up to VREF or another appropriate external supply. IOUT: IOUT represents the output of the current sense and absolute value amplifiers. The output signal appearing is a representation of the following expression: ǒ Ǔ I OUT + ABS I SNS_I * I SNS_NI 5 This output can be used to close a current control loop as well as provide additional filtering of the current sense signal. OC_REF: OC_REF is an analog input which sets the trip voltage of the overcurrent comparator. The sense input of the comparator is internally connected to the output of the current sense amplifier and absolute value circuit. PWM_NI: PWM_NI is the noninverting input to the PWM comparator. PWM_I: PWM_I is the inverting input to the PWM comparator. QUAD: The QUAD input selects between two-quadrant operation (QUAD = 0) and four-quadrant operation (QUAD = 1) . When in two-quadrant mode, only the low-side devices are effected by the output of the PWM comparator. In four-quadrant mode both high- and low-side devices are controlled by the PWM comparator. 6 www.ti.com SLUS318B – APRIL 1999 – REVISED JANUARY 2002 pin descriptions SYNCH: The SYNCH input is used to synchronize the PWM oscillator with an external digital clock. When using the SYNCH feature, a resistor equal to R_TACH must be placed in parallel with CT. When not using the SYNCH feature, SYNCH must be grounded. SNS_NI, SNS_I: These inputs are the noninverting and inverting inputs to the current sense amplifier, respectively. The integrated amplifier is configured for a gain of five. An absolute value function is also incorporated into the output in order to provide a representation of actual motor current when operating in four-quadrant mode. TACH_OUT: TACH_OUT is the output of a monostable triggered by a change in the commutation state, thus providing a variable duty cycle, frequency output. The on time of the monostable is set by the timing capacitor connected to C_TACH. The monostable is capable of being retriggered if a commutation occurs during its on-time. R_TACH: A resistor connected between R_TACH and ground programs the current for both the oscillator and tachometer. VDD: VDD is the input supply connection for this device. Undervoltage lockout keeps the outputs off for inputs below 10.5 V. The input should be bypassed with a 0.1-µF ceramic capacitor, minimum. VREF: VREF is a 5-V, 2% trimmed reference output with 5 mA of maximum available output current. This pin should be bypassed to ground with a ceramic capacitor with a value of at least 0.1 µF. APPLICATION INFORMATION Table 1 provides the decode logic for the six outputs, AHI, BHI, CHI, ALOW, BLOW, and CLOW as a function of the BRAKE, COAST, DIR_IN, HALLA, HALLB, and HALLC inputs. Table 1. Commutation Truth Table HALL INPUTS HIGH-SIDE OUTPUTS LOW-SIDE OUTPUTS C A B C A B C 1 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 1 0 0 1 1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 X 1 X X X X 0 0 0 0 0 0 1 0 X X X X 0 0 0 1 1 1 0 0 X 1 1 1 0 0 0 0 0 0 0 0 X 0 0 0 0 0 0 0 0 0 BRAKE COAST DIR_IN A B 0 0 1 1 0 0 0 1 1 0 0 1 0 0 0 0 0 www.ti.com 7 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION The UCC3626 is designed to operate with 120° position sensor encoding. In this format, the three position sensor signals are never simultaneously high or low. Motors whose sensors provide 60° encoding, can be converted to 120° using the circuit shown in Figure 1. In order to prevent noise from commanding improper commutation states, some form of low-pass filtering on HALLA, HALLB, and HALLC is recommended. Passive RC networks generally work well and should be located as close as possible to the device. Figure 2 illustrates these techniques. VREF VREF 1 kΩ 499 Ω 1 kΩ HALLB HALLA 499 Ω HALLA HALLA 2.2 nF 2.2 nF VREF 1 kΩ VREF HALLA 1 kΩ 1 kΩ 499 Ω HALLB 2N2222A HALLB HALLB 2.2 nF 2.2 nF VREF 1 kΩ VREF 499 Ω 1 kΩ HALLC HALLC HALLC HALLC 2.2 nF 2.2 nF UDG–97182 Figure 1. Converting Hall Code From 60° to 120° 8 499 Ω www.ti.com UDG–97185 Figure 2. Passive Hall Filtering Technique SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION configuring the oscillator The UCC3626 oscillator is designed to operate at frequencies up to 250 kHz and provide a triangle waveform on CT with a peak-to-peak amplitude of 5 V for improved noise immunity. The current used to program CT is derived from the R_TACH resistor according to the following equation: I OSC + 25 Amps R_TACH (1) The oscillator frequency is set by R_TACH and CT according to the following relationship: f OSC + 2.5 R_TACH CT Hz (2) Timing resistor values should be between 25 kΩ and 500 kΩ, while capacitor values should be between 100 pF and 1 µF. Figure 3 provides a graph of oscillator frequency for various combinations of timing components. As with any high-frequency oscillator, timing components should be located as close as possible to the device pins when laying out the printed-circuit board. It is also important to reference the timing capacitor directly to the ground pin on the UCC3626 rather than daisy chaining it to another trace or the ground plane. This technique prevents switching current spikes in the local ground from causing jitter in the oscillator. synchronizing the oscillator A common system specification is to have all oscillators synchronized to a master clock. The UCC3626 provides a SYNCH input for this purpose. The SYNCH input is designed to interface with a digital clock pulse generated by the master oscillator. A positive-going edge on this input causes the UCC3626 oscillator to begin discharging. In order for the slave oscillator to function properly, it must be programmed for a frequency slightly lower than that of the master. Also, a resistor equal to R_TACH must be placed in parallel with CT. Figure 4 illustrates the waveforms for a slave oscillator programmed to 20 kHz with a master frequency of 30 kHz. The SYNCH pin must be grounded when not used. 1.E+06 OSCILLATOR FREQUENCY vs TIMING CAPACITANCE fOSC – PWM Frequency – Hz R_TACH = 25 kΩ R_TACH = 100 kΩ 1.E+05 1.E+04 R_TACH = 250 kΩ R_TACH = 500 kΩ 1.E+03 1.E–09 1.E–07 1.E–08 1.E–10 CT – Oscillator Timing Capacitance – F Figure 3 www.ti.com 9 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION programming the tachometer The UCC3626 tachometer consists of a precision 5-V monostable, triggered by either a rising or falling edge on any of the three Hall inputs, HALLA, HALLB, and HALLC. The resulting TACH_OUT waveform is a variable duty-cycle square wave whose frequency is proportional to motor speed, as given by: TACH_OUT + V 20 P Hz (3) where P is the number of motor pole pairs and V is motor velocity in RPM. The on time of the monostable is programmed via timing resistor R_TACH and capacitor C_TACH according to the following equation: t ON + R_TACH C_TACH sec (4) Figure 5 provides a graph of on times for various combinations of R_TACH and C_TACH. On time is typically set to a value less than the minimum TACH_OUT period as given by: t PERIOD (min) + 20 V MAX P sec (5) where P is the number of motor pole pairs and V is motor velocity in RPM. TACHOMETER ON-TIME vs TIMING CAPACITANCE SYNCH WITHOUT SYNCH tON – Tachometer On–Time – s 1.E+00 R_TACH = 500 kΩ 1.E–01 1.E–02 R_TACH = 250 kΩ 1.E–03 R_TACH = 100 kΩ 1.E–04 1.E–05 CT WITH SYNCH R_TACH = 25 kΩ 1.E–06 1.E–10 1.E–09 1.E–08 1.E–07 1.E–06 C_TACH – Tachometer Timing Capacitance – F Figure 4. Oscillator Waveforms 10 Figure 5 www.ti.com SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION The TACH_OUT signal can be used to close a digital velocity loop using a microcontroller, as shown in Figure 6, or directly low-pass filtered in an analog implementation, Figure 7. UCC3626 MC68HC11 AD558 PB0–PB7 DB0–DB7 PC0 VCE 4 R_TACH 5 C_TACH 6 CT 14 PWM_NI VCS VOUT 13 PWM_I VOUTSENSE VOUTSELECT IC1 3 TACH_OUT UDG–97188 Figure 6. Digital Velocity Loop Implementation Using MC68HC11 two quadrant vs four quadrant control Figure 8 illustrates the four possible quadrants of operation for a motor. Two-quadrant control refers to a system in which operation is limited to quadrants I and III (where torque and velocity are in the same direction). With a two-quadrant brushless dc amplifier, there are no provisions other than friction to decelerate the load, limiting the approach to less demanding applications. Four-quadrant controllers, on the other hand, provide controlled operation in all quadrants, including II and IV, where torque and rotation are of opposite direction. UCC3626 2 VREF 4 R_TACH 5 C_TACH 6 CT VELOCITY CW II I III IV CCW 14 – TORQUE CW PWM_NI 13 PWM_I 3 TACH_OUT + CCW UDG–97189 UDG–01118 Figure 8. Four Quadrants of Operation Figure 7. Simple Analog Velocity Loop www.ti.com 11 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION When configured for two-quadrant operation, (QUAD=0), the UCC3626 modulates only the low-side devices of the output power stage. The current paths within the output stage during the PWM on- and off-times are illustrated in Figure 9. During the on interval, both switches are on, and current flows through the load down to ground. During the off time, the lower switch is shut off, and the motor current circulates through the upper half bridge via the flyback diode. The motor is assumed to be operating in either quadrant I or III. If operation is attempted in quadrants II or IV by changing the DIR bit and reversing the torque, switches 1 and 4 are turned off and switches 2 and 3 turned on. Under this condition motor current very quickly decays, reverses direction and increases until the control threshold is reached. At this point, switch 2 turns off and current once again circulates in the upper half bridge. However, in this case, the motor’s BEMF is in phase with the current, (i.e. the motor’s direction of rotation has not yet changed.) Figure 10 illustrates the current paths when operating in this mode. Under these conditions there is nothing to limit the current other than motor and drive impedance. These high-circulating currents can result in damage to the power devices in addition to high, uncontrolled torque. VMOT VMOT S3 S1 S3 S1 S5 S5 IOFF IOFF IPHASE IPHASE + BEMF – + BEMF – ION ION S2 S4 S2 S6 UDG–01119 S6 UDG–01120 Figure 10. Two-Quadrant Reversal Figure 9. Two-Quadrant Chopping 12 S4 www.ti.com SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION By pulse width modulating both the upper and lower power devices (QUAD=1), motor current always decays during the PWM off time, eliminating any uncontrolled circulating currents. In addition, current always flows through the current sense resistor, providing a suitable feedback signal. Figure 11 illustrates the current paths during a four-quadrant torque reversal. Motor drive waveforms for both two- and four-quadrant operation are illustrated in Figure 12. VMOT S3 S1 S5 IPHASE + BEMF – IOFF ION S2 S4 S6 UDG–01121 Figure 11. Four-Quadrant Reversal www.ti.com 13 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION ROTOR POSITION IN ELECTRICAL DEGREES 0 60 120 180 240 300 360 420 480 540 600 660 720 H1 SENSOR INPUTS H2 H3 Code 101 100 110 010 011 001 101 100 110 010 011 001 HIGH SIDE AHI OUTPUTS QUAD=0 BHI CHI ALO LOW SIDE OUTPUTS BLO QUAD=0 CLO + A 0 – MOTOR PHASE CURRENTSB QUAD=0 + 0 – + C 0 – HIGH SIDE AHI OUTPUTS QUAD=1 BHI CHI ALO LOW SIDE OUTPUTS BLO QUAD=1 CLO + A 0 – MOTOR PHASE CURRENTSB QUAD=1 + 0 – + C 0 – 100% Duty Cycle PWM 50% Duty Cycle PWM Figure 12. Motor Drive and Current Waveforms for Two-Quadrant (QUAD=0) and Four-Quadrant (QUAD=1) Operation 14 www.ti.com UDG–97190 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION power stage design considerations The flexible architecture of the UCC3626 requires the user to pay close attention to the design of the power output stage. Two- and four-quadrant applications not requiring the brake function are able to use the power stage approach illustrated in Figure 13a. In many cases the body diode of the MOSFET can be used to reduce parts count and cost. If efficiency is a key requirement, Schottky diodes can be used in parallel with the switches. UDG–97190 VMOT VMOT CURRENT SENSE VMOT TO TO MOTOR MOTOR CURRENT SENSE TO MOT CURRENT SENSE (a) (b) (c) UDG–01122 CURRENT SENSE TWO QUADRANT FOUR QUADRANT SAFE BRAKING POWER REVERSAL (a) YES (b) YES YES NO NO YES (c) YES YES YES PULSE-BYPULSE AVERAGE Four-Quad Only YES YES No YES NO Four-Quad Only YES YES Figure 13. Power Stage Topologies If the system requires a braking function, diodes must be added in series with the lower power devices and the lower flyback diodes must be returned to ground, as pictured in Figure 13b, and 13c. This requirement prevents brake currents from circulating in the lower half bridge and bypassing the sense resistor. In addition, the combination of braking and four-quadrant control necessitates an additional resistor in the diode path to sense current during the PWM off time as illustrated in Figure 13c. www.ti.com 15 SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION current sensing The UCC3626 includes a differential current-sense amplifier with a fixed gain of five, along with an absolute value circuit. The current-sense signal should be low pass filtered to eliminate leading-edge spikes. In order to maximize performance, the input impedance of the amplifier should be balanced. If the sense voltage must be trimmed for accuracy reasons, a low-value input divider or a differential divider should be used to maintain impedance matching, as shown in Figure 14. RF RF SNS_NI RADJ RADJ RS SNS_NI RF CF RS CF RF RF SNS_I SNS_I RADJ << RF (a) (b) UDG–01123 Figure 14. (a) Differential Divider and (b) Low-Value Divider With four-quadrant chopping, motor current always flows through the sense resistor. However, during the flyback period the polarity across the sense resistor is reversed. The absolute value amplifier cancels the polarity reversal by inverting the negative sense signal during the flyback time, see Figure 15. Therefore, the output of the absolute value amplifier is a reconstructed analog of the motor current, suitable for protection as well as feedback loop closure. VMOT Ip S3 S1 Is S5 IPHASE Ip If + BEMF – IOFF 5*Ip ION S2 S4 S6 Im Is X5 Im UDG–01124 If Figure 15. Current Sense Amplifier Waveform 16 www.ti.com SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION Figure 17 illustrates a simple 175-V, 2-A, two-quadrant velocity controller using the UCC3626. The power stage is designed to operate with a rectified off-line supply using IR2210s to provide the interface between the low voltage control signals and the power MOSFETs. The power topology illustrated in Figure 13c is implemented in order to provide braking capability. SIGN/MAGNITUDE CONVERTER 10 kΩ VELOCITY COMMAND ±5V – U1 + 10 kΩ 10 kΩ – U5 + – U6 + 10 kΩ 11 IOUT 13 PWM_I 21 DIR 10 kΩ – U8 + CURRENT ERROR AMPLIFIER CURRENT MAGNITUDE U7 CURRENT SIGN BIPOLAR 10 kΩ TACH GAIN – U3 + 4.99 kΩ 10 kΩ 4.99 kΩ – U2 + TACHOMETER FILTER 3 TACH_OUT 8 DIR_OUT 2N7002 UDG–99061 Figure 16. Four-Quadrant Control Loop The controller’s speed command is set by potentiometer R30, while the speed feedback signal is obtained by low-pass filtering and buffering the TACH_OUT signal using R11 and C9. Small signal compensation of the velocity control loop is provided by amplifier U5A, whose output is used to control the PWM duty cycle. The integrating capacitor, C8, places a pole at 0 Hz and a zero in conjunction with R10. This zero can be used to cancel the low-frequency motor pole and to cross the loop-over with a –20 dB gain response. Four-quadrant applications require the control of motor current. Figure 16 illustrates a sign/magnitude current control loop within an outer bipolar velocity loop using the UCC3626. U1 serves as the velocity loop error amplifier and accepts a ± 5-V command signal. Velocity feedback is provided by low-pass filtering and scaling the TACH_OUT signal using U2. The direction output switch, DIR_OUT, and U3 set the polarity of the tachometer gain according to the direction of rotation. The output of the velocity error amplifier, U1, is then converted to sign/magnitude form using U5 and U6. The sign portion is used to drive the DIR input while the magnitude commands the current error amplifier, U8. Current feedback is provided by the internal current sense amplifier via the IOUT pin. www.ti.com 17 FROM HALL SENSORS 18 R6 499 Ω www.ti.com + R10 C8 R9 10 kΩ R29 U5A 1/2 LM358 C7 C6 100 pF R8 10 kΩ C3 2200 pF + C9 0.1 µF R11 160 kΩ 8 DIR_OUT 13 PWM_I 3 14 PWN_IN TACH_OUT IOUT 11 5 4 CT SYNCH CTACH RTACH 6 7 18 COAST OC_REF 12 9 19 BRAKE SNS_NI SNS_I 10 QUAD CLOW 22 21 DIR_IN 20 17 HALLC BLOW 24 16 HALLB CHI 23 BHI 25 AHI 27 ALOW 26 GND VREF UCC3626 15 HALLA 1 2 28 VDD U5B 1/2 LM358 C1 0.1 µF VREF C2 0.1 µF +12V C4 2200 pF 499 Ω R4 R3 1 kΩ SPEED SET R7 10 kΩ C5 2200 pF VREF 499 Ω R5 R2 1 kΩ VREF R30 10 kΩ R1 1 kΩ VREF U1 Figure 17. Two-Quadrant Velocity Controller R14 15 k Ω R13 35 kΩ VREF R12 250 kΩ C10 3900 pF C14 0.1 µF C17 0.1 µF VREF VREF C11 0.1 µF VREF NC VDD NC VDD NC VDD C23 0.1 µF LO COM 14 NC 13 VSS VCC NC VS HO VB 11 SD 12 LIN 10 HIN 8 9 U3 LO COM VCC NC VS HO VB LO COM IR2110 13 VSS 14 NC 11 SD 12 LIN 10 HIN 8 9 U3 NC VS HO VB VCC IR2110 13 VSS 14 NC 11 SD 12 LIN 10 HIN 8 9 U2 IR2110 1 2 3 4 5 7 6 1 2 3 4 5 7 6 1 2 3 4 5 7 6 R31 2 k Ω +12V R18 47 Ω R25 D6 10 Ω 1N4148 D18 11DF4 C18 0.1 µF Q4 IRF730 D10 MUR1520 Q3 IRF730 R27 0.1 Ω Q2 IRF730 D13 MUR1520 Q5 IRF730 D5 1N4148 VMOT R24 47 Ω R23 10 Ω R22 47 Ω R21 D4 10 Ω 1N4148 +12V R20 47 Ω D17 11DF4 Q2 IRF730 D7 MUR1520 D3 1N4148 VMOT R18 47 Ω R19 10 Ω C15 0.1 µF R30 2 k Ω C19 0.1 µF C16 0.1 µF C13 0.1 µF +12V R17 D2 10 Ω 1N4148 D16 11DF4 C12 0.1 µF Q1 IRF730 D1 1N4148 VMOT R16 47 Ω R15 10 Ω R28 0.1 Ω D15 1N5418 MOTOR PHASE C C20 10 µF D11 1N5418 MOTOR PHASE B C21 10 µF D8 1N5418 MOTOR PHASE A C22 10 µF SLUS318B – APRIL 1999 – REVISED JANUARY 2002 APPLICATION INFORMATION UDG–01117 PACKAGE OPTION ADDENDUM www.ti.com 28-Aug-2010 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/ Ball Finish MSL Peak Temp (3) Samples (Requires Login) UCC2626DW ACTIVE SOIC DW 28 20 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC2626DWG4 ACTIVE SOIC DW 28 20 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC2626PW ACTIVE TSSOP PW 28 50 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC2626PWG4 ACTIVE TSSOP PW 28 50 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC3626DW ACTIVE SOIC DW 28 20 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Request Free Samples UCC3626DWG4 ACTIVE SOIC DW 28 20 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Request Free Samples UCC3626DWTR ACTIVE SOIC DW 28 1000 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC3626DWTRG4 ACTIVE SOIC DW 28 1000 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Purchase Samples UCC3626N ACTIVE PDIP N 28 13 Green (RoHS & no Sb/Br) CU NIPDAU N / A for Pkg Type Purchase Samples UCC3626NG4 ACTIVE PDIP N 28 13 Green (RoHS & no Sb/Br) CU NIPDAU N / A for Pkg Type Purchase Samples UCC3626PW ACTIVE TSSOP PW 28 50 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Request Free Samples UCC3626PWG4 ACTIVE TSSOP PW 28 50 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR Request Free Samples (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Addendum-Page 1 PACKAGE OPTION ADDENDUM www.ti.com 28-Aug-2010 Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 2 PACKAGE MATERIALS INFORMATION www.ti.com 14-Jul-2012 TAPE AND REEL INFORMATION *All dimensions are nominal Device UCC3626DWTR Package Package Pins Type Drawing SOIC DW 28 SPQ Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) 1000 330.0 32.4 Pack Materials-Page 1 11.35 B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant 18.67 3.1 16.0 32.0 Q1 PACKAGE MATERIALS INFORMATION www.ti.com 14-Jul-2012 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) UCC3626DWTR SOIC DW 28 1000 367.0 367.0 55.0 Pack Materials-Page 2 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46C and to discontinue any product or service per JESD48B. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components which meet ISO/TS16949 requirements, mainly for automotive use. Components which have not been so designated are neither designed nor intended for automotive use; and TI will not be responsible for any failure of such components to meet such requirements. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2012, Texas Instruments Incorporated