Nonlinear plant and discrete controller in Simulink
5 次查看(过去 30 天)
显示 更早的评论
Hi. I have simulated the nonlinear dynamics of a Furuta pendulum MATLAB Function block in Simulink. Using the linearized and discretized system, I have designed a controller and I would like to simulate the response of the plant & the controller to torque disturbances (i.e., tapping the pendulum). The system is shown in the attached picture.
My question is, what is the correct way to do this?
Current effort:
Since the plant is in continuous time and the controller is discrete, I believe I need a Zero Order Hold on the input to simulate the fact that the controller commands (as implemented on a microcontroller for example) are constant between the sample times.
But should there be a Zero Order Hold on the sensing side as well? Note that I am estimating the angular velocities with backward difference method.
I should also note that the current response (attached) does make sense to me.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!