Low-Cost 4-20 mA Loop Calibrator

Abstract

Instrument calibration is vital to a successful control system because signal inputs to the system controllers come from such instruments. This paper presents a method for actualizing a standard low-cost loop calibrator for the famous 4-20 mA electrical signaling scheme. The loop calibrator generates a linear current signal from 4 to 20 mA over a 250 ? typical process instrument load for calibration. The realization of the loop calibrator relies on a voltage-to-current converter to build a constant current source. The voltage controlled constant current source is built from discrete components and an op-amp to keep the cost low. Results from simulations and the prototype demonstrate the performance of the 4-20 mA loop calibrator which utilizes a greatly reduced number of components. The cost of these components is approximately 34% of the least expensive calibrator sampled, though other production costs are not included. This conclusion reinforces the fact that loop calibrators can be cheaper.

Share and Cite:

Arumun, J. and Eronu, E. (2023) Low-Cost 4-20 mA Loop Calibrator. Journal of Flow Control, Measurement & Visualization, 11, 49-63. doi: 10.4236/jfcmv.2023.113004.

1. Introduction

In about the 1950s, current input became the preferred process control signal [1] therefore a new signaling standard was later in the same century introduced into the market known as the 4-20 mA current signaling standard. This standard had a striking resemblance to the 3-15 psi pneumatic signal, which was in use at that time. Out of the many standards available today for process signaling, the 4-20 mA still stands out as the most preferred because of its robust nature [2] . It is a reliable way of sending and receiving signals in process control on a single pair of cables carrying both instrument power and signal. It is equivalent to the 1 - 5 V [3] . The standard gave birth to many instruments; thus, the need for instrument calibrators for this standard.

2. Overview of 4-20 mA Loop Calibrators

These devices are used for optimizing control processes. They are also actively used in loop checks, function checks, calibration, maintenance and repair of process instruments like pressure, temperature, level and flow transmitters or sensors, which work with the 4-20 mA standard. Figure 1 shows a schematic of the 4-20 mA loop.

2.1. Properties

1) 20% Offset: Whether it is the 3 - 15 psi or 1 - 5 V or the 4-20 mA, all these share the property of 20% offset sometimes referred to as “live zero”, which utilizes a measure of active measuring process value for the 0 points instead of an absolute zero value [5] . For the 4-20 mA, 4 mA is the 20% offset, and any loop current below this value is considered a dead zero and an alarm condition.

2) Robustness: It is ideal for transmitting data because of its high degree of immunity to electrical noise [3] . Though there are voltage drops across every process element and across less perfect terminations, the same current flows throughout the circuit because it’s a series connection. See Figure 1.

3) Requirements: The interface requirement for this standard is simple. A pair of wire is required for interconnection. The wires can be added or removed without affecting the accuracy of the standard. This is a unique feature for analogue interfaces.

2.2. Cost of Loop Calibrators

Taking the mean of the prices will yield a value far above $200.00 per loop calibrator, and the mean of accuracy is 0.0258 mA. It is worth to note here that most of the loop calibrators mentioned in Table 1 perform more than just the basic loop calibrator function. They have some other functions incorporated at different levels of complexity with the loop calibrator function. Therefore, the basis of comparison here is restricted to the loop calibrator function.

Affordability of test equipment, can in a way, determines their availability. High prices reduce affordability and, in turn, the availability of such equipment. This leads us to the basis of this project. The aim here is to produce a standard, low-cost loop calibrator that can perform all the essential functions of a calibrator while remaining very affordable. The loop calibrator should cost less than $70.00 with an accuracy ±0.01 mA. Other specifications are a minimum load 0 Ω,

Figure 1. 4-20 mA current loop interface [4] .

Table 1. Cost of loop calibrators (online shops as at 14/08/2022).

maximum load 400 Ω, resolution 0.01 mA or 0.1%, power input 18 - 32 Vdc, operating temperature 0 - 60˚C, storage temperature 10˚C - 70˚C, overload protection at 20 mA, ramp-based input, robust, efficient, portable and reliable.

