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:
- R2 = R1 Vcmax/Vomax
- 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:
- 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.
- 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.
- 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
- PWM power DAC incorporates an LM317
- Parsing PWM (DAC) performance: Part 2—Rail-to-rail outputs
- Precision DC motor speed control via pot or DAC
- Designing with a DAC: Settle for the best
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-native’); });
–>
The post Add one resistor to allow DAC control of switching regulator output appeared first on EDN.
Discover more from TrendyShopToBuy
Subscribe to get the latest posts sent to your email.