100% found this document useful (1 vote)
279 views8 pages

RLC Circuit Response Simulation Lab

This document summarizes a lab experiment using PSpice simulation software to investigate the response of an RLC circuit to different excitations: (1) The frequency response to a sinusoidal excitation is analyzed by simulating an RLC circuit and obtaining plots of current magnitude and phase vs. frequency. (2) The time domain response to a step excitation is also simulated for underdamped, critically damped, and overdamped cases. (3) Procedures are provided to set up and run the PSpice simulations, obtain plots of the circuit response, and use cursors to measure resonant frequency and bandwidth.

Uploaded by

Rudra Mishra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
279 views8 pages

RLC Circuit Response Simulation Lab

This document summarizes a lab experiment using PSpice simulation software to investigate the response of an RLC circuit to different excitations: (1) The frequency response to a sinusoidal excitation is analyzed by simulating an RLC circuit and obtaining plots of current magnitude and phase vs. frequency. (2) The time domain response to a step excitation is also simulated for underdamped, critically damped, and overdamped cases. (3) Procedures are provided to set up and run the PSpice simulations, obtain plots of the circuit response, and use cursors to measure resonant frequency and bandwidth.

Uploaded by

Rudra Mishra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Frequency and Time Domain Response Analysis
  • Computer Simulation of RLC Circuit Response
  • Overdamped, Critically Damped, and Underdamped Responses
  • Experimental Procedure
  • PSpice Simulation Instructions
  • Circuit Configuration Diagram

2011-11-30LabManualLab5.

doc

LAB 5: Computer Simulation of RLC Circuit Response using PSpice


PURPOSE
To use a computer simulation program (PSpice) to investigate the response of an RLC series circuit to: (a) a sinusoidal excitation. (b) a step excitation under conditions of underdamping, critical damping and overdamping.

EQUIPMENT
(i) (ii) Student computer network station. OrCad Capture PSpice circuit simulation software.

This lab is to be done individually unless equipment shortages require otherwise.

BACKGROUND Part 1. Frequency Domain Response of RLC Circuit to Sinusoidal Excitation


Figure 1 shows a series RLC circuit driven by an ideal voltage source, VS.

Figure 1. Series RLC circuit. The loop current I is given by:

I=

VS R + j L + 1 j C

VS R + jX

(1)

where:

X =L
The magnitude of the current phasor is:

1 C

(2)

ELEC 2501 Lab 5 Page 1 of 8

[Link]

I =

VS R +X2
2

(3)

The current has a maximum value when X = 0, which occurs when:

L=

1 or = 0 = C

1 LC

(4)

This phenomenon is called resonance. At the resonant frequency value:

0, the magnitude of current takes the


(5)

I = I

MAX

VS R

and the voltage across the reactance X, i.e. the voltage across the combined impedance of L and C in series, is zero. For frequencies higher or lower than 0, the current is reduced below its peak value. At the resonant frequency, the voltage across the capacitor is:

VC = I
From (4) and (5):

1
MAX

j 0 C

(6)

VC = VS
We define the ratio:

L 1 = VS 0 0 CR R

(7)

VC VS

VL VS

=Q

(8)

where Q is the quality factor of a series RLC circuit, and is given by:

Q=

L 1 = 0 0 CR R

(9)

If R is small, Q can be greater than unity, i.e. voltages appearing across C and L are larger than the applied voltage, VS. This represents a voltage magnification equal to Q.

Part 2. Time Domain Response of RLC Circuit to Step Excitation


The theory of the RLC circuit behavior when excited by a step voltage is beyond the scope of this course. However, we present here a brief description required to complete the laboratory assignment. The application of KVL around the loop of the RLC circuit shown in Figure 1 gives:

iR +
for zero initial conditions.

1 di idt + L = v S (t ) C0 dt

(10)

ELEC 2501 Lab 5 Page 2 of 8

[Link]

When differentiated with respect to time, we get:

dv d 2i di 1 +R + i= S 2 dt C dt dt

(11)

This is a second-order linear differential equation. The solution of this equation describes the response of the circuit. Recall that the response of the RC and RL series circuits to a voltage step yielded a first-order linear differential equation, whose solution was of the form:

v(t ) = K 1 + K 2 e

(12)

