필터 지우기
필터 지우기

Disturbance input in MIMO LTI system

조회 수: 2 (최근 30일)
Diarmaid
Diarmaid 2016년 6월 28일
Hello! I want to be able to specify disturbance inputs for a MIMO LTI model as given below:
s=tf('s');
L1 = (2.3e-3)+(0.93e-3);
r1 = 0.4;
fs = 50;
w = 2*pi*fs;
Kp_pi = 0.001;
Ki_pi = r1/L1;
pi_tf = tf([Kp_pi Kp_pi*Ki_pi],[1 0]);
C_i = pi_tf;
Gpi = [C_i 0;0 C_i];
Gpi.u = 'e';
Gpi.y = {'ud','uq'};
Kfilt = (1/((((L1*s) + r1)^2)+((w*L1)^2)));
Gfilt = Kfilt*[s*L1+r1 w*L1 -(s*L1+r1) -w*L1;
-w*L1 s*L1+r1 w*L1 -(s*L1+r1)];
Gfilt.u = {'ud','uq','vgd','vgq'};
Gfilt.y = 'i1';
sum1 = sumblk('e = r-i1',2);
CLsys= connect(Gpi,Gfilt,sum1,'r','i1');
When I run the code I receive a warning that the inputs 'vgd' and 'vgq' are not used. I want to be able to specify these values directly as they are disturbance setpoints for the system.
Any help is appreciated,cheers!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by