Analysis of RLC Circuits Using MATLAB
Analysis of RLC Circuits Using MATLAB
(9.m1-1)
Depending on the element values, the circuit will be either overdamped, critically damped, or
underdamped. Suppose the inductance and capacitance values are L = 0.1 H and C = 1 mF with initial
values v n(0) = 10 V and i L(0) = -0.6 A. In order for the circuit to be underdamped, the resistance value
must satisfy
(9.m1-2)
or R > 5 Ohms. When R = 5 Ohms, the circuit is critically damped. We will therefore examine the
behavior of this circuit for resistance values greater than 5 Ohms. We will now explore the solution for v
n(t) for various values of R. Given a value for R, the solution to the underdamped differential equation is
obtained by solving for the exponential coefficient
and enforcing the initial conditions as shown in example 9.7-1 in the textbook. With R = 25/3 Ohms and
the L and C values given above, the solution for the voltage v n(t) is
(9.m1-3)
as derived in the textbook. Now consider holding the values of L and C constant while varying the value
of R. How does the solution for v n(t) change as the value of R is varied? Figure 9.m-2 shows the
MATLAB output for the output voltage as a function of time for several different resistances. This figure
was generated using the code in Figure 9.m-3
Click here for a command by command explanation of the code used to create Figure 9.m-2.
1 of 1 12/24/2017, 2:19 PM