Nonlinear plant and discrete controller in Simulink
조회 수: 2 (최근 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!