99
INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007 Jacques Richalet jacques. richalet @ wanadoo.fr

INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

  • Upload
    ngongoc

  • View
    224

  • Download
    0

Embed Size (px)

Citation preview

Page 1: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

INDUSTRIAL APPLICATIONSOF

PREDICTIVE FUNCTIONAL CONTROL

NORDIC PRIZE

Helsinki 23.08.2007 Jacques Richalet

jacques. richalet @ wanadoo.fr

Page 2: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 3: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

End of the Sixties:

- ORIGIN OF MODEL BASED PREDICTIVE CONTROL

- PETROLEUM INDUSTRY / DEFENCE INDUSTRY

.Refineries :

How to handle constraints on MV’s and CV’s ?

How to control a multivariable process ?

.Defence :

How to control a process with a non stationary set point

(follow-up servo) with no lag error ?

Page 4: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PROFIT

OPTIMIZATION

CONSTRAINTS*

PREDICTION

MODEL

M.B.P.C / PREDICTIVE CONTROL

Page 5: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

WHY MPC ?WHY MPC ?

Gasoil

Residue

Crude oil

Page 6: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

CONTROL ON CONSTRAINTCONTROL ON CONSTRAINT

Viscosityof residue

LIMIT !

t

Ko

Ok

Page 7: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

O

D

H

Follow up servo systemFollow up servo system

Page 8: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

P

Heading

Targettrajectory

t

X

NO LAG ERRORNO LAG ERROR

εΤ = 0 !

Page 9: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

….the past…

1968 : Basic principles of Predictive Control

1973 : 1st version of PFC/ IDCOM

1974 : 1st industrial applications of PFC/IDCOM

Steam Generator/ Reactor/ Distillation

1978 : 1st contribution MPC “Automatica “ ( problems..!)

1980-85 : HIECON with Set Point ( Houston)

1989 : Extension from PFC to PPC:

Parametric Predictive Control (control by flow of reactors..)

1998 :1st implementation of an MPC in the native control library of a PLC : Schneider-Electric.Momentum Concept

Page 10: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

FEATURES…the oldest MBPC… 1968

A few thousand applications in many fields

DEFENCEMine hunterAriane 5 attitude controlMissile autopilotLaser guided missile (t=62 microsecond…)Gun turretsRadar antennasInfra Red cameraHigh speed Infra RedMissile launchCamera mountRadar antennasLaser mirrorTank turret (T. 55) Mine sweeper auto-pilotAircraft carrier auto-pilot

METALLURGICAL INDUSTRIESCoating lines aluminiumThickness control - Roll eccentricityMono-multi-stands Rolling millsContinuous casting (slab) Push-ovensCoke furnaceHot/cold/Thin rolling millsSteam generators

Level, temperature, pressure……;

MISCELLANEOUS (Chem reactors anddistillation excluded)Bioreactor Melissa ESAPlastic extrusion robot (high speed) Temperature control of gas furnaceTemperature control of TGV train carriageRiver dam level control (T=1 hour )Powder milk dryerElectric furnace brazing etc….

AUTOMOTIVEGear box test benchDynamic test bench engineFuel injectionIdle fuel injectionClutch antistrokeGear box (tank)Hybrid car (electric-fuel)Air conditioning

INDUSTRIAL APPLICATIONS OF P.F.C.INDUSTRIAL APPLICATIONS OF P.F.C.

Page 11: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

EXOTIC APPLICATIONS…

North : Molde (Norway)South : Plaza Huincul ( Patagonia-Argentina)East : Hokaido ( Japan)West : Mobile ( USA.DEGUSSA)High : Eiffel Tower elevator !Space : European Space Agency : Mars project bioreactors ( 2029 !)Depth : Mine hunter Speed : Temperature ( TGV : 574.8 km/h W.record )Fast : Laser guided bomb ( Tsampling : 65 μs )Slow : River dam level ( Tsampling : 1 hour)Ecology: Diester from colzaAnimal : Dog food pellet dryerPlants : Greenhousesetc…

Page 12: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

AT WHAT LEVEL DO WE OPERATE ?

Back to Basics:• Level 0 : Ancillary processes e.g: FRC/ PId• Level 1 : Dynamic control with constraints• Level 2 : Optimization of working conditions• Level 3 : Production planning

.Level N is operative if level N-1 works well…!

.There are no technical problems, but only technicalaspects of economic problems …

Page 13: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 50 100 150 200 250 300 350 400 4500

0.5

1

1.5

2

QUALITY

N Histogram

Q1

Sigma 1

OFF SPEC

Page 14: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 50 100 150 200 250 300 350 400 4500

0.5

1

1.5

2

OFF SPEC

QUALITY

N Histogram

Q1

Sigma 1

Sigma 2

LEVEL 0 / LEVEL 1

Sigma 1 -- Sigma 2

Page 15: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 50 100 150 200 250 300 350 400 4500

0.5

1

1.5

2

OFF SPEC

QUALITY

N Histogram

Q1

Sigma 1

Q2

Sigma 2

LEVEL 0 / LEVEL 1

Sigma 1 -- Sigma 2

LEVEL 2Q1 -- Q2

Page 16: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 50 100 150 200 250 300 350 400 4500

0.5

1

1.5

2

OFF SPEC

QUALITY

N Histogram

Q1

Sigma 1

Q2

Sigma 2

DELTA COST (W2-W1)

LEVEL 0 / LEVEL 1

Sigma 1 -- Sigma 2

LEVEL 2Q1 -- Q2

W1

W2

COST FUNCTION

« SQUEEZE AND SHIFT »

Page 17: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

4 BASIC PRINCIPLES OF PFC : J. PIAGET4 BASIC PRINCIPLES OF PFC : J. PIAGET

– Operating Image

– Target – Sub Target

– Action

– Comparison :– Predicted / Actual

- Internal Model

–Reference Trajectory

– Solver. Functional basisStructured future MV

– Error compensator

• Natural Control : “You would not drive your car with a PID scheme”

Page 18: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

TARGET…

. To optimize the ratio:“Performance / Understanding. Implementing. Tuning”. Strategy : To solve the problems that PID cannot solve …but in continuity with the PID approach…..

. Easy access to floor instrumentists.Tuning parameters should have a clear physical meaning.

. Elementary mathematics.

. No explicit integrator in the loop.

. No matrix calculation.

. No quadratic minimization on line.

. Open technology….------------------------.. Challenge..!

Page 19: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

REFERENCE TRAJECTORYREFERENCE TRAJECTORY

Past n Future TRBF

Set point

Process output

ε (n)

Predicted output

C(n+H)

Model output

Δ

Δ

Manipulated variable

H 1 H 2

MV i

MV

Predictionhorizon

y P

Referencetrajectory yref

y M Coïncidencehorizon

yP

ε (n+H)

H

M

Page 20: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Solver

The future MV is projected on a Functional Basis:e.g. Taylor expansion/ polynomials

Thus, the MV is a priori restricted and notdamped afterwards….MV(n+i) = Σ μj. Uj(i) U0(i) = 1, U1(i) = i U2(i)= i2 etc …Find the μj such that, at a finite number ofcoincidence points, the predicted model output fits with

the reference trajectory ?

Page 21: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

ACCURACY

• Basic Eigen Function property:• If the set point can be projected on a polynomial basis

of order N, and if the non integrative model is of order N, then there is no lag error.

Accuracy depends on the choice of the functional basis and not on the gain of the controller….

Conclusion:

No difficult trade off between Accuracy and Dynamics.Interest : Robotics / Temp. profile in batch reactors,

Crystallization / Furnace in metallurgy etc…

Page 22: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PrH(C - (n)) (1 - ) (n )yy Mu(n) + H G MG M (1 - )

λ

α=

P = G - se1 + Ts

M yu

θ

= =

y(n) = α y(n+1) + (1- α) . u(n-1-r) . G α = e -TsampT

θ = Tsamp . r

ELEMENTARY TUTORIAL EXAMPLEELEMENTARY TUTORIAL EXAMPLE

Trajectory expo. : λ

1 coincidence point: H

1 Base function: stepTarget : ΔP(n+H) = (C - yPr) (1 - λH)

Processus with delay :yPr (n) = yP (n) + yM (n) - yM(n-r)

Model :

Free modeForced mode

:

My (n) HαHu(n) . GM 1 - α

⎛ ⎞⎜ ⎟⎝ ⎠

Model increment :

M MPH H H( C - ( n ) ) ( 1 - ) ( n ) + u ( n ) G M ( 1 - ) - ( n )y y yr λ α α=

Control equation : P(n + H) M(n + H)Δ Δ=

Increment = Free(n+h) + Forced(n+h)- ymodel(n)The only mathematical problem for trainees …!

Page 23: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PERFORMANCES. No lag error on polynomial set point .. No integrator in the loop.. Handles constraints on the MV and on internal variables

of the process( Multiple Controllers approach)

. Transparent and Cascade Control with transfer of constraints from inner loop to outer controller

. True feed-forward

. Split-range control with different dynamics (reactors!)

. Control with 2 cooperative MV’se.g :big valve / small valve

. Extended to 2 MV/2 CV…..

. Dual control: total elimination of harmonic disturbances

. Full Robustness analysis: easy trade off

Prof. GOODWIN says :……….

Page 24: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Types of model:1) Black Box

. Physical analysis . Choice of model ?

. Application of a Test signal protocol ?.

. Optimisation of the protocol?

. TOUGH CONSTRAINTS from THE PRODUCER.!

Pseudo Random Binary Noise to be avoided in practice …

. Action on-site and off-site : Cost / Man Hours

. No trade ! : to be repeated on all processes

. Weak capitalisation.

. BUT : no investment, easy to perform….

Page 25: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

FIRST PRINCIPLES MODEL( knowledge based model..!)

Physical analysis of the process.« Brain juice »: Tough - expensive – risky ...Expertise needed in Physics, Chemical Engineering ,

Mechanics etc.. but ….Generic. Few calendar days and man hours

. PHYSICAL ADAPTATION OF THE CONTROLLER

. Strong capitalisation------------------------------the future………

Page 26: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Transfer . Training

Vendors :

. SET POINT (USA Houston)P.Latour / P.Grosdidier / Tom Badgwell / Greg Martin

. YOKOGAWA ( Japon. Mitaka)

. SOTEICA ( Argentina / USA)

. SAMSUNG ( Korea)

. REPSOL ( Spain)

. JGC ( Japon / Yokohama)

