You get a bonus - 1 coin for daily activity. Now you have 1 coin

State space method and system state

Lecture



The state of a system is a set of such variables, the knowledge of which allows, with a known input and known equations of dynamics, to describe the future state of the system and the value of its output. The choice of state variables is ambiguous.

The state space method is fairly universal; it can be applied to nonlinear systems of multidimensional systems. For an initial introduction to this approach, linear one-dimensional systems (or SISO - Single Input Single Output) are considered below, the equations of which have the following general form:

  State space method and system state

where X ( t ) is the state column vector [ n × 1]; And the matrix of the coefficients of the object [ n × n ]; B - entry matrix [ n × 1]; u ( t ) is the control signal; Y is the output vector [ k × 1]; C is the output matrix [1 × n ]; D is the matrix of the influence of an input directly on the output of the system [ n × 1] (it is often assumed that D = 0).

The equations of state of the SISO-system in expanded form:

  State space method and system state

  State space method and system state

The system described by matrices A and B is controllable if there is such an unbounded control u ( t ) that can transfer an object from the initial state X (0) to any other state X ( t ).

For a SISO system with one input and one output, the concept of a controllability matrix (size   State space method and system state ):

  State space method and system state

If the determinant of this matrix is ​​non-zero, then the system is controllable.

Modal synthesis involves the formation of such feedbacks on the state in which a given location of the poles of a closed system is provided. Mode is the component of the solution of a differential equation corresponding to a particular pole .

The location of the poles mainly determines the nature of the transition process in the system. Such root assessments of the quality of the transition process, such as the time of the transition process, the degree of stability, oscillation and re-regulation are usually considered.

To assess the performance of the system uses the concept of degree of stability   State space method and system state which is understood as the absolute value of the real part of the root nearest to the imaginary axis (because the roots having the smallest real part in modulus give the most slowly decaying component in the transient process).

The transition time t can be approximately estimated by the formula

  State space method and system state

The stability margin of the system is estimated by oscillation. The system tends to oscillate if the characteristic equation contains complex roots.   State space method and system state .

Oscillability is estimated by the formula

  State space method and system state

The value of the oscillation can be estimated overshoot

  State space method and system state

For an object defined by the equations of state (1), the state control is described by the expression

  State space method and system state

where K is the vector of feedback coefficients.

Thus, the system, closed regulator, is given to the following form:

  State space method and system state

This expression corresponds to fig. 1, where g (t) is the driving force.

The main theorem of modal control states that if the linear dynamical system (8.1) is controllable, then a linear feedback can be chosen so that the matrix ( A-BK ) will have the desired root arrangement (spectrum). The proof of this theorem uses the canonical form of the controllability of matrices A and B.

  State space method and system state

Fig. 6.1. Feedback system

Akkerman proposed a formula that would allow using a similarity transformation to translate a model of an arbitrary structure into a canonical form of controllability, determine the sought K coefficients and then recalculate the solution obtained as applied to the original structure. Ackerman’s formula is [3]

  State space method and system state

where B is the coefficients of the characteristic polynomial of the matrix ( A - BK ) .

Thus, the problem of modal synthesis is reduced to choosing the desired roots of the characteristic polynomial of a closed system, at which the specified parameters of the transient process are provided, after which, according to the standard algorithm, the feedback coefficients by state are calculated.

Using MatLab

>> w1 = ss (A, B, C, D),

where A , B , C , D are matrices of the model.

From the model in the state space, you can get the PF command:

>> w2 = tf (w1)

And vice versa, if the model specified by the PF already exists, then it can be transformed into the state space using the ss command:

>> w = tf ([2 2], [3 4 1]);

>> w1 = ss (w)

We note that, in general, different models in the state space can correspond to the same TF, but the same TF corresponds to all these models.

The manageability matrix can be built using the ctrb function, which is called by one of the commands:

>> W = ctrb (A, B)

>> W = ctrb (sys)

>> W = ctrb (sys.A, sys.B)

In the MatLab package, there is acker function with which you can ensure the desired location of the poles of a one-dimensional linear system (in accordance with Ackermann formula):

>> k = acker (A, B, P),

Where A and B are the system matrices; P is the vector that specifies the desired location of the poles of the system.

An example . Let the system be described by matrices.

  State space method and system state

The desired poles are given by the vector:

  State space method and system state

Then you can calculate the value of feedback coefficients using the commands

>> A = [0 1;, 2 3];

>> B = [0; one];

>> P = [, 1, 3];

>> K = acker (A, B, P)

K = 1 7

Thus, the control in this example should be in the form

  State space method and system state

For multidimensional systems, MatLab has a place function (it can also be used for one-dimensional systems). Function

>> K = place (A, B, P)

calculates the matrix of feedback coefficients K , which provides the desired location of the poles of the system. The length of the vector P must be equal to the number of rows of the matrix A.

It should be noted that the modal control method does not guarantee the equality of the steady-state error to zero. To ensure equality of the driver and the output signal of the system in the steady state, a scaling coefficient is introduced   State space method and system state . For this calculation, we write the equations of state in the form:

  State space method and system state

substituting equation (6), we have:

  State space method and system state

  State space method and system state

In the steady state we get

  State space method and system state

and the condition must be met

  State space method and system state

Therefore, from equation (7) we get

  State space method and system state

The input effect should be multiplied by this factor.

In the Simulink MatLab simulation package, there is a State Space block for describing an object in the state space. However, this block does not allow to directly evaluate the current value of the state vector, therefore, in order to simulate the modal controller operation, it is necessary to describe matrix operations in detail.

created: 2016-12-18
updated: 2021-03-13
691



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Mathematical foundations of the theory of automatic control

Terms: Mathematical foundations of the theory of automatic control