State-Space Models And The Discrete-Time Realization

2y ago
17 Views
2 Downloads
906.50 KB
52 Pages
Last View : 6d ago
Last Download : 3m ago
Upload by : Ophelia Arruda
Transcription

5–1ECE4710/5710: Modeling, Simulation, and Identification of Battery DynamicsState-Space Models and theDiscrete-Time Realization Algorithm5.1: Introduction to state-space models The coupled PDEs derived in earlier chapters of notes are toocomplex to be used in real-time applications. They are “infinite dimensional.” For every point in time t, there arean infinite number of x- and r- dimension variables to solve for. i.e., cs (x, r, t), c̄e (x, t), φ̄s (x, t), φ̄e (x, t), for a pseudo-twodimensional model.cell ingempirical system IDmolecularscale PDEsdirect parametermeasurement micro (particle )scale PDEsdirect parametermeasurementcontinuum scale PDEsvolumeaveragingcell scaleODEsphysics basedpredictionscreated via model order reductionphysicsbasedmodelingWe desire to create cell-scale ODEs that retain, as much as possible,the fidelity of the continuum-scale PDEs, but which reduce their orderfrom infinite order to some (small) finite order. The result is a small coupled set of ODEs, which can be simulatedvery easily and quickly. In this chapter, we introduce “state-space” models, which is the finalform of the reduced-order models we will develop.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm 5–2We then preview the approach to generate the state-space modelsfrom the PDEs of the variables of interest: We start by generating transfer functions for each PDE; We then use the “discrete-time realization algorithm” to converttransfer functions to state-space form.A quick introduction to state-space models Transfer functions provide a system’s input-output mapping only:u[k] G(z) y[k]. State-space models provide access to what is going on inside thesystem, in addition to the input-output mapping. What’s going on inside the system is called the system’s “state”.DEFINITION :The internal state of a system at time k0 is the minimumamount of information at k0 that, together with the input u[k], k k0,uniquely determines the behavior of the system for all k k0. State-space models describe a system’s dynamics via two equations: The “state equation” describes how the input influences the state; The “output equation” describes how the state and the input bothdirectly influence the output. Discrete-time LTI state-space models have the following form:x[k 1] Ax[k] Bu[k]y[k] C x[k] Du[k],where u[k] Rm is the input, y[k] R p is the output, and x[k] Rn isthe state vector.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–3ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm Different systems havedifferent n, A, B, C, and D. A block diagram can helpvisualize the signal flows:EXAMPLE :Convert the following single-input single-output differenceequation into a discrete-time state-space form,y[k] a1 y[k 1] a2 y[k 2] a3 y[k 3] b1u[k 1] b2u[k 2] b3u[k 3]. We’re going to do the conversion by first recognizing that the transferfunction of this system is,b1 z 2 b2 z b3Y (z)G(z) 3 .z a1 z 2 a2 z a3 U (z) Break up transfer function into two parts. G p (z) V (z)/U (z) containsall of the poles:V (z)1 G p (z) 3z a1 z 2 a2 z a3U (z) v[k 3] a1v[k 2] a2v[k 1] a3v[k] u[k]. Choose current and advanced versions of v[k] as state (this is achoice: there are other equally valid choices, as we will see)hiTx[k] v[k 2] v[k 1] v[k] . Then 1v[k 2] a1 a2 a3v[k 3] x[k 1] v[k 2] 100 v[k 1] 0 u[k].0v[k]010v[k 1]Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–4ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm We now add zeros, G(z) b1 z 2 b2 z b3 G p (z). Equivalently, 2 Y (z) b1 z b2 z b3 V (z),or, y[k] b1v[k 2] b2v[k 1] b3v[k]. In summary, we have the state-space model: 1 a1 a2 a3 x[k 1] 100 x[k] 0 u[k]0y[k] h100ihib1 b2 b3 x[k] 0 u[k]. Note: There are many other equally valid state-space models of thisparticular transfer function. We will soon see how they are related. Many discrete-time transfer functions are not strictly proper. Solve bypolynomial long division, and setting D equal to the quotient. MATLAB command [A,B,C,D] tf2ss(num,den,Ts) converts arational-polynomial transfer function form to state-space form.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–55.2: Working with state-space systemsState-space to transfer function In the prior example, we saw it is possible to convert from a differenceequation (or transfer function) to a state-space form quite easily. Now, we’ll see that the opposite translation is also straightforward. Start with the state equationsx[k 1] Ax[k] Bu[k]y[k] C x[k] Du[k]. Take the z-transform of both sides of both equationsz X(z) zx[0] AX(z) BU(z)Y (z) C X(z) DU(z),or(z I A)X(z) BU(z) zx[0]X(z) (z I A) 1 BU(z) (z I A) 1 zx[0]. This gives, 1 1Y (z) [C(zI A)B D]U(z) C(zI A) {z}{z zx[0]} .transfer function of system So,response to initial conditionsY (z) C(z I A) 1 B D.U(z)adj(z I A) , so we can write a system’sdet(z I A)G(z) Note that (z I A) 1transfer function asG(z) C adj(z I A)B D det(z I A).det(z I A)Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–6ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm Extremely important observation: The poles of the system are wheredet(z I A) 0, which (by definition) are the eigenvalues of A.Transformation State-space representations of a particular system’s dynamics arenot unique. Selection of state x[k] is somewhat arbitrary. To see this, analyze the transformation ofx[k 1] Ax[k] Bu[k]y[k] C x[k] Du[k],where we let x[k] T w[k], where T is an invertible (similarity)transformation matrix. Then,(T w[k 1]) A (T w[k]) Bu[k]y[k] C (T w[k]) Du[k]. Multiplying the first equation by T 1 givesw[k 1] T 1{zAT} w[k] T 1{z B} u[k]B̄Āy[k] {z}C T w[k] {z}D u[k]C̄D̄so, w[k 1] Āw[k] B̄u[k]y[k] C̄w[k] D̄u[k]. To show that H 1(z) H 2(z),H 1(z) C(z I A) 1 B D C T T 1(z I A) 1 T T 1 B DLecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–7ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm (C T)[T 1(z I A)T ] 1(T 1 B) D C̄(z I Ā) 1 B̄ D̄ H 2(z). Transfer function not changed by similarity transformCONCLUSION:Can arrive at state-space representations having identicalinput-output relationship but different ( A, B, C, D) matrices.EXAMPLE :Consider transforming the system a1 a2 a31 A 100 , B 0 ,with0100hih iC b1 b2 b3 ,D 0T T 1 0 0 1 0 1 0 .1 0 0 Note that multiplying on the right by T flips the original entries left-toright; multiplying on the left flips the original entries top-to-bottom. So, for this transformation matrix, we get: 0 0 1 a1 a2 a30 0 1 Ā T 1 AT 0 1 0 100 0 1 0 1 0 00101 0 0 010 001 a3 a2 a1 0 0 110 B̄ T 1 B 0 1 0 0 0 1 0 001Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization AlgorithmC̄ C T hD̄ D 0. b1 b2 b3i 5–80 0 1hi 0 1 0 b3 b2 b11 0 0We can find the transfer function of this new form asG(z) C̄(z I Ā) 1 B̄ D̄ 1 0z00010hi b3 b2 b1 0 z 0 001 0 010 0 z a3 a2 a1 1 0z 10hi b3 b2 b1 0 z 1 0 1a3 a2 z a1 201hi z a1 z a2 a1 z b3 b2 b1 a3z 2 a1 z z 0 a3 z a2 z a3 z 21 z 3 a1 z 2 a2 z a3 hi 1 b3 b2 b1 z z2b1 z 2 b2 z b3 3 3,z a1 z 2 a2 z a3z a1 z 2 a2 z a3which was the transfer function we started with before transformation.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–9ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5.3: Discrete-time Markov parameters It turns out that the discrete unit-pulse response of a state-spacesystem has a special form that is important to us later. For example, let’s look at the unit-pulse response of a single-inputstate-space system. (Note that, by definition, x[0] 0 when finding aunit-pulse response). We find thaty[0] C x[0] Du[0] D,y[1] C x[1] Du[1] C B,y[2] C x[2] Du[2] C AB,.y[k] C Ak 1 B, x[1] Bx[2] ABx[3] A2 B.k 1.These unit-pulse-response values, { D, C B, C AB, C A2 B, C A3 B, . . .}are called the Markov parameters of the system. This turns out to be of critical importance to realizing our transferfunctions, as we will see. Specifically, we define the Markov parameters to be: D,k 0;gk C Ak 1 B, k 0.CLARITY ISSUE : For SISO systems, the Markov parameters arescalars. For a single-input multi-output (SIMO) system the Markovparameters are (column) vectors.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–10 The ith entry (row) of each Markov parameter is computed asthe unit-pulse response from the input to the ith output. Equivalently, the entire vector Markov parameter is theunit-pulse response from the input to the vector output. For multi-input single-output (MISO) systems, the Markovparameters are row vectors. The jth entry (column) of each Markov parameter is computedvia the unit-pulse response from the jth input to the output. For multi-input multi output (MIMO) systems, the Markovparameters are matrices. The (i, j)th entries yield the the unit-pulse response from the jthinput to the ith output. Equivalently, the jth column of each Markov parameter is vector(as in the SIMO case) which is computed via the unit-pulseresponse from the jth input to the vector output.EXAMPLE :Given the following discrete-time system, with zero initialcondition, find the unit-pulse response:#" #"hi0.5 01,C 1 1 ,D 0.A ,B 0 10 The Markov parameters are given byg k { D, C B, C AB, C A2 B, . . .} {0, 1, 0.5, 0.25, . . .}.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–11ECE4710/5710, State-Space Models and the Discrete-Time Realization AlgorithmMATLAB’s impulse.mcommand confirms this result:A [0.5 0; 0 1];B [1 ; 0];C [1 -1]; D 0;sys ss(A,B,C,D,-1);y impulse(sys,0:15);stem(0:15,y,'filled');1.0Value Unit-pulse response of sample system0.50051015Time (samples)Before proceeding. We have now quickly previewed state-space models, with the claimthat there will be a method to represent our battery models in thatparticular form. We now begin to investigate that claim—the first step is to createtransfer-function models for the variables of interest. In this chapter, we look at representing cs as a transfer function; in thenext chapter we look at the remainder of the model equations. Note that in chapter 3 we used symbols without an over-line toindicate point-wise values for variables of interest: i.e., cs , ce , φs , φe . In chapter 4 we used symbols with an over-line to indicate volumeaverage versions of these point-wise variables: i.e., c̄e , φ̄s , and φ̄e . We now drop the over-line notation, because otherwise theequations get so highly decorated that they are impossible toparse. We are still talking about the volume-average quantities ofchapter 4.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–12ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5.4: Equations describing the solid dynamicses,e (s)/J (s)Finding the transfer function C To find the transfer function for cs , we follow the approach byJacobsen and West1 We start with the underlying partial-differential equation, cs (r, t) c(r,t)1 sDs r 2, 2 tr r rwith standard boundary conditions, cs (0, t) cs (Rs , t)Ds 0,andDs j (t), r rand with initial equilibrium concentration,cs (r, 0) cs,0,0 r Rs . Note that we run into problems solving this PDE directly if cs,0 6 0. So, to enforce a homogeneous PDE in later steps, we definec̃s (r, t) cs (r, t) cs,0. The “tilde” notation denotes the differencebetween an absolute quantity and its equilibrium set-point. If we assume constant Ds , the differential equations become: c̃(r,t)Ds c̃s (r, t)sr2, 2 tr r rwith boundary conditions, c̃s (0, t) c̃s (Rs , t)Ds 0,andDs j (t),t 0, r rand with initial equilibrium concentration,c̃s (r, 0) 0,1t 0,0 r Rs .Jacobsen, T., and West, K., “Diffusion Impedance in Planar, Cylindrical and SphericalSymmetry,” Electrochimica Acta, 40(2), 1995, pp. 255–62.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm 5–13We continue by taking the Laplace transform of the PDE: D2es (r, s)es (r, s) c̃0 srCsC2r r r 2eeD C(r,s) C(r,s)s2es (r, s) s 2r ssC. r22r r rThis is a 2nd-order ordinary differential equation in r, which may bewrittenes (r, s)es (r, s) 2 Cs e 2CC s (r, s) 0. r 2r rDs This homogeneous differential equation has a solution of the form r r ssABes (r, s) exp rC exp rrDsrDsBA exp(β(r)) exp( β(r)),rrpwhere we define β(r) r s/Ds . We note that β(r) is also a functionof s, but we omit this dependence in the notation for compactness. The constants A and B are chosen to satisfy the boundary conditions. Consider first the outer boundary condition at r Rs , which is c̃s (r, t)Ds j (t). rr Rs The equivalent Laplace-domain boundary condition ises (r, s) C J (s).Ds rr Rs es (r, s)/ rTo substitute this in, we will need to compute CqA Ds s r exp(β(r)) B exp( β(r))es (r, s) C rr2Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm A exp(β(r)) BqsrDs5–14exp( β(r))r2A(β(r) 1) exp(β(r)) B(1 β(r)) exp( β(r)). r2 We substitute r Rs and the boundary conditiones (r, s) CA(β(Rs ) 1) exp(β(Rs )) B(1 β(Rs )) exp( β(Rs )) rRs2r Rs A(β(Rs ) 1) exp(β(Rs )) B(1 β(Rs )) exp( β(Rs ))J (s) .DsRs2 This gives us an expression for J (s),DsJ (s) 2 ( A(β(Rs ) 1) exp(β(Rs )) B(1 β(Rs )) exp( β(Rs ))) .Rs If we immediately substitute the second boundary condition at r 0,we run into some divide-by-zero issues. So, instead, we substitute r rδ , which we think of as a very smallvalue. We will then later take the limit as rδ 0.A(β(rδ ) 1) exp(β(rδ )) B(1 β(rδ )) exp( β(rδ )).0 rδ2 This allows us to writeA(β(rδ ) 1) exp(β(rδ ))B(1 β(rδ )) exp( β(rδ )) rδ2rδ2A B (1 β(rδ )) exp( β(rδ )).(β(rδ ) 1) exp(β(rδ ))We now take the limit as rδ 0, and find that A B.es (s, r)/J (s)We are now ready to construct the transfer function CLecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–15 es (r, s) Rs2 CA exp(β(r)) B exp( β(r)) J (s)Ds r A(β(Rs ) 1) exp(β(Rs )) B(1 β(Rs )) exp( β(Rs )) exp(β(r)) exp( β(r)) Rs2 A Ds r A (1 β(Rs )) exp(β(Rs )) (1 β(Rs )) exp( β(Rs )) Rs2exp(β(r)) exp( β(r)) .Ds r (1 β(Rs )) exp(β(Rs )) (1 β(Rs )) exp( β(Rs )) This expression can be used to determine the lithium concentrationanywhere within the particle. However, we are most interested in determining the concentration atthe surface of the particle, where r Rs . So, we substitute r Rs es,e (s)exp(β(Rs )) exp( β(Rs ))RsC. J (s)Ds (1 β(Rs )) exp(β(Rs )) (1 β(Rs )) exp( β(Rs ))To compact the notation yet again, write β(Rs ) as simply β, es,e (s)exp(β) exp( β)CRs J (s)Ds (1 β) exp(β) (1 β) exp( β)"#Rsexp(β) exp( β) Ds exp(β) exp( β) β exp(β) exp( β)" exp(β) exp( β) #Rsexp(β) exp( β) Ds exp(β) exp( β) βexp(β) exp( β) Rstanh(β)1Rs . Ds tanh(β) βDs 1 β coth(β)p To recap to this point, re-expanding notation, where β(s, r) rs/Ds , R1es,e (s) sCJ (s).Ds 1 β(s, Rs ) coth (β(s, Rs )) Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–165.5: Removing the integrator pole While not immediately obvious by looking at the transfer function, ites,e (s)/J (s) is unstable: There is a pole at s 0.turns out that C This is intuitively clear, however, because we know that a stepinput will result in ever-increasing concentration. This will be important when we look at how to convert the transferfunction to a state-space model. To make a stable transfer function, definees,e (s) Ces,e (s) Ces,avg (s), where Ces,avg (s) is the bulk (average)1Cconcentration in the solid, less cs,0. Note that we can write c̃s,avg (t1) for some arbitrary point in time t1 asZ t1Influx of Li, [mol s 1]dt.c̃s,avg(t1) 30 Volume of particle [m ] Note two things:4π Rs3 [m3];3 The influx of lithium is j (t) [mol m 2 s 1 ], occurring over thesurface area 4π Rs2 [m2]. The volume of a sphere of radius Rs is This givesZt1 j (t) · 4π Rs2c̃s,avg(t1) dt43πR0s3Z3 t1 j (t) dtRs 03dc̃s,avg (t) j (t).dtRsLecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–17 Note that this result is perfectly general. We made no assumptions onhow the lithium concentration is distributed inside the particle. Taking Laplace transforms, we find:es,avg (s)C3 1 .J (s)Rs s Therefore,es,avg (s)es,e (s) Ces,e (s) C1C J (s)J (s)J (s) 3tanh(β)Rs Ds tanh(β) βRs s"#3Dstanh(β) β)(tanh(β)Rss Rs2 Dstanh(β) β#"3Rs tanh(β) β 2 (tanh(β) β) Dstanh(β) β Rs β 2 tanh(β) 3 (tanh(β) β) Dsβ 2 (tanh(β) β) Rs (β 2 3) tanh(β) 3β .Dsβ 2 (tanh(β) β)State-space realization problem It turns out that for this specific case, we can find all the poles andzeros using a simple numeric method, and use that information tomake a discrete-time state-space model. For the transfer functions we develop in the next chapter, however,this cannot be done. So, we must turn to alternative implementation approaches.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–18 One method is to use nonlinear optimization to select poles andresidues to attempt to match the frequency response of thetransfer functions. This is fraught with problems. We next introduce another approach, which directly gives us adiscrete-time state-space approximate model of our transferfunctions. This system-identification problem for state-space systems issometimes called the “realization problem.” That is, we wish to find a realization (a set of A, B, C, and Dmatrices) that describe a system’s dynamics.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–19ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5.6: State-space realization problem: Ho–Kalman method For now, we assume that we are able to find the Markov parametersof our transfer functions.PROBLEM:Given a system’s Markov parameters, find the systemdimension n and ( A, B, C, D), up to similarity transforms. One of the first (maybe the first) state-space realization methods wasintroduced by Ho and Kalman.2 It is key to the discrete-time realization algorithm we will develop. Notice that something curious happens when we multiply thefollowing matrices together: C CA hi C A2 B AB A2 B · · · An 1 B {z} . CC An 1{z} O 2n 1CBC AB C A B · · · C A BC AB C A2 B C A3 BC A2 B C A3 B C A4 B.C An 1 B· · · C A2n 2 B . For reasons beyond the scope of our discussion here, O is calledthe “observability matrix” and C is called the “controllability matrix.”2B.L. Ho and R.E. Kalman, “Effective Construction of Linear State Variable Models fromInput/Output Functions,” Regelungstechnik, vol. 14, no. 12, pp. 545–8, 1966.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–20 Notice that we get a Hankel matrix—a matrix having constant skewdiagonals (an upside-down Toeplitz matrix). Note also that the values on the skew diagonals are the Markovparameters of the system (excluding g0 and gk for k 2n 1) g g · · · gn 1 2 g2 g3 H OC . . . gn· · · g 2n 1 Ho–Kalman assumes that we know the Markov parameters. Knowledge of g 0 gives us D directly. Knowledge of the rest of the Markov parameters will ultimatelyresult in A, B, and C. To use Ho–Kalman, we must first form the Hankel matrix H. The next step is to factor H OC into its O and C components. The third step is to use O and C to find A, B, and C.ISSUE I :We don’t know n. So, how do we form H in the first place? Thatis, when do we stop adding unit-pulse-response values to H?PRELIMINARY ANSWER :The rank of H is equal to n. Keep addingdata until the rank doesn’t increase.ISSUE II :How do we compute A, B, and C from O and C?ANSWER:C is extracted as the first block row of O; B is extracted asthe first block column of C. We’ll see how to get A shortly.ISSUE III :How do we do the factoring of H into O and C?Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–21ANSWER:It doesn’t matter, at least in principle. Any matrices O andC such that OC H are okay. To see this latter point, consider what happens to O and C when thestate-space model undergoes a similarity transformation. Recall that Ā T 1 AT, B̄ T 1 B, and C̄ C T . The observability and controllability matrices of the newrepresentation are SC S S CA S O. CT C T T 1 AT OT. n 1 1n 1SC T (T AT )CSAhin 1SC SB SASB ··· SA SBhi 1 1 1 1n 1 1 T B T AT T B · · · (T AT ) T B T 1C.SSTherefore, OC (OT )(T 1C) OC If we factor H one way, we end up with a representation that hasone set of O and C. If we factor H any other way, we end up with a representation thathas an alternate set of Ō and C̄. But, these representations are related via a similaritytransformation T . That is, no matter how we factor H, we end up with different A, B,and C matrices, but the same input-output relationship (same transferfunction, same unit-pulse response, but different state descriptions).Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–22 For example, we could choose to let O I, and then C H. Thiswill result in an A, B, and C that are in “observability canonicalform.” (cf. ECE5520) Or, we could choose to let C I, and then O H. This will resultin an A, B, and C that are in “controllability canonical form.”ISSUE IV :Is there a “best” way to factor H? Yes. . . enter the SVD.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