. SCHNEIDER ELECTRIC ( France ). INSTITUT TECH NAGOYA ( Japan). UNIV . of Hanghzou ( China)

Page 27: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Users….

• AMOCO ( CAN)• MOBIL OIL ( USA / F)• TOTAL ( F)• ATO CHEM ( F)• LUBRIZOL ( USA. F)• SOFIPROTEOL( B. F)• BASF ( B. D)• DEGUSSA( D )• PECHINEY/ALCAN (F )• ARCELOR-MITTAL ( F. Ind)• SANOFI- AVENTIS ( F.D )• IRA (F) etc….• ..and others..

Page 28: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PID + LOGIC

Page 29: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PFC without Logic

Page 30: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 31: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Fichier nivocc1.mat

7000 8000 9000 10000 11000 12000 13000

60

65

70

75

80

85

nivocc1 MV(k) CV(r) Cons(b)

sec

ident. 1

ident. 2

Page 32: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 0.05 0.1 0.15 0.2 0.25 0.3 0.354.5

4.6

4.7

4.8

4.9

5

5.1

5.2

5.3

5.4

5.5

R=11

nivocc1 ISO-D

tau

K

R=11

ISO-DISTANCES IN THE PARAMETRIC SPACE

Ident. 2

Ident. 1

Page 33: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Comparaison PID / PFC

Mesure du niveau d’acier (70%)

Mesure position du vérin ~88 mm

Mesure de la vitesse ~1.3 m/mn

Page 34: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Super heater temperature cascaded control

PFC2

kd

PFC1.pT1 1+

1

pT1G.e 3.pR-

.3+

tdes tvapint

Tsur (°C)

Ctdes

gdes

Transf. de contraintes

Constvap500 °C

Procédé Tdes Procédé Tvap

Qvap (t/h)

++

Tp+11 -

nov 05

300°C

410°C

d/dt=50/2 °C/s

0-40 t/h

d/dt=20 t/h/s

T1=21.5s

Le FRC est supposé parfait :Kp=1.35

Ti=100s.

gdes~1

PFC1TRBF1=150sh=2 sTech=2s

kd=a-b*qvap+c*qvap²

Contraintes

xCqdes

Régulateurs

FRCCqdes*

rcpyrcpy

+

Charge calorifiqueCharg (%)

MI :K=1 T=5s

pRcheGch .. −

PFC2h =(Tm1+Tm2+Tm3)*0.3 (=30.3 s)Tech=2s

Zone : largeur = ±5 °C TRBF2 L = 35 sTRBF2 H =(Tm1+Tm2+Tm3)*3+retard (=350 s)MI du 3 ème ordre

Tdes en boucle fermée : cte de temps = T2

Page 35: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 1000 2000 3000 4000 5000 6000 7000 8000200

300

400

500

600

sec

tvap

(°C

) et

Qva

p (t

/h)

GV-TEMPERATURE VAPEUR en PFC- Consigne:b - Tvap:r - Qvap*2:k t22043a.mat

-30 -20 -10 0 10 20 300

2

4

6

8

10Histogramme de l'écart TVAP - t22043a

Fre

quen

ce e

n %

ECART TVAP en °C

Tvapmoyen=499.7504ecart-type=2.352Min/maxTvap=492.328 507.983tmin/tmax (s)=3000 7000

Histogram PFC

Page 36: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 1000 2000 3000 4000 5000 6000 7000 8000300

350

400

450

500

550

sec

tvap

(°C

) et

Qva

p (t

/h)

GV-TEMPERATURE VAPEUR en PID- Consigne:b - Tvap:r - Qvap*2:k t22043a.mat

-30 -20 -10 0 10 20 300

2

4

6

8

10Histogramme de l'écart TVAP - t22043a

Fre

quen

ce e

n %

ECART TVAP en °C

Tvapmoyen=488.2418ecart-type=3.7752Min/maxTvap=478.784 500.757tmin/tmax (s)=3000 7000

Histogram PID

Page 37: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

ECONOMIC EVALUATION

Efficiency of turbines increases with steam temperature

Above 519 °C the blades of the front compressors

start Creeping and hit the case

Classical problem : « 2 S’s »

« Squeeze the variance and Shift the target »

3°C -------------- 1M€

Original set point : 493°C -- Today: 506°C

Pay Out Time : meaningless…!

Page 38: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

• Heating Ventilation Air Conditioning

• Europe : 10% increase 2006- 2007

• Market : 14 MM€

• Energy saving / Planet warming

• Ease of implementation

Page 39: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model Predictive Control and Real-time Optimization Implementation

Policy and Best Practice( from ARC )

Page 40: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

97 Increasing40 Staying Constant2 Decreasing

Do you see your use of MPC accelerating, staying constant, or declining?

100806040200

Increasing

Staying Constant

Decreasing

69.8 %

28.8 %

1.4 %

Page 41: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

112 In-house Implementation and Support28 Third Party Please specify

Is it your company’s objective to implement and support your MPC yourself or outsource?

In-house Implementation and Support Third Party Please specify

120

110

100

90

80

70

60

50

40

30

20

10

0

80.0 %

20.0 %

Page 42: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

74 Less than 25%23 Between 25 and 0%21 Between 50 and 75%14 Over 75%

What percentage of your MPC project services will be outsourced in 5 years?

80706050403020100

Less than 25%

Between 25 and 0%

Between 50 and 75%

Over 75%

56.1 %

17.4 %

15.9 %

10.6 %

Page 43: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

33 Refining28 Chemicals21 Oil & Gas15 Other7 Pulp & Paper7 Power7 Electronics4 Plastics & Rubber3 Metals3 Cement & Glass2 Mining2 Automotive1 Aerospace1 Food & Beverage1 Machinery1 Pharmaceuticals

Vertical

35302520151050

RefiningChemicalsOil & Gas

OtherPulp & Paper

PowerElectronics

Plastics & RubberMetals

Cement & GlassMining

AutomotiveAerospace

Food & BeverageMachinery

Pharmaceuticals

24.3 %20.6 %

15.4 %11.0 %

5.1 %5.1 %5.1 %

2.9 %2.2 %2.2 %

1.5 %1.5 %

0.7 %0.7 %0.7 %0.7 %

Page 44: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PFC/PPC in the

Chemical Industry

or : « heat exchange based industry »

Page 45: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

a) The higher the added value: the lower the interest in production improvement.!

b) Batch reactor specific problem:Cooling fluid unstable but Mass Temp. stable !

c) Gap between :Chemical Engineering/ Automatic Control

« School reproduces Industry / Industry reproduces School »

Why Chemistry lags behind Petroleum

Page 46: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 47: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 48: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

.. the trend…!

Constraints :• - Oil barrel price is uncertain..• - Lethal Asian competition.• - Quality norms ( FDA…)• - Ecologybut fortunately :

• - Controlers and software more accessible• - Incoming of a new generation of personnel

Page 49: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

49

R

TM

Fi, Ti Te

R Reactant

ρM CPM VM

dTM

dt= UA Te - TM + ΔHx

ρe CPe Ve

dTe

dt= ρe Fi Ti - Te + UA TM - Te

θ(Fi) TM+ TM= Ti.

1) Fi =ct /MV= Ti CV=TM / level 0 =Ti ? :PFC

2) Ti =ct ( !) MV=Fi Parametric control non linear :PPC

3) MV : Ti and Fi : Enthaplic control ( power .) :PPC+

3 CONTROL STRATEGIES OF BATCH REACTORS

Page 50: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

F1, T1

F2, T2

F, T

F.T =F1.T1+F2.T2 T=λ.T1 +(1- λ).T2

λ = F1/(F1+F2) 0 ≤ λ ≤ 1

Convexity Therorem

Page 51: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Equivalent Temperature Procedure

• τ. dT/dt +T = λ T1+( 1 - λ ) T2• τ. dT/dt +T = TEQ • PFC computes TEQsol (λ sol)• λsol is connected to the physical MV by

a non-linear relation• Non-linear solver outside the dynamics!

Page 52: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 53: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 20 40 60 80 100 1200

20

40

60

80

100

120

TEMPERATURE DE MASSE

min

92°

Tmax=108.4°

Tinit=42°

Figure 4

Page 54: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

EXOTHERMICITY ESTIMATORby INVERSE PFC

Pert

R1

R2

Cons1 MV1 P SP

SP*M≡PMV2

Cons2=SP

+

+

B

+

+

Pert*-

+

Page 55: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0

0

2 0

4 0

6 0

8 0

1 0 0

1 2 0 E S T IM A T IO N D E L ’E X O T H E R M IC IT E

T m a s s e / T m a s s et i é

T S -T E

T S

E X O T H E R M ICIT E

m in

Figure 3

Page 56: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

31

ReactantFlow

T1 Reactor

Cooler

Steam

T2

T4

T3Heat

Exchanger

BASFBASFBASF

Page 57: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

B A S F

Page 58: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

B A S F

Page 59: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

B A S F

Page 60: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 61: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

DEGUSSAWorld n°1 Specialty Chemistry

n° 3 German Chemical industry

49.000 employees

> 100 production sites WWTechnical Center Hanau ( Hesse D.)

Adopts Predictive Control PFC in 2003

Training of Control Staff

Standardization of software and procedures

Page 62: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

PFC / PPC at DEGUSSA• Batch reactors:Heat exchangers

• Esterification : Batch time reduction : approx. 10%

• Polymerization: Temperature control error / 10

• Continuous reactors

Polymerization . Improved reproductibility. Quality

Dryers:

Increase of production . Less energy consumption

-----------------------------------------------------------------------

Page 63: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Control Systems

INVENSYS PLS 80E (ex Eckhart)

FOXBORO IAS ( HLBL..!)

SIEMENS PLCS7

ABB Freelance 2000

YOKOGAWA DCS 3000

EMERSON DeltaV

In all DCS PFC/PPC is implemented with a genericprocedure : « Text » but mainly by « Block programming »(IEC1131.3)

Page 64: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

- Increase of production

- No more off-specification products

- Economy : Energy / Solvant

- Maintenance cost lower

- Operators : happy : less work load !

-Conclusion : large dissemination…

--------------------------But where are the problems ?.......;

- Safety . Repeatability

ECONOMIC IMPACT…

Pay out time : « very short »

Page 65: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Anwendungsbeispiel 1:Exotherme Batchreaktion

0 20 40 60 80 100 12065

70

75

80

85

Zeit [min]

Tem

