Docsity

State Variables Analysis and Functions, Lecture notes of Physics

Toggle sidebar
bg1
June 21, 2001 09:40 hay83645_ch19 Sheet number 1 Page number 1 black
19-1
19Chapter
State-Variable
Analysis
Specific goals and objectives of this chapter include:
■Introducing the concept of state variables and normal-form equations
■Learning how to write a complete set of normal-form equations for a
given circuit
■Matrix-based solution of the circuit equations
■Development of a general technique applicable to higher-order
problems ■
19.1 Introduction
Up to this point, we have seen several different methods by which circuits
might be analyzed. The resistive circuit came first, and for it we wrote a set
of algebraic equations, often cast in the form of nodal or mesh equations.
However, in Appendix 1 we learn that we can choose other, more convenient
voltage or current variables after drawing an appropriate tree for the network.
The tree sprouts up again in this chapter, in the selection of circuit variables.
We next added inductors and capacitors to our networks, and this produced
equations containing derivatives and integrals with respect to time. Except
for simple first- and second-order systems that either were source-free or
contained only dc sources, we did not attempt solving these equations. The
results we obtained were found by time-domain methods. Subsequently, we
explored the use of phasors to determine the sinusoidal steady-state response
of such circuits, and a little later on we were introduced to the concept of
complex frequency and the Laplace transform method.
In this last chapter, we return to the time domain and introduce the use of
state variables. Once again we will not obtain many explicit solutions for
circuits of even moderate complexity, but we will write sets of equations
compatible with numerical analysis techniques.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download State Variables Analysis and Functions and more Lecture notes Physics in PDF only on Docsity!

19-

C h a p t e r 19

State-Variable

Analysis

Specific goals and objectives of this chapter include:

 Introducing the concept of state variables and normal-form equations  Learning how to write a complete set of normal-form equations for a given circuit  Matrix-based solution of the circuit equations  Development of a general technique applicable to higher-order problems 

19.1 Introduction

Up to this point, we have seen several different methods by which circuits might be analyzed. The resistive circuit came first, and for it we wrote a set of algebraic equations, often cast in the form of nodal or mesh equations. However, in Appendix 1 we learn that we can choose other, more convenient voltage or current variables after drawing an appropriate tree for the network. The tree sprouts up again in this chapter, in the selection of circuit variables.

We next added inductors and capacitors to our networks, and this produced equations containing derivatives and integrals with respect to time. Except for simple first- and second-order systems that either were source-free or contained only dc sources, we did not attempt solving these equations. The results we obtained were found by time-domain methods. Subsequently, we explored the use of phasors to determine the sinusoidal steady-state response of such circuits, and a little later on we were introduced to the concept of complex frequency and the Laplace transform method.

In this last chapter, we return to the time domain and introduce the use of state variables. Once again we will not obtain many explicit solutions for circuits of even moderate complexity, but we will write sets of equations compatible with numerical analysis techniques.

19-2 CHAPTER 19 State-Variable Analysis

19.2 State Variables and Normal-Form

Equations

State-variable analysis, or state-space analysis, as it is sometimes called, is a procedure that can be applied both to linear and, with some modifications, to nonlinear circuits, as well as to circuits containing time-varying parameters, such as the capacitance C = 50 cos 20t pF. Our attention, however, will be restricted to time-invariant linear circuits. We introduce some of the ideas underlying state variables by looking at a general RLC circuit drawn in Fig. 19.1. When we write equations for this circuit, we could use nodal analysis, the two dependent variables being the node voltages at the central and right nodes. We could also opt for mesh analysis and use two currents as the variables, or, alternatively, we could draw a tree first and then select a set of tree-branch voltages or link currents as the dependent variables. It is possible that each approach could lead to a different number of variables, although two seems to be the most likely number for this circuit.

Figure 19.

vC 2

vs –

i (^) L

i (^) s

  • vC 1 – R L

C 1

C 2

A four-node RLC circuit.

