Systems and Models - Mock Exam 4
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 6
The written tests of this course are not public. This mock exam is built on the notes of the course only. Official format, from the course description: a written test of 2 hours and 30 minutes with five exercises (formulating mathematical models, analysing systems in state space, identification, validation of models with experimental data, critical interpretation). The distribution of the points is a proposal of this site: each exercise is worth 6 points (three requests of 2 points), for a total of 30. The systems, the matrices and the data are new: it is not a copy of any real test.
The five exercises come from five different parts of the course: a nonlinear population model (modelling and linearization), the trajectories of second-order LTI systems, the equilibria and the stability of discrete-time systems, the a priori identifiability of a parametric model (identification), and the transfer function of a plant validated against a step response (validation and critical reading).
Conventions used in the whole test: is the state, the input, "a.s." means asymptotically stable, . Every system and every table of data is given completely, so the figures can be redrawn on the sheet before starting.
How to use it: work with a timer, write every formula in letters before putting the numbers in, and look at the "Result" only when an exercise is finished. Where a part asks for a comment, the "Solution" says which sentences of the notes support it, and it marks as a reading the points where two notes are joined.
Exercise 1 (points 6)
A wildlife agency models a prey population and a predator population , both measured in thousands of individuals; time is in years. The assumptions are:
- the prey are born at a rate proportional to , with coefficient ;
- the prey compete for food, so the number of prey deaths due to crowding is proportional to , with coefficient ;
- the number of prey killed by the predators is proportional to both and , with coefficient ;
- the number of new predators is proportional to , with coefficient , and the number of predator deaths is proportional to , with coefficient .
Data: , per thousand individuals, , (both per thousand individuals and per year), .
a) Write the state equations . Show that for you obtain the Lotka-Volterra model of the course and that for you obtain the logistic model. Find all the equilibria, with their numerical values (2 points).
b) Compute the Jacobian of . For each equilibrium write the linearized system, compute the eigenvalues and say what the linearization theorem allows to conclude. For the equilibrium with both populations present, give the period of the oscillations and the time in which their envelope is halved (2 points).
c) The predators become more mortal: , all the other data unchanged. Show that the equilibrium with both populations is no longer acceptable, study the stability of the equilibrium with only prey and say what happens to the predators. Find the value of at which the situation changes (2 points).
Show the result
a) , . Equilibria: , and (thousands).
b) . At : eigenvalues and , unstable. At : , eigenvalues and , unstable. At : , eigenvalues , a.s.; period , envelope halved in .
c) For : the equilibrium with coexistence would be , not acceptable (). At the eigenvalues are and : a.s., the predators die out and the prey settle at thousand. The threshold is .
Show the full solution
a) Model and equilibria. Each state variable changes by births minus deaths, as in Modelling Examples - Lotka-Volterra and Car SuspensionThree modelling exercises turn physical laws into state equations: the logistic population model, the Lotka-Volterra predator-prey model studied by linearization, and a two-mass car suspension model with the road as input.Modelling Examples - Lotka-Volterra and Car Suspension →. Prey: (births), (crowding), (predation). Predators: (the predation of the prey feeds the predators, as in the course), (deaths):
Two checks with the models of the course. For the equations become and , which is the Lotka-Volterra model with . For the second equation is trivially satisfied and the first one is , the logistic model with . The model is therefore the union of the two examples of the course; the logistic term is the only new ingredient.
An equilibrium is a point with (Linearization of Nonlinear SystemsNear an equilibrium a nonlinear system behaves like an LTI system whose matrix is the Jacobian of the dynamics evaluated at the equilibrium; applied to the pendulum (two equilibria), to a direct term-by-term approximation and to the three-tank model.Linearization of Nonlinear Systems →). Factorize the two equations:
The second one gives or .
- If , the first one gives or : the equilibria and .
- If , the first factor must vanish: , so that is , acceptable because .
There are three equilibria. Typical mistake: forgetting (the equilibrium with only prey, which does not exist in the model without the logistic term) or accepting a solution with a negative population.
b) Linearization. For the linearized matrix at an equilibrium is the Jacobian , and for one works with (see Linearization of Nonlinear SystemsNear an equilibrium a nonlinear system behaves like an LTI system whose matrix is the Jacobian of the dynamics evaluated at the equilibrium; applied to the pendulum (two equilibria), to a direct term-by-term approximation and to the three-tank model.Linearization of Nonlinear Systems →). Differentiating and :
The theorem of Stability of Nonlinear Systems by LinearizationThe stability of an equilibrium of a nonlinear system can be read from the eigenvalues of its linearization when they are all strictly stable or when one is unstable, while the critical case of a merely stable linearization says nothing about the nonlinear system.Stability of Nonlinear Systems by Linearization → is used at each equilibrium: if is a.s. the equilibrium is a.s., if is unstable the equilibrium is unstable, if is only stable nothing is concluded.
Equilibrium . with modes and (this is the linearization at the origin written in the course for the Lotka-Volterra model). One mode grows, so is unstable and is unstable for the nonlinear model: a small population of prey grows exponentially, with rate .
Equilibrium . The entries are , , and :
The matrix is upper triangular, so the eigenvalues are the diagonal entries, and . The second one is positive, so is unstable and is unstable: if a few predators are introduced into a prey population at its carrying capacity, they multiply (the mode ), because each predator finds enough prey, .
Equilibrium . The entry is (it is also , because the first factor of vanishes at ). The other entries are , and :
The characteristic polynomial is with discriminant , so
The real part is negative, so is a.s. and, by the theorem, is a.s. for the nonlinear model. The eigenvalues are complex, so the trajectories near spiral inwards (Trajectories of Second-Order LTI SystemsThe shape of the trajectories of a second-order LTI system in the plane depends on its eigenvalues: hyperbolic, parabolic, elliptical or spiral curves; rectilinear trajectories occur when the initial state is an eigenvector.Trajectories of Second-Order LTI Systems →): the modes are and the corresponding sine. The period is . The envelope is halved when , that is after ; in one period it is multiplied by , so the oscillations of the two populations are strongly damped (the logistic crowding is what damps them: in the model without it the linearization would have imaginary eigenvalues). Typical mistake: using the matrix on the populations instead of on the deviations .
c) Mortal predators, . The three equilibria are found as before. The coexistence point has and
which is not acceptable: a population cannot be negative, so the model has no coexistence equilibrium. The equilibria in the acceptable region are and , unchanged. At the Jacobian is : still unstable, because of the prey mode . At the only entry that changes is :
Both eigenvalues are negative, so is a.s. and is a.s. for the nonlinear model: near the predators die out (the mode , time constant ) and the prey tend to thousand, the carrying capacity of the logistic model.
Threshold. The coexistence equilibrium is acceptable if and only if , that is , . The same number is the value of at which the eigenvalue of changes sign: for it is positive ( unstable, predators can invade), for it is negative ( a.s.). At exactly the eigenvalues of are and , a critical case in which the linearization theorem says nothing. The two situations, and , are the two possible outcomes of the model: coexistence with damped oscillations or extinction of the predators. Typical mistake: computing a negative and keeping it as an equilibrium.
Exercise 2 (points 6)
Three second-order LTI systems are given (time in seconds).
a) . Write as , give the eigenvalues and the matrix . For write and , say in which direction the state turns around the origin, and find after how many seconds, and after how many turns, the norm falls below one hundredth of its initial value (2 points).
b) The pendulum without friction of length , linearized around its stable equilibrium, with state in rad and rad/s: . For write , the period, and the curve described by the state in the plane, with the points where it crosses the axes. Why is it an ellipse and not a circle? What does this linear picture say about the stability of the nonlinear pendulum (2 points)?
c) . Compute the eigenvalues, say which type of trajectories occurs and find all the initial states for which the trajectory is rectilinear. Decide for , , and . For the last one, write and say towards which direction the trajectory tends for large (2 points).
Show the result
a) with , ; ; ; ; clockwise; , that is turns (period ).
b) , ; ; period ; ellipse with semi-axes and . The two off-diagonal entries of have different magnitudes. The eigenvalues are on the imaginary axis: critical case, the linearization theorem does not decide the stability of the nonlinear pendulum.
c) , , opposite signs: pseudo-hyperbolic trajectories. Eigenvectors for and for . Rectilinear: (diverges as ) and (tends to as ); not rectilinear: and . For : , which tends to the direction .
Show the full solution
a) Spiral. The matrix has the form with and of Trajectories of Second-Order LTI SystemsThe shape of the trajectories of a second-order LTI system in the plane depends on its eigenvalues: hyperbolic, parabolic, elliptical or spiral curves; rectilinear trajectories occur when the initial state is an eigenvector.Trajectories of Second-Order LTI Systems →, case 3. Its eigenvalues are ( has eigenvalues , and only shifts them). Since and commute,
With :
For instance . The matrix in is a rotation, so it keeps the norm, and (at : , which is the norm of the vector above). Direction: at the point the velocity is , pointing down, so the state turns clockwise. Time: when , that is . One turn takes , so turns. Since the trajectory is a spiral towards the origin. Typical mistake: counting the turns with the period instead of (the imaginary part, not the modulus of the eigenvalue).
b) Ellipse of the pendulum. With , and has , with . For the formulas of the note for the pendulum without friction give
The period is . Eliminating with :
The curve crosses the axis at and the axis at , as in the example of the note. It is an ellipse because and the off-diagonal entries of have different magnitudes ( and ); only when the two magnitudes are equal, as in , the curve is a circle. Validity: the amplitude is degrees, below the degrees quoted in Linearization of Nonlinear SystemsNear an equilibrium a nonlinear system behaves like an LTI system whose matrix is the Jacobian of the dynamics evaluated at the equilibrium; applied to the pendulum (two equilibria), to a direct term-by-term approximation and to the three-tank model.Linearization of Nonlinear Systems → for a good approximation.
Stability. The linear model is stable but not a.s.: the eigenvalues are simple and on the imaginary axis. This is the critical case of Stability of Nonlinear Systems by LinearizationThe stability of an equilibrium of a nonlinear system can be read from the eigenvalues of its linearization when they are all strictly stable or when one is unstable, while the critical case of a merely stable linearization says nothing about the nonlinear system.Stability of Nonlinear Systems by Linearization → (the pendulum without friction, case 1): the theorem gives no conclusion on the nonlinear pendulum. The closed ellipses are a property of the linear model; for the nonlinear one a different argument is needed. Typical mistake: concluding that the nonlinear pendulum oscillates forever because the linearized one does.
c) Real eigenvalues of opposite signs. and , so , , . They are real with : the trajectories are pseudo-hyperbolic (Summary of Trajectories of Second-Order LTI SystemsThe shape of the trajectories of a second-order LTI system in the plane depends on its eigenvalues: hyperbolic, parabolic, elliptical or spiral curves; rectilinear trajectories occur when the initial state is an eigenvector.Trajectories of Second-Order LTI Systems →); the system is unstable.
By the proposition of the note, a trajectory is rectilinear if and only if with , that is if is an eigenvector. For : gives . For : gives . The rectilinear trajectories through the origin are therefore those of the initial states , with (moving away from the origin), and , with (moving towards the origin). Check on the four states:
- : , rectilinear, mode ;
- : , rectilinear, mode , converging;
- : , not parallel to , not rectilinear;
- : , not parallel to , not rectilinear.
For write it in the basis of the eigenvectors, : and , so and . Each component of the decomposition evolves with its own mode (Solution of LTI Systems and the Matrix ExponentialThe autonomous LTI system x' = Fx with x(0) = x0 has solution x(t) = exp(Ft) x0, where the matrix exponential is a power series; it is computed with diagonalization or with the Laplace transform, shown on a worked 2 by 2 example.Solution of LTI Systems and the Matrix Exponential →):
The first term grows and the second vanishes, so for large the trajectory tends to the direction , the line , to which it gets closer: while both components diverge. Reading, joining the note with the change of basis: in the coordinates along and the invariants are for this trajectory (the product of the note is the case ). Typical mistakes: taking a vector with as rectilinear because it "looks" aligned with an eigenvector; forgetting that only the eigenvector with gives a trajectory that converges to zero.
Exercise 3 (points 6)
The discrete-time systems below evolve for
a) Let with . Compute the eigenvalues of and say whether the free system is a.s., stable or unstable. Find the equilibria for . For the constant input , find the equilibria when and when . For and compute and its limit; for and compute (2 points).
b) For consider and . Compute the powers of , the Jordan structure of the two matrices and classify the free systems for , , and (2 points).
c) Let . Compute the eigenvalues, and . For and find , , . With the input matrix and the constant input , find the equilibrium and show that the state reaches it in a finite number of steps, starting from and from (2 points).
Show the result
a) : modes and , all bounded: stable, not a.s. For the equilibria are , the whole axis. With : is in the image of , the equilibria are for every ; with : no equilibrium. For : , , limit . For : , which diverges.
b) ; has one Jordan block of size 2, two blocks of size 1. : both a.s. ( with a transient peak). and : unstable, stable and not a.s. : both unstable.
c) ; , . Free: , , . With the input: , reached exactly at from both initial states.
Show the full solution
a) Equilibria and stability. is upper triangular, so the eigenvalues are and . The modes of are and (Modes and Convergence of Discrete-Time SystemsDiscrete-time modes are samples of continuous-time modes through the map lambda bar equals e to the lambda, and a mode t to the k times rho to the t times cosine of theta t converges to zero when rho is below one, stays bounded when rho equals one with k equal to zero, and diverges otherwise.Modes and Convergence of Discrete-Time Systems →). The eigenvalues are simple, so no factor appears: the mode with modulus is bounded, and by the classification of Equilibria and Stability of Discrete-Time LTI SystemsA discrete-time LTI system is asymptotically stable when every eigenvalue has modulus below one, stable when all modes are bounded, and unstable otherwise, and its equilibria solve an algebraic equation involving I minus F, with finite-time convergence possible when all eigenvalues are zero.Equilibria and Stability of Discrete-Time LTI Systems → the free system is stable but not a.s. (it would be a.s. if all moduli were below ).
Equilibria. In discrete time the equation is , that is . Here
with and rank (the eigenvalue of makes singular). For the equilibria are : gives and is free, so , a whole line of equilibria. When is not invertible, the note says that for there are infinitely many equilibria or none, depending on whether belongs to the image of , which is the line spanned by , equivalently by .
- belongs to the image: the system reads and , both satisfied by , with free. The equilibria are , , infinitely many.
- does not belong to the image: gives and gives , a contradiction. No equilibrium exists.
Solution for . The second component is decoupled: , so is multiplied by at each step; with , . The first component is . Summing from to (the geometric sum is ):
The limit is , one of the equilibria , the one with . For a different initial state the limit changes: for the same computation gives . The system converges, but to a point of the line that depends on .
Solution for . With : for all and , so . The state diverges, although the free system is stable: the constant input excites the mode of the eigenvalue (a bounded free system with eigenvalue of modulus is not enough for bounded outputs with an input). Typical mistakes: writing , which is the continuous-time equation; saying that a stable system always converges to an equilibrium for a constant input.
b) Jordan structure and classification. For with , and commute and , so the binomial formula of Solution of Discrete-Time LTI SystemsA discrete-time LTI system is solved by iterating the difference equation, which gives a free evolution F to the power t times the initial state plus a convolution with F to the power t minus one times G, and the matrix power is computed through the diagonal or Jordan form with binomial coefficients.Solution of Discrete-Time LTI Systems → stops at the first power of :
The modes are and (for , is proportional to ). The geometric multiplicity of is : one Jordan block of size 2. For the matrix is already diagonal, , geometric multiplicity 2, two blocks of size 1, and with only the mode . In both cases the algebraic multiplicity is 2 and the eigenvalue is .
Classification with the rules of Modes and Convergence of Discrete-Time SystemsDiscrete-time modes are samples of continuous-time modes through the map lambda bar equals e to the lambda, and a mode t to the k times rho to the t times cosine of theta t converges to zero when rho is below one, stays bounded when rho equals one with k equal to zero, and diverges otherwise.Modes and Convergence of Discrete-Time Systems → (modes , convergent if , bounded if and , divergent if or with ), with :
| , modes and | , mode | |
|---|---|---|
| : a.s. | : a.s. | |
| , : unstable, | , : stable, not a.s. (, every state is an equilibrium) | |
| , : unstable, | , : stable, not a.s. (the state alternates in sign) | |
| : unstable | : unstable |
For and the first component of is : it starts from , grows and reaches its maximum at and , and then decays to zero. A.s. does not mean a monotone decay: the block of size 2 produces a transient growth before the exponential wins. Typical mistakes: calling and equal in behaviour because they have the same eigenvalues (the Jordan structure decides); saying that is stable because the eigenvalue "alternates".
c) Finite-time convergence. is strictly upper triangular, so all the eigenvalues are . Compute the powers (the Jordan form turns out to be a single block of size , because ):
By the argument of Equilibria and Stability of Discrete-Time LTI SystemsA discrete-time LTI system is asymptotically stable when every eigenvalue has modulus below one, stable when all modes are bounded, and unstable otherwise, and its equilibria solve an algebraic equation involving I minus F, with finite-time convergence possible when all eigenvalues are zero.Equilibria and Stability of Discrete-Time LTI Systems →, with all the eigenvalues equal to zero and the largest block of size , for every : the free state is exactly zero after three steps. For :
The same result follows from .
With the input. is invertible (it is upper triangular with ones on the diagonal), so the equilibrium for is unique and solves . From the last row ; from the second , so ; from the first , so :
Let . Subtracting from gives , so : the state is exactly at the equilibrium after three steps, whatever . Direct check from : , and . From : , , , ; the states are , and . In continuous time the same behaviour cannot occur: the state of reaches the equilibrium only as , and it would need (note on the convergence in finite time). Typical mistakes: thinking that three zero eigenvalues give a modulus but a slow convergence (it is exact after steps); using the size of the matrix instead of the size of the largest Jordan block as the number of steps (here they coincide, but not in general).
Exercise 4 (points 6)
A cart of unknown mass (in kg) moves on a straight track. It is attached to a wall by a spring of unknown stiffness (in N/m) and by a damper of unknown coefficient (in Ns/m). It is pushed by the force , where (in V) is the command of an actuator of unknown gain (in N/V). The measured output is the position of the cart (in m). The model class with is given by the force balance
with state .
a) Write the matrices , , , compute the transfer function and write the observational parameters of the model class as functions of (2 points).
b) An experiment with an impulsive command and noise-free measurements gives . Find all the values of compatible with it, give two of them with different masses, say which combinations of the parameters can be computed, and classify each parameter and the model class as globally identifiable, locally identifiable or unidentifiable (2 points).
c) Two remedies are proposed. (i) The cart is weighed: . Find , , . (ii) The cart is not weighed, but a second experiment is made after fixing to the cart an extra mass of (all the other elements unchanged); it gives . Find , , , and classify the extended problem. Would a second sensor measuring the velocity also solve the problem (2 points)?
Show the result
a) , , ; ; observational parameters , , .
b) , , : the solutions are for every , for instance and . Only the ratios to are computable. Every parameter is unidentifiable, and so is the model class.
c) (i) , , , unique. (ii) , so , and then the same , , : unique solution, globally identifiable. A velocity sensor does not help: its transfer function is , with the same three observational parameters.
Show the full solution
a) State-space form and observational parameters. With and the force balance gives and , hence
The transfer function is (Transfer Matrix of Continuous-Time LTI SystemsThe Laplace transform turns an LTI state-space model into the transfer matrix W(s) equal to H times the inverse of sI minus F times G plus J, which is invariant under a change of state basis, has the modes of the system as poles, and can hide modes through zero-pole cancellations.Transfer Matrix of Continuous-Time LTI Systems →). The matrix is with determinant ; inverting a matrix (swap the diagonal entries, change the sign of the off-diagonal ones),
For an LTI SISO system the observational parameters are always the coefficients of the transfer function (A Priori Identifiability of Parametric ModelsA parametric model is identifiable a priori if its parameters can be recovered from observational parameters computed from the noise-free continuous output to an impulse input; for linear time-invariant SISO systems these are the transfer function coefficients, shown on a two-state example.A Priori Identifiability of Parametric Models →): with a unit impulse , so and the coefficients can be computed from the output. Here the denominator is monic and the numerator is a constant:
There are four unknowns and only three observational parameters, so a unique solution is not possible. Typical mistake: writing the numerator as (forgetting that contains ).
b) Solving for . Comparing with the form of part a): , , , that is
Each equation fixes one parameter as a multiple of , and is free: , , for every . For : ; for : . Both give exactly : for the first, , , ; for the second, , , . There are infinitely many solutions, so by the definitions of the note every parameter (, , and ) is unidentifiable, and so is the model class. What can be computed are the three ratios , , : they are enough to predict the position for any command (the model output depends only on them), but not to know the stiffness, the damping or the actuator gain in physical units. The reason is that an input-output experiment sees the force only through its effect on the acceleration, , so a heavier cart with a proportionally stronger actuator, spring and damper is indistinguishable. Typical mistake: counting equations and unknowns and concluding "three equations, so three parameters can be found and one is free" without saying which ones: here none of the four is determined.
c) Remedies. The note lists two: change the model class or change the system (actuators, sensors); here the system is changed by adding information.
(i) Known mass. With taken as known, the three equations give , , , each one with a unique solution: the parameters , , are globally identifiable once is a known constant (this is a different model class, with three unknowns).
(ii) Second experiment with an added mass. The system changes: the mass is now , with the same , , , so the observational parameters of the second experiment are , and . From :
Divide the equation of the first experiment by the equation of the second one: the unknown cancels and
The other two ratios give the same value (for : ; for : , so the three equations are consistent). Then , , , the same as in (i). The six equations of the two experiments have one solution for the four unknowns: every parameter is globally identifiable, and so is the extended model class. Reading, joining the note with the model: the extra mass is a change of the system that has the same effect as knowing , without a scale.
Velocity sensor. With one has and, using the second row of from part a, . Its coefficients are the same three combinations , , : no new information, the class stays unidentifiable. The sensors of the note's remedy must measure something that depends on the parameters in a different way; here what is missing is information on the mass, which no measurement of the motion produced by can give. Typical mistakes: thinking that a second sensor always cures an identifiability problem; taking from the first experiment alone ("the numerator is , so ").
Exercise 5 (points 6)
Two engineers model the same plant, with input (in V) and output (in K). Engineer A proposes a first-order model,
Engineer B proposes a model with an additional internal variable (a concentration, not measured):
To validate the models, the plant, starting at rest, is driven with the step for , and is measured:
| (s) | 0.5 | 1 | 2 | 3 | 5 | 8 |
|---|---|---|---|---|---|---|
| (K) | 1.64 | 2.60 | 3.76 | 4.13 | 4.44 | 4.41 |
a) Compute the transfer function of each model. For model B, change the state variable with , , write the new matrices , , and check that the transfer function does not change (2 points).
b) Write the step response predicted by each model, compute the residuals with respect to the data and their sum of squares for each model, and say what the experiment says about the two models. What is the value of at steady state (2 points)?
c) Compute the eigenvalues of the two state matrices and the poles of the transfer function. For model B and the step input compute and its value at . Find the equilibrium of each model for and say whether it is reached. Critical question: what can the validated transfer function say about the stability of the plant, and what would change if the sensor measured (2 points)?
Show the result
a) . For B, , , , and again .
b) Both models predict : . Residuals , sum of squares , identical for A and B: the data cannot distinguish them. Steady state: .
c) : , a.s. : and , unstable. The only pole of is . For B, : , , at . Equilibria for : A at , B at ; the output is in both, but B never reaches its equilibrium (unstable). The transfer function validated by the experiment describes the input-output behaviour only; with the transfer function would be , with the unstable pole visible.
Show the full solution
a) Transfer functions. For A: (Transfer Matrix of Continuous-Time LTI SystemsThe Laplace transform turns an LTI state-space model into the transfer matrix W(s) equal to H times the inverse of sI minus F times G plus J, which is invariant under a change of state basis, has the modes of the system as poles, and can hide modes through zero-pole cancellations.Transfer Matrix of Continuous-Time LTI Systems →). For B the matrix is diagonal, so and, with and ,
The term of the mode is multiplied by the zero entry of , so it disappears: the two models have the same transfer function, as in the example of the note on the modes hidden in .
Change of basis. With the matrices become , , . The inverse is , and
Then is the row (the matrix is upper triangular) and
the same transfer function, as the invariance under change of basis requires. The matrices look very different, the input-output behaviour does not. Typical mistake: multiplying in the wrong order ( instead of when ).
b) Predictions and residuals. For the step and zero initial state the output is the forced response (Forced Response and Impulse Response of LTI SystemsThe state of a non-autonomous LTI system is the sum of a free evolution driven by the initial state and a forced evolution given by the convolution of the input with the matrix exponential, and the output response to a Dirac delta input is the impulse response.Forced Response and Impulse Response of LTI Systems →):
for both models, because they have the same and the same initial output. At the six times: : ; : ; : ; : ; : ; : (K). The residuals are
and the sum of squares is , the same number for A and for B: the residuals are small and with both signs, and the model is compatible with the data. The experiment says nothing that separates the models: the data depend on the models only through , which is the same. The steady-state output is (both models), as the last samples suggest. The notes stress that least squares-type fitting only compares the model with the data it has seen and does not address generalisation (System Identification - Estimation Problem and Parametric Model ClassesEstimation means reconstructing an unknown function from noisy samples; the problem is ill posed, so one fixes a parametric model class, and the basic objects (statistic, estimator, estimate) are defined, with the gray-box and black-box versions for dynamical systems.System Identification - Estimation Problem and Parametric Model Classes →): here even a perfect fit leaves two different internal structures. Typical mistake: concluding that model A is "better" because it is simpler or because its residuals are smaller (they are equal).
c) Stability, equilibria and the critical reading. The matrix has the eigenvalue : a.s. The matrix has eigenvalues and : the second is positive, so B is unstable. The only pole of is for both: the pole does not appear in because of the zero in (see a)).
State of B under the step. The second equation is decoupled from the first: with . By the formula of the forced evolution, :
(The output never shows it: is exactly the same as in A.) The internal quantity grows without bound, and a real plant would saturate, overflow or break.
Equilibria for . From Transfer Matrix of Continuous-Time LTI SystemsThe Laplace transform turns an LTI state-space model into the transfer matrix W(s) equal to H times the inverse of sI minus F times G plus J, which is invariant under a change of state basis, has the modes of the system as poles, and can hide modes through zero-pole cancellations.Transfer Matrix of Continuous-Time LTI Systems →, the equilibrium solves , when is invertible. For A: , . For B, is invertible (): and : the same value as in A. The note says that if the system is a.s. the state tends to ; B is not a.s., and the response above shows that moves away from (the distance is ). So the equilibrium of B exists but is not reached, whereas the equilibrium of A is reached with the time constant .
Critical reading. The experiment validated the input-output behaviour: both models reproduce , and has all its poles with negative real part. But from the transfer function alone it cannot be concluded that the plant is stable: the eigenvalues of the state matrix include in model B, which is invisible in . A conclusion on stability needs either a model of the internal structure, or a measurement of the internal state. Reading, joining this note with the remedy of the identifiability note ("change the sensors"): with the output , that is ,
and now the pole at is in : the step response contains the divergent mode , and a new experiment with this sensor would separate model B from model A (A would predict again ). Typical mistakes: saying that the plant is stable because has only the pole ; saying that model B is wrong because it is unstable, when the data are consistent with it; believing that the equilibrium of B is reached because it exists.
Self-assessment grid
| Exercise | Points | What must be in the answer for full marks | Typical mistakes |
|---|---|---|---|
| Exercise 1 | 6 | a) equations with logistic, predation and conversion terms, the two checks, equilibria , , (2); b) Jacobian, at the three points, eigenvalues and , and , , conclusions, period and halving time (2); c) at the coexistence point, a.s. with and , threshold (2) | Equilibrium forgotten; negative population kept as an equilibrium; Jacobian used on instead of on |
| Exercise 2 | 6 | a) , , , , norm , clockwise, and turns (2); b) , , ellipse , crossings, reason for the ellipse, critical case (2); c) eigenvalues and , eigenvectors, test of the four states, for and its limit direction (2) | Period computed with the modulus of ; conclusion on the nonlinear pendulum; non-eigenvector taken as rectilinear |
| Exercise 3 | 6 | a) eigenvalues , , stable not a.s., , equilibria for and none for , and limit , divergence (2); b) , Jordan blocks, table for the four values of (2); c) , free states , equilibrium , reached at (2) | Continuous-time equilibrium equation; confusing and ; stable system assumed to converge with a constant input |
| Exercise 4 | 6 | a) , , , , (2); b) family , two members, all four parameters and the class unidentifiable, computable ratios (2); c) known mass gives ; ratio of the two experiments gives and global identifiability; the velocity sensor gives and no new information (2) | Numerator written as ; equations counted without checking which parameters are determined; second sensor assumed to cure the problem |
| Exercise 5 | 6 | a) , , , and the same (2); b) , six residuals, sum of squares for both, the data cannot separate A and B, steady state (2); c) eigenvalues of and , and its values, equilibria and their reachability, validated does not prove stability, sensor gives (2) | Stability concluded from the poles of ; model preferred without evidence; equilibrium of B assumed to be reached; instead of |
| 30 |
A request is worth its 2 points only if the formula is written in letters, the units are right and the final value is checked (equilibrium substituted in the equations, the sum of the three Jordan block sizes, the same computed in two bases, the ratios of the two experiments consistent). Give half of the points for a correct method with an arithmetic slip. Do not give points for a comment that is not tied to a result of the exercise.