Home Topics Previous Next


SECOND-ORDER CIRCUIT: ILLUSTRATED EXAMPLES

INTRODUCTION
EXAMPLE 1
EXAMPLE 2
EXAMPLE 3
EXAMPLE 4
EXAMPLE 5
EXAMPLE 6
EXAMPLE 7
EXAMPLE 8
EXAMPLE 9
EXAMPLE 10
SUMMARY


INTRODUCTION

In this page, several examples are presented to illustrate how the time response of second-order circuits can be obtained. For most of the examples, the solution is obtained by using more than a single technique.


EXAMPLE 1

Fig. 33Ex1

Find zero-state unit-step response vO(t) for the circuit in Fig. 33.

SOLUTION:

Solution using Laplace transforms

KCL equation at node with voltage V1(s):

ole00

KCL equation at the non-inverting input:

ole01

Fig. 34

Solution using Differential Equations

ole02

The first equation is the KCL equation at the non-inverting input. The second equation is the KCL equation at the node with voltage v1(t). From the two equations, obtain the differential equations and its solution. The initial conditions are of zero value.

Solution using the State Variable Approach

ole05

We can obtain the state equation from the KCL equations at the non-inverting node and the capacitor voltage v2(t). Once we know the A and B matrices, the solution can be obtained as shown below.

ole06

The Laplace transform function obtained for the output voltage is the same as that obtained earlier.

Go to Top of the Page


EXAMPLE 2

Fig. 35

For the circuit in Fig. 35,

ole07

Find zero-state unit-step response vO(t) for the circuit in Fig. 35.

SOLUTION:

Solution using Laplace transforms

Form two node equations, one for v2 and the other at the inverting input of op amp. Eliminate v2 and get the transfer function.

ole08

Solution using Differential Equations

Form KCL at the inverting input node and at the with voltage v2.

ole09

Solution using the State Variable Approach

ole10

Go to Top of the Page


EXAMPLE 3

Fig. 36

For the circuit in Fig. 36, it is given that

ole11

Find expressions for v1(t), and v2(t) for t ≥ 0 s. Assume that the capacitors are initially uncharged.

SOLUTION:

Solution using Laplace transforms

ole12

We can eliminate V1(s) from the above equations.

ole13

Solution using Differential Equations

Form the KCL at the two nodes where the capacitors are incident, as shown below.

ole14

Differentiate equation (3.9) and use the expression in (3.10) for the derivative of v1.

ole15

Obtain the particular solution and the complementary solution. Obtain the response as the sum of these two solutions.

ole16

Solution using the State Variable Approach

ole17

The state-equation can be expressed as follows, when the initial conditions are of zero value.

ole18

Go to Top of the Page


EXAMPLE 4

Fig. 37Ex4A

For the circuit in Fig. 37, find expressions for vO(t) for t ≥ 0 s.

SOLUTION:

Solution using Laplace transforms

Get the initial conditions due to the 5 Volts source.

ole19

The transformed circuit is shown in Fig. 38.

Fig. 38Ex8B

The KCL equation at the output node can be formed.

ole20

Solution using Differential Equations

Fig.39Ex4c

We need to form the differential equation first.

ole21

The solution is obtained in two steps. We determine the response due to the initial conditions first. We get the impulse response next. We add the two responses to get the response of the circuit in Fig. 37.

ole22

Let the unit-step response be α(t). Let the impulse response be h(t).

ole23

The total response of the circuit in Fig. 37 is obtained as the sum of responses, expressed by equations (4.3) and (4.11).

ole24

Solution using the State Variable Approach

ole25

Hence we get the following equations.

ole26

Equations (4.15) and (4.2) are the same. The solution is the same as that obtained earlier.

Go to Top of the Page


EXAMPLE 5

Fig. 40Ex%A

For the circuit in Fig. 40, it is given that

ole27

Obtain an expression for the capacitor voltage for t > 0.

SOLUTION:

Solution using Differential Equations

ole28

