Fractional Order Modeling

Similar documents
Fractional order PID control: better than the best issue and what's next

Using Continued Fraction Expansion to Discretize Fractional Order Derivatives

Design and Tuning of Fractional-order PID Controllers for Time-delayed Processes

Robust PID and Fractional PI Controllers Tuning for General Plant Model

Fractional Calculus View of Intelligent Adaptive Systems

Tuning of fractional PI controllers for fractional order system models with and without time delays

Generalized Fractional Order Reset Element (GFrORE)

The Time-Scaled Trapezoidal Integration Rule for Discrete Fractional Order Controllers

Experimental Study of Fractional Order Proportional Integral (FOPI) Controller for Water Level Control

Discretization of Fractional-Order Differentiators and Integrators

SOME APPROXIMATIONS OF FRACTIONAL ORDER OPERATORS USED IN CONTROL THEORY AND APPLICATIONS. Abstract

TUNING-RULES FOR FRACTIONAL PID CONTROLLERS

THE ball and beam system is one of the most popular

Computers and Mathematics with Applications

Analysis of Fractional order PID controller for Ceramic Infrared Heater

Optimal Fractional Order Proportional Integral Controller for Varying Time-Delay Systems

CHAPTER 7 FRACTIONAL ORDER SYSTEMS WITH FRACTIONAL ORDER CONTROLLERS

Fractional-order integral and derivative controller for temperature profile tracking

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

FRACTIONAL DIFFERENTIAL EQUATIONS

Trade-off Adjustment of Fractional Order Low-pass Filter for Vibration Suppression Control of Torsional System

Recursive, Infinite Impulse Response (IIR) Digital Filters:

An Improved Spin Echo Train De-noising Algorithm in NMRL

N OWADAYS, Application of Newton s Method to Analog and Digital Realization of Fractional-order Controllers

Fractional Order Adaptive Feedforward Cancellation

Effect of Fractional Order in Vertical Pole Motion Sucheta Moharir 1, Narhari Patil 2

Quadrature Based Approximations of Non-integer Order Integrator on Finite Integration Interval

Closed-Loop Identification of Fractionalorder Models using FOMCON Toolbox for MATLAB

Time-Domain Evaluation of Fractional Order Controllers Direct Discretization Methods

Auto-tuning Fractional Order Control of a Laboratory Scale Equipment

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

The Time-Scaled Trapezoidal Integration Rule for Discrete Fractional Order Controllers

A ROBUST STABILITY TEST PROCEDURE FOR A CLASS OF UNCERTAIN LTI FRACTIONAL ORDER SYSTEMS

Pulse Sequences: RARE and Simulations

ANALOGUE FRACTIONAL-ORDER GENERALIZED MEMRISTIVE DEVICES

Lecture 9 Infinite Impulse Response Filters

Dr. Ian R. Manchester

M R I Physics Course. Jerry Allison Ph.D., Chris Wright B.S., Tom Lavin B.S., Nathan Yanasak Ph.D. Department of Radiology Medical College of Georgia

ECE317 : Feedback and Control

On the Designing of Fractional Order FIR Differentiator Using Radial Basis Function and Window

Stabilization of fractional positive continuous-time linear systems with delays in sectors of left half complex plane by state-feedbacks

Problem Weight Score Total 100

Using Fractional Calculus for Lateral and Longitudinal Control of Autonomous Vehicles

Modeling and Control Overview

Outline. Classical Control. Lecture 5

Positioning Servo Design Example

DETERMINATION OF AN UNKNOWN SOURCE TERM IN A SPACE-TIME FRACTIONAL DIFFUSION EQUATION

Process Identification Using Relay Feedback with a Fractional Order Integrator

CompensatorTuning for Didturbance Rejection Associated with Delayed Double Integrating Processes, Part II: Feedback Lag-lead First-order Compensator

APPLICATIONS FOR ROBOTICS

An overview of Fractional order PID Controllers and its Industrial applications

Dynamic Matrix controller based on Sliding Mode Control.

FREQUENCY DOMAIN IDENTIFICATION TOOLBOX

Design of digital differentiators and integrators of order 1 2

