Top Banner
The Self-Organizing Controller, SOC Jan Jantzen [email protected] www.inference.dk 2013 Today, it might be called an adaptive fuzzy controller.
15

The Self-Organizing Controller, SOC Jan Jantzen [email protected] 2013 Today, it might be called an adaptive fuzzy controller.

Dec 28, 2015

Download

Documents

Ada Douglas
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

The Self-Organizing Controller, SOC

Jan [email protected]

www.inference.dk2013

Today, it might be called an adaptive fuzzy controller.

Page 2: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

2

Summary

• SOC is a model reference adaptive system, MRAS• SOC adapts its control table while it learns from trial runs• SOC makes nonlinear, local adjustments

Page 3: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

3

Adaptive Controller

• An adaptive controller is a controller with adjustable parameters and a mechanism for adjusting the parameters (Åström & Wittenmark, 1995)

This is a loose definition that most people will agree on. The idea is that the closed loop system adapts to changes in the environment; for instance, temperature changes.

Page 4: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

4

Model reference adaptive system, MRAS

If the process output y behaves differently from what this model prescribes, the controller is re-tuned to more favourable settings. Conceptually, MRAS makes any system behave as desired, but this is not possible in practice; for instance, you cannot make a ferry behave like a sailing boat.

Page 5: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

5

The self-organizing controller, SOC

This is a performance measure P which plays the role of the model in MRAS. It 'complains' if the performance is undesired. The desired performance is pre-specified.

Page 6: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

6

P table (Procyk & Mamdani)

-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6-6 -6 -6 -6 -6 -6 -6 -6 0 0 0 0 0 0-5 -6 -6 -6 -6 -6 -6 -6 -3 -2 -2 0 0 0-4 -6 -6 -6 -6 -6 -6 -6 -5 -4 -2 0 0 0-3 -6 -5 -5 -4 -4 -4 -4 -3 -2 0 0 0 0-2 -6 -5 -4 -3 -2 -2 -2 0 0 0 0 0 0-1 -5 -4 -3 -2 -1 -1 -1 0 0 0 0 0 0 0 -4 -3 -2 -1 0 0 0 0 0 1 2 3 4 1 0 0 0 0 0 0 1 1 1 2 3 4 5 2 0 0 0 0 0 0 2 2 2 3 4 5 6 3 0 0 0 0 2 3 4 4 4 4 5 5 6 4 0 0 0 2 4 5 6 6 6 6 6 6 6 5 0 0 0 2 2 3 6 6 6 6 6 6 6 6 0 0 0 0 0 0 6 6 6 6 6 6 6

Page 7: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

7

P table (Yamazaki)

-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6-6 -6 -6 -6 -6 -6 -6 -6 -5 -4 -3 -2 -1 0-5 -6 -6 -6 -6 -5 -4 -4 -4 -3 -2 -1 0 0-4 -6 -6 -6 -5 -4 -3 -3 -3 -2 -1 0 0 1-3 -6 -6 -5 -4 -3 -2 -2 -2 -1 0 0 1 2-2 -6 -5 -4 -3 -2 -1 -1 -1 0 0 1 2 3-1 -5 -4 -3 -2 -1 -1 0 0 0 1 2 3 4 0 -5 -4 -3 -2 -1 0 0 0 1 2 3 4 5 1 -3 -2 -1 0 0 0 0 1 1 2 3 4 5 2 -2 -1 0 0 0 1 1 1 2 3 4 5 6 3 -1 0 0 0 1 2 2 2 3 4 5 6 6 4 0 0 0 1 2 3 3 3 4 5 6 6 6 5 0 0 1 2 3 4 4 4 5 6 6 6 6 6 0 1 2 3 4 5 6 6 6 6 6 6 6

Page 8: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

8

Adaptation law

ndndn jijiji ,,, PFF

New control table value

Old control table value

Penalty

It is the table value d samples back in time, which is updated.

Performance value now

Page 9: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

9

A modified performance measure

sTnenenp

It is a linear combination of e and de/dt. Setting p = 0 specifies a switching line (Yamazaki style) in the phase plane, where on one side the performance measure is positive and on the other it is negative.

Desired time constant

An adjustable adaptation gain

Notice how it operates on the error e directly.

Page 10: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

10

Example with a long dead time

2

9

1

1exp

sssG s

Long dead time compared to the apparent time constant

The integrator makes it even more difficult

Difficult process

Page 11: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

11

First runThe time delay causes the oscillatory behaviour

It is fairly difficult to get it back after the load change

The model prescribes a first order response

Page 12: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

12

29th run

We still get a large dip, but the damping is fine.

In the beginning it has difficulties, but then it catches up

Page 13: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

13

Control surface after 29 runs

It will keep on making changes, because the performance is never satisfactory; perfect model following is impossible in this case.

Some parts are raised, some are depressed by the adaptation mechanism

n

snTpISP 2

Page 14: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

14

Animation of surface changes

Page 15: The Self-Organizing Controller, SOC Jan Jantzen jj@inference.dk  2013 Today, it might be called an adaptive fuzzy controller.

15

Summary

• The example showed that the SOC could deal with a large time delay.

• The adaptation makes local changes, so it must be allowed to adapt to new conditions.

• A loose tuning is sufficient, the adaptation will do the rest