5–23ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5.7: Singular value decompositionAny rectangular matrix A Rm n , where rank( A) r, can befactored into the form:A U6V T .FACT : U [u1, . . . , ur ] Rm r , and U T U I, and ui are the left oroutput singular vectors of A.V [v 1, . . . , vr ] Rn r , and V T V I, and v i are the right or inputsingular vectors of A.6 diag(σ1, . . . , σr ) where σ1 · · · σr 0, and σi are the(nonzero) singular values of A.The above is called a compact SVD. Most often, we compute a fullSVD, where U [u1 , . . . , um ] Rm m, and U T U I, V [v 1 , . . . , v n ] Rn n , and V T V I, The matrix 6 Rm n is “diagonal” σ10 σ100 0. . .or6 or6 6 0 0σn 0σm 00σn0 0 0 σ1when m n, m n and m n, respectively. In this case, σ1 · · · σr 0, and σi 0 for i r. In MATLAB, svd.m and svds.m We often write the full SVD as partitioned:Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithmhi A U1 U2 610r (n r )0(m r ) r 0(m r ) (n r )where A U 16 1 V 1T is the compact SVD. V 1TV 2T 5–24 ,Note that the singular values are related to matrix norm. In particular,k Ak σ1.Can view operation y Ax as y (U6V T )x, decomposing theoperation into Computing coefficients of x along the input directions v 1 , . . . , v r(rotating by V T ) v 1 is the most sensitive (highest gain) input direction Scaling the coefficients by σi (dilation) Reconstituting along output directions u1 , . . . , ur . u1 is the highest gain output direction. Av 1 σ1 u1.SVD gives a picture of gain as a function of input/output directions.EXAMPLE :Consider A R4 4 with 6 diag(10, 7, 0.1, 0.05). Input components along directions v 1 and v 2 are amplified (by about10) and come out mostly along the plane spanned by u1 and u2. Input components along directions v 3, v 4 are attenuated (by about10). k Axk / kxk can range between 10 and 0.05; A is nonsingular. For some applications you might say that A is effectively rank 2 (thiswill be important for us later).Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–25Low-rank approximations Suppose that A Rm n and rank( A) r, with SVDrXTA U6V σi ui viT .i 1 We want to approximate A by Â, where rank( Â) p r such that A in the sense that A  is minimized.The optimal rank p approximator is  A  rXi p 1pXσi ui viT and hencei 1σi ui viT σ p 1because σ p 1 is the maximum remaining singular value.SVD dyads ui v iT are ranked in order of ‘importance’;take p of them to get a rank p approximant.INTERPRETATION:APPLICATION :We can use this idea to simplify models (very useful).Suppose that y Ax v where A R100 30 has SVs 10, 7, 2, 0.5, 0.01, . . . , 0.0001.kxk is on the order of 1, and unknown error or noise v has norm onthe order of 0.1.Then, the terms σi ui viT x for i 5, . . . , 30 are substantially smallerthan the noise term v.So, we can approximate y Ax v by the much simplified model4Xy σi ui v iT x v.i 1Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–265.8: Back to Ho–Kalman Recall Ho–Kalman “ISSUE I,” how do we form the Hankel matrix H ifwe don’t know the dimension of the system state n? To address this issue, consider the infinite, skew-diagonal matrix H : g1 g2 g3 g4 · · · g2 g3 g4 g5 · · · H g 3 g 4 g 5 g 6 · · · g4 g5 g6 g7 · · · . . . . . . .where the entries g k correspond to the Markov parameters for thegiven system. This form is called an infinite Hankel matrix, or Hankel operator. We can also define a finite Hankel matrix, formed by the first k rowsand l columns of H g1 g2g3 · · ·gl g2 g3g 4 · · · gl 1 Hk,l g 3 g 4g 5 · · · gl 2 . . . g k g k 1 g k 2 · · · g k l 1 This finite Hankel matrix factors into Hk,l Ok Cl where: C hi CA 2l 1 Ok . , C l B AB A B · · · A B . C Ak 1 The approach we will take is to make a Hk,l of larger size than weexpect for a hypothesized value of n. That is, k n and l n.Lecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm5–27 Therefore O k 6 O and C l 6 C even though the matrices have thesame general form. We call Ok the extended observability matrixand C l the extended controllability matrix. We then apply the SVD to Hk,lHk,l U6V T U6 1/26 1/2 V T U6 1/2 T T 16 1/2 V T 1 1/2 T1/2(T6{z V }) . (U6T) {z } Ok ClThe first n non-zero singular values provide insight into model order. Problem: Noisy data yields more than n non-zero singular values. Need to look at a few and determine when there is a “significant”drop off in the magnitude of the SVDs. Note that this approach also gives us O k and C l automatically in a“balanced realization”. Solves “ISSUE III” and “ISSUE IV ”. T must be invertible, but selection of T is otherwise arbitrary.Usually use T I. How to decompose further into ( A, B, C) to solve “ISSUE II”? Note the shift property of a Hankel matrix. If we shift H up by oneblock row, we get H k 1,l Ok ACl . g2g3g 4 · · · gl 1 g3g4g 5 · · · gl 2 . . .Hk 1,l . g k g k 1 g k 2 · · · g k l 1 g k 1 g k 2 g k 3 · · · g k lLecture notes prepared by G.L. Plett and J.L. Lee. Copyright 2011–2018, G.L. Plett and J.L. Lee

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm 23C ABCA BCA B C A2 BC A3 BC A4 B . k 1kk 1 CA B CA B CA BC Ak B C Ak 1 B C Ak 2 B···lCA BC Al 1 B.· · · C Ak l 2 B· · · C Ak l 1 B O k AC l . O k 1Cl Ok Cl 1 5–28 Using the pseudo-inverse to solve for A gives A O †k Hk 1,l C l†. In MATLAB, we can compute eitherAhat pinv(Ok)*H

