模型类型转换
您可以针对目标模型类型使用相应的模型创建命令,将模型从一种表示转换为另一种表示。例如,使用 ss
转换为状态空间表示,使用 pid
转换为并联型 PID。有关转换为特定模型类型的信息,请参阅该模型类型的参考页。
函数
tf | 传递函数模型 |
zpk | 零极点增益模型 |
ss | 状态空间模型 |
frd | Frequency-response data model |
pid | PID controller in parallel form |
pidstd | PID controller in standard form |
pid2 | 2-DOF PID controller in parallel form |
pidstd2 | 2-DOF PID controller in standard form |
make1DOF | Convert 2-DOF PID controller to 1-DOF controller |
make2DOF | Convert 1-DOF PID controller to 2-DOF controller |
getComponents | Extract SISO control components from a 2-DOF PID controller |
主题
- Conversion Between Model Types
You can explicitly convert a model from one representation to another using the model-creation command for the target model type.
- Switching Model Representation
This example shows how to switch between the transfer function (TF), zero-pole-gain (ZPK), state-space (SS), and frequency response data (FRD) representations of LTI systems.
- Convert from One Model Type to Another
This example shows how to convert a numeric LTI model from one type (
pid
) to another type (tf
). - Get Current Value of Generalized Model by Model Conversion
This example shows how to get the current value of a generalized model by converting it to a numeric model.
- Decompose a 2-DOF PID Controller into SISO Components
This example shows how to extract SISO control components from a 2-DOF PID controller in each of the feedforward, feedback, and filter configurations.
- Sensitivity of Multiple Roots
This example shows that high-multiplicity poles have high numerical sensitivity and can shift by significant amounts when switching model representation.