Why does augw(P, W1, W2, W3) give a much lower order generalized plant when compared to the by hand construction?
Mostra commenti meno recenti
I have found that constructing a generalized plant with the built in function augw(P, W1, W2, W3) leads to a much lower order plant than just constructing one by hand as specified in its reference page:
This is the case even when considering the minimal realization of the by hand construction. Just to demonstrate this, I generated a bunch of random test models and weights in the TestModels.mat file linked above, and you can see the discrepancy using the script below:
load('TestModels.mat');
TestModel=TestStruct.TestModel; %Test plant
TestW1=TestStruct.TestW1; %Test W1 weight
TestW2=TestStruct.TestW2; %Test W2 weight
TestW3=TestStruct.TestW3; %Test W3 weight
Ze=zeros(2,2);
%Formulating the generalized plant exactly as described in augw() reference
GgenByHand=[TestW1 -TestW1*TestModel;
Ze TestW2;
Ze TestW3*TestModel;
eye(2,2) -TestModel];
GgenAugW=augw(TestModel,TestW1,TestW2,TestW3); %Formulating the generalized plant using augw() function
%GgenAugW has a much smaller order even when considering the minimal realization of the by hand generalized plant
size(GgenAugW)
size(minreal(GgenByHand))
I was wondering, why is this the case? Again going off of the augw reference, it seems like the by hand construction is exactly what it does, but I don't see how they could have a lower order system when compared to even the minimal realization of that generalized plant. Doing some testing, it seems like a lot of the time the minimal realization order and the augw() order both agree, but unfortunately for my actual plant model this is not the case.
1 Commento
Vinh
il 7 Feb 2024
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

