Real-Time Linearization
이전 댓글 표시
Hey there! I'm working with MATLAB 2015b on a research license, which offers many awesome comprehensive tools like the Linear Analysis Toolbox for controls applications. There was a previous post about this topic but the conclusion was it cannot be done: http://www.mathworks.com/matlabcentral/answers/35783-real-time-linearization-in-simulink-for-nonlinear-miso-system I'm hoping that between then and now, a technology gap was filled.
I have a nonlinear MIMO dynamics model in which I'm trying to linearize the plant at every time step, calculate a control input with the linearized compensated system (A-BK), then propagate nonlinear dynamics. I understand how to linearize at the initial conditions instantaneously, but I don't understand how to linearize a simulink model in real time, then use that linearization within the simulink model to create a control input.
I have a theory of how to to do it, but if someone has a better way, please comment!
My theory is analogous to a breakout board: Initialize Simulink model state variables at t0 Linearize and retrieve A and B matrix within a script Calculate control input Feed control input into Simulink model at t0 Propagate nonlinear dynamics within Simulink model to t1 repeat
댓글 수: 1
Frankie Zhu
2016년 2월 29일
편집: Frankie Zhu
2016년 2월 29일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Linearization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!