The first equation in (5.2) expresses the source current as the sum of the inductor current and the capacitor current. Since the capacitor current is the product of capacitance and the derivative of its voltage, we get the remaining equations in (5.2). We can differentiate equation (5.2) and then we get equation (5.3). Equation (5.4) equates the voltage drop across the two branches, since they are connected in parallel.

ole29

Replace the inductor current and its derivative in terms of the capacitor current and its derivatives. Then we get equation (5.5) and (5.6). The source current is expressed by equation (5.1) and hence the right-hand-side expression becomes zero. The solution is obtained as shown below.

ole30

The solution is easy, except that you need to figure out what the initial conditions. You need to understand equation (5.8). The capacitor voltage is expressed by equation (5.9).

Solution using Laplace transforms

Fig41Ex5B

From the transformed circuit in Fig. 41, we get that

ole31

ole32

ole33

The solution obtained using the Laplace transforms is shown above. It is relatively easy.

Solution using the State Variable Approach

From the circuit in Fig. 40, we can form the following equations.

ole34

From the above equations, the state equation can be obtained.

ole35

Express the state equation in terms of Laplace transforms, as shown below.

ole36

Then obtain an expression for the capacitor voltage. We get the same expression, as that obtained earlier.

ole37

Go to Top of the Page


EXAMPLE 6

Fig.42Ex6

For the circuit in Fig 42, it is given that

vS(t)= 10 × cos(t)∙ u(t), iL(0) = 1 A, vC(0) = 5 V.

Find expressions for iL(t) and vC(t).

SOLUTION:

Solution using Differential Equations

ole38

ole39

Solution using the State Variable Approach

ole40

ole41

ole42

ole43

Solution using Laplace transforms

ole43

From the transformed circuit, we can form the following equations.

Equate the voltage across the 2 Ω resistor with the voltage across the capacitor.

ole44

Then form an equation as shown below.

ole45

Equation (6.26) is the same equation, derived earlier for the inductor current.

ole46

Equation (6.29) is the same equation, derived earlier for the capacitor voltage.

Go to Top of the Page


EXAMPLE 7

ole91WPD

The switch shown in Fig. 44 is open before t = 0 and the circuit is at rest for t < 0. If the switch is closed at t = 0, find i2(t) fort ≥ 0.

SOLUTION:

Solution using Laplace transforms

Prior to t = 0, the switch is open. In steady-state, the rate of change of inductor current is zero if the excitation is a dc voltage. Then, the initial inductor current at t = 0 is 0.5 A. With this initial current for 2 H inductor, the transform network can be drawn as shown in Fig. 45. From Fig. 45a, the KVL equation for the two loops can be formed.

Fig. 45Ex8B

ole47

From the two equations, I1(s) can be eliminated. From the KVL equation for the loop 2, we obtain that

ole48

With this value of I1(s) used in the KVL equation for loop 1, we get that

ole49

On simplifying and re-arranging,

ole50

Then

ole51

Alternatively, this problem can be solved with the help of the Thevenin’s theorem. With the switch in Fig. 44 open, the open-circuit voltage can be obtained. The open-circuit voltage is 1 Volt. Hence

ole52

The value of ZTh(s) is the impedance measured across the load terminals with the source short-circuited. In terms of Laplace transforms,

ole53

The equivalent circuit obtained using the Thevenin’s theorem is shown in Fig. 45b. From this circuit,

ole54

We get the same expression for I2(s) obtained earlier. This problem can be also solved using the differential equations. For t ≥0, the differential equations for the circuit in Fig. 44 are expressed below

ole55

From equation (ii) ,

ole56

Differentiate equation (iii). Then

ole57

For the above equation, the auxiliary equation is:

ole59


The complementary integral is then obtained to be:

ole60

Since the excitation signal is a dc signal, the particular solution is 0.5. The total solution for i2(t) is then

ole61

When the switch becomes ON at t = 0, the current through the 3H inductor does not rise suddenly and hence i2(0) = 0. As the current through the 2H inductor is 0.5 A at t = 0, the voltage across the 2 Ω resistor located before the switch is 1 V. Hence

