With the popularity of electronic products such as computers, mobile phones, and digital cameras, there are more and more applications for electronic devices to transmit data and fast charging through interconnection. This has made USB type-c and Quick Charge (QC) a new market development. trend. The goal of the USB type-c interface is to use a uniform interface between the interconnections of different electronic devices, while providing power and transmission data, as well as audio and video and customer personalized communication protocols. Quick Charge increases the output power by increasing the output voltage to reduce the loss on the cable and the connector, and sets the output voltage through different states of the USB signal lines D+ and D-. Therefore, in order to meet the two standards of USB type-c and Quick Charge, a power controller capable of voltage regulation according to the requirements of the powered device is required. ON Semiconductor's single-inductor H-bridge buck-boost power supply controller NCP81239 is an ideal choice. It can be adapted to a wide input voltage range and a wide output voltage range. The chip-integrated I2C interface can be used with an external microcontroller (MCU) for stepping adjustment of the output voltage and can be implemented in the same type-c port. Fast charge agreement, but also dock Apple LighTIng interface fast charge agreement, Samsung interface fast charge agreement and so on. The NCP81239 supports a wide input voltage range, provides a dynamically programmable switching frequency from 150kHz to 1.2MHz, integrates four MOSFET drivers, uses dual edge current mode control, supports output pre-bias startup, and adaptive dead time control prevents shoot-through. Independent input and output current sensing, output voltage (range 0 to 20V) can be programmed via I2C, integrated with overvoltage, undervoltage, overcurrent and accurate overload protection, as well as protection for 5V Vconn power supplies . Figure 1: Typical application circuit diagram of NCP81239 The NCP81239 features dual edge current mode buck-boost control for seamless switching from buck mode to boost mode. The I2C interface uses only two signal lines for bidirectional serial communication. The open drain connection can be easily interfaced between different logic levels and is compatible with 1.8V, 2.5V, 3.3V and 5V logic level MCUs. The input and output currents can be detected by the high-side sense resistor. The detected voltage is divided into internal and external channels: internal current signal for current mode loop control and current limit protection, and overcurrent protection can be performed through internal registers. Set or mask, the internal fixed gain is 10 times, the internal current value is stored in the corresponding register through the analog-to-digital converter (ADC), which can be read by I2C; the external current signal can be read by the MCU to perform the corresponding software operation, external The impedance can be set to the current measurement range. The current-sense op amp has a transconductance of 5mS. The external resistor can also be used to filter the current signal into an average value. The NCP81239 has a built-in 4-channel 7-bit ADC that can perform A/D conversion between input and output. The corresponding value can be read by I2C reading internal registers. The internal feedback reference voltage is set by a 9-bit DAC with a reference voltage range of 0V to 2.55V. The output voltage range can also be set via an external voltage divider network. Since the internal step has a 9-bit ADC and the step size is relatively small, it is easy to set the compensation cable voltage drop with the MCU I2C interface, so that the load terminal voltage can be kept within the error range of the set value, which is very suitable for QC3.0 or USB PD and other occasions require voltage regulation. In the USB PD, QC2.0, QC3.0 and other specifications, if the output voltage is dynamically set, the voltage regulation rate will be involved. If the regulation speed is too fast, the inductor current will overshoot and the output voltage will overshoot or undershoot. The NCP81239 has built-in registers that can be set via the I2C interface to control the slope of the voltage rise and fall during voltage regulation. The NCP81239 detects the input peak current through RS1 for forward overcurrent protection. The current limiting mode is wave-by-wave plus hiccup mode. When an overcurrent is detected in one cycle, either in buck mode or in boost mode, Q1 is immediately turned off to limit input power. If the wave-by-wave current limit time reaches 2mS or the FB voltage is lower than 300mV, enter the fast shutdown mode and turn off 4 switches. After 10mS, it will soft-start to the original set output voltage and current. The overcurrent protection value can be set by I2C or current sense resistor. The current sense resistor should be selected to ensure that the voltage of CSP1-CSN1 does not exceed 100mV of the op amp differential mode voltage range when overcurrent. If a 5 milliohm sense resistor is used, the corresponding peak overcurrent protection value is as follows, the default value is 7.6A. Table 1: Peak overcurrent protection values ​​for 5 mΩ sense resistors (forward overcurrent protection) The buck-boost control of the 4-switch synchronous rectification is performed in the light load mode, the heavy-duty to light-load conversion process, the output over-voltage protection, and the output current from the high-voltage to the low-voltage adjustment process. CSP2/CSN2 is used for reverse current detection. When the reverse current exceeds the current limit setting value, if the output voltage is within the set voltage range, Q4 will immediately turn off to prevent the reverse current from continuing to increase. If it is in buck mode, Q4 will turn back on when Q2 is turned off. The overcurrent protection value can be set by I2C or current sense resistor. The current sense resistor should be selected to ensure that the voltage of CSP2-CSN2 does not exceed 100mV of the op amp differential mode voltage range when overcurrent. If a 5 milliohm sense resistor is used, the corresponding peak overcurrent protection value is as follows, the default value is -8A. Table 2: Peak overcurrent protection value for 5 mΩ sense resistor (reverse overcurrent protection) When the output voltage is higher than the set value of 110% for more than one switching cycle, the NCP81239 enters the overvoltage protection mode. During overvoltage protection, S1 is turned off, S2 is turned on, and S3 and S4 are alternately turned on to discharge the output voltage while preventing the reverse current from exceeding the set reverse protection current value. In the event of an output overvoltage fault, the switching frequency is reduced to 50KHz, preventing the inductor from saturating and reducing the power dissipation on the power tube. Figure 2: Output Overvoltage Protection Icon Conventional synchronous rectification control is initiated when the output has a pre-bias voltage, and the output is first discharged and then raised. When the output is pre-biased, the NCP81239 will operate in non-synchronous rectification mode at startup and will not discharge the output. It is suitable for battery load applications. The output voltage is within +/- 5% of the set value, and a Power Good signal is issued after a delay of 3.3mS. If the output voltage exceeds +/- 7% of the set value for more than one switching cycle, the Power Good register is reset and the interrupt signal is output. The NCP81239 supports four I2C addresses, which can be configured before the chip is shipped from the customer. The default I2C address is E8h/E9h. In addition, the NCP81239 itself has overheat protection. When the junction temperature of the chip exceeds 150 degrees, it will turn off the external four switches. After the temperature drops to 125 degrees, it will restart. ON Semiconductor offers reference designs such as the NCP81239's 60W car charger, notebook external docking station, desktop applications, and plug-in boards with Type-C interfaces for small size and energy efficiency, meeting USB PD and Quick Charge specifications Different application requirements. The Type-C interface is becoming a single interface for interconnection between electronic products. The high voltage USB PD requires different voltages and powers to regulate the output voltage. The features and comprehensive protection features of ON Semiconductor's NCP81239 make it ideal for highly reliable applications requiring wide voltage inputs and adjustable voltage outputs, such as USB PD and Quick Charge, and battery charging, with its unique control mode. Efficient buck-boost conversion, up to 1.2MHz operating frequency for a compact design. 401-999Kva Diesel Generator,Shanghai Genset,Shanghai Power Generator,Power Generator Set Shanghai Kosta Electric Co., Ltd. , https://www.ksdpower.com