pera

tur

[°C

]

Fortschritt [%]

+/- 2 °C

alte Fahrweise (PI-Regler)

Page 66: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Anwendungsbeispiel 1:Exotherme Batchreaktion

0 20 40 60 80 100 12065

70

75

80

85

Zeit [min]

Tem

pera

tur

[°C

] +/- 0,2 °C

neue Fahrweise (MPC-Regler)

hier liegen 35 Batches übereinander !

Fortschritt [%]

Page 67: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Anwendungsbeispiel 2:Endotherme Batchreaktion

0 0.2 0.4 0.6 0.8 1 1.2 1.4

0

20

40

60

80

100

120

PID: Reaktortemperatur [% des Sollwer tes]MPC: Reaktor temperatur [% des Sollwertes]

0 0.2 0.4 0.6 0.8 1 1.2 1.4

0

20

40

60

80

100

120

PID: Dampfventil [%]MPC: Dampfventil [% ]

Page 68: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

BATCH REACTOR: TEMP. CONTROL

TIT8Cumulus

FIT1

TIT1

TIT5

FIT3TIT

7

FRC1

TIC1

FRC1

2 Valves1 Heat.Exch.1 Pump2 Flow. meters3 Temp.meters

9300 €

Page 69: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

BATCH REACTOR: Enthalpic Control

TIT3

TIT2

TI1

Heating rod : P

Temperature source : ts

SIC2

1 Pump

1 Variator

2 Temp. sensors

2030€

Page 70: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Enthalpic ControlReaching the temp. plateau

Page 71: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

SANOFI-AVENTIS

• Pharmaceutical industry• World n°3 / Continental Europe n°1• World n°1 :Vaccines• Personnel > 140.000• >200 production sites• Turnover : 29MM euros• Drugs, vaccines…

Page 72: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

SANOFI - VERTOLAYE

• « Seveso 2 high level » site• Basic chemicals for drugs• 750 employees• Production 300 T / year• 21 hectares / 11 workshops• 350 processes including 172 reactors• 70 syntheses with 5 to 45 steps ( 0.9^45=0.008!)

No blockbusters

Page 73: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

SANOFI AVENTISPREDICTIVE CONTROL

• Target:– Improvement of quality of product and repeatability

of recipes. Energy consumption.– Start : November 2005 .Training of personnel:PFC- Flexible reactor of the IRA institute in ARLES

Controllers:

- Premium Unity Schneider-Electric

-PFC implemented with native Control Library

Page 74: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Identification Mass Temperature

0 20 40 60 80 100 120 14030

40

50

60

70

80

90

100

min

Tmasse /mod°/ k

Tmasse /processus° /r

Temp.sortie ca lo estimée !? /g

Temp entrée ca lo° /b

P RE MIE RE ID E NTIFC A TION TMA S S E

Page 75: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

20

25

30

35

40

45

50

Exothermicity estimator

Température Interne

Température D.E.

Estimateur d’exothermicité

Page 76: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Results

Mass temp- average error : 0.1°c-max error : 0.2°c

Exothermicity estimator with feed-forward (in progress).Introduction of 100 L of water (12°C) into the reactor (2000 L 35°c):

• Error without estimator : -2°c• Error with estimator : -0.2°

Page 77: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

YES BUT: …..!

« Ok .. But my problem is more complex and very specific… »

Industrial resistance ?

- lack of basic training in modeling

- no clear understanding of hierarchical control

- a priori year budget and no « Pay Out Time » approach

No conflict with PID : both techniques are to be used:

if PID works well (e.g: FIC ): use it..

if not use another tool …

Page 78: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

ASSESSMENT ?

-MATURE TECHNIQUE

-CONTROLERS and TECHNOLOGY : OK !

-Validated by numerous world wide applications in mostindustrial domains

- Short PAY OUT TIME…..

- but…

85% of the work and 95% of the adrenalin

DYNAMIC FP MODELLING

Page 79: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Who is going to ImplementPredictive Control

since the main problem lies in Modelling ?

: The expert in Modelling ? ( Education ?)- The local industrial Control Instrumentist ?- The DCS/ PLC vendor ?- An Engineering Company ?- -------------------------------------------------------------- Technical school training of floor instrumentists :- Training of professors: 43 schools /520 students- in progress….

..since Control is made « simple », the Control expert has eliminated himself !

Page 80: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Thank you for your attention….

jacques. richalet @ wanadoo.fr

Page 81: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

There is a post-script…!-----------------

Page 82: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

ACADEMIC CHALLENGE.!

A little more difficult ?Time delay Non minimum phase Integrative Unstable polePure oscillator Time constantSet point : ramp with no lag errorConstraints on MV and a state variable CV

H(p)= K.exp(-T1.p).(1-T2.p) / p.(1-T3.p).(p2+ω2).(1+T4.p)

bon appétit…

Page 83: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007
Page 84: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Automatica, Vol. 14, pp. 413-428 Pergamon Press Ltd. 1978. Printed in Great Britain © International Federation of Automatic Control

0005-1098/78/0901-0413 $02.00/0

Model Predictive Heuristic Control: Applications to Industrial Processes*

J. RICHALET, t A. RAULT,# J. L. TESTUD? and J. PAPON?

Different industrial processes are being computer controlled using a new dual algorithm which identifies input-output impulse responses and computes control inputs as needed to realize desired output trajectories even when system noise, disturbances, and parameter variations occur.

Key Word Index--Chemical industry; computer control; control theory; dual control; identification; Lyapunov methods; multivariable control systems; oil refining; predictive control; steam generators.

Summary--A new method of digital process control is de- scribed. It relies on three principles:

(a) The multivariable plant is represented by its impulse responses which will be used on line by the control computer for long range prediction;

(b) The behavior of the closed-loop system is prescribed by means of reference trajectories initiated on the actual outputs;

(c) The control variables are computed in a heuristic way with the same procedure used in identification, which appears as a dual of the control under this formulation.

This method has been continuously and successfully ap- plied to a dozen large scale industrial processes for more than a year's time. Its effectiveness is due to the ease of its implementation (e.g. constraints on the control variables) and to its amazing robustness as concerns structural perturbations.

The economics of this control scheme is eloquent and figures can be put forward to demonstrate its efficiency. Optimality does not come from extraneous criteria on the control actions but from minimization of the error variance which permits computation of the set points of the dynamic control in a hierarchical way.

INTRODUCTION: USE OF

DIGITAL COMPUTERS IN

INDUSTRIAL PROCESS CONTROL

THE GROWTH of digital technology in the last few years has represented a challenge to auto- matic control research workers.

With the availability of much more powerful computers, should not the basic approaches to control systems application be reconsidered?

The theory of feedback systems originated from work on continuous electrical networks. Despite the progress of technology, the fundam-

*Received January 13, 1977; revised August 26, 1977; revised March 29, 1978. The original version of this paper was presented at the 4th IFAC Symposium on Identification and System Parameter Estimation which was held in Tbilisi, Georgian Republic USSR during September 1976. The pub- lished Proceedings of this IFAC Meeting may be ordered from: North Holland Publishing Company, P.O.B. 103, Amsterdam, West Netherlands. This paper was recommended for publication in revised form by associate editor K. J. Astr6m.

?ADERSA/GERBIOS, 53 avenue de l'Europe, F78140 V61izy, France.

413

entals of control theory remain unchanged. It is now natural to ask: can we conceive a novel type of control system that would use to the full the capabilities of currently available computers:

- -s torage of information--fast access memory

--fast computation, choice of a solution among several possibilities according to a criterion?

The achievements of modern control theory are well-known. Successful applications to aero- space guidance problems are remarkable. However the implementation of such techniques to industrial control has not been so successful.

Industrial processes are quite different, they are highly multivariable systems, perturbations affect the plant structure more often than the measur- able variables. Industrial processes have their own performance criteria and reliability require- ments. The economic and psychological environ- ment required for a successful implementation is often not met in practice so that many con- straints prevent the implementation of on-line control schemes on production plants.

We tried to conceive a control theory where digital computation and modeling play a major role and support new concepts.

Before publishing the principles of this new control scheme in order to give evidence of its efficiency we wanted to have a significant number of complex industrial applications working con- tinuously for more than a year's time.

The organization of the paper is as follows:

- - I n Section 1, the general scheme is given of this new Model Predictive Heuristic Control whose software is called IDCOM (Identification- Command). An overall presentation of the me- thod is given in the simplest way; we emphasize the implementation aspects. No comparison of this method with the classical approach is pre- sented. In this section, applications are stressed.

Page 85: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