ole62

The values of A and B can be now obtained.

ole63

Thus

ole64

Solution using the State Variable Approach

From the circuit in Fig. 44, we get that

ole65

The above two equations can be presented as follows

ole66

Since i1(0) = 0.5 Amp and i2(0) = 0 Amp, we get that

ole67

Using Cramer’s rule, we get that

ole68

The inverse transform of I2(s) yields i2(t).

Go to Top of the Page


EXAMPLE 8

ole93:WPD

The switch shown in Fig. 46 is in position ‘a’ before t = 0 and the circuit is at rest for t < 0. If the position of the switch is thrown from position ‘a’ to position ‘b’ at t = 0, find i1(0+), i2(0+), d i1(0+)/dt, and di2(0+)/dt for t ≥0. Find also expressions for i1(t) for t ≥ 0.

Solution:

Prior to t = 0, the circuit is at rest. From the circuit in Fig. 46, i1(0-) = 1 A and v2(0-) = 1 V, since in a circuit at rest with dc excitation, the inductor voltages are and the capacitor currents zero.

When the switch is thrown to position ‘b’, the circuit state changes. For t > 0, two loop equations can be formed as shown below. Note that i1(t) is not the loop current.

ole69

As there is no impulse source, i1(0+) = i1(0-) = 1 A and v2(0+) = v2(0-) = 1 V. That is,

ole70

Hence

ole71

On solving the above equations, we get that i2(0+) = -1 A, and

ole72

On subtracting equation (ii) from equation (i), we get that

ole73

The derivative of the above equation is:

ole74

For t > 0

ole75

Differentiate both equations. We get that

ole76

Eliminate i2 and its derivative from equations (a), ( c) and (d). Then we get

ole77

Then

ole78

From the initial conditions, we get that

ole79

Go to Top of the Page


EXAMPLE 9

This example shows how Matlab can be used to solve a problem that is too difficult to be solved using analytical approach.

A quasi-square wave voltage signal is applied to an RLC circuit shown in Fig. 47. Since the excitation signal is periodic, the responses present in the circuit are also periodic, after the transients have died down. The periodic current response and the periodic response of the voltage across the capacitor are to be obtained. The quasi-square wave signal is defined over a period as follows:

ole80

Fig.47Ex09

Since vin(t) is periodic,

ole81

Obtain the following periodic responses given that R =1 Ω, L = 1 H and C = 1 F:

i. Inductor current,
ii Capacitor voltage.

Solution Using Matlab

ole82

Before the program is presented, it is explained how the problem can be solved using a program. The input waveform is periodic, with a period of 1.2 s. A step size of 0.01 s is used in the program. Hence 120 iterations are required to compute the response of one cycle. A count variable, called n, is defined. It varies from 1 to 120. Hence the input voltage can be defined as shown.

Because the input is periodic, the inductor current becomes periodic. Let the inductor current at the start of a cycle be startAmp and let its value at the end of a cycle be finishAmp. When the inductor current is periodic, startAmp = finishAmp. The program keeps calculating the response till these values are close to each other. Calculations are repeated, using a while loop. If both startAmp and finishAmp are initially set to zero, the loop will not be executed. To start the execution of the loop, finishAmp is initially set to zero, whereas startAmp is arbitrarily set to 0.2 A. Once the program enters the loop, the first instruction is to make startAmp equal to finishAmp. Then a for loop is executed within the while loop. Here the count variable is n. For every step, the increments to capacitor voltage and the inductor current are computed. It is seen from the circuit that

ole83

At any step, the present values of vin, vo and iL are known. Hence the rates of change of capacitor voltage and the inductor current can be computed. The increment is obtained by multiplying the rate of change by the step size. The increments are added to the present values and the next values of vo and iL are obtained. The count n is then incremented automatically by the program each time the program executes one for loop. After n has got incremented to 120, the program comes out of the loop and the finishAmp is set equal to the inductor current. Then the while loop checks whether the absolute difference between startAmp and finishAmp is less than a prescribed small value. In this program, the prescribed value is 0.002 A. If the absolute difference between startAmp and finishAmp is less than the prescribed small value, the program exits the while loop; otherwise it repeats the while loop.

