How to set sample time in the PID-tuner

18 views (last 30 days)
Erik Hjertholm
Erik Hjertholm on 20 Jun 2017
Hi, I am fairly new to Matlab so this might be really simple. How do I set the sample interval time in the PID-tuner? I have used the system identification tool to find a transfer function of my system, and this is imported into the PID-tuner.
For different reasons I want to update my system every 12th second. How can I set this? I reckon this sampling time will affect the PID-parameters?
(by fairly new I mean super novice)

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 6 Jul 2017
PID Tuner automatically assumes controller sample time is equal to the sample time of the plant. So if you want to change the sample time of the controller, change the sample time of the plant using c2d command before launching PID Tuner.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!