Representing controller in z-domain and plant in continuous domain
10 次查看(过去 30 天)
显示 更早的评论
Background: For a particular plant transfer function (dc-dc converter), I have calculated the transfer function of my controller based on my desired poles and zero locations. I plan to build the entire system on hardware and intend to use a microcontroller to implement the controller. For this reason, I want to simulate continuous-domain plant function in close loop with a discrete-domain controller transfer function.
Question: On Simulink (or MATLAB), please advise about how can I be able to cascade my plant transfer function (which is in s-domain) with the controller transfer function (which is in z-domain in the form of a difference equation). Eventually I want to see the step response of the closed loop system. I built a program in Simulink but eventually the presence of both continuous and z-domain transfer function pops up an error. How can I achieve this? Any other solution (outside Simulink) are also welcome.
0 个评论
回答(1 个)
Arkadiy Turevskiy
2015-8-25
Simulink model should not be creating any errors if you are combining continuous and discrete blocks. Here is a model with a simple continuous-time transfer function and discrete-time PID Controller. It simulates fine, no errors.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!