Add one resistor to allow DAC control of switching regulator output

Modifying the oddly consistent two-resistor control network topology for output voltage programming to allow for DAC control. The post Add one resistor to allow DAC control of switching regulator output appeared first on EDN.

Add one resistor to allow DAC control of switching regulator output

ARE YOU TIRED OF LOW SALES TODAY?

Connect to more customers on doacWeb

Post your business here..... from NGN1,000

WhatsApp: 09031633831

ARE YOU TIRED OF LOW SALES TODAY?

Connect to more customers on doacWeb

Post your business here..... from NGN1,000

WhatsApp: 09031633831

ARE YOU TIRED OF LOW SALES TODAY?

Connect to more customers on doacWeb

Post your business here..... from NGN1,000

WhatsApp: 09031633831

Whether its buck, boost, or buck/boost, internal or external switch, milliamps or tens of amps, a literal cornucopia of programmable output switching regulator/converter chips are commercially available. While the required external Ls and Cs (of course) vary wildly from topology to topology and chip to chip, (almost) all use exactly the same basic two-resistor network for output voltage programming shown in Figure 1. Its example buck type regulator was picked more or less arbitrarily, so please ignore the L and Cs and just focus on R1, R2, and (later) R3.

Figure 1 The (almost) universal regulator output programming network where Vout = Vsense(R1/R2 + 1) = 0.8v*(11.5 + 1) = 10v.

Wow the engineering world with your unique design: Design Ideas Submission Guide

For reasons known only to gurus of the mystic and marvelous monolithic realm, the precision Vsense feedback node voltage varies from type to type over a roughly 3:1 range from 0.50v to 1.5v. Recommended values for R1 vary too. 

The point is the topology doesn’t vary. All (or at least most) conform faithfully to Figure 1. This surprising uniformity becomes very useful if your application requires DAC control of the output voltage. See Figure 2 for how this can be done with a positive polarity DAC and just one added resistor: R3.

Figure 2 Regulator output programming with a DAC and the KISS1 network where Vout = (Vc)*(R1/R2) = (2.5 to 0v) 4 = 0 to 10v.

Given reasonable choices for the DAC (e.g., 2.5v), numbers for R1 and Vsense from the regulator chip datasheet, and Vomax from your application requirements, here’s the KISS1 arithmetic:

  1. R2 = R1 Vcmax/Vomax
  2. R3 = R1/(Vomax/Vsense – R1/R2 – 1)

And, in the grand tradition of the KISS1 principle, that’s it. Ok, ok. Except maybe for a couple of (minor?) caveats. For example:

  1. Expression 2 above, and therefore the necessary value for R3, must shake out positive. I can’t think of a practical case where it wouldn’t, but there’s probably some perverse permutation of parameters out there where it won’t, and implementing negative resistors isn’t particularly simple.
  2. The relation between Vout and Vc is inverse. So, the digital version of Vc must be 1’s complemented (a totally KISS-bit of software arithmetic to flip all the bits, so 0s become 1s, and 1s become 0s) before being written to the DAC register.
  3. Vin must be adequate for the chosen chip to generate the chosen Vomax when Vc = 0. Duh.

So maybe it’s not really totally KISS1, just mostly.

1 Famous KISS principle: Is a footnote really necessary?

Stephen Woodward’s relationship with EDN’s DI column goes back quite a long way. Over 100 submissions have been accepted since his first contribution back in 1974.

 Related Content

The post Add one resistor to allow DAC control of switching regulator output appeared first on EDN.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow