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 noninverting input of the op-amp.
Thus:
(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.
(2)
Applying Ohm’s law to Figure 3,
thus:
(3)
Therefore, lout for the circuit in Figure 3 is given by,
(4)
where the voltage across R, the shunt is given by,
(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,
(6)
(Common – Base Gain), Therefore,
Also,
, Common – Emitter Gain. (7)
Therefore,
(8)
The parameter
is usually close to unity therefore,
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,
For the saturation region,
Figure 4. The basic concept of a PNP transistor current source [11] .
And for the cut-off region,
When the load increases (increase in RL), V also increases proportionately as,
(Ohms Law) (9)
At maximum Iout, when Vc increases with an increase in RL to a point where,
(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,
, from (9).
Therefore, increasing the load RL at Vcmax will cause the Iout to reduce as shown in Equation (11) below.
(11)
where Vcmax becomes constant then Iout varies inversely proportional to RL.
Thus,
,
(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,
.
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, = Vcc − Ve.
From (3),
,
Therefore,
(13)
For
,
For
,
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).
(14)
The output voltage obtained when the 10 kΩ potential divider is at its minimum will be equal to,
,
therefore,
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.
,
Therefore,
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:
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,
.
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