Application note AN11 Application: Adapting a sensor with an (Uout =.5 4.5V) output and a 5V supply to suit a 4 2mA industrial current interface (3 wire-version) powered by 24V. The following article describes* a pressure transmitter circuit which as a 3-wire device converts a.5...4.5v transmitter output signal into a standardized current output signal of 4...2mA, using very few components to provide a simple and inexpensive circuit. 5V 24V SM58X2 Pressure transmitter.5...4.5v AM462 4...2mA Figure 1: Example application with basic circuitry *The application is given here as an example only; the pressure transmitter can be substituted by other transducers which have a.5...4.5v output. Pressure transmitters in the SM58X2 series The pressure transmitter used here is a sensor of the SM58X2 series (see Figure 2) sold by AMSYS in Mainz, Germany [1]. The SM58X2 are a combination of a piezoresistive sensing element and a signal conditioning IC which besides boosting the signal also compensate for temperature electronically and calibrate the setup to output values of.5v (offset) and 4.5V (full scale). Both semiconductor components are attached to a ceramic substrate and protected against ambient pressure by a hermetically sealed ceramic cap. So the SM58X2 is a complete sensor but only with a voltage output. The pressure transmitter is sold as both a DIL package for throughplating and an SMD. The SM58X2 series is also available in a number of versions for various pressure connections. Analog Microelectronics GmbH Phone: +49 ()6131/91 73 1/1 An der Fahrt 13, D 55124 Mainz Fax: +49 ()6131/91 73 3 Internet: www.analogmicro.de Email: info@analogmicro.de
Compensation (within a temperature range of to 7 C) and calibration are performed on the basis of various measurements of temperature and pressure taken during the manufacturing process. Permissible pressures for these sensors range from 1mbar to 6.8bar. In accordance with these pressure ranges differential, relative and absolute measurements of pressure are possible, covering a wide field of application. This application features an SM5812-15-G which comes as a relative pressure transmitter suitable for 15PSI ( 1.bar). Figure 2: Pressure transmitters in the SM58X2 series Voltage-to-current converter IC AM462 IC AM462 (see Figure 3) from Analog Microelectronics [2] is a multifunctional amplifier circuit with a number of additional and protective features. The IC consists of different function groups which can be accessed via pins. These function groups (modules) are individually specified and can be operated separately or in combination as the application requires. One of the mean applications is the voltage/current conversion for the analog, industrial network. 2/1
AM462 contains the following functional units: 1. An operational amplifier stage This amplifier stage (OP1) is suitable for ground-referenced input signals of to VCC 5V. Amplification is set using external resistors. The operational amplifier stage output has been designed so that it can be set right down to zero if the load requires. OP1 is voltage limited, protecting follow-on stages even when overvoltage occurs at the front end of the device. 2. A V/I converter stage At the back end of the device the V/I converter stage translates the input voltage into a freely selectable output current of between and 2mA. In doing so the converter output stage activates an external resistor (Figure 4) which ensures that power is dissipated outside the IC. The output current range for the current offset and final current value can be easily set using two external voltage dividers. 3. A bandgap reference The reference voltage source included in AM462 enables external components, such as transmitters and microprocessors etc., to be supplied with voltage. Reference voltage V REF can be set via pin VSET. If pin VSET is not connected, V REF = 5V; if VSET is connected to ground, V REF = 1V. Using two external resistors (inserted between pins VREF and VSET and pins VSET and GND) intermediate values can also be set. 4. An operational amplifier A second operational amplifier (OP2) can be used as a current or voltage source to power external components. OP2's positive input is connected internally to voltage V BG, enabling the output current or voltage to be set within a wide range using one or two external resistors. The output of this second operational amplifier has a drive power of 1mA. The IC also includes internal circuitry protecting the amplifier stage OP1 against overvoltage, integrated protection against reverse polarity with regard to the output stage (V/I converter) across the entire voltage range and an output current limiter which protects the IC against destruction. Using just a minimum of external circuitry an output stage can be realized which is fully protected. The AM462 IC is suitable for both 2- and 3-wire operation. But in the 2-wire version the consumption of the sensor and of the IC itself has to be under all conditions (e.g. temperature range) lower than 4mA. 3/1
CVSET AM462 V BG INP 3 OP1 CVREF VSET VREF 1 13 15 2 OP2 Voltage reference 16 SET V I 11 RS+ 1 VCC 9 RS- 8 IOUT 4 INN 5 OUTAD 6 INDAI GND 14 Figure 3: Block diagram of the voltage-to-current converter IC AM462 V CVREF C 1 V REF R 3 R 4 V CVSET V INP 2 OP2 3 AM462 V BG 1 13 15 16 V SET Voltage reference V OP1 I 11 1 9 8 R T 1 D 1 V S 4 5 6 14 R 5 I OUT R 2 R 1 V OUTAD V INDAI Ground Figure 4: General example circuit 4/1
Description of the application Pressure transmitter SM5812's output signal of.5v 4.5V is to be converted into an output current signal of 4 2mA as a 3-wire version. A 24V supply voltage is available. The load resistance is given as 6Ω. Figure 5: Example industrial current loop application Compensation strategy Assuming that there is an FS output signal from the pressure sensor of 4.5V at P = Pmax. = 15 PSI, the output current I OUT = 2 ma (see Figure 5) is fixed with the setting of resistor R. This R value then gives the output current for the minimum output value of the pressure transmitter (.5V at P = Pmin. = PSI). Generally this current is not equal to the wished value. In order to be able to achieve the required output current of 4mA, however, an additional current I SET must be added to the present current, the former of which is dependent on R 3, R 4 and also R. This means that by setting R, R 3 and R 4 (I SET ) the entire circuit is defined. Besides the actual current conversion process IC AM462 also supplies the pressure transmitter with 5V with the help of an additional operational amplifier, OP2, rendering a separate voltage regulator superfluous. The voltage is set using an external voltage divider (R 6 and R 7 ). 5/1
Dimensioning Current loop output (4...2mA) for a This article refrains from going into detail as to the derivation of the equations used here; the relevant data sheets should instead be consulted. Further information is available either from Analog Microelectronics direct or on the internet at http://www.analogmicro.de The default values of external discrete elements D 1, T 1, C 1 and R 5 in Figure 5 are given according to the AM462 data sheet: For resistor R 5 : 39 Ω For capacitor C 1 : 2.2 µf For transistor T 1 : β F 5, V CE 35 V (e.g. BCX54/55/56) For diode D 1 : V BR 35 V (e.g. 1N4148) The values of the remaining resistors R, R 3, R 4, R 6 and R 7 are determined by the application described here and explained in greater detail in the following. Determining R Resistor R can be calculated from the required current swing of I OUT at the output and a voltage swing of V INDAI at the input of the V/I converter using Equation 11 in the data sheet: I OUT = V 8R INDAI R = V 8 I INDAI OUT 4.5V.5V R = = 31. 25Ω 8(2mA 4mA) Determining R 3 and R 4 The minimum output current I OUTmin, which is determined by an input signal of.5v, is calculated using Equation 2 in the AM462 data sheet: V INDAI I OUT= + 8R I SET with I SET = V.5V INDAI min I OUT min= = = 2mA 8R 8*31.25Ω To achieve an output current of I OUT = 4 ma, a current of I SET = 2mA must be added to I OUTmin. Current I SET is set by the voltage divider which is formed by the two resistors R 3 and R 4. The ratio of R 3 to R 4 is calculated using Equation 5 in the AM462 data sheet. R R 3 4 = V R 2 REF I SET 1 R3 5V = 1 = 39 R 2 *31.25Ω * 2mA 4 In keeping with the boundary conditions given in AM462's data sheet R 4 is set to 1kΩ. This results in a value of 39kΩ for R 3. 6/1
Determining R 6 and R 7 The additional operational amplifier OP2 can be easily used as a voltage reference for the 5V supply to the transmitter according to Equation 1 in the AM462 data sheet: + = + R R6 VCVREF VBG 1 6 1.27V 1 R R7 7 = 7 R6 5V = 1 2.94 R 1.27V Taking the required current into consideration, a value of 16kΩ is selected for resistor R 7. R 6 thus assumes a value of 47kΩ. Resistor R 5 = 39Ω is a protective resistor which stabilizes the setup in the event of a short circuit. Diode D 1 protects the external transistor against reverse polarity. The error of the IC is not taken into account during dimensioning and can be disregarded here compared to the error of the pressure sensor. Results R/OHM 33,5 33, 32,5 32, 31,5 31, 3,5 3, 29,5 29, 3,75 3,8 3,85 3,9 3,95 4, 4,5 4,1 4,15 4,2 4,25 V INDAI / V Figure 6: Dependence of R on V INDAI Figure 6 gives the functional correlation between resistor R and the difference in output voltage of the pressure transmitter: Vout = V INDAI. This means that the calibration accuracy in the transmitter output signal can be compensated for by resistor R and the overall precision of the sensor thus improved. In the formula for R 4.5...5V must then be replaced by the measured value for V INDAI. The curve in Figure 6 applies to the output current range of 4 to 2mA. 7/1
Accuracy Current loop output (4...2mA) for a 3 2 Offset Span Temperature error [%Span] 1-1 -2-3 -2-1 1 2 3 4 5 6 7 8 9 Temperature [ªC] Figure 7: Temperature drift of SM5812 within a range of -25 C to 85 C Figure 7 gives the measured temperature dependencies of pressure transmitter SM5812. To this end both the temperature-dependent offset (TCO) and span (TCS) are plotted to the same scale. Within a range of -25 to 85 C the resulting offset drift is thus.1%fs/k and the span drift.17% FS/K. An adequate measurement of the temperature dependencies of the sensor system: pressure transmitter plus AM462 is shown in Figure 8. The measurement illustrates that adding an AM462 IC has no significant effect on the drift values and that by combining SM5812 and AM462 a temperature drift of ca. 1.5% across 1 C is achieved (.15%/ C). 8/1
3 Temperature error [%Span] 2 1-1 -2 Offset Span -3-2 -1 1 2 3 4 5 6 7 8 9 Temperature [ C] Figure 8: Temperature drift of SM5812 plus AM462 within a range of -25 C to 85 C Regarding the calibration error of the pressure transmitter the calibration tolerance of the transmitter offset (.5±.2V) can be compensated for by adjusting the offset current (4mA) and the span (4±.8V) corrected by setting R. The resulting error then depends on the precision of the settings and the temperature coefficients of the resistors used. By selecting a suitable temperature-stable resistor for R and a stable 5V transmitter supply the precision of the overall system can also be considerably improved with regard to its temperature behavior. Conclusion There are many possible ways of measuring pressure and of converting the measurement signal into a corresponding industrial current. The application described here illustrates how using a standard IC and a serial.5...4.5v pressure transmitter the voltage output signal can be converted into a 4...2mA output current (3-wire version). 9/1
The advantage of this system lies in the easy adjustment of the absolute error undoubtedly thanks to the AM462 IC used here. Furthermore, this particular setup is also favorable in that it can be operated with few external components due to the high integration density of the integrated amplifier circuit AM462 and is thus an economic solution for small systems. Further information is available at: http://www.amsys.de http://www.analogmicro.de Specific links to this topic: [1] http://www.amsys.de/products/analog.html [2] http://www.analogmicro.de/german/standard/index.html 1/1