• Become a member
  • Log In
The Institution of Electronics
  • Home
  • About us
    • Our Objectives
    • Our History
    • Governance of the Institution
  • The Electron Magazine
    • 2024
      • 2024 – Winter
      • 2024 – Spring
      • 2024 – Summer
      • 2024 – Autumn
    • 2025
      • 2025 – Winter
      • 2025 – Spring
      • 2025 – Summer
      • 2025 – Autumn
    • 2026
      • 2026 – Winter
      • 2026 – Summer
  • Members
    • Membership Grades and Fees
    • Members’ Resources
      • The Electron Newsletter
      • The Archives
  • Education and Projects
    • National Electronics Competition
    • Student Members’ Projects
    • Arkwright Engineering Scholarships
  • News
  • Contact Us
  • Menu Menu
Uncategorised

Add one resistor to allow DAC control of switching regulator output

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.

16 January 2025
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 2025-01-16 16:58:042025-01-16 16:58:04Add one resistor to allow DAC control of switching regulator output

Latest news

  • Dual amplifier active filters21 August 2026 - 13:57
  • Op-amp input filtering can cause instability without proper compensation20 August 2026 - 18:30
  • Debugging intermittent Comcast, part 1: Scenario-setting20 August 2026 - 13:25
  • MCUs strengthen security in IoT and control systems19 August 2026 - 22:12
  • Load switch guards automotive power rails19 August 2026 - 22:11
  • Channel emulator adds 6G, Wi-Fi 7/8 testing19 August 2026 - 22:11
  • Class-D amplifier enhances automotive audio performance19 August 2026 - 22:11
  • Smart modules bring Android 16 to IoT designs19 August 2026 - 22:11
  • Single sideband radio meets LMC555 beat frequency oscillator19 August 2026 - 13:06
  • AI silicon: Package becoming system architecture18 August 2026 - 14:26
IOE LOGO 2

Become a member

click here

Become a member

click here

Become a subscriber

click here

Become a sponsor

click here

© Copyright - The Institution of Electronics | Website by WHD Solutions
  • Link to LinkedIn
  • Link to Facebook
  • Link to X
Link to: How TMDs can transform semiconductor manufacturing Link to: How TMDs can transform semiconductor manufacturing How TMDs can transform semiconductor manufacturing Link to: 100-V MOSFETs cut on-resistance Link to: 100-V MOSFETs cut on-resistance 100-V MOSFETs cut on-resistance
Scroll to top Scroll to top Scroll to top