Getting incorrect output from a discretized linear parameter varying state space model.

1 回表示 (過去 30 日間)
pankaj saha
pankaj saha 2017 年 6 月 2 日
編集済み: pankaj saha 2017 年 6 月 2 日
I identified the parameters of a SISO linear parameter varying simulink model by NLSE tool-box of MATLAB R2013a. One of the model parameter is a function of the previous model output, which has been represented by using a unit delay/memory block in the simulink model.
Now I'm trying to get the output from the state space model of the same system by using the model parameter identified in earlier step. I order to get output, I used 'c2d' command at Ts=2s for discretizing the continuous state space model, however, the output is not matching with the output of the simulink model. According to my best knowledge, as the model parameters are same the output should be same for the simulink and state space model but the state space model output is underdamped in compasision of the simulink model output. Then I changed Ts=1.8s (by trial & error) then it is giving quite accurate result however the sample time in both the simulation and experimental data, based on which parameter estimation has been done, were 2 sec., that's why I set Ts=2s.
My question is, why for Ts=2s the discrete state space model is not giving accurate result?

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by