0% found this document useful (0 votes)
49 views22 pages

RC Circuit Frequency and Time Response

The document discusses RC circuits and their frequency and time domain responses. It describes building low-pass, high-pass, and band-pass RC filter circuits and analyzing their behavior in the frequency and time domains using equations, MATLAB simulations, and laboratory measurements with multisim and equipment. The key findings are that RC filters allow only certain frequency bands to pass and have distinct step responses depending on whether it is a high-pass or low-pass filter.

Uploaded by

Mehedi Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views22 pages

RC Circuit Frequency and Time Response

The document discusses RC circuits and their frequency and time domain responses. It describes building low-pass, high-pass, and band-pass RC filter circuits and analyzing their behavior in the frequency and time domains using equations, MATLAB simulations, and laboratory measurements with multisim and equipment. The key findings are that RC filters allow only certain frequency bands to pass and have distinct step responses depending on whether it is a high-pass or low-pass filter.

Uploaded by

Mehedi Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1

Experiment #5
RC Circuit Frequency and Time Response
2

Table of Contents
Purpose 3
Introduction 3-5
Equipment 5
Pre-lab (Frequency Domain Response) 6-7
Pre-lab (Time Domain Response) 7-8
Laboratory Simulation 9-13
Frequency Domain Response 9-10
Time Domain Response 11-13
Laboratory Measurements 14-16
Frequency Domain Response 14-15
Time Domain Response 16
Post Lab 16-21
Frequency Domain Response 16-17
Time Domain Response 18-21
Conclusion 21
References 22

Purpose
3

The purpose of this experiment is to be introduced to simple elementary concepts of circuit

response in the frequency and time domain.

Introduction
The frequency and time response of circuits in an extremely important concept in filter design,

feedback, communications etc. In this lab, simple RC series circuits and their behaviors are

observed while they are excited by an AC signal. However, this time, it is the gain of the circuit

throughout various elements which is studied and compared, accordingly. For the simple RC

circuit, the effects of alterations in different elements of the circuit such as frequency, input

amplitude, resistor value and capacitor value are looked at. Additionally, gains across the

capacitor or the resistor are observed and given the voltage division across different elements,

differing results are expected.

Two RC circuits were used in this experiment. They contain almost the same construction and

components, Just the output is measured across a different component each time.

For the low pass filter, the resistor and capacitor is connected in series, the input is a AC signal

generated by the signal generator. The output voltage will be measured across the capacitor.

Figure 1: Low-pass filter circuit


4

Then the second circuit which is called a high pass filter, is also contained with a resistor (Same

value as low pass filter) and capacitor (same value as the low pass filter) which are connected in

series. The input is as always an AC signal generated by signal generator. This time the output

will be measured across the resistor.

Figure 2: High-pass filter circuit

Also, a band pass filter was developed later on. A band pass filter passes a range of frequencies

from low to high. The band pass filter can be implemented by connecting together a high pass

and a low pass filter.

High pass Low pass out


in
filter filter

Figure 3: diagram for the construction of band pass filter

The circuit was constructed using a pair of resistors and a pair of capacitors. The input was an

AC signal as before.
5

Figure 4: Band-pass filter circuit

Equipment

 Power supply
 DMM (Digital Multi Meter)
 Resistors (1.5k, 1.5k, 3.3k, 3.3k)
 Capacitor (0.1µF, 0.001µF)
 MATLAB
 LabVIEW
 Multisim
 Protoboard
 Signal Generator
 Oscilloscope
6

Pre-Lab (Frequency Domain Response)

In this section, for the low-pass and high-pass filter circuits two equations were constructed.

These two equations give the magnitude of gain for the respective set-up.

For low pass filter circuit:

1
Gaⅈn=
√ ( 2 πRfc ) + 1
2

For High pass circuit:

2 πfcR
Gaⅈn=
√ ( 2 πRfc ) + 1
2

Then using MATLAB, the magnitude of the gain vs frequency for both circuits was plotted on

the same graph. The ‘loglog’ feature was used to generate the graph.

Figure 5: Gain vs frequency graph for low and high pass filter
7

The ‘X’ axis contains frequency, and the ‘Y’ axis contains the magnitude of the gain.

Pre-Lab (Time Domain Response)

This time, two different equations were constructed/given to calculate the output for both low-

pass and high-pass filter circuits.

For low-pass filter circuit:

v Out =v ¿ ( 1−ⅇ−(t ∕ RC ) )

For high-pass filter circuit:

v 0ut =v¿ ( ⅇ−(t ∕ Rc ))

Now, these two equations were plotted into MATLAB to a 1-volt step input on the same plot.

The ‘X’ axis will contain the time (t = 0 to t = 6RC) and the ‘Y’ axis will contain the output

voltage.
8

Figure 6: Output of low pass and high pass filter circuits to a step input

In the graph, the figure-1 refers to low pass filter circuit and figure-2 refers to high pass filter

circuit.
9

Laboratory Simulation

Frequency Domain Response

Using Multisim, the band-pass filter circuit was constructed. Then an AC analysis was performed

