SSZT335 february   2020 DAC43401 , DAC53401 , LM34936 , LM5176

 

  1.   1
  2.   2
    1.     3
    2.     Modulated voltage programming
    3.     Controlling voltage through a DAC
    4.     Controlling voltage through a PWM signal
    5.     Using two-stage RC filters to avoid excessive delays
    6.     Conclusion
    7.     Additional resources

Youhao Xi

As I discussed in the first installment of this series, one option to control output voltage (VOUT) for USB Type-C Power Delivery (PD) and wireless charging applications is to use switching resistors. This article will explain a different approach that requires fewer components and signal lines called modulated voltage programming.

Modulated voltage programming

You may recall from part 1 that switching resistors require three switched resistor branches and three control signals to produce the four voltages needed for USB Type-C PD applications. Each switched resistor branch also requires a resistor-capacitor (RC) delay to control the speed of switching, in order to prevent falsely triggering the overvoltage protection (OVP) function of the four-switch buck-boost controllers. The actual hardware requires many additional components, and the solution can appear cumbersome and may not easily fit into compact designs. In such cases, you may need a different approach to reduce the number of components.

Figure 1 shows an example in which a modulated voltage source (VC) alters the feedback (FB) pin voltage. Therefore, Equation 1 determines the VOUT:

Equation 1. GUID-93E72C07-0E1B-4476-A1E2-238B9A5BD0A7-low.jpg

where VREF is the controller error amplifier reference voltage. Decreasing or increasing VC will adjust VOUT up or down, respectively.

There are two ways to control the VC level with a microprocessor. The first is to use an integrated digital-to-analog converter (DAC), and the second is to directly use the pulse-width modulation (PWM) signal produced by the microprocessor.

GUID-5AE61506-FB34-44BB-B858-E72BD603EAFE-low.jpg Figure 1 Adjusting VOUT with a modulated voltage source

Controlling voltage through a DAC

USB Type-C PD and wireless charger systems usually have a microprocessor with an internal DAC. If it does not have an internal DAC, an external one like TI’s DAC43401 or DAC53401 can be used. As shown in Figure 2, the DAC can produce the required VC to adjust VOUT by programming the microprocessor to follow Equation 1.

False VOUT OVP can be a problem if the slew rate of VC is too quick. Therefore, when using microprocessor to control VC, make sure that the VC transition time is longer than the buck-boost DC/DC stage loop response time but does not exceed the applicable USB Type-C specifications.

GUID-D3D00550-2E25-4CFF-A03F-0E2CACFC8BFF-low.jpg Figure 2 Using a DAC to control the VC

Controlling voltage through a PWM signal

The second approach is to use a General-Purpose Inputs/Output port (GPIO) of the microprocessor to produce a PWM signal. This PWM signal can be filtered out by an RC filter to produce a DC voltage before being fed into the FB pin, as shown in Figure 3. Changing the PWM duty cycle can dynamically adjust VOUT.

GUID-7F00355D-C9D4-4ACA-9DA0-FFA66ADC65D2-low.jpg Figure 3 Adjusting VOUT through the PWM signal

The PWM filter will, however, introduce ripple voltages. If the low-pass corner frequency of the RC filter is much lower than the frequency of the PWM signal, both R3 and the FB pin will see an almost pure DC voltage. Therefore, the PWM will not cause significant ripples on the VOUT rail. I recommend choosing R4 and C1 such that the RC filter’s corner frequency is set to at least two decades below the frequency of the PWM signal, such that the ripple voltage at FB pin can be attenuated by at least 40 dB. Consequently, the selection of R4 and C1 should satisfy Equation 2:

Equation 2. GUID-BC71DDC6-5A9E-4548-A92C-AD84F9179B27-low.jpg

where fPWM is the frequency of the PWM signal.

Assuming that the PWM signal’s duty cycle is D, the valley voltage is 0 V and the peak voltage is VPWM, then VOUT will satisfy Equation 3:

Equation 3. GUID-1F192CF0-39B7-4A71-B90F-CC4FB9A95741-low.jpg

Using two-stage RC filters to avoid excessive delays

As mentioned above, the RC filter needs to attenuate the PWM by at least 40 dB. If the PWM signal frequency is limited, say to 200 kHz, the RC filter’s corner frequency will have to be set at 2 kHz, implying an RC filter time constant of about 80 ms. Since the settle time of an RC filter takes four times the time constant, the response to a step duty-cycle change will take more than 320 ms to settle, much longer than the USB Type-C PD specification of the voltage transition time. A solution is to use a two-stage RC filter, as shown in Figure 4.

GUID-78688869-A062-4FC7-A2EF-B2847FC5F9E6-low.jpg Figure 4 A two-stage RC filter to reduce the delay time

A two-stage RC filter provides 40 dB of attenuation per decade. In the same example, where the PWM signal is at 200 kHz, the filter’s corner frequency can be raised to 20 kHz, reducing the filter’s time constant to only 8 ms. The response to a step change of duty cycle will settle down within just 32 ms, which is fast enough to meet the USB PD applications. In general, choose the RC filter according to Equation 4:

Equation 4. GUID-2527763C-AC07-4037-8FAA-D399853681BC-low.jpg

Now, VOUT and the PWM duty cycle (D) satisfy Equation 5:

Equation 5. GUID-1F26AF72-50D5-458C-83B6-375252B5AE4F-low.jpg

Note that VOUT will increase when D decreases. Programming the microprocessor according to Equation 5 will produce a PWM signal with the correct duty cycle to regulate the four-switch buck-boost output to the desired voltage level appropriate for a USB Type-C PD application.

Conclusion

For every technique showcased in this series, it is important to remember that false OVP events are possible if the switching between voltage levels is too quick. So make sure that the transition time is sufficient enough to satisfy the application and not trigger a false OVP event.

Additional resources