The set of variables we will select in state-variable analysis is a hybrid set that may include both currents and voltages. They are the inductor currents and the capacitor voltages. Each of these quantities may be used directly to express the energy stored in the inductor or capacitor at any instant of time. That is, they collectively describe the energy state of the system, and for that reason, they are called the state variables. Let us try to write a set of equations for the circuit of Fig. 19.1 in terms of the state variables i (^) L, v (^) C 1 , and vC 2 , as defined on the circuit diagram. The method we use will be outlined more formally in the following section, but for the present let us try to use KVL once for each inductor, and KCL once for each capacitor.

Here we are using a “prime” symbol to denote a derivative with respect to time.

Beginning with the inductor, we set the sum of voltages around the lower left mesh equal to zero: Li L′ + v (^) C 2 − v (^) s = 0 [1] We presume that the source voltage v (^) s and the source current i (^) s are known, and we therefore have one equation in terms of our chosen state variables. Next, we consider the capacitor C 1. Since the left terminal of C 1 is also one terminal of a voltage source, it will become part of a supernode. Therefore, we select the right terminal of C 1 as the node to which we apply KCL. The current through the capacitor branch is C 1 v C′ 1 , the upward source current is i (^) s , and the current in R is obtained by noting that the voltage across R, positive reference on the left, is (v (^) C 2 − v (^) s + v (^) C 1 ) and, therefore, the current to the right in R is (vC 2 − v (^) s + v (^) C 1 )/R. Thus,

C 1 v′ C 1 +

R

(v (^) C 2 − v (^) s + v (^) C 1 ) + i (^) s = 0 [2]

Again we have been able to write an equation without introducing any new variables, although we might not have been able to express the current through R directly in terms of the state variables if the circuit had been any more complicated.

19-4 CHAPTER 19 State-Variable Analysis

or, in normal form,

v C′ = − 0. 5 v (^) C − 2. 5 i (^) L + 2. 5 i (^) s [7]

Around the outer loop, we have

2 i L′ − v (^) C + 7 i (^) L = 0

or i L′ = 0. 5 v (^) C − 3. 5 i (^) L [8]

Equations [7] and [8] are the desired normal-form equations. Their solution will yield all the information necessary for a complete analysis of the given circuit. Of course, explicit expressions for the state variables can be obtained only if a specific function is given for is (t). For example, it will be shown later that if i (^) s (t) = 12 + 3. 2 e−^2 t^ u(t) A [9] then v (^) C (t) = 35 + ( 10 e−t^ − 12 e−^2 t^ + 2 e−^3 t^ )u(t) V [10] and iL (t) = 5 + ( 2 e−t^ − 4 e−^2 t^ + 2 e−^3 t^ )u(t) A [11]

The solutions, however, are far from obvious, and we will develop the tech- nique for obtaining them from the normal-form equations in Sec. 19.7.

Practice

19.1. Write a set of normal-form equations for the circuit shown in Fig. 19.3. Order the state variables as iL 1 , iL 2 , and vC.

Figure 19.

i (^) L 2

4  2 H

5 H

vs = 2 cos 10 t u ( t ) V

i (^) L 1

+^ vC –

0.1 F

Ans: i′ L 1 = − 0. 8 iL 1 + 0. 8 i (^) L 2 − 0. 2 v (^) C + 0. 2 v (^) s ; i L′ 2 = 2 iL 1 − 2 i (^) L 2 ; v′ C = 10 iL 1.

19.3 Writing a Set of Normal-Form

Equations

In the two examples considered in the previous section, the methods whereby we obtained a set of normal-form equations may have seemed to be more of an art than a science. In order to bring a little order into our chaos, let’s try to follow the procedure used when we were studying nodal analysis, mesh analysis, and the use of trees in general loop and general nodal analysis. We

SECTION 19.3 Writing a Set of Normal-Form Equations 19-

seek a set of guidelines that will systematize the procedure. Then we will apply these rules to three new examples, each a little more involved than the preceding one.

Here are the six steps that we have been following:

1. Establish a normal tree. Place capacitors and voltage sources in the tree, and inductors and current sources in the cotree; place control voltages in the tree and control currents in the cotree if possible. More than one normal tree may be possible. Certain types of networks do not permit any normal tree to be drawn; these exceptions are considered at the end of this section. 2. Assign voltage and current variables. Assign a voltage (with polarity reference) to every capacitor and a current (with arrow) to every inductor; these voltages and currents are the state variables. Indicate the voltage across every tree branch and the current through every link in terms of the source voltages, the source currents, and the state variables, if possible; otherwise, assign a new voltage or current variable to that resistive tree branch or link. 3. Write the C equations. Use KCL to write one equation for each capacitor. Set Cv′ C equal to the sum of link currents obtained by considering the node (or supernode) at either end of the capacitor. The supernode is identified as the set of all tree branches connected to that terminal of the capacitor. Do not introduce any new variables. 4. Write the L equations. Use KVL to write one equation for each inductor. Set Li L′ equal to the sum of tree-branch voltages obtained by considering the single closed path consisting of the link in which L lies and a convenient set of tree branches. Do not introduce any new variables. 5. Write the R equations (if necessary). If any new voltage variables were assigned to resistors in step 2, use KCL to set v (^) R /R equal to a sum of link currents. If any new current variables were assigned to resistors in step 2, use KVL to set iR R equal to a sum of tree-branch voltages. Solve these resistor equations simultaneously to obtain explicit expressions for each v (^) R and i (^) R in terms of the state variables and source quantities. 6. Write the normal-form equations. Substitute the expressions for each vR and i (^) R into the equations obtained in steps 3 and 4, thus eliminating all resistor variables. Put the resultant equations in normal form.

E X A M P L E 19.

Obtain the normal-form equations for the circuit of Fig. 19.4a, a four-node circuit containing two capacitors, one inductor, and two independent sources.

Following step 1, we draw a normal tree. Note that only one such tree is possible here, as shown in Fig. 19.4b, since the two capacitors and the voltage source must be in the tree and the inductor and the current source must be in the cotree.

We next define the voltage across the 16 -F capacitor as vC 1 , the voltage across the 1 7 -F capacitor as^ vC^2 , and the current through the inductor as^ iL. The source voltage

SECTION 19.3 Writing a Set of Normal-Form Equations 19-

The state variables have arbitrarily been ordered as vC 1 , vC 2 , and iL. If the order iL, v (^) C 1 , vC 2 had been selected instead, the three normal-form equations would be

i L′ = 5 vC 1 + 5 vC 2 − 5 vs v′ C 1 = − 6 i (^) L − 2 vC 1 + 2 vs v′ C 2 = − 7 i (^) L − 7 is

Note that the ordering of the terms on the right-hand sides of the equations has been changed to agree with the ordering of the equations.

E X A M P L E 19.

Write a set of normal-form equations for the circuit of Fig. 19.5a.

Figure 19.

1  6  2 

3  i (^) s

vs –

( a )

(^19) F (^29) H

  • vC –

iL

iR

is

( c )

vR

2 iL

vR – vC 6

vs

  • vC – iL

i (^) s

( b )

vs

(a) The given circuit. (b) One of many possible normal trees. (c) The assigned voltages and currents.

The circuit contains several resistors, and this time it will be necessary to introduce resistor variables. Many different normal trees can be constructed for this network, and it is often worthwhile to sketch several possible trees to see whether resistor voltage and current variables can be avoided by a judicious selection. The tree we shall use is shown in Fig. 19.5b. The state variables vC and i (^) L and the forcing functions v (^) s and is are indicated on the graph.

Although we might study this circuit and the tree for a few minutes and arrive at a method to avoid the introduction of any new variables, let us plead temporary stupidity and assign the tree-branch voltage vR and link current iR for the 1- and 3- branches, respectively. The voltage across the 2- resistor is easily expressed as 2iL, while the downward current through the 6- resistor becomes (vR − v (^) C )/6. All the link currents and tree-branch voltages are marked on Fig. 19.5c.

The capacitor equation may now be written

v C′ 9

= iR + i (^) L − i (^) s + v (^) R − vC 6

[15]