arxiv: v1 [nlin.ao] 2 Jun 2012

Principles of Magnetic Resonance

Control System Design

An Improved Design for the IIR Digital Fractional order Differential Filter using Indirect Discretization Approach

Poles and Zeros and Transfer Functions

An Internal Stability Example

Slow symmetric exchange

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

E : Lecture 1 Introduction

Fractional-order linear time invariant swarm systems: asymptotic swarm stability and time response analysis

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

Introduction to MRI. Spin & Magnetic Moments. Relaxation (T1, T2) Spin Echoes. 2DFT Imaging. K-space & Spatial Resolution.

Weierstrass Products and More on Analytic Continuation

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016

Design and Optimization of Energy Systems Prof. C. Balaji Department of Mechanical Engineering Indian Institute of Technology, Madras

PID control of FOPDT plants with dominant dead time based on the modulus optimum criterion

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

446 CHAP. 8 NUMERICAL OPTIMIZATION. Newton's Search for a Minimum of f(x,y) Newton s Method

Automatic Control Systems

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification

INTRODUCTION TO DIGITAL CONTROL

Experimental Investigations on Fractional Order PI λ Controller in ph Neutralization System

Chapter 6 - Solved Problems

Analysis of Bilateral Teleoperation Systems under Communication Time-Delay

SIMPLE CONDITIONS FOR PRACTICAL STABILITY OF POSITIVE FRACTIONAL DISCRETE TIME LINEAR SYSTEMS

Project One: C Bump functions

CDS 101/110: Lecture 3.1 Linear Systems

APPROXIMATIONS TO FRACTIONAL- ORDER LINEAR TIME INVARIANT SYSTEMS

MAE143A Signals & Systems - Homework 5, Winter 2013 due by the end of class Tuesday February 12, 2013.

BMB 601 MRI. Ari Borthakur, PhD. Assistant Professor, Department of Radiology Associate Director, Center for Magnetic Resonance & Optical Imaging

ECE Branch GATE Paper The order of the differential equation + + = is (A) 1 (B) 2

Continuity and One-Sided Limits

University of Science and Technology, Sudan Department of Chemical Engineering.

Outline. Classical Control. Lecture 1

Chap 4. State-Space Solutions and

Rad 226b/BioE 326b In Vivo MR: Relaxation Theory and Contrast Mechanisms

Set-point Filter Design for a Two-degree-of-freedom Fractional Control System

SIGNALS AND SYSTEMS LABORATORY 4: Polynomials, Laplace Transforms and Analog Filters in MATLAB

Digital Signal Processing Prof. T. K. Basu Department of Electrical Engineering Indian Institute of Technology, Kharagpur

Digital Control System Models. M. Sami Fadali Professor of Electrical Engineering University of Nevada

Improving the Control System for Pumped Storage Hydro Plant

Lecture 02 Nuclear Magnetic Resonance Spectroscopy Principle and Application in Structure Elucidation

CDS 101/110: Lecture 3.1 Linear Systems

REALIZATION OF FRACTIONAL ORDER DIFFERENTIATOR

More NMR Relaxation. Longitudinal Relaxation. Transverse Relaxation

Transcription:

Fractional Order Modeling A Tutorial Introduction and An Application in Characterizing Complex Relaxation Processes YangQuan Chen, Ph.D., Director, MESA (Mechatronics, Embedded Systems and Automation)LAB MEAM/EECS, School of Engineering, University of California, Merced E: yqchen@ieee.org; or, yangquan.chen@ucmerced.edu T: (209)228-4672; O: SE1-254; Lab: Castle #22 (T: 228-4398) Sept. 14, 2012. Friday 12:00-13:20 COB 267

Slide-2/1024 Outline What is Fractional Calculus and Fractional Order Modeling/Controls A Worked Out Example on Fractional Order Modeling (FOM) Summary of Benefits of Using FOM An Application: Parameter-Distributed and DO FOM of Complex Relaxation Processes

Slide-3/1024 Fractional (Noninteger)(order) operator First order differentiator: s First order integrator: 1/s Magnitude (db) 5 0-5 -10-15 Bode Diagram Magnitude (db) 20 15 10 5 0 Bode Diagram -20-89 -5 91-89.5 90.5 Phase (deg) -90-90.5 Phase (deg) 90 89.5-91 10 0 10 1 Frequency (rad/sec) sys1=tf([1],[1,0]);figure;bode(sys1);grid on; 89 10 0 10 1 Frequency (rad/sec) sys1=tf([1],[1,0]);figure;bode(1/sys1);grid on; What is s α when α is a non-integer?

db 20 10 0 Slide-4/1024 Fractional Order Integrator (half order) 1 G( s) = s -10 a=-0.5;w=logspace(-2,2,1000);fi=(j.*w).^a; figure;subplot(2,1,1);semilogx(w,20*log10(abs(fi))); xlabel('frequency (rad./sec.)');ylabel('db');grid on subplot(2,1,2);semilogx(w,180*angle(fi)/pi); xlabel('frequency (rad./sec.)');ylabel('degree');grid on degree -20 10-2 10-1 10 0 10 1 10 2-45 -45-45 frequency (rad./sec.) -45 10-2 10-1 10 0 10 1 10 2 frequency (rad./sec.) Legal in MATLAB and everywhere?

Slide-5/1024 Possible? Possible! Legal!! I. Petras, I. Podlubny, P. O Leary, L. Dorcak, and Vinagre B. Analogue Realization of Fractional Order Controllers. FBERG, Technical University of Kosice, Kosice, Slovak, ISBN 8070996277 edition, 2002.

Slide-6/1024 NSF SBIR 0538866 Photo credit: Igor Podlubny

Slide-7/1024 Oustaloup s Recursive Approximation for fractional order differentiators/integrator Oustaloup-Recursive-Approximation for s^-0.5 100 Magnitude (db) 50 0-50 -100 0 Phase (deg) -45-90 10-2 10 0 10 2 10 4 Frequency (rad/sec) w_l=0.1;w_h=1000; r=-0.5; figure; N=3; sys1=tf(1,[1,0]); sys_n_tf=ora_foc(r,n,w_l,w_h);bode(sys_n_tf,'k:',sys1,'r-');grid on; title(['oustaloup-recursive-approximation for {\it s}^{\^}',num2str(r)]); G( s) http://www.mathworks.com/matlabcentral/fileexchange/3802-oustaloup-recursive-approximation-for-fractional-order-differentiators 1 s = γ B( s) A( s)

0.03 0.025 Slide-8/1024 Chen s impulse response invariant discretization for fractional order differentiators/integrator true for 1/s 0.5 approximated 40 20 impulse response 0.02 0.015 0.01 db 0-20 10-1 10 0 10 1 10 2 10 3 10 4 50 frequency in Hz true mag. Bode approximated mag. Bode 0.005 0 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 time irid_fod(0.5,.001,7) -50 10-1 10 0 10 1 10 2 10 3 10 4 http://www.mathworks.com/matlabcentral/fileexchange/21342-impulse-responseinvariant-discretization-of-fractional-order-integratorsdifferentiators degree 0 1 ( 1 B( z ) G s) = γ s A( z 1 ) true phase Bode approximated Phase Bode frequency in Hz

Slide-9/1024 What is s α when α is a non-integer?

Slide-10 of 1024 Slide credit: Igor Podlubny

Slide-11 of 1024

Slide-12/1024 Anything surprising so far? Quite intuitive in fact. For example,

Slide-13 of 1024 Slide credit: Igor Podlubny

Slide-14 of 1024 Slide credit: Igor Podlubny

Slide-15 of 1024 Slide credit: Igor Podlubny

Slide-16 of 1024 Fractional Order Thinking or, In Between Thinking For example Between integers there are non-integers; Between logic 0 and logic 1, there is the fuzzy logic ; Between integer order splines, there are fractional order splines Between integer high order moments, there are noninteger order moments (e.g. FLOS) Between integer dimensions, there are fractal dimensions Fractional Fourier transform (FrFT) in-between time-n-freq. Non-Integer order calculus (fractional order calculus abuse of terminology.) (FOC)

Slide-17 of 1024 Slide credit: Igor Podlubny

Slide-18/1024 FOMs and Fractional Order Controls IO Controller + IO Plant FO Controller + IO Plant FO Controller + FO Plant IO Controller + FO Plant Concepcin A. Monje, YangQuan Chen, Blas Vinagre, Dingyu Xue and Vicente Feliu (2010). Fractional Order Systems and Controls - Fundamentals and Applications. Advanced Industrial Control Series, Springer-Verlag, www.springer.com/engineering/book/978-1-84996-334-3 (2010), 415 p. 223 ill.19 in color.

Slide-19/1024 2001-2010 2005-2011

Slide-20/1024 Outline What is Fractional Calculus and Fractional Order Modeling/Controls A Worked Out Example on Fractional Order Modeling (FOM) Summary of Benefits of Using FOM An Application: Parameter-Distributed and DO FOM of Complex Relaxation Processes

Slide-21/1024 y( 0, t) x y( x, t) Boundary condition: initial condition Physical limit

Slide-22/1024 Irrational Transfer Function. Taylor series expansion: polynomial of half order integrators!!

Slide-23/1024 Ideal physical plant model: G p ( s) = e s First Order Plus Time Delay (FOPTD) Model: K 1 L1s GIO( s) = e T1 s + 1 Time Delay with Single Fractional Pole Model: All models are wrong but some are useful. George E. P. Box 2 L2s GFO( s) = e 0. 5 T2s + 1 K All models are wrong but some are dangerous Leonard A. Smith

Slide-24/1024 Step response of the Ideal Plant y( 0, t) = m( t) = 1u ( t), M ( s) = Y x s G x s M (, ) x= 1 = (, ) x= 1 ( ) = p ( ) ( ) = s G 1 s s M s 1 s So, Reaction-Curve or Step response of the Ideal Plant 1 0.9 0.8 e s y( t) = L 1 [ e s 1 s ] temperature (C) 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 20 40 60 80 100 120 time (sec.)

Slide-25/1024 1 s Magic code to do y( t) = L [ e ] % step response of normalized 1D heat equation when x=1 clear all;close all; alpha=.5; Ts=0.1; F= @(s) exp(-s.^alpha)./s; %----------------------------------------------------------------- alfa=0; M=1024; P=20; Er=1e-10; tm=m*ts; wmax0=2*pi/ts/2; L = M; Taxis=[0:L-1]*Ts; n=1:l-1; n=n*ts ; N=2*M; qd=2*p+1; t=linspace(0,tm,m); NT=2*tm*N/(N-2); omega=2*pi/nt; c=alfa-log(er)/nt; s=c-i*omega*(0:n+qd-1); Fsc=feval(F,s); ft=fft(fsc(1:n)); ft=ft(1:m); q=fsc(n+2:n+qd)./fsc(n+1:n+qd-1); d=zeros(1,qd); e=d; d(1)=fsc(n+1); d(2)=-q(1); z=exp(-i*omega*t); for r=2:2:qd-1; w=qd-r; e(1:w)=q(2:w+1)-q(1:w)+e(2:w+1); d(r+1)=e(1); if r>2; q(1:w-1)=q(2:w).*e(2:w)./e(1:w-1); d(r)=-q(1); end end A2=zeros(1,M); B2=ones(1,M); A1=d(1)*B2; B1=B2; for n=2:qd A=A1+d(n)*z.*A2; B=B1+d(n)*z.*B2;A2=A1; B2=B1; A1=A; B1=B; end ht=exp(c*t)/nt.*(2*real(ft+a./b)-fsc(1)); %------------------------------------------------------------------ figure;tt=0:(length(ht)-1);tt=tt*ts;plot(tt,ht); xlabel('time (sec.)');ylabel('temperature (C)');grid on Application of numerical inverse Laplace transform algorithms in fractional calculus Journal of the Franklin Institute, Volume 348, Issue 2, March 2011, Pages 315-330 Hu Sheng, Yan Li, YangQuan Chen http://dx.doi.org/10.1016/j.jfranklin.2010.11.009 (Check ref [8]) 1 s

