In this lab, you will build several basic op-amp circuits to learn about the signal conditioning of sensor signals.
Summary: In this lab, you will build several basic op-amp circuits to learn about the signal conditioning of sensor signals.
In this lab, you will build several basic op-amp circuits to learn about the signal conditioning of sensor signals.
Figliola and Beasley
Analog Signal Conditioning: 211-226 (Sections 6.6-6.8)
In this lab, we will be using several types of electronic components: resistors, capacitors, trim potentiometers, and op-amps.
Resistors come in a wide range of resistances. For op-amp circuits, values in the range of 10 k ohm to 250 k ohm work best. For this lab, we will use primarily 10 k ohm and 100 k ohmresistors and maybe a few others. Resistors are color coded so that with some practice you can decipher resistance values from the color bands on the resistors you are using.
Capacitors also come in a wide range of values and are made using a variety of techniques. The capacitors that we will use for signal conditioning are fairly small and have capacitances measured in Pico farads or microfarads. Some capacitors are polarized and care must be taken to ensure that they are connected to a circuit with the proper orientation.
![]() |
A trim potentiometer is a variable resistor. It has three leads.
The resistance of the trim pot is measured between the wiper and one of the other two leads. A trim-pot is depicted schematically in Figure 1. An adjustment screw moves the wiper along the length of a coil resistor. The resistance between lead 1 and the wiper increases or decreases as the wiper moves further or closer.
The output voltage (Vout ) is related to the input voltages by the following relationship:
![]() |
For this lab, we will use the LM741 op-amp. The LM741 is a very common op-amp package, with one op-amp per integrated circuit (IC). (Many op-amp packages have two or four op-amps per IC.) A schematic representation of the LM 741 is shown in Figure 3. The semi-circular depression on the chip marks the top of the chip and the pins are numbered counterclockwise around the chip. The highest number pin is always opposite pin 1.
LM741 Pinout:
Data sheets for this and other integrated circuits (IC's) can be obtained from the National Semiconductor web site (www.national.com).
![]() |
You will build circuits for this lab using a solderless prototyping board known as a proto-board or breadboard. Breadboards allow us to connect circuits by plugging in components and wires. No soldering is required. A drawing of a breadboard is shown in Figure 4 below. As indicated by the gray lines, horizontal rows of connectors in areas B and C are internally connected. When a chip is plugged into the board as shown, these strips give you four connections to each of the IC pins. The connections in regions A and D are intended as power and ground buses. As indicated by the gray lines, the columns in these regions are tied together vertically.
![]() |
The breadboards are fairly robust; however they are susceptible to damage from wires that are too large. Do not use wires larger than 28 gauge. Components with leads that are too large can damage the breadboard as well.
You will use a Tektronix triple-output power supply. The power supplies should be set up when you come to lab. For your reference, set-up instructions are given below. Perform the following steps before you turn the power supply on.
The power supply has three dc-power outputs; one capable of 0-5 V, and two capable of 0-15 V. To power the electronic components for the lab, we will need a +12 V supply, a –12 V supply, and a ground connection. We will use the two 0-15 V outputs in series and adjust them to output approximately 12 V each.
In this configuration, the negative side of the “B” output is a –12 V source. The positive side of the “A” output becomes the +12 V source. The positive side of the “B” output and the negative side of the “A” output are the ground.
Incorrectly connecting an op-amp to the power supply will destroy the op-amp. Make sure that the op-amp is connected with correct polarity.
Your breadboard is now configured to power the circuits for this lab.
Use the function generator to create a sine wave with the following characteristics:
For such a small signal, the Attenuator button on the function generator must be depressed. This signal will be treated as the output of a sensor. We will condition this "sensor output" with a signal conditioning circuit.
In this lab, we will build on the skills that were developed in Introduction to Benchtop Equipment and Data Acquisition and Temperature Measurement and First-Order Dynamic Response. It is assumed that the student understands the concepts of a Front Panel, a Block Diagram, the Control Palette, and the Functions Palette. It is also assumed that the student can search the control and functions palette for necessary features. The student should be familiar with configuration options for voltage measurements using the DAQ Assistant.
The VI that you developed for Temperature Measurement and First-Order Dynamic Response can be easily modified to examine circuit inputs and outputs.
![]() |
Before building a circuit to condition the signal, you will build a couple of simple op-amp circuits to get a feel for what to do.
The inverter is one of the simplest op-amp circuits. This circuit simply changes the sign of a signal. The schematic diagram of an inverter is shown in Figure 6.
You should see that the output is an inverted version of the input.
![]() |
The inverting gain circuit changes the sign of the signal and multiplies the amplitude. Increasing the amplitude of a signal can be very important in distinguishing subtle signal characteristics. Quantization errors result when a signal characteristic is too small to be detected by a measurement system. (You will learn more about quantization errors in lecture, and on pages 249-250 in your text.)
With the amplification, the input offset of 800 mV has increased to an 8 V output.
Note: Using the data acquisition card to view the signal, you may saturate the ADC with the amplified signal. All you will be able to see is a flat line near +5 V or –5 V.
For the amplified signal to be read correctly, the 800 mV bias must be removed. A two step process will be used to remove the bias:
The result will be an 80 mV sine wave with zero mean.
Use the 10 k ohm trim potentiometer provided to build a voltage divider as shown below.
![]() |
You will build a differential amplification circuit to subtract 800 mV from the sensor signal. A differential amplifier is shown in Figure 8 below.
The resultant signal should be an 800 mV sine wave with minimal offset.
Using the inverting gain circuit shown in Figure 8, amplify the output of the differential amplifier circuit by an additional factor of ten. This can be done with another op-amp and a 10 k ohm resistor and a 30 k ohm resistor. The resultant output signal should have a mean of zero and amplitude of ~2.4 V. Adjust the potentiometer to remove any offset.
![]() |
A low pass filter can be used to attenuate high-frequency noise in an analog signal and to minimize the portion of the signal that will be aliased. Later in this lab, you will see a demonstration of the damaging effects of aliasing.
![]() |
By measuring the magnitude of the input and output of a filter, you can determine the how much the filter attenuates the signal.
![]() |
We expect that the filter will allow frequencies below the cut-off frequency to "pass", and will attenuate signals at higher frequencies. The Magnitude Ratio will be recorded as the output magnitude divided by the input magnitude.
Table 1: Magnitude Ratio Data for First-Order Low-Pass Filter (Active)
| frequency (Hz) | Input magnitude (V) | Output magnitude (V) | Magnitude ratio |
| 10 | 1V | ||
| 18 | 1V | ||
| 32 | 1V | ||
| 58 | 1V | ||
| 110 | 1V | ||
| 190 | 1V | ||
| 340 | 1V | ||
| 620 | 1V | ||
| 1100 | 1V | ||
| 2000 | 1V |
Do the magnitude ratio and phase difference between the input and output behave as you would expect?
Does it correlate with your calculated values based on resistor and capacitor values?
The filter described in step 6.1 is an active filter, meaning it requires an external power source. Since it uses an op-amp, it must have a ±12 V power supply. Active filters can have a static gain greater than one. Active filters also have low output impedance, which means that they can pass up to 10 mA of current without any effects on the operation of the filter.
A passive low-pass filter does not require an external power source. A passive filter can be constructed with simply a resistor and capacitor as shown in Figure 11.
![]() |
Table 2: Magnitude Ratio Data for First-order Low-pass Filter (Passive)
| frequency (Hz) | Input magnitude (V) | Output magnitude (V) | Magnitude ratio |
| 10 | 1V | ||
| 18 | 1V | ||
| 32 | 1V | ||
| 58 | 1V | ||
| 110 | 1V | ||
| 190 | 1V | ||
| 340 | 1V | ||
| 620 | 1V | ||
| 1100 | 1V | ||
| 2000 | 1V |
Figure 12 below shows a second-order Butterworth low-pass filter. A second-order filter is superior to a first-order filter in many respects, as we will investigate.
How is the response of this filter different from that of the first-order filter?
![]() |
Table 3: Magnitude Ratio Data for Second-Order Low-Pass Filter
| frequency (Hz) | Input magnitude (V) | Output magnitude (V) | Magnitude ratio |
| 10 | 1V | ||
| 18 | 1V | ||
| 32 | 1V | ||
| 58 | 1V | ||
| 110 | 1V | ||
| 190 | 1V | ||
| 340 | 1V | ||
| 620 | 1V | ||
| 1100 | 1V | ||
| 2000 | 1V |
Aliasing is a generally undesired phenomenon that results when periodic signals are sampled too slowly. Aliasing causes high frequency periodic signals to be recorded as signals consisting of lower frequencies, as will be apparent in the following steps.
You will cause a signal to be aliased as it is converted from an analog to a digital signal.
Low pass filters are frequently employed to minimize the portion of a signal that is aliased.
Estimate the damping ratio of the second-order Butterworth filter through experimentation. To do this, you will probably need to take more measurements near the expected cut-off frequency of the filter (which is near the natural frequency). Support your result with plots and discussion as necessary.
For this lab, you will write up the Introduction and Objective sections of a full formal report. You will be provided handouts with further instruction regarding what is expected.
"This course is the lab portion of ME 363, an instrumentation class in the Mechanical Engineering Department at Brigham Young University. This course covers the use of oscilloscopes, function […]"