dynamic process performance monitoring and the integration of … · 2012. 11. 27. ·...

114
Dynamic Process Performance Monitoring and the Integration of Spectral and Process Data Julian Morris Centre for Process Analytics and Control Technology School of Chemical Engineering and Advanced Materials University of Newcastle, UK. CPAC Satellite Meeting, University of Washington Rome Center, Rome / Italy March 20 – 22, 2006

Upload: others

Post on 19-Jan-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Dynamic Process Performance Monitoring

and

the Integration of Spectral and Process Data

Julian Morris

Centre for Process Analytics and Control Technology

School of Chemical Engineering and Advanced Materials

University of Newcastle, UK.

CPAC Satellite Meeting, University of Washington Rome Center, Rome / Italy March 20 – 22, 2006

Page 2: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Towards Process and Product Consistencyacross the Supply Chain

ProcessFeedstockFeedstock End Product

Application Feature

Process Data

Chemical Data QC-dataQC-data

Specifications

SUPPLIER

CUSTOMER

Process Consistency

Product Product ConsistencyConsistency

Specifications

Process MonitoringProcess MonitoringProcess ControlProcess Control

Process OptimisationProcess Optimisation

Page 3: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Performance Monitoring and PAT

Recently the FDA Paper “Guidance for Industry – a Framework for Innovative Pharmaceutical Manufacturing and Quality Assurance”introduced the necessity for the pharmaceutical industries to introduce Process Analytical Technologies (PAT) as a matter of priority.

This is now becoming a major driver in many biotechnological andrelated companies. The aim is to provide Quality Assurance on the plant, through:

• The wide adoption of Process Analytical Technologies

• Quality by Design

• Assured Process Manufacturing

• Real-time Release

Page 4: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multidimensional Sensor Data Management, Interpretation and Visualisation – the Challenges

Increasing availability of sensor based data – spectroscopic (e.g. IR, MIR, Raman, UVviz, acoustic, XRD, process, image, tomographic, …)

Major challenge is to go from data to information to knowledge and understanding.

Data is disparate, dynamic, temporal, possibly non-linear, non-continuous, discrete, spot samples, …..

Sensor data management and data fusion and integration still represent major challenges for chemists, biologists, engineers and statisticians.

Page 5: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multivariate Statistical AnalysisOne approach, amongst many, to achieving a deeper understanding of the processes and systems is through the multivariate statistical data analysis and modelling methodologies.

The simplest of these are based upon the statistical projection techniques of Principal Components Analysis (PCA) and Projection to Latent Structures (PLS).

PCA views the process or system through a single block of information - the process or quality variables.

PLS views the process or system through a model of the quality variables and/or chemical information developed from process information.

• and their ‘so-called dynamic’ variants.

Page 6: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Towards Process / Plant ‘Signatures’

Stages of a product manufacturing process can be characterised and then described based on the use of a variety of diverse sensor-based measurement and ‘multivariate modelling’ techniques.

This multi-dimensional profile can be used to produce a process / plant ‘signature’ which, in turn, offers a means of ensuring process reproducibility and robustness.

The process/plant ‘signature’ may also be viewed as an end-point to work towards during scale-up or after equipment changes or site changes, for example.

Page 7: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Why Batch Monitoring?

Continuous Process Performance Monitoring (MSPC) is traditionally based on PCA and PLS but can by extended to dynamic situations through dynamic modelling approaches such as time series modelling (e.g. AutoRegressive – AR, or Canonical Variate Analysis – CVA).

Batch process performance monitoring (Multi-way MSPC) is traditionally based on MPCA and MPLS but can by extended to dynamic situationsthrough dynamic modelling approaches.

Question – why bother with ‘batch monitoring’ when the ‘trend’ is to move from ‘batch’ to ‘continuous’ processing?

Batch modelling / monitoring approaches can uniquely address transitions (e.g. grade changes, recipe changes, etc)

Page 8: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Performance Monitoring

Current state of the art techniques include:

Multiway principal component analysis

Batch dynamic principal component analysis

Moving window principal component analysis

Challenges facing the current state of the art approaches:

Dynamics and non-linear behaviour

Serial (auto correlated) data

Unequal batch lengths

Multi-scale nature of process data

Integrating spectral and process data

Addressed by CPACT R&D

Page 9: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Key References

Nomikos and MacGregor (N&M) approach, 1995.“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59.

Wold, Kettaneh, Friden and Holmberg approach, 1998.“Modelling and diagnostics of batch processes and analogous kinetic experiments”. Chemometrics and Intelligent Laboratory Systems. 44, 331-340.

• Unfolding in this direction (Route 2) followed by mean centering and scaling does not remove the mean trajectories from the data and hence only captures the covariance among the mean trajectories of the variables, which is not of interest in process performance monitoring.

• Rather, it is the covariance structure of the deviations of the variables about these mean trajectories that is of interest.

• This unfolding approach also only provides a ‘static’ model that captures only the local covariance structure amongst the variables and does not account for the dynamic behaviour of batch processes.

Page 10: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Dynamic Process Modelling

for Performance and Monitoring

Page 11: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Latent Variable and Subspace Methods

Latent Variable Techniques:

PCA, PLS, Canonical Correlation Analysis (CCA)• Takes account of inter-variable correlation / covariance

Dynamic PCA (DPCA); Dynamic PLS (DPLS)

Subspace Techniques:

N4SID, MOESP, Canonical Variance Analysis (CVA)• Uses past / future correlations• More parsimonious than LV techniques

