MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Op amp constant-current source for sensor excitation
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Op amp constant-current source for sensor excitation

Many sensors such as platinum RTDs, strain gauges and gas cells need a stable excitation current to give a repeatable reading. This page shows how an op amp plus one transistor builds a precise current source.

1. How it works

The trick is to force a fixed voltage across a sense resistor R_sense, so the load current I equals V_ref divided by R_sense and stays put while the load varies from zero to tens of ohms. Wire the op amp non-inverting input to a reference like a 2.5V TL431, the inverting input through R_sense to the transistor emitter, and let the feedback pin the inverting node at 2.5V. With a tight, low-drift R_sense the current is set by resistors alone.

2. Numbers and practice

For a 1 milliamp source pick R_sense of 2.5k ohm at 0.1 percent and V_ref of 2.5V. Choose a low-offset op amp such as the OP07 and a small-signal transistor like the 2N3904. The supply must clear the maximum load drop plus the sense drop plus a volt of headroom: with a 100 ohm sensor the rail needs at least 4.5V, so 12V is comfortable. For a 4 to 20mA transmitter a second op amp maps the sense voltage onto the current loop; check the sense resistor power at 20mA.

3. Pitfalls and fixes

On the bench use three-wire sensing so the lead resistance is not in the current path: the op amp only sees the drop across R_sense. Two-wire is simple but lead resistance adds error; over 10 meters use thicker wire or go three-wire. Keep the sensor ground separate from the analogue ground to avoid ground-loop contamination, and measure the current into a short before connecting the sensor so you do not overdrive and burn the transistor.

4. Constant-current design parameters

ItemExampleNote
Target current1mAset by V_ref / R_sense
Sense resistor2.5k ohm 0.1%low drift metal film
Reference2.5V TL431or op amp reference
Supply headroom≥ load+2.5V+1V12V used here
Transistor2N3904 small-signalenough drive current
Wiringthree-wire preferredremoves lead error
Error sourceR_sense accuracy/driftdominates offset
Protectionseries limiteragainst inrush

5. Notes

The op amp current source suits platinum RTDs, strain-gauge bridges and gas or electrochemical sensors that need stable excitation. Use a low-drift sense resistor and clean reference, separate drive and sense wires, leave supply headroom, and measure into a short before loading.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Sensor excitation and analogue design per GB/T 4728; safety IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Two-wire long leads without separation: lead resistance becomes excitation error, switch to three-wire past 10m
② Carbon-film sense resistor: large drift makes the current wander with room temperature
③ Connecting the sensor live: a short or low resistance overdrives and burns the transistor, test into a short first

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL