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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)