Is it possible to make the setpoint of a PID control between two values?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I've got a system where the PID controller tries to control the torque of a motor to match the setpoint value. The output of this system is show below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161940/image.png)
As you can see the Torque is being controlled very rough to maintain speed (that's because the input varies very rough). The thing what I want to do is to let the controller control the system tot the setpoint value +- an error, so that the torque will be a lot smoother controlled. I was thinking about a filter after the PID controller to filter the high frequency component of the controller, but than the controller still would try to reach the only setpoint value that is set without the error that is permisseble.
The ultimate solution is using a interval as a setpoint for the PID controller
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!