## Important Amplifier Properties

### Isolation

• For the biological subject, against electric shock from the amplifier’s power source(s)–or, how to not kill your patient while taking measurements!
• For the signal-to-noise ratio (SNR): isolation keeps the (60-Hz mains and other) noise out of the sensor pickup–and out of the amplifier input.

One simple way to isolate the input is to use an LED/phototransistor pair:

The sensor is connected to an LED, which outputs light of intensity proportional to signal voltage.

The light from the LED falls on a photodiode or phototransistor, which is biased in such a way that current only flows when light hits the device, and the current (and thus measured voltage) is proportional to light intensity.

Phototransistor output is to the amplifier.

The power circuitry for the amplifier is completely isolated from the sensor (electrodes etc.) Power supplies for the sensor use a transformer or battery, and the “ground” for the sensor side floats relative to the amplifier side (which should have ground connected to earth eventually.)

These devices are manufactured in one piece, so the frequency of light output from the LED is matched to the ideal absorption frequency of the phototransistor. However, there must be no electrical connection between the two sides of the circuit. More exactly, the impedance between the two circuits should be near a Teraohm ($10^{12} \Omega$).

## Single-Ended vs. Differential Input

• Referenced Single-Ended: two leads of sensor are + signal and earth (computer) ground. Note: to avoid ground loops, it is best to avoid connecting sensor earth to computer earth.
• Non-Referenced Single-Ended: two leads of sensor are + signal and – signal, which is connected through a bias resistor to earth ground.
• Differential: three sensor leads are available: + and – signal and (earth) ground.

The 4-BNC -to- DAQ-card lead you’ve probably used in a lab before is referenced single-ended: each of 4 sensors has available a signal wire, and the 4 sensors share a common ground wire. If the DAQ card is configured in Differential mode using this input lead, the signal gradually rises to a saturated level, as the DAQ card assumes a signal on the – differential input, which is in reality floating.

Problems with Single-Ended Input:

• Cross-talk: Because multiple signals share a ground wire, they also share some portion of the signal, so if only one input is connected that signal shows up, somewhat weakened, on the second input trace.
• Lack of isolation: using the ground wire as the negative signal lead means the subject and the amplifier are strongly coupled–and strong electric signals from the amplifier may travel to the subject. Also, stray noise (such as from the power mains) easily couples into the input.

Differential Input:

I’m talking a lot about DAQ cards, these are very important when working with A/D systems and analog and digital filters.  If you are not familiar with these, go do a little light reading.  Hopefully this is making enough sense to get the concepts across.  The DAQ card comes with a finite number (16, in our case) of analog input ports (channels), each with paired input pins: a signal (ACH#) and a ground (AIGND). All the analog input ground pins are tied together on the DAQ card. In differential mode, the analog input ports are paired, so channel 1 uses AICH0 as +, AICH8 as -, and the ground wires for the pair are tied together as the reference ground. Thus a 16-channel DAQ card has only 8 channels in differential mode.

• Because no channels share leads, cross-talk is reduced. The DAQ card has high common-mode rejection, so if the – input leads are tied to ground (simplest configuration), channels will not interfere because the cross-talk is common to both + and – inputs.
• The ground lead cannot be isolated from the input electrodes without causing the DAQ circuitry to saturate, so the DAQ card itself does not provide isolation.

## Wiring a DAQ card in Differential Mode:

The figure is adapted from Fig. 4.6, p. 4-15, of the NI 6024E (DAQ card) User Manual, and illustrates the appropriate connections for differential input to the card. Recommended values of R+ and R- depend on the impedance Rs (in series with Vs) and coupling of the source signal Vs:

R+ and R- provide bias current return paths. Bias currents result from not-quite infinite input impedance to the DAQ, and if not balanced the noise they represent will not be common to both + and – inputs, and thus won’t be rejected. However, R+ and R- load down the source with an equivalent 2R+, which will decrease gain if R+, R- are too low. If R+, R- are too large, they will produce a DC offset at the DAQ input.

## Bandwidth

Bandwidth is a critical parameter in determining the type of amplifier needed. Often a bioamp has adjustable bandwidth; typical applications have both low-pass and high-pass adjustable filters.

Typical Bandwidths of Biological Signals: (Table from Webster Fig 6.16, p. 259.)

(Electro-oculogram: signal from electrodes placed either side or above and below the eye. Linearly proportional to angle of gaze; DC signal)

## Noise Reduction

Can be either or both analog and/or digital. If digital, it is done by post-processing collected data. If analog, wiring of the printed-circuit board, handling of wires on the bench, and internal circuitry are all details to consider carefully.

## Protective Shielding

For equipment, against transient large signal sources–includes grounding the outer case of the equipment and surge protection, as well as isolation.

## Power Supplies

AC (mains) with rectification and usually transformer isolation. Subject to power failures, risk of electrocution.
Battery: provides its own isolation. Limited lifetime and undesirable behavior just before failure.

## Specialized Amplifiers

### Lock-in Amplifier

(www.lockin.de)If the signal source is mostly at a single frequency but is very weak and/or subject to a great deal of noise, a lock-in amplifier can be used to extract the signal. In biological cases the single-frequency property of the signal is most-often externally generated, by applying a single-frequency excitation in one way or another.

Theory:

Signal source S(t) = A cos(ω1t + θ1) + B cos(ω2t + θ2)

Reference signal R(t) = C cos(ω1t)

Product S(t)R(t) = AC cos(ω1t) cos(ω1t + θ1) + other terms in cos(ω1t) and cos(ω2t)

= AC/2 (cos(2ω1t + θ1) + cos(-θ1) ) + other terms in cos(ω1t) and cos(ω2t)

Integrating over an even number of cycles of the reference signal reduces all terms in ω1 to zero, so the displayed signal is proportional only to the amplitude of the component of the signal source at the reference frequency.

To get the reference frequency into the signal source various means are employed: one may have to excite the subject (nerve, membrane…) at the reference frequency, or one may already know the source has a dominant resonance; alternatively one may look at each of several spectral components in the source signal piecemeal, by tuning the reference frequency.

### Pre-Amplifier

high input impedance, moderate gain, high CMRR. Often differential input and isolation. May include DC offset control, gain control switches, and/or calibration signal.

### Chopper-stabilized Amplifier

removes thermal DC drift from a (very-low-frequency or DC) signal by using negative feedback and chopping the low-frequency signal at a frequency above the amplifier’s high-pass limit (effectively, this is frequency modulation). The signal can be reconstructed by demodulation after amplification; noise signals at both high frequencies and those below the chopper frequency are rejected.

This post was made using some old class notes, a DAQ card user manual and just some good old knowledge.  I know this is not a traditional engineersphere.com lesson, it is more of an ‘informative read’ for the avid electrical engineer interested in biomedical applications.  Enjoy 🙂

## Amplifiers – Part I

This post is about amplifiers, how they work, and common applications. I will cover several operational amplifier configurations, and situations where each might be useful. This is part I of II for general discussion about amplifiers. Enjoy!

### Definition of an amplifier

Definition (for Bioinstrumentation): Circuit that makes a small signal, usually voltage but occasionally current or power, big enough to do something useful–including excite an output mechanism.

### Common amplifier uses:

• Biological measurements of small signals
• Audio engineering: a large current is needed to drive speakers
• Wireless communications: far from originating antenna, signal is very weak and must be
amplified to be useful.

### Secondary amplifier applications:

Many amplifiers are also filters, preferentially amplifying some frequencies over others

• Don’t want to amplify noise along with signal
• Only interested in low- or high-frequency portion of signal
• Active filter provides amplification as added bonus

### Common Mode Rejection Ratio (CMRR)

ratio (usually in dB) of the amplifier’s common-mode gain to its differential-mode gain. Common-mode signals are input signals common to both + and – inputs and are usually unwanted noise–60-Hz, thermal, etc; differential signals are applied to only one input.

### Gain

voltage out over voltage in, or current out over current in. May be given in dB.  Bioamp requirement: often adjustable; should be 1000 or greater, should be calibrated.

### Input Impedance

what the input source sees as its load working into the amplifier: if the entire amplifier circuit were modelled as a resistor, what would be the value of the resistor? Typical bioamp: Rin = 10MΩ–signal source need not provide much current.

### Output Impedance

same as input impedance but from the output end: model the entire amplifier as a source, and this is its internal impedance. Bioamp requirement: Ro << Rload.

### Frequency Response

over what range of frequencies is the gain constant? Graphically illustrated with a Bode plot of gain vs. frequency.

### DC offset

usually an amplifier has an operator-adjustable DC offset knob, to null out any offset associated with non-ideal amplifier or sensor behavior. A DC offset signal results in an incorrect reading unless removed or filtered out (high-pass filter).

### Operational Amplifier:

basis for most instrumentation-related amplifiers, cheap, readily available, easy to work with. “Operational” = good for mathematical operations (+, -, log, …)

• equal input voltages –> within the limits of external power supplies, an op amp outputs whatever current is needed to drive the two input voltages equal. Result is that the output voltage follows the input, scaled by a large gain.
• infinite input resistance means the op amp never loads down the source, even if the source cannot supply much power.
• zero output resistance means the op amp is an ideal voltage source, with output voltage independent of whatever load impedance it must work into.
• infinite open-loop gain means the amplification properties of a circuit containing an op amp are independent of the op amp internal properties.

Carr and Brown go through several common op-amp configurations and show how to derive their voltage gains. Suffice it for now to know that if you want to build an amplifier, an op amp is a good place to start.

### Common op-amp circuit configurations:

• Inverting and non-inverting amplifiers
• Summing and difference amplifiers
• Integrating and differentiating amplifiers
• Log and anti-log amplifiers
• Instrumentation amplifier
• Low-pass filter
• High-pass filter
• Band-pass and notch filters
• Buffer (voltage follower, or unity-gain buffer)

### Op-Amp Equivalent Circuit

This schematic illustrates the important properties of the op amp, and of any amplifier. It can also make it easier to understand circuit operation.

Note the open-circuit inputs– Rin = infinity. The
output voltage supply is a dependent voltage
source. Also, since the gain A is infinite, v2 – v1
must be zero to get a finite output.

### Difference (Differential) Amplifier

Example: derive the gain relationship for the basic differential amplifier shown, assuming U1 is ideal and Vin = V2 – V1.

To get equal gain of both V1 and V2, set R2/R1 = R4/R3. Then Vo = R2/R1(V2-V1).

To get a high gain, R2 >> R1, but to get high input impedance R1 (and/or R3) should be large, making R2 and R4 even larger…Result: high gain and high input impedance are difficult to achieve together.

### Instrumentation Amplifier

A difference amp with input buffer/gain stages to increase input impedance and gain. To analyze, realize that the same current must flow in R5, R6 and R5 (since no current flows into the op amps). Set R1=R3, R2 = R4; then Vo = G1* (v3(U1) -v2(U1)), where G1 = R2/R1 = gain of second (differential) stage.

Gain of input stage is 1 + 2*R5/R6 = G2. Overall gain is G1*G2. Making R6 a potentiometer allows compensation for inequalities in the two R5s, as well as for variable gain of the entire circuit.

Overall Gain: A practical difference amp can have a gain of 100, so it is not hard to get an overall gain of 10,000 from an instrumentation amp.
Input Impedance: equal to that of the op amps U1 and U2–very large. Use FET-based amps for extremely high input impedance
Output Impedance: close to that of the op amp U1–very small: the amp will provide whatever current is needed to maintain the output voltage regardless of load impedance.

Equal resistors: in practice one cannot buy matched discrete resistors; however it is fairly easy to manufacture them within an integrated circuit. Monolithic diff-amps are available.

### Non-idealities of amplifiers

Gain:  TANSTAAFL–you cannot have gain without a power supply to provide it. Real gain is limited by the external power  supplies (+/- 12 or 15 V, for op amp circuits) Exceeding the limits of the power supply results in Saturation, or “hitting the rail”.

Output impedance: a zero output impedance means the circuit will provide whatever current is needed to maintain the requested output voltage. Practically, however, an op amp can only provide some 20mA, meaning RO is negligible only for RL>>15V/20mA = 750 Ω.

Frequency dependence: to avoid oscillation or saturation, circuitry must often be added that limits the bandwidth of an amplifier.
• To keep DC offset signals (from polarizing electrodes, for example) out of the amplifier, a high-pass filter is used to cut off DC (and lower-frequency ac) signals.
• If the load to be driven contains substantial capacitance, the current output limit again becomes a problem, limiting gain at high frequencies, where capacitors look like shorts.

Input bias current: real op amps do have non-zero input currents, which produce voltage drops at the input–another source of DC offset. This source can be minimized by using FET op amps.

### Impedance Bridge

Often the measurand is the relation between voltage and current (one applied, the other a response) rather than a biologically generated source. An example in Carr and Brown uses a wire heated by an applied current as an airflow sensor:  air flow from a breathing patient cools the wire, changing its resistance. Similarly, a voltage applied to a membrane induces a current flow; the ratio of voltage to current is a resistance. Such relations are best measured using a Bridge, and if the bridge is made solely of resistors it is called a Wheatstone Bridge.

Usually drawn as a diamond, this configuration of resistors is “balanced” when V+ – V- = 0. If Rtest then varies a little, a differential amplifier across V+ and V- will register a potential difference proportional to
the change in Rtest.

The impedances can have capacitance and/or inductance associated with them, in which case the bridge can measure both energy storage and  resistive loss in an element.

A return path to ground for (DC) bias currents is automatically provided by this circuit to prevent saturation.

Well there you have it, a few common amplifier configurations and some useful terms pertaining to them.  Remember important concepts such as amplifier saturation, Input Impedance, Output Impedance, and Gain.  A solid understanding of these concepts is sure to impress somebody!  Amplifiers  part II will continue to elaborate on more fun amplifier concepts.

References: References: Carr and Brown ch. 7; Webster chs. 3, 6; Neamen, Electronic Circuit Analysis and
Design (McGraw Hill, 2001) ch. 9