Loop calibrators began with the work of a man called Edward Weston [6] . The inventions of Edward Weston in the late 1800 s became the foundation for electrical measurement or electrical signaling schemes of today’s world. When electronics-enabled wiring came into existence, various companies introduced their standard instrumentation signals, causing confusion until the 4-20 mA range was used as the standard electronic instrument signal for transmitters and valves. This signal was eventually standardized as ANSI/ISA 50.00.1-1975 (R2012) [7] . “Compatibility of Analogue Signals for Electronic Industrial Process Instruments”.

3. Why a Low-Cost 4-20 mA Loop Calibrator

3.1. Advances in Technology

In the wake of the rigorous research in this field, a significant breakthrough in technology might not mean so well for many traditional technologies, the 4-20 mA calibrator inclusive. For example, in [8] a wireless 4-20 mA simulator is considered. Nobody will want to invest large sums of money in an old traditional technology that could be perceived to be overtaken with modernization. It is, therefore, better to invest wisely in a low-cost traditional technology.

3.2. Affordability

Making affordable high-quality calibrators may help improve a company’s share of the market considerably. The afore-mentioned, has the potential to raise sales of such a calibrator. This leads us to the next point, availability.

3.3. Availability

A low-cost calibrator could help improve the availability of the calibrator at its point of need. So many could be put to work while, reducing downtime and increasing productivity.

4. Calibrator Design

At the heart of the loop calibrator is its ability to provide constant current irrespective of the load as long as the load falls within the specified load range [9] [10] . This necessitated the design of a voltage-controlled current source (VCCS). In order to properly discuss the requirements, the loop calibrator is divided into two fundamental block components. See Figure 2 below.

4.1. Constant Current Source

A simple current source setup from Horowitz & Hill, 2015 [11] is adopted. This current source would then become the basis for the loop calibrator design. This is how the circuit works. The voltage divider set up with R1 and R2 would determine Vin, which is the voltage at the non­inverting input of the op-amp.

Thus:

V i n = V c c R 2 R 1 + R 2 (1)

This same voltage appears at the inverting input of the op-amp through the internal feedback mechanism of the op-amps [12] . With the inverting input connected to the emitter of the transistor Q1, this then implies that the input voltage to the operational amplifier is equal to the collector voltage as seen in Figure 3.

V i n = V e (2)

Applying Ohm’s law to Figure 3,

V I thus:

V = I R (3)

Therefore, lout for the circuit in Figure 3 is given by,

I o u t = V c c V i n R (4)

where the voltage across R, the shunt is given by,

V s = V c c V i n (5)

Figure 2. Block diagram of the 4-20 mA calibrator.

Figure 3. A current source circuit with load to the ground [11] .

4.2. Voltage to Current Converter

Constant current sources are referred to as current generators which are expected to supply constant current. It is worth noting that every current source can supply constant current only over a given range of load resistances in as much as the circuit’s current supply is not dependent on the load but on internal conditions [13] [14] .

4.3. Bipolar Junction Transistor (BJT)

The PNP BJT type is put to use here because they are better associated with current sourcing.

Where, I c = I e I b (6)

α = I c I e (Common – Base Gain), Therefore, I c = α I e

Also, β = I b I c , Common – Emitter Gain. (7)

Therefore, I b = β I c (8)

The parameter α is usually close to unity therefore, I c = I e approximately.

The range or limit of load resistances over which the loop calibrator behaves very well is determined by the transistor properties and is called the transistor’s output compliance. The transistor connection, as shown in Figure 4, operates very well in its output compliance only if it remains in the active region and not in its cut-off nor saturation region. For the transistor to remain in the active region then, these conditions must be true,

I b > 0 , V C E < 0.2 V and V B E > 0.7 V

For the saturation region,

I b > 0 , V C E < 0.2 V and β I b > I c > 0

Figure 4. The basic concept of a PNP transistor current source [11] .

And for the cut-off region,

