![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175866/image.jpeg)
how to measure PID parameters from PID tuning of SISOtool
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Franklin Ngo
el 19 de Nov. de 2016
Respondida: Arkadiy Turevskiy
el 6 de Dic. de 2016
I have a discrete plant which I wanna find a PID controller:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158191/image.jpeg)
I used SISOtool and PID tuning to find a fine PID controller, result is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158193/image.jpeg)
How can I find PID parameters from that to program my microcontroller? Thank in advanced.
0 comentarios
Respuesta aceptada
Arkadiy Turevskiy
el 6 de Dic. de 2016
Export the compensator you designed, C, to MATLAB workspace. Then in MATLAB type
C=pid(C)
This will convert the compensator from a transfer function to a PID object. You can then access the gains as shown below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175866/image.jpeg)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre PID Controller Tuning 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!