414 J. Rt( ttAI,ET, A. RAULr, J. L. I'ESTUD and .1. PAPON

In Section 2, the outlines of the most signi- ficant present industrial applications of the me- thod are given, with a brief description of the systems and an economic appraisal of the results.

In Appendix A, the identification algorithm is presented and its convergence analysed.

--In Appendix B, stability and robustness of the control scheme are analysed.

More details are given in [22, 23].

Since new concepts are put forward, new ex- pressions have had to be coined. However the basic ideas are straightforward and can easily be understood. Interpreting or "naturalizing" in terms of classical control does not help to com- prehend the method. No block diagram or black box representation can be used.

SECTION 1

1.1. Model predictive heuristic control The M P H C strategy relies on three principles: (a) The multivariable process to be controlled

is represented by its impulse-responses which constitute the internal model. This model is used on-line for prediction, its inputs and outputs are updated according to the actual state of the process. Though it could be identified on-line, this internal model is most of the time computed off-line as explained later in the self-adaptation Section 1.4.

(b) The strategy is fixed by means of a re- ference trajectory which defines the closed-loop behavior of the plant. This trajectory is initiated on the actual output of the process and tends to the desired set-point.

(c) Controls are not computed by a one-shot operator or controller but through a procedure which is heuristic in the general case. Future inputs are computed in such a way that, when applied to the fast time internal predictive model, they induce outputs as close as possible to the desired reference trajectory.

1.1.1 Impulse response representation (a) Why? Use of impulse responses to repre-

sent systems is a controversial technique. It is not new (Frechet 1910-Volterra 1930) [25], but it is not regarded as convenient by the classical or "modern" control theory. Differential equations, transfer functions and state representation are very well suited to analyse the type of processes that were considered to be at the origin of circuit analysis and control theory. All these processes can be considered as analogous to a system composed of an inertial mass moving in a field force. The physical phenomena are basically in-

cremenral: increase of the speed of a mass, de- crease of the voltage across a capacitor, etc.

In a large category of processes encountered in industrial plants, the physical phenomenon in- volved can best be described as that of the influence of a source, through channels of dif- ferent lengths, thus of different losses and time delays, on a localized sensor. One can interpret the impulse response as the probability density function of the occurring effect of the source on the sensed point. The phenomena involved can be: heat, physical transformation, propagated chemical effects, etc. Time delays and non- minimal phase effects are often encountered. Since most industrial processes are interconnect- able, their "'order" would necessarily have been large (e.g. 20), in such a way that if N is the number of parameters defining the impulse re- sponse, with N = 4 0 the redundancy factor is generally close to 2 and does not exceed 3.

The main criticisms that were traditionally put forward against this representation dealt with the non-minimality of this modeling. The ill-posed nature of the identification involved if any c a n be avoided by a proper conditioning of the relaxation factor or a proper selection of the structural distance to be minimized, as discussed in Appendix A, and in ref. [16].

Now, why object to a procedure which saves time'? What is the use of a lengthy analysis where one has to characterize the process, test several hypotheses, look for a minimal representation'? The goal of modeling is clearly in this case to predict the behavior of the plant when it is submitted to a known input. The accuracy of the prediction depends largely on the adequacy of the test signals and on the identification technique.

As we will see, the one used gives easily the unbiased parameters of a multivariable process submitted to unknown perturbations. Since these parameters appear linearly in a non-matrix form, 12 impulse responses with 40 parameters each, are commonly identified.

Lastly we have to point out that there are no "initial conditions" with this representation, which makes the identification of multivariable systems easier, and that "structure" and "vari- ables" play a symmetrical role, which will be the base of the control algorithm as described in Section 1.1.3.

The characteristics of this representation are listed below.

(b) Universality. Each output s~(n) of a mul- tivariable system is a weighted sum of the N past values ek(n-- i) of the NE inputs

N E N

sj(n)-- y" ~, a(i)k4ek(n--i) k - I i 1

Page 86: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control: applications to industrial processes 415

or in a vector form

.~j(n) = a T e ( n )

aj = {a(i)k,j } e(n) = (ek(n --i)}.

The information used to represent the system with NE inputs and one output is thus carried by a vector of dimension NE x N, if we assume for simplicity that all impulse responses have the same time memory N T ( T = sampling period).

The choice of N and T should be such that

N T > TR

where TR is the time response of the system. The system is assumed asymptotically stable,

which implies that it is possible to find N such that the truncation error can be arbitrarily small. If one integration is present in the transfer fun- ction, such as in level control, one can represent the system by an equation of the following type

s(n)=s(n--1)+hTe.

- -Truncat ion errors should have the same order of magnitude as the other errors: representation, sampling, computat ion. . .

- - I f the systems were to be naturally unstable-- which rarely happens-- they could be stabilized by some standard procedure with no claim on performance while IDCOM would optimize their performance in a supervisory way as discussed later in the section on Implementation.

(c) Linearity. The major feature of this repre- sentation is linearity with respect to the para- meters aj. It is then permitted to model systems by equations of the following type

s(n)=aTu(n)

where u(n)=f(e(n)), f ( . ) being any function pro- vided u(n) can be measured or estimated. Nonlinearities induced by the actuators can ea- sily be taken into account by this procedure.

(d) Identification. Linearity with respect to the unknown parameters facilitates identification pro- cedures. The identification algorithm and proof of convergence under various conditions are gi- ven in Appendix A. In most industrial cases, perturbations affect the outputs only and not the measured inputs of the process so that if identifi- cation is performed in open-loop conditions, un- biased estimates of the parameters are easily obtained in realistic conditions where poor signal to noise ratio exists.

No matrix computation being involved, this identification technique can be implemented ea-

sily on a small on-line digital computer. However it will not be used on-line continuously.

(e) Test signals. The only critical phases are experiment planning and data collecting. A pro- per hierarchical approach should have first de- fined the control and feed-forward variables and the outputs. This part turns out to be difficult on large systems. Active test signals should perturb normal operating conditions as little as possible and should give the best information on the system structure. These demands cannot be satis- fied without some previous computation. It is necessary to select carefully the nature of test signals that will be added to the actual controls.

Pseudo Random Binary Signal, or determinis- tic dedicated signals, have proved to be con- venient provided that the spectrum and the cross- correlation of inputs were appropriate.

The amplitude of inputs should be above the significant threshold of the sensors. The variance of the estimated parameters depends on the en- ergy (amplitude × time) of the test signals and on the perturbation variance. The time duration of tests is limited by practical considerations and by the non-stationary characteristics of the process.

Thus it follows that test signals optimisation can be done only when the process model is known. To break this vicious circle, an iterative procedure is used. Intermediate models can be used, one or two trials usually being sufficient. Identification can be performed by either of the following procedures:

- -The system is open-loop. A weak manual con- trol is tolerated on some outputs, inducing a negligible bias on the parameters.

- -Th e system is controlled in a "transparent" or supervisory way, as described later in the Applications section, where the analog controllers are still working on-line. An overall model will then be derived. Test signals are added to the set- point values of the PID controllers. These operating conditions are much in favor. Since risks are minimized, operators are unstressed and more tolerant.

1.1.2 Reference trajectory For sake of simplicity let us consider a single

input, single-output system. Let C be the con- stant value of the prescribed output and so(n) the actual output value at time n, as illustrated in Fig. 1.

From the last sampled value so(n) a trajectory sMg(n+ i) is initialized which reaches C according to some criterion (e.g. no overshoot, fixed time response). These desired values of the future output can be obtained from stored data or

Page 87: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

416 J. RICHALET, A. RAULT, J. L. TESTUD and J. PAPON

- - ~ - - H . F ~ C = Desired output n __...~Meosured output ~ -

So (n 'F.utur e ~R; fPerr edniCet e dt r °jutpUtr y Post " =

SMRCn*,)

Meosured~

F]6. 1. Model predictive heuristic control: reference trajectory • updating.

computed by a recursive equation. One of the simplest (lst order) is