Slide-26/1024 So, let us do fitting! Ideal physical plant model: G p ( s) = e s First Order Plus Time Delay (FOPTD) Model: K 1 L1s GIO( s) = e T1 s + 1 Time Delay with Single Fractional Pole Model: All models are wrong but some are useful. George E. P. Box 2 L2s GFO( s) = e 0. 5 T2s + 1 K

Slide-27/1024 1 FOPDT optimal fitting result J=0.13541 1 TDWFP optimal fitting result J=0.020817 0.9 0.8 0.9 0.8 ideal TDWFP model step response 0.7 0.6 0.5 0.4 0.3 0.2 ideal FOPDT J=0.13541 step response 0.7 0.6 0.5 0.4 0.3 0.2 J=0.020817 0.1 0.1 0 0 20 40 60 80 100 120 time (sec.) K1 T1 L1 0.9120 2.2393 0 0 0 20 40 60 80 100 120 time (sec.) K2 T2 L2 1.0197 1.2312 0.0001

Fitting code for Slide-28/1024 1 L1s GIO( s) = e T1 s + 1 % Ts: sampling period; ht: step response (from NILT numerical inverse % Laplace transform) % previously we got Ts and ht array (reaction curve) options=optimset('tolx',1e-10,'tolfun',1e-10); Tic;[x,FVAL,EXITFLAG] =fminsearch(@(x) fopdtfit(x,ht,ts),[1,1,0],options);toc % May need to wait half minute K1=x(1);T1=x(2);L1=x(3);T=(0:length(ht)-1)*Ts;if L1<0; L1=0; end sysfoptd=tf([k1],[t1,1],'iodelay',l1); y=step(sysfoptd,t);plot(t,ht,'r',t,y,'k:');grid on; title(['fopdt optimal fitting result J=',num2str(FVAL)]); xlabel('time (sec.)');ylabel('step response'); legend('ideal', 'FOPDT') K % fitting using FOPTD model - integral of error square (ISE) function [J]=foptdfit(x,y0,Ts); K1=x(1);T1=x(2);L1=x(3);T=(0:length(y0)-1)*Ts;if L1<0; L1=0; end sysfoptd=tf([k1],[t1,1],'iodelay',l1); y=step(sysfoptd,t); J=(y'-y0)*(y-y0')*Ts;

Fitting code for Slide-29/1024 K 2 L2s GFO( s) = e 0. 5 T2s + 1 options=optimset('tolx',1e-10,'tolfun',1e-10); Tic;[x,FVAL,EXITFLAG] =fminsearch(@(x) tdwfpfit(x,ht,ts),[1,2,0],options);toc % May need to wait 1000+ seconds! K1=x(1);T1=x(2);L1=x(3);Np=length(ht);T=(0:Np-1)*Ts;if L1<0; L1=0; end y=mlf(0.5,1.5,-t.^0.5/t1);y=(k1/t1)*(t.^0.5).* y; Nstep=floor(L1/Ts); y1=zeros(size(y));y1(nstep+1:np)=y(1:np-nstep); y=y1;plot(t,ht,'r',t,y,'k:');grid on; title(['tdwfp optimal fitting result J=',num2str(FVAL)]); xlabel('time (sec.)');ylabel('step response'); legend('ideal', 'TDWFP model') % fitting using TDWFP model - integral of error square (ISE) function [J]=tdwfpfit(x,y0,Ts); K1=x(1);T1=x(2);L1=x(3);Np=length(y0);T=(0:Np-1)*Ts;if L1<0; L1=0; end y=mlf(0.5,1.5,-t.^0.5/t1);y=(k1/t1)*(t.^0.5).* y; Nstep=floor(L1/Ts);y1=zeros(size(y));y1(Nstep+1:Np)=y(1:Np-Nstep); J=(y1-y0)*(y1-y0)'*Ts; % get MLF.m from % www.mathworks.com/matlabcentral/fileexchange/8738-mittag-leffler-function

Slide-30/1024 Outline What is Fractional Calculus and Fractional Order Modeling/Controls A Worked Out Example on Fractional Order Modeling (FOM) Summary of Benefits of Using FOM An Application: Parameter-Distributed and DO FOM of Complex Relaxation Processes

