Single Frame and Feedforward Function Description of Digital Power Controller UCD3138

Abstract
The UCD3138 is the latest generation of digital power controllers from Texas Instruments and was officially released in the first quarter of 2012. Compared with the previous generation digital power controller UCD30xx, it has important improvements in many aspects, more features and more powerful performance. This article is based on a switching power supply with a hard-switched full-bridge (sub-side full-wave synchronous rectification) topology, detailing the UCD3138's Single Frame function and input voltage feedforward function. While understanding the above functions, you can clearly understand the advantages of UCD3138. References are given at the end of this article.

1 , Single Frame function design and implementation
Single Frame is a new way to complete the input voltage detection on the primary side. This method can directly detect the current input voltage on the secondary side and realize the undervoltage protection function, so no additional input undervoltage protection circuit and optocoupler or digital isolator are needed.

1.1 Introduction to Single Frame Function <br> Before the power system is officially running, the UCD3138 chip periodically sends out single or several drive pulses to make the hard switch full bridge work for a single or multiple cycles. At this time, a voltage can be generated at the center tap of the secondary side of the transformer, and the voltage is linear with the input voltage. Therefore, the voltage is detected by the UCD3138 and calculated by software to obtain the input voltage. Based on the calculation result, the system can determine whether the input voltage reaches the turn-on point to determine whether to exit the undervoltage protection and start normal operation.
In practical applications, in order to ensure that the upper tube on the primary side of the full bridge (the driving ground is floating) can be smoothly turned on, it is usually necessary to continuously transmit driving pulses for several cycles. In the hard-switched full bridge involved in this article, two drive pulses are actually sent to ensure that the UCD3138 successfully detects the correct input voltage.

1.2 Hardware Circuit Design <br> The hardware circuit that implements the Single Frame function is relatively simple, as shown in Figure 1. The VIN_CT network is connected to the center tap of the secondary side of the transformer, then filtered by RC and connected to the EAP2 pin of the UCD3138. The main function of this circuit is to achieve the filtering and scaling of the voltage at the center tap of the transformer.

Figure 1 : Single Frame Hardware Circuit <br> The transformer turns ratio is 5:2:2. The relationship between the voltage at EAP2 and the input voltage is:


1.3 Software Design <br> The software design that implements the Single Frame function includes two parts: the configuration of the drive signal and the voltage acquisition and conversion. The first part is the core configuration. The following section focuses on the first part.

1. Switching cycle setting The following code sets the switching period to 5us, which is 200KHz. The calculation formula is:


#define PERIOD (20000)
Dpwm0Regs.DPWMPRD.all = PERIOD;

2. Setting the single pulse length The following code completes the setting of the single pulse pulse width, including the dead zone setting. The code sets the time width to

. That is, two pulses with a pulse width of 651 ns are output in one cycle.
Dpwm0Regs.DPWMEV1.all = 20;
Dpwm0Regs.DPWMEV2.all = 2625;
Dpwm0Regs.DPWMEV3.all = 20 + 10000;
Dpwm0Regs.DPWMEV4.all = 2625 + 10000;

Pressure Gauge

We are specialize in research and design our csherun Pressure Gauges, our pressure gauges are used in all equipment and pipelines involving gas and liquid transportation and reaction. Typical industries include petrochemical industry, fine chemical industry, nuclear industry, urban water supply and gas supply industry. They are include Plastic case Copper Alloy Pressure Gauge, Steel case copper alloy pressure gauge,Stainless steel case copper alloy pressure gauge, Stainless Steel Pressure Gauge, gas pressure gauge, Water pressure gauge, Hydraulic pressure gauge, Vacuum pressure gauge, Oxygen gauge, Argon gauge, Oil filling gauge, Tire pressure gauge, Fire extinguisher pressure gauge, Temperature and pressure gauge, Welding gauge, Safety pressure gauge, Free oil pressure gauge, Process gauge, Different pressure gauge, Test gauge, Refrigerant pressure gauge, electric contact pressure gauge, diaphragm seals and Diaphragm Seal Systems etc.IMG_3644

Psi Gauge,Refrigerant Pressure Gauge,Digital Pressure Gauges,Vacuum Pressure Gauge

Changshu Herun Import & Export Co.,Ltd , https://www.herunchina.com