• 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

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

  • Truchet tiles2 October 2026 - 13:59
  • The state of AI-powered innovation in blood pressure monitoring2 October 2026 - 08:53
  • RF chips, modules power the way from 5G to 6G1 October 2026 - 15:33
  • Power Tips #157: Reducing conducted EMI in 48V automotive USB Type-C EPR designs1 October 2026 - 13:32
  • How a 650-V GaN device shrinks footprint in space-constrained data center racks1 October 2026 - 12:32
  • Ethernet in automation: Industrial networking entering a new phase1 October 2026 - 08:27
  • Tiny IC packs analog and logic functions30 September 2026 - 20:17
  • SBRFP rectifiers cut losses in automotive systems30 September 2026 - 20:17
  • 160-W power supply withstands harsh conditions30 September 2026 - 20:17
  • AI agents speed silicon-to-system engineering30 September 2026 - 20:17
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