Kalpana Kalpana (Editor)

State variable

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

A state variable is one of the set of variables that are used to describe the mathematical "state" of a dynamical system. Intuitively, the state of a system describes enough about the system to determine its future behaviour in the absence of any external forces affecting the system. Models that consist of coupled first-order differential equations are said to be in state-variable form.

Contents

Examples

  • In mechanical systems, the position coordinates and velocities of mechanical parts are typical state variables; knowing these, it is possible to determine the future state of the objects in the system.
  • In thermodynamics, a state variable is also called a state function. Examples include temperature, pressure, volume, internal energy, enthalpy, and entropy. In contrast heat and work are not state functions, but process functions.
  • In electronic circuits, the voltages of the nodes and the currents through components in the circuit are usually the state variables.
  • In ecosystem models, population sizes (or concentrations) of plants, animals and resources (nutrients, organic material) are typical state variables.
  • Control systems engineering

    In control engineering and other areas of science and engineering, state variables are used to represent the states of a general system. The set of possible combinations of state variable values is called the state space of the system. The equations relating the current state of a system to its most recent input and past states are called the state equations, and the equations expressing the values of the output variables in terms of the state variables and inputs are called the output equations. As shown below, the state equations and output equations for a linear time invariant system can be expressed using coefficient matrices:

    A RN*N, B RN*L, C RM*N, D RM*L,

    where N, L and M are the dimensions of the vectors describing the state, input and output, respectively.

    Discrete-time systems

    The state vector (vector of state variables) representing the current state of a discrete-time system (i.e. digital system) is x [ n ] , where n is the discrete point in time at which the system is being evaluated. The discrete-time state equations are

    x [ n + 1 ] = A x [ n ] + B u [ n ] ,

    which describes the next state of the system (x[n+1]) with respect to current state and inputs u[n] of the system. The output equations are

    y [ n ] = C x [ n ] + D u [ n ] ,

    which describes the output y[n] with respect to current states and inputs u[n] to the system.

    Continuous time systems

    The state vector representing the current state of a continuous-time system (i.e. analog system) is x ( t ) , and the continuous-time state equations giving the evolution of the state vector are

    d x ( t ) d t   = A x ( t ) + B u ( t ) ,

    which describes the continuous rate of change d x ( t ) d t of the state of the system with respect to current state x(t) and inputs u(t) of the system. The output equations are

    y ( t ) = C x ( t ) + D u ( t ) ,

    which describes the output y(t) with respect to current states x(t) and inputs u(t) to the system.

    References

    State variable Wikipedia