Is ir possible to use more than one reference signals when using looptune in MATLABR2012a?
Show older comments
Hello everyone.I have a question here.
Currently I am trying to use sl.looptune to tune the parameters of my PID controller.The system that I am investigating is a 3 by 3 system as shown in the attached simulink model.
Tracking requirement is the objective that I wish to achieve by using sl.looptune. However I encounter an error that says:
"Zero or more than one input signals match the reference signal identifier "R1"."
Does that mean I only can use one reference signal for the system when applying tuning requirement in sl.looptune for my 3 by 3 system?
2 Comments
Arkadiy Turevskiy
on 29 Dec 2014
Can you please attach your script and also indicate which release you are using (to do that type >>ver )
Kah Wei
on 30 Dec 2014
Accepted Answer
More Answers (1)
Arkadiy Turevskiy
on 29 Dec 2014
Most likely you need to specify signals of interest as I/O points, and then this problem would go away.
I.e., before you refer to R1 in something like TuningGoal.Tracking, define it as an input IO point:
ST0.addIO({'R1','R2','R3'},'input') % setpoint commands
Categories
Find more on Loop-Shaping Design in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!