MATLAB Answers

Controller Design in Model Based Design

조회 수: 1(최근 30일)
creative 2020년 4월 8일
답변: Rhea Chandy 2021년 3월 30일
I am designing a PID controller and later on need to generate code out of it. The plant model is in continuos domain and PID controller should be in Discrete Domain. So can i directly design a discrete controller in simulink with continuous plant model? I am confused how do i interface discrete part to continuos part.Also Will i be able to use classical analysis tools and methods for stability analysis within the hybrid model?
Thank you.


Rhea Chandy
Rhea Chandy 2021년 3월 30일
Yes, If your controller block is discrete, you can pass them directly into continuous block(s), so that you will have a discrete input acting on a continuous-time plant.
Take a look at this previously answered question for an example of how this is done: How to convert a signal from discrete to continuous in Simulink block diagram?
You should be able to use any classical analysis tools and methods you need on this model. Here's some information on Control System Design and Tuning .


Community Treasure Hunt

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

Start Hunting!

Translated by