SMR(n+i)=~SMR(n+i--1)+(1--oOC ( i>0)

s~,,,(n) =so(n).

The main characteristic of the reference trajectory is its time duration: TMR. This parameter is one of the few to be specified in the program and must be accessible to users.

The control algorithm has to find a set of future control variables such that the future outputs of the internal model will be as close as possible to the reference trajectory. The whole procedure is to be repeated at every sampling period. Due to state and structural perturbations and to computational errors, the trajectory of the actual process does not usually fit the one that was prescribed in the past. The control problem is then reduced to the computation of control variables acting on a known and non-perturbed system: the internal model, so that its future outputs from n to infinity follow the reference trajectory.

The future trajectories that will be followed by the actual process and the internal model may be different, mainly due to the internal model mis- match which may induce instability if too large. This will be analysed in Appendix B.

1.1.3 Control algorithm Given a model of the process, and fast time

computer facilities, if a solution exists, then by any heuristic means the control variables will be computed in such a way that the output of the simulated process follows the reference trajectory.

In the particular case of industrial processes, the impulse-response representation will be used to advantage. In this case, the systems are "state- linear" with respect to inputs e~(n-i) and "structure-linear" with respect to parameters aj. Commutativity of the inner product is used as

Identificotion S(n) = A T E(n)

Meosured e i t ed output A =

Control S(n) A T E(n) = ET(n) . A

Past Future V t

Measured Reference trajectory Past Future

t t Meosured To be solved

for

From identification

FIG. 2. Duality of identification and control.

schematized on Fig. 2

s(n) = aTe(n) =eT(n)a.

In the identification scheme s(n), e(n) are given; the problem is to find a.

In the control problem: a is given by the previous identification; s(n) is known, in the past from the collected

data, in the future by the reference model trajectory;

e(n) is given in the past from the controls actually applied; the problem is to find e in the future. The same type of algorithm as used for identification will be used, since it appears that control and identification are dual.

Constraints on the controls should be intro- duced. Limitations imposed by actuators are de- scribed by

me<e(n)<M e

[e (n)-e(n- 1)[ < VM.

Constraints on internal variables or secondary outputs can be introduced

u(n)=hTe u(n)eD.

Theoretically, to take into account properly the constraints, all the future controls have to be computed. Practically, the predicted time span can be shortened to a few points with little loss of performance: HP ~- 10.

The different steps of the control algorithm are brought up in the diagram given in Fig. 3.

1.2 Program specifications The control being heuristic in the sense that no

structure or control law is used, the tuning of "parameters" to plant modification or operating point variations is meaningless here. Indeed, the process model is used in its initial form, the impulse response, for prediction. The only argu-

Page 88: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control" applications to industrial processes 417

] Predictive control vector [

I initialisation

Computation of the reference trajectories

Computation of the predictive input sequence such thor one of the outputs

of the internal model fits to the reference , I trajectory on the prediction horizon [

I es,s on coost o,nts I

I

Application of the control[ input vector

FIG. 3. Flow-chart of the control algorithm. The (A) loop iterates to compute each predicted input vector sequence needed to obtain a fit between the internal model output and the reference trajectory for a number of sample times in the future. Computation is based on equation (15) of Appendix B using the dual form of the algorithm defined in AppendixA. The number of future points HP to be fitted is defined in Fig. 1. Tests on constraints being taken into account, loop (B) iterates on the number of outputs to be controlled. Loop (C) iterates on the whole predicted input control vector sequence ensuring convergence. Once this is satisfied only the first input control vector of the HP predicted sequences is applied.

The whole procedure is repeated at the next sampling time.

ments then to be specified have a direct meaning readily understood by users.

- - Internal model: a, where s=aX 'e , where control variables will be distinguished from measurable perturbations used as feedforward prediction.

--Reference trajectory: for a given class, its time-response TMR.

~Cons t ra in t s on controls: max, min, velocity max on internal variables if necessary.

The last parameters should be left at the disposal of the process operator and chosen on-l~e. In particular, when the control is implemented for the first time, time-response and constraints can be strictly set and optimized afterwards.

1.3. Performances Taking into account the fact that some invest-

ment, either intellectual or financial, is necessary to obtain a model of the process, computed off- line or on-line on a digital computer, noticeable

improvements are to be expected on the quality of the control if such effort is to be justified.

- - I n fact, performances achieved by this control scheme are up to expectations and this is clearly demonstrated by figures given in Section 2.

- -However , other schemes, on particular appli- cations, can give similar results. Our claim must then rest on the remarkable robustness of the method which is essential if it is to survive in an industrial environment. These requirements are:

- -ease of implementation of software;

- -p rogram parameters must have a clear con- trol significance, e.g.: time response--constraints;

- - large tolerance to variations of the process structure due to errors of identification: natural alteration of the gains and dynamics of sub- systems, change of transfer characteristics accord- ing to set-points (nonlinear effects), weak sensi- tivity to noise. . . All these conditions should be satisfied while control of multivariable processes (time delays--non minimum phase) is guaran- teed, and constraints satisfied.

In Appendix B, results are given on the stability limit which show that one can cope with large gain variations of the process (>4) at the cost of quite small changes in performance. Thanks to this approach, stability appears to be not so critical. The reference trajectory inter- mediate goal and the internal model prediction being responsible for it. Controlling a "second order" system is as easy as to control a "tenth order" one, if the internal models are correct. Robustness and, at the limit, stability will then depend on the fitness of the internal model.

1.4. Necessity of adaptation It is quite obvious that if the internal model is

far from reality, and if the reference trajectory is much faster than the process, the MPHC strategy will not be efficient. The better the internal model is, the more we can demand from the control. Adaptation of this model thus ap- pears to be necessary if we want to maintain the optimal operating conditions.

However, in the general case, auto-adaptation will not be the solution required and continuous identification will not be performed on a con- trolled industrial process. There are several reasons for such an assertion:

if the set-points are constant, for a large category of problems, the natural robustness of IDCOM can cope passively with the natural variations of the plant's structure.

--on-l ine identification--if a non-academic case is to be considered--imposes practically the addition, in one way or another, of some in-

Page 89: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

418 J. RICHALH, A. RAUH. J. L. TESTUD and J. PAPON

dependent extraneous signals to the controls[19, 20, 24]. Not to perturb the natural operating con- ditions, these test signals should be small and identification should be performed with a poor signal-to-noise ratio. Such identification tech- niques exist but large artefacts are always pro- bable (e.g. instrumentation defects...), they are easily detected by the inspection of a human operator but very difficult to analyse in all cases by an algorithmic procedure. Auto-adaptation then appears not to be so necessary and perhaps too risky to users. On the contrary, adaptation or tuning of the internal models from a priori information is well accepted and used satisfac- torily. This information is derived from measured variables, e.g. the sampling rate is continuously fixed by the power, in the boiler example de- scribed in Section 2.

In practice, depending on the local conditions, a general overhaul of the internal model can be performed once a year for instance. An optimal test-signal procedure will be used on-line, but the results should be inspected by a human operator before being fed back into the control program.

1.5. Implementation The poor reliability of digital computers in-

itially hindered the progress of digital process control. Nowadays, the central unit Mean Time Between Failure is large enough to provide a good service. If software and control architecture do not demand magnetic disks or tapes, pure solid electronic devices will ensure a reliable control. Nevertheless, it is useful for different reasons to keep a hierarchy of controllers and analog PID mixed with digital computers. Two main possibilities are offered:

Direct digital control (DDC). As indicated in Fig. 4, computers control the process control variables, which are often set-points of cascaded "level 0" P1D controllers as discussed below in Section 1.6. The internal model is in this case the process model. Outputs and set-points are fed through the appropriate peripherals. In this im- plementation, constraints on the actuators are easily formulated. On the other hand, identifi- cation procedure and supervisory software (watch dog) require careful attention.

Transparent control (TC). As shown in Fig. 5, the outputs of the control computer are the set- points of conventional analog controllers operat- ing at "level 1". In the classical SPC mode (Set- Point Control), the set-points are constant. The

Set -- point ~ [ ~ E

R G . 4. D i r e c t d i g i t a l c o n t r o l .

Open loop = Analog Open loop : Manual ANA MANU

Set - point . ~ 1 _~;~

F'I~;. 5. Transparent control.

TC mode can be considered either as a "dynamic SPC" or a DDC procedure applied to a closed- loop system with sluggish--thus robust--analog controls. If the controllers are P I, unity static gains are ensured for diagonal transfers and zero gain for cross-transfer. A progressive set of so- lutions: manual- -analog, digital can be used in a permanent way. Some outputs can be controlled by an analog controller, some by IDCOM which, in a direct or supervisory way, ensures optimal control of the process.

Security insured by the analog back-up and progressivity of the implementation make this type of control more attractive to users[22].

1.6 Necessity of a sophisticated control algorithm'?

Nowadays effective control schemes used in practical industrial applications are digital transcriptions of analog control laws[21]. What is the purpose of an industrial controller'? What are the criteria? Strict dynamic control must be imbedded in a larger problem which can be divided into 4 hierarchical levels.

Level0 Control of ancillary systems (e.g. servo-valves) where PID controllers are quite efficient.

Levell Dynamic control of the plant~- multivariable process perturbed by state and structural non-measured perturbations.

Level2 Optimization of the set-points with minimization of cost-functions ensur- ing quality and quantity of production.

Level 3 Time and space scheduling of produc- tion (planning--operation research).

The economic benefits induced by levels 0 and 1 are in practice usually negligible. In contrast, level 2 optimization can bring valuable improve- ments in the economics of the systems. However. a necessary but not sufficient condition for satis- factory level 2 optimization is first to have levels 0 and 1 optimized. If a regulator is operating around a fixed set-point, no significant gain in energy and raw material consumption can be obtained by a sophisticated dynamic control. On the contrary, an optimized level 2 setting needs a

Page 90: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control: applications to industrial processes 419

w, I w~

qs

'M2

~ c t i o n

qz q, Quality

[M~ Operating point

FIG. 6. Level 1: optimisation.

sented. Two of them come from the chemical industry:

- - a complete PVC plant where most of the processes are controlled through the MPHC strategy;

- - a distillation column in an oil refinery.

The third example is a power plant in which the algorithm ensures the control of the whole steam generator.

Because of the generality of approach of the control problem through the MPHC procedure, the three examples will be analysed at the same time.

good quality of control around the level 1 set- points. Reducing the variance of the actual out- put around their prescribed mean values allows level 2 to be set in a better way, closer to the specified quality variables.

A diagram of great generality is given by Fig. 6 where the distribution is plotted of the measured quality of the product which is specified to be q > qs, see Application 1 for example.

With a non-optimized control scheme, the set- point ql should be such that in "all cases" (95 %) q >qs. With an optimized scheme qs <q2 <ql , the operating conditions will be closer to the pre- scribed limit q~. The cost function W(q) is such that W(q~ )> W ( q 2 ) .

Thus it is clear that improvements on the dynamic control laws, provided stability is en- sured, will not be concerned with "energy" of the controls. Constraints have to be respected and the variance of the outputs has to be minimized.

From the important, though classical, scheme of Fig. 6 [23], we maintain that in this case no quadratic criterion on the control variables is of any use. Optimality, in an industrial process, comes from level 2.

For a given frequency-spectrum of pertur- bations, the time-response of the system (TMR) is then the main parameter to be optimized.

To fulfill such a goal, a robust method of control is needed. A global approach is necessary if it is to be applied to any system. The classical method based on the processing of the error, a set-point minus actual value, which leads to the well-known trade-off between stability and precision appears to be fragile since the para- meters of the controller depend too much on the structure of the process.

SECTION 2: EXAMPLES OF

APPLICATIONS

Three different types of applications which have been implemented for at least one year and are now used on a routine basis, will be pre-

2.1. Description of the processes In the oil refinery, the problem is to control

the qualities respectively of the heavy and ligh t products. It is a "level 2" type of control; how- ever the qualities of the outflowing products are correlated to definite temperatures. Therefore the first problem (level 1) is to control the respective temperatures. The column is schematically de- scribed by Fig. 7.

The temperatures to be controlled are TI 62 and TI 63, representative of the light and heavy products respectively. The control variables are the product outflow RD208 and RD209. The system is perturbed by several interactions from the rest of the plant. These are fairly well represented by the top and bottom temperatures TI 18 and TI 61.

A physical constraint which depends very much on the outflows of the products is the "pan" level; it should be kept within a fixed

~___'J T118

Heavy ,0el R0208L, I - - 13

. 19

Light diluter TI63

RD210

.__29j

jA ~2

Steam

FIG. 7. Simplified description of a fluid catalytic cracking distillation column.

Page 91: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

420 J. RICttALI~T. A. RAULT, J. L. TESrUD a n d J. PAPON

RD2o8 T163 _

RO2o9

T162 TII~

P A N Thl

FIG. 8. Control diagram of the process of a fluid catalytic cracking.

interval to ensure correct working conditions of the distillation column. The mathematical model representative of the problem is given by the block diagram of Fig. 8 on which each input variable is related to each output through an impulse response to be identified.

Two variables are to be controlled with a physical constraint on a third one, using two control variables. The procedure which was fi- nally adopted was to check on the "pan" level and each time it goes beyond its allotted interval, to progressively change the set-points of TI62 and T163 in order to satisfy the "pan" level. This is only possible with an algorithmic type of control. The control is a direct digital one with a sampling period of 3 minutes.

The steam generation process in the power plant is represented by Fig. 9. The variables to be controlled are the steam pressure P~, delivered to the turbine and the steam temperatures at the superheater T~ and at the resuperheater TRs using as control variables:

the deheater flow: Qe the recycling air flow: R~, the fuel inflow: Qj, submitted to load va-

riations of the plant, measured by the steam outflow Q,,.

This can be reduced to the schematic repre- sentation given by Fig. 10.

Ti

OF

QD

RY

Pv

TS l ,

TRS,.

FIG. 10. Control diagram of the 250 MW steam generator.

The structure of control in this example is a mixed one, P,, is controlled in a transparent mode while T s and TRs are controlled in a DDC mode as schematized on Fig. 11.

The third implementation presented is a whole chemical plant synthetizing vinyl chloride (PVC); a description of the process is given in Fig. 12. It is composed of two types of processes: separation processes, which actually are distillation columns, and transformation processes, which are cracking furnaces. Four distillation columns and three furnaces are controlled in a transparent mode according to the MPHC procedure.

This implementation is particularly interesting because it provides evidence of the generality of the method: five processes are controlled and within each process several types of controls are performed (temperatures, levels, impurities). The particular analysis of each process is quite similar to the preceding ones and thus will not be repeated.

2.2. Process modeling and identification It has been shown in the previous descriptions

of the industrial processes that they generally are multivariable systems. Under the hypothesis of linearity in the neighborhood of an operating point, the most appropriate mathematical model is the impulse-response representation.

Thus, the model of the refinery distillation shown in Fig. 7 is constituted of a set of 12 impulse responses.

Identification has been realized on-line and off-

I Tank 2 Superhe, 3 Turbine

char 4 Resuper! 5 Turbine

B P chc 6 Condens 7 Water p 8 Econorni 9 Evaporo )O Fuel pu= I I Air purr. 12 Dust separator 13 H P station

FIG. 9. 250 MW steam generator.

® PVref t,] conrro4 [ - PV

tSre f ~ ~ Q{~ - TS

TRSref I i ~ ' " ' i ' I • TRS

FIG. 11. Control computer implementation.

Page 92: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

CL2

C2H4

Model predictive heuristic control" applications to industrial processes

1 F- - - - - -- --

I I

I I

Air E thy lene

DI2 , ~

- - - 1 r" Distillation I I Dist i l la t ion

columns I Furnaces I columns

[-] - Dill DI31 I Ii I ~ J I-- I j LD_JISI -- - D! I_ _ _ - - -] [--1

I I Process under IDCOM I I Trans format ion process

r~..-_..-J Separat ion process

FIG. 12. P .V.C. plant description.

Process

TI62

F I a . 13. Identification of the fluid catalytic cracking distillation column.

1

.SL,

TI62

5°C~ I TI65

421

\ x

x

RD209

TII8 /~, RD210

x

x

RD209

/ ' ~ ' . /RD208 x ~'If "/ TII8

~ x ~ - t

IO rain I I

FIG. 14. Identified impulse responses of the fluid catalytic cracking distillation column (ordinate: arbitrary units).

line and results are shown in Fig. 14. Each im- pulse respons e is composed of 30 points. Comparison of the behavior of the plant and its mathematical model is shown on Fig. 13.

Results of the identification of the pressure of the steam generator are given on Fig. 15. These identifications have been performed on open loop systems.

In most applications, the control algorithm used thereafter being sufficiently robust, it was not necessary to have an on-line identification scheme, because generally the processes work around the same operating point.

In the case where the load of the process is liable to change, as for example in the power plant application, on-line adaptation becomes

Page 93: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

422 J. RICHALET, A. RAULT, J. L. TESTUD and ,1. PAPON

(a)

200

iO0

- I00

P V / P V C

#f , - . ! / T S / P V C

% z T R / P V C

" . _ _ - * 20s

O3 0 2 OI

*- 0 03

0.2 0 3 0 4

0

(b)

Model

I I I I I I I L L I0 20 30 40 50 60 70 80 90

T, mn

F1o. 15. Identification of a steam generator (a) impulse re- sponses (ordinate: arbitrary units); (b) process-model outputs

(1 volt =20 bars).

necessary. This problem requires a more sophisti- cated solution and in general we are faced with a dual control situation. In the power plant case it was found after identification at different load levels (100°/O, 80°/O, 50%) that the time response of the transfers related to the temperatures varied as an inverse function of the load Q,,.

If one observes the process with a sampling period varying in the same way it appears as a nearly stationary system. This has been im- plemented and gives full satisfaction; the only identification left to be done on-line deals with the gain of each impulse response.

It should also be mentioned that the non- linearities of the actuators have been included in the internal model of the process as for example in the recycling air inflow Ry; such cases should be identified independently.

2.3. Parameters of the control algorithm The main parameters of the control algorithm

are the time-constants of the reference trajec- tories. They define the desired behavior and stability of the controlled variables.

Usually in industrial processes, the goal is to accelerate the natural response of the system within the limitations of the constraints on the actuators.

The constraints are of the (max, min) type on the amplitude and speed of variation of the control. For example the water injection flow Qa

in the power plant as well as its speed of variation are both limited.

Models of the processes were not except for the gain of the steam g e n e r a t o r modified on- line; no adaptation was necessary.

For a "4 inputs × 2 outputs" system the whole software needs less than 2K words of 16 bits. including data and programs.

2.4. Results With such a general procedure, results should

be given at different levels. The numerous simu- lations necessary to verify the different principles of this M P H C strategy will not be mentioned; on the contrary, results will only be concerned with industrial applications. Although industry may be a constrained experimental field, it is a source of truly unsuspected actual problems from whose analysis great benefit can be derived.

(a) Recording. For the oil refinery distillation column, the effects of a shift from analog control to I D C O M are presented in Fig. 16.

In the steam generator example, a standard triangular 10 MW/minute power perturbation w a s applied, with regular analog control and with I D C O M as shown in Fig. 17.

(b) Variance. A more objective way which yields numerical results is to compute on-line the mean value and variances of the variables to be controlled. This has been done on the distillation column (refinery).

Variances on the two temperatures are divided by a factor 4 which permits the shift of the set- points to better level 2 operating conditions as revealed in Fig. 18.

(el Economic.s. As described above the level 1 optimization is significant only o13 a level 2 management of the process. A few examples are given:

| ~ Desired output

205

~. f901 ~ l - - y I 185y- V

I hour "-- Analog control =',-~ IDCOM =

2701-- /1 Desired output

~--- 2 4 0 ~ - " v " V ,

* Analog control -,--I_ - T D C O M - - - - " "

- L- o~ I00 _ Canal: 9 0 % - 6 2 %

I hour

FIG. 16. O u t p u t s o f f l u id c a t a l y t i c c r a c k i n g u n d e r c o n t r o l .

Page 94: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control: applications to industrial processes 423

- t 240 .0 _-__~ ._ _ _-- 1.5

" ' y I.O

"~ ~ 0.5

2:2 215.0 0 0 202.5 ~ - 0 . 5

4

0

*~ - 4

EL" - - 8 O

- -12

d O

- I .0

- I . 5 ,9 m,

6

4

2

8 - - - 0

• I--- - 2 4 / ',

, , ~ " - " . . . . . . . . - 4 -o z . .~ , . , , ~ - - " " " " ~ " -6 - 4 J

J

- 6

4

? o 2o ~ - ' ~ d -4

>.-" - 8 " ' - ' ~ " " / I "~,,;,¢-2 . . . . . . . . ~ - 8 n," v ~ D I'- Iio mn~

_jr

, t t , j

i i i

i i t

t

. . . . . . . Ana log control I D C O M

FIG. 17. Analog and IDCOM control with a load perturbation (Qv).

3O

2O

E 7

250*

50

40

50

20

I0

i Temperature TI62

Control Mean Standard deviation

IDCOM

Anatog 260*30 9*:54

r'--q i 240oc 250°C 2580C 262*C TI62°C

TI6:

Temperature TI65 TDCOM -"- Standard

Control Mean deviation

TDCOM _~00"0 z 1"54

~ 99"7£ 6"41

180"C 190"C 2OO*C 210°C TI63"C TI63

F I G . 1 8 . Histograms of temperature control (FCC).

In the PVC plant on a distillation column (D 131 Purification), a small variance of the out- puts and security feeling induced by the new control, allowed to reconsider, after a few months of satisfactory continuous operating conditions,

the specifications of level 2. Step by step in a year's time, specifications were almost doubled and the minimal constraint on the outflow was lowered from 45 T/H to 32 T/H. That induced an economy of energy on this column of about 1.5T/H of steam ( _ 1 5 % ) which on an 8000 hours/year basis represents about $120 000 a year.

- O n distillation column D 111, under similar conditions the minimal constraint taken into ac- count by IDCOM was lowered from 10T/H to 9,2 T/H with an estimated gain to $100000 a year.

- - O n the cracking tower in the refinery, lowering of the variance of the temperatures, while ensur- ing the prescribed quality permits an increase of output of the most valuable product (light gas) and a gain estimated at $150000 a year.

Moreover IDCOM has been applied to "level 2" control of the quality of the "Final Point" product as shown in the schematic diagram on Fig. 19. hnprovement of the variance of the final point, the quality index of the gas oil, is by an histogram.

This is the economic aspect of the results; it is to be kept in mind. With such figures the pay- back time of a digital control system is very short and profitability can no longer be invoked to disregard such techniques.

Human aspects. To dispel the ever-present fear of innovation in industrial control systems, the acceptability of any new product should be

Page 95: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

424 J. R1CHALET. A. RAUL], J. L. TESTUD and J. PAPON

2000

1500

IO00

E Z

500

I00

0

I D C O M - - ~ -

Flnol point !

~2Z,,-1---.~ 7 J S,oodo,d i

, oco 2, 2,9oo5

I -' 01

215 215 218219220 225 227

Final points

FIG. 19. Histogram of quality control.

guaranteed. The people concerned range from managers to operators and it is the latter who, in the long run, will accept or reject any modification.

To be accepted, innovation should not in itself be a source of troubles (premium non nocere); hardware and software should be reliable. The amazing robustness of the MPHC procedure makes it applicable in tough and changing con- ditions. Any new method should be clearly understandable: with IDCOM there is no gap between the operator's capability and plant com- plexity since all control parameters have a straightforward physical significance (time response--constraints. . . ) , Last, but not least, in- novation should make control easier. For ex- ample, the oxychloration furnaces were difficult to drive, taking too much of the operator's at tent ion-- the "PAN" level constraint was so hard on operators that most of their time was occupied by this non-challenging but dangerous task: after a few months' of application of IDCOM, as confidence gradually pervaded, the operators were relieved from that preoccupation to such an extent that they would never accept a return to the previous situation.

Being no longer concerned with what is, in fact, a minor problem: dynamic control at "level 1", more significant improvements--"level 2" setting---can be looked for on a sound basis. The way is then opened for true optimization.

CONCLUSION

The conclusion is two-fold. Two types of results can be put forward.

1. Digital control of multivariable processes Several points are to be mentioned:

industrial

(a) Compared with the classical transfer- function or state-equation representations of sys- tems, the impulse-response can be used to advan- tage, since characterization and identification be- come universal and easier. A parametric model of a system with a minimal order need not be hypothesized, derived and identified.

(b) Detailed knowledge of the process and search for the minimum order of the system appear from practice to be superfluous for con- trol purposes. On the contrary, redundancy of the impulse-response representation is appreciated.

(c) A large number of parameters and vari- ables can be dealt with by modern digital com- puters and iterative non-matrix calculus.

(d) Identification is generally not performed on-line; it could be mixed with control in an auto-adaptive scheme, but:

it must be used with great caution because of sensor reliability and non-parametric structural changes of the process.

the results are biased or may be biased if no external test signals and/or debiasing procedures are applied.

--it is not necessary in most cases because of the natural passive robustness of IDCOM.

on the contrary, passive adaptation is most often necessary and efficient (e.g. adaptive sampl- ing period in the steam generator case).

(e) In controlling industrial plants the main objective is to reduce the deviation of the vari- ables from their set-points which can be opti- mized thereupon, through an appropriate hier- archical approach.

{f) The taking-into-account of practical con- straints on actions and internal variables and the robustness of control are the importantfeatures of industrial dynamic control. The economics depends more on the higher hierarchical levels where optimality may come from than on the dynamic control level.

(g) If we can obtain the black box model of an industrial multivariable process then the latter can be controlled in most cases by an MPHC procedure. The ease of implementation and its amazing robustness make it a convenient and reliable method, capable of standing the adverse industrial conditions.

The economics is clear and the optimal "level 1" dynamic control of a complex multivariable plant does pay back if imbedded in the above- mentioned hierarchical approach. Considering the demands on the conservation of energy and the still-decreasing cost of industrial computers, such dependable implementation may now develop rapidly.

Page 96: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control: applications to industrial processes 425

2. Methodology Efficient modeling and fast-computing are new

tools; their use broadens the fields of control. If one gets the mathematical input-output descrip- tive model of a process--whatever this system could be-- then through a fast-time heuristic computation of the present and future control variables, if they exist, more complex control problems can be tackled.

The basic ideas underlying this approach are related to the "scenario technique" used in Predictive Economics. To some extent it is also similar to what the human operator is assumed to do with his internal model of the external world.

The control variables are no longer a com- bination, algebraic or differential, of the measured or observed variables defining the state of a system. MPHC relies on far less restrictive as- sumptions. Modern computers permit designs which skip unnecessary problems that showed up artificially but necessarily in the past, such as designing a dedicated controller which is of the same functional nature as the process.

Since actions are not computed through a fixed operator from limited local observations but through a totally predictive scheme, stability is not critical and blends into the robustness analysis.

Since many tentative future control-variables can be tested and selected according to a crite- rion, constrained optimization is feasible.

The stress is then on modeling and updating of the identification to avoid the internal model mismatch. Various numerical-analysis problems may arise when computing the optimal controls. That field is open to research, but the control of really complex systems seems more reachable with this fast-time-heuristic-scenario technique.

Acknowledgement--The authors wish to thank Dr. Raman Mehra, the editor, and the referees for their constructive comments in the revision of this paper.

REFERENCES

[1] S. KACZMARZ: Angen~iherte Aufl6sung von Systemen Linearer Gleichungen. Bull. Intern. Acad. PoL Sci. Lett. Cl. Sci. Math. Natur. (1937).

[2] J. NAGUMO and A. NODA: A learning method for system identification. IEEE PGAC AC-12, 281-287 (1967).

[3] F. LECAMUS and J. RICHALET: Identification des sys- t6mes discrets lin6aires multivariables par minimisation d'une distance d~structure. Elect. Lett. 4, (24), (1968).

[4] J. R1CHALET and B. GIMONET: Identification des sys- t6mes discrets lin6aires monovariables par minimisation d'une distance de structure. Elect. Lett. 4, (24), (1968).

[5] P. R. BELANGER: Comment on a learning method for system identification. IEEE PGAC AC-13, 207-208 (1968).

[6] I. D. LANDAU: A hyperstability criterion for model reference adaptive control systems. IEEE Trans. Aut. ControlAC-14, 552 555(1969).

[7] J. RICHALET, F. LECAMUS and P. HUMMEL: New trends in identification minimization of a structural distance: weak topology. 2nd IFAC Symposium on Identification, Prague (1970).

[8] Y. Z. TSYPKIN: Adaptation and Learning. Academic Press (1971).

[9] K. J. ASTROM, P. EYKHOFF: System identification, a survey. IFAC Symposium on Identification and Process Parameter Estimation, Prague (1970); Automatica 7, 123-162 (1971).

[10] J. RICHALET, A. RAULT and R. POULIQUEN: Identification des Processus par la Mdthode du Moddle. Gordon & Breach (1971).

[11] D. TURTLE and P. PHILLIPSON: Simultaneous identifi- cation and control. Automatica 7, 445-453 (1971).

[12] E. TsE and Y. BAR SHALOM: Application of adaptive tuning of filters of exo-atmospheric target tracking. 3rd Symposium Nonlinear Estimation Theory, San Diego (1972).

[13] D. GRAUPE: Identification of Systems. Van Nostrand Reinhold (1972).

[14] A. FELOSAUM: Principles Thboriques des Systdmes Asservis Optimaux. Ed. MIR Moscou (1973).

[15] J. M. MENDEL: Discrete Techniques of Parameter Estimation. M. Dekker, New York (1973).

[16] D. R. AUDLEY and D. A. LEE: Ill-posed and well-posed problems in system identification. IEEE Trans. Aut. Coutrol AC-19, 738-748 (1974).

[17] P. KUDVA and K. NARENDRA: An identification pro- cedure for discrete multivariable systems. IEEE Trans. Aut. Control AC-19, 549-552 (1974).

[18] H. KURZ and R. ISERMANN: Methods for on-line pro- cess identification in closed loop. 6th IFAC World Congress (1975).

[19] T. SODERSTROM, L. LJUNG and I. GUSTAVSON: On the accuracy problem in identification. 6th IFAC World Congress (1975).

[20] B. WITTENMARK: Stochastic adaptive control methods: a survey. Int. J. Control (21), (1975).

[21] L. DONAGHEY: Microcomputer systems for chemical process control. Proc. IEEE 64 (1976).

[22] ADERSA/GERBIOS: IDCOM---Conduite algorithmique des processus industriels de fabrication. Proc. Conf. on the Algorithmic Control of Industrial Systems, Paris (1976).

[23] J. RICHALET, A. RAULT, J. L. TESTUD, J. PAPON: Algorithmic control of industrial processes. 4th IFAC Symposium on Ident~cation and System Parameter

Estimation, Tbilisi (USSR), (1976). [24] I. GUSTAVSON, L. LJUNG and T. SODERSTROM:

Identification of processes - in closed loops. Identificability and accuracy aspects. Automatica 13, (1). 50 (1977).

[25] G. HUNG and L. STARK: Introductory Review--The Kernel identification (1910-1977--Review of theory, cal- culation, application and interpretation). Math. Biosci. (37) 135-190 (1977).

[26] P. R. LATOUR: The hidden benefits from better process control. ISA-76, Houston, Texas (1976).

APPENDIX A: IDENTIFICATION

ALGORITHM

1. Introduction On-line identification in a closed-loop system leads to a

biased result due to the fact that inputs and outputs are correlated. It has been shown, [9], that without external signals (known set-point variation or perturbation) the identi- fication scheme tends to yield the inverse regulation law.

To get out of this non-identificability condition it is ne- cessary to introduce an external perturbation signal, [23, 24]. It can be proved that the bias depends on the ratio of the energy of the external signal introduced to the energy of the perturbation. The higher this ratio, the smaller is the bias.

Simultaneous identification and control (i.e. complete self- adaptation) not being necessary in industrial processes, the

Page 97: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

4 2 6 J. RICHALET, A. RAULT, J. L. TESTUD a n d J. PAPON

usual conditions under which identification is performed are: either open loop or very weak feedback and high level of external test signal.

The main points of the identification algorithm are pre- sented hereafter. The objective is not to give an exhaustive coverage of an on-line algorithm but rather to emphasize points which are thought to be more original.

2. Minimization o la structural distance The systems to be considered are represented under the

following bilinear form. Indices O and M correspond re- spectively to the actual physical system and its mathematical model

so(n ) =a~e(n)

s,~(n)=a~e(n)

where s(n) is the observed output at instant n, a is the structural vector whose components are the unknown para- meters a~, e(n) being the information vector at instant n.

In the case of a one-input one-output system, the structural vector a is formed with the impulse-response parameters aft) ( i = 0 , . . . , N ) and the information vector is formed with the past inputs e ( n - i ) ( i=1 . . . . . N).

The instantaneous error between object and model is written

e(n)= (aM (n )-- ao)T e(n ) .

A distance can be defined in the parametric space as

Do, ( . ) = t l a . ( n ) - aol[ . = (aM - ao) e(aM - ao)

where P is a positive definite matrix. A converging identification algorithm will be one which

ensures that

D(n+ 1 ) - D ( n ) < 0 .

D being a Lyapunov function, stability is insured in the parametric space. However it is to be noticed that the state error e2 or any quadratic function of e is not guaranteed to be minimum.

3. Derivation in the deterministic case Let us note

Aa~t(n) = a M ( n ) - a o

AaM(n + 1 ) = a u ( n + 1 )--ao=Aa~t(n)+6a(n+ 1 ).

Thus D(n)=Aa~(n)PAa(n) and e,(n)=AaT(n)e(n) and it fol- lows that

D (n + 1 ) - D (n) = 2 Aa~(n)P6a(n + 1 ) + ~aT(n + 1 )P 6a(n + 1 ).

The algorithm is determined by the choice of 6a(n + 1) as a function of the information vector; let it be

6 a ( n + l ) - # P le(n), la scalar.

It yields

D(n+ 1 ) - D(n)=#2eX(n)P l e(n)+ 21te,(n).

Convergence of the algorithm will be ensured if

2~(n) p= with 0 < 2 < 2 .

er(n)P- le(n)

The optimal value being 2=1 , if we look for an optimal minimisation from D(n+ 1) to D(n).

The on-line algorithm has the following expression

• . , e(n)P- le(n) aMIn+ 1 ) = a~a(n)-- ) . ~

e'(n)P 'e(n) (1)

In the case of a metric distance Do.:w(n =[ laM(n) -ao i it becomes

• c(n )e(n) a,w(n + 1)=aMlnj /Oe~n)ei;i) 12)

with the corresponding distance variation

~;2(n) D ( n + l l = O ( n ) + ) . O . - 2 ) ~ - .

e'(n)e(n)

4. Geometric interpretation Given a Euclidean distance ( P = l ) and 2 = 1, the algorithm

can be interpreted as a projection in the parametric space. If M(n) is the point representing the model, O the process, e(n) the input vector, equation (2) shows that the model at instant (n+ 1) will be obtained by a fictitious projection of O onto e(n) as depicted in Fig. 20.

In an N dimensional parametric space, N orthogonal vectors e(n) would span the space and thus be sufficient to identify. Since e(n) does not completely span the parametric space, the identification stops in a subspace.

n)

e ~ D(n) Lyopunov contour

e (n , I )

FIG. 20. Structural distance minimisation in the paramneter space.

The relaxation factor ). and the P weighting matrix play a major role and may be optimized according to the infor- mation contained in the successive input vectors. This basic strategy can be made more sophisticated.

Equations (1) and (2) exhibit the structure of on-line identification algorithms which are fairly universal and found in various fields of applications. In fact, it seems that the original use of such a structure is due to Kaczmarz 1,1] in 1937. It has been used much as a learning method, 1,2], 1,5], I-8], but also appears in on-line estimation methods 1,11], 1,13], 1,15], 1,17].