on the circuit and the output was captured.

Figure 8: Multisim simulation for the gain and phase of the band-pass filter circuit.

Figure 9: Band-pass filter circuit


10

Now the Multisim simulation data was saved into an ASCII file and it was plotted on a loglog

scale. The frequency limit was 10 < f < 10MEG.

Figure 10: Gain vs Frequency graph for band-pass filter

From the graph, a clear picture of what a band-pass filter does is portrayed. It combines the

features of a high and low pass filter to create a “band” pass filter that allows the gain of the

circuit to be near 1 for a certain “band” of frequencies. For our circuit, those frequencies lie

between 103 and 104 Hz.


11

Time Domain Response

Now using Multisim a transient analysis was applied to both high-pass and low-pass filters.

The analysis was applied to both circuits under some conditions. The circuit had a input signal
with specific pulse period.

Figure 11: Low pass filter circuit for transient analysis

For Figure 1 (Low-pass filter circuit):

i) Pulse period = 12RC

End Time = 5ms

Figure 12: Multisim output for low pass filter transient analysis (pulse period 12RC)
12

ii) Pulse Period = 4RC

End time = 5ms

Figure 13: Multisim output for low pass filter transient analysis (pulse period 4RC)

The same steps were repeated for the high-pas filter circuit.

Figure 14: High pass filter circuit for transient analysis


13

For figure 2 (High-pass filter circuit):

i) Pulse Period = 12RC

End time = 5ms

Figure 15: Multisim output for high pass filter transient analysis (pulse period 12RC)

ii) Pulse period = (2/3)RC ; End time = 1ms

Figure 16: Multisim output for high-pass filter transient analysis-pulse period (2/3)RC
14

Laboratory Measurements

Frequency Domain Response

1. The RC low-pass filter circuit was constructed on the protoboard. The function generator

was set to 10Vp-p sinusoidal waveform with variable frequency. The Vin was measured in

channel 1 and the Vout was measured in channel 2 by the oscilloscope.

2. Then the gain was measured with some sample frequencies just to verify the correctness

of the setup.

3. Then the function generator was swept over the range 50 < f < 2 Meg on a scale of 40 pts

by using the custom VI, “Frequency Response”. The VI records the gain directly using

the oscilloscope gain measurement mode.

Figure 17: Frequency response sweep for low-pass filter circuit


15

4. The high-pass circuit was also constructed and the above steps were repeated for it as

well.

Figure 18: Frequency response sweep for high-pass filter circuit

5. The bandpass circuit was also constructed, and the above steps were repeated.

Figure 19: Frequency response sweep for band-pass filter circuit


16

Time Domain Response

The following steps were followed for both low-pass and high-pass filter circuits.

1. The function generator was set to give a square pulse train such that VL = 0V, VH = 1V.

The Vout was measured on channel 1 and the Vin in channel 2.

2. The LabVIEW VI “Save Oscilloscope Data: time, ch1, ch2” was used to save both the

output and waveforms as ASCII files.

Post Lab

Frequency Domain Response

At this stage we were asked to create multiple graphs using the data collected during the

calculation (pre-lab), simulation and laboratory phases. The first graph includes the measured

and calculated values of the gain for the low pass filter. The figure below shows this graph.

Figure 20: Gain comparison for low pass filter(Measured and calculated)
17

Now for the high pass filter:

Figure 21: Gain comparison for high pass filter(Measured and calculated)

Now comparing the results for band-pass filter:

Figure 22: Gain comparison for band pass filter(Measured and simulated)
18

Time Domain Response

Then the next step is to compare all of the measured, calculated, and simulated data for the

low and high-pass filters. For convenience, all of them have been graphed on the same plot in

different subplots.

Figure 23: Measured Output and Simulated Output for Low Pass Filter (Settings: Pulse

Period = 12RC, End Time = 5 mS)


19

Figure 24: Measured Output and Simulated Output for Low Pass Filter (Settings: Pulse

Period = 4RC, End Time = 5 mS)

Figure 25: Measured Output and Simulated Output for High Pass Filter (Settings: Pulse

Period = 12RC, End Time = 5 mS)


20

Figure 26: Measured Output and Simulated Output for High Pass Filter (Settings: Pulse

Period = (2/3)RC, End Time = 1 mS)

a. For every single one of these graphs, it is seen that they are nearly identical for both

measured and calculated. The only real difference seen is in the last graph where the

Pulse Period was set to 2RC/3. Here, the simulated output starts at 1V but rests at just

above 0.5V later on. However, for the measured values, we they rest at just above 0.5V

all throughout. This is because the simulated output is measuring from time = 0 where the

voltage is read as the total voltage input. Since the circuit doesn’t have enough time to

totally charge or discharge, there is a cutoff voltage that the circuit cannot surpass in

either the positive or negative direction.

b. In terms of the rise and fall times of the circuits, from our measured values it is obvious

that from a max of 1V to a min of 0V, a time of just about 2.4*10-7 s is given, an
21