Page 12: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Plant-Model Mismatch Monitoring

Past values of u and y are used by the state space model to predict the process outputs.

PCA is performed on the difference between the actual and predicted outputs.

Only works if residuals are white.

Page 13: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Super Model-Based Performance Monitoring

Process

Process Model(Mechanistic orTime Series)

Error Model PCAMonitoring Statistics

+-

+-

Process Inputs Process Outputs

Page 14: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Dynamic Model-Based Statistical Batch Process Monitoring

A new batch process monitoring method based on a dynamic model and Mult-way Principal Component Analysis (MWPCA) is comprised of three model building steps.

Firstly, batch data set is centered and scaled - N&M MWPCA approach.

removes major nonlinearities of variables against batch time andtransient patterns.

A multivariate AutoRegressive dynamic model (AR) is then used to represent the dynamics of the variables about the mean trajectory.

It is assumed that the dynamic behaviour remains the same throughout the batch run.

Page 15: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Dynamic Model-Based Statistical Process Monitoring

A PCA model is then constructed using the model residuals after unfolding and preserving the variable direction.

The AR model plays the role of filtering the auto- and cross-correlation of the pre-processed data, and MPCA is used to describe the correlation among the filtered variables through the AR model.

“Dynamic Model Based Batch Process Monitoring”,SW Choi, EB Martin, AJ Morris and I-B Lee, Ind Eng Chem

Page 16: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Data Unfolding (Nomikos & MacGregor)MWPCAN&M

Bat

ches

Variables

Time

1

IJ1

K

1J

I

JK

. . . . . .T1 T2 T3

Page 17: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Data Unfolding (Wold et al)MWPCAW

Bat

ches

Variables

Time

1

IJ1

KJ

B1

1

K

IK

B3

B2

Page 18: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

The AR Modelling Approach

After centering and scaling of the unfolded batch matrix, the multivariate dynamic patterns throughout the batch is modelled using an by AutoRegressive (AR) time series approach.

The model built based on historical batch data which describes the whole batch dynamics.

The AR model used here has the following structure:

where and , and the measurement and residual vectors at time point k of the i th batch, respectively (L is the number of time lags).

is the model coefficient matrix corresponding to the observation vector at time point (k – l).

ik

ilk

L

ll

ik exCx += −

=∑

1mi

