Escolar Documentos
Profissional Documentos
Cultura Documentos
Force, Weight, Torque, and Pressure TABLE 8: FLUID LEVEL AND VOLUME
The sensors in this section measure a mechanical APPLICATIONS
force or strain. Common types are listed in Table 5. Sensor Electrical Parameter
Ultrasound Time
TABLE 5: FORCE, WEIGHT, TORQUE,
AND PRESSURE Mechanical Transducer Resistance, Voltage, ...
APPLICATIONS Capacitive Capacitance
Sensor Electrical Parameter Switch (e.g., vibrating) On/Off
Thermal
Strain Gage [8 - 10] Resistance
Load Cell Resistance
Piezo-electric Voltage or Charge
Mechanical Transducer Resistance, Voltage, ...
VDD
BASIC SIGNAL CONDITIONING
CIRCUITS VSEN MCP6XXX
VOUT
This section is organized by the sensors electrical
property. For each sensor electrical property listed, one
or more conditioning circuits are shown. Advantages,
disadvantages and sensor examples are listed for each
R1 R2
circuit.
FET Input Op Amp
Voltage Sensors
The circuits in this section condition a voltage produced FIGURE 2: Non-inverting Gain Amplifier
by a sensor. for High-Impedance Sensors with Voltage Output.
R1 R2
Sensor Example
pH electrode
FIGURE 1: Non-inverting Gain Amplifier.
Sensor Examples
Thermo pile FIGURE 5: Instrumentation Amplifier.
High-side (VDD) voltage sensor
Advantages
DIFFERENCE AMPLIFIER
Excellent rejection of common mode noise; it is
Figure 4 shows a difference amplifier using an op amp. great for remote sensors
It presents an impedance of R1 to each end of the Resistive isolation from the source
sensor (VSEN+ and VSEN) and amplifies the input
Detection of sensor failure
difference voltage (VSEN+ VSEN).
Disadvantages
R1 R2
Resistive loading of the source
VSEN+
Cost
VDD
Sensor Examples
MCP6XXX
Remote thermocouple
VOUT
Remote RTD (with a current source or voltage
divider to produce a voltage from the RTD)
VSEN Wheatstone bridge
R1 R2 - Strain gage
- Pressure sensor
FIGURE 4: Difference Amp.
ISEN R2 R3
VDD
VSEN CH0 VOUT VOUT
CH1
4 VDD
SPI Control
VREF MCP6XXX
VSS R1
To other VOUT
sensor
Advantages R1 << R2
Multiple sensors (input MUX)
FIGURE 7: Current Sensor.
CMOS input (high impedance and low bias
current) Advantages
Digital control (SPI) of input and gain
Good rejection of common mode noise
Linearization of non-linear sources
Resistive isolation from the source
Disadvantages Wide input voltage range
Input stage distortion Disadvantages
Amplifies common mode noise
Resistive loading of the source
Needs microcontroller unit (MCU) and firmware
Input stage distortion
Sensor Examples
Sensor Examples
Thermistor (with voltage divider to convert
High-side (VDD) current sensor
resistance to voltage)
AC mains (line) current
Thermo pile
Piezo-electric film
ISEN R1 ISEN
VOUT D1A
C1 VOUT
VDD
R1
R2 VDD
VDD VDD
R2
MCP6XXX R2 VDD
MCP6XXX
R2 R3
FIGURE 8: Transimpedance Amplifier.
VCOR
Advantages D1B
Good impedance buffering of source
Simplicity
D1A and D1B are a matched pair
Disadvantages in the same package.
Design may need to be stabilized FIGURE 9: Logarithmic Amplifier.
Sensor Examples When the source (ISEN) has both polarities, add a diode
in parallel with R1 and D1A, and with the opposite
IR smoke detector
polarity to D1A.
Photodiode
Photodetector Advantages
Wide dynamic range of currents
Good impedance buffering of source
Simplicity
Disadvantages
Needs temperature correction
Sensor Example
Photodiode (e.g., PWM encoded digital signal)
Disadvantages VDD
Poor common mode noise rejection R1 RSEN VDD
Voltage is a non-linear function of resistance
MCP6XXX
Sensor Examples VOUT
Thermistor RSEN R1
RTD
Magneto-resistive compass
R2
VDD
Sensor Examples R1A R2
Strain gage
Pressure sensor R1B VDD
Magneto-resistive compass MCP6XXX
Figure 13 shows another Wheatstone bridge circuit.
The instrumentation amplifier amplifies the bridges R3
C1
difference voltage and gives excellent rejection of
common mode noise.
(
R1 R2
ISEN
VDD
R2 PICmicro MCU
RSEN
P2
FIGURE 15: Resistance-to-Current
R1
Conversion Circuit.
P1
Advantages
P0
Ratiometric output (with an ADC using VDD as its C1
reference voltage)
Simplicity
FIGURE 16: RC Decay.
Disadvantages
Inverting gain Advantages
Ratiometric correction of VDD, C1 and
Sensor Example temperature errors
Thermistor Accurate
Simple timing measurement
Disadvantages
PICmicro MCU timing resolution
Digital noise
Threshold must be ratiometric
Sensor Example
Thermistor
R1 C1 R2 C2 R3 R4 RC DECAY
The first strategy for conditioning a capacitive sensor is
VDD VDD VDD to produce a voltage with a RC decay (single pole
MCP6XXX
MCP6XXX
MCP6XXX
MCP65XX VDD
VDD VOUT
VDD
R2 VREF to MCU
MCP65XX
R3 R4
MCP65XX
R1 CSEN
FIGURE 19: Multi-vibrator (oscillator).
Advantages SW1
Cost FIGURE 20: Single-slope Integrating
Ratiometric operation Detector.
Easy processing using a PICmicro MCU
Advantages
Disadvantages Easy processing using a PICmicro MCU
Reduced accuracy Accuracy depends on VREF and R1
C1
FIGURE 21: Capacitive Wheatstone VOUT
Bridge.
PSEN VDD VDD
Advantages MCP6XXX
R2
Excellent common mode noise rejection
Ratiometric output (with an ADC using VDD as its
reference voltage) R3
Detection of open or shorted sensor (failure)
Sensor Example
Piezo-electric film
Temperature Sensors
[14] AN929, Temperature Measurement Circuits for
Embedded Applications, Jim Lepkowski; Microchip
Technology Inc., DS00929, 2004.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchips Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
04/20/05