NCP81239, NCP81239A USB Power Delivery 4-Switch Buck Boost Controller The NCP81239 USB Power Delivery (PD) Controller is a synchronous buck boost that is optimized for converting battery voltage or adaptor voltage into power supply rails required in notebook, tablet, and desktop systems, as well as many other consumer devices using USB PD standard and C-Type cables. The NCP81239 is fully compliant to the USB Power Delivery Specification when used in conjunction with a USB PD or C-Type Interface Controller. NCP81239 is designed for applications requiring dynamically controlled slew rate limited output voltage that require either voltage higher or lower than the input voltage. The NCP81239 drives 4 NMOSFET switches, allowing it to buck or boost and support the functions specified in the USB Power Delivery Specification which is suitable for all USB PD applications. The USB PD Buck Boost Controller operates with a supply and load range of 4.5 V to 32 V. NCP81239A is functionally same as NCP81239 except with different I2C address. www.onsemi.com 1 32 QFN32 5x5, 0.5P CASE 485CE MARKING DIAGRAM 1 1 NCP81239 AWLYYWWG G 81239A AWLYYWWG G Features * * * * * * * * * * * * * * Wide Input Voltage Range: from 4.5 V to 32 V Dynamically Programmed Frequency from 150 kHz to 1.2 MHz I2C Interface Real Time Power Good Indication Controlled Slew Rate Voltage Transitioning Feedback Pin with Internally Programmed Reference Support USBPD/QC2.0/QC3.0 Profile 2 Independent Current Sensing Inputs Over Temperature Protection Adaptive Non-Overlap Gate Drivers Filter Capacitor Switch Control Over-Voltage and Over-Current Protection Dead Battery Power Support 5 x 5 mm QFN32 Package A = Assembly Location WL = Wafer Lot YY = Year WW = Work Week G = Pb-Free Package (Note: Microdot may be in either location) Typical Application * * * * * * * Notebooks, Tablets, Desktops All in Ones Monitors, TVs, and Set Top Boxes Consumer Electronics Car Chargers Docking Stations Power Banks ORDERING INFORMATION Package Shipping I2C Address NCP81239MNTXG QFN32 (Pb-Free) 2500 / Tape & Reel 74H NCP81239AMNTXG QFN32 (Pb-Free) 2500 / Tape & Reel 75H Device For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel Packaging Specification Brochure, BRD8011/D. (c) Semiconductor Components Industries, LLC, 2016 January, 2019 - Rev. 7 1 Publication Order Number: NCP81239/D NCP81239, NCP81239A V1 5V Rail Dead Battery / VCONN V2 V1 DBIN CSP1 DBOUT Rsense1 VDRV C VDRV Q6 CSN1 R DRV RPU FB VCC CO1 CSN2 C VCC Rsense2 CSP2 CS1 Current Sense 1 BST2 CS2 Current Sense 2 Q5 CFET1 R CS1 BST1 R CS2 Curret Limit Indicator S1 CLIND Interrupt INT Enable EN CB2 CB1 HSG1 VSW1 HSG2 VSW2 SDA I2C S4 L1 SCL S2 LSG1 PGND1 COMP PGND2 FLAG AGND PDRV VSW1 VCC VDRV DBIN DBOUT VSW2 BST2 Figure 1. Typical Application Circuit BST1 32 31 30 29 28 27 26 25 HSG1 1 24 HSG2 LSG1 2 23 LSG2 PGND1 3 22 PGND2 CSN1 4 21 CSP2 CSP1 5 20 CSN2 V1 6 19 FB CS1 7 18 CS2 CLIND 8 17 PDRV 13 14 15 16 COMP EN 12 AGND 11 AGND 10 CFET 9 INT Exposed Thermal Pad SCL CC SDA CP S3 LSG2 RC CO2 Figure 2. Pinout www.onsemi.com 2 RPD VBUS NCP81239, NCP81239A - VDRV BG 4.0V + VDRV_rdy CLIMP1 - CLIMP2 CS2 CL2 CL1 CLIND - CLINDP2 + CS2 CLIND EN_MASK ENPOL - + EN LOGIC PG_Low EN ADC Value Register SDA Analog Mux CFET PDRV CSP1 VFB CS1_INT CS2_INT PG_High PGND2 NOL Drive Logic_2 - + PG/ OV/ LOGIC - 0_Ramp CS1_INT COMP Status Registers BG Error OTA 500S/100S PG TS + CC VFB CP _ CS2_INT CSN2 CS2_INT Ramp_180 Reference INT Interface + Boot2 _UVLO CS2 CSP2 180_Ramp CSN2 VDRV CFET VDRV PDRV CFET CS1_INT INT BST2 OV PG + Oscillator PDRV CONFIG - + - Buck Logic SW1 Boost Logic Buck Boost Logic SW4 SW2 SW3 + RC FB VFB 0_Ramp AGND Q2 HSG2 PG_MSK Ramp_0 Digital Configuration CO2 OV_MSK - VFB OV_REF CO V2 VSW2 VDRV Boot1V Limit Registers CONFIG I2C Interface LSG1 Q1 LSG2 SCL VDRV Control Logic + VFB VSW1 PGND1 EN CLIND EN 0.8V NOL Drive Logic_1 SW1 SW2 SW3 SW4 IUVLOB PG TS CLINDP1 + NC CS1_INT CL1P REF - HSG1 Boot1V CONFIG CS1 BST1 Boot1 _UVLO - CL1P CSN1 + CL1N REF + - IUVLOB + CS1 CONFIG CL1N CS1 CS1_INT _ VCC VDRV Vcc_rdy V1 - Startup INPUT UVLO TS CL2P REF + 4.0V + CSP1 Thermal Shutdown CS2_INT - CL2P + CSP1 BG CL2N REF _ CL2N CONFIG VCC + + DBIN V1 CONFIG Current Limiting Circuit For Dead Battery V1 DBOUT FLAG Figure 3. Block Diagram Table 1. PIN FUNCTION DESCRIPTION Pin Pin Name Description 1 HSG1 S1 gate drive. Drives the S1 N-channel MOSFET with a voltage equal to VDRV superimposed on the switch node voltage VSW1. 2 LSG1 Drives the gate of the S2 N-channel MOSFET between ground and VDRV. 3, 22 PGND Power ground for the low side MOSFET drivers. Connect these pins closely to the source of the bottom N-channel MOSFETs. 4 CSN1 Negative terminal of the current sense amplifier. 5 CSP1 Positive terminal of the current sense amplifier. 6 V1 7 CS1 Input voltage of the converter 8 CLIND 9 SDA I2C interface data line. 10 SCL I2C interface clock line. 11 INT Interrupt is an open drain output that indicates the state of the output power, the internal thermal trip, and other I2C programmable functions. 12 CFET Controlled drive of an external MOSFET that connects a bulk output capacitor to the output of the power converter. Necessary to adhere to low capacitance limits of the standard USB Specifications for power prior to USB PD negotiation. 13-14 AGND The ground pin for the analog circuitry. 15 COMP Output of the transconductance amplifier used for stability in closed loop operation. Current sense amplifier output. CS1 will source a current that is proportional to the voltage across RS1 to an external resistor. CS1 voltage can be monitored with a high impedance input. Ground this pin if not used. Open drain output to indicate that the CS1 or CS2 voltage has exceeded the I2C programmed limit. www.onsemi.com 3 NCP81239, NCP81239A Table 1. PIN FUNCTION DESCRIPTION Pin Pin Name Description 16 EN 17 PDRV 18 CS2 19 FB 20 CSN2 Negative terminal of the current sense amplifier. 21 CSP2 Positive terminal of the current sense amplifier. 23 LSG2 Drives the gate of the S3 N-channel MOSFET between ground and VDRV. 24 HSG2 S4 gate drive. Drives the S4 N-channel MOSFET with a voltage equal to VDRV superimposed on the switch node voltage VSW2. 25 BST2 Bootstrapped Driver Supply. The BST2 pin swings from a diode voltage below VDRV up to a diode voltage below VOUT + VDRV. Place a 0.1 mF capacitor from this pin to VSW2. 26 VSW2 Switch Node. VSW2 pin swings from a diode voltage drop below ground up to output voltage. 27 DBOUT The output of the dead battery circuit which can also be used for the VCONN voltage supply. 28 DBIN The dead battery input to the converter where 5 V is applied. A 1 mF capacitor should be placed close to the part to decouple this line. 29 VDRV Internal voltage supply to the driver circuits. A 1 mF capacitor should be placed close to the part to decouple this line. 30 VCC 31 VSW1 Switch Node. VSW1 pin swings from a diode voltage drop below ground up to V1. 32 BST1 Driver Supply. The BST1 pin swings from a diode voltage below VDRV up to a diode voltage below V1 + VDRV. Place a 0.1 mF capacitor from this pin to VSW1. 33 THPAD Precision enable starts the part and places it into default configuration when toggled. The open drain output used to control a PMOSFET. Current sense amplifier output. CS2 will source a current that is proportional to the voltage across RS2 to an external resistor. CS2 voltage can be monitored with a high impedance input. Ground this pin if not used. Feedback voltage of the output, negative terminal of the gm amplifier. The VCC pin supplies power to the internal circuitry. The VCC is the output of a linear regulator which is powered from V1. Pin should be decoupled with a 1 mF capacitor for stable operation. Center Thermal Pad. Connect to AGND externally. Table 2. MAXIMUM RATINGS Over operating free-air temperature range unless otherwise noted Rating Input of the Dead Battery Circuit Symbol Min Max Unit DBIN -0.3 5.5 V DBOUT -0.3 5.5 V VDRV -0.3 5.5 V VCC -0.3 5.5 V CS1, CS2 -0.3 3.0 V CLIND -0.3 VCC + 0.3 V Interrupt Indicator INT -0.3 VCC + 0.3 V Enable Input EN -0.3 5.5 V SDA, SCL -0.3 VCC + 0.3 V COMP -0.3 VCC + 0.3 V V1 -0.3 32 V, 40 V (20 ns) V Positive Current Sense CSP1 -0.3 32 V, 40 V (20 ns) V Negative Current Sense CSN1 -0.3 32 V, 40 V (20 ns) V Positive Current Sense CSP2 -0.3 32 V, 40 V (20 ns) V Negative Current Sense CSN2 -0.3 32 V, 40 V (20 ns) V FB -0.3 5.5 V CFET -0.3 VCC + 0.3 V Output of the Dead Battery Circuit Driver Input Voltage Internal Regulator Output Output of Current Sense Amplifiers Current Limit Indicator I2C Communication Lines Compensation Output V1 Power Stage Input Voltage Feedback Voltage CFET Driver www.onsemi.com 4 NCP81239, NCP81239A Table 2. MAXIMUM RATINGS Over operating free-air temperature range unless otherwise noted Rating Symbol Min Max Unit Driver 1 and Driver 2 Positive Rails BST1, BST2 -0.3 V wrt/PGND -0.3 V wrt/VSW 37 V, 40 V (20 ns) wrt/PGND 5.5 V wrt/VSW V High Side Driver 1 and Driver 2 HSG1, HSG2 -0.3 V wrt/PGND -0.3 V wrt/VSW 37 V, 40 V (20 ns) wrt/GND 5.5 V wrt/VSW V Switching Nodes and Return Path of Driver 1 and Driver 2 VSW1, VSW2 -5.0 V 32 V, 40 V (20 ns) V Low Side Driver 1 and Driver 2 LSG1, LSG2 -0.3 V 5.5 V PMOSFET Driver PDRV -0.3 32 V, 40 V (20 ns) V Voltage Differential AGND to PGND -0.3 0.3 V CSP1-CSN1, CSP2-CSN2 Differential Voltage CS1DIF, CS2DIF -0.5 0.5 V PDRVI 0 10 mA PDRVIPUL 0 200 mA VCCI 0 80 mA Operating Junction Temperature Range (Note 1) TJ -40 150 C Operating Ambient Temperature Range TA -40 100 C TSTG -55 150 C PDRV Maximum Current PDRV Maximum Pulse Current (100 ms on time, with > 1 s interval) Maximum VCC Current Storage Temperature Range Thermal Characteristics (Note 2) QFN 32 5mm x 5mm Maximum Power Dissipation @ TA = 25C Maximum Power Dissipation @ TA = 85C Thermal Resistance Junction-to-Air with Solder Thermal Resistance Junction-to-Case Top with Solder Thermal Resistance Junction-to-Case Bottom with Solder Lead Temperature Soldering (10 sec): Reflow (SMD styles only) Pb-Free (Note 3) PD PD RQJA RQJCT RQJCB 4.1 2.1 30 1.7 2.0 W W C/W C/W C/W RF 260 Peak C Stresses exceeding those listed in the Maximum Ratings table may damage the device. If any of these limits are exceeded, device functionality should not be assumed, damage may occur and reliability may be affected. 1. The maximum package power dissipation limit must not be exceeded. 2. The value of QJA is measured with the device mounted on a 3in x 3in, 4 layer, 0.062 inch FR-4 board with 1.5 oz. copper on the top and bottom layers and 0.5 ounce copper on the inner layers, in a still air environment with TA = 25C. 3. 60-180 seconds minimum above 237C. www.onsemi.com 5 NCP81239, NCP81239A Table 3. RECOMMENDED OPERATION RATINGS Value Rating Driver Input Voltage Internal Regulator Output Current Limit Indicator Symbol Min Max Units VDRV 4.5 5.5 V VCC 4.5 5.5 V CLIND -0.3 VCC+0.3 V Interrupt Indicator INT -0.3 VCC+0.3 V Enable Input EN -0.3 5.5 V SDA, SCL -0.3 VCC+0.3 V COMP -0.3 VCC+0.3 V V1 4.5 28 V Input Side Current Sense Pins CSP1, CSN1 -0.3 28 V Output Side Current Sense Pins CSP2, CSN2 -0.3 28 V Driver Positive Rails to PGND BST1, BST2 -0.3 33 V High Side Driver 1 and 2 HSG1, HSG2 -0.3 33 V Switching Nodes and Return Path of Driver 1 and 2 to PGND VSW1, VSW2 -2 28 V Low Side Driver 1 and 2 LSG1, LSG2 -0.3 5.5 V I2C Communication Lines Compensation Output Power Stage Input Voltage to PGND FB Voltage FB -0.3 5.5 V Voltage Differential AGND to PGND -0.3 0.3 V CSP1-CSN1, CSP2-CSN2 Differential Voltage CS1DF, CS2DF -0.5 0.5 V Operating Junction Temperature Range TJ -40 150 C Operating Ambient Temperature Range TA -40 100 C Functional operation above the stresses listed in the Recommended Operating Ranges is not implied. Extended exposure to stresses beyond the Recommended Operating Ranges limits may affect device reliability. Table 4. ELECTRICAL CHARACTERISTICS (V1 = 12 V, Vout = 1.0 V , TA = +25C for typical value; -40C < TA < 100C for min/max values unless noted otherwise) Parameter Symbol Test Conditions Min Typ Max Units 32 V 5 5.5 V POWER SUPPLY V1 Operating Input Voltage VDRV Operating Input Voltage V1 4.5 VDRV 4.5 VCC UVLO Rising Threshold VCCSTART UVLO Hysteresis for VCC VCCVHYS VDRV UVLO Rising Threshold UVLO Hysteresis for VDRV VDRVSTART VDRVHYS VCC Output Voltage VCC Drop Out Voltage Falling Hysteresis VCC VCCDROOP Falling Hysteresis With no external load 4.5 30 mA load V 300 mV 4.3 V 300 mV 5 V 150 mV 97 mA VCC Output Current Limit IOUTVCC VCC Loaded to 4.3 V V1 Shutdown Supply Current IVCC_SD EN = 0 V, 4.3 V V1 28 V 6.6 VDRIVE Switching Current Buck IV1_SW EN = 5 V, Cgate = 2.2 nF, VSW = 0 V, FSW = 600 kHz 15 mA VDRIVE Switching Current Boost IV1_SW EN = 5 V, Cgate = 2.2 nF, VSW = 0 V, FSW = 600 kHz 15 mA 4. Ensured by design. Not production tested. www.onsemi.com 6 80 4.3 7.7 mA NCP81239, NCP81239A Table 4. ELECTRICAL CHARACTERISTICS (V1 = 12 V, Vout = 1.0 V , TA = +25C for typical value; -40C < TA < 100C for min/max values unless noted otherwise) Parameter Symbol Test Conditions Min Typ Max Units DAC_TARGET = 00110010 DAC_TARGET = 01111000 DAC_TARGET = 11001000 0.495 1.188 1.98 0.5 1.2 2.0 0.505 1.212 2.02 V VFB_T VFB 0.5 V VFB < 0.5 V -1.0 -5 1.0 5 % mV VFB_R TA = 25C VFB 0.5 V -0.45 0.45 VOLTAGE OUTPUT FB Voltage Output Accuracy Voltage Accuracy Over Temperature % TRANSCONDUCTANCE AMPLIFIER Gain Bandwidth Product GBW (Note 4) 5.2 MHz Transconductance GM1 Default 500 mS Max Output Source Current limit GMSOC 60 80 mA Max Output Sink Current limit GMSIC 60 80 mA Voltage Ramp Vramp 1.4 V INTERNAL BST DIODE Forward Voltage Drop VFBOT IF = 10 mA, TA = 25C DIL Reverse Bias Leakage Current BST-VSW UVLO BST1_UVLO BST-VSW Hysteresis BST_HYS 0.35 0.46 0.55 V BST-VSW = 5 V VSW = 28 V, TA = 25C 0.05 1 mA Rising, Note 4 3.5 V Note 4 300 mV OSCILLATOR Oscillator Frequency FSW_0 FSW = 000, default 528 600 672 kHz FSW_1 FSW = 001 132 150 168 kHz FSW_7 FSW = 110 1056 1200 1344 kHz 12 % Oscillator Frequency Accuracy FSWE -12 Minimum On Time MOT Measured at 10% to 90% of VCC 50 ns Minimum Off Time MOFT Measured at 90% to 10% of VCC 90 ns VINTI IINT(sink) = 2 mA INT THRESHOLDS Interrupt Low Voltage Interrupt High Leakage Current INII Interrupt Startup Delay INTPG 3 V 100 nA Soft Start end to PG positive edge 2.1 ms PGI Delay for power good in 3.3 ms PGO Delay for power good out 100 ns PGTH Power Good in from high 105 % PGTH Power Good in from low 95 % PG falling hysteresis 2.5 % FB_OV 120 % VFB_OVDL 1 Cycle Interrupt Propagation Delay Power Good Threshold PGTHYS FB Overvoltage Threshold Overvoltage Propagation Delay 3.3 V 0.2 EXTERNAL CURRENT SENSE (CS1,CS2) Positive Current Measurement High CS10 CSP1-CSN1 or CSP2-CSN2 = 100 mV 4. Ensured by design. Not production tested. www.onsemi.com 7 500 mA NCP81239, NCP81239A Table 4. ELECTRICAL CHARACTERISTICS (V1 = 12 V, Vout = 1.0 V , TA = +25C for typical value; -40C < TA < 100C for min/max values unless noted otherwise) Parameter Symbol Test Conditions Min Typ Max Units Transconductance Gain Factor CSGT Current Sense Transconductance Vsense = 1 mV to 100 mV Transconductance Deviation CSGE -20 20 % CSCMMR 3 32 V EXTERNAL CURRENT SENSE (CS1,CS2) Current Sense Common Mode Range -3 dB Small Signal Bandwidth CSBW Input Sense Voltage Full Scale ISVFS CS Output Voltage Range CSOR 5 VSENSE (AC) = 10 mVPP, RGAIN = 10 kW (Note 4) VSENSE = 100 mV Rset = 6k mS 30 0 MHz 100 mV 3 V 100 mV EXTERNAL CURRENT LIMIT (CLIND) Current Limit Indicator Output Low CLINDL Input current = 500 mA 5.6 Current Limit Indicator Output High Leakage Current ICLINDH Pull up to 5 V 500 mA INTERNAL CURRENT SENSE ICG Internal Current Sense Gain for PWM CSPx-CSNx = 100 mV 9.2 9.8 10.5 V/V Positive Peak Current Limit Trip PPCLT INT_CL = 00 34 39 44 mV Negative Valley Current Limit Trip NVCLT INT_CL_NEG = 00 31 40 45 mV HSG1 HSG2 Pullup Resistance HSG_PU BST-VSW = 4.5 V 2.8 W HSG1 HSG2 Pulldown Resistance HSG_PD BST-VSW = 4.5 V 1.2 W LSG1 LSG2 Pullup Resistance LSG_PU LSG -PGND = 2.5 V 3.3 W LSG1 LSG2 Pulldown Resistance LSG_PD LSG -PGND = 2.5 V 0.9 W HSG Falling to LSG Rising Delay HSLSD 15 ns LSG Falling to HSG Rising Delay LSHSD 15 ns CFET Drive Voltage CFETDV VCC V Source/Sink Current CFETSS CFET clamped to 2 V 2 mA SWITCHING MOSFET DRIVERS CFET Pull Down Delay CFETD Measured at 10% to 90% of VCC 10 ms CFET Pull Down Resistance CFETR Measured with 1 mA Pull up Current, after 10ms rising edge delay 1.3 kW Charge Slew Rate SLEWP Slew = 00, FB = 0.1 VOUT Slew = 11, FB = 0.1 VOUT 0.6 4.8 mV/ms Discharge Slew Rate SLEWN Slew = 00, FB = 0.1 VOUT Slew = 11, FB = 0.1 VOUT -0.6 -4.8 mV/ms FB=0.1VOUT 300 mV SLEW RATE/SOFT START Prebias Level PBLV DEAD BATTERY/VCONN Dead Battery Input Voltage Range VDB Dead Battery Output Voltage VIO DB_LIM Dead Battery Current Limit 4.5 5 5.25 V VDB = 5 V, Output Current 32 mA 4 4.7 5 V VDB = 5 V, DBOUT greater than 2V 29 57 4. Ensured by design. Not production tested. www.onsemi.com 8 mA NCP81239, NCP81239A Table 4. ELECTRICAL CHARACTERISTICS (V1 = 12 V, Vout = 1.0 V , TA = +25C for typical value; -40C < TA < 100C for min/max values unless noted otherwise) Parameter Symbol Test Conditions EN High Threshold Voltage ENHT EN_MASK = ENPU = ENPOL = 0 EN Low Threshold Voltage ENLT Min Typ Max Units 798 820 mV ENABLE 640 665 mV EN Pull Up Current IEN_UP EN = 0 V 5 mA EN Pull Down Current IEN_DN EN = VCC 5 mA I2C INTERFACE Voltage Threshold I2CVTH Propagation Delay I2CPD Communication Speed I2CSP 0.95 (Note 4) 1 1.05 V 1 MHz 25 ns THERMAL SHUTDOWN Thermal Shutdown Threshold TSD (Note 4) 151 C Thermal Shutdown Hysteresis TSDHYS (Note 4) 28 C PDRV 0 PDRV Operating Range 28 V PDRV Leakage Current PDRV_IDS FET OFF, VPDRV = 28 V 180 nA PDRV Saturation Voltage PDRV_VDS ISNK = 10 mA 0.20 V INTERNAL ADC Range ADCRN (Note 4) LSB Value ADCLSB (Note 4) 20 mV ADCFE (Note 4) 1 LSB Error 0 2.55 V 4. Ensured by design. Not production tested. Product parametric performance is indicated in the Electrical Characteristics for the listed test conditions, unless otherwise noted. Product performance may not be indicated by the Electrical Characteristics if operated under different conditions. www.onsemi.com 9 NCP81239, NCP81239A APPLICATION INFORMATION Dual Edge Current Mode Control boost mode with S1 always on and S2 always off, but S3 and S4 turning on alternatively in an active switching mode. When COMP is below the midpoint, the system will operation at buck mode, with S4 always on and S3 always off, but S1 and S2 turning on alternatively in an active switching mode. The controller can switch between buck and boost mode smoothly based on the COMP signal from peak current regulation. When dual edge current mode control is used, two voltage ramps are generated that are 180 degrees out of phase. The inductor current signal is added to the ramps to incorporate current mode control. In Figure 4, the COMP signal from the compensation output interacts with two triangle ramps to generate gate signals to the switches from S1 to S4. Two ramp signals cross twice at midpoint within a cycle. When COMP is above the midpoint, the system will operate at Ramp1+i_sense comp Ramp2+i_sense S1 S2 S3 S4 S1 S4 L1 V1 V2 S3 S2 Figure 4. Transitions for Dual Edge 4 Switch Buck Boost www.onsemi.com 10 NCP81239, NCP81239A Feedback and Output Voltage Profile the voltage profile register (01H), which makes the continuous output voltage profile possible through an external resistor divider. For example, by default, if the external resistor divider has a 10:1 ratio, the output voltage profile will be able to vary from 1 V to 25.5 V with 100 mV steps. It is recommended to avoid using output voltage profile below 0.1 V. When 0 V output is needed, one can disable NCP81239 by pulling EN pin low with external circuit or use software to write EN registers (00h) through I2C. Setting output voltage profile to 0 via I2C is not recommended. The feedback of the converter output voltage is connected to the FB pin of the device through a resistor divider. Internally FB is connected to the inverting input of the internal transconductance error amplifier. The non-inverting input of the gm amplifier is connected to the internal reference. The internal reference voltage is by default 0.5 V. Therefore a 10:1 resistor divider from the converter output to the FB will set the output voltage to 5 V in default. The reference voltage can be adjusted with 10 mV(default) or 5 mV steps from 0.1 V to 2.55 V through Table 5. VOLTAGE PROFILE REGISTER SETTINGS Voltage Profile dac_target (01h) dac_target_lsb Reference (03h, bit 4) Voltage (mV) 00H 0 Reserved ... ... ... ... 1 09H 1 Reserved 1 0 0AH 0 100 0 1 0 0AH 1 105 ... ... ... ... ... ... ... 1 0 0 1 0 32H 0 500(Default) ... ... ... ... ... ... ... ... ... 0 0 1 0 0 0 C8H 0 2000 ... ... ... ... ... ... ... ... ... ... 1 1 1 1 1 1 1 1 FFH 0 2550 1 1 1 1 1 1 1 1 FFH 1 2555 bit_8 bit_7 bit_6 bit_5 bit_4 bit_3 bit_2 bit_1 Hex Value 0 0 0 0 0 0 0 0 ... ... ... ... ... ... ... 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 ... ... ... ... 0 0 1 ... ... 1 1 ... Transconductance Voltage Error Amplifier 1000 mS allowing the DC gain of the system to be increased more than a decade triggered by the adding and removal of the bulk capacitance or in response to another user input. The default transconductance is 500 mS. To maintain loop stability under a large change in capacitance, the NCP81239 can change the gm of the internal transconductance error amplifier from 87 mS to Table 6. AVAILABLE TRANSCONDUCTANCE SETTING AMP_2 AMP_1 AMP_0 Amplifier GM Value (mS) 0 0 0 87 0 0 1 100 0 1 0 117 0 1 1 333 1 0 0 400 1 0 1 500 1 1 0 667 1 1 1 1000 Programmable Slew Rate used when the output voltage starts from 0 V to a user selected profile level, changing from one profile to another, or when the output voltage is dynamically changed. The output voltage is divided by a factor of the external resistor divider and connected to FB pin. The 9 Bit DAC is used to The slew rate of the NCP81239 is controlled via the I2C registers with the default slew rate set to 0.6 mV/ms (FB = 0.1 V2, assume the resistor divider ratio is 10:1) which is the slowest allowable rate change. The slew rate is www.onsemi.com 11 NCP81239, NCP81239A increase the reference voltage in 10 or 5 mV increments. The slew rate is decreased by using a slower clock that results in a longer time between voltage steps, and conversely increases by using a faster clock. The step monotonicity depends on the bandwidth of the converter where a low bandwidth will result in a slower slew rate than the selected value. The available slew rates are shown in Table 6. The selected slew rate is maintained unless the current limit is tripped; in which case the increased voltage will be governed by the positive current limit until the output voltage falls or the fault is cleared. 2.56 V DAC_TARGET 9 bit DAC DAC_TARGET_LSB VREF + V2 - RC CI CC FB = 0.1*V2 Figure 5. Slew Rate Limiting Block Diagram and Waveforms voltage. If a prebias exists on the output and the converter starts in synchronous mode, the prebias voltage could be discharged. The NCP81239 controller ensures that if a prebias (lower than the input) is detected, the soft start is completed in a non-synchronous mode to prevent the output from discharging. During softstart, the output rising slew rate will follow the slew rate register with default value set to 0.6 mV/ms (FB = 0.1*V2). It takes at least 3.3 ms for the digital core to reset all the registers, so it is recommended not to restart a soft start until at least 3.3 ms after the output voltage ramp down to steady state. Table 7. SLEW RATE SELECTION Slew Bits Soft Start or Voltage Transition (FB = 0.1*V2) Slew_0 0.6 mV/ms Slew_1 1.2 mV/ms Slew_2 2.4 mV/ms Slew_3 4.8 mV/ms The discharge slew rate is accomplished in much the same way as the charging except the reference voltage is decreased rather than increased. The slew rate is maintained unless the negative current limit is reached. If the negative current limit is reached, the output voltage is decreased at the maximum rate allowed by the current limit (see the negative current limit section). Frequency Programming The switching frequency of the NCP81239 can be programmed from 150 kHz to 1.2 MHz via the I2C interface. The default switching frequency is set to 600 kHz. The switching frequency can be changed on the fly. However, it is a good practice to disable the part and then program to a different frequency to avoid transition glitches at large load current. Soft Start During a 0 V soft start, standard converters can start in synchronous mode and have a monotonic rising of output Table 8. FREQUENCY PROGRAMMING TABLE Name Bit Definition Freq1 03H [2:0] Frequency Setting Description 3 Bits that Control the Switching Frequency from 150 kHz to 1 MHz. 000: 600 kHz 001: 150 kHz 010: 300 kHz 011: 450 kHz 100: 750 kHz 101: 900 kHz 110: 1.2 MHz 111: Reserved www.onsemi.com 12 NCP81239, NCP81239A Current Sense Amplifiers amplifier. In addition, RSENSE must be small enough that VSENSE does not exceed the maximum input voltage 100 mV, even under peak load conditions. The potential difference between CSPx and CSNx is level shifted from the high voltage domain to the low voltage VCC domain where the signal is split into two paths. The first path, or external path, allows the end user to observe the analog or digital output of the high side current sense. The external path gain is set by the end user allowing the designer to control the observable voltage level. The voltage at CS1 or CS2 can be converted to 7 bits by the ADC and stored in the internal registers which are accessed through the I2C interface. The second path, or internal path, has internally set gain of 10 and allows cycle by cycle precise limiting of positive and negative peak input current limits. Internal precision differential amplifiers measure the potential between the terminal CSP1 and CSN1 or CSP2 and CSN2. Current flows from the input V1 to the output in a buck boost design. Current flowing from V1 through the switches to the inductor passes through RSENSE. The external sense resistor, RSENSE, has a significant effect on the function of current sensing and limiting systems and must be chosen with care. First, the power dissipation in the resistor should be considered. The system load current will cause both heat and voltage loss in RSENSE. The power loss and voltage drop drive the designer to make the sense resistor as small as possible while still providing the input dynamic range required by the measurement. Note that input dynamic range is the difference between the maximum input signal and the minimum accurately measured signal, and is limited primarily by input DC offset of the internal Internal Path 10x(CSP1-CSN1) + ILOAD CLIP 10X + + - - - 10x(CSP2-CSN2) CLIN CSP1/CSP2 Positive Current Limit Negative Current + Limit - RAMP 1 RAMP 2 VCM Rsense + + - - CS1 or CS2 + 5 mW - ADC + - CS2 MUX - CS1 MUX CSN1/CSN2 2 + VCC 2 CLIND CS2 CS1 CCS1 RCS1 CCS2 RCS2 Figure 6. Block Diagram and Typical Connection for Current Sense Positive Current Limit Internal Path low impedance short, the NCP81239 does pulse by pulse current limiting for 2 ms known as Ilim timeout, the controller will enter into fast stop. The NCP81239 remains in fast stop state with all switches driven off for 10 ms. Once the 10 ms has expired, the part is allowed to soft start to the previously programmed voltage and current level if the short circuit condition is cleared. The internal current limits can be controlled via the I2C interface as shown in Table 9. After extended time of OCP, the controller may shutdown and go to latched up mode. Resetting the input voltage (V1) will clear this fault. The NCP81239 has a pulse by pulse current limiting function activated when a positive current limit triggers. CSP1/CSN1 will be the positive current limit sense channel. When a positive current limit is triggered, the current pulse is truncated. In both buck mode and in boost mode the S1 switch is turned off to limit the energy during an over current event. The current limit is reset every switching cycle and waits for the next positive current limit trigger. In this way, current is limited on a pulse by pulse basis. Pulse by pulse current limiting is advantageous for limiting energy into a load in over current situations but are not up to the task of limiting energy into a low impedance short. To address the www.onsemi.com 13 NCP81239, NCP81239A Table 9. INTERNAL PEAK CURRENT LIMIT CLIN_1 CLIN_0 CSP2-CSN2 (mV) Current at RSENSE = 5 mW (A) 0 0 -40 (Default) -8 0 1 -25 -5 1 0 -15 -3 1 1 0 0 CLIP_1 CLIP_0 CSP1-CSN1 (mV) Current at RSENSE = 5 mW (A) 0 0 38 (Default) 7.6 0 1 23 4.6 1 0 11 2.2 1 1 70 14 Negative Current Limit Internal Path selection of the RCS resistors. The output voltage of the CS pin can be calculated from Equation 1. The user must be careful to keep the dynamic range below 2.56 V when considering the maximum short circuit current. Negative current limit can be activated in a few instances, including light load synchronous operation, heavy load to light load transition, output overvoltage, and high output voltage to lower output voltage transitions. CSP2/CSN2 will be the negative current limit sense channel. During light load synchronous operation, or heavy load to light load transitions the negative current limit can be triggered during normal operation. When the sensed current exceeds the negative current limit, the S4 switch is shut off preventing the discharge of the output voltage both in buck mode and in boost mode if the output is in the power good range. Both in boost mode and in buck mode when a negative current is sensed, the S4 switch is turned off for the remainder of either the S4 or S2 switching cycle and is turned on again at the appropriate time. In buck mode, S4 is turned off at the negative current limit transition and turned on again as soon as the S2 on switch cycle ends. In boost mode, the S4 switch is the rectifying switch and upon negative current limit the switch will shut off for the remainder of its switching cycle. The internal negative current limits can be controlled via the I2C interface as shown in Table 9. V CS + I AVERAGE * R SENSE * Trans * R CS t 2.56V a R CS (eq. 1) V CS 2.56 V + t I AVERAGE * R SENSE * Trans I MAX * R SENSE * Trans The speed and accuracy of the dual amplifier stage allows the reconstruction of the input and output current signal, creating the ability to limit the peak current. If the user would like to limit the mean DC current of the switch, a capacitor can be placed in parallel with the RCS resistors. CS1, CS2 can be monitored with a high impedance input. An external series resistor can be added for additional filtering. CS1, CS2 voltages are connected internally to 2 high speed low offset comparators. The comparators output can be used to suspend operation until reset or restart of the part depending on I2C configuration. When the external CLIND flag is triggered, it indicates that one of the internal comparators has exceeded the preset limit (CSx_LIM). The default comparator setting is 250 mV which is a limit of 500 mA with a current sense resistor of 5 mW and an RCS resistor of 20 kW. CLIND may misbehave when EN toggles. It is because the internal analog circuit is not fully functional when EN is just asserted. One solution is to force the CLIND low during EN is low and release CLIND after certain time after EN goes high. External Path (CS1, CS2, CLIND) The voltage drop across the sense resistors as a result of the load can be observed on the CS1 and CS2 pins. Both CS1, CS2 can be monitored with a high impedance input. The voltage drop is converted into a current by a transconductance amplifier with a typical GM of 5 mS. The final gain of the output is determined by the end users Table 10. REGISTER SETTING FOR THE CLIM COMPARATORS CLIMx_1 CLIMx_0 CSx_LIM (V) Current at RSENSE = 5 mW RCSx = 20 kW (A) Current at RSENSE = 5 mW RCSx = 10 kW (A) 0 0 0.25 .5 1 0 1 0.75 1.5 3 1 0 1.5 3 6 1 1 2.5 5 10 www.onsemi.com 14 NCP81239, NCP81239A Overvoltage Protection (OVP) than 1 switching cycle, the power good register is reset. Power good is indicated on the INT pin if the I2C register is set to display the PG state. During startup, INT is set until the feedback voltage is within the specified range for 3.3 ms. When the divided output voltage is 120% (typical) above the internal reference voltage for greater than one switching cycle, an OV fault is set. During an overvoltage fault, S1 is driven off, S2 is driven on, and S3 and S4 are modulated to discharge the output while preventing the inductor current from going beyond the I2C programmed negative current limit. S1 PG_MSK PG_Low - S4 L1 PG + V1 VFB V2 - S2 S3 + PG_High Figure 9. PG Block Diagram Figure 7. Diagram for OV Protection Power Not Good During overvoltage fault detection the switching frequency changes from its I2C set value to 50 kHz to reduce the power dissipation in the switches and prevent the inductor from saturating. OVP is disabled during voltage changes to ensure voltage changes and glitches during slewing are not falsely reported as faults. The OV faults are reengaged 1 ms after completion of the soft start. When the output voltage profile is set below 100 mV, it is easy to trigger OVP falsely. So it is better for one to avoid using output voltage profile under 100 mV. When 0 V output voltage is needed, one can pull EN pin low with external circuit or write to EN registers (00h) through I2C to disable NCP81239. Setting output voltage profile to 0 via I2C is not recommended. 107.5% 105% VFB 100%Vref 95% 92.5% Power Not Good PG Figure 10. PG Diagram Table 12. POWER GOOD MASKING PG_MSK OV_REF VFB - + Power Good Description 0 PG Action and Indication Unmasked 1 PG Action and Indication Masked OV Thermal Shutdown OV_MSK The NCP81239 protects itself from overheating with an internal thermal shutdown circuit. If the junction temperature exceeds the thermal shutdown threshold (typically 150C), all MOSFETs will be driven to the off state, and the part will wait until the temperature decreases to an acceptable level. The fault will be reported to the fault register and the INT flag will be set unless it is masked. When the junction temperature drops below 125C (typical), the part will discharge the output voltage to Vsafe 0 V. Figure 8. OV Block Diagram Table 11. OVERVOLTAGE MASKING OV_MSK Description 0 OV Action and Indication Unmasked 1 OV Action and Indication Masked Power Good Monitor (PG) CFET Turn On NCP81239 provides two window comparators to monitor the internal feedback voltage. The target voltage window is 5% of the reference voltage (typical). Once the feedback voltage is within the power good window, a power good indication is asserted once a 3.3 ms timer has expired. If the feedback voltage falls outside a 7.5% window for greater The CFET is used to engage the output bulk capacitance after successful negotiations between a consumer and a provider. The USB Power Delivery Specification requires that no more than 30 mF of capacitance be present on the VBUS rail when sinking power. Once the consumer and www.onsemi.com 15 NCP81239, NCP81239A Once the transition from high to low has occurred in a controlled way, a strong pulldown driver is used to ensure normal operation does not turn on the power N-MOSFET engaging the bulk capacitance. The CFET must be activated through the I2C interface where it can be engaged and disengaged. The default state is to have the CFET disengaged. provider have completed a power role swap, a larger capacitance can be added to the output rail to accommodate a higher power level. The bulk capacitance must be added in such a way as to minimize current draw and reduce the voltage perturbation of the bus voltage. The NCP81239 incorporates a right drive circuit that regulates current into the gate of the MOSFET such that the MOSFET turns on slowly reducing the drain to source resistance gradually. VBUS HSG2 CBULK LSG2 30F 10 H QCFET VCC CFET_O 2A CFET 10 ms Rising Edege Delay 2A Figure 11. CFET Drive VBUS Table 13. CFET ACTIVATION TABLE CFET_0 0 Description L 10 mF CFET Pin Pulldown S3 CFET Pin Pull Up PFET Drive USB port 1 S4 NCP81239 The PMOS drive is an open drain output used to control the turn on and turn off of PMOSFET switches at a floating potential. The external PMOS can be used as a cutoff switch, enable for an auxiliary power supply, or a bypass switch for a power supply. The RDSon of the pulldown NMOSFET is typically 20 W allowing the user to quickly turn on large PMOSFET power channels. PDRV PFET_DRV Figure 12. PFET Drive Table 14. PFET ACTIVATION TABLE PFET_DRV www.onsemi.com 16 Description 0 NFET OFF (Default) 1 NFET ON NCP81239, NCP81239A Analog to Digital Converter the voltage is divided by 10 output voltage resolution will be 200 mV. When CS1 and CS2 are sampled, the range is 0 V-2.55 V. The resolution will be 20 mV in the CS monitoring case. The actual current can be calculated by dividing the CS1 or CS2 values with the factor of Rsense x 5mS x RCS1/2, the total gain from the current input to the external current monitoring outputs. The ADC trigger register is called amux_trigger in the register map. It is recommended to set this register before enabling the controller. If a change on the fly is necessary, it is recommended to reset to 0 first before setting to a new value. The analog to digital converter is a 7-bit A/D which can be used as an event recorder, an input voltage sampler, output voltage sampler, input current sampler, or output current sampler. The converter digitizes real time data during the sample period. The internal precision reference is used to provide the full range voltage; in the case of V1(input voltage), or FB (with 10:1 external resistor divider) the full range is 0 V to 25.5 V. The V1 is internally divided down by 10 before it is digitized by the ADC, thus the range of the measurement is 0 V-2.55 V, same as FB. The resolution of the V1 and FB voltage is 20 mV at the analog mux, but since Rsense1 Rsense2 RCS1 RCS2 0.1*V1 Figure 13. Analog to Digital Converter Table 15. ADC BYTE DATA MSB 5 4 3 2 1 LSB D6 D5 D4 D3 D2 D1 D0 Table 16. REGISTER SETTING FOR ENABLING DESIRED ADC BEHAVIOR ADC_1 ADC_0 Description 0 0 Set Amux to VFB 0 1 Sets Amux to V1 1 0 Set Amux to CS2 1 1 Set Amux to CS1 Table 17. REGISTER SETTING FOR ADC TRIGGER MANNER ADC Trigger Description 00 Trigger a 1xread by a fault condition (Default) 01 Trigger a 1xread 10 Trigger a continuous read www.onsemi.com 17 NCP81239, NCP81239A Interrupt Control The interrupt source registers (14h,15h) always read 0 when any interrupt happens. The solution is to first keep Int_mask_XXX registers (09h) low by default. INT can toggle after any fault happens. Then set int_mask_XXX registers to high, it will flag the corresponding interrupt source registers if the fault is still there. Now the interrupt source registers can be read. In the end, set int_mask_XXX registers to low again after reading interrupt status registers. The interrupt controller continuously monitors internal interrupt sources, generating an interrupt signal when a system status change is detected. Individual bits generating interrupts will be set to 1 in the INTACK register (I2C read only registers), indicating the interrupt source. All interrupt sources can be masked by writing 1 in register INTMSK. Masked sources will never generate an interrupt request on the INT pin. The INT pin is an open drain output. A non-masked interrupt request will result in the INT pin being driven high. Figure 14 illustrates the interrupt process. OV OV OV _MASK SHUTDN OV_REG SHUTDN _MASK TEMP PG TEMP _MASK INT PG PG _MASK PG_REG INTOCP INTOCP _MASK TEMP EXTOC EXTOC _MASK INTACK TEMP_REG INTACK _MASK VCHN VCHN _MASK INT Figure 14. Interrupt Logic Table 18. INTERPRETATION TABLE Interrupt Name OV Shutdown TEMP PG I2C Address Description NCP81239 and NCP81239A are functionally same but have different factory I2C addresses. NCP81239 address is set to 74h, NCP81239A is set to 75h. Output Over Voltage Shutdown Detection (EN=low) IC Thermal Trip Power Good Trip Thresholds Exceeded INTOCP Internal Current Limit Trip EXTOC External Current Trip from CLIND VCHN Output Negative Voltage Change INTACK I2C ACK signal to the host Table 19. I2C ADDRESS I2C Address Hex A6 A5 A4 A3 A2 A1 A0 NCP81239 0x74 1 1 1 0 1 0 0 NCP81239A 0x75 1 1 1 0 1 0 1 www.onsemi.com 18 NCP81239, NCP81239A I2C Interface external processor by means of a serial link using a 400 kHz up to 1.2 MHz I2C two-wire interface protocol. The I2C interface provided is fully compatible with the Standard, Fast, and High-Speed I2C modes. The NCP81239 is not intended to operate as a master controller; it is under the control of the main controller (master device), which controls the clock (pin SCL) and the read or write operations through SDA. The I2C bus is an addressable interface (7-bit addressing only) featuring two Read/Write addresses. The I2C interface can support 5 V TTL, LVTTL, 2.5 V and 1.8 V interfaces with two precision SCL and SDA comparators with 1 V thresholds shown in Figure 15. The part cannot support 5 V CMOS levels as there can be some ambiguity in voltage levels. I2C Compatible Interface The NCP81239 can support a subset of I2C protocol as detailed below. The NCP81239 communicates with the 5V CMOS Vcc =4.5V-5.5V TTL Vcc =4.5V-5.5V V OH = 4.44V LVTTL Vcc =2.7V-3.6V EIS/JEDEC 8-5 V IH = 0.7*vcc VTH = 0.5* vcc VIL = 0.3*vcc V OH = 2.4V 2.5 Vcc =2.3V-2. 7V EIS/JEDEC 8-5 V OH = 2.4V VIH = 2.0V VIH = 2. 0V 1.8V Vcc =1.65V-1.95V EIS/JEDEC 8-7 VOH = 2. 0V VIH = 1.7V VOH = VCC-0.45V V IH = 0. 65*Vcc VIL = 0.8V VOL = 0.4V V IL = 0.7V VOL = 0.4V VTH = 1. 5V VIL = 0.8V VOL = 0.4V VOL = 0.5V V IL = 0.35*Vcc 1.0V Threshold VOL = 0.45V Figure 15. I2C Thresholds and Comparator Thresholds I2C Communication Description The first byte transmitted is the chip address (with the LSB bit set to 1 for a Read operation, or set to 0 for a Write operation). Following the 1 or 0, the data will be: * In case of a Write operation, the register address (@REG) pointing to the register for which it will be written is followed by the data that will written in that location. The writing process is auto-incremental, so * the first data will be written in @REG, the contents of @REG are incremented, and the next data byte is placed in the location pointed to @REG + 1..., etc. In case of a Read operation, the NCP81239 will output the data from the last register that has been accessed by the last write operation. Like the writing process, the reading process is auto-incremental. From MCU to NCP81239 From NCP81239 to MCU Start 1 IC ADDRESS 1 ACK DATA 1 ACK Data n ACK DATA 1 ACK Data n /ACK STOP READ OUT FROM PART Read /ACK Start IC ADDRESS 0 STOP Write Inside Part ACK If part does not Acknowledge, the /NACK will be followed by a STOP or Sr. If part Acknowledges, the ACK can be followed by another data or STOP or Sr. 0 Write Figure 16. General Protocol Description www.onsemi.com 19 NCP81239, NCP81239A Read Out from Part then start or a repeated start will initiate the Read transaction from the register address the initial Write transaction was pointed to: The master will first make a "Pseudo Write" transaction with no data to set the internal address register. Then, a stop From MCU to NCP81239 From NCP81239 to MCU Start 0 IC ADDRESS 0 Sets Internal Register Pointer Register Address ACK ACK STOP Write Start IC ADDRESS 1 ACK DATA 1 ACK Data n /ACK STOP Write Inside Part Register Address + (n+1) Value Register Address Value N Register Read 1 Read Figure 17. Read Out From Part From MCU to NCP81239 From NCP81239 to MCU Start IC ADDRESS 0 Sets Internal Register Pointer ACK Register REG Address Write Value in Register REG + (n-1) Write Value in Register REG ACK REG Value REG + (n-1) Value ACK ACK STOP N Register Read 0 Write Start IC ADDRESS 1 ACK DATA 1 ACK Data n /ACK STOP Register Address + (n+1) + (k-1) Value Register Address + (n-1) Value k Register Read 1 Read Figure 18. Write Followed by Read Transaction Write In Part Write operation will be achieved by only one transaction. After the chip address, the MCU first data will be the internal register desired to access, the following data will be the data written in REG, REG + 1, REG + 2, ..., REG + (n-1). From MCU to NCP81239 From NCP81239 to MCU Start IC ADDRESS 0 Write Value in Register REG + (n-1) Write Value in Register REG Sets Internal Register pointer ACK Register REG Address ACK REG Value ACK N Register Read 0 Write Figure 19. Write in n Registers www.onsemi.com 20 REG + (n-1) Value ACK STOP NCP81239, NCP81239A I2C Communication Considerations * It takes at least 3.3 ms for the digital core to reset all the * * CLIND may misbehave when VCC is setting up and registers, so it is recommended not to change the register value until at least 3.3 ms after the output voltage finish ramping to a steady state. It is recommended to avoid setting reference voltage profile below 0.1 V. When 0 V output is needed, it is recommended to ramp down the output by pulling EN pin low with external circuit or by I2C communication in the firmware. Setting output voltage profile to 0 via I2C is not recommended. when EN toggles. It is because the internal analog circuit is not fully functional when VCC or EN is just asserted, and CLIND is not intentionally pulled low before the controller's internal analog circuit get fully functional or fully shutdown. External circuit can be added to force the CLIND low when EN is low and release CLIND after certain time after EN goes high. The PD controller can also be used to ignore the CLIND when EN is low or just asserted and only monitor CLIND when EN is high. User-programmable Registers Table 20. I2C REGISTER MAP BIT DETAIL User read-only registers - ADDR (Hex) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0B .. 0Fh 10h 11h 12h 13h 14h 15h Bit 7 - Bit 6 - Bit 5 - Bit 4 - Bit 3 en_int Bit 2 en_mask - dead_battery_en - Bit 1 en_pup Bit 0 en_pol dac_target - - gm_amp_config int_mask_i2c_ack - int_mask_vchn - cs2_dchrg dac_target_lsb cs1_dchrg ocp_clim_neg - i2c_ack - vchn - - cs2_clind hi_gm_amp_setting dis_adc - - int_mask_tsd - gm_manual amux_sel int_mask_pg - int_mask_ocp_p - tsd - vfb vin cs2 cs1 pg_int - ocp_p - www.onsemi.com 21 slew_rate pwm_frequency cfet pfet ocp_clim_pos cs1_clind lo_gm_amp_setting amux_trigger int_mask_ov int_mask_clind int_mask_shutdown ov - ext_clind_ocp shut_down NCP81239, NCP81239A DESIGN CONSIDERATIONS dv/dt Induced False Turn On 4-switch buck-boost converter is not exempt from this issue. To make things worse, errors are made when designers simply copy the circuit parameters of a buck converter directly to the boost phase of the 4-switch buck-boost converter. In synchronous buck converters, there is a well-known phenomenon called "low side false turn-on," or "dv/dt induced turn on", which can be potentially dangerous for the switch itself and the reliability of the entire converter. The Vin S1 4-Switch Buck-boost Controller Vout 4-Switch Buck-boost Controller Buck phase dv/dt induced false turn on equivalent circuit L Drain Rpu_ds(on) Vsw1 Cgd Drain Rg_int Rg_ext HSG2 Gate Cgd Rpu_ds(on) Rg_int Rg_ext S2 LSG1 + Gate Cgs Cgs Source - Vsw2 - GND L Vsw2 Vgs' Rpd_ds(on) dV/dt Vgs' Rpd_ds(on) dV/dt S4 + S3 Source Boost phase dv/dt induced false turn on equivalent circuit Figure 20. dv/dt Induced False Turn-on Equivalent Circuit of a 4-switch Buck-boost Converter Figure 20 shows false turn on equivalent circuit of the buck phase and the boost phase at the moment a positive dv/dt transition appears across the drain-to-source junction. The detailed analysis of this phenomenon can be found in Gate Driver Design Considerations for 4-Switch Buck-Boost Converters. on dt/Cgs, Vds and threshold voltage Vth. One way of interpreting the dv/dt induced turn-on problem is when Vds reaches the input voltage, the Miller charge should be smaller than the total charge on Cgs at the Vth level, so that the rectifying switches will not be turned on. Then we will have the following relation: Select the Switching Power MOSFET V gs + The MOSFETs used in the power stage of the converter should have a maximum drain-to-source voltage rating that exceeds the sum of steady state maximum drain-to-source voltage and the turn-off voltage spike with a considerable margin (20%~50%). When selecting the switching power MOSFET, the MOSFET gate capacitance should be considered carefully to avoid overloading the 5 V LDO. For one MOSFET, the allowed maximum total gate charge Qg can be estimated by Equation 2: Qg + I driver f sw C gd C gd ) C gs V ds t V gs(th) (eq. 3) Q gd t Q GS(th) (eq. 4) We can simply use Equation 4 to evaluate the rectifying device's immunity to dv/dt induced turn on. Ideally, the charge Qgd should not be greater than 1.5*Qgs(th) in order to leave enough margin. Select Gate Drive Resistors To increase the converter's dv/dt immunity, the dv/dt control is one approach which is usually related to the gate driver circuit. A first intuitive method is to use higher pull up resistance and gate resistance for the active switch. This would slow down the turn on of the active switch, effectively decreasing the dv/dt. Table 21 shows the recommended value for MOSFETs' gate resistors. (eq. 2) where Idriver is the gate drive current and fsw is the switching frequency. It is recommended to select the MOSFETs with smaller than 3 nF input capacitance (Ciss). The gate threshold voltage should be higher than 1.0 V due to the internal adaptive non-overlap gate driver circuit. In order to prevent dv/dt induced turn-on, the criteria for selecting a rectifying switch is based on the Qgd/Qgs(th) ratio. Qgs(th) is the gate-to-source charge before the gate voltage reaches the threshold voltage. Lowering Cgd will reduce dv/dt induced voltage magnitude. Moreover, it also depends Table 21. RECOMMENDED VALUE for Gate Resistors Buck Phase Boost Phase HSG1 (3.3~5.1)W HSG2 0W LSG1 0W LSG2 (3.3~5.1)W An alternative approach is to add an RC snubber circuit to the switching nodes Vsw1 and Vsw2. This is the most direct www.onsemi.com 22 NCP81239, NCP81239A * VCC Decoupling: Place decoupling caps as close as way to reduce the dv/dt. The side effect of the above two methods are that losses would be increased because of slow switching speed. LAYOUT GUIDELINES * Electrical Layout Considerations Good electrical layout is a key to make sure proper operation, high efficiency, and noise reduction. * Current Sensing: Run two dedicated trace with decent width in parallel (close to each other to minimize the loop area) from the two terminals of the input side or output side current sensing resistor to the IC. Place the common-mode RC filter components in general proximity of the controller. * Route the traces into the pads from the inside of the current sensing resistor. The drawing below shows how to rout the traces. * * Current Path * * Current Sense Resistor PCB Trace CSP/CSN * * Gate Driver: Run the high side gate, low side gate and * * switching node traces in a parallel fashion with decent width. Avoid any sensitive analog signal trace from crossing over or getting close. Recommend routing Vsw1/2 trace to high-side MOSFET source pin instead of copper pour area. The controller should be placed close to the switching MOSFETs gate terminals and keep the gate drive signal traces short for a clean MOSFET drive. It's OK to place the controller on the opposite side of the MOSFETs. I2C Communication: SDA and SCL pins are digital pins. Run SDA and SCL traces in parallel and reduce the loop area. Avoid any sensitive analog signal trace or noise source from crossing over or getting close. V1 Pin: Input for the internal LDO. Place a decoupling capacitor in general proximity of the controller. Run a dedicated trace from system input bus to the pin and do not route near the switching traces. * possible to the controller VCC pin. Place the RC filter connecting with VDRV pin in general proximity of the controller. The filter resistor should be not higher than 10 W to prevent large voltage drop. VDRV Decoupling: Place decoupling caps as close as possible to the controller VDRV pin. Input Decoupling: The device should be well decoupled by input capacitors and input loop area should be as small as possible to reduce parasitic inductance, input voltage spike, and noise emission. Usually, a small low-ESL MLCC is placed very close to the input port. Place these capacitors on the same PCB layer with the MOSFETs instead of on different layers and using vias to make the connection. Output Decoupling: The output capacitors should be as close as possible to the load. Switching Node: The converter's switching node should be a copper pour to carry the current, but compact because it is also a noise source of electrical and magnetic field radiation. Place the inductor and the switching MOSFETs on the same layer of the PCB. Bootstrap: The bootstrap cap and an option resistor need to be in general close to the controller and directly connected between pin BST1/2 and pin SW1/2 respectively. Ground: It would be good to have separated ground planes for PGND and AGND and connect the AGND planes to PGND through a dedicated net tie or 0 W resistor. Voltage Sense: Route a "quiet" path for the input and output voltage sense. AGND could be used as a remote ground sense when differential sense is preferred. Compensation Network: The compensation network should be close to the controller. Keep FB trace short to minimize it capacitance to ground. Thermal Layout Considerations Good thermal layout helps power dissipation and junction temperature reduction. * The exposed pads must be well soldered on the board. * A four or more layers PCB board with solid ground planes is preferred for better heat dissipation. * More free vias are welcome to be around IC and underneath the exposed pads to connect the inner ground layers to reduce thermal impedance. * Use large area copper pour to help thermal conduction and radiation. * Do not put the inductor too close to the IC, thus the heat sources are distributed. www.onsemi.com 23 MECHANICAL CASE OUTLINE PACKAGE DIMENSIONS QFN32 5x5, 0.5P CASE 485CE ISSUE O DATE 07 FEB 2012 1 32 SCALE 2:1 A B D EEE EEE EEE PIN ONE REFERENCE 0.15 C L1 DETAIL A ALTERNATE CONSTRUCTIONS E TOP VIEW (A3) DETAIL B NOTES: 1. DIMENSIONING AND TOLERANCING PER ASME Y14.5M, 1994. 2. CONTROLLING DIMENSION: MILLIMETERS. 3. DIMENSION b APPLIES TO PLATED TERMINAL AND IS MEASURED BETWEEN 0.15 AND 0.30 MM FROM THE TERMINAL TIP. 4. COPLANARITY APPLIES TO THE EXPOSED PAD AS WELL AS THE TERMINALS. DIM A A1 A3 b D D2 E E2 e K L L1 EEE CCC CCC EXPOSED Cu 0.15 C L L MOLD CMPD DETAIL B 0.10 C ALTERNATE CONSTRUCTION A 0.08 C NOTE 4 A1 SIDE VIEW D2 DETAIL A C SEATING PLANE GENERIC MARKING DIAGRAM* K 8 1 XXXXXXXX XXXXXXXX AWLYYWWG 17 E2 32X 24 1 L XXXXX A WL YY WW G 25 32 32X e e/2 BOTTOM VIEW b 0.10 M C A-B B 0.05 M C NOTE 3 RECOMMENDED SOLDERING FOOTPRINT* 32X 0.62 3.70 = Specific Device Code = Assembly Location = Wafer Lot = Year = Work Week = Pb-Free Package *This information is generic. Please refer to device data sheet for actual part marking. Pb-Free indicator, "G" or microdot " G", may or may not be present. 5.30 3.70 MILLIMETERS MIN MAX 0.80 1.00 --- 0.05 0.20 REF 0.20 0.30 5.00 BSC 3.40 3.60 5.00 BSC 3.40 3.60 0.50 BSC 0.20 --- 0.30 0.50 --- 0.15 5.30 0.50 PITCH 32X 0.30 DIMENSIONS: MILLIMETERS *For additional information on our Pb-Free strategy and soldering details, please download the ON Semiconductor Soldering and Mounting Techniques Reference Manual, SOLDERRM/D. DOCUMENT NUMBER: DESCRIPTION: 98AON34336E TDFN8, 2X3, 0.5P Electronic versions are uncontrolled except when accessed directly from the Document Repository. Printed versions are uncontrolled except when stamped "CONTROLLED COPY" in red. PAGE 1 OF 1 ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries. ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. ON Semiconductor does not convey any license under its patent rights nor the rights of others. (c) Semiconductor Components Industries, LLC, 2019 www.onsemi.com ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries. ON Semiconductor owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of ON Semiconductor's product/patent coverage may be accessed at www.onsemi.com/site/pdf/Patent-Marking.pdf. ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. Buyer is responsible for its products and applications using ON Semiconductor products, including compliance with all laws, regulations and safety requirements or standards, regardless of any support or applications information provided by ON Semiconductor. "Typical" parameters which may be provided in ON Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts. ON Semiconductor does not convey any license under its patent rights nor the rights of others. ON Semiconductor products are not designed, intended, or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body. Should Buyer purchase or use ON Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold ON Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that ON Semiconductor was negligent regarding the design or manufacture of the part. ON Semiconductor is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: Email Requests to: orderlit@onsemi.com ON Semiconductor Website: www.onsemi.com TECHNICAL SUPPORT North American Technical Support: Voice Mail: 1 800-282-9855 Toll Free USA/Canada Phone: 011 421 33 790 2910 www.onsemi.com 1 Europe, Middle East and Africa Technical Support: Phone: 00421 33 790 2910 For additional information, please contact your local Sales Representative