Fractional-order-controller / FOPID-tuner

Fractional order proportional integral derivative controller tuner
5 stars 0 forks source link

NPM IRID FOPID (correct plant) compared with IOPID with anti-windup, static error too large #15

Open cnpcshangbo opened 5 years ago

cnpcshangbo commented 5 years ago

Neighborhood phase margin method for tuning fractional order PID controller in Simscape environment

Video

https://drive.google.com/file/d/1gkdWI1xhcpaHrljClASuOK9nrwt1UG8r/view

Plant model

image

cnpcshangbo commented 5 years ago

Docs

https://www.icloud.com/pages/0mgClyIkPIeL3LbBYER3EVAdw#extended_abstract

NPM Result

image

% k_p=x(1); k_i=x(2); k_d=x(3); lambda=x(4); mu=x(5); 2.6000 0 0.9588 0 1.5000 image

cnpcshangbo commented 5 years ago

IRID code

gam=0.5; Ts=0.01; dfod=irid_fod(gam,Ts,5);

IRID result

s^0.5=>Discrete transfer function

num=[1,-3.16336631308587,3.71959536925849,-1.96568707629962,0.436885459917815,-0.0273811687803932];

den=[0.0935414346693485,-0.239486864955964,0.209356682991156,-0.0676440492684792,0.00352282535674651,0.000822432073709469];

cnpcshangbo commented 5 years ago

FOPID controller in Simscape/Simulink

image

Simulink model

image

cnpcshangbo commented 5 years ago

Result

image

cnpcshangbo commented 5 years ago

To-do

cnpcshangbo commented 5 years ago

New issue: Verifying if put the whole controller to discrete transfer function is the same as IRID for FO derivator.