Simulink - PID Controller Tuning - Strange graphs
Mostrar comentarios más antiguos
Hello, I'm trying to tune PID controller in Simulink (system with delay). My "model" in Simulink looks like this:

I used Cohen-Coon method to find parameters of PID controller. Input parameters for PID controller are all right but when i start the simulation I keep getting these "not smooth" graphs (via picture) and I don't know why. I already tried to change model settings -> solver -> min and max step size but there is no difference.

I would be grateful for any help with this problem.
3 comentarios
If you request for proper help, please provide info about the design parameters in the PID controller block and the time delay in the Transport Delay block.
Milan Hrstka
el 9 de Abr. de 2022
Respuesta aceptada
Más respuestas (1)
This is strange.
I only set the max step size = 1e-3 in the solver config paramaters to produce a smoother output signal. The rest of the settings remain unchanged.
Can you check the each value in the control gain block?
P = 0.8958
I = 0.210930325
D = 0.6073524
2 comentarios
Milan Hrstka
el 9 de Abr. de 2022
Sam Chak
el 9 de Abr. de 2022
👍 Good to hear that it works!
Categorías
Más información sobre PID Controller Tuning 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!