19-8 CHAPTER 19 State-Variable Analysis

and that for the inductor is 2 9 i L′ = −v^ C^ +^ vR^ −^2 iL^ [16]

We begin step 5 with the 1- resistor. Since it is in the tree, we must equate its current to a sum of link currents. Both terminals of the capacitor collapse into a supernode, and we have v (^) R 1 = is − iR − i (^) L − v (^) R − vC 6 The 3- resistor is next, and its voltage may be written as

3 i (^) R = −v (^) C + v (^) R − vs

These last two equations must now be solved simultaneously for vR and iR in terms of i (^) L, vC , and the two forcing functions. Doing so, we find that

vR = vC 3 − 2 3 i (^) L + 2 3 i (^) s + 2 9 v (^) s

iR = −

2 9 v (^) C −

2 9 i (^) L +

2 9 i (^) s −

7 27 v (^) s

Finally, these results are substituted in Eqs. [15] and [16], and the normal-form equations for Fig. 19.5 are obtained:

v C′ = − 3 v (^) C + 6 iL − 2 vs − 6 is [17] i′ L = − 3 v (^) C − 12 iL + v (^) s + 3 is [18]

Up to now we have discussed only those circuits in which the voltage and current sources were independent sources. At this time we will look at a circuit containing a dependent source.

E X A M P L E 19. Find the set of normal-form equations for the circuit of Fig. 19.6. The only possible normal tree is that shown in Fig. 19.6b, and it might be noted that it was not possible to place the controlling current ix in a link. The tree-branch voltages and link currents are shown on the linear graph, and they are unchanged from the earlier example except for the additional source voltage, 18ix. For the 16 -F capacitor, we again find that

v C′ 1 6

  • iL + 1 3

(v (^) C 1 − vs ) = 0 [19]

Letting the dependent voltage source shrink into a supernode, we also find the rela- tionship unchanged for the 17 -F capacitor, v′ C 2 7

  • iL + i (^) s = 0 [20]

Our previous result for the inductor changes, however, because there is an added branch in the tree: i L′ 5

− 18 i (^) x − v (^) C 2 + vs − vC 1 = 0

19-10 CHAPTER 19 State-Variable Analysis

E X A M P L E 19. Write a set of normal-form equations for the network shown in Fig. 19.7a.

Figure 19.

2 t – (^2) u ( t ) V 3 e – t^2 A

0.1 H 0.3 H

( a )

4 

i 1

3 e – t^^2

( b )

2 t^2 u ( t )

(a) A circuit for which a normal tree cannot be drawn. (b) A tree is constructed in which one inductor must be a tree branch.

The only elements connected to the upper central node are the two inductors and the current source, and we therefore must place one inductor in the tree, as illustrated by Fig. 19.7b. The two forcing functions and the single state variable, the current i 1 , are shown on the graph. Note that the current in the upper right-hand inductor is known in terms of i 1 and 3e−t^2 A. Thus we could not specify the energy states of the two inductors independently of each other, and this system requires only the single state variable i 1. Of course, if we had placed the 0.1-H inductor in the tree (instead of the 0.3-H inductor), the current in the right-hand inductor would have ended up as the single state variable. We must still assign voltages to the remaining two tree branches in Fig. 19.7b. Since the current directed to the right in the 0.3-H inductor is i 1 + 3 e−t^2 , the voltages appearing across the inductor and the 4- resistor are 0. 3 d(i 1 + 3 e−t^2 )/dt = 0. 3 i 1 ′ −

  1. 8 te−t^2 and 4i 1 + 12 e−t^2 , respectively. The single normal-form equation is obtained in step 4 of our procedure:

  2. 1 i 1 ′ + 0. 3 i′ 1 − 1. 8 te−t 2

  • 4 i 1 + 12 e−t 2 − 2 t^2 u(t) = 0

or i′ 1 = − 10 i 1 + e−t^2 ( 4. 5 t − 30 ) + 5 t^2 u(t) [25] Note that one of the terms on the right-hand side of the equation is proportional to the derivative of one of the source functions.

