cnpcshangbo / FOPD-tuner

Fractional order proportional derivative controller tuner
MIT License
10 stars 3 forks source link

How to integrate MATLAB optimization method for tuning? #15

Open cnpcshangbo opened 6 years ago

cnpcshangbo commented 6 years ago

First, we need to figure out what objective function to use for tuning parameters.

There're several options:

What is the function that we want to tune?

To-do list:

cnpcshangbo commented 6 years ago

How to build the objective function?

% Calculates derivative at crossover frequency
% Output: derivative at crossover frequency
%
% In: 
% variables:
% lambda, ki and kp
% Fractional order: lambda
% Integrator gain: ki
% Proportional gain: kp
%
% constants: wc, phi
% Crossover frequency: wc
% Phase margin: phi.

Next, we need to figure out the process for calculating the derivative at crossover frequency is in the article. Let's consider the three specifications for flat phase. image