Experiment 6: The Oscillator Circuit: Laboratory Outline
Experiment 6: The Oscillator Circuit: Laboratory Outline
Laboratory Outline:
Now that we have conquered basic use of the oscilloscope and function generator, we’ll build and analyze a time-varying circuit Section AB/BB:
that oscillates periodically. While analyzing this oscillator, we’ll employ methods that are necessary for analyzing any periodic
voltages. 0 1 2 3 4 5 6 7
8 9 A B C D E F
Learning Objectives
(circle one)
Control the input/output voltage response of an inverter to understand its functionality.
Use the inverter, a capacitor, and a feedback resistor to create a square-wave oscillator.
Measure the frequency, amplitude, and offset of the square-wave using the oscilloscope.
Validate the formula for frequency using the measurement.
Use the flex sensor to create an oscillator with a frequency controlled by the user.
Explore More! The Relaxation Oscillator is highly recommended as a follow-up to this lab!
Notes:
Build the circuit shown in Figure 2 but do not connect to the power supply yet.
Connect cables to the + and – terminal of the power supply to the breadboard and turn the power supply OUTPUT ON.
Using wire 1, connect pin 1 of the HEF40106B chip to 5 V. This pin the input of the inverter. Using the
DMM measure the voltage at the output of the inverter (relative to ground) and record the value and record it
Notes:
here.
Hint: Use the datasheet if you aren’t sure which pin is the output of the inverter.
Disconnect pin 1 from 5 V and connect it 0 V and measure the voltage at the output. Record it here.
A binary digital circuit is one that uses only two voltage values at any point in the circuit. For the purposes of this lab course,
we’ll only use binary digital circuits that use either 5 V or 0 V (sometimes 3.3 V is used instead of 5 V but we won’t deal with this
is ECE 110 Lab). These voltages are then used to represent logical values of TRUE (5 V) and FALSE (0 V).
The triangle with a circle on one vertex is the common symbol for inverter and the two parallel
plates represent a capacitor of 1 microFarad. Label the nodes that correspond to pin 1 and pin 2 of the IC on the
schematic below.
Probe the voltage across nodes A and C with the oscilloscope and plot the resulting square wave on the
graph paper provided (or MATLAB).
Notes:
What are the period, frequency, amplitude, and duty cycle of the signal?
It should now be apparent that the DMM is not capable of capturing all of the circuit’s behavior. In future labs we’ll explore this
circuit further and see how we can modify this circuit’s behavior.
1
The oscillating frequency of our oscillator is determined by the equation 𝑓 ≈ 0.55𝑅𝐶 𝐻𝑧, where 𝑅 is the
resistance in Ohms and 𝐶 is the capacitance in Farads. Using the resistors and capacitors available, try to modify
your oscillator to have a frequency as close to 500 Hz as possible. What choice of R and C did you use? Plot your
signal (in MATLAB if available).
Replace the 10 𝑘Ω resistor with the flex sensor from your SparkFun kit. What are the minimum and
maximum frequencies that the oscillator can now produce?
Notes:
Conclusion
The ECE 110 Lab is focused on learning to use sensors and actuators. Last week, we learned how to incorporate a resistive
sensor (the flex sensor) into a voltage divider circuit. This week, got a chance to incorporate the flex sensor into the oscillator
circuit. As the semester progresses and we learn how to use additional circuit elements, we’ll refine this circuit to employ the
flex sensor in a more useful way and we’ll build a car that uses this circuit to automatically navigate between walls. As always,
we continue to learn more about the toolbox of the practicing electronics engineer!
Discuss why the oscilloscope is critical to the measurements made in this lab. What information was
gathered that the DMM could not (easily) obtain?
Explore More!
At the end of each regular lab procedure, as time permits, you will be provided with materials to continue to improve your
mastery of the materials. There are many suggested modules (many options) for this week including Explore More! The
Relaxation Oscillator, Explore More! Build Motor Drive Circuit, Explore More! Using Arduino Digital Outputs, and Explore
More! Analog Inputs. You are to work on these as long as time permits. The modules will be submitted to your TA when finished
and a number of them will count in your final grade.
Notes: