NelinSys - a program tool for analysis and synthesis of nonlinear control systems

Nonlinear SISO system (State-Space model)

Block description

The block implements a nonlinear SISO (single-input single-output) system whose behaviour is defined by nonlinear state-space equations of the form

Nonlinear state-space description of the system

where x = (x1,x2,...,xN)T is the state vector, u is the input and y is the output of the system. Nonlinear functions f(x), g(x), h(x) can be specified either by symbolic expressions or by identifiers of symbolic variables defined in MATLAB workspace - see detailed description of block parameters below.

Block parameters

Dialog box for block parameters setup
System order (number of states, N)

Positive integer specifying the number of state variables of the system i.e. the dimension of the system state vector x.

f(x), g(x), h(x) - symbolic expression

Symbolic expressions defining the nonlinear functions f(x), g(x), h(x) used in the state-space equations. The convention how to write these equations and mathematical operations within them is the same as the one used by Symbolic Math Toolbox. State variables have to be denoted by the x1, x2, ..., xN symbols. If any of the f(x), g(x), h(x) functions is not specified by a symbolic expression but by an identifier of a variable (see below), it is necessary to leave corresponding field blank.

f(x), g(x), h(x) - variable identifier

Identifiers of symbolic variables (class sym objects) containing the f(x), g(x), h(x) functions used in the state-space description of the system. If any of the f(x), g(x), h(x) functions is not specified by an identifier of a variable but by a symbolic expression (see previous parameters), it is necessary to set corresponding field to 0 (zero).

Initial conditions (initial states)

Column vector consisting of the values of the system state variables at the beginning of the simulation.

Usage example

This example shows a simulation of a sample nonlinear system (2 tanks without interaction) whose state-space description is

Mathematical model of the system

Following pictures shows the Simulink simulation model of the system as well as responses of the output y and of the state vector x to a step change of the input (u = 6), initial values of the state variables being x1(0) = 2 and x2(0) = 1.

Simulink model

Simulation results

See also