Professional Documents
Culture Documents
%
% Source:
% H. Hjalmarsson et al., Iterative feedback tuning: theory and
% applications, Control Systems Magazine, IEEE, vol. 18, 1998, pp.
% 26-41.
%
% (C) 2008 Dan Miller danielmiller@ucsd.edu
if nargin < 4
gamma = 0.1;
end
if nargin < 5
lambda = 0;
end
if nargin < 6
beta = ones(3,1);
end
% Construct the gradient PID controller functions. These are the partial
% derivatives of the PID controller TF.
dKp = tf([1, -1], [Kp + Ki, -Kp], 1);
dKi = tf([1, 0], [Kp + Ki, -Kp], 1);
dKd = tf([1, -2, 1], [Kp + Ki, -Kp, 0], 1);