extremely small amount of time for the input parameter to make such a jump. This does,

however, give a pretty good reading for the output when graphed.

c. The given equation:

v 0ut =v¿ ( ⅇ−(t ∕ Rc ))

Solving the equation for RC and we get:

RC = -t / ln(Vout / Vin)

Now putting sample values from the dataset,

RC = (-7.48 * 10-5 s) / ln (0.6 V / 1.0 V)

= 1.4643 * 10-4 s

This is the actual value of RC.

Conclusion

What we could gather from this lab is for the most part, the analysis of time domain

responses and frequency domain responses of different circuits. Whether it was through

Multisim or LabVIEW, our values came very close to each other with errors that were very

small (many of them being less than 1%). As it is apparent from the analysis section, the

measured values within the experiment, for the most part, coincide with the calculated ones,

most especially when there were dealings with time domain responses.
22

References

1. MATLAB tutorial (Located in the manual)

2. Instrument manuals (Located on the lab computers)

3. Multisim Tutorial (Located on the lab computers)

4. LabVIEW (Located on the lab computers)

Common questions

Powered by AI

Setting different pulse periods in transient analysis can significantly affect the observed output for low-pass versus high-pass RC circuits. In a low-pass filter, longer pulse periods allow the circuit to reach its steady state, demonstrating the filter's ability to pass low-frequency signals, while shorter pulse periods might result in incomplete charge cycles. In contrast, a high-pass filter responds best to shorter pulse periods, allowing high-frequency components to pass. The differences in transient behavior underscore each filter's role in shaping the signal in its respective frequency range .

The equivalent RC time constant is determined through observations of charge or discharge cycles and involves using the exponential decay or charging equations. By monitoring the voltage across the capacitor over time, the time constant can be calculated using the formula RC = -t / ln(Vout / Vin), where 't' is the time elapsed, 'Vout' is the voltage across the component at time 't', and 'Vin' is the initial voltage. Experimental data often requires adjustments based on precise timing and corrected starting voltage conditions .

Upon receiving a step input signal, a low-pass filter smoothens the transition, gradually approaching the final steady-state value, as it is designed to pass low-frequency components and attenuate higher frequencies. Conversely, a high-pass filter sharply reacts to the sudden change, allowing the signal's rapid variations to pass while blocking steady levels, effectively producing a spike before stabilizing at baseline. This differential behavior underscores each filter's functionality in selective frequency attenuation .

A band-pass filter integrates the characteristics of both low-pass and high-pass filters by allowing a range of frequencies to pass while attenuating frequencies outside this range. This is accomplished by connecting a high-pass and a low-pass filter in series. This integration is significant as it allows the circuit to isolate and amplify signals within a specific frequency range, which is crucial for applications in communications and signal processing, where only a particular band of frequencies is of interest .

Simulation tools like MATLAB or Multisim are essential as they allow for preliminary verification of circuit designs, enabling the identification of potential issues and optimization of parameters before physical implementation. These tools provide a risk-free environment to observe theoretical outcomes, helping in the validation of models and identifying errors in initial calculations. Additionally, simulations can help streamline the development process, reducing resource expenditure and minimizing setup errors .

Comparing measured, calculated, and simulated outputs is important to validate the accuracy and reliability of the circuit models and confirm that the experimental setup behaves as expected. This process helps identify any discrepancies that may arise due to measurement errors, component tolerances, or simulation assumptions. It ensures that theoretical models are accurately predicting real-world behavior and provides confidence in the use of simulations for further design and analysis .

Measurement precision and component tolerances critically influence the accuracy of RC circuit experiments. High precision instruments reduce random errors, while accurate component values minimize systematic deviations. Tolerances in resistor and capacitor values can result in variations in observed gains and time constants compared to theoretical predictions. Understanding these impacts is crucial to quantify uncertainties and improve experimental methodologies, reducing error margins in precision-critical applications .

A loglog plot is used for gain versus frequency analysis to efficiently visualize the linear characteristics of RC filters over a wide range of frequencies. This type of plot allows for easy identification of slope changes which indicate different regions of operation (e.g., pass band, stop band) and highlights asymptotic behavior that might not be evident on a linear scale. It also aids in better interpretation of relationships like the −20 dB/decade roll-off typical in single-pole filters .

In an RC low-pass filter circuit, the factors influencing the circuit's gain are the frequency of the input signal, the resistor value, and the capacitor value. Altering these factors affects the output voltages as follows: increasing the frequency decreases the gain, while a higher resistor or capacitor value increases the gain. This is because gain in a low-pass filter is inversely related to the angular frequency and directly related to the impedance of the reactive components .

Transient analysis of an RC circuit examines how the circuit responds to changes over time, particularly to step inputs. This provides insight into the rise time, fall time, and oscillatory behavior as the circuit transitions from one steady state to another. Critical considerations include the time constant (RC value), which dictates the speed of the transient response, and the nonlinear effects observed when rapid signal changes occur. Accurate measurements during transient events help understand the timing characteristics crucial for dynamic signal processing .

You might also like