V B C > 0.5 V and V B E > 0.5 V

When the load increases (increase in RL), V also increases proportionately as,

V c = R l I o u t (Ohms Law) (9)

At maximum Iout, when Vc increases with an increase in RL to a point where,

V e ~ V c + V C E (10)

The transistor is said to be at the edge of saturation and that, determines the maximum load (RLmax) that can be obtained for the constant current source or generator to remain in the given output compliance. At that point, the transistor begins to go into saturation. Any further increase in RL will not cause any increase in Vc as the maximum voltage at the collector is attained,

V c m a x = R L m a x I o u t m a x , from (9).

Therefore, increasing the load RL at Vcmax will cause the Iout to reduce as shown in Equation (11) below.

I o u t = V c m a x R L (11)

where Vcmax becomes constant then Iout varies inversely proportional to RL.

Thus, V c = constant , I o u t 1 R L (12)

Therefore, if RL becomes sufficiently large enough, Iout becomes negligible at constant Vc (Vcmax). To illustrate this, if Ioutmax is 25 mA and Vcmax is 5 V.

Then, R L m a x = 200 Ω .

This implies that from 0 to 200 Ω, Ioutmax of 25 mA will be obtained as the conditions hold true.

For RL = 250 Ω, 300 Ω, 350 Ω, 400 Ω, etc.

As RL increases by 50 Ω from 250 Ω to 400 Ω, Iout is 11.1 mA, 10.0 mA, 9.09 mA, 8.33 mA respectively.

4.4. Power Supply

LM7812 [15] is used because of its steady voltage output and current generation capabilities. That makes it suitable for this project. DC power supply Constant Current (CC) mode is preferred here, which is energized by two 9-volts lithium type PP3 batteries.

Voltage Range: A shunt of 100 Ohms is chosen to deliver current to the load. Specific voltage drops across the shunt were required to deliver a minimum current of 4 mA and a maximum current of 20 mA to the load.

Vcc = 12 V (Output from voltage regulator)

Shunt Resistor, Rs = 100 Ω.

Potential Difference across Rs, = VccVe.

From (3), I s = ( V c c V e ) / R s ,

Therefore,

V e = V c c I R s (13)

For I = 4 mA ,

V e = 11.6 V

For I = 20 mA ,

V e = 10.0 V

Therefore, the required range of voltage drop across the shunt to produce 4-20 mA is 0.4 - 2.0 V respectively and the corresponding voltages at point Ve are 11.6 and 10.0 V.

A voltage divider to deliver the required voltage is shown below in Figure 5.

Figure 5. The designed voltage divider [16] .

Voltage divider rule for Figure 5 is given in Equation (14).

V o u t = R 4 R 3 + R 4 × V c c (14)

The output voltage obtained when the 10 kΩ potential divider is at its minimum will be equal to,

V o u t = 11.6 V ,

therefore,

V c c V o u t = 0.4 V

When the 10 kΩ potentiometer is set to its minimum 0 Ω, the voltage drop produced is equal to the PD needed across the shunt to produce the desired minimum current of 4 mA.

V o u t = 9.96 V ,

Therefore,

V c c V o u t = 2.04 V

When the 10 kΩ potentiometer is set to its maximum 10 kΩ, the voltage drop produced is equal to the PD needed across the shunt to produce the desired maximum current of approximately 20 mA. As the 10 kΩ potentiometer goes from 0% - 100% (0 - 10 kΩ), the Vout produced is proportional to the voltage drop needed across the shunt to produce a current from 4-20 mA.

4.5. Design Simulation

Simulations with software tools like Multisim as seen in Figure 6 and Circuit wizard were carried out. A computer model was designed to mimic the real loop

Figure 6. Design simulation with circuit multisim.

calibrator before the prototype was constructed.

5. Results and Discussion

A prototype of the loop calibrator was constructed and tested against the underlying theory. Beginning with a simplified equivalent circuit of the current generator, adjustable voltage is set by the voltage divider, and the current through the load is given by:

I o u t = V V i n R s From (3)

Vin which is predetermined, sets the required voltage drop across the shunt Rs and to generate the required current. See Table 2 below for measured and calculated values of Vin and Vs.

5.1. Measured and Designed Current and Voltages

From Figure 7, it can be seen that the measured values of Vin were almost the same as theoretical values. The little difference can be attributed to the limitations of physical components.

As the potentiometer increased from 0 to 10 kΩ, Vin reduced from its maximum

Table 2. Values obtained from the experiment and those calculated.

Figure 7. Graph comparing the designed voltage with actual voltage against the corresponding resistance.

value to its minimum value thus, R p o t 1 V i n .

This is a required objective as we choose to use a ramp current input. Figure 8 shows that the measurements taken at 0%, 25%, 50%, 75% and 100% of the span of the loop calibrator established the fact that the required Vin of 0.4 V to 2.0 V for the instrument span was accurately set.

5.2. Linearity Verification

Linearity is the property of a system characterized by a linear relationship of independent variables with one or more dependent variable. The linearity check carried out was sufficient to control the end-points and the middle of the calibration interval to be sure that the instrument did not drift out of calibration.

· This experiment is deemed necessary to check the quality of the instrument’s output.

· This characteristic is good as it argues well for system predictability.

· Check standards require at least three points; the lower-end, mid-range and upper-end of the regime of the instrument. Five points are used here. (See Table 3)

The relationship is so linear as it can be seen in Figure 9 over the established range. It is difficult to differentiate between the plot and the trend line which is a good indication for linearity.

Figure 8. Graph comparing the designed shunt voltage with actual shunt voltage against the corresponding resistance.

Table 3. Verification of the 4-20 mA calibrator linearity.

Figure 9. Graph showing the linearity of the 4-20 mA calibrator output current.

Table 4. Output current Iout for varying loads, RL at various potentiometer Rpot positions.

Therefore, it is convincingly established that precisely 4-20 mA is generated over the design range, and the calibrator output is linear.

5.3. Functionality Verification

To demonstrate that the loop calibrator meets the technical requirements. Data was collated from measuring the output current against varying loads as seen in Table 4.

The graph of current output lout against load resistance RL in Figure 10 shows that the calibrator produces a constant current of 4-20 mA output over a range of 0 - 400 Ω at the maximum current output. This agrees entirely with the design specification.

5.4. Calibrator Validation

The current output from the loop calibrator is compared with three standard laboratory ammeters. (See Figure 11)

Here below is the comparison between the calibrator and the three standard laboratory ammeters. See Table 5 which graphically shown in Figure 12.

Comparing the loop calibrator with standard meters in the laboratory, the difference between the first, second and third standard ammeters and the loop calibrator was observed to be 0.01 mA, 0.02 mA and 0.01 mA respectively. The average accuracy therefore is =0.013.

In summary, the 4-20 mA loop calibrator depicted in Figure 13, holds true for the purpose to which it was created. The accuracy is about 0.01 mA, which is the instrument’s absolute error and not percentage accuracy. It is also shown that this accuracy is consistent throughout the 4-20 mA span of the calibrator.

Figure 10. Graph of output current over load resistance to verify the calibrator span.

Figure 11. Designed loop calibrator with first standard ammeter.

Table 5. Loop calibrator readings compared to the three reference ammeters.

Figure 12. Graph of calibrator output compared to three standard ammeters.

Figure 13. The 4-20 mA loop calibrator prototype.

6. Conclusions

The loop calibrator designed and constructed in this paper is a piece of equipment used in testing, simulating and calibrating instruments on the 4-20 mA platform. It is established that a cheaper and reliable 4-20 mA loop calibrator is feasible.

Several steps in the form of controlled experiments were taken to verify and validate the finished product; a standard loop calibrator with a range of 0 - 400 Ω, an absolute error of ±0.01 mA, its functionality level is basic and the components are greatly reduced which cost only about $50.70.

List of Symbols

Vin Input Voltage

