Sensor Interface for Engineers
Sensor Interface for Engineers
                                                                                                                                               AN1324
                                  A Simple Sensor Interface Amplifier
                                  Prepared by: Warren Schultz
                                  Discrete Applications Engineering
                                                                                            INTRODUCTION
                                    Compensated semiconductor pressure sensors such as                 is directly compatible with Microcomputer A/D inputs. A
                                  the MPX2000 family are relatively easy to interface with digital     description of an Evaluation Board and design considerations
                                  systems. With these sensors and the circuitry that is described      are presented as follows.
                                  here, pressure is translated into a 0.5 to 4.5 V output range that
Freescale Semiconductor, Inc...
REV 1
                                                                                                                                     PIN–BY–PIN DESCRIPTION
                                                                                   B+:                                                                    GND:
                                                                                     Input power is supplied at the B+ terminal. Minimum input              The terminal labeled GND is intended for use as the power
                                                                                   voltage is 6.8 V and maximum is 30 V.                                  supply return. It is generally advisable to leave enough bare
                                                                                                                                                          wire going into this terminal to conveniently provide a
                                                                                                                                                          connection for instrumentation ground clips.
                                                                                   OUT:
                                                                                       An analog output is supplied at the OUT terminal. The signal       P1, P2:
                                                                                   it provides is nominally 0.5 V at zero pressure and 4.5 V at full        Pressure and Vacuum ports P1 and P2 protrude from the
                                                                                   scale. This output is designed to be directly connected to a           sensor on the right side of the board. Pressure port P1 is on
                                                                                   microcomputer A/D channel, such as one of the E ports on an            the top and vacuum port P2 is on the bottom. Neither port is
                                                                                   MC68HC11.                                                              labeled. Maximum safe pressure is 700 kPa.
                                                                                                                                 U1
                                                                                                                         3       MC78L08ACP
                                                                                                                     I           1
                                                                                                                             O
                                                                                                                     G                                                                                           5     8
                                                                                                                         2                                                                                         +        7
                                                                                                                                                                                                                 6 –              OUT
                                                                                                            C1
                                                                                                            0.2 µF                    C2                                  3      2 XDCR1                    U2B
                                                                                                                                      0.2 µF                                       MPX2000                  MC33272
                                                                                                                                                                                                              R1
                                                                                                                                                                                   SERIES
                                                                                                                                                                          4      1 SENSOR                       93.1 k 1%
                                                                                    GND
                                                                                                                                                                                                                 C3
                                                                                                                                            R7                 R3                                         R2     0.001 µF
                                                                                                                                            TRIM               39.2 k                            U2A      750
                                                                                                                                                                                             3 MC33272    1%
                                                                                                                                                                                               +     1
                                                                                                                                                                                             2 –