where K1 and K2 are constants. Using intuition, the response of the RLC circuit must be of the form:

v(t ) = K 0 + K 1 e s1t + K 2 e s2t


where K0, K1 and K2 are constants, and s1 and s2 are called the natural frequencies of the circuit. The actual response of the circuit depends on the relation between and the nature of three possible cases that must be considered: Case 1: s1 and s2 are both real and unequal. In this case, the solution is given by:

(13)

s1 and s2. There are

v(t ) = K 0 + K 1 e

+ K 2e

(14)

This indicates that the response of the RLC circuit is the sum of two decaying exponentials. The circuit is said to be overdamped. Case 2: s1 and s2 are complex conjugates of each other. In this case, the solution is given by:

v(t ) = K 0 + K 1e ( j ) t + K 2 e ( + j )t = K 0 + e t ( K 1e j t + K 2 e j t )

(15) (16)

The response is an exponentially damped sinusoid. The circuit is said to be underdamped, and its behavior is described as ringing. Case 3: s1 and s2 are both real and equal. In this case, the solution is given by:

v(t ) = K 0 + K 3e

( A1 + A2t )

(17)

The response is similar to Case 1, but it reaches its peak earlier and also decays faster. The circuit is said to be critically damped. The three possible responses are shown in Figure 2. The RLC circuit is excited by a step input voltage, and the output voltage is measured across the capacitor.

ELEC 2501 Lab 5 Page 3 of 8

[Link]

Figure 2. Comparison of overdamped, critically damped and underdamped responses.

PRELAB
1. (_/0.5) Calculate the values of L (from Part 1, step 1.3), R1 (from Part 2, step 2.2), and R3 (from Part 2, step 2.2) to five significant digits. Recall xxx represents the last three digits of your student number. (_/0.5) Calculate the resonant frequency 0 for the circuit given in Figure 1 using the component values as given in Part 1, step 1.3. Also convert the resonant frequency into Hertz for f0. (_/0.5) Calculate the value of the quality factor Q for the circuit given in Figure 1 using the component values as given in Part 1, step 1.3. (_/0.5) Draw a phasor diagram of the circuit in Figure 1 at resonance using the component values as given in Part 1, step 1.3.

2.

3.

4.

PROCEDURE
This lab is meant to be an introduction to circuit simulation using PSpice. The PSpice graphical user interface is intuitive, and follows the standard menus that are common to many Windows applications. The lab manual does not give you every single step required to complete the exercises. However, you are given enough time to explore, learn and experiment with the different options and settings of the PSpice simulator. Use the following resources to help you with PSpice since the version available for your use changes from time to time: [Link] PSpice help menu and web tutorials.

Part 1. Frequency Domain Response of RLC Circuit to Sinusoidal Excitation


1.1 For your first time on a particular workstation: Open Cadence Click Next, select accept terms, click Next, click Install, click Finish.
ELEC 2501 Lab 5 Page 4 of 8

Release 16.5

Configure.

[Link]

Open Cadence Release 16.5 OrCAD Capture CIS Demo. The first time it is opened select Allegro PCB Librarian XL and click OK. Create a new project with the following parameters: Include your name in the project name (this will enable you to distinguish your printouts from others). Choose Analog or Mixed A/D option in the project dialogue box. Select the H: drive to store your design Choose Create a blank project in the Create PSpice Project dialogue box.

1.2

In the Schematic window that opens up, note the icons located on the right: Place part add a circuit component (C capacitor, R resistor, L inductor, etc.). When choosing this icon for the first time, press Add Library icon (or alt-A) and add the ANALOG and SOURCE libraries. To change the value of a component, double click on the displayed value. 9 6 3 The values of the elements can be specified using scaling factors (n 10 , u 10 , m 10 , k 3 6 10 , meg 10 etc.). Add wire add an interconnecting wire between circuit elements. Place net alias assign names to nets or nodes. GND add a ground to the circuit. Draw the circuit shown in Figure 1 using the following values:

1.3

R = 40

L = 80e

xxx800 800

mH

C = 0.01 F

VS = 1 V

