Using the Recursive Polynomial Model Estimator for online estimation
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to learn how to use the recursive polynomial model estimator by implementing an ARX model with a known system to check results. The system is a simple siso tranfer function with two poles, no zeros and a 39.6 second deadtime. In the block parameters I'm using no initial estimate, setting na to 2, nb to 1, and nk to 39, and the covariance matrix to 1e6. In addition to to ARX, I'm using Forgetting Factor as an estimation method with a factor of 1 since the model is not changing in time.
In order to check my results I'm passing the parameters output through a model type converter, a bus selector and into scopes. The problem is that the resting ss data shown on the scopes does not match the results of ssdata() on the plant at all. I'm not sure what is going wrong as this seems like a simpler task than what this block was built for, and I've yet to recieve satisfactory results from reading documentation and playing with parameters.
Attached is the simulink diagram with corresponding scopes, and the results from ssdata on the plant. The MPC exists to provide input signals to the plant and for later use.
0 个评论
回答(2 个)
Arkadiy Turevskiy
2015-8-25
I don't think you can expect to get the exact a,b,c,d matrices you start from. The model is estimating system dynamics, and there is pretty much an infinite number of ways to represent the same dynamics with different state space representations. Di you try looking at the bode plot of the estimated system and comparing it with the bode plot of the original ss?
0 个评论
Andrew Sol
2019-5-30
Do I understand correctly that by using the A, B, C, D state space matrix using this scheme, I can try, using the same state space, to simulate a system with given inputs and outputs?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Predictive Control Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!