vrfttuneOptions
Description
returns an options object based on the controller structure for virtual reference feedback
tuning.opt = vrfttuneOptions(ControllerStructure)
Examples
Create option set for vrttune to specify the controller structure for tuning.
By default, vrfttuneOptions returns options for parallel-form PID controller.
options = vrfttuneOptions
options =
ParallelPID with properties:
PIDType: 'PI'
IntegratorMethod: 'ForwardEuler'
DiscretizationMethod: 'tustin'
To set the values of options, use dot notation.
options.PIDType = "PID"options =
ParallelPID with properties:
PIDType: 'PID'
IntegratorMethod: 'ForwardEuler'
DiscretizationMethod: 'tustin'
Similarly, you can create options for other controller structures such as FIR filter, LTI combination, and tunable LTI.
options = vrfttuneOptions("fir-filter")options =
FIRFilter with properties:
FilterOrder: 5
DiscretizationMethod: 'tustin'
options = vrfttuneOptions("lti-combination")options =
LTICombination with properties:
LinearControlBasis: {2×1 cell}
DiscretizationMethod: 'tustin'
options = vrfttuneOptions("tunable-lti")options =
TunableLTI with properties:
TunableController: [1×1 tunablePID]
OptimizationOptions: [1×1 optim.options.Fmincon]
DiscretizationMethod: 'tustin'
Input Arguments
Controller structure, specified as a string scalar with one of the following values.
"parallel-pid"— Parallel-form PID controllers"fir-filter"— FIR filters"lti-combination"— Linear combination of LTI systems"tunable-lti"— Tunable LTI objects such astunableTFortunablePID.
Output Arguments
Option set, returned as one of the following objects.
| Options Object | Properties | Values |
|---|---|---|
vrfttune.options.ParallelPID | PIDType | Specify the PID controller type.
|
IntegratorMethod | Specify the PID integrator method α(z).
| |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.FIRFilter | FilterOrder | Specify a positive integer between 2 and 10. |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.LTICombination | LinearControlBasis | Linear systems
Ci(z) in the
generic-form control structure, specified as a cell array of LTI objects
( Specify this parameter such that the value matches the form of the controller to tune. This can also represent a combination of linearly parameterized controllers. Here, the controller parameters θi are ordered corresponding to the index of LTI objects provided in the array. For example, the default value of this parameter represents a discrete-time parallel-form PID controller, with θ1 as the proportional gain and θ2 as the integral gain. |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.TunableLTI | TunableController | Specify a tunable LTI object. You can provide the following tunable LTI objects:
|
OptimizationOptions | Specify fmincon options created using
optimoptions. | |
DiscretizationMethod | Specify the discretization method.
|
Version History
Introduced in R2026a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)