In this example, the two inductors and the current source were all con- nected to a common node. With circuits containing more branches and more nodes, the connection may be to a supernode. As an indication of such a network, Fig. 19.8 shows a slight rearrangement of two elements appearing in Fig. 19.7a. Note that, once again, the energy states of the two inductors cannot be specified independently; with one specified, and the source cur- rent given, the other is then specified also. The method of obtaining the normal-form equation is the same.

Figure 19.

0.1 H 3 e – t^^2 A

0.3 H

4 Ω

2 t^2 u ( t ) V

The circuit of Fig. 19.7a is redrawn in such a way as to cause the supernode containing the voltage source to be connected to the remainder of the network only through the two inductors and the current source.

The exception created by a loop of capacitors and voltage sources is treated by a similar (dual) procedure, and the wary student should have only the most minor troubles.

SECTION 19.4 The Use of Matrix Notation 19-

Practice

19.2. Write normal-form equations for the circuit of Fig. 19.9a. Figure 19.

cos 2 t u ( t )V (^) – 1 mH 5 mH

( a )

20  50 

v 5

  • -^ + vs
  • v 1 – +^ v 2 –

5  2 

10  5 mF 5 

1 mF 2 mF

( b )

19.3. Write the normal-form equations for the circuit of Fig. 19.9b using the state- variable order v 1 , v 2 , v 5. 19.4. Find the normal-form equation for the circuit shown in Fig. 19.10 using the state variable: (a) v (^) C 1 ; (b) vC 2.

Figure 19.

vC 2

vs –

  • vC 1 –

20  F

5 k 10  F

Ans: 19.2: i′ 1 = − 20 , 000 i 1 − 20 , 000 i 5 + 1000 cos 2t u(t); i 5 ′ = − 4000 i 1 − 14 , 000 i 5 + 200 cos 2t u(t) [using i 1 ↓ and i 5 ↓]. 19.3: v′ 1 = − 160 v 1 − 100 v 2 − 60 v 5 − 140 vs ; v′ 2 = − 50 v 1 − 125 v 2 + 75 v 5 − 75 v (^) s ; v 5 ′ = − 12 v 1 + 30 v 2 − 42 v 5 + 2 v (^) s. 19.4: v′ C 1 = − 6. 67 vC 1 +

  1. 67 vs + 0. 333 v s′ ; v′ C 2 = − 6. 67 vC 2 + 0. 667 v s′.

19.4 The Use of Matrix Notation

In the examples that we studied in the previous two sections, the state vari- ables selected were the capacitor voltages and the inductor currents, except for the final case, where it was not possible to draw a normal tree and only one inductor current could be selected as a state variable. As the number of inductors and capacitors in a network increases, it is apparent that the num- ber of state variables will increase. More complicated circuits thus require a greater number of state equations, each of which contains a greater array of state variables on the right-hand side. Not only does the solution of such a set of equations require computer assistance, 1 but also the sheer effort of writing down all the equations can easily lead to writer’s cramp.

In this section we will establish a useful symbolic notation that minimizes the equation-writing effort.

Let us introduce this method by recalling the normal-form equations that we obtained for the circuit of Fig. 19.6, which contained two independent sources, vs and i (^) s. The results were given as Eqs. [22] to [24] of Sec. 19.3:

v′ C 1 = − 2 v (^) C 1 − 6 i (^) L + 2 v (^) s v′ C 2 = − 7 i (^) L − 7 i (^) s i L′ = 35 v (^) C 1 + 5 v (^) C 2 + 90 i (^) L − 35 v (^) s

[22]

[23]

[24]

(^1) Although SPICE can be used to analyze any of the circuits we meet in this chapter, other computer programs are used specifically to solve normal-form equations.

SECTION 19.4 The Use of Matrix Notation 19-

Using the matrices we have defined in the preceding paragraphs, we can combine these results to obtain a concise, compact representation of the state equations, q ′^ = aq + f [32]

The matrices q ′^ and f , and the matrix product aq , are all (n × 1 ) column matrices.