For the AC voltage source use the VAC component from the Source library. 1.4 1.5 Place the ground on an appropriate node in your circuit. Label each node in your circuit with an appropriate label, e.g. NODE1, NODE2, etc. using the Place net alias icon. This will help you in plotting in the following steps. In this part of the lab, we investigate the frequency response of the circuit to sinusoidal excitation. Thus we must specify the desired frequency range, which can be done by going to PSpice / New simulation profile. Choose logarithmic AC Sweep/Noise for the analysis type. First, we are interested in looking at a very wide range of frequencies to see the rough shape of the response. Therefore, set the frequency range to 20 Hz 20 kHz, with intervals of 20 frequency points per decade. 1.7 1.8 Simulate your circuit (PSpice / Run) and make sure there are no errors. (_/0.5) Once the circuit is simulated with no errors, the PSpice A/D Demo window will come up. Graph the phase difference between VC and VS by going to Trace / Add trace and choosing the appropriate variables and functions. Make sure the horizontal axis is set to log scale. (_/0.5) Add a second plot to the existing one (Plot / Add plot to Window). Graph on the top plot. Print the resultant plots and include them in your lab report.

1.6

1.9

|VC / VS | in decibels

1.10 From your plot in step 1.9, you should be able to identify a narrower frequency range of interest (approximately f0-0.250kHz to f0+0.250kHz). Set the frequency sweep to this narrower range with about 1500 points per decade. This will allow you to see a more precise shape of the magnitude and phase plots around the resonance point of the circuit.

ELEC 2501 Lab 5 Page 5 of 8

[Link]

1.11 Simulate the circuit and obtain the two graphs as in steps 1.8-1.9. Set the horizontal axis range to f0-0.250kHz to f0+0.250kHz by double-clicking on the axis, if needed. Do not print your plots at this time. 1.12 (_/0.5) If Q is large, then the values of plot as shown in Figure 3.

0 and 3 dB bandwidth can be obtained from the magnitude

Figure 3. Definition of 3 dB bandwidth. Explore the options in the graphing utility program (PSpice A/D Demo), and figure out how to use cursors (Trace / Cursors) to obtain measurements of the plotted data. Using cursors, find the value of 0, the resonant frequency, and mark the relevant point on the graph. Compare this value to the one calculated in question 2 of the prelab. 1.13 (_/2) Using cursors, find the 3 dB bandwidth, as defined in Figure 3. Mark the relevant points and their values on the graphs. Print the resultant plots and include them with your lab report. 1.14 (_/0.5) Calculate Q based on the linear relationship:

Q=

0
3 dB bandwidth

(10)

Compare this value to the one calculated in question 3 of the prelab.

Part 2. Time Domain Response of RLC Circuit to Step Excitation


2.1 2.2 Create a new project as in Part 1, and include your name in the project name. Figure 4 shows three independent circuits, connected to a common input signal. This configuration will enable you to observe the under damped, critically damped and over damped cases simultaneously. In a new file, draw the circuit shown in Figure 4 using the following values:

L1 = L2 = L3 = 100 mH

R1 =

xxx + 400 2

R3 = R1+4000

ELEC 2501 Lab 5 Page 6 of 8

[Link]

C1 = C2 = C3 = 54 nF

R2 = 2721

VIN = 1 V step

For the step voltage source use the VPULSE component from the Source library. Specify appropriate values for the V1, V2 and TD parameters of VPULSE (V1 and V2 correspond to the minimum and maximum voltages of the pulse, respectively, and TD corresponds to the delay from time zero to the first rising edge). Label the nodes of the circuit as shown in Figure 4. 2.3 To specify the time range for the simulation, go to PSpice / New Simulation Profile and choose Time domain (transient) analysis type. Make sure you specify an appropriate time range to display the outputs clearly. You may need to iterate through steps 2.3 and 2.4 a number of times to obtain the required output plot (in that case, go to PSpice / Edit simulation profile to edit the settings). Simulate the circuit and, on the same plot, graph the input signal signals, v3, v5 and v7, as specified in Figure 4.

2.4

vIN, as well as the three output

2.5

(_/1) Identify which one of the circuits is under damped, which one is over damped, and which one is critically damped. (_/1) In the case of the under damped circuit: (a) What is the frequency of the oscillatory response? (b) Does the frequency approximately agree with the resonance condition in equation (4)?

2.6

2.7

