looptuneSetup
Construct tuning setup for looptune to tuning setup for systune using slTuner
interface
Syntax
[st0,SoftReqs,HardReqs,sysopt] = looptuneSetup(looptuneInputs)
Description
[st0,SoftReqs,HardReqs,sysopt] = looptuneSetup(looptuneInputs)
converts a tuning setup for looptune into an equivalent tuning setup for systune. The
argument looptuneInputs is a sequence of input arguments for looptune that
specifies the tuning setup. For example,
[st0,SoftReqs,HardReqs,sysopt] = looptuneSetup(st0,wc,Req1,Req2,loopopt)
generates a set of arguments such that looptune(st0,wc,Req1,Req2,loopopt) and
systune(st0,SoftReqs,HardReqs,sysopt) produce the same results.
Use this command to take advantage of additional flexibility that systune offers relative
to looptune. For example, looptune requires that you tune all channels of a MIMO
feedback loop to the same target bandwidth. Converting to systune allows you to specify
different crossover frequencies and loop shapes for each loop in your control system.
Also, looptune treats all tuning requirements as soft requirements, optimizing them, but
not requiring that any constraint be exactly met. Converting to systune allows you to
enforce some tuning requirements as hard constraints, while treating others as soft
requirements.
You can also use this command to probe into the tuning requirements enforced by
looptune.
Examples
looptuneSetup