Freescale Semiconductor, Inc...
                                                                                                                                                                                                   4
                                                                                                                                                               R5         R6
                                  ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
                                                                                                                                                               1.33 k     11 k
                                                                                                                                                               1%         1%
                                                                                   NOTES:                                                                                                       R4
                                                                                   R7 selected for zero pressure VOUT = 0.5 V                                                                   100
                                                                                   For MPX2010 Sensors:                                                                                         1%
                                                                                     R1 = 150 k
                                                                                     R4 = 61.9 Ohms
                                                                                                                         +8 V
                                                                                                                                                                                         5       8
                                                                                                                                                                                           +          7
                                                                                                                                                                                         6 –                    OUT
                                                                                                                                        3          2 XDCR1                           U2B
                                                                                                                                                     MPX2000                         MC33272
                                                                                                                                                                                       R1
                                                                                                                                                     SERIES
                                                                                                                                        4          1 SENSOR                            93.1 k
                                                                                                                                                                                   R2 1%
                                                                                                                                                                    U2A            750
                                                                                                                                                                 3 MC33272         1%
                                                                                                                                                                   +      1
                                                                                                                                                                 2 –
                                                                                                                  VOFFSET                                             4
                                                                                                                                                    R6
                                                                                                                                                    12.4 k
                                                                                                                                                    1%
                                                                                                                                                                    R4
                                                                                                                                                                    100
                                                                                                                                                                    1%
                                                                                   voltage drop of 4.0 V, which sets the output at zero.                 complete circuit in Figure 2 is then equivalent to Figure 3 with
                                                                                   Substituting a value for VOFFSET other than zero into this            a VOFFSET input of 0.5 V.
                                  ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
                                                                                   calculation reveals that the zero pressure output voltage                The resulting 0.5 V to 4.5 V output from pin 7 of U2B is
                                                                                   equals VOFFSET. For this DC output voltage to be independent          directly compatible with microprocessor A/D inputs. Over a
                                                                                   of the sensor’s common mode voltage it is necessary to satisfy        zero to 50°C temperature range combined accuracy for the
                                                                                   the condition that R1/R2 = R6/R4.                                     sensor and interface is ±5%.
                                                                                                                                               APPLICATION
                                                                                      Using the Sensor Mini Block’s analog output to provide             optimum use of microcomputer A/D inputs. A direct
                                                                                   pressure information to a microcomputer is very                       connection from the evaluation board output to an A/D input
                                                                                   straightforward. The output voltage range which goes from 0.5         is all that is required. Using the MC68HC11 as an example, the
                                                                                   V at zero pressure to 4.5 V at full scale is designed to make         output is connected to any of the E ports, such as port E0.
                                                                                                                                          CHANGING SENSORS
                                                                                      In order to change pressure ranges, MPX2050, MPX2100,              change the full scale output from 4.5 V at 100 kPa to 4.5 V at
                                                                                   MPX2200, and MPX2700 pressure sensors can be                          200 kPa. To make this translation with an MPX2010 requires
                                                                                   substituted directly for each other. When one of these sensors        changing R1 from 93.1 k to 150 k and R4 from 100 ohms to
                                                                                   is substituted for another, the 4.5 V full scale output will remain   61.9 ohms. With R1 at 93.1 k and R4 at 100 ohms, full scale
                                                                                   the same and correspond to the new sensor’s full scale                span for an MPX2010 is only 2.5 V, producing a nominal full
                                                                                   pressure specification. For example, substituting an                  scale output voltage of 3.0 V.
                                                                                   MPX2200 200 kPa sensor for an MPX2100 100 kPa unit will
                                                                                                                                       FURTHER SIMPLIFICATION
                                                                                      In non–demanding applications the 7 resistor topology that         values in Figure 2, this would mean R3 = 200 k, R5 = 13.3 k,
                                                                                   is shown in Figure 2 can be reduced to 5, by eliminating R6 and       R6 = 0, and R7 is open. In an untrimmed system, there is no
                                                                                   R7. Without R7 the zero pressure offset is untrimmed.                 real disadvantage to doing this, provided that the ratios can be
                                                                                   However, in microprocessor based systems it is relatively             sufficiently matched with standard resistor values.
                                                                                   easy to read the zero pressure offset voltage, store it, and             The other option is to eliminate R6 and trim R3 with R7. This
                                                                                   calibrate in software. This can be done automatically when the        situation is somewhat different. The trimming operation will
                                                                                   unit powers up, or as a calibration procedure. R6 can be              throw the ratio off, and reduce common mode rejection.
                                                                                   eliminated (reduced to zero ohms) by directly connecting the          Typically several percent of any change in the sensor’s
                                                                                   R3, R5 divider to pin 2. The output impedance of this divider         common mode voltage will show up as an output error when
                                                                                   then needs to be choosen such that its ratio with R4 = R1/R2,         this configuration is used.
                                                                                   in other words [R3•R5/(R3+R5)]/R4 = R1/R2. Given the
                                                                                                                                               CONCLUSION
                                                                                     Perhaps the most noteworthy aspect to the sensor amplifier          one dual op amp and a few resistors. The result is a simple and
                                                                                   described here is its simplicity. The interface between an            inexpensive circuit that is capable of measuring pressure,
                                                                                   MPX2000 series sensor and a microcomputer A/D consists of             vacuum or differential pressure.
                                                                                   Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding
                                                                                   the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and
                                                                                   specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Motorola
                                                                                   data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals”
                                                                                   must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of
                                                                                   others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other
                                                                                   applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury
                                                                                   or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola
                                                                                   and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees
                                                                                   arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that
                                                                                   Motorola was negligent regarding the design or manufacture of the part. Motorola and               are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal
                                                                                   Opportunity/Affirmative Action Employer.
                                                                                   Mfax: RMFAX0@email.sps.mot.com – TOUCHTONE 1–602–244–6609            ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; 8B Tai Ping Industrial Park,
                                                                                   Motorola Fax Back System            – US & Canada ONLY 1–800–774–1848 51 Ting Kok Road, Tai Po, N.T., Hong Kong. 852–26629298
                                                                                                                       – http://sps.motorola.com/mfax/
                                                                                   HOME PAGE: http://motorola.com/sps/