(_/1) In the case of the over damped and the critically damped circuits, measure the rise-time, that is, the time each output takes to reach 90% of its maximum voltage. Mark the measured points and their values on the graph. Print the plot and include it with your lab report. (_/1) Comment on your results.

2.8

ELEC 2501 Lab 5 Page 7 of 8

[Link]

Figure 4. Circuit configuration for Part 2.

ELEC 2501 Lab 5 Page 8 of 8

Common questions

Powered by AI

Using a logarithmic scale for the frequency axis in PSpice simulations of RLC circuits is important for effectively visualizing and interpreting a wide range of frequency responses. A logarithmic scale allows for a more compact representation of frequency data, which is especially useful when dealing with multiple orders of magnitude, such as the typical span from 20 Hz to 20 kHz in RLC circuits . This scaling emphasizes changes and important features such as resonant peaks and bandwidths in frequency responses, enabling clearer insight into circuit behaviors over a broad spectrum . Furthermore, key characteristics like the 3 dB bandwidth are easier to identify and analyze, which is crucial for practical design considerations like filter bandwidth and signal integrity in various electronic applications .

The procedure for simulating the frequency response of an RLC circuit using PSpice involves several steps: First, open Cadence and navigate to OrCAD Capture, then create a new project selecting 'Analog or Mixed A/D' and set up using specified component values . Next, lay out the RLC circuit using schematic tools to place components and label nodes for reference . For frequency analysis, go to ‘PSpice/New Simulation Profile,’ select ‘AC Sweep/Noise,’ and specify a frequency sweep range (20 Hz to 20 kHz, for instance) to observe the response curve . Run the simulation, ensuring no errors, then plot the phase and magnitude graphs by adding traces in the PSpice A/D demo interface. Adjust settings as necessary to zoom into areas of interest, especially around resonance, to analyze frequency responses precisely . Using PSpice's graphing tools like cursors can aid in measuring resonant frequencies and bandwidth .

At off-resonance frequencies in an RLC circuit, the phase relationships change significantly compared to resonance conditions. As the frequency deviates from resonance, inductive and capacitive reactances no longer exactly cancel, resulting in a non-zero net reactance . Below resonance, the circuit's overall behavior is capacitive, leading to the current phasor leading the voltage phasor, whereas above resonance, it becomes inductive, with the voltage leading the current . These phase shifts are visually depicted in the phasor diagram, where the current phasor shifts out of alignment with the voltage phasor across the resistor, indicating a change in power factor and reactive power flow in the circuit . Understanding and analyzing these off-resonance phase shifts can inform adjustments needed in practical applications, such as tuning circuits and optimizing power delivery .

The quality factor Q of a series RLC circuit directly relates to its resonant frequency and bandwidth. It is defined as the ratio of the resonant frequency ω0 to the bandwidth (3 dB bandwidth), mathematically expressed as Q = ω0 / Δω, where Δω is the difference between frequencies where the power is half of its peak value . A high Q indicates a resonant circuit with a narrow bandwidth, meaning it responds strongly to frequencies near resonance and less so to other frequencies, leading to sharpness in the frequency response curve . A low Q suggests broader bandwidth, meaning the circuit allows a wider range of frequencies to exhibit near-resonant behavior . This property is crucial in applications like filtering and tuning where selective frequency response is desired .

Correctly configuring the damping conditions and component values in RLC circuit simulations is crucial for practical applications like signal processing, oscillators, and filters. Damping conditions (under, critical, and over) influence time-domain characteristics like transient response, stability, and settling time, important in ensuring signals are transmitted accurately and systems are controlled effectively . For underdamped circuits, the resulting oscillatory response might be beneficial in filtering applications where sharp frequency selectivity is needed. In contrast, overdamped circuits might be preferred in applications requiring slower, smoother transitions without overshoot . Component values determine the resonant frequency and quality factor, affecting the circuit's performance in amplifying or attenuating signals of specific frequencies . Precise computational simulations with these values ensure that the designed circuit meets desired specifications, minimizing costly errors in prototypes and maximizing the functionality of electronic systems .

