PID non linear ode model

4 visualizaciones (últimos 30 días)
Abdelmoumen Bacetti
Abdelmoumen Bacetti el 7 de Jun. de 2017
Editada: Abdelmoumen Bacetti el 7 de Jun. de 2017
Hi guys
I've modeled a nonlinear system using ode function, but I don't see how can I use a PID controller alongside with this ode model in feedback function since this latter function requires inputs of type sys. Is there any way to make this work without linearization of the system.
Here is how the system looks like:
xdot(1) = c11*x(1) + c12*x(2) + c13*x(3) + u
xdot(2) = c21*x(1) + c22*x(2) + c23*x(3)
xdot(3) = c31*x(1) + c32*x(2) + c33*x(3) + NLterm
NLterm = c*x(3)/(c^2 + x(3)^2)
In SS form:
A= [c11 c12 c13;...
c21 c22 c23;...
c31 c32 c33 + c/(c^2 + x(3)^2)];
B = [1 0 0]';
C = [0 0 1];
But, this can't be done with "ss" function in Matlab.
Any ideas !!

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by