Stability of a discrete-time closed-loop

254 Views Asked by At

I modeled a dynamic system like so:

$$ \dot{y} = au, $$

i.e. as an integrator.

Every $T = 0.1$ seconds, the measurement is updated and remains constant in between. This motivated me to model it as a discrete-time system using zero-order hold:

$$ \int_t^{t+T} \dot{y} \; \text{dt} = y_{k+1} - y_k = au_kT= au(t) \int_{t}^{t+T} \text{dt}, $$

where $u(t) = u_k = \text{const.}$ if $t \in [t_k, t_k + T)$.

By means of looking at the input-output behavior, I determined parameter $a = 2$ (omitting engineering units).

Next, I normalized the system equation:

$$ y_{k+1} \cdot \frac{y_{ref}}{y_{ref}} = y'_{k+1} \cdot y_{ref} = y'_k \cdot y_{ref} + 0.2 u'_k \cdot u_{ref} = y_k \cdot \frac{y_{ref}}{y_{ref}} + 0.2 u_k \cdot \frac{u_{ref}}{u_{ref}}. $$

By choosing the reference values ($y_{ref} = 3$, $u_{ref} = 1$), I end up with

$$ y'_{k+1} = y'_k + \frac{2}{30} \cdot u'_k. $$

As control law, I choose a P-controller, i.e. proportional feedback

$$ u'_k = P \cdot (y'_{ref} - y'_k). $$

Inserting the control law yields the closed-loop system dynamics

$$ y'_{k+1} = y'_k \cdot (1 - \frac{2}{30}P) + \frac{2}{30}Py'_{ref}. $$

From the stability criterion of a discrete-time system (absolute value of coefficient of $y'_k$ smaller $1$), I would expect every choice of $P \in (0, 30)$ to render the system stable.

But it turns out that choosing $P=5$ exhibits oscillations with growing amplitudes caused by small initial disturbances, i.e. instable behavior:

enter image description here

While choosing $P=2.5$ attenuates disturbances, i.e. renders the system stable:

enter image description here

What causes the mismatch between theory and actual behavior?

1

There are 1 best solutions below

0
On

Following the guide of A.Γ., I took a second look at the simulation results of the linear model compared with measurements:

enter image description here

Apparently, there is a difference albeit not a large one. Mainly due to the linearization which ignores the change of rate over time of the physical system. While this definitely affects stability margins in the closed loop, it does not justify the large difference between observed destabilizing control parameter $P = 5$, and theoretical value $P = 30$.

But then I opposed simulation results to measurements for two times the input value of the previous one:

enter image description here

This reveals yet another nonlinearity: The rate of change of output does not only increase over time, it also increases unproportionally with input value.

Scaling the slope of the integrator with factor $5$ makes the two systems match better:

enter image description here

For $a=10$, the stability margin reduces when choosing $P=5$:

$$ |1 - \frac{10}{30}\cdot P| = |1 - \frac{1}{3} \cdot 5| = \frac{2}{3} < 1 $$

Theory still says it is stable, but I can live with that in the light of this very simple model and its rough approximations.

What still puzzles me is the strong dependence of system behavior on absolute input value. But this might be something for the materials section.