Position sensor gets linear 4 to 20mA current source output

A linearized output is a useful elaboration of a capacitive sensor design. But what if the circuit is located a significant distance from the control electronics?
Recently, Design Ideas included a circuit that comprised a simple analog interface to basic capacitive position sensors. Figure 1 shows its minimal six parts topology with complementary outputs: Out and –Out.
Wow the engineering world with your unique design: Design Ideas Submission Guide

Figure 1 U1a and U1b cross-coupled Schmidt trigger timers form a ~1MHz RC multivibrator. The Tsense pulse width is inversely proportional to sensor displacement Tref/Tsen = Cref/Csen = d.
Doubling the parts count to 12 transmogrifies Figure 1 into Figure 2 and provides a linear voltage mode output, Then, with the exemplar 38mm-diameter sensor plate capacitor connected, separation d between plates reads out as d = (Vout – 1) = 0 to 4 millimeters as Vout goes from 1 to 5v. Vout ripple is just half a millivolt pk-pk. The linear voltage output modification is described in this Design Idea.

Figure 2 Averaging integrator A1 implicitly computes the output voltage needed to linearly balance the charge transferred onto C1 during Tref through discharge during Tsense. Vout = Tref / Tsense + 1 = Cref / Csense + 1 = d + 1.
So, let’s take it as granted that providing a linearized output was a useful elaboration of the original design. But suppose the capacitive sensor is located a significant distance from the control electronics. Voltage mode analog outputs are notoriously vulnerable to noise pickup and disturbances like ground loop voltage differentials. What to do then? Figure 3 shows a simple and plausible remedy. It’s a classic, if I do say so myself. A noise- and cable length- tolerant, linear 4 to 20mA, current mode output.

Figure 3 Dangling the TLV431 shunt voltage reference Z1 from the 15 volt supply is a shortcut toward implementing a noise- and cable length- tolerant current mode output.
Here’s how it works. Figure 3’s A1 integrator generates a 1 to 5 volt linear output, much like Figure 2’s A1 does. The difference is this 1 to 5v is inverted, referenced to +15v, and developed across 249ohm current sense resistor R5. It’s therefore an accurate readout of Pfet Q1’s 4 to 20mA source current. Shunt reference Z1 provides both the 1.00v integrator reference and a 5v step-down supply for U1 and U2. DC blocking C4 and R9 trickle protect the chips from being instantly fried in case the sensor capacitor plate shorts to ground.
Some random remarks: U1’s unused inputs should be tied to +15v. C1, 2, 3, and 4 should be rated for the full supply voltage, which itself isn’t critical but shouldn’t exceed 20v. Otherwise Q1’s gate will be at risk for over-voltage if the load becomes disconnected. If the supply equals 15v as shown, voltage compliance and consequent ground noise resistance is >9v. Iout ripple is ~0.01% pk-pk. Figure 4 shows the net nicely linear response.

Figure 4 In this graph, black = sensor readout d in mm, and red = the nicely constant 4 microamps per micrometer resolution.
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
- Capacitive position sensor with linearized output
- ~0.1% resolution capacitive position sensor
- CMOS flip-flop used “off label” implements precision capacitance sensor
- Flip-flop plus choke comprise simple and cheap inductive sensor
The post Position sensor gets linear 4 to 20mA current source output appeared first on EDN.


