One of the systems I want to control with PID is the state space equation with disturbances. Can someone help me to design matlab function of the system? Please
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
veysel burçak
el 8 de Ag. de 2023
Comentada: Sam Chak
el 10 de Ag. de 2023
I have given the space state parameters I want to use below. Can you help design and control this matlab function with PID?

3 comentarios
Respuesta aceptada
Sam Chak
el 9 de Ag. de 2023
I have fixed the code in the MATLAB Function block. The initial condition is assigned in the Integrator block. It should be working correctly now.
function dx = fcn(w, u, x)
A = [-4.46566e-3 4.45684e-3;
5.15227e-3 -5.15227e-3];
B = [ 3.16315e-3;
0];
E = [ 2.92761e-3 0;
0 -2.03150e-8];
dx = A*x + B*u + E*w;


5 comentarios
Sam Chak
el 10 de Ag. de 2023
I have examined the .slx file and identified some issues with the design methodology. However, I'm not familiar with handling mismatched disturbances. Moreover, no stability proof is provided to demonstrate that the proposed sliding mode controller can effectively track the reference input. If the existing PI controller can solve the tracking problem, perhaps you can apply some modifications to it.
Currently, I don't have a solution for the control design. Therefore, I recommend that you post a new question, and hopefully, experts in the field can offer guidance.
Más respuestas (0)
Ver también
Categorías
Más información sobre Classical Control Design en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