The interesting contribution in this presentation is that it shows that these types of algorithms minimize a structural distance which is the ot2iective of any identification procedure.

5. ldent~cation in noisy environment

5.1. Noise in industrial environment. Two types of noises are encountered in industrial systems: measurement noise and process noise.

- -measu remen t noises are present on every observed variable (input, output, state variables). For these, the hy- pothesis of whiteness is generally acceptable.

.... process noises correspond to state or structural per- turbations. State perturbations take into account every per- turbation on the state of the system and in particular secondary inputs not included in the model. Structural per- turbations are those of the process itself due to the aging of elements or nonlinear effects not taken into account in the global representation model.

Classically the system is represented in the following form:

The observed process output is: s,~ln)=so(n)+vln)

The observed past input vector is: e ~[n) = e(n) + bin }

Page 98: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

Model predictive heuristic control" applications to industrial processes 427

where b(n) is measurement noise satisfying whiteness hy- pothesis and v(n) takes into account measurement as well as process noise.

A first approach consists in applying an identical filter F on both measured input and output. Under the hypothesis of linearity and stationarity, process P is still identifiable be- tween e~ and sF; filters F eliminate noises outside the process bandwidth, mainly measurement noise, and non-zero mean structural noises, drifts.

This justifies that we will restrict the analysis to the case where noise affects only the output of the process.

