d2c adding additional states to LTI
Ältere Kommentare anzeigen
I have a code that generates LTI models from discrete data, but I want to convert these models to continuous time, find the poles, and graph them. However, it seems that sometimes the d2c command adds additional states to my LTI model, as sometimes 5 poles are plotted. For example, for input data:
A_d=
1e+02 *
[0.110718619719143 -0.000737035149479 0.005729905388717 0.002429002265981;
4.276449431807656 -0.061071995313254 0.224664623811597 0.129453363954370;
-0.538137374064281 -0.006447736970600 -0.024323793240258 -0.004926156054745;
-1.082215587707828 0.011554930600797 -0.061260060208437 -0.020742803197906]
B_d=
[-0.013197318263078 -0.010662300061863;
-0.084279695692959 -0.125748471071436;
0.255309963036999 0.234028132342303;
-0.053037841835195 -0.122322843312343]
C_d =
1e+03 *
[0.809135901283113 0.016146667001697 0.066876783330997 0.026997790334984;
2.652006224816887 0.025394720425434 0.144074070140717 0.030699906773961]
, with D = zeros(2) and Ts = 1/34, d2c works as expected and outputs a LTI model with the same dimension as the input model. However, with input data:
A_d =
1e+02 *
[0.014256036806390 0.000450223367637 0.000576376517480 -0.000181827888041;
0.713615194260463 -0.003988872955590 0.031668241792225 0.024244473762646;
-1.230825050245824 -0.011325109710390 -0.044114258586243 -0.014074597764196;
0.624575354854199 -0.003751802624661 0.026340578460956 0.022458741153831]
B_d =
[0.000427078629755 0.002174440442580;
-0.043995584274625 -0.135390100744158;
0.048071594697139 0.056047678621764;
-0.134685120049440 -0.228138013688793]
C_d =
1e+03 *
[-0.253446150811753 0.106308785638307 0.018042545849229 -0.076419675803371;
1.940732966317529 0.222293334310487 0.084558057040129 -0.160651458161224]
and the same inputs for D and Ts, d2c outputs a LTI model with a 5x5 A matrix, which doesn't work for eigenvalue comparison as it has an additional pole. I am not sure if this is an issue with d2c, but I am sure I am not inputting values correctly as I input them the same way for all models.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Dynamic System Models finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!