Genetic fuzzy controllers for uncertain systems Yonggon Lee and Stanislaw H. Żak Supported by National Science Foundation under grant ECS
Outline Motivation Genetic algorithm & fuzzy logic controller design Simulation experiment Step-lane-change maneuver of a ground vehicle Anti-lock brake system (ABS) control Summary and future research
Motivation Fuzzy logic control---a model-free, rule-based, approach that allows to incorporate linguistic description in the controller design of uncertain systems The fine-tuning of a fuzzy logic controller (FLC) is a tedious trial-and-error process A linguistic description, that is, rules, may be unreliable or incomplete Genetic algorithms (GAs) can be used to design and fine-tune FLC
Genetic Algorithm (GA) GAs are derivative-free population based optimization methods GAs operate on strings called chromosomes that represent candidate solutions A GA performs genetic operations on a population of chromosomes to generate new population
Flowchart of a typical GA Initial population Stop ? START Fitness evaluation Generate new population END Genetic Operators YES NO Encoding
Representation of solution in the form of chromosome Depending on the available information, GA is used to optimize Fuzzy rules only Fuzzy membership functions only Fuzzy membership functions and fuzzy rules Encoding
Flowchart of a typical GA Initial population Stop ? START Fitness evaluation Generate new population END Genetic Operators YES NO Encoding
Fitness evaluation Plant FLC Reference Signal Error Genetic Operations Genetic Algorithm + -
Flowchart of a typical GA Initial population Stop ? START Fitness evaluation Generate new population END Genetic Operators YES NO Encoding
Simulation experiment 1 Genetic fuzzy tracking controllers for step-lane-change maneuver of a ground vehicle
A model of a ground vehicle* * A. B. Will and S. H. Zak, “Modeling and control of an automated vehicle,” Vehicle System Dynamics, vol. 27, pp , March, 1997
A model of a ground vehicle* where the lateral forces F yf f and F yr r are functions of slip angles * A. B. Will and S. H. Zak, “Modeling and control of an automated vehicle,” Vehicle System Dynamics, vol. 27, pp , March, 1997
Case 1: GA tunes fuzzy rules only Fuzzy membership functions (FMFs) are known GA finds fuzzy rules
Case 1: GA tunes fuzzy rules only FLC using heuristically obtained fuzzy rule base
Case 1: GA tunes fuzzy rules only Encoding LNNZPLP Chromosome Selection: roulette wheel method Crossover: single point crossover with p c = 0.9 Mutation: random change from {1, 2, 3, 4, 5} with p m = 0.05 Population size: 30 where
Case 1: GA tunes fuzzy rules only Performance of the best FLC generated by the GA after 50 th generation
Case 2: GA tunes FMFs only Fuzzy rules are known GA finds fuzzy membership functions
Case 2: GA tunes FMFs only Encoding: real number encoding Chromosome Genetic operators and other parameters are same as Case
Case 2: GA tunes FMFs only The best FMFs generated by the GA after 50 th generation
Case 2: GA tunes FMFs only Performance of the best FLC generated by the GA after 50 th generation
Case 3: GA tunes fuzzy rules and FMFs Fuzzy rule description Rule i : IF x 1 IS AND x 2 IS THEN u IS Input Fuzzy MFs Each input fuzzy MF is described by four real numbers c, d, l, and r. x 1 lr d c d Fuzzy output: center average defuzzification : trapezoidal input fuzzy MFs : output fuzzy singletons where m is the number of fuzzy rules, and the firing strength is
Case 3: GA tunes fuzzy rules and FMFs Chromosome structure* Rule 1 IF x 1 IS AND x 2 IS then u IS Rule 2 IF x 1 IS AND x 2 IS then u IS No. of inputs No. of rules x1x1 x2x2 Rules matrix* Parameter matrix* * S. J. Kang, C. H. Woo, and K. B. Woo, “Evolutionary design of fuzzy rule base for nonlinear system modeling and control,” IEEE Transactions on Fuzzy Systems, vol. 8, pp , Feb, 2000
Case 3: GA tunes fuzzy rules and FMFs Population size: 40 Number of generations: 100 Maximum number of rules: 20 Mutation Operator (p m = 0.1) changes the number of fuzzy rules changes the index element of the rules matrix Parameter mutation changes the parameters of MFs Adjust any chromosome so that it is feasible. Post-processing Rule mutation
Case 3: GA tunes fuzzy rules and FMFs Resulting fuzzy rule base by the GA after 100 th generation
Case 3: GA tunes fuzzy rules and FMFs Performance of the GA-generated FLC
Simulation experiment 2 Genetic neural fuzzy control of an anti-lock brake system (ABS)
Anti-lock brake system (ABS) minimizes stopping distance by preventing wheel lock-up during braking The performance of ABS is strongly related to the road surface condition Design a controller that identifies the road surface condition to be used for better braking performance Motivation
ABS operation Tractive force = (Normal force) where is road adhesion coefficient Minimize stopping distance Maximize tractive force between tire and road surface Wheel slip :
Role of ABS : Find and keep the wheel slip value corresponding to maximum road adhesion coefficient Wheel slip vs. road adhesion coefficient Wheel slip ( ) Road adhesion coefficient ( ) icy asphalt dry asphalt % Wheel lock-up wheel slip = 100 %
1. Vehicle brake system 2. Non-derivative optimizer for optimal wheel slips 3. Fuzzy logic controller (FLC) tuned using genetic algorithm (GA) FLC Non-derivative optimizer x.. Brake torques Acceleration Front wheel slip Desired front wheel slip Desired rear wheel slip Rear wheel slip Components of the genetic fuzzy ABS controller
Modeling of the braking maneuver* Assumption: straight line braking with no steering input A vehicle free body model A front wheel free body model * A.B. Will and S. H. Żak,“Antilock braking system modeling and fuzzy control,” Int. J. of Vehicle Design, Vol. 24, No.1, pp. 1-18, 2000
Vehicle free body model
Surface of acceleration as a function of f and r for dry asphalt
Wheel free body model
Vehicle braking model State variables:
Neural non-derivative optimizer * works for convex function derivative free optimizer: objective function may be non-differentiable robust to disturbances with bounded time derivative modular structure: easily modifiable to new problem with different dimension * M. C. M Teixeira and S. H. Żak, “Analog Neural Nonderivative Optimizers,” IEEE Trans. Neural Networks, vol. 9, no. 4, pp , 1998.
B -M z w A -A y y ydyd A r3r3 -2A 33 y r2r2 r1r1 3 22 2 11 1 r3r3 r2r2 r1r1 Block diagram of the 2D neural optimizer
Fuzzy logic controller tuning using GA Input fuzzy sets: triangle membership functions Output fuzzy sets: singletons Product inference and center average defuzzification Fuzzy logic controller
Encoding a fuzzy rule base as a chromosome
The Genetic Algorithm Selection : roulette wheel method Fitness : where T is the simulation time Crossover : crossover rate 0.9 for input – weighted average for output - one point crossover Mutation : mutation rate 0.02 replace with random value
Fuzzy logic controller (FLC) tuning using GA + + FLC for rear FLC for front ufuf urur _ _ ff rr Vehicle Model ref Random signal Genetic Algorithm
Best chromosome of 146th generation
Simulation Results Genetic fuzzy ABS controller simulation block diagram
Reference wheel slips and actual wheel slips Dry asphalt
Position, speed and brake torque
The surface is changing from dry asphalt to icy asphalt at 10m Icy asphaltDry asphalt 20m Wheel lock-up 91m 13.2s Fixed slip-ABS 42m 7.4s Proposed ABS 31m 5.8s 45mph Panic braking Time (sec) Position (m) Proposed ABS Fixed-slip ABS Wheel lock-up Position (m) Changing surface
Wheel slips
Summary Designs of FLCs using GAs are illustrated for the step-lane-change maneuver of a ground vehicle system and for an ABS system The proposed genetic neural fuzzy ABS controller showed excellent performance in the simulations. The proposed controller design method can be utilized in other practical applications.
Future work GA-based methods are not suitable for on-line application. Intelligent control design methods vary neural or fuzzy component on-line to learn the system behavior and to accommodate for the changes in environment preserve the closed-loop system stability Development of efficient self-organizing radial basis function network.
Thank you