It can be shown that noise on the input induces a bias in the identification whose computat ion is quite involved.

5.2. Analysis of the identification algorithm in noisy environ- ment. Following the previous remarks, the processes are described by

so~(n) = eT(n)ao + v(n)

s M (n) = eT(n)a M .

Tklus e(n )=eT (n )Aau(n ) -- v(n ) . and the identification algorithm (2) takes the following expression

), aM(n+ 1 ) =aN(n) - - ke(n)e(n) with k -

eT(n)e(n)

Notation: In the foregoing the current index n will be omitted and index n + 1 will be replaced by a superscript +

a ~ = a M - ke[e T AaM - v]

a~ =aM - kee r AaM + key. (3)

Hypotheses:

H 1 the process is assumed to be open loop

H 2 E[v(n)]=O E[v2(n)]=cr2~.

Subtracting a o to each side of equation (3) and taking the mathematical expectation, yields

E[Aa~] = E[AaM] - keeTE[Aa] + kE[ev].

Assuming the process noise is uncorrelated with the input E[ev] =0, one obtains

E[Aa~] = [I - keer]E[Aa~] . (4)

Equation (4) represents the stochastic difference equation of the error term AaM. Under the condition that the eigenvalues of the operator [ I - k e e T] be less than one, E[AaM] tends to zero.

