Hello! Welcome to your third lesson.
In our last session, we established the fundamental characteristics of bioelectric signals. We learned that signals like EEG are incredibly faint (in the microvolt range) and exist within specific frequency bands. This directly sets up our current topic: how do we build the electronics to amplify these weak signals to a usable level?
Today, we'll dive into the workhorse of analog electronics: the operational amplifier (op-amp). This lesson directly addresses the learning outcome: Analyze operational amplifier (op-amp) circuits to determine gain, input impedance, and bandwidth. As someone with a prior ECE degree, this should be a good refresher, but we'll focus specifically on the aspects most critical for biomedical instrumentation. For your work at Neuraease, mastering op-amps is non-negotiable; they are the essential first stage in any device that measures physiological signals.
The Ideal Op-Amp: A Perfect Amplifier
An op-amp is a differential amplifier with extremely high gain. It amplifies the voltage difference between its two inputs. In its raw, "open-loop" state, its gain is so massive (often >100,000) that it's practically unusable. The key to taming it is negative feedback, where a portion of the output signal is fed back to the negative (inverting) input. This allows us to create stable amplifiers with precisely controlled characteristics.
For most initial design and analysis, we use the ideal op-amp model. To learn about the properties of an ideal op-amp, please read the following section from the MIT OpenCourseWare notes.
These notes on 'Operational Amplifiers' from MIT provide a formal introduction to the ideal op-amp model, which is the foundation for all our circuit analysis.
Please read the section titled 'The ideal op-amp model' (page 3). It's a short section that lists the key characteristics. We will refer to these as the 'golden rules' of op-amp analysis.
From that reading, we can summarize the two "golden rules" for analyzing op-amp circuits with negative feedback, assuming the output is not saturated:
- The input voltage difference is zero. The voltage at the non-inverting input () is equal to the voltage at the inverting input (). This is because any tiny difference would be multiplied by the infinite open-loop gain, saturating the output. The feedback loop adjusts the output to force this condition.
- No current flows into the input terminals. The input impedance is infinite, so the op-amp draws no current from the source circuit.
With these two rules, we can analyze the most common amplifier configurations.
Core Op-Amp Configurations
Let's explore the fundamental building blocks you'll use constantly in instrumentation design.
1. The Inverting Amplifier
In this configuration, the input signal is applied to the inverting (-) terminal through a resistor , and the non-inverting (+) terminal is connected to ground.
To get a quick overview of this circuit and its non-inverting counterpart, watch the first few minutes of this video.
Operational Amplifiers - Inverting & Non Inverting Op-Amps
This video from The Organic Chemistry Tutor, 'Operational Amplifiers - Inverting & Non Inverting Op-Amps', gives a very clear and straightforward introduction to the two main amplifier configurations.
Watch from 01:48 to 03:12. The video explains the inverting amplifier circuit and presents the gain formula.
Now, let's analyze it with our golden rules:
A standard inverting amplifier configuration. The output is an amplified and inverted version of the input.
- From Rule 1, since is at ground (0V), must also be at 0V. This point is called a virtual ground.
- From Rule 2, no current flows into the terminal. Therefore, the current flowing through must be equal to the current flowing through the feedback resistor, .
Let's call this current . Using Ohm's law:
This same current flows through . The voltage drop across is:
And the current is flowing from to , so:
Setting the two expressions for equal:
Rearranging for the voltage gain (), we get the classic formula:
The negative sign indicates that the output signal is 180° out of phase with the input—it's an inverted signal.
2. The Non-Inverting Amplifier
Here, the input signal is applied directly to the non-inverting (+) terminal. The feedback network looks similar, but now connects the inverting (-) terminal to ground.
Let's return to the video for a quick look at this circuit.
Operational Amplifiers - Inverting & Non Inverting Op-Amps
We'll continue with the 'Operational Amplifiers - Inverting & Non Inverting Op-Amps' video to see the non-inverting configuration.
Watch from 06:32 to 08:42. This part explains the non-inverting circuit and its gain formula.
A standard non-inverting amplifier. The output is an amplified, in-phase version of the input.
- From Rule 1, the voltage at the inverting terminal, , must be equal to the voltage at the non-inverting terminal, . Since is applied to , we have .
- From Rule 2, no current flows into the op-amp inputs. The resistors and form a simple voltage divider with as the input and as the output.
The voltage at can be expressed using the voltage divider formula:
Substituting :
Rearranging for the gain ():
This gain is always positive (non-inverting) and greater than or equal to 1. A special case where and (an open circuit) gives a gain of 1. This is called a voltage follower or buffer, and it's extremely useful for impedance matching, which we'll discuss next.
Input Impedance: A Critical Parameter for Bio-signals
Input impedance is the effective resistance seen by the signal source when it's connected to the amplifier. For measuring bio-potentials, high input impedance is crucial. The electrode-skin interface has its own impedance (which can be high and variable), and if the amplifier's input impedance is too low, it will act like a voltage divider, attenuating the already tiny signal before it's even amplified.
This next video provides an excellent and intuitive explanation of how to determine the input impedance for our two main configurations.
The video 'Amplifier Input Impedance' from SimplyCircuits clearly demonstrates the difference in input impedance between inverting and non-inverting amplifiers.
Watch the video from 00:10 to 03:50. Pay close attention to: Why the input impedance of the inverting amplifier is simply R_in (00:10 - 02:25). Why the input impedance of the non-inverting amplifier is ideally infinite (02:25 - 03:50).
To summarize the key findings from the video:
- Inverting Amplifier: Because the inverting terminal is a virtual ground (0V), the input impedance seen by the source is simply . This means there is a trade-off: to get high input impedance, you need a large , which may require an impractically large to achieve the desired gain.
- Non-Inverting Amplifier: The signal source connects directly to the non-inverting input. Since an ideal op-amp draws no current (Rule 2), the input impedance is infinite.
This makes the non-inverting configuration highly preferable for the input stage of a biopotential amplifier like an EEG or ECG. It can sense the voltage from the electrodes without loading them down.
Bandwidth and the Gain-Bandwidth Product
An op-amp cannot provide high gain across all frequencies. There is an inherent trade-off between gain and bandwidth. This relationship is characterized by the Gain-Bandwidth Product (GBWP), a value found on the op-amp's datasheet.
For most op-amps, the GBWP is constant. This leads to a simple, powerful relationship for circuits with negative feedback:
This means if you configure an op-amp with a GBWP of 1 MHz for a gain of 100, its bandwidth will be approximately:
If you increase the gain to 1000, the bandwidth drops to 1 kHz.
To understand this concept more deeply, please review the following resource.
Amplifiers and Signal Processing
The document 'Amplifiers and Signal Processing' provides a good explanation of op-amp frequency characteristics.
Please read the sections titled 'FREQUENCY RESPONSE', 'Gain-Bandwidth Product', and 'Closed-Loop Gain' (they follow one another). Focus on the diagrams showing gain roll-off and the example calculation for a closed-loop circuit. This will solidify the trade-off between gain and bandwidth.
This concept is vital. If you need to amplify a 50 Hz ECG signal, an amplifier with a 1 kHz bandwidth is fine. But if you need to amplify a high-frequency surface EMG signal (up to 10 kHz), you must ensure your amplifier has enough bandwidth at the required gain.
Test your understanding!
You are designing the first amplification stage for a wearable EEG sensor. The target EEG signal has a peak amplitude of 50 µV. Your analog-to-digital converter (ADC) has an input range of ±2.5 V. You choose an op-amp with a GBWP of 2 MHz.
- To maximize the signal within the ADC's range, you decide on a target gain of 40,000. Is a single op-amp stage a good idea? What would be its bandwidth?
- Considering input impedance, which configuration (inverting or non-inverting) would be better for connecting to the EEG electrodes?
- If you use the better configuration with a gain of 200, what is the bandwidth of this single stage? How could you achieve the total gain of 40,000?
Show answer
-
A single stage is likely a bad idea. With a gain of 40,000, the bandwidth would be approximately
2 MHz / 40,000 = 50 Hz. While much of the useful EEG signal is below 50 Hz, this leaves no room for higher frequency components (like Gamma waves) and is cutting it very close to the 50/60 Hz power-line noise frequency, which can be problematic for filtering later. -
The non-inverting amplifier is far better due to its extremely high input impedance. This prevents the amplifier from drawing current from the high-impedance skin-electrode interface, ensuring the signal is not attenuated.
-
With a gain of 200, the bandwidth would be
2 MHz / 200 = 10 kHz, which is more than sufficient for any EEG signal. To achieve the total gain of 40,000, you could cascade two non-inverting stages, each with a gain of 200 (since200 * 200 = 40,000). This is a much more robust design.
Conclusion
Today we've refreshed the fundamentals of op-amp analysis, focusing on what matters for medical instrumentation. We've seen how a few simple rules allow us to analyze circuits and make critical design choices.
Key Takeaways:
- Op-amps are controlled using negative feedback to create amplifiers with predictable gain.
- The gain of an inverting amplifier is , and its input impedance is .
- The gain of a non-inverting amplifier is , and its input impedance is ideally infinite, making it ideal for biopotential front-ends.
- An op-amp's performance is limited by its Gain-Bandwidth Product (GBWP), creating a trade-off: higher gain results in lower bandwidth.
Preview of the Next Lesson:
We now know how to build an amplifier with a specific gain. But what about all the noise and artifacts outside our signal's frequency range? In the next lesson, we will combine op-amps with capacitors to design active filters. You'll learn how to build circuits that not only amplify the signal but also selectively pass the frequencies we want while rejecting those we don't.
Can't find a good explanation? Sign up and we'll make it for you
Sign up