how to apply PID controller on dynamic system in state space form? example please
Mostrar comentarios más antiguos
dynamic equation MX'' + CX' + KX=F; In state space form x'(t) = Ax(t) + Bu(t); y(t) = Cx(t) + Du(t); PID gain u=Kp.e(t) + Ki. integration of e(t) + Kd. differentiation of e(t); where e(t)=output -input;
Respuestas (2)
Sebastian Castro
el 19 de Mayo de 2015
Editada: Sebastian Castro
el 19 de Mayo de 2015
You can create a PID controller using the pid function:
Then, you can use feedback function to connect to your system:
C = pid(Kp,Ki);
G = ss(A,B,C,D);
closedLoop = feedback(G*C,1);
- Sebastian
2 comentarios
MOHAMMAD AMIR
el 19 de Mayo de 2015
MOHAMMAD AMIR
el 9 de Ag. de 2015
sir how this program will change if x'(t) = Ax(t) + B*u(t)+Bphi*Uphi(t); y(t) = Cx(t) + Du(t); PID controller. In short how to use two inputs in PID controller u(t) and Uphi(t), to get x response of the system. Please help
Ali ÇEtin
el 16 de Mayo de 2019
0 votos
Error using DynamicSystem/ss (line 82)
Invalid syntax for the "ss" command. Type "help ss" for more information.
Error in Passivestatespace (line 15)
SYS = ss(A,B,C,D,Ts);
Give me this error.Could you help me ?
1 comentario
Vehzan Rustomji
el 4 de Dic. de 2019
Could you elaborate on this? Show how you implemented the code that resulted in this error.
Categorías
Más información sobre Get Started with Control System Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!