Phasor diagrams are graphical representations of the relationships between current and voltages in the circuit and are important for analyzing series RLC circuits, especially at resonance. At resonance, the inductive and capacitive voltages are equal in magnitude, opposite in phase, and cancel each other out, meaning the only remaining impedance is the resistance R . In a phasor diagram at resonance, this is depicted by aligning the current phasor along with the voltage phasor across the resistor, since voltages across L and C cancel each other . This simplified diagram helps visualize phase relationships and resonant conditions where the overall impedance is purely resistive and the current is maximized . Understanding the phase relationships and resultant vectors in such diagrams is crucial for predicting circuit behavior under varying frequency conditions and designing circuits for specific resonant frequencies .

The damping conditions significantly influence the form of the time-domain response of a series RLC circuit to step excitation. There are three primary scenarios: underdamped, critically damped, and overdamped . In the underdamped case, the response is characterized by oscillations that decay exponentially over time, resulting in a resonant or "ringing" behavior . Critically damped circuits reach the steady state the fastest without oscillating, having a solution in the form of decaying exponential functions that meet at a quicker peak . Overdamped circuits also have an exponential decay but do not oscillate, and the response comprises two decaying exponentials with distinct exponents, resulting in a slower return to steady-state compared to critically damped circuits . These conditions are related to the values of resistance, inductance, and capacitance, with each condition correlating to distinctive real or complex natural frequencies, s1 and s2 .

Voltage magnification in a series RLC circuit occurs when the voltage across the reactive components (the inductor and capacitor) exceeds the applied source voltage at resonance. This is because at the resonant frequency, the current reaches its maximum value as the impedance is minimized to the resistance R . This phenomenon is quantified by the quality factor Q, which measures the ratio of stored energy to the energy dissipated per cycle . A higher Q indicates a larger maximum voltage across L and C compared to the input voltage, representing more efficient energy storage and larger reactive currents . This voltage magnification is a critical characteristic of high Q circuits, making them particularly useful in applications such as resonance-based filtering, tuning, and energy harvesting, where selective frequency response and energy concentration are desired .

The natural frequencies s1 and s2 for a time-domain response of an RLC circuit are solutions to the characteristic equation derived from the second-order linear differential equation governing the circuit without external forcing . This equation is typically in the form L(d²i/dt²) + R(di/dt) + (1/C)i = 0, and solutions for s1 and s2 arise from solving the corresponding characteristic polynomial . The discriminant of this quadratic determines the nature of s1 and s2: if it is positive, s1 and s2 are real and distinct, leading to an overdamped response; if zero, the roots are real and equal, leading to critical damping; if negative, the roots are complex conjugates, indicating an underdamped response . The natural frequencies are significant because they inherently describe how the circuit returns to equilibrium without external inputs, fundamental in system stability and transient analysis .

Resonance in a series RLC circuit occurs when the inductive and capacitive reactances are equal in magnitude but opposite in phase, resulting in their cancellation. Specifically, this is characterized by the resonant frequency ω0 = 1 / √(LC). At this frequency, the circuit's impedance is minimized to the resistance R alone, and the circuit current is maximized . Consequently, the magnitude of the voltage across the reactance (sum of inductive and capacitive reactance) is zero, leading to maximum current through the circuit, with the voltages across L and C theoretically becoming infinite if R were zero . The quality factor, Q, indicates how sharp the resonance is, and is given by Q = ω0L/R or Q = 1/ω0CR . High Q implies a narrow bandwidth and higher voltages across L and C, signifying greater energy storage in the reactive components compared to the resistive components .

2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 1 of 8
LAB 5:   Computer Simulation of RLC Circuit Response using 
PSp
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 2 of 8
 
2
2
X
R
V
I
S
+
=
 
(3) 
The current has a maximum value when
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 3 of 8
When differentiated with respect to time, we get: 
 
dt
dv
i
C
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 4 of 8
 
Figure 2. Comparison of overdamped, critically damped and und
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 5 of 8
Open Cadence u0002 Release 16.5 u0002 OrCAD Capture CIS Demo. The first
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 6 of 8
1.11 Simulate the circuit and obtain the two graphs as in steps
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 7 of 8
C1 = C2 = C3 = 54 nF  
R2 = 2721 Ω 
VIN = 1 V step 
For the ste
2011-11-30LabManualLab5.doc 
ELEC 2501 Lab 5 
 
 
Page 8 of 8
 
Figure 4. Circuit configuration for Part 2. 
 
 
 
 
6

You might also like