k ℜ∈x sik ℜ∈e

)( JJl ×ℜ∈C

Page 19: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Dynamic State Space Modelling

The concept of state space modelling is based on describing a system in terms of k first-order difference equations that are combined into a first-order vector–matrix difference equation.

The stochastic state space model which forms the basis of this work is based on the continuous CVA modelling approach proposed by Larimore:

where: xt = state vector, ut = process inputs, yt = process outputand wt and et = white noise

ttt1t wGuCxx ++=+

ttttt eBwAuHxy +++=

Page 20: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

The AR Modelling ApproachThe system matrix C can be determined by the ordinary least square approach.

However, it often becomes very imprecise and unstable due to theexistence of the auto- and cross-correlation of measurements.

Thus, in this study, the AR model is derived from a PLS algorithm to avoid the rank-deficient problem.

All the model matrices in PLS are calculated by the nonlinear iterative partial least squares (NIPALS) algorithm.

Page 21: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Model-based Dynamic Statistical Process Monitoring

DynamicModelling

PCAModelling

Historical DataX

2

lim,T

M limQ

MODELLING MONITORING

ARModel

PCAModel

+

Samplesk-p to k

kpk :−x

kx̂1+tt

kxke

2,T kM kQ

lim

2lim,

2,

2lim,

2,

QQor TTor TT

>>>

k

AkA

MkM No

OutputResiduals

Yes

FAULTContribution Plots

2,T kA

2

lim,T

A

NORMAL

Page 22: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA Model-based Dynamic Statistical Process Monitoring

Canonical Variate Analysis (CVA) is designed for the optimal prediction of future behaviour using past observations.

Canonical variables describe the directions of optimum correlation between future and past observation vectors.

Canonical variables corresponding to past observations are taken to be the states of a system.

The number of states used to describe the system are selected using Akaike’s Information Criterion (AIC) which takes into account both model fit and model complexity.

The CVA states are statistical states similar to PCA scores.

Page 23: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA State Space Modelling (1)

With the knowledge of the canonical states and the plant data, the state space matrices C, G, H, A and B, can be computed using linear least-squares regression.

The states generated by this identification approach are not the true states, rather they are an optimal linear combination of the past inputs and outputs of the plants.

Larimore et al. showed that CVA provides near maximum likelihoodestimates of the system parameters.

Page 24: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA State Space Modelling (2)

The first step in CVA is to build past and future matrices of the lagged process observations.

The past and future vectors take the form

where: j = number of past lags, h = number of future lags

TTj-t

T1-t

Tj-t

T1-tt ],,...uu ,y,...,[y =p

TTht

Ttt ]y,...,[y +=f

Page 25: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA State Space Modelling (3)

SVD is then performed on the product of the covariance matrices.

where

T21FFPFPP SVVΣΣΣ =

( )0,0,,diag 1 KK kγγ=S

Page 26: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA State Space Modelling (4)

It is now possible to calculate the state vector for time (t),

where V1k= first k columns of V1

2/1PP

T1k k

−= ΣVJ

tkt pJX =

Page 27: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch CVA State Space Modelling (1)For each batch process data (K ×J), the past and the future matrices are constructed as follows:

⎥⎥⎥⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢⎢⎢⎢

+−−

−−

+

=

Ti

Ti

Ti

i

lKlKy

lkky

ly

ly

)12:(

):1(

)2:1(

)1:(

M

MP

⎥⎥⎥⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢⎢⎢⎢

+−

−+

++

+

=

Ti

Ti

Ti

Ti

lKKy

klky

lly

lly

)1:(

):1(

)2:12(

)1:2(

M

MF

time = l+1

time = l+2

time = k

time = K

Page 28: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch CVA State Space Modelling (2)

J

Time

Bat

ches

s

VariablesI

J

K K

2K

IK

I = 1

I = 2

I = I

State SpaceModel

CVA 2ppS 2

ffS 2pfS

IpfSI

ffSIppS

offSo

ppS opfS

1ppS 1

ffS 1pfS

Page 29: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Key References

Larimore, W.E. (1990). Canonical variable analysis in identification, filtering and adaptive control. Proceedings of 29th IEEE Conference on Decision and Control, 1990, Honolulu, Hawaii, 596-604.

Negiz, A., & Cinar, A, Statistical monitoring of multivariable dynamic processes with state space models. AIChE Journal 1997b. 43(8), 2002–2020.

Alawi, A., S.W. Choi, E.B. Martin & A. J. Morris Canonical VariateAnalysis for Monitoring Batch Processes, Submitted to Chem. Eng. Science.

Page 30: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Dynamic Process Monitoring

Case Study on Batch Polymerisation

Page 31: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch MMA Reactor

Process measurements● Coolant flow rate● Inlet jacket temperature● Outlet jacket temperature● Monomer conversion● Reactor temperature

20 nominal batches to buildthe dynamic CVA ModelSampling time – 1 minReaction time – 120 mins

Fault condition 1:Reactor wall foulingfrom time 31 minutes

Fault condition 2:Reaction ImpurityOccurring at time 31 minutes

Page 32: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Univariate Control Charts Results – Reactor Fouling

Time Evolution of Inlet Jacket Temperature

0 20 40 60 80 100 120335

340

345

350

355

360

365

Time, Min

Inle

t Jac

ket T

empe

ratu

re

Fault detected

Time Evolution of Coolant Flow Rate

Fault

0 20 40 60 80 100 1200.01

0.0105

0.011

0.0115

0.012

0.0125

0.013

Time, Min

Coo

lant

flow

rate

Fault detected

Fault

Page 33: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Dynamic MonitoringBased on the Observation Residuals

Given a dynamic model which describes the auto- and cross-correlation of a batch process, an MPCA model for fault detection and diagnosis may be constructed based on the AR model residual (called the AR-residual).

In particular, when the correlations among the residuals are notnegligible and their variances are quite different, a MPCA model is needed for monitoring the AR-residuals efficiently.

To avoid confusion with the score, loading, and residuals used in the PLS based monitoring the monitoring statistics developed for this new dynamic approach are termed the M-score, M-loading, M-residual matrix, respectively.

Page 34: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Dynamic Monitoring Fault DetectionThe monitoring charts to detect abnormal behaviour are based on three monitoring statistics: Hotelling’s T2 based on the AR-score and the M-score, and the Q statistic based on the M-residual.

The score vector from the multivariate AR model, t (AR-score) and the score and residual vectors from the MPCA model, tM (M-score) and f (M-residual), are used to monitor the evolving batch.

They are calculated from the past L measurements. Thus the on-line monitoring begins after L time points from the start of the new batch.

Page 35: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

MPCAW and MPCNM Monitoring Charts:- Reactor Wall Fouling

20 40 60 80 100 120

2

4

6

20 40 60 80 100 120

10

20

30

40

20 40 60 80 100 120

1020

304050

Sample number20 40 60 80 100 120

510152025

Sample number

T2

-MPC

AN

M

Q -

MP

CA

NM

Q -

MP

CA

W

T2

-MPC

AW

Page 36: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Dynamic Performance Monitoring:- Reactor Wall Fouling

20 40 60 80 100 120

100

200

300

400

20 40 60 80 100 120

20

40

60

20 40 60 80 100 120

10

20

30

40

1 2 3 4 5-100

0

100

200

1 2 3 4 5-20

0

20

1 2 3 4 5-2

0

2

Sample number Variables

T2 AT2 M

QM

C [T

2 A]

C [T

2 M]

C [Q

M]

Statistics at t = 31 min

Page 37: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA Based Performance Monitoring:– Reactor Fouling

Fault detection delay: 6 min

0 20 40 60 80 100 1200

200

400

600

Time (min)

0 20 40 60 80 100 1200

100 200 300 400 500

Time (min)

(b)

0 20 40 60 80 100 1200

200

400

600

Time (min)

(c)

7 31

31

31

7

7

35

36

79

T2 xt

T2 vt

T2 wt

Page 38: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

MPCAW and MPCNM Monitoring Charts:- Reaction Impurity

20 40 60 80 100 120

100

Sample number

20 40 60 80 100 120

100

Sample number

20 40 60 80 100 120

100

T2

-MP

CA

NM

20 40 60 80 100 120

100

T2

-MP

CA

W

Q -

MP

CA

NM

Q -

MP

CA

W

Page 39: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Dynamic Performance Monitoring: - Reaction Impurity

20 40 60 80 100 12010

0

T2 A

20 40 60 80 100 120

100

102

20 40 60 80 100 120

100

1 2 3 4 5-200

0

200

1 2 3 4 5-100

0

100

200

1 2 3 4 5-2

0

2

T2 MQ

M

C [T

2 A]

C [T

2 M]

C [Q

M]

Sample number Variables

Statistics at t = 31 min

Page 40: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

CVA Based Performance Monitoring:– Reaction Impurity

Time (min)

20 40 60 80 100 120

T2vt

Time (min)

010-1

1

10

10232

T2xt

0 20 40 60 80 100 12010-2

10

102

10432

Time (min)T2w

t

0 20 40 60 80 100 12010-2

1

102

10432

Time (min)

20 40 60 80 100 120

T2vt

Time (min)

010-1

1

10

10232

T2xt

0 20 40 60 80 100 12010-2

10

102

10432

Time (min)T2w

t

0 20 40 60 80 100 12010-2

1

102

10432

Page 41: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

MPCAW and MPCNM Monitoring Charts:- Control Valve Failure

20 40 60 80 100 12010

-5

100

105

T2

-MPC

AN

M

20 40 60 80 100 12010

-5

100

105

20 40 60 80 100 12010

-5

100

105

Sample number20 40 60 80 100 120

10-5

100

105

Sample number

T2

-MPC

AW

Q -

MP

CA

NM

Q -

MP

CA

W

Page 42: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

AR Dynamic Performance Monitoring:- Control Valve Failure

20 40 60 80 100 12010

-10

100

1010

T2 A

20 40 60 80 100 12010

-5

100

105

T2 M

20 40 60 80 100 12010

-5

100

105

Sample number

QM

1 2 3 4 5

-100

0

100

1 2 3 4 5

-500

0

500

1000

1 2 3 4 5

0

20

40

Variables

42525 -409

-394 -12.2

-2.6

1663

0.9 5.6 6.9 -0.01

C [T

2 A]

C [T

2 M]

C [Q

M]

20 40 60 80 100 12010

-10

100

1010

T2 A

20 40 60 80 100 12010

-5

100

105

T2 M

20 40 60 80 100 12010

-5

100

105

Sample number

QM

1 2 3 4 5

-100

0

100

1 2 3 4 5

-500

0

500

1000

1 2 3 4 5

0

20

40

Variables

42525 -409

-394 -12.2

-2.6

1663

0.9 5.6 6.9 -0.01

C [T

2 A]

C [T

2 M]

C [Q

M]

Statistics at t = 31 min

Page 43: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Comparison of Fault Detection Capabilities

01020304050607080

Detection Delay

CVA

PCA

Adaptive PCA

Dynamic PCA

Moving WindowPCAShewhart

Page 44: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Integration of Process and Spectroscopic Data

Case Study – Batch Cooling Crystallisation

Page 45: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Case study: Crystallization of L-GA

10 good quality batches

Process data: reactor temperature, supersaturation andconcentration

Acoustic spectral data was available throughout the batch

Two faults were examined:

Change in the cooling rate

Presence of an impurity

Multiblock Multiway Principal Component Analysis was used for modelling and performance monitoring

Page 46: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

The Multiblock Approach

Super Block

T

Process SpectroscopicBase Level

Super Level

Scores Scores

SuperScores

Page 47: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multiblock and Wavelets Approach

Super Block

T

Process SpectroscopicBase Level

Super Level

Wavelet coefficients

Scores Scores

SuperScores

Page 48: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

MSPC In Crystallisation Performance Monitoring

CSD

MSPC

Spectra

USS

Reactor

TurbidityEnablirT, pH PC

Manhole

FTIR spectrometer

Turbidityprobe

FTIR probe

N2 purgingtube

pH probe Reactor

TurbidityEnablirT, pH PC

Manhole

FTIR spectrometer

Turbidityprobe

FTIR probe

N2 purgingtube

pH probe

Page 49: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Cooling Rate Fault: Time series Plots

Change in the cooling rate at time 100 mins

0 100 2000

20

40

60

0 100 2000

0.01

0.02

0.03

0.04

0.05

0 100 2000

1

2

3

4

Cry

stal

lisat

ion

Tem

pera

ture

Con

cent

ratio

n

Rel

ativ

e S

uper

satu

ratio

n

Page 50: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Cooling Rate Problem

0 20 40 60 80 100 120 140 160 180 20000.5

11.5

22.5

3X104

T2S

0 20 40 60 80 100 120 140 160 180 20000.5

11.5

22.5

33.5

QS

X104

Time (mins)

Time (mins)

Page 51: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Cooling Rate Problem

Temperature

1 2 30

0.02

0.04

0.06

0.08

1 2 30

1

2

3

4x 10

-3

Variables Contribution for T2

Variables Contribution for Q

Page 52: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Impurity Problem: Time series plots

0 100 20010

20

30

40

50

60

Cry

stal

lisat

ion

Tem

pera

ture

0 100 2000

0.01

0.02

0.03

0.04

0.05

Con

cent

ratio

n

0 100 2000

1

2

3

4

Rel

ativ

e S

uper

satu

ratio

n

Impurity introduced at time 100 mins

Page 53: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Impurity Problem – Process Data Block

Batch Initialisation

0 20 40 60 80 100 120 140 160 180 2000

0.005

0.01

0.015

0.02

0.025

0.03

Time (mins)

T2

0 20 40 60 80 100 120 140 160 180 2000

0.20.40.60.8

11.21.4

Time (mins)

Q

Page 54: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Impurity Problem - Spectral Block

0 20 40 60 80 100 120 140 160 180 2000

0.02

0.04

0.06

0.08

0.1

0.12

Time (min)

0 20 40 60 80 100 120 140 160 180 20002468

101214

Time (min)

T2Q

Page 55: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Crystallisation Impurity Problem

1 20

50

100

150

200

250

300

350

400

Process data

Acoustic data

Page 56: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Potential Industrial Impact

Process Performance Monitoring is enhanced significantly by:Dynamic process models (e.g. AR or CVA)Using multi-block and multi-scale approaches.

The proposed methods can be used to integrate more than one set of data – i.e. spectral and process data.

Integrated dynamic data monitoring in many processes where both the chemical and physical conditions of a reaction are important, e.g. in crystallization, fermentation, polymerisation, etc., is now possible.

The development of an integrated framework significantly enhances the process information and know-how.

Page 57: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Recipe Driven Multi-Product Models

Page 58: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Muliti-Product Process Manufacturing

There is an increasing need for monitoring models which encompass a range of products, grades or recipes.

Such process representations will enable the monitoring of both a number of different product types, products only produced in a few batches, as well as new product developments, using a single process representation.

Extensions to PCA and PLS through the Common Subspace Models (CSM) enables a number of similar products to be monitored through a single multi-group generic model.

In this way, products manufactured infrequently or in small quantities insufficient to construct an individual set of monitoring charts can be monitored through a pooled variance-covariance approach.

Page 59: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Recipe Driven Multi-Product Models

Process manufacturing is increasingly being driven by market forces and customer needs and perceptions, resulting in the necessity for flexible manufacturing.

This is the case in the manufacture of products such as food products, household goods, specialty chemicals, etc. where new product formulations require to be introduced to the market over a short time scale to ensure competitive advantage.

There is a real need for models to enhance production and product changeover which can encompass a range of different product types, grades or recipes; or different operating parameters or different unit processes, using a single process representation.

Page 60: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Between and Within Group VariationThe elimination of between group variation is a prerequisite for statistical process monitoring - the interest can then focus on within process (product) variability.

This can, to a greater or lesser extent, be achieved in a number of different ways:

constructing separate control charts for each type of product or grade.in many situations this may be impractical because of the large number of control charts required to monitor all the products being manufactured and the limited amount of data available from whichto develop a process representation.

Use of the lower latent variables where between group variability may be removed (masked).

The subtraction of local or global ‘mean levels’

Page 61: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Case Study - Multi-Recipe Manufacturing

Detergent manufacturing with Unilever Lever Fabergé.

Approximately 50 different products and five main production units

Complicated by multiple recipes.

Monitoring the process using standard MSPC would mean the building and maintenance of approximately 250 statistical monitoring models

Too complicated for the operators

High model-maintenance costs

The study was carried out as part of a European Consortium project in collaboration with MDC Technology (Emerson Process Management).

Page 62: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Liquid Making Area

Page 63: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Plant Flow Diagram

Dose RM1

Stir

Dose RM3Dose RM2

Dose RM4

Delay

Recipe

F

Raw Materials

Load cells

Stirrer power

Main mixer

Pre mixerPre weigher

DosingTime

T

TIn flights

Page 64: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multiple Recipe Models - An Industrial ApplicationA novel development allows generic multiple recipe, multiple product models to be constructed.

Consider a semi-batch manufacturing process manufacturing around 50different products (recipes) on 5 main production units.

Monitoring the process using standard MSPC would mean the creation and maintenance of approximately 250 statistical monitoring models.

The multiple recipe modelling approach requires only a few monitoring models (in this application: 8).

In the application 88 variables, on each of two production units, are monitored on-line in real-time using a multiple recipe model.

Page 65: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Generic Modelling

The goal was to construct a multi-group process representation to monitor the production of a number of different recipes.

The recipes comprise both different types and different numbers of raw material additions.

Three contrasting approaches were considered :

a separate MSPC representation for each recipe

a MSPC representation based upon a global model (mixed or combined model) comprising all recipes

a multi-recipe generic MSPC model.

Page 66: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Generic Modelling

The pooled variance-covariance matrix was calculated as :-

where

where are the elements of the individual variance-covariance matrices for the ith recipe (I = 1,2,…4) comprising 88 variables.

ni is the number of production runs associated with each recipe, 29, 19,28 and 23 for recipes 1, 2, 3 and 4, respectively, N is the total number of production runs (here 89) and g is the total number of recipes(here 4).

The elements of the pooled sample variance-covariance matrix are therefore a weighted sum of the individual elements of the sample variance-covariance matrices.

( ) ( ) ( )( )

sn s n s n s

N gjkjk jk g gjk=

− + − + + −

−1 1 2 21 1 1K 0≠ijks

ijks

Page 67: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Common Subspace (Multi-Group) Modelling

Scores Group 2

Multiple Group Monitoring Chart

Scale data

Correlation Matrix

Pooled Correlation Matrix

Scores Group 1

Scale data

Correlation Matrix

Group 1 Group 2

Page 68: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Generic Modelling

Calculate a weighted average of individual covariance (correlation) matrices.

Calculate the covariance (correlation) matrices of each group.

Calculate the pooled covariance (correlation) matrix.

Obtain the common principal component loadings.

The methodology is illustrated through the development of a multi-product model for the monitoring of a semi-discrete batch manufacturing operation, which involves the production of a variety of different products (recipes).

Page 69: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multi-Recipe Modelling

Two recipes are used to demonstrate the multi-group model, each recipe came in two distinct varieties, e.g. Pine and Lemon. As a consequence there are four data sets to be included in the process representation.

Recipe Mixer Batches Raw Materials

Process Variables

1 1 29 17 88

2 2 19 17 88

3 1 28 13 68

4 2 23 13 68

Page 70: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

An Individual Recipe ModelAn individual PCA representation was developed for one recipe.

Page 71: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

An Mixed Recipe Model

Instead of building a separate model for each individual recipe, which would result in a large number of separate models, a mixed modelrepresentation might be considered.

The data from the four recipes was first combined into a single data set.

Data entries which are still empty, as a result of that particular class of raw materials not being present within a recipe, are in-filled using the mean value for that particular class of variable.

Page 72: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Impact of Different Recipes and Different Mixers –A Mixed (Combined) Recipe Model

This model contains both within group and between group variation. The spread of the individual recipe clusters result in the statistical warning and action limits being far too wide to provide sensitive performance monitoring and the detection of subtle process faults.

Subtle process events cannot be detected; the greater the number of distinct groups in the data set, the greater the impact of between group variation.

Page 73: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Common Sub-space ModelsThe Pooled-Variance Covariance Matrix

A common set of principal component loadings can be extracted from the pooled variance-covariance matrix that allow a common set of monitoring charts to be constructed.

This approach allows the monitoring of several different grades or types of product, or processes on different production sites, to be monitored using a single set of monitoring charts.

By weighting the individual variance-covariance matrices to reflect the number of batches of products available, products manufactured in small quantities can also be monitored along with those manufactured more frequently.

In this way, products manufactured infrequently or in small quantities insufficient to construct an individual set of monitoring charts can be monitored through a pooled variance-covariance approach.

Page 74: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multi-Recipe Model

The generic multi-recipe model shows the individual recipes all belonging to a single cluster which is sensitive to subtle process faults and abnormalities.

Page 75: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Case Study – Dosing Valve Problem

The monitoring chart shows the scores jumping outside the actionand warning limits as the process malfunction impacts.

-6 -4 -2 0 2 4

-15

-10

-5

0

5

Prin

cipa

l Com

pone

nt 2

Principal Component 1

Page 76: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Fault Diagnostics

Variables (62 - 65) were identified as being related to raw material addition.A faulty dosing-control valve was located as being to source of the problem.

Variables0 20 40 60 80

-2

0

2

4

6

8

Con

tribu

tion

Page 77: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Multi-recipe Modelling

The manufacturing plant produced had around 50 different products using five main production units.

To demonstrate the multiple group algorithm, two product formulations were chosen.

Recipe Group Mixer Number of

Batches

Raw Materials

Quality Variables

1 1 1 19 23 1

2 2 21 23 1

2 3 1 20 17 1

4 2 29 17 1

Page 78: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Fault Detection

-10 -5 0 5 10 15 20 25 30

6

4

2

0

-2

-4

Latent Variable 3

Late

nt V

aria

ble

4

Page 79: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Contribution Plots

Variable Number

Con

tribu

tion

Page 80: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Fault DiagnosisVariable 4 (cold process water temperature) and variable 13 (batch temperature) were identified as being reflective of the malfunction in process operation.

This resulted from a failure of the process-water cooling unit at the beginning of the manufacturing process.

This was not observed by the plant operator and no corrective action was taken.

This was one of the motivations for applying MSPC.

Pooling of product monitoring models into product groups, using the synergy between the raw material structures in the different products enable the whole production process to be run using 18 process monitoring models updated for new recipes by the plant Quality manager.

Page 81: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Lever Fabergé Results

Increased knowledge of batch-making process• Most critical parameters / relations• Awareness / understanding of process variability

Reduced process variability• Increase % first-time-right• Increase process efficiency and output• Consistent operating procedures

Novel tool for the operators to:• Anticipate process problems• Improve quality• Reduce batch times

Page 82: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Why are Multi-Group (Generic) Models Important?Minimal process data with which to model.

Data from Products manufactured infrequently / small amounts.

Impractical to generate a model for every product or process type.

Method for monitoring a number of different processes using a single model.

Different product / recipe types or evolving recipes / strains.Different ways of manufacturing a product.Different plant and processing vessels.Different numbers of measured variables.Different manufacturing sites.

Page 83: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Potential Industrial ImpactIn most industrial situations the elimination of between group variation is a prerequisite for statistical process performance monitoring.

To do this normally requires constructing separate control charts for each type of product or grade of product to be monitored, but in many process monitoring situations this will be impractical.

As an alternative, a multi-group model has been proposed.

The industrial manufacturing application has shown that it is possible to extend the methodology of MSPC to situations where a number of different production recipes or grades are manufactured using a single multi-group model.

Page 84: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Integration of Process and Spectroscopic Data

A major contribution to Batch Process Performance Enhancement and to PAT

Page 85: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Data Integration for Enhanced Performance Monitoring

SpectroscopicData

ProcessData

PerformanceMonitoring

Model

KineticData

Page 86: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

An Industrial Application

This study was carried out as part of a European project in 2001/2002 in collaboration with MDC Technology (Emerson Process Management).

The quality of the batch is assessed by considering the hydroxyl number and acid number of the reactor contents.

Accurate knowledge of the hydroxyl number is required to fix thepoint at which the batch meets the reaction curve.

The relationship between the hydroxyl number and viscosity is controlled to follow the path of the reaction curve, with upper and lower limits used to account for allowed process variability.

When the trajectory enters the end zone, the batch is terminated.

Page 87: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Monitoring of the Hydroxyl Number

End Zone

OH#

Start aOH#

Start

End Zone

Corrective addition

b

Ideal Reaction Reaction with Correction

Page 88: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Monitoring of Hydroxyl Number

The path of a batch requiring a corrective addition is monitored.

When the path leaves an upper confidence limit, an addition is made. This procedure adds about two hours to the total batch time.

The red curve demonstrates how the corrective addition breaks up long established chains, increasing the hydroxyl number and decreasing the viscosity temporarily.

The quantity of acid or glycol added is based on a calculation made by the process operator.

Once the system stabilises, the reaction proceeds to the end zone.

Samples are taken periodically to ensure that the batch is progressing to plan.

Page 89: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Measurements

Process data is available at a frequency of five minutes.

Temperature Corrected ViscosityReactor TemperatureReactor Vapour TemperatureBottom Column TemperatureMiddle Column TemperatureTop Column TemperatureReactor Pressure / Vacuum

NIR spectral data available throughout the batch.

Page 90: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Details

The process comprised combinations of 5 different reactors processing 4 different viscosity groups.

Nominal batch data from two viscosity groups is discussed here.

Thirty batches were used in the development of the nominal models:

16 batches - viscosity group 214 batches - viscosity group 4

All seven process variables were included in the analysis.

A single, a combined and a common subspace model were investigated.

A ‘non-standard’ batch with a temperature control problem was investigated.

Page 91: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Different Production Reactors and Different Viscosity Groups

-30 -20 -10 0 10 20 30 40-20

-15

-10

-5

0

5

10

15

20Reactor AReactor B

Reactor C

Reactor DReactor E Viscosity Group 4

Viscosity Group 1Viscosity Group 2Viscosity Group 3

-40 -30 -20 -10 0 10 20 30 40-20

-15

-10

-5

0

5

10

15

20

Bivariate Scores plot of production batches from five different reactors

(PC1 versus PC2)

Bivariate scores plot of batches from four different viscosity groups

(PC1 versus PC2)

Page 92: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Monitoring of Individual Viscosity Group 2

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70-5

-4

-3

-2

-1

0

1

2

3

4

5

Maturity

t1

Maturity10 20 30 40 50 60 70

-6

-4

-2

0

2

4

6

t2

Page 93: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Fault Detection for Individual Viscosity Group 2

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70-8

-6

-4

-2

0

2

4

6

8

Maturity

t1

10 20 30 40 50 60 70-6

-5

-4

-3

-2

-1

0

1

2

3

45

Maturity

t2

Page 94: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Combined Monitoring Chart

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70 80-6

-4

-2

0

2

4

6

Maturity

t1

Maturityt2

10 20 30 40 50 60 70 80-4

-3

-2

-1

0

1

2

3

4

5

10 20 30 40 50 60 70 80-4

-3

-2

-1

0

1

2

3

4

5

Page 95: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Fault Detection for a Mixed (Combined) Model

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70-6

-4

-2

0

2

4

6

Maturity

t1

10 20 30 40 50 60 70-4

-3

-2

-1

0

1

2

3

4

Maturity

t2

Page 96: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Pooled Covariance Model

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70-5

-4

-3

-2

-1

0

1

2

3

4

5

Maturityt2

10 20 30 40 50 60 70-5

-4

-3

-2

-1

0

1

2

3

4

5

Maturity

t1

Page 97: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Process Fault Detection for Pooled Covariance Model Approach

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70-6

-4

-2

0

2

4

6

8

Maturity

t1

10 20 30 40 50 60 70-8

-6

-4

-2

0

2

4

6

Maturityt2

Page 98: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Conclusions - Time to Fault Detection

3623Pooled Covariance

--Combined

3525Single

PC2 (99% Limit)

PC1 (99% Limit)Model Type

Page 99: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Integration of Spectral and Process Data

Thirty-seven batches were modelled from four viscosity groups.

Analysis of the traditional process data from the thirty-seven available data sets revealed that thirty-two of the batches are considered to exhibit nominal operating conditions.

NIR data was also available for these batches.

A ‘non-standard’ batch was investigated – the duration of the batch was longer than desirable.

Page 100: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Monitoring (Chemistry Problem) - Process Data Only

Principal Component 1 Principal Component 2

10 20 30 40 50 60 70 80-5

-4

-3

-2

-1

0

1

2

3

4

5

Maturity10 20 30 40 50 60 70 80

-5

-4

-3

-2

-1

0

1

2

3

4

5

Maturity

Page 101: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Monitoring (Chemistry Problem) - Process Data Only

SPE

Hotelling’s T2

10 20 30 40 50 60 70 800

1

2

3

4

5

10 20 30 40 50 60 70 800

5

10

15

Page 102: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

The Conjunction of Spectral and Process DataA number of techniques have been investigated in a number of industrial studies including crystallisation, polymerisation, fermentation and speciality chemicals.

The conjunction of single-source spectral and process data using multi-block techniques.

The conjunction of multi-source spectral data (e.g. NIR, MIR, XRD, ultrasonic particle size spectra) with process data.

The use of wavelet transformations for the conjunction of spectral and process data.

The building of robust calibrations through bootstrap aggregation methods (bagging)

Page 103: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

PCA Applied to Raw NIR Data Set

PCA of the raw, un-scaled spectral data can be used to identify the more significant wavelengths.

The wavelengths of bond frequencies identified are characteristic of the chemistry that exists within the resins polymerisation reaction.

1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 21000.98

0.99

1

1.01

1.02

1.03

1.04

1.05

1.06Loading Plot from PCA of Raw NIR Spectra

Wavelength, nm

p1

CHCH2

CH3

CHCH2CH3CH

CH2CH--3

COOH

< 1st Overtone Region >

< 2nd Overtone Region >

< 1st Overtone of >C-H Combinations

OH

Loadings plot of raw NIR data

Page 104: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

NIR Wavelet Transformation

In this particular application, a wavelet transformation of the NIR spectra was used to extract the important features that occurred at different frequencies within each spectrum.

NIR data was collected over the range 1078nm to 2100nm so that each spectrum now had a dyadic length of 1024 columns and a wavelet transformation was performed using a Symmlet #8 mother wavelet.

The approximation and detail coefficients were investigated at each level, with the most suitable group of coefficients being identified as the detail coefficients at level 5.

Page 105: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Conjunction of Process and Spectral Data

The investigation was repeated to include a set of variables from the wavelet transformed NIR data.

At level 5, the coefficients summarise information from around 22 wavelengths.

The two areas of interest lie around 1450nm and 1900nm wavelengths.

To capture all of the information from the transformed spectra, the two detail coefficients from either side of these important wavelengths are extracted for inclusion in the model.

This leads to the addition of four extra variables to the nominal data set.

Page 106: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Monitoring (Chemistry Problem)- Process and Spectral Data

Principal Component 1 Principal Component 5

10 20 30 40 50 60 70

-15

-10

-5

0

5

Maturity10 20 30 40 50 60 70

-10

-5

0

5

Maturity

Page 107: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Batch Monitoring using Process and Spectral Data

10 20 30 40 50 60 70 80

SPE

Hotelling’s T2

0

2

4

6

8

10 20 30 40 50 60 70 80

0

5

10

15

20

Page 108: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Scores Contribution Plot for PC1 Observation 30

1 2 3 4 5 6 7 8 9 10-3

-2

-1

0

1

2

3

4

Variable numbers 7 and 9 lie outside their 99% confidence limits. These variables represent the wavelet detail coefficients of the OH and COOH bond frequencies. The process variables (variables one to six) lie well inside their respective confidence limits.

Page 109: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

SPE Contribution Plot at Time 30

-3

The SPE contribution plot for time point thirty identifies variables seven,eight and ten as contributing to the batch trajectory.

Again, these variables are all associated with the quality information extracted from the NIR data set.

-2

-1

0

1

2

3

4

1 2 3 4 5 6 7 8 9 10

Page 110: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Potential Industrial Impact

Where modelling traditional forms of process data in a MSPC monitoring scheme offers the potential for detecting faults in operating conditions, the inclusion of chemical information, in terms of wavelength data, allows for faster detection of abnormalities in the chemical make-up of the reactor contents.

The inclusion of chemical information, even from a range of on-line real-time analysers when they can be justified on a business benefits basis, potentially offers significant advantages to using solely traditional process variables or single analysers.

Integrating spectroscopic data with process data, properly, is not straightforward.

Where modelling traditional forms of process data in a MSPC monitoring scheme offers the potential for detecting faults in operating conditions, the inclusion of chemical information allows for detection of abnormalities in the chemical make-up of the reactor contents.

Page 111: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Overall ConclusionsIt has been shown that Process Performance Monitoring can be enhanced and made more applicable and fit-for-purpose across the process manufacturing industries through enhanced MSPC methodologies which include:

Dynamic process models (e.g. CVA or AR)

Multi-group models

Integrated spectroscopic and process data

‘Intelligent’ Performance Monitoring (integrate with an Expert System such as G2)

These provide major contributions to the realisationof the FDA PAT Initiative

Page 112: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Some Business Benefits from the Technologies

Savings in catalyst usage in a commercial scale fluidised bed reactor ~ £1M / annum (BASF, UK). Development of a Constrained Optimisation based PLS algorithm (BASF, Germany) – enabled application of MSPC to a multi-product commercial scale fluidised bed reactor.Assured monitoring of chemical reactions ~ £800,000.Early detection of faulty reactor dosing ~ £250K / annum (Unilever).Modified recycling of Catalytic Cracker Beds ~ £250K per Bed (Shell). Unexplained variability in fermentation production processes, expected benefits ~ £4.5M / annum.Performance Monitoring of a High Speed Polymer Sheet Production (DuPont Films and UCB Films) ~ significant reductions in off-spec material.Application of Intelligent MSPC with Corus – significant operational cost savings.

Page 113: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Data Integration and Analysis for HTTMicro plants and Intensified Process Development?

Page 114: Dynamic Process Performance Monitoring and the Integration of … · 2012. 11. 27. · z“Multivariate SPC charts for monitoring batch processes”. Technometrics. 37, 41 – 59

Centre for Process Analytics and Control Technology (CPACT)University of Newcastle, UK

Acknowledgements

EPSRC (The UK Engineering and Physical Sciences Research Council).

The Centre for Process Analytics and Control Technology (CPACT).

BASF, DSM, GSK and Unilever for access to their plant data and expertise.

Other R&D is addressing the development of GRID and High Throughput (Experimentation) technologies:

EPSRC “Grid Orientated Full Lifecycle Chemicals Development”

EPSRC “Extending High Throughput Technologies for Chemical Process Development and the Automation of Mechanism Determination”

EU “Sustainable Microbial and Biocatalytic Production of Advanced Functional Materials: BIOPRODUCTION – Process Intensification”