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

An LM317-based 0-20mA to 4-20mA 2-wire converter

My recent DI contribution (Another silly simple precision 0/20mA to 4/20mA converter) used the LM337 regulator in a novel circuit arrangement to translate an input 0-20 mA current source into a 4-20 mA two-wire transmitter current loop (a standard two-terminal industrial current source).

The circuit can also be flipped over to perform the same operation using the LM317, which is more widely used, hence easily available, and lower priced. As before, it relies on tapering off an initial 4 mA current to zero in proportion to the input 0-20 mA, and adding the input and the tapered off 4 mA signal to create a 2-wire 4-20 mA output loop. The operation is identical, only with the current directions reversed.

Refer to Figure 1.

Figure 1 An input external boost transistor is used to limit U1 dissipation.

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

At 0-mA input, the series combination of Rs and Rz sets the 4 mA “zero” value in the 4-20 mA output loop, set using Pz. This is pulled from the 24-V supply, going from IN to OUT, and into the output loop via Rs and Rz.

 A 20-mA input current creates a 1.25 V drop in Rs, opposing the internal reference and reducing the current through Rz to 0 mA. The 20-mA input current is pushed into point X and the – (negative terminal) of the output loop, and pulled from the 24-V supply via OUT (through U1), to create a current of 20 mA + 0 mA in the output loop. Span setting is done by Ps.

Accurate current setting requires 2 S/Z passes to set the output current to within 0.05% transfer accuracy, or (actually much) better. Pots should be multi-turn 3296 types or similar, but single-turn trimmers may also work fairly well, as both pots have a small trim range by design.

The di/dV, current stability, and ease of trimming are excellent. Input to output linearity of the basic circuit is 0.02%. The heat sink has been replaced by an external boost transistor that ‘takes over’ above an output loop current of @ 6 mA, limiting U1 dissipation to give better di/dv performance of 0.02% over a voltage range from 5 V to 32 V.

For intermediate input currents, as before, a “zero” 4 mA current is tapered off to 0 mA proportional to the input 0-20 mA to give corresponding matching input and output loop currents.

A reverse protection diode is recommended in the 4-20 mA loop. Current limiting should be applied to limit fault current to safe levels. It can easily be inserted into Q1 emitter in this case.

The 0-20 mA input sees a positive drop here, of 1 to 0 V.

The comments regarding current stability and potentiometers in “Another silly simple precision 0/20mA to 4/20mA converter” are applicable here too.

In conclusion, the operation of an inexpensive, novel, and precise circuit to convert 0-20mA current signals to 4-20mA 2-wire current signals is described, using the LM317 regulator and an external boost transistor.

It easily holds a short-term stability of 0.02% of span, and has a linearity of 0.02%.

Only two stable resistors are needed for good overall temperature stability.

Pot tempco, type, and contact resistance are less critical due to the configuration used.

A 3 V minimum operating voltage allows as much as 1000E of loop resistance with a 24-V supply.

Ashutosh Sapre lives and works in a large city in western India. Drifting uninspired through an EE degree way back in the late nineteen-eighties, he was lucky enough to stumble across and be electrified by the Art of Electronics 1 and 2. Cut to now, he is a confirmed circuit addict, running a business designing, manufacturing, and selling industrial signal processing modules. He is proud of his many dozens of design pads consisting mostly of crossed-out design ideas.

Related Content

  • Another silly simple precision 0/20mA to 4/20mA converter
  • Silly simple precision 0/20mA to 4/20mA converter
  • A 0-20mA source current to 4-20mA loop current converter
  • PWM-programmed LM317 constant current source

The post An LM317-based 0-20mA to 4-20mA 2-wire converter appeared first on EDN.

25 February 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-02-25 13:53:052026-02-25 13:53:05An LM317-based 0-20mA to 4-20mA 2-wire converter

Latest news

  • Secrets of Oscilloscope Time Measurements14 August 2026 - 13:44
  • Radon: Level detection, risk determination, and as-needed mitigation13 August 2026 - 13:16
  • TI a first mover in CAN XL transceivers13 August 2026 - 10:13
  • Four-channel USB-UART IC boosts server management13 August 2026 - 05:08
  • eFuse speeds overcurrent detection13 August 2026 - 05:08
  • Memory platform tackles AI bottlenecks13 August 2026 - 05:08
  • 6.5-kV SiC MOSFET reaches 8-kV blocking13 August 2026 - 05:08
  • Made by Google 2026: This limited silicon-supply situation really sucks13 August 2026 - 05:08
  • Cheap and cheerful LMC555 RC PWM pulse generator12 August 2026 - 13:56
  • Record high wafer shipments. Can fabs keep pace?12 August 2026 - 07:51
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: Simple shorts sniffer Link to: Simple shorts sniffer Simple shorts sniffer Link to: Variable‑reluctance sensors: From fundamentals to speed sensing Link to: Variable‑reluctance sensors: From fundamentals to speed sensing Variable‑reluctance sensors: From fundamentals to speed sensing
Scroll to top Scroll to top Scroll to top