The advantages of this representation are obvious, because a system of 100 equations in 100 state variables has exactly the same form as one equation in one state variable.

For the example of Eqs. [22] to [24], the four matrices in Eq. [32] may be written out explicitly as

  

v′ C 1 v′ C 2 i′ L

v (^) C 1 v (^) C 2 i (^) L

2 v (^) s − 7 i (^) s − 35 v (^) s

 [33]

Everyone except full-blooded matrix experts should take a few minutes off to expand Eq. [33] and then check the results with Eqs. [22] to [24]; three identical equations should result.

What now is our status with respect to state-variable analysis? Given a circuit, we should be able to construct a normal tree, specify a set of state variables, order them as the state vector, write a set of normal-form equations, and finally specify the system matrix and the forcing-function vector from the equations.

The next problem facing us is to obtain the explicit functions of time that the state variables represent.

Practice

19.5. (a) Using the state vector q =

[ i v

] , determine the system matrix and the forcing-function vector for the circuit of Fig. 19.11. (b) Repeat for the state vector q =

[ v i

] .

Figure 19.

10 

2  +^ v –

0.1 F

  • i

20 u ( t ) V^ 0.5 H^3 u ( t ) A

Ans:

[ − 3. 33 0. 3333 − 1. 667 − 0. 833

] ,

[

  1. 3 u(t) − 8. 33 u(t)

] ;

[ − 0. 833 − 1. 667

  1. 333 − 3. 33

] ,

[ − 8. 33 u(t)

  1. 3 u(t)

]

19-14 CHAPTER 19 State-Variable Analysis

19.5 Solution of the First-Order

Equation

The matrix equation representing the set of normal-form equations for a general nth-order system was obtained as Eq. [32] in the previous section, and it is repeated here for convenience as Eq. [34]:

q ′^ = aq + f [34]

The (n × n) system matrix a is composed of constant elements for our time- invariant circuits, and q ′, q , and f are all (n × 1 ) column matrices. We need to solve this matrix equation for q , whose elements are q 1 , q 2 ,... , qn. Each must be found as a function of time. Remember that these are the state variables, the collection of which enables us to specify every voltage and current in the given circuit. Probably the simplest way of approaching this problem is to recall the method by which we solved the corresponding first-order (scalar) equation back in Sec. 8.8. We will quickly repeat that process, but, as we do so, we should keep in mind the fact that we are next going to extend the procedure to a matrix equation. If each matrix in Eq. [34] has only one row and one column, then we may write the matrix equation as

[q 1 ′(t)] = [a 11 ][q 1 (t)] + [f 1 (t)] = [a 11 q 1 (t)] + [f 1 (t)] = [a 11 q 1 (t) + f 1 (t)]

and therefore, we have the first-order equation

q 1 ′(t) = a 11 q 1 (t) + f 1 (t) [35]

or q 1 ′(t) − a 11 q 1 (t) = f 1 (t) [36]

Equation [36] has the same form as Eq. [12] of Sec. 8.8, and we therefore proceed with a similar method of solution by multiplying each side of the equation by the integrating factor e−ta^11 :

e−ta^11 q 1 ′(t) − e−ta^11 q 1 (t) = e−ta^11 f 1 (t)

The left-hand side of this equation is again an exact derivative, and so we have d dt

[e−ta^11 q 1 (t)] = e−ta^11 f 1 (t) [37]

The order in which the various factors in Eq. [37] have been written may seem a little strange, because a term which is the product of a constant and a time function is usually written with the constant appearing first and the time function following it. In scalar equations, multiplication is commutative, and so the order in which the factors appear is of no consequence. But in the matrix equations which we will be considering next, the corresponding

19-16 CHAPTER 19 State-Variable Analysis

E X A M P L E 19. Find vC (t) for the circuit of Fig. 19.12.

Figure 19. 2 

50 cos 10 t u ( t ) V (^) – vC

0.1 F

A first-order circuit for which v (^) C (t) is to be found through the methods of state-variable analysis.

The normal-form equation is easily found to be

v C′ = − 5 vC + 250 cos 10t u(t)

