필터 지우기
필터 지우기

simulation on matlab (not on simulink)

조회 수: 1 (최근 30일)
Saka Toshi
Saka Toshi 2020년 8월 2일
답변: Paul 2020년 8월 3일
I want to disturbance observation simulation on matlab not on simulink.
difinition:
E:error, R:reference, D:disturbance, De:estimated disturbance
P:real plant, Pm:model of P, C:controler, F:filter,
Y:output of P, Ym:output of Pm, U:output of C
four equations:
U=C*E=C*(R-Y)
Y=P*(U+D-De)
Ym=Pm*(U-De)
De=Pm^(-1)*F*(Y-Ym)
So, when I set R and D, how can I get Y without using simulink ??
I must solve these simultaneous equations??
Or I can use somethig useful matlab functions ??

답변 (1개)

Paul
Paul 2020년 8월 3일
If have the a license for the Control System Toolbox you can use the connect function to build the model you want from a block diagram with R and D as inputs and Y as an output.
doc connect

카테고리

Help CenterFile Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by