pid_tf3.m

来自「内模控制器(IMC)工具箱。包括参数整定、PID控制器参数转换等」· M 代码 · 共 11 行

M
11
字号
function [numC,denC]=pid_tf3(numPs,denPs,numPinvs,denPinvs,denFs)
%This function compute PID equivalent transfer function, q/(1-pq).
%(The resulting numC, denC will be used to compute PID prarmeter later)

[numPQ,denPQ]=combind(numPs,denPs,denPinvs,numPinvs);

% Form C = Q/(1-PQ) to be approximated with the PID

numC=conv(denPinvs,denPQ);
denC=conv(numPinvs,polyadd(conv(denPQ,denFs),-numPQ));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?