The program is executed for one more cycle after exiting the while loop. This time the values of capacitor voltage, the input voltage and the inductor current are stored in arrays and the plot command is used to obtain the plots.

The Matlab program used to solve the problem is presented below

% The Response of a series RLC circuit to a quasi-square wave input
   % The components selected to yield an underdamped response
 % This program yields periodic response
% Component values specified
 R=1.0;
   L=1.0;
   C=1.0;
% step-size defined
   hh=0.01;
 startamp=0.2;
 finishamp=0.0;
 vcap=0.0;
 amp=0.0;
 while (abs(finishamp-startamp)>0.002),
   startamp=finishamp;
   for n=1:120;
     if (n<11) vin=0.0; end;
     if ((n>10) & (n<51)) vin=1.0; end;
     if ((n>50) & (n<71)) vin=0.0; end;
     if ((n>70) & (n<111)) vin=-1.0; end;
     if (n>110) vin=0.0; end;
     incrI=(vin-vcap)/L*hh;
     incrV=(amp - vcap/R)*hh/C;
     amp=amp+incrI;
     vcap=vcap+incrV;
   end;
   finishamp=amp;
 end;
 zeit=0.0;
 for n=1:120;
   if (n<11) vin=0.0; end;
   if ((n>10) & (n<51)) vin=1.0; end;
   if ((n>50) & (n<71)) vin=0.0; end;
   if ((n>70) & (n<111)) vin=-1.0; end;
   if (n>110) vin=0.0; end;
   incrI=(vin-vcap)/L*hh;
   incrV=(amp - vcap/R)*hh/C;
   amp=amp+incrI;
   vcap=vcap+incrV;
   zeit=zeit+hh;
   InVolt(n)=vin;
   Cur(n)=amp;
   CapV(n)=vcap;
   x(n)=zeit;
end;

   subplot(311)
   axis([0 1.2 -1.5 1.5])
   plot(x,InVolt)
   ylabel('Input Volt')
   grid
   
   subplot(312)
   axis([0 1.2 -0.05 0.05])
   plot(x,CapV)
   ylabel('Cap. Volt')
   grid
   
   subplot(313)
   axis([0 1.2 -0.25 0.25])
   plot(x,Cur)
   xlabel('Time in sec')
   ylabel('Ind. Current')
   grid

The responses obtained are shown below.

Ex10Plots

Responses to the quasi-square wave input

Go to Top of the Page


EXAMPLE 10

Fig48Ex10

For the circuit in Fig. 48, obtain the expressions for
i. the inductor current and
ii. the capacitor voltage.

Assume that the inductor current is zero and the capacitor is in a discharged state at t = 0.

SOLUTION:

Let the source current be iS(t). Using Laplace transforms, we get that

ole84

After substituting values for the source, R, L and C, we get

ole85

The differential equation needed for solution can be formed as follows.

ole86

Differentiate both equations.

ole87

Substitute for the derivatives of capacitor voltage. The second derivative of capacitor voltage in equation (iv) can be replaced by the right-hand side value of equation (iii). The first derivative of capacitor voltage in equation (iv) can be replaced by the right-hand side value of equation (i). We get then

ole88

At t = 0, the inductor current stays at zero value. The source current of 5 A flows through the resistor and capacitor. Since the capacitor voltage at t = 0 is zero volts, the voltage across the inductor at t = 0 is the voltage across the resistor, which is 25 Volts.

The expression for the capacitor voltage is obtained as follows.

ole89

The capacitor voltage can be obtained from its differential equation.

ole90

Go to Top of the Page


SUMMARY

In this page, some examples have been presented to illustrate how the response of second-order circuits can be obtained. The topic of Frequency Response is explained in the next chapter.

Go to Top of the Page


Home Topics Previous Next