Thus, as long as the noise on the output is not correlated with the past inputs, the identification algorithm is unbiased.

5.3. garianceanalysis. Developing the expression o f t h e e r r o r signal g, the error equation is written as

A a ~ = [ I - keeT]AaM + key.

Making use of the hypotheses that the covariance matrix of the estimation error term satisfies the following difference equation

El a a M Aa T] = 5" EEaa~ Aa~/T] = Z +

X + = Y - 2 kee TM + kZee T 52ee x + k2o "2 ee'r. (6)

Detailed computat ion is given in [221. Taking the trace of matrix equation (6) and making use of

the following property tr [eeTZ] =eT52e equation (6) becomes

tr 52 + = t r 52 - 2 k e T 52 e + k 2 [eT 52 e + rrs2]eTe . (7)

Note that tu'Z is notlmlg else than the structural distance.

The opt imum value of k minimising E(aM--ao) 2 is then

k - I F eT52e 1 op _e~eL~j (8)

The variance ~2 of the error signal is easily computed as

~:2 =eTSZe + a2

and thus

1 2 2 kopt = e~e I-1 - o'~ / ~: 3.

The identification factor varies as the identification pro- ceeds and tends to zero when there is only noise left in the error signal. This is a classical result of stochastic approxi- mation. While G 2 is easily estimated, estimation of ~2 must be made in a stationary state and an underestimation could yield a negative k factor and thus induce a divergence of the algorithm.

The deterministic approach had led to the definition of an identification factor k=)`/(eXe) with 2 called the relaxation factor. The above result shows that )` should be smaller than one and even more so when the signal to noise ratio is bad.

The choice of a constant factor is appropriate in an adaptive situation where the identification algorithm should follow any stationary variations of the physical system.

5.4. Adaptation of the deterministic algorithm. If the identi- fication factor is chosen as k=)`/(eTe), the covariance matrix equation (6) is written as

ee T )2 X + = Z - 2)` e~e X + (e%)~ eeTZee"

22 + (eTe)~ °fleeT.

Assuming the input sequences {e} have been such that the parametric space has been completely spanned, it has been shown (Section 5.2.) that the expected values of the para- meters are unbiased.

Under the same conditions, from the previous equation, the final value of the parameter covariance matrix a n d con- sequently the expected value of the structural distance will be analysed.

The limit, if it exists, imposes £ + = Y: and thus

eeT 22 T T )`2 2 ~ x - ~ e e xee =(e%)~ee', (lO)

assuming the generated inputs are such that

e e V = l e r e = l ~ 2 where I is the identity matrix.

Note that this hypothesis can be satisfied either in open loop or in closed-loop situation by designing convenient test signals.

Equation (10) yields the limit of the covariance matrix as

)`~r~l £ - (2 - 2)~72 • (11)

Analysis of equation (11) shows that: - - T h e covariance matrix is diagonal which implies that

every parameter has the same variance. Thus if a Euclidean structural distance is minimized, any impulse response is identified within a constant confidence channel.

The value of the final variance, which is also the expected distance, depends on 2 and on the ratio of the noise to signal energy. In particular, should the energy of the input signal tend to zero then the variance on the parameters becomes infinite though their expected value is still unbiased.

In order to cope with this configuration which could happen, in particular, in a self adaptive configuration an

Page 99: INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL …folk.ntnu.no/skoge/npc/richalet.pdf · INDUSTRIAL APPLICATIONS OF PREDICTIVE FUNCTIONAL CONTROL NORDIC PRIZE Helsinki 23.08.2007

428 J. RICHALET, A. RAULT, J. L. TESTUD a n d J. PAPON

identification residual C is introduced. The identification factor k is thus redefined as

,i

k = ~ e + C '

C is determined in such a way that when e---,O, the identification being completed, the variance of the parameters is constrained within an uncertainty domain Do.

This yields the following expression for C

),Ntr~ C . . . . . . (12)

2Do

Therefore, from the knowledge of the environment and of the admissible variance Do, the identification residual is com- puted. It should however be noted that this term slows down the identification in normal operating (e ~0) conditions.

APPENDIX B: STABILITY OF THE CONTROL

ALGORITHM

In this appendix, for the sake of simplicity, the stability of the control algorithm will be studied in the case of a single output system. The multivariable case has been analyzed in [223.

A stability problem may arise if there is a mismatch between the actual process and its internal model. This could be due to several reasons:

-- the identification is not perfect: model characterisation is not appropriate, estimation of the parameters is biased.

-- the operating points may change and the system is nonlinear.

the process is nonstationary: some elements keep aging, raw material and operating conditions keep changing with time.

It is thus important to evaluate the robustness of the algorithm with respect to variations of the process structure.

Let us restrict ourselves to the following case: - - t he impulse response of the process a o and of the model

au are homothetic: ao=qaM (q scalar). the reference trajectory is generated by a first order

model. These hypotheses may seem too restrictive or academic and

chosen to ease the computations. In fact they are most commonly encountered in practice, and the stability margin thus derived is significant. Robus tness is then analysed through the following steps.

(a) Updating the reference trajectory. The reference trajec- tory is obtained by equation (13)

SMR(n + i)=~S~R(n + i--1)+ (1--e)C (13)

where C is the desired value and ~ the parameter which fixes the time response of the controlled system.

The reference trajectory is computed through the following step:

SMR{n) =So[n)

SMR(n+ 1)=eSo(n)+ (l -~)C

SMg(n + i ) =~SMR{n + i-- 1)+ ( 1 - a ) C

i=I ,2 . . .HP.

(b) Updating the internal model output. Let us call SMl{n ) the output of the internal model. Due to several reasons (model mismatch, state perturbations. . . ) s~at(n)4=so(n): however the output of the actual 'process may be predicted by equation (14)

SMR{n+l)=so(n)+are(n+l)--a~e(n}. (14)

In this way, model mismatch and other errors are essen- tially removed by using the difference in the model outputs at two different intervals to compute the corresponding change in the actual output rather than compute a new output value directly from the output of the model at a particular instant.

(c) Computing the control variable. To follow the reference trajectory e(n) should be such that so(n + 1 ) = SM~(n + 1) thus

SMR(n+ l )=so(nl+aXMe(n+ 1) - a~e (n ) (15)

if e(n + 1) is applied to the process it yields

So(n + 1 ) = aXoe(n + 1 ) = qa~te(n + 1 ).

Eliminating SMR(n + 1) from equations (13) and (15).

So(n+l) So(n) CtSo(n)+ I1 -~)C=so(n)+ . . . . . . . . . . .

q q

So(n+ 1)= ( l - q ( 1 -~))So(n)+ q(1-~)C. (16)

We note that no off-set is observed from equation (16)

so(n+l)=so(n)=C as n~,~'.~.

The closed loop system behaves like a first order system with decrement

cd= l - q ( l -or).

Stability is insured if the internal model mismatch q is such that

I i - q ( 1 - c O l < 1.

If no oscillation response is wanted

0 < q < 1/1-:~. (17)

It is noticeable from (17) that under these assumptions robustness depends only on the decrement of the reference trajectory and on the internal model mismatch.