Vcc Circuit Voltage

R1,2,3… Resistors

RL Load Resistance

Rs Shunt Resistance

Vs Shunt Voltage

Ve Transistor Emitter Voltage

Vc Transistor Collector Voltage

Vb Transistor Base Voltage

Iout Output Current

Ic Transistor Collector Current

Ie Transistor Emitter Current

Ib Transistor Base Current

Vcmax Maximum Collector Voltage

RLmax Maximum Load Resistance

Ioutmax Maximum Output Current

Rpot Resistance of Potentiometer

Designed xx Calculated Value from Design of xx

Measured xx Actual Value from Experiment of xx

GND Ground

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Paonessa, S. and McDuffee, B. (2023) Back to Basics: The Fundamental of 4-20 mA Current Loops. Precision Digital Corporation 2023.
https://www.predig.com/sites/default/files/documents/whitepapers/4-20_mA_Current_Loop_Fundamentals.pdf
[2] Sasaki, H. and Ueda, K. (2007) Design and Development of Wireless Monitoring System for 4-20mA Loop Sensors. 2007 4th International Conference on Networked Sensing Systems, Braunschweig, 6-8 June 2007, 73-76.
https://doi.org/10.1109/INSS.2007.4297392
[3] Acromag, Inc. (2019) Introduction to the Two-Wire Transmitter and the 4-20mA Current Loop.
https://www.acromag.com/wp-content/uploads/2019/08/Acromag_Intro_TwoWire_Transmitters_4_20mA_Current_Loop_904A.pdf
[4] Cakir, A., Yucel, F. and Calis, H. (2012) Microcontroller Circuit Calibrates Current loops. Test & Measurement World, 32, 26-29.
[5] Building Automation Products, Inc. (2010) Understanding 4-20mA Current Loops.
https://www.bapihvac.com/wp-content/uploads/2010/07/Understanding-4-20-mA-Current_Loops.pdf
[6] Matsumoto, E. (2003) Edward Weston Made His Mark on the History of Instrumentation. IEEE Instrumentation & Measurement Magazine, 6, 46-50.
https://doi.org/10.1109/MIM.2003.1200283
[7] American National Standard Institute (2012) ANSI I ISA-50.00.01-1975(R2012): Compatibility of Analog Signal for Electronic Industrial Process Instruments. the Association of Chartered Certified Accountants, Virginia.
[8] Halihal, A.F. (2019) Design and Implementation of Wireless 4-20mA Current Simulator. Iraqi Journal for Electrical and Electronic Engineering, 14, 155-163.
https://doi.org/10.37917/ijeee.14.2.7
[9] Su, D., Zhang, Z. and Zhao, J. (2013) Research of High Precision DC Constant Current Source. Applied Mechanics and Materials, 340, 933-936.
https://doi.org/10.4028/www.scientific.net/AMM.340.933
[10] Keithley (2018) DC Power Supplies.
http://www.keithley.co.uk/data?asset=57011
[11] Horowitz, P. and Hill, W. (2015) The Art of Electronics. 3rd Edition, Cambridge University Press, New York.
[12] Chaniotakis, M. and Cory, D. (2006) Operational Amplifiers Circuits. Chaniotakis and Cory. 6.071, Lecture—Massachusetts Institute of Technology.
[13] National Instruments (2012) Fundamentals, System Design, and Setup for the 4 to 20mA Current Loop.
http://www.ni.com/white-paper/6940/en/pdf
[14] Harrison, L.T. (2005) Current Sources & Voltage References. Elsevier, Cambridge.
[15] Fairchild Semiconductor Corporation (2006) LM78XX I LM78XXA Rev1.3.0.
[16] Sha, Y., He, H. and Shao, J. (2014) Realization of 4-20mA Current A/D Conversion Module in the Water Pollution Source Online Monitoring Instrument under the Remote Metrology. Advanced Materials Research, 889-890, 845-849.
https://doi.org/10.4028/www.scientific.net/AMR.889-890.845%%

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.