Problem with Discrete Controller Design
3 次查看(过去 30 天)
显示 更早的评论
Dear Ladies and Gentlemen,
I am having an issue with designing a lead-lag controller. The bode plot of the continous controller is looking as expected but the discrete version of it is completely different and exhibits some weird spikes in the lower frequency section.
![Margin_Continuous.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241984/Margin_Continuous.jpeg)
Margin of continous controller.
![Margin_Discrete_Continuous.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241985/Margin_Discrete_Continuous.jpeg)
Bode plot of continous (blue) and discrete controller (orange).
The Sampling period is 81 ns which i use in the c2d function (with ZOH).
Is this some kind of numerical error or am I missing and/or misunderstanding something really important here?
Best regards,
Martin
0 个评论
回答(2 个)
M
2019-10-10
It could actually be both.
It is indeed possible that the discretization with a given frequency brings problems such as oversampling, that you do not encounter with the continuous time model. It is difficult to say without further investigation.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Plot Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!