Thus, a 11 = −5, f 1 (t) = 250 cos 10t ut (t), and we may substitute directly in Eq. [39] to obtain the solution:

vC (t) = e−^5 t

∫ (^) t

−∞

e^5 z250 cos 10z u(z) dz

The unit-step function inside the integral may be replaced by u(t) outside the integral if the lower limit is changed to zero:

vC (t) = e−^5 t^ u(t)

∫ (^) t

0

e^5 z250 cos 10z dz

Integrating, we have

v (^) C (t) = e−^5 t^ u(t)

[ 250 e^5 z 52 + 10 2

(5 cos 10z + 10 sin 10z)

]t

0 or vC (t) = [− 10 e−^5 t^ + 10 (cos 10t + 2 sin 10t)]u(t) [41]

The same result may be obtained through the use of Eq. [40]. Since vC ( 0 ) = 0, we have v (^) C (t) = e−^5 t^ ( 0 ) + e−^5 t

∫ (^) t

0

e^5 z250 cos 10z u(z) dz

= e−^5 t^ u(t)

∫ (^) t

0

e^5 z250 cos 10z dz

and this leads to the same solution as before, of course. However, we also see that the entire solution for v (^) C (t) is the zero-state response, and there is no zero-input response. It is interesting to note that, if we had solved this problem by the methods of Chap. 8, we would have set up a natural response,

v (^) C,n (t) = Ae−^5 t

and computed the forced response by frequency-domain methods,

VC,f =

50 2 − j 1 (−j 1 ) = 10 − j 20

SECTION 19.5 Solution of the First-Order Equation 19-

so that vC,f (t) = 10 cos 10t + 20 sin 10t

Thus, vC (t) = Ae−^5 t^ + 10 (cos 10t + 2 sin 10t) (t > 0 )

and the application of the initial condition, v (^) C ( 0 ) = 0, leads to A = −10 and an expression identical to Eq. [41] once again. Looking at the partial responses obtained in the two methods, we therefore find that

vC,zero−input = 0 v (^) C,zero−state = [− 10 e−^5 t^ + 10 (cos 10t + 2 sin 10t)]u(t) v (^) C,n = − 10 e−^5 t^ u(t) v (^) C,f = 10 (cos 10t + 2 sin 10t)u(t)

E X A M P L E 19.

The switch in the circuit of Fig. 19.13 is thrown at t = 0, and the form of the circuit changes at that instant. Find iL (t) for t > 0.

Figure 19.

iL

3  6 

t = 0

12 V 0.5 H 60 V

A first-order example in which the form of the circuit changes at t = 0.

We represent everything before t = 0 by the statement that iL ( 0 ) = 4 A, and we obtain the normal-form equation for the circuit in the configuration it has after t = 0. It is i L′ (t) = − 4 iL (t) − 24

This time, we must use Eq. [40], since we do not have a single normal-form equation that is valid for all time. The result is

i (^) L (t) = e−^4 t^ ( 4 ) + e−^4 t

∫ (^) t

0

e+^4 z^ (− 24 ) dz

or i (^) L (t) = 4 e−^4 t^ − 6 ( 1 − e−^4 t^ ) (t > 0 )

The several components of the response are now identified:

i (^) L, zero-input = 4 e−^4 t^ (t > 0 ) i (^) L, zero-state = − 6 ( 1 − e−^4 t^ ) (t > 0 )

while our earlier analytical methods would have led to

i (^) L,n = 10 e−^4 t^ (t > 0 ) i (^) L,f = − 6 (t > 0 )

SECTION 19.6 The Solution of the Matrix Equation 19-

Although the presence of a matrix as an exponent may seem to be somewhat strange, the function e−t a^ may be defined in terms of its infinite power series expansion in t,

e−t a^ = I − t a +

t^2 2!

( a )^2 −

t^3 3!

( a )^3 + · · · [44]

We identify I as the (n × n) identity matrix,

I =

such that Ia = aI = a

