Real-time linearization in Simulink for nonlinear MISO system

3 views (last 30 days)
I am developing a model-predictive controller for a nonlinear multiple-input-single-output system and need to linearize the Simulink model in real time to get two transfer functions. Unless there is a better way to do this, I am trying to use the Time-based linearization block in Simulink. If I have two possible input-output pairs (after declaring two input points and one output point), how do I distinguish and access the transfer function I want using the Time-based linearization block?

Answers (3)

Kaustubha Govind
Kaustubha Govind on 17 Apr 2012
If you have two inputs and one output, I'm not sure how you can get two distinct transfer functions for the same output. Is it possible to break the output into two components - one that depends only on the first input and one that depends only on the second input? If yes, you may want to create your model so that you have two output ports, one for each component.
  3 Comments
Victor
Victor on 18 Apr 2012
I got rid of the first error by typing this in the first line:
eml.extrinsic('linio','operpoint','linearize')
However, now I get a very long error message for the line:
op = operpoint('Model');
I'm still not sure this is the best way to linearize my Simulink model in real time because I have to introduce so many work-arounds. Does my question make more sense now?
Kaustubha Govind
Kaustubha Govind on 18 Apr 2012
But linearize is a static analysis tool. You cannot use it while the model is running. I don't know a lot about Controls, but you might also want to check out this toolbox: http://www.mathworks.com/help/releases/R2011b/toolbox/mpc/mpc_product_page.html

Sign in to comment.


Arkadiy Turevskiy
Arkadiy Turevskiy on 19 Apr 2012
You cannot use linearize in real time.
Your best bet is to linearize the model at several operating conditions offline, design MPC controller for each linear model, and then switch between these MPC controllers at run time as shown in this demo.
HTH.
Arkadiy

maddikayala venkateswarlu
maddikayala venkateswarlu on 17 Mar 2017
Try this link, here you will get idea that how to model a MISO system. https://in.mathworks.com/help/ident/examples/dealing-with-multi-variable-systems-identification-and-analysis.html?searchHighlight=steamEng&s_tid=doc_srchtitle

Community Treasure Hunt

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

Start Hunting!