Hz to 4-20mA or 0-20mA current source is compatible with grounded loads
Minimal circuit converts input frequency to a precision current source that also accommodates grounded inputs.
I recently had the opportunity to share a design for frequency to current loop conversion using the versatile (if somewhat ancient) LM29x7 series. Taking shameless advantage of the flexibility of these legacy devices, that minimalist design made do with just nine paltry passive parts. Figure 1 shows its (nearly painful) simplicity (so simple it almost Hz).
Wow the engineering world with your unique design: Design Ideas Submission Guide

Figure 1 In this circuit, the LM2917 needs no added actives to make a frequency to 4-20mA current sink converter.
However, it was pointed out in the comments (thanks, RJ!) that its current sink output may not be compatible with some industrial control and monitoring hardware. So here comes Figure 2 with a frequently friendlier current source output.

Figure 2 Four frugal extra external parts (bringing the total to 13) convert Figure 1 into a flexible current source that’s useful if the load is grounded.
Converting Figure 1’s converter from current sink to current source begins with tying pin 6 to the +24v rail. This lets the internal voltage shunt reference Z1 float the internal “ground” reference pin 8 at 16.4v instead of at zero. R5 provides the necessary bias current (just as it does in Figure 1), and C4 gives us some noise-bypassing insurance. Adding cascode Q1 completes the conversion.
Although U1’s spec’d linearity and temperature coefficient are good, its initial tolerances aren’t so great. Therefore some post-assembly final calibration is unavoidable, which necessitates R1’s (4mA zero) and R2’s (20mA full-scale 5kHz) tweakability. If you do the adjustments in the right order (first R1, then R2), they won’t interact, and calibration can be completed in s single pass.
An additional helping of flexibility comes from the fact that, if your application doesn’t need or want a 4mA baseline current, just omit R3. Then adjust R2 normally for a top end of 20mA. That’ll give 0-20mA with no other mods required.
References
Stephen Woodward‘s relationship with EDN’s DI column goes back quite a long way. Over 200 submissions have been accepted since his first contribution back in 1974. They have included best Design Idea of the year in 1974 and 2001.
Related Content
- Painlessly convert Hz to 4-20mA current loop
- 4mA-20mA to 0mA-20mA converter’s current mirror drives grounded load
- Transistor and FVCs make linear anemometer
The post Hz to 4-20mA or 0-20mA current source is compatible with grounded loads appeared first on EDN.


