• 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
  • 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

Painlessly convert Hz to 4-20mA current loop

The iconic LM2917 tackles frequency-to-current conversion with (very) few externals.

Almost exactly 50 years ago—in June 1976, to be precise—National Semiconductor introduced the LM29x7 series, offering deceptively simple monolithic solutions to a frequently encountered signal processing problem: the flexible and accurate conversion of frequency into an analog signal.  I say “deceptively simple” because actually, these chips are very capable interfaces with versatile inputs, internal active zener voltage references (with the LM2917), and a configurable output that includes an opamp-driven uncommitted Darlington transistor.

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

Although initially targeted at automotive applications, the LM29x7 series’ flexibility makes them highly handy in other contexts, including industrial applications like monitoring turbine-type flow meter flow rate and small motor tachometry. Figure 1’s facile conversion of a frequency input to a universal 4-20mA current loop format shows how minimalist—it makes do with just nine paltry passives—such a circuit can be when implemented with a LM2917.


Figure 1 A 2917 with internal voltage reference converts a 0-5kHz input to a 4-20mA output.  Single-pass calibration of both ends of the output span is available. First step: input 0Hz and adjust R1 for 4mA output. Second step: input 5kHz and adjust R2 for 20mA. Third step: there is no third step. You’re done.

Here’s how it works.

Incoming pulses are converted by the internal Schmidt trigger comparator and charge pump into constant-current (180uA) pulses delivered to pin 3. Each pulse cycle carries a charge quantum Qp = VzC1 so that the average current out of pin 3 as a function of the Finput frequency is I3 = Fin Qp = Fin Vz C1. For the values shown, that works out to I3 = 7.56uA/kHz = 0 to 38uA as Fin goes from 0 to 5kHz. For calibration stability, C1 should be a temperature-stable type like C0G.

The R1…R4 resistor network hung from pin 3 converts this 0 to 38uA to 0 to 4v which is added to a 1v offset supplied by R3. The resulting 1 to 5v total is converted by the internal output opamp and Darlington via current sense R6 to the final 4 to 20mA output. R7 provides some bias current cancellation, which is useful since the thirsty opamp inputs can draw as much a 500nA. If uncorrected, that could create a 50mV voltage offset error on pin 3. Meanwhile, C2 provides ripple-suppression filtering.

However, none of this explains why R1 and R2 are variable. Here’s why. Although U1’s spec’d linearity and temperature coefficient are good, its initial tolerances aren’t so great: about +/-10%.  See “gain constant K” in Table 7.5 here (PDF). Therefore some post-assembly final calibration is pretty much unavoidable, which is the purpose of R1’s (4mA zero) and R2’s (20mA full-scale 5kHz) tweakability.  But at least 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.

So it shouldn’t Hz too much. (No such promises for his jokes, however! Ed.)

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

  • Transistor and FVCs make linear anemometer
  • Simple but accurate 4 to 20 mA two-wire transmitter for PRTDs
  • Programmable current source with overtemperature shutoff
  • Basic design equations for three precision current sources
  • Silly simple precision 0/20mA to 4/20mA converter

The post Painlessly convert Hz to 4-20mA current loop appeared first on EDN.

15 July 2026
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 whdsolutions2026-07-15 13:28:352026-07-15 13:28:35Painlessly convert Hz to 4-20mA current loop

Latest news

  • Analog uncertainty-aware design: How it replaces Monte Carlo with certifiable yield intelligence11 August 2026 - 16:31
  • Automotive low side output switch architecture suitable for 8 to 48 volt buses and beyond11 August 2026 - 13:26
  • Inference 2.0: How enterprise AI is reshaping AI system architectures11 August 2026 - 07:19
  • Dissecting third-party camera batteries, part 2: Swelling10 August 2026 - 14:00
  • Component and layout rules for USB-C, PD, and CMTI10 August 2026 - 07:53
  • Bear on a power pole7 August 2026 - 13:46
  • Why software-defined systems require a dynamic data layer7 August 2026 - 10:42
  • Paper-based passives show impact of re-thinking substrate6 August 2026 - 16:22
  • Drone bans harm customers and don’t actually close the door6 August 2026 - 13:20
  • BMICs enable scalable battery monitoring6 August 2026 - 04:16
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: ‘Mind of the Engineer’ survey: A reality check on where EEs stand on AI Link to: ‘Mind of the Engineer’ survey: A reality check on where EEs stand on AI ‘Mind of the Engineer’ survey: A reality check on where EEs stand on AI Link to: Deep physics, materials science enhance dielectrics, varactors Link to: Deep physics, materials science enhance dielectrics, varactors Deep physics, materials science enhance dielectrics, varactors
Scroll to top Scroll to top Scroll to top