open loop response for nonlinear system

2 visualizaciones (últimos 30 días)
ojonugwa adukwu
ojonugwa adukwu el 14 de Ag. de 2019
Comentada: ojonugwa adukwu el 15 de Ag. de 2019
Good day everyone. How do I simulate nonlinear system in open loop in matlab? I have this nonlinear system and I want to observe the response before applying controller. How do I do that? Please help with the code. Thanks.

Respuesta aceptada

Jon
Jon el 14 de Ag. de 2019
Basically you need to define the set of ODE's (ordinary differential equations) that define your system and then solve them. MATLAB has many routines for solving ODE's, Please see the documentation at https://www.mathworks.com/help/matlab/ordinary-differential-equations.html?s_tid=CRUX_lftnav
After you have attempted to code up a solution, if you are still having problems, please attach your code and explain the specific problems you are encountering.
  2 comentarios
ojonugwa adukwu
ojonugwa adukwu el 14 de Ag. de 2019
Oh Great! Let me try that now. I will get back when I have made headway.
Many thanks
Jon
Jon el 14 de Ag. de 2019
Editada: Jon el 14 de Ag. de 2019
It is little bit tricky to apply your input vector to the system of equations. One approach is explained in https://www.mathworks.com/help/matlab/ref/ode45.html in the example ODE with Time-Dependent Terms
I assume you do not have Simulink. In Simulink you can do everything with block diagrams and it is very straight forward to drive your blocks with a known input vector.

Iniciar sesión para comentar.

Más respuestas (1)

ojonugwa adukwu
ojonugwa adukwu el 15 de Ag. de 2019
Good day. Sorry this is coming late. I have been able to use ode45 to simulate the open loop response of my system.
Many thanks for your expalnation. It was helpful.
  4 comentarios
Jon
Jon el 15 de Ag. de 2019
Thank you, good luck with your project
ojonugwa adukwu
ojonugwa adukwu el 15 de Ag. de 2019
Amen. Many thanks

Iniciar sesión para comentar.

Categorías

Más información sobre Systems of Nonlinear 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