• 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

PWM buck regulator interface generalized design equations

A while back, I published the Design Idea (DI) “Simple PWM interface can program regulators for Vout < Vsense.” It showed some simple circuits for PWM programming of standard bucking-type regulator chips, both linear and switching, including applications that need an output voltage span that can swing well below the regulator’s sense voltage.  

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

Recent reader comments have shown interest in applying those designs to different applications and regulators. So, here’s a step-by-step procedure to make that process easier.

Note that it only works if Vx > 2Vs and Vl > Vs.

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

 The steps are:

  1. Vs = U1 sense voltage from U1 datasheet (typically 0.5 to 1.25 V)
  2. Vl = available logic rail (typically 3 to 5 V)
  3. Vx = desired maximum output voltage at PWM duty factor = 100%
  4. Vpp = PWM peak to peak amplitude, typically Vl
  5. Fp = PWM rep rate
  6. N = PWM bits of resolution, N > 4
  7. R1 = recommended value from U1 datasheet example application
  8. R2 = R1(Vx/Vs – 1)
  9. R4 = R2Vl/Vs – R1 – R2
  10. R5 = (Vl – Q2vbe)Q2minbeta(R4 + R1 + R2)/Vl
  11. R3 = Vpp/(Vs/R1 + (Vl – Vs)/(R1 + R4))
  12. R3C3 = R2C2 = 2((N-2)/2)Fp-1
  13.  C1 = C2R2/R1

Now, taking the inexpensive XLsemi XL4016 asynch buck converter as an example case for U1, and turning the crank for these givens gives you:

  1. Vs = 1.25 V
  2. Vl = 3.3 V
  3. Vx = 30 V
  4. Vpp = 3.3 V
  5. Fp = 10 kHz
  6. N = 8
  7. R1 = recommended value from U1 datasheet figure 4 = 3.3 kΩ
  8. R2 = 75 kΩ
  9. R4 = 120 kΩ
  10. R5 = 15 MΩ
  11. R3 = 8.2 kΩ
  12. C3 = 0.1 µF, C2 = 0.011 µF
  13.  C2 = 0.27 µF

This yields Figure 2.

Figure 2 General design-accommodating parameters listed above. Note that U1-specific parts (e.g., inductor, capacitors, and power diode) are not shown.

Note that if the microamps and millivolts of residual zero offset that persist on the unloaded supply output at PWM = zero duty factor aren’t objectionable, then the Q2 R5 current sink is irrelevant and can be omitted.

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

  • Simple PWM interface can program regulators for Vout < Vsense
  • 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 PWM buck regulator interface generalized design equations appeared first on EDN.

23 September 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-09-23 15:51:372025-09-23 15:51:37PWM buck regulator interface generalized design equations

Latest news

  • GaN FET meets megawatt-scale demands7 October 2026 - 20:15
  • FPGA IP accelerates deterministic networking7 October 2026 - 20:15
  • Microphone array advances acoustic detection7 October 2026 - 20:15
  • Quad beamformer simplifies X-band radar design7 October 2026 - 20:15
  • Global-shutter sensor raises pixel density7 October 2026 - 20:15
  • An unbuttoned circuit for setting digital pots7 October 2026 - 13:10
  • Training and inference: Two faces of AI compute7 October 2026 - 11:08
  • Reducing I/O requirements for optical detection6 October 2026 - 13:47
  • Continuity testing in semiconductor ATE: Fundamentals and test methods6 October 2026 - 08:43
  • An Apple-plus-Google adapter that’s AI in name only (sigh)5 October 2026 - 13:52
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: A crash course in 3D IC technology Link to: A crash course in 3D IC technology A crash course in 3D IC technology Link to: Power Tips #145: EIS applications for EV batteries Link to: Power Tips #145: EIS applications for EV batteries Power Tips #145: EIS applications for EV batteries
Scroll to top Scroll to top Scroll to top