Professional Documents
Culture Documents
Objectives
The objective of this lab is to evaluate the time-constant for the first order system by
observing the transient response of an RC circuit on a breadboard, using a square wave. In this
experiment voltage follower are used to buffer both the input sign coming from the function
generator and voltage output of the RC circuit. The two signals are also used to light LEDs on
the breadboard.
Background
A measure how long transient current last in a given circuit is referred to as time
constant. For RC circuit, the time taken for the transient current to decay depends on the
resistance, R and Capacitance, C. In this case the resistor resists the flow of current, thus slows
FIRST ORDER RC CIRCUITS 2
down the decay. Capacitor, on the other hand, hold charge; thus a capacitor with a large capacity
will take longer to empty than a smaller capacitor (Joglekar & Wolf, 2009). Therefore, the time
constant of the RC circuits gets larger for higher values of resistance and capacitance.
given by
Where;
Figure 2: : Capacitor charging for Series RC circuit to a step input with time axis
normalized by τ
The discharge voltage for the capacitor is given by:
Vc(t)= Vo e-t/RC
Where Vo is the initial voltage stored in capacitor at t=0, and RC=t is the time constant. The
The time taken for the capacitive voltage to be 0.63Vo (of the supply voltage) or the time
take for the capacitance voltage 0.37Vc (the initial voltage stored in a capacitor) is referred to as
time constant (Dorf &Svoboda 2010). RC circuits are used as filters in frequency domain and
timing circuits in the time domain. Any electronic circuits use one of these fundamental circuits
in their operations. Such uses include delay lines, noise removers, signal coupling in amplifiers,
Experiment
FIRST ORDER RC CIRCUITS 4
In this experiment, RC circuit was constructed using the laboratory station breadboard.
In order to prevent loading of the circuit, load followers were used to buffer the input and output
signals. Moreover, the load followers were used to simultaneously drive LEDs such that the
students were able to visually interpret the input and output signals. Four LEDs were used in this
experiment. The middle two LEDs were used to indicate the status of the input signal. One was
fully on when the input signal was +5V and the other was fully open when the input signal was -
5V. The outer LEDs indicated the output signal, with one lighting during the negative output
voltage and the other during the positive output voltages. The schematic diagram illustrating the
The measured resistances and the capacitance of the resistor and capacitor were measured
as 235Kohms and 0.101, 0.1, 0.10 microfarads respectively using the DMM. In order to test he
functionality of the circuit, a +5V rails signal was connect to a non-inverting input of the op-
amp. The two LEDs went on, therefore, the learners we good to proceed with the experiment.
The wave function generator was used to generate a 2.5Hz square wave with amplitude of +-5V.
This square wave was applied to the input of the circuit. As the square wave went positive, the
positive LED of the input and the positive LED output signals became brighter with the latter
LED becoming brighter than the input signal. As the square wave went negative, there were a
FIRST ORDER RC CIRCUITS 5
change of current flow and the negative LEDs of the input and the output signal li and became
brighter. However, the output signal became brighter at a faster rate than the input signal. The
The circuit was then modified by adding a second 0.1μF capacitor in parallel with the
first one while maintaining the 2.5Hz square wave. The LEDs behaved the same way as with the
previous circuit, only that this time the LEDs took a longer response time(double the previous) to
turn on and off between the two pairs. Another 0.1μF capacitor was added in parallel with the
previous two. The LEDs behaved the same way only that the response time was longer than the
previous two.
Results
The experimental time constants, τ, for each set of the first order RC systems are
determined from the plot of input and output signals against response time as shown in the
appendix. The theoretical time constants for each RC system are determined from the measured
resistance and capacitance values (see the appendix for the sample calculation). Since the values
used in the theoretical computation are measured, there is uncertainty in the theoretical values for
the time constant. Thus, the standard instrument data is used to compute for uncertainty as show
in the appendix. Still, there is also uncertainty in the experimental values for the time constant
due to the inexact knowledge of when the step input occurs and when the RC output values
equals the theoretical prediction. The uncertainties for both the theoretical and experimental
values are calculated as 0.0234% and 2.17% respectively. The two time constants do not overlap
since there are more errors in the experimental results than in theoretical calculations
FIRST ORDER RC CIRCUITS 6
The color which the LED displays depends on the direction of the current flowing
through it. The brightness of the LED depends on how much current is flowing through it (Bi
et.al, 1999). The LED grows brighter for the higher currents. The output LEDs turn on a little bit
faster than the input LEDs because the discharge rate of the capacitor is higher compared to
changing the capacitor. This is also illustrated by the steeper curve of the output plot, (See
appendix), at the beginning. The curve is steeper at the beginning but tapers off as the capacitor
loses charge.
Conclusion
From the experiment, it is clear that the response time of an RC circuit increases with
increase in the capacitance. As more capacitors are added in the circuit, while the input signal
remains constant, more time is required to charge the extra capacitor. Consequently, the
capacitors will take longer to discharge. The LEDs switches on and off with the change in
direction of flow of the current. During the charging the current flows in clockwise and the left
two becomes on. During discharging (Output), the direction of current flow changes and the right
LEDs turns on and grows brighter. Overall, the experiment was successful and the students were
able to evaluate the time-constant for the first order system by observing the transient response
References
Bi, Q., Cai, W. J., Lee, E. L., Wang, Q. G., Hang, C. C., & Zhang, Y. (1999). Robust
Dorf, R. C., & Svoboda, J. A. (2010). Introduction to electric circuits. John Wiley & Sons.
Joglekar, Y. N., & Wolf, S. J. (2009). The elusive memristor: Properties of basic electrical
Appendixes
FIRST ORDER RC CIRCUITS 9
FIRST ORDER RC CIRCUITS 10
Positive Inputs and Outputs for 235K ohms and 0.1 microfarads RC circuit
t(seconds) C1(Input) C2(Output)
0 0 4.995
4
Input/Output in Voltage
C1(Input)
3
C2(Output)
2
τ(experimental)
1
0
0 0.02 0.04 0.06 0.08 0.1
Time in seconds
FIRST ORDER RC CIRCUITS 11
Positive Input and Outputs for 235K ohms and 0.2 microfarads RC circuit
5
τ (Experimental)
4
3
C1(Input)
2 C2(Output)
0
-0.05 0 0.05 0.1 0.15 0.2
-1
Time in seconds
FIRST ORDER RC CIRCUITS 12
Positive Inputs and Outputs for 235K ohms and 0.3 microfarads RC circuits
5 τ (Experimental)
Input/Output in Vlotage
3
C1(Input)
C2(Output)
2
0
-2 0 2 4 6 8
-1
Time in Seconds
FIRST ORDER RC CIRCUITS 13
Part II
Evaluation of Bandwidth for First order System by Observing the Steady State Response
Objective
The purpose of the second part of the lab is to evaluate the bandwidth of a first order
system under different frequencies by observing the steady state response. Sine signals are used
to drive the RC circuit constructed in part I. Input and output signals are recorded, which are
used to determine the signals’ magnitude and the corresponding phase shifts between the two
signals.
Background
If the input wave form of an RC circuit is a sinusoidal wave voltage signal, the resultant
output RC waveform remains unchanged, and only its amplitude is affected. A first order RC
circuit can either be a low pass or a high pass filter depending on the input frequency value. In
low pass filters, low frequency signals are passed from the input to the output with little to no
attenuation, while high-frequency signals are attenuated significantly to almost zero. The
opposite is true for a high pass filter circuit. A low pass filter refers to either a combination of
frequency and little to no attenuation below that frequency. The frequency at which the transition
occurs is referred to as “cut-off” frequency. This type of filter is also referred to as first order
FIRST ORDER RC CIRCUITS 14
filter. Normally, the point at which a response falls by 3dB (cut off frequency fc), is used to
define the filters bandwidth and a loss of 3dB corresponds to reductions in input voltage to 70.7
At low frequency, the capacitive reactance will be very large compared to the resistive values of
the resistor, R. This means that the voltage potential, Vout across the capacitor will be much
larger than the voltage drop, Vin across the resistor. At high frequency signals, the reactance of
the capacitor becomes so low that it gives the effects of a short circuit on to the output terminals
circuit to be nearly flat for low frequencies and all of the input signals passed directly to the
output, resulting in a gain of nearly 1, until it reaches its cut-off frequency point(fc). This is
because; the reactance of the capacitor is already high and blocks any current flow through the
capacitor (Simpson & Sayler, 2003). After the cut-off frequency point, the response of the circuit
decreases to zero at a slope of -20dB/Decade. Thus, by carefully selecting the correct resistor-
capacitor combination, one can create a RC circuit that allows a range of frequencies below
certain values to pass through the circuit unaffected while any frequencies above this threshold
attenuated.
Experiment
In this part, the system was put back to the original configuration of 235K ohms resistor
and 0.1microFarads capacitor. The function generator output was set to 0.05Hz sine wave with
5V amplitude (10V peak to peak.). The zero mean was checked using the oscilloscope. Using the
waveform, multiple full periods of the input and output signals were recorded. The sampling was
FIRST ORDER RC CIRCUITS 16
made a sufficiently high to facilitate good estimation of the two signals’ magnitudes, as well as
anytime delay between the two signals. The time delay was used to estimate the phase difference
The lighting behaved the same as in part I where the left two LEDs could light first while
the right two light interchangeably. However, there was dead-band (delay in lighting in between)
because the signals had to rise from 0 to either negative or positive 0.7 first, before the LED
could turn on. The frequency of the signal generator was then increase to 0.1Hz and the above
process repeated. Frequencies of were thereof changed as who in the table on the results section.
Results
From the plot of linear gain against linear frequency and the plot of phase angle and
linear frequency, the bandwidth and the cut-off frequency of the RC circuit are found to be
between 0.05Hz and 7Hz and the 7Hz respectively. Just like in part I, the four LED lights
interchangeably with the left two LEDs lighting first, and the other two following. Additionally,
there is a dead-band in between, since both the input and output signals need to rise to either
positive or negative 0.7V before the lights switch on. Also, the LED grows brighter with increase
in the amplitude of the signals. The theoretical cut-off is calculated as 6.77Hz and is shown in
the appendix.
Conclusion
From the experiment, the bandwidth and the cut-off frequency seems to agree. The small error
could have resulted to due to inaccuracies in recording the output signal and time. However,
learners are able to evaluate of bandwidth for the first order system by observing the steady state
response
References
Simpson, M. L., Cox, C. D., & Sayler, G. S. (2003). Frequency domain analysis of noise in
4551-4556
FIRST ORDER RC CIRCUITS 18
Appendices
FIRST ORDER RC CIRCUITS 19
1.2
1
Bandwidth 0.05Hz-7Hz
0.8
Linear Gain
0.6
0.4
0.2
0
-50 0 50 100 150 200 250 300
Linear Frequency (Hz)
0
-50 0 50 100 150 200 250 300
-20
Phase, ∅(degrees)
-40
Cutoff frequency 7 Hz
-60
-80
-100
-120
Linea Frequency(Hz)
FIRST ORDER RC CIRCUITS 20
0
0.01 0.1 1 10 100 1000
-5
-10
-15
Gain (dB)
Gain in
-20
-25
-30
-35
-40
Frequency , Hz( Logarithmic Scale)
20
0
0.01 0.1 1 10 100 1000
-20
Phase angle in degrees
-40
Series1
-60
-80
-100
-120
frequency, Hz (Logarithmic)
FIRST ORDER RC CIRCUITS 21