www.gusucode.com > control 案例程序 matlab源码代码 > control/PDFControllerExample.m
%% PDF Controller % Create a continuous-time controller with proportional and derivative % gains and a filter on the derivative term. To do so, set the integral % gain to zero. Set the other gains and the filter time constant to the % desired values. %% % Copyright 2015 The MathWorks, Inc. Kp = 1; Ki = 0; % No integrator Kd = 3; Tf = 0.5; C = pid(Kp,Ki,Kd,Tf) %% % The display shows the controller type, formula, and parameter values, and % verifies that the controller has no integrator term.