• 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

Simple PWM interface can program regulators for Vout < Vsense

I recently published a Design Idea (DI) showing some very simple circuits for PWM programming of standard regulator chips, both linear and switching, “Revisited: Three discretes suffice to interface PWM to switching regulators.”

Figure 1 shows one of the topologies “Revisited” visited, where:

R1 = recommended value from U1 datasheet
DF = PWM duty factor = 0 to 1
R2 = R1/(Vomax/Vsense – 1)
Vout = Vsense(R1/(R2/DF) + 1) = DF(Vout_max – Vsense) + Vsense
DF = (Vout/Vsense – 1)(R2/R1) = (Vout – Vsense)/(Vout_max – Vsense)
DF = (Vout – 0.8)/9.2 for parts shown

Figure 1 Five discrete parts comprise a circuit for linear regulator programming with PWM.

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

An inherent limitation of the Figure 1 circuit is its inability to program Vout < Vsense. Its minimum

Vout = Vsense @ DF = 0. For most applications this doesn’t amount to much, if any, of a problem. But sometimes it would be useful, or at least convenient, for Vout to be zero (or thereabout) when DF = zero. Figure 2 shows an easy modification that can make that happen, where:

R1 and R2 chosen as in Figure 1
(R4 + R5/2) = (5v – Vsense)/(Vsense/R1) – R2
R5 ~ R4/5
Vout = R1 DF(Vsense(1/R2 + 1/R1)) = DF Vout_max
DF = Vo/(R1(Vsense(1/R2 + 1/R1)) = Vout/Vout_max
DF = Vout/10 for part values shown

Figure 2 In order to make Vout programmable down to zero volts, add R4 and (optionally) R5 trimmer.

A cool feature of the Figure 1 topology is that, unlike some other schemes for digital power supply control, only the precision of R1, R2, and the regulator’s own internal voltage reference determines regulation accuracy. Precision is wholly independent of external voltage references. It remains equal to the precision of R1, R2, and Vsense (e.g., ±1%) for all output voltages.

Unfortunately, as the ancient maxim says, something’s (usually) lost when something’s gained. In gaining Vout < Vsense capability, the Figure 2 circuit loses that feature, and for outputs less than full scale, Vout precision becomes somewhat dependent on the +5v rail. This is where the R5 trimmer comes in handy. 

The design equation (R4 + R5/2) = (5v – Vsense)/(Vsense/R1) – R2, makes the values chosen for the R4, R5 pair dependent on the accuracy of the 5v rail. They can only be as correct as it is. This makes output voltages somewhat suspect, especially when they approach zero. Including R5 and adjusting it for Vout = 0 @ DF = 0 makes low Vout settings accurately programmable. If that isn’t a critical factor, then R5 can be omitted, just make R4 = (5v – Vsense)/(Vsense/R1) – R2.

The simplicity of the arithmetic for computing DF from the desired Vout is also a desirable feature of Figure 2.

In closing: This DI revises an earlier submission: “Three discretes suffice to interface PWM to switching regulators.” My thanks go to comment makers oldrev, Ashutosh Sapre, and Val Filimonov for their helpful advice and constructive criticism. And special thanks go to editor Shaukat for her creation of an environment friendly for the DI teamwork that made it possible.

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

  • Revisited: Three discretes suffice to interface PWM to switching regulators
  • Three discretes suffice to interface PWM to switching regulators
  • Cancel PWM DAC ripple with analog subtraction
  • Add one resistor to allow DAC control of switching regulator output

The post Simple PWM interface can program regulators for Vout < Vsense appeared first on EDN.

18 June 2025
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 whdsolutions http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png whdsolutions2025-06-18 16:06:242025-06-18 16:06:24Simple PWM interface can program regulators for Vout < Vsense

Latest news

  • Comparing multi-channel RF transceiver options for space applications25 August 2026 - 13:34
  • Hardware security verification must go beyond functional testing25 August 2026 - 10:31
  • TP-Link’s Tapo P125: A smart plug with an Apple HomeKit vibe24 August 2026 - 13:55
  • Data diodes: One-way check valves of network security24 August 2026 - 10:54
  • 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
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: Wheatstone bridge measurements with instrumentation amplifiers Link to: Wheatstone bridge measurements with instrumentation amplifiers Wheatstone bridge measurements with instrumentation amplifiers Link to: Elaborations of yet another Flip-On Flop-Off circuit Link to: Elaborations of yet another Flip-On Flop-Off circuit Elaborations of yet another Flip-On Flop-Off circuit
Scroll to top Scroll to top Scroll to top