Nonlinear state space model representation
45 views (last 30 days)
Show older comments
Hello everyone,
I would like to compute a continous-time nonlinear model using the state-space related blocks in Simulink (and NOT by using integrator blocks). The difficulties I've encountered were regarding setting up the state matrices: the state matrices (A,B,C) contained functions of the state variables, which I cannot define in the state space Simulink block, but are generated automatically.
I would appreciate very much any suggestions. Thanks.
Best regards, Cosmin
2 Comments
Stefan Raab
on 18 Apr 2016
Hello,
I'm afraid that the "State-Space" block does not support nonlinear matrix functions as the help says "Implement linear state-space system". So most likely you have to implement the nonlinear functions manually. Could you tell me why you don't want to use Integrator blocks? Maybe I can help you then.
Kind regards, Stefan
Answers (1)
Firas Omran
on 7 Oct 2017
Hello, Can you please tell me how you solved your problem because i am trying to build a nonlinear state space model with some random state space (rss command) and I cannot combine them together in one system.
Thanks Firas
2 Comments
Luis Martinez
on 27 Mar 2021
Ok so my system is reasonably complex (w/o linearizing it) , so my plan was to express my matrix A (in state space) as the jacobian matrix without evaluating at the operating point, since my feedback control desing will be in ss so basically i will design in linear and then add the feedback gain to the nonlinear simulink model , thats why i think the jaccobian is the right approach because i need to have a matrix A with the same dimensions as my feedback design. I am think of using "MATLAB function" to implement my A nonlinar jacobian matrix but im not sure on how to do this.
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!