Skip to main content

Flexible, #4 mA-to-20 mA, #Loop-Powered Pressure Sensor Transmitter with Voltage or Current Drive

 The design provides a complete solution for the 4 mA-to-20 mA transmitter for #pressure sensor measurements where the supply for the entire circuit is provided by the loop. The circuit has three critical stages: the sensor excitation drive, sensor output amplifier, and the voltage to current converter.

The total current required by the circuit is 1.82 mA (maximum) as shown in Table 1. Pressure sensors requiring bridge drive currents of up to 2 mA can therefore be used without exceeding the maximum available loop current of 4 mA.



Table

The .table-bordered class adds border on all sides of the table and cells:

Circuit Function & Benefits

The circuit shown in Figure 1 is a robust and flexible loop-powered current transmitter that converts the differential voltage output from a pressure sensor to a 4 mA-to-20 mA current output.

The design is optimized for a wide variety of bridge based voltage or current driven pressure sensors, utilizes only four active devices, and has a total unadjusted error of less than 1%. The loop supply voltage can range from 12 V to 36 V.

The input of the circuit is protected for ESD and voltages beyond the supply rail, making it ideal for industrial applications.

Robust Loop Powered Pressure Sensor Signal Conditioning Circuit
Figure 1. Robust Loop Powered Pressure Sensor Signal Conditioning Circuit with 4 mA-to-20 mA Output (Shown in Sensor Voltage Drive Mode) Simplified Schematic: All Connections and Decoupling Not Shown

Circuit Description


The design provides a complete solution for the 4 mA-to-20 mA transmitter for pressure sensor measurements where the supply for the entire circuit is provided by the loop. The circuit has three critical stages: the sensor excitation drive, sensor output amplifier, and the voltage to current converter.

The total current required by the circuit is 1.82 mA (maximum) as shown in Table 1. Pressure sensors requiring bridge drive currents of up to 2 mA can therefore be used without exceeding the maximum available loop current of 4 mA.

Table 1. Maximum Circuit Currents @ 25°C
Component
Current(mA)
 ADR02
 0.80
 ADA4091-2
 0.50
 AD8226
 0.43
 R5, R6 @ 10V
 0.05
 R12 @ 5V
 0.04
 TOTAL
 1.82


Sensor Excitation Drive

Depending on the pressure sensor selected, either a voltage or current drive is required. The circuit uses one half of the ADA4091-2 (U2A) with different configurations chosen by switching S1 to support either option. The switch S1 provides the selection for either drive.


Excitation: Voltage Drive Configuration

