How can I import a Neural Network Simulink block into Linear Analysis Tool?
2 views (last 30 days)
Show older comments
MRE
on 20 Oct 2016
Answered: Arkadiy Turevskiy
on 12 Dec 2016
I have created a Neural Network and obtained its block in Simulink. I would like to linearize it in order to be able to use it later in PID Tuner.
I try to do this linearization by means of the Linear Analysis Tool. However, I am having problems when setting the operating point (whether by trying to trim the model or by taking a simulation snapshot) because I do not understand well how it works. I have set the 2 inputs in Simulink as Open-Loop Inputs and the output as Open-Loop Output.
In case of taking a simulation snapshot: How can I choose the correct time in which I should take the snapshot?
In case of trimming: I do not obtain neither States nor Inputs nor Outputs to trim. When I click on Operating Point>Create New Operating Point>Trim Model it says that 'The Model does not have any Inputs, Outputs, states'.
How can I create operating Points?
Is there another way of importing my Neural Network Simulink block into PID Tuner?
0 Comments
Accepted Answer
Arkadiy Turevskiy
on 12 Dec 2016
PID Tuner essentially requires a transfer function of the plant to design a PID Controller.For the neural net, I think your best bet would be to follow the approach explained in this example .
0 Comments
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning 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!