The products ( a )^2 , ( a )^3 , and so forth in Eq. [44] may be obtained by repeated multiplication of the matrix a by itself, and therefore each term in the ex- pansion is again an (n × n) matrix. Thus, it is apparent that e−t a^ is also an (n × n) square matrix, but its elements are all functions of time in general.

Again following the first-order procedure, we would now like to show that the left-hand side of Eq. [43] is equal to the time derivative of e−t a^ q. Since this is a product of two functions of time, we have

d dt

(e−t a^ q ) = e−t a^

d dt

( q ) +

[

d dt

(e−t a )

]

q

The derivative of e−t a^ is obtained by again considering the infinite series of Eq. [44], and we find that it is given by − a e−t a. The series expansion can also be used to show that − a e−t a^ = −e−t a^ a. Thus

d dt

(e−t a^ q ) = e−t a^ q ′^ − e−t a^ aq

and Eq. [43] helps to simplify this expression into the form

d dt

(e−t a^ q ) = e−t a^ f

Multiplying by dt and integrating from −∞ to t, we have

e−t a^ q =

∫ (^) t

−∞

e−z a^ f (z) dz [45]

To solve for q , we must premultiply the left-hand side of Eq. [45] by the matrix inverse of e−t a. That is, any square matrix b has an inverse b −^1 such that b −^1 b = bb −^1 = I. In this case, another power series expansion shows that the inverse of e−t a^ is e t a , or

e t a e−t a^ q = Iq = q

and we may therefore write our solution as

q = e t a

∫ (^) t

−∞

e−z a^ f (z) dz [46]

19-20 CHAPTER 19 State-Variable Analysis

In terms of the initial value of the state vector,

q = e t a^ q ( 0 ) + e t a

∫ (^) t

0

e−z a^ f (z) dz [47]

The function e t a^ is a very important quantity in state-space analysis. It is called the state-transition matrix , for it describes how the state of the system changes from its zero state to its state at time t. Equations [46] and [47] are the nth-order matrix equations that correspond to the first-order results we numbered [39] and [40]. Although these expressions represent the “solutions” for q , the fact that we express e t a^ and e−t a^ only as infinite series is a serious deterrent to our making any effective use of these results. We would have infinite power series in t for each qi (t), and while a computer might find this procedure compatible with its memory and computational speed, we would probably have other, more pressing chores to handle than carrying out the summation by ourselves.

Practice

19.7. Let a =

[ 0 2 − 1 1

] and t = 0 .1 s. Use the power series expansion to find the (a) matrix e−t a ; (b) matrix e t a ; (c) value of the determinant of e−t a ; (d) value of the determinant of e t a ; (e) product of the last two results.

Ans:

[

  1. 9903 − 0. 1897
  2. 0948 0. 8955

] ;

[

  1. 9897 0. 2097 − 0. 1048 1. 0945

] ; 0.9048; 1.1052; 1.0000.

19.7 A Further Look at the

State-Transition Matrix

In this section we seek a more satisfactory representation for e t a^ and e−t a. If the system matrix a is an (n × n) square matrix, then each of these exponen- tials is an (n×n) square matrix of time functions, and one of the consequences of a theorem developed in linear algebra, known as the Cayley-Hamilton theorem, shows that such a matrix may be expressed as an (n − 1 )st-degree polynomial in the matrix a. That is,

e t a^ = u 0 I + u 1 a + u 2 ( a )^2 + · · · + u (^) n− 1 ( a ) n−^1 [48]

where each of the ui is a scalar function of time that is still to be determined; the a i^ are constant (n × n) matrices. The theorem also states that Eq. [48] remains an equality if I is replaced by unity and a is replaced by any one of the scalar roots si of the nth-degree scalar equation,

det( a − s I ) = 0 [49]

The expression det( a − s I ) indicates the determinant of the matrix ( a − s I ). This determinant is an nth-degree polynomial in s. We assume that the n roots are all different. Equation [49] is called the characteristic equation of the matrix a , and the values of s which are the roots of the equation are known as the eigenvalues of a. These values of s are identical with the natural frequencies that we dealt with in Chap. 15 as poles of an appropriate transfer function. That is, if our