Upload
venkatesh-kumar
View
221
Download
0
Embed Size (px)
Citation preview
7/27/2019 03 FOC Workshop New Xue 3
1/63
Friday, 2010-7- 2,16:05:56
Slide 1 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Tutorial Workshop on
Fractional Order Dynamic
Systems and ControlsWCICA2010, Jinan, China
Computational Aspect of Fractional-Order Control Problems
Dingyu Xue
Institute of AI and Robotics
Faculty of Information Sciences and Engineering
Northeastern University
Shenyang 110004, P R China
7/27/2019 03 FOC Workshop New Xue 3
2/63
Friday, 2010-7- 2,16:05:56
Slide 2 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Computational Aspect of
Fractional-Order Control ProblemsOutlines and Motivations of Presentation
Computations in Fractional Calculus
How to solve related problems with computers,especially with MATLAB?
Linear Fractional-Order Transfer Functions
In Conventional Control: CST is widely used, isthere a similar way to solve fractional-order control
problems. Class based programming in MATLAB
7/27/2019 03 FOC Workshop New Xue 3
3/63
Friday, 2010-7- 2,16:05:56
Slide 3 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Outlines and Motivations (contd)
Simulation Studies of Fractional-Order
Nonlinear Systems
How to solve problems in nonlinear systems? The
only feasible way is by simulation. Simulink based
programming methodology is adoptedOptimum Controller Design for Fractional-
Order Systems through Examples
Criteria selection, design examples via SimulinkImplementation of the Controllers
Continuous and Discrete
7/27/2019 03 FOC Workshop New Xue 3
4/63
Friday, 2010-7- 2,16:05:56
Slide 4 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Main Reference
Chapter 13 of the MonographFractional-order Systems and Controls ---
Fundamentals and Applications
By Concepcion Alicia Monje, YangQuan Chen,Blas Manuel Vinagre, Dingyu Xue,
Vicente Feliu
Springer-Verlag, London, July, 2010Implementation part is from Chapter 12 of the book
7/27/2019 03 FOC Workshop New Xue 3
5/63
Friday, 2010-7- 2,16:05:56
Slide 5 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
1 Computations in Fractional Calculus
Evaluation of Mittag-Leffler functions
Evaluations of Fractional-order Derivatives
Closed-form Solutions to Linear Fractional-
order Differential Equations
Analytical Solutions to Linear Fractional-order
Differential Equations
7/27/2019 03 FOC Workshop New Xue 3
6/63
Friday, 2010-7- 2,16:05:56
Slide 6 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
1.1 Evaluation of Mittag-Leffler Functions
Importance of Mittag-Leffler functionsAs important as exponential functions in IOs
Analytical solutions of FO-ODEs
DefinitionsML in one parameter
ML in two parameters
Special cases
7/27/2019 03 FOC Workshop New Xue 3
7/63
Friday, 2010-7- 2,16:05:56
Slide 7 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Mittag-Leffler Functions in more pars
Definitions
withDerivatives
MATLAB function
7/27/2019 03 FOC Workshop New Xue 3
8/63
Friday, 2010-7- 2,16:05:56
Slide 8 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Code
Podlubnys code mlf() embedded
7/27/2019 03 FOC Workshop New Xue 3
9/63
Friday, 2010-7- 2,16:05:56
Slide 9 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Examples to tryDraw curves
Code
Other functions
7/27/2019 03 FOC Workshop New Xue 3
10/63
Friday, 2010-7- 2,16:05:56 Slide 10 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
1.2 Evaluations of Fractional-order
Derivatives
Definitions:
Grnwald-Letnikov's Definition
Others
Caputo's Derivatives, Riemann-Liouvilles, Cauchys
7/27/2019 03 FOC Workshop New Xue 3
11/63
Friday, 2010-7- 2,16:05:56 Slide 11 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
MATLAB Implementation
Easy to program
Syntax
Examples
Orginal function
7/27/2019 03 FOC Workshop New Xue 3
12/63
Friday, 2010-7- 2,16:05:56 Slide 12 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
1.3 Closed-Form Solutions to Linear
Fractional-Order Differential Equations
Mathematical Formulation
Fractional-order DEs
Denote
Original equation changed to
7/27/2019 03 FOC Workshop New Xue 3
13/63
Friday, 2010-7- 2,16:05:56 Slide 13 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
From G-L definition
And
The closed-form solution can be obtained
7/27/2019 03 FOC Workshop New Xue 3
14/63
Friday, 2010-7- 2,16:05:56 Slide 14 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
MATLAB Code and Syntax
Code
Syntax
7/27/2019 03 FOC Workshop New Xue 3
15/63
Friday, 2010-7- 2,16:05:56 Slide 15 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Example
Fractional-order differential equation
with step input u(t)
MATLAB solutions
7/27/2019 03 FOC Workshop New Xue 3
16/63
7/27/2019 03 FOC Workshop New Xue 3
17/63
Friday, 2010-7- 2,16:05:56 Slide 17 of 63 Computational Aspects of Fractional-Order Control Problems
Dingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Partial fraction expansion of
Commensurate-order Systems
Definition
Transfer function
After partial fraction expansion, step responses
7/27/2019 03 FOC Workshop New Xue 3
18/63
Friday, 2010-7- 2,16:05:56
Slide 18 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Example:
Partial fractional expansion
Step response, theoretical
7/27/2019 03 FOC Workshop New Xue 3
19/63
Friday, 2010-7- 2,16:05:56
Slide 19 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Also works for the cases with multiple poles
For more complicated systems
Analytical solutions are too complicated
7/27/2019 03 FOC Workshop New Xue 3
20/63
Friday, 2010-7- 2,16:05:56
Slide 20 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2 Fractional-Order Transfer Functions
--- MATLAB Object Modelling
Motivated by the Control Systems Toolbox
Specify a system in one variable G,
use of * and +, and step(G), bode(G), convenient
Outlines in the sectionDesign of a FOTF Object
Modeling Using FOTFs
Stability Assessment of FOTFsNumerical Time Domain Analysis
Frequency Domain Analysis
7/27/2019 03 FOC Workshop New Xue 3
21/63
Friday, 2010-7- 2,16:05:56
Slide 21 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Fractional-Order Transfer Functions
Five parameters:
Possible to design a MATLAB object
Create a @fotf folder
Establish two essential functions
fotf.m (for creation), display.m (for display object)
7/27/2019 03 FOC Workshop New Xue 3
22/63
Friday, 2010-7- 2,16:05:56
Slide 22 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Object creation
Syntax
7/27/2019 03 FOC Workshop New Xue 3
23/63
Friday, 2010-7- 2,16:05:56
Slide 23 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Display function
7/27/2019 03 FOC Workshop New Xue 3
24/63
Friday, 2010-7- 2,16:05:56
Slide 24 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Model Entering Examples
Example1
Example 2
Example 3:
7/27/2019 03 FOC Workshop New Xue 3
25/63
Friday, 2010-7- 2,16:05:56
Slide 25 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2.2 Modelling of FOTF Systems
Series connection: G1*G2Overload functions are needed for mtimes.m
Similarly other functions can be writtenplus.m, feedback.m, uminus.m, mrdivide.m
simple.m, mpower.m, inv.m, minus.m
7/27/2019 03 FOC Workshop New Xue 3
26/63
7/27/2019 03 FOC Workshop New Xue 3
27/63
Friday, 2010-7- 2,
16:05:56
Slide 27 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Modelling Examples
Plant
Controller
Unity negative feedback connection
Closed-loop system
7/27/2019 03 FOC Workshop New Xue 3
28/63
Friday, 2010-7- 2,
16:05:56
Slide 28 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2.3 Analysis of Fractional-Order Systems
Stability regions for commensurate-order TFsMATLAB function
Example: the previous
closed-loop system
7/27/2019 03 FOC Workshop New Xue 3
29/63
Friday, 2010-7- 2,
16:05:56
Slide 29 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2.4 Numerical Time Domain Analysis
Based on fode_sol function discussed earlier,overload functions step and lsim are written
Step response
Time response to arbitrary inputs
No restrictions. Reliable numerical solutions
Validate the results
7/27/2019 03 FOC Workshop New Xue 3
30/63
Friday, 2010-7- 2,
16:05:56
Slide 30 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Examples
Closed-loop model
Model with input
7/27/2019 03 FOC Workshop New Xue 3
31/63
Friday, 2010-7- 2,
16:05:56
Slide 31 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2.5 Frequency Domain Analysis
Overload functionsBode.m
Nyquist.m
Nichols.mVia Examples
Slopes. Not integer times of 20dB/sec
7/27/2019 03 FOC Workshop New Xue 3
32/63
Friday, 2010-7- 2,
16:05:56
Slide 32 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
2.6 Norm Measures of FOTFs
Norms
2-norm
Infinity norm
Overload functions
Examples
7/27/2019 03 FOC Workshop New Xue 3
33/63
Friday, 2010-7- 2,
16:05:56
Slide 33 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
3 Simulation Studies of Fractional-
order Nonlinear Systems
Problems of Existing methods
Grunwald-Letnikov definitions and others only
applies to the cases where input to a fractional-
order D/I is known
Step and lsim functions only works for FOTF
objects, not nonlinear systems
For nonlinear control systems, a block diagrambased approach is needed.
A Simulink block is needed for FO-D
7/27/2019 03 FOC Workshop New Xue 3
34/63
7/27/2019 03 FOC Workshop New Xue 3
35/63
7/27/2019 03 FOC Workshop New Xue 3
36/63
Friday, 2010-7- 2,
16:05:56
Slide 36 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
3.2 Oustaloups Filter
Idea of Oustaloups Filter
Method
7/27/2019 03 FOC Workshop New Xue 3
37/63
7/27/2019 03 FOC Workshop New Xue 3
38/63
Friday, 2010-7- 2,
16:05:56
Slide 38 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
3.3 Modified Oustaloups Filter
Method
Code
Syntax
7/27/2019 03 FOC Workshop New Xue 3
39/63
Friday, 2010-7- 2,
16:05:56
Slide 39 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
3.4 Simulink Modelling
Mask a Simulink block --- the key element
Possibly with a low-pass filter
E l 1 Li d l
7/27/2019 03 FOC Workshop New Xue 3
40/63
Friday, 2010-7- 2,
16:05:56
Slide 40 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Example 1: Linear model
Denote
Simulink
modelling
c10mfode1.mdl
7/27/2019 03 FOC Workshop New Xue 3
41/63
Friday, 2010-7- 2,
16:05:56
Slide 41 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Example 2: Nonlinear system
Rewrite the equation
Simulink model
c10mfod2.mdl
7/27/2019 03 FOC Workshop New Xue 3
42/63
7/27/2019 03 FOC Workshop New Xue 3
43/63
Friday, 2010-7- 2,
16:05:56
Slide 43 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
3.6 Validations of Simulation Results
No analytical solution. Indirect methods:Change parameters in equation solver, such as
RelTol, and see whether consistent results can
be obtained
Change simulation algorithms
Change Oustaloups filter parameters
The frequency range
The orderN
The filter, Oustaloup, modified, and others
7/27/2019 03 FOC Workshop New Xue 3
44/63
7/27/2019 03 FOC Workshop New Xue 3
45/63
Friday, 2010-7- 2,
16:05:56
Slide 45 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
4.1 Optimal Criterion Selections
What kind of control can be regarded asoptimal? Time domain optimization is going
to be used in the presentation.
Other types of criteriaLQ optimization, artificial, no methods for Q and R
ISE criterion, H2 minimization,
Hinf, may be too conservative
Fastest, most economical, and other
Finite-time ITAE is to be used
7/27/2019 03 FOC Workshop New Xue 3
46/63
Friday, 2010-7- 2,
16:05:56
Slide 46 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Why Finite-Time ITAETwo criteria:
Which one
is better?
ITAE type of
criteria are
meaningful
7/27/2019 03 FOC Workshop New Xue 3
47/63
Friday, 2010-7- 2,
16:05:56
Slide 47 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Selection of finite-time
Tested in an example
7/27/2019 03 FOC Workshop New Xue 3
48/63
Friday, 2010-7- 2,
16:05:56
Slide 48 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
4.2 Design Examples with
MATLAB/Simulink
Plant model, time-varying
Simulink
7/27/2019 03 FOC Workshop New Xue 3
49/63
Friday, 2010-7- 2,
16:05:56
Slide 49 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Optimum Design
Establish a MATLAB objective function
Design via optimization
Allow nonlinear elements and complicated
systems, constrained optimizations possible
7/27/2019 03 FOC Workshop New Xue 3
50/63
Friday, 2010-7- 2,
16:05:56
Slide 50 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
4.3 Optimal FO PID Design
Controller with 5 parameters
Design Example, Plant
7/27/2019 03 FOC Workshop New Xue 3
51/63
Friday, 2010-7- 2,
16:05:56
Slide 51 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
MATLAB objective function
Optimal controller design
Optimal Controller found
7/27/2019 03 FOC Workshop New Xue 3
52/63
Friday, 2010-7- 2,
16:05:56
Slide 52 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
5 Implementation of FO Controllers
Continuous ImplementationOustaloups filter
Modified Oustaloups filter
Other implementations
Discrete Implementation
Via Step/Impulse Response Invariants
Frequency Domain FittingSub-Optimal Integer-Order Model Reduction
7/27/2019 03 FOC Workshop New Xue 3
53/63
Friday, 2010-7- 2,
16:05:56
Slide 53 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Continuous Implementations
As Discussed Earlier
Approximation to Fractional-order operators
(differentiators/integrator) only. Suitable for
FO-PID type of controllers
Functions to use
Discrete-Time Implementations
7/27/2019 03 FOC Workshop New Xue 3
54/63
Friday, 2010-7- 2,
16:05:56
Slide 54 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Discrete-Time Implementations
FIR Filter, s work
Again for fraction-order operators
Also possible, Tustins approximation
7/27/2019 03 FOC Workshop New Xue 3
55/63
Friday, 2010-7- 2,
16:05:56
Slide 55 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Step/Impulse Response Invariants
Approximation Models
The following functions can be used,
Dr Yangquan Chens work
Example
Discrete Time Approximation to
7/27/2019 03 FOC Workshop New Xue 3
56/63
Friday, 2010-7- 2,
16:05:56
Slide 56 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Discrete-Time Approximation to
MATLAB solutions, due to Dr Chens code
Example
Rewrite asMATLAB solutions
5 3 F R Fi i f
7/27/2019 03 FOC Workshop New Xue 3
57/63
Friday, 2010-7- 2,
16:05:56
Slide 57 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
5.3 Frequency Response Fitting of
Fractional-Order Controllers
Criterion
MATLAB Function
Example
A i
7/27/2019 03 FOC Workshop New Xue 3
58/63
Friday, 2010-7- 2,
16:05:56
Slide 58 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
A complicated controller
Controller, with QFT method
MATLAB Implementation
7/27/2019 03 FOC Workshop New Xue 3
59/63
Friday, 2010-7- 2,
16:05:56
Slide 59 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Integer-order fitting model
Comparisons
5 5 R ti l A i ti t
7/27/2019 03 FOC Workshop New Xue 3
60/63
Friday, 2010-7- 2,
16:05:56
Slide 60 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
5.5 Rational Approximation to
Fractional-Order Transfer Functions
Original model
Fitting integer-order model
Fitting criterion
where
M d l Fi i Al i h
7/27/2019 03 FOC Workshop New Xue 3
61/63
Friday, 2010-7- 2,
16:05:56
Slide 61 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
Model Fitting Algorithm
1. Select an initial reduced model2. Evaluate an error
3. Use an optimization (i.e., Powell's algorithm)
to iterate one step for a better estimatedmodel
4. Set , go to Step (2) until an
optimal reduced model is obtained5. Extract the delay from , if any
MATLAB F ti I l t ti
7/27/2019 03 FOC Workshop New Xue 3
62/63
Friday, 2010-7- 2,
16:05:56
Slide 62 of 63 Computational Aspects of Fractional-Order Control ProblemsDingy Xue for WCICA 2010, Jinan, P R China, 07/2010
MATLAB Function Implementation
Function call
Example
Finding full-order approximation
Reduction
C l di R k
7/27/2019 03 FOC Workshop New Xue 3
63/63
l d f l f l d l bl
Concluding Remarks
MATLAB code are prepared for fractional-
order systems, especially useful for beginners
Handy facilities can also be used by
experienced users, for immediate acquisition
of plots and research results
Code available from
http://mechatronics.ece.usu.edu/foc/wcica2010tw/
http://mechatronics.ece.usu.edu/foc/wcica2010tw/http://mechatronics.ece.usu.edu/foc/wcica2010tw/