ECE4710/5710, State-Space Models and the Discrete-Time Realization Algorithm 5–5 5.2: Working with state-space systems State-space to transfer function In the prior example, we saw it is possible to convert from a difference equation (or transfer function) to a state-space form quite easily.

Related Documents:

Silat is a combative art of self-defense and survival rooted from Matay archipelago. It was traced at thé early of Langkasuka Kingdom (2nd century CE) till thé reign of Melaka (Malaysia) Sultanate era (13th century). Silat has now evolved to become part of social culture and tradition with thé appearance of a fine physical and spiritual .

May 02, 2018 · D. Program Evaluation ͟The organization has provided a description of the framework for how each program will be evaluated. The framework should include all the elements below: ͟The evaluation methods are cost-effective for the organization ͟Quantitative and qualitative data is being collected (at Basics tier, data collection must have begun)

̶The leading indicator of employee engagement is based on the quality of the relationship between employee and supervisor Empower your managers! ̶Help them understand the impact on the organization ̶Share important changes, plan options, tasks, and deadlines ̶Provide key messages and talking points ̶Prepare them to answer employee questions

Dr. Sunita Bharatwal** Dr. Pawan Garga*** Abstract Customer satisfaction is derived from thè functionalities and values, a product or Service can provide. The current study aims to segregate thè dimensions of ordine Service quality and gather insights on its impact on web shopping. The trends of purchases have

On an exceptional basis, Member States may request UNESCO to provide thé candidates with access to thé platform so they can complète thé form by themselves. Thèse requests must be addressed to esd rize unesco. or by 15 A ril 2021 UNESCO will provide thé nomineewith accessto thé platform via their émail address.

Chính Văn.- Còn đức Thế tôn thì tuệ giác cực kỳ trong sạch 8: hiện hành bất nhị 9, đạt đến vô tướng 10, đứng vào chỗ đứng của các đức Thế tôn 11, thể hiện tính bình đẳng của các Ngài, đến chỗ không còn chướng ngại 12, giáo pháp không thể khuynh đảo, tâm thức không bị cản trở, cái được

Food outlets which focused on food quality, Service quality, environment and price factors, are thè valuable factors for food outlets to increase thè satisfaction level of customers and it will create a positive impact through word ofmouth. Keyword : Customer satisfaction, food quality, Service quality, physical environment off ood outlets .

More than words-extreme You send me flying -amy winehouse Weather with you -crowded house Moving on and getting over- john mayer Something got me started . Uptown funk-bruno mars Here comes thé sun-the beatles The long And winding road .