Figure 2 shows the configuration for the voltage drive with S1 in the position labeled VOLTAGE DRIVE on the PCB (see complete circuit layout and schematics in the CN0289 design support package: http://www.analog.com/CN0289-DesignSupport).

Sensor Voltage Drive Configuration
Figure 2. Sensor Voltage Drive Configuration for RBRIDGE = 5kΩ, VDRIVE = 10 V

 

The voltage drive circuit is normally configured for a bridge drive voltage of 10 V. In this mode, the minimum allowable bridge resistance is:

CN0289_image1

For lower than 5 kΩ bridge resistance, the drive voltage can be decreased down to 5 V using a buffer configuration by removing R6.

Other values of drive voltage can be obtained by properly selecting R6 using the equation:

CN0289_image2

where

CN0289_image3

Note that the loop voltage, VLOOP, should be at least 0.2 V greater than the bridge drive voltage to allow sufficient headroom for U2A.

CN0289_image4


Excitation: Current Drive Configuration

The circuit can be switched to the current drive configuration shown in Figure 3 by moving S1 to the position labeled CURRENT DRIVE on the PCB.

Sensor Current Drive Configuration
Figure 3. Sensor Current Drive Configuration for RBRIDGE = 3 kΩ

 

In the current drive mode, the 2 mA maximum allowable bridge drive current must be observed. The circuit is configured for R4 = 2.49 kΩ, and IDRIVE = 2 mA. Lower values of IDRIVE can be obtained by using the following equation to select the value of R4:

CN0289_image5

The resulting drive voltage VDRIVE is calculated from:

CN0289_image6

A headroom of 0.2 V is required for the U2A supply, therefore:

CN0289_image7

For the values shown in Figure 3, RBRIDGE = 3 kΩ, IDRIVE = 2 mA, VDRIVE = 11 V, and VLOOP ≥ 11.2 V.

The ADA4091-2 op amp is chosen for the circuit because of its low current consumption (250 μA/amplifier), low offset voltage (250 μV), and rail-to-rail inputs and outputs.


Bridge Output Instrumentation Amplifier and Selection of Gain and Offset Resistors

The output of the bridge is filtered by a common-mode filter (4.02 kΩ, 1 nF) with a bandwidth of 39.6 kHz and a differential-mode filter (8.04 kΩ, 10 nF) with a bandwidth of 2 kHz.

The AD8226 is an ideal choice for the in-amp because of its low gain error (0.1%, B-grade), low offset (58 μV @ G = 50, B-grade; 112 μV @ G = 50, A-grade), excellent gain nonlinearity (75 ppm = 0.0075%), and rail-to-rail output.

The AD8226 instrumentation amplifier amplifies the 100 mV FS signal by a factor of 50 V to 5 V using a gain setting resistor R3 = 1.008 kΩ. The relationship between the gain, G, and R3 is given by

CN0289_image8

where G = 50, and R3 = 1008 Ω.

For the output zero-value loop current, ILO = 4 mA:

CN0289_image9

Because of the 100:1 ratio of R10 to R8:

CN0289_image10

Combining the last two equations:

CN0289_image11

The AD8226 output is 0 V for ILO = 4 mA, and the offset resistor R12 can now be calculated from:

CN0289_image12

For VOUT= 5.00V, the output loop current is ILH = 20 mA, and hence:

CN0289_image13

CN0289_image14

The current through R12 is given by:

CN0289_image15

The current through R9 is given by:

CN0289_image16

The value of R9 can now be calculated from:

CN0289_image17

In practice, the calculated values for R3, R12, and R9 will not be available as standard values, so there will be fixed errors introduced by the actual values used in the circuit. These errors can be calculated as follows. Gain, offset, and total error, measured as a %FSR (where FSR = 16 mA) due to resistors R3, R9, and R12:

CN0289_image18

The total error at zero output (4 mA) is not affected by the gain error.

However, the total error at full-scale output (20 mA) is equal to:

Full Scale Error = Gain Error + Offset Error

In the practical circuit, the nearest EIA standard 0.1% resistor values must be chosen, thereby resulting in fixed gain and offset errors as described in the previous equations. It is possible to use combinations of two 0.1% values to come closer to the calculated values. For instance, the following series combinations of 0.1% resistors come very close to the calculated values:

  • R3 = 1 kΩ + 8.06 Ω = 1008.06 Ω (calculated = 1008 Ω)
  • R9 = 30.9 kΩ + 655 Ω = 31.555k Ω (calculated = 31.56 kΩ)
  • R12 = 124 kΩ + 2.26 kΩ = 126.26 Ω (calculated = 126.25 Ω)

The error calculated with these combinations is as follows:

  • Offset Error = −0.008% FSR
  • Gain Error = +0.010% FSR
  • Full Scale Error = +0.002% FSR

In some cases, however, even standard 0.1% resistor values may not be obtainable from resistor suppliers, and substitutions are required.

For example, the resistors supplied with the EVAL-CN0289-EB1Z board are as follows:

  • R3 = 1000 Ω (calculated = 1008 Ω)
  • R9 = 31.6 kΩ (calculated = 31.56 kΩ)
  • R12 = 124 kΩ (calculated = 126.25 kΩ)

With the values supplied with the board, the errors due to the resistor values are:

  • Offset Error = +0.45% FSR
  • Gain Error = +0.66% FSR
  • Full Scale Error = +1.11% FSR


Voltage Reference

The ADR02 5 V reference is used to set the drive voltage or current to the bridge and to set the 4 mA zero offset. It has an initial accuracy of 0.1% (A-grade), 0.06% (B-grade), and 10 μV p-p voltage noise. In addition it will operate on supply voltages up to 36 V and consumes less 1 mA maximum, making it an ideal choice for loop-powered applications.

The 4 mA-to-20 mA output is produced by forcing a current through R10 that is the sum of the signal component (I9) and the offset component (I12). The current I10 = I9 + I12 develops a voltage across R10 that is applied to the sense resistor R10 through U2B and Q1. The current through R8 is 100× the current in R10. The loop current, ILOOP, is therefore :

CN0289_image19

The values of R8 (10 Ω) and R10 (1 kΩ) were chosen to be values that are easily obtainable in 0.1% tolerances.

In order for the circuit to operate properly, the circuit current, ICIRCUIT, must always be less than the minimum loop current of 4 mA. In addition, the ground of the PCB must not be connected to the loop ground in any manner, and the PCB ground and the sensor must be free to float with respect to the loop ground.

The bipolar NPN transistor that is controlled by the output of U2B and generates the loop current should have a gain of at least 300 to minimize the linearity error. It should also have a breakdown voltage of at least 50 V.

The output transistor Q1 is a 50 V NPN power transistor capable of dissipating 1.1 W @ 25°C. The worst case power dissipation in the circuit is for an output current of 20 mA into a loop load resistance of 0 Ω with a VCC supply of 36 V. Under these conditions the power dissipation of Q1 is 0.68 W.

The supply voltage, VLOOP, driving the circuit board is dependent on the loop supply VLOOP_SUPPLY, the loop load, R7, and the loop current, ILOOP. These values are related by the following equation:

CN0289_image20

In order for the circuit to operate properly, the supply voltage, VLOOP, must be greater than 7 V in order to provide sufficient headroom for the ADR02 voltage reference.

Therefore,

CN0289_image21

For a maximum loop current of 20 mA, and R7 = 250 Ω,

CN0289_image22

The minimum loop supply voltage is also dependent on the configuration of the drive circuit for the bridge. In the voltage drive mode with VDRIVE = 10 V, the supply voltage VLOOP must be greater than 10.2 V in order to maintain sufficient headroom for U2A (see Figure 2).

In the current drive mode, the supply voltage VLOOP must be greater than 11.2 V in order to maintain sufficient headroom for U2A (see Figure 3).

The loop supply voltage is limited to 36 V maximum.


Error Analysis for Active Components

The maximum and rss errors due to the active components in the system for A- and B-grade levels of the AD8226 and ADR02 are shown in Table 2 and Table 3. Note that the ADA4091-2 op amp is only available in one grade level. 

Table 2. Errors Due to Active Components (A-Grade)
Error Component Error Error Value  Error %FSR
AD8226-A
ADR02-A
ADA4091-2
AD8226-A
Offset
Offset
Offset
Gain
112µV
0.10%
250µV
0.15%
0.11%
0.02%
0.16%
0.15%
RSS Offset  
RSS Gain 
RSS FS Error


0.20%
0.15%
0.35%
Max Offset
Max Gain
Max FS Error


0.29%
0.15%
0.44%

Table 3. Errors Due to Active Components (B-Grade)
Error Component Error Error Value Error %FSR
AD8226-B  
ADR02-B Offset  
ADA4091-2 Offset  
AD8226-B Gain
Offset 
Offset
Offset
Gain
58µV
0.06%
250µV
0.10%
0.06%
0.01%
0.16%
0.10%
RSS Gain
RSS Offset
RSS FS Error


0.10%
0.17%
0.27%
Max Offset 
Max Gain 
Max FS Error


0.23%
0.10%
0.33%

 

Total Circuit Accuracy

A good approximation to the total error contributed by the resistor tolerances is to assume that each of the critical resistors contribute equally to the total error. The five critical resistors are R3, R8, R9, R10, and R12. Worst-case tolerance build up of 0.1% resistors yields a total resistor error of 0.5% maximum. If rss errors are assumed, then the total rss error is 0.1√5 = 0.224%.

  • Offset Error = 0.29% +0.5% = 0.79%
  • Gain Error = 0.15% + 0.5% = 0.65%
  • Full Scale Error = 0.44% + 0.5% = 0.94%

These errors assume ideal resistors are selected and that the only errors are due to their tolerances.

Although the circuit is capable of 1% or less total error, if better accuracy is required offset and gain adjustment capability should be added to the circuit. Offset can be calibrated by adjusting R12 for 4 mA output with zero input, and full-scale can then be adjusted by varying R9 for a full-scale 100 mV input. The two adjustments are independent provided the offset is calibrated first.

Actual error data from the circuit is shown in Figure 4. The total output error (%FSR) is calculated by taking the difference between the ideal output current and the measured output current, dividing by the FSR (16 mA), and multiplying the result by 100.

Note that the error between 0 mV and 1 mV input is due to the saturation voltage of the AD8226 output stage that can range from 20 mV to 100 mV under the loading conditions in the circuit. All rail-to-rail output stages are limited in their ability to approach the supply rails by either the saturation voltage (bipolar outputs) or on-resistance (CMOS outputs).

If the error caused by the output saturation voltage is troublesome, the input signal from the bridge can be offset by connecting an appropriate resistor from the +5 V reference to one side of the bridge output.

Total Error in Output Current (%FSR) vs. Bridge Output for 3 kΩ Bridge, 24 V Loop Supply
Figure 4. Total Error in Output Current (%FSR) vs. Bridge Output for 3 kΩ Bridge, 24 V Loop Supply

Common Variations

The circuit is proven to work with good stability and accuracy with component values shown. Other voltage references, precision op-amps and in-amp can be used in this configuration to develop 4 mA-to-20 mA analog current output and for other various applications for this circuit.

The ADA4091-4 is a quad version and can be used as a substitute for the ADA4091-2, dual channel, if additional precision op amps are needed.

The AD8426, a dual-channel, low cost, and wide supply range instrumentation amplifier can also be used for multiple input channel applications.

The ADR4550, high precision, low power, low noise voltage references can be used to replace ADR02 for a low voltage supply applications.

Circuit Evaluation & Test

Equipment Required

  • EVAL-CN0289-EB1Z evaluation board
  • Agilent E36311A dual dc power supply or equivalent
  • Agilent 3458A multimeter or equivalent


Current Output Measurement

The current output of the evaluation board was measured with a setup seen in Figure 5. The test conditions were as follows:

  • Loop supply: 24 V
  • Loop load: 250 Ω
  • RBRIDGE = 3 kΩ
  • VDRIVE = 5 V
  • VCM = 2.5 V

The bridge resistors are connected to both terminal inputs of the in-amp to simulate sensor output.


Test Setup Configuration and Tests

The circuit was tested using the test setup in Figure 5.

The Agilent E36311A dual power supply was used to generate a common-mode voltage of 2.5 V and a 0 mV to 100 mV differential input voltage.

The Agilent 3458A was used to measure the actual loop current output of the evaluation board.

Functional Block Diagram of Test Setup
Figure 5. Functional Block Diagram of Test Set

Comments

Popular posts from this blog

Pulse Counter,ESP32,PCNT

  Pulse Counter The PCNT (Pulse Counter) module is designed to count the number of rising and/or falling edges of an input signal. Each pulse counter unit has a 16-bit signed counter register and two channels that can be configured to either increment or decrement the counter. Each channel has a signal input that accepts signal edges to be detected, as well as a control input that can be used to enable or disable the signal input. The inputs have optional filters that can be used to discard unwanted glitches in the signal.

XTR117 4-20mA Current Loop Transmitter

 The XTR117 is a precision current output converter designed to transmit analog 4-20mA signals over an industry-standard current loop. Figure 1 shows basic circuit connections with representative simplified input circuitry. The XTR117 is a two-wire current transmitter. Its input current (pin 2) controls the output current. A portion of the output current flows into the V+ power supply, pin 7. The remaining current flows in Q1. External input circuitry connected to the XTR117 can be powered from VREG. Current drawn from these terminals must be returned to IRET, pin 3. The IRET pin is a local ground for input circuitry driving the XTR117. The XTR117 is a current-input device with a gain of 100. A current flowing into pin 2 produces IO = 100 x IIN. The input voltage at the IIN pin is zero (referred to the IRET pin). A voltage input is converted to an input current with an external input resistor, RIN, as shown in Figure 1. Typical full-scale input voltages range from 1V and upward. Full-s

Advanced 1-Wire Master with Memory #DS2485

DS28E18 Setup Guide for Remote I 2 C and SPI Sensors Featuring the DS2485 It is well established that the I 2 C and SPI communication protocols are designed to be used in short-distance, intra-board communication. This application note discusses the I 2 C and SPI bus extending capabilities of the DS28E18 1-Wire ® to I 2 C/SPI Bridge with Command Sequencer. Specifically, it covers important measures for setting up a long line, e.g., 100m communication with multiple I 2 C and SPI sensors and the benefits of using this device. Introduction The I 2 C and SPI communication protocols are well known to have short bus distances that range no more than a couple meters. Although solutions currently exist for extending these ranges, they are often complex and expensive. The DS28E18 , however, is a cost-efficient bridge-chip device that demonstrates the benefits of using the 1-Wire interface to get the most range out of complex I 2 C and SPI devices such as environmental sensors,