Discrete PID reg. sample time and Solver options
2 views (last 30 days)
Show older comments
I want to ask whether the sample times (1 inside the discrete PID governor and the another inside the configuration parameters ->Solver options-> Fixed-Step size) must be the same. I would like to have Solver option sample time: 0.001 but my discrete PID has 0.1. Unfortunately when I run simulation I get an error message and to avoid error I need to decrease my PID sample time to 0.001 but I don't want that.
Is there any other way to solve this out?
2 Comments
Arkadiy Turevskiy
on 9 May 2013
These 2 sampling times don't have to be the same. What is the error message you are getting?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!