Slide-31/1024 Benefits of FOM Captures (more) physics Reaction curve fitting: Better than the best K1 L1s FOPDT model GIO( s) = e T s + 1 1 2 L2s GFO( s) = e 0. 5 T2s + 1 Could be a nice starting point for better controller design? G p ( s) = e s K

Slide-32/1024 FOMs and Fractional Order Controls IO Controller + IO Plant FO Controller + IO Plant FO Controller + FO Plant IO Controller + FO Plant Concepcin A. Monje, YangQuan Chen, Blas Vinagre, Dingyu Xue and Vicente Feliu (2010). Fractional Order Systems and Controls - Fundamentals and Applications. Advanced Industrial Control Series, Springer-Verlag, www.springer.com/engineering/book/978-1-84996-334-3 (2010), 415 p. 223 ill.19 in color.

Slide-33/1024 Fractional order PID control 90% are PI/PID type in industry. (Ubiquitous) Igor Podlubny. Fractional-order systems and PI l D µ -controllers. IEEE Trans. Automatic Control,44(1): 208 214, 1999. YangQuan Chen, Dingyu Xue, and Huifang Dou. "Fractional Calculus and Biomimetic Control". IEEE Int. Conf. on Robotics and Biomimetics (RoBio04), August 22-25, 2004, Shengyang, China.

Slide-34/1024 Outline What is Fractional Calculus and Fractional Order Modeling/Controls A Worked Out Example on Fractional Order Modeling (FOM) Summary of Benefits of Using FOM An Application: Parameter-Distributed and DO FOM of Complex Relaxation Processes

Slide-35/1024 Complex relaxation in NMR http://en.wikipedia.org/wiki/metastasis http://www.ispub.com/journal/the-internet-journal-of-radiology/volume-13-number-1/in-vivo-mr-measurement-of-refractive-index-relativewater-content-and-t2-relaxation-time-of-various-brain-lesions-with-clinical-application-to-discriminate-brain-lesions.article-g08.fs.jpg

Slide-36/1024 T2 relaxation in NMR http://hs.doversherborn.org/hs/bridgerj/dshs/apphysics/nmr/t2.htm

Slide-37/1024 T2 relaxation in NMR Carr Purcell Meiboom Gill (CPMG) pulse sequence, as shown in Fig. 1, is widely used to measure spin spin relaxation time T2 magnetization decay data M(t) with poor SNR

Slide-38/1024 Complex relaxation: How to characterize or model it? Debye relaxation Distributed-parameter (infinite # of time constants) (H. Fröhlich, 1949)

Slide-39/1024 Complex relaxation: How to better characterize or model it? Cole-Cole (1941) Distributed-parameter (infinite # time constants) (Hu, Li and Chen, IEEE CDC 2010)

Slide-40/1024 More complex relaxation models Cole-Davidson Havriliak-Negami Distributed-order case? Sure! ( ) H s = 1 0 γ ( ) f γ τs + 1 dγ

Slide-41/1024 More complex relaxation models: Why? More complexities captured More informing (useful) parameters extracted Closer to the nature of the real (fractional) dynamics Not much added computational overhead increase model complexities! When?

Slide-42/1024 An illustration Distributed-parameter (infinite time constants) α = 0.75, T=1 sec.

Slide-43/1024 Scanning the order and fitting The order information might be important in diagnosis of cancer, trauma etc. for treatment responses

Slide-44/1024 A take home message Go Fractional Order Models if (note: not iff) The signals are from a complex system biological, physiological, behavioral, social (crowds, community emergence, alcohol diffusion ) man-made, (transportation/comm/power networks, etc. ) natural (geological, ecological, environmental etc.) cosmological etc.

Slide-45/1024 Go Fractional Order Models, too? ( ) H s = 1 0 γ ( ) f γ τs + 1 dγ

Slide-46/1024 Thank you for attending my talk! For more information, check http://mechatronics.ece.usu.edu/foc/afc http://www.youtube.com/user/fractionalcalculus coming soon http://mechatronics.ucmerced.edu/