fpid_optimize

PURPOSE ^

FPID_OPTIMIZE Obtain optimized settings for fractional PID controller

SYNOPSIS ^

function [Kp, Ki, Kd, lam, mu, Z] = fpid_optimize(fsim, fopt, G, usesim)

DESCRIPTION ^

FPID_OPTIMIZE Obtain optimized settings for fractional PID controller

   Usage: [KP, KI, KD, LAM, MU, Z] = FPID_OPTIMIZE(FSIM, FOPT, G, USESIM)

   where  FSIM   - FOTF simulation structure,
          FOPT   - FPID optimization structure of type FPOPT,
          G      - optional: any valid MATLAB SISO LTI model (TF, ZPK, SS),
                   which is used instead of FSIM.PLANT. In this case correct
                   FSIM parameters still need to be supplied because they
                   are used for FPID approximation while FSIM.PLANT may be
                   an empty FOTF object.
          USESIM - optional: if provided a string with model name/path, a
                   Simulink model will be used for simulating the control
                   system time-domain response. This option requires
                   Simulink to be installed. By default the option is an
                   empty string (i.e. Simulink will not be used).

          KP, KI, KD, LAM, MU - obtained controller parameters.
                   
          Z      - structure with the following parameters:
                   .initialParams  - initial PID parameters
                   .timeSpan       - calculated time span for optimization
                   .finalIndex     - achieved performance index
                   .finalSpecs     - achieved performance specification
                                     deviations from the desired values

   See also: fsparam, fpopt, tf, zpk, ss

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 27-Aug-2015 23:54:49 by m2html © 2005