Lecture 03
Lecture 03
SIGNAL CONDITIONING
Signal Conditioning
Signal conditioning as the name implies refers to manipulating an analog signal to an
optimal condition before being digitized through an ADC.
Signal conditioning serves a number of purposes. It is needed to:
• Supply excitation voltages
• Amplify and buffer low level signals
• Clean and shape signals
• Compensate for temperature induced drifts
• Protect computer from electrical noise and surges
The signal conditioning blocks shown in figure below consist of number of separate
circuits and components.
Certain passive signal conditioning elements such as potential dividers, bridge circuits and
current-to-voltage conversion resistors are often closely coupled to the sensor it self and,
maybe an integral part of it.
To ADC or
From sensor multiplexer
One technique for measuring resistance (shown in Figure below) is to force a constant
current through the resistive sensor and measure the voltage output. This requires both an
accurate current source and an accurate means of measuring the voltage. Any change in
the current will be interpreted as a resistance change. In addition, the power dissipation in
the resistive sensor must be small, in accordance with the manufacturer's
recommendations, so that self-heating does not produce errors, therefore the drive current
must be small.
Vout=Vin*Rt/(Rs+Rt)
Bridge circuits (Wheatstone Bridge)
sensitivity of a strain gauge or Gauge Factor GF is how much its resistance changes in
proportion to applied strain (its ratio of fractional change in resistance to applied strain
epsi).
From our divider equation Vo=Vex*[R3/(R4+R3) – R2/(R1+R2)], substituting R1=R2,
R3=Rg, and R4=Rg+dR yields: Vo/Vex = - GF * epsi / 4 * [1 / (1 + GF*epsi / 2)]. This is
the strain computation term Vr=Vo/Vex in mV/V and represents the sensitivity of the
bridge network in mV/V (not to be confused with strain gauge sensitivity or Gauge Factor).
The presence of the extra term 1/(1+GF*epsi/2) is representative of a small non-linearity in
the output of the quarter bridge network with respect to strain.
VMEAS = I S R
Isolation
Isolated signal conditioning devices pass the signal from its source (sensor) to the
measurement device without a physical connection by using transformer, optical, or
capacitive coupling techniques. In addition to breaking ground loops, isolation blocks
high-voltage surges and rejects high common-mode voltage and thus protects both the
operators and expensive measurement equipment.
Optical Isolation
LEDs (Light Emitting Diode) produce light when a voltage is applied across them.
Optical isolation uses an LED along with a photodetector device to transmit signals
across an isolation barrier using light as the method of data translation. A photodetector
receives the light transmitted by the LED and converts it back to the original signal.
Optical Isolation
Capacitive Isolation
Capacitive isolation is based on an electric field that changes with the level of charge on
a capacitor plate. This charge is detected across an isolation barrier and is proportional to
the level of the measured signal.
One advantage of capacitive isolation is its immunity to magnetic noise. Compared to
optical isolation, capacitive isolation can support faster data transmission rates because
there are no LEDs that need to be switched. Because capacitive coupling involves the
use of electric fields for data transmission, it can be susceptible to interference from
external electric fields.
Capacitive Isolation
Inductive Coupling Isolation
The current through a coil of wire produces a magnetic field. This current can be induced
in a second coil by placing it in close vicinity of the changing magnetic field from the
first coil. The voltage and current induced in the second coil depend on the rate of
current change through the first. This principle is called mutual induction and forms the
basis of inductive isolation.
Inductive isolation uses a pair of coils separated by a layer of insulation. Insulation
prevents any physical signal transmission. Signals can be transmitted by varying current
flowing through one of the coils, which causes a similar current to be induced in the
second coil across the insulation barrier. Inductive isolation can provide high-speed
transmission similar to capacitive techniques. Because inductive coupling involves the
use of magnetic fields for data transmission, it can be susceptible to interference from
external magnetic fields.
Inductive Coupling
Analog Isolation and Digital Isolation
For analog I/O channels, you can implement isolation either in the analog section of the
device before the analog-to-digital converter (ADC) has digitized the signal (analog
isolation) or after the ADC has digitized the signal (digital isolation). You need to
design different circuitry around one of these techniques based on your isolation
implementation location in the circuit. You can choose analog or digital isolation based
on your data acquisition system performance, cost, and physical requirements. Figures
show the different stages of implementing isolation.
Analog Isolation
Digital Isolation
Digital Isolation
Optocouplers
Optocouplers, digital isolators based on the optical coupling principles, are one of the
oldest and most commonly used methods for digital isolation. They can withstand high
voltages and offer high immunity to electrical and magnetic noise. Optocouplers are
often used on industrial digital I/O products.
For high-speed analog measurements, optocouplers, however, suffer from speed, power
dissipation, and LED wear limitations associated with optical coupling. Digital
isolators based on capacitive and inductive coupling can alleviate many optocoupler
limitations.
Capacitive Isolation
Some companies offer digital isolation components based on capacitive coupling.
These isolators provide high data transfer rates and high transient immunity. Compared
to capacitive and optical isolation methods ,inductive isolation offers lower power
consumption.
Inductive Isolation
iCoupler technology, introduced by Analog Devices in 2001 (analog.com/iCoupler),
uses inductive coupling to offer digital isolation for high-speed and high-channel-count
applications. iCoupler devices can provide 100 Mb/s data transfer rates with 2,500 V
isolation withstand for a 16-bit analog measurement system that implies sampling rates
in the megahertz range. Unlike optocouplers, iCoupler devices offer other benefits such
as reduced power consumption, high operating temperature range up to 125 °C, and
high transient immunity up to 25 kV/ms.
iCoupler technology is based on small, chip-scale transformers. An iCoupler has three
main parts – a transmitter, transformers, and a receiver. The transmitter circuit uses edge
trigger encoding and converts rising and falling edges on the digital lines to 1 ns pulses.
These pulses are transmitted across the isolation barrier using the transformer and
decoded on the other side by the receiver circuitry, shown in figure below.
The small size of the transformers, about three-tenths of a millimeter, makes them
practically impervious to external magnetic noise. iCoupler devices can also lower
measurement hardware costs by integrating up to four isolated channels per integrated
circuit (IC) and, compared to optocouplers, they require fewer external components.
Analog Isolation
The Isolation Amplifier is generally used to provide isolation in the analog front end of
data acquisition devices. “ISO Amp” in figure below represents an isolation amplifier,
which, in most circuits, is one of the first components of the analog circuitry. The
analog signal from a sensor is passed to the isolation amplifier, which provides isolation
and passes the signal to the analog-to-digital conversion circuitry.
Figure below represents the general layout of an isolation amplifier.
In an ideal isolation amplifier, the analog output signal is the same as the analog input
signal. The section labeled “isolation” in Figure uses one of the techniques discussed in
the previous section (optical, capacitive, or inductive coupling) to pass the signal across
the isolation barrier. The modulator circuit prepares the signal for the isolation circuitry.
For optical methods, you need to digitize or translate this signal into varying light
intensities. For capacitive and inductive methods, you need to translate the signal into
varying electric or magnetic fields. The demodulator circuit then reads the isolation
circuit output and converts it back into the original analog signal.
The ISO124 (isolation amplifier) from Burr-Brown simplifies analog isolation. The input
signal is duty-cycle modulated and transmitted digitally across the barrier. The output
section receives the modulated signal, converts it back to an analog voltage, and removes
the ripple component inherent in the modulation/demodulation process.
Amplification
An Amplifier is an integral part of any signal conditioning circuit. However, there are
different configurations of amplifiers, and depending of the type of the requirement. The
use of transistors as amplifiers requires many additional components, the most popular
amplifier used in signal conditioning circuits is the operational amplifier (op_amp).
Operational Amplifier
• Integrated circuit containing ~20 transistors
Inverting and Non-inverting Amplifiers
These two types are single ended amplifiers, with one terminal of the input is
grounded. From the schematics of these two popular amplifiers, shown in figure, the
voltage gain for the inverting amplifier is:
__________________________________________________
single-ended amplifiers: amplify a single input signal differential amplifiers
:amplify the voltage difference between two input signals
INVERTING OP-AMP, PRACTICAL
In this circuit notice a resistor, , is R
connected between the non-inverting terminal
stability
and ground. This is because, there is indeed a small current flowing between the non-
inverting and inverting terminals. In order to negate this voltage, a resistor is chosen to
connect the non-inverting terminal to ground, producing a voltage at the noninverting
terminal equal to the one at the inverting terminal.
R1 R2
Rstability =
R1 + R2
voltage follower
Buffers are function block commonly used in micro-electronics. It has high input
impedance and low output impedance. In a buffer, gain is not important, but the ability to
drive low-impedance load is. An opamp with non-inverting configuration can do that, this
is referred as a voltage follower (or unity-gain amplifier).
Differential amplifiers are useful for the cases, where both the input terminals are floating.
These amplifiers find wide applications in instrumentation. A typical differential amplifier
with single op.amp. configuration is shown in figure below.
The output voltage :
R4 ⎛ R2 ⎞ R
Vout = ⎜⎜1 + ⎟⎟V2 − 2 V1
R3 + R4 ⎝ R1 ⎠ R1
If we select , R4 R2 R2
= , then, Vout = (V2 − V1 )
R3 R1 R1
Common mode rejection
Since the output is proportional to the difference between the two voltages, anything
(e.g. noise) which is present on both inputs will be cancelled out. However, a signal
which is different on the two inputs will be amplified, which of course is exactly
what we want. The ratio of the difference gain to the common gain (usually
expressed in dB) is called the Common Mode Rejection Ratio (CMRR).
Differential Gain
CMRR =
Common Gain
Common-mode rejection ratio describes the ability of measurement system to reject
common-mode voltages. Amplifier with higher common-mode rejection ratios are more
effective at rejecting common mode voltages.
Common-mode Voltage Gain
Common-mode voltage gain refers to the amplification given to
signals that appear on both inputs relative to the common (typically
ground). an ideal op amp has a common-mode voltage gain of
zero. This means the output is unaffected by voltages that are
common to both inputs (i.e., no difference).
Gain of an amplifier is defined as VOUT/VIN. For the special case of
a differential amplifier, the input VIN is the difference between its
two input terminals, which is equal to (V1-V2). So the gain of this
differential amplifier is
Gain = VOUT/(V1-V2). (differential mode gain).
The op amp common-mode rejection ratio (CMRR) is the ratio of
the differential-mode gain to common-mode gain. The ideal op amp
will have the infinite CMRR and with the finite differential gain and
zero common mode gain.
A typical differential amplifier has a CMRR of about 30,000. So, supposing we build a
circuit with a differential gain of 1,000, this means that the common gain (acting on the
noise) will be:
Differential Gain / Common Gain= 30,000 So,
Common Gain = Differential Gain / CMRR
= 1,000/30,000 = 1/30 or 0.03
In other words, instead of getting amplified, the noise will actually be attenuated.
CMRR in dB
Gains and CMRR are usually quoted in dB, so for voltage gains, the equation becomes:
⎛ Differential Gain ⎞
Thus, a typical differential CMRR
amp will
(dBhave
) =a20
CMRR
log10 of
⎜⎜ ⎟⎟
20 log (30,000) = 90 dB ⎝ Common Gain ⎠
Instrumentation Amplifier
Unfortunately, the differential amplifier turns out to be rather limited in its performance
because of the low input impedance of (R2 + R1). To improve this, two bootstrapped
buffer amplifiers (which are just op-amps with unity gain) are commonly added, which
results in the simple instrumentation amplifier:
⎛ 2R ⎞
CMRR(dB) = 10 log10 ⎜⎜1 + 2 ⎟⎟
⎝ R1 ⎠
Total differential gain:
R4 ⎛ R2 ⎞
Gain = ⎜⎜1 + ⎟⎟
R3 ⎝ R1 ⎠
Commercial Instrumentation Amplifiers
In practice, it is difficult to precisely match resistors that are discrete components. To
overcome this problem the entire circuit is put on a single integrated circuit, since IC
manufacturing technology enables precise resistor ratios to be obtained.