432 Practical MATLAB® Applications for Engineers
Example 4.19The switch in the circuit diagram of Figure 4.77 closes at t = 0, where it remains for t > 0.
The storing energy elements such as the (two) capacitors and the (two) inductors are
initially charged as indicated in Figure 4.77 (for t = 0 ).- Redraw the equivalent circuit in the s-domain
- Obtain in the s-domain the loop equations
- Obtain the matrix loop equation of part 2
- Use MATLAB and obtain expressions for I 1 (s) and I 2 (s)
- Obtain the system’s poles
- Use MATLAB and verify the initial and fi nal value loop currents by applying the
initial and fi nal value theorems - Use MATLAB and obtain plots of I 1 (s) versus s and I 2 (s) versus s
- Discuss the results
The MATLAB solution is given as follows by e script fi le IC_loop_diff_eqs.ANALYTICAL SolutionPart 1
The time domain circuit shown in Figure 4.77 is transformed into the equivalent
s-domain circuit shown in Figure 4.78, where the initial conditions are converted into
sources, and the assumed loop currents directions of I 1 (s) and I 2 (s) are indicated.
Part 2
The two loop equations of the circuit diagram of Figure 4.78 areFor loop #1:
50
2
3
5
22
123
sss
sIs
s Is
() ()For loop #2:
3
9
415
92
337
5
sss ^2 sIs^1 s s I
() 22 ()sv 1 (t) = 50VV 2sw closes at t = 0 L 1 = 1 H R 1 L 2 = 3 H
= 2 ΩR 2 = 3 ΩR 3 = 4 ΩC 1 = 0.5 FC 2 = 0.33 FIL1(o) = 2 A
IL2(0) = 3 A+
VC1(0) = 3 V
−+
VC2(0) = 4 V
−(t) = 5sin(3t) V+−FIGURE 4.77
Circuit diagram of Example 4.19.