• 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

1-A, 20-V, PWM-controlled current source

This design idea (DI) takes an unusual path to a power-handling DAC by merging an upside-down LM337 regulator with a simple (just one generic chip) PWM circuit to make a 20-V, 1-A current source. It’s suitable for magnet driving, battery charging, and other applications that might benefit from an agile and inexpensive computer-controlled current source. It profits from the accurate internal voltage reference, overload, and thermal protection features of that time proven and famous Bob Pease masterpiece! 

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

Full throttle (PWM duty factor = 1) current output accuracy is entirely determined by R4’s precision and the ±2% (guaranteed, typically lots better) accuracy of the LM337 internal reference. It’s thus independent of the (sometimes dodgy) precision of logic supplies as basic PWM DACs often are not.

Figure 1 shows the circuit.

Figure 1 LM337 mates with a generic hex inverter to make an inexpensive 1-A PWM current source. (* = 1% metal film)
Iout = 1.07(DF – 0.07), Iout > 0

ACMOS inverters U1b through U1e accept a 10 kHz PWM signal to generate a -50 mV to +1.32 V “ADJ” control signal for the U2 current regulator proportional to the PWM duty factor (DF). Of course, other PWM frequencies and resolutions can be accommodated with the suitable scaling of C1 and C2. See the “K” factor arithmetic below.

DF = 0 drives ADJ > 1.25 V and causes U2 to output the 337’s minimum current (about 5 mA) as shown in Figure 1’s caption.

Iout = 1.07(DF – 0.07)

The 7% zero offset was put in to insure that DF = 0 will solidly shut off U2 despite any possible mismatch between its internal reference and the +5 V rail. It’s always struck me as strange that a negative regulator like the 337 sometimes needs a positive control signal, but in this case it does.

U1a generates an inverse of the PWM signal, providing active ripple cancellation as described in “Cancel PWM DAC ripple with analog subtraction.” Since ripple filter C1 and C2 capacitors are shown sized for 8 bits and a 10-kHz PWM frequency, for this scheme to work properly with different frequency and resolution, the capacitances will need to be multiplied by a factor K:

K = 2(N – 8) (10kHz/Fpwm)
N = bits of PWM resolution
Fpwm = PWM frequency

If more current capability is wanted, the LM337 is rated at 1.5 A. That can be had by simply substituting a heavier-duty power adapter and making R4 = 0.87 ohms. Getting even higher than that limit, however, would require paralleling multiple 337s, each with its own R4 to ensure equal load sharing.

Finally, a word about heat. U2 should be adequately heatsunk as dictated by heat dissipation equal to output current multiplied by the (24 V – Vout) differential.  Up to double-digit wattage is possible, so don’t skimp in the heatsink area. The 337s go into automatic thermal shutdown at junction temperatures above 150oC so U2 will never cook itself. But make sure it will pass the wet-forefinger-sizzle “spit test” anyway so it won’t shut off sometime when you least expect (or want) it to!

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

0 V to -10 V, 1.5 A LM337 PWM power DAC
Classic 3-leg adjustable regulators have a shunt mode? Who knew?
Cancel PWM DAC ripple with analog subtraction
Cancel PWM DAC ripple with analog subtraction—revisited
Cancel PWM DAC ripple with analog subtraction but no inverter
Fast-settling synchronous-PWM-DAC filter has almost no ripple

<!–
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-native’); });
–>

The post 1-A, 20-V, PWM-controlled current source appeared first on EDN.

29 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-29 15:13:072025-01-29 15:13:071-A, 20-V, PWM-controlled current source

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: Host bus adapter boasts quantum-resistant network encryption Link to: Host bus adapter boasts quantum-resistant network encryption Host bus adapter boasts quantum-resistant network encryption Link to: DeepSeek’s AI stunner and the future of Nvidia Link to: DeepSeek’s AI stunner and the future of Nvidia DeepSeek’s AI stunner and the future of Nvidia
Scroll to top Scroll to top Scroll to top