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
15 次查看(过去 30 天)
显示 更早的评论
I have given the space state parameters I want to use below. Can you help design and control this matlab function with PID?
采纳的回答
Sam Chak
2023-8-9
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 个评论
Sam Chak
2023-8-10
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!