real time release in continuous solid dose manufacturingcontrol architecture sp: set point mv:...

32
Real Time Release in Continuous Solid Dose Manufacturing: Systematic Characterization of Material Properties, and Optimal Design of Sensing and Control Methods Fault tolerant control for safe plant operation November 10, 2016

Upload: others

Post on 09-Mar-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Real Time Release in Continuous Solid Dose Manufacturing:Systematic Characterization of Material Properties, and Optimal Design of Sensing and Control Methods

Fault tolerant control for safe plant operation

November 10, 2016

Page 2: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Content

Systematic framework for control design & analysis

Example: continuous feeder & blender system

Summary & conclusions

Introduction

Page 3: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Batch vs. continuous manufacturing

[1] Lee SL, O'Connor TF, Yang X, Cruz CN, Chatterjee S, Madurawe RD, Moore CMV, Yu LX, Woodcock J. Modernizing pharmaceutical manufacturing: from batch to continuous production. Journal of Pharmaceutical Innovation. 2015;10:191-199.

Page 4: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Continuous manufacturing in pharma.

FDA Quality Related Guidance Initiativese.g. PAT Guidance (2004)

...e.g. OPQ Standup and ETT Formation (2015)

Flexible demandPrecise medicine Competiveness

... Smaller production facilities

Minimizing manufacturing cost

Enhancing reliability and flexibility

Monitoring & control drug quality on a continuous basis rather than through post-production, batch-based testing

Page 5: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Continuous manufacturing pilot plant

Potter B36 in Purdue University

Page 6: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Minimum

Demands for efficient process monitoring & control

Monitoring & control

Port

abili

ty

Mo

du

lari

zed

de

sign

Op

erat

ing

con

dit

ion

s

Pro

cess

mo

de

ls

Mat

eria

l pro

per

ties

Pro

cess

de

sign

Un

it o

per

atio

ns

Pro

du

ct d

esi

gn

Model-plant mismatchPAT calibrationProcess disturbanceSystem interactionsProcess nonlinearityPlant start-upPlant shut-downControllabilityStabilityRobustnessSelf-adaptivenessController tuning

Challenges:

Implementation layer

Final quality assurance

Au

ton

om

ou

s

Page 7: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Content Introduction

Systematic framework for control design & analysis

Example: continuous feeder & blender system

Summary & conclusions

Page 8: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

C3 Process Monitoring & Control

C4 System Performance & Verification

Process model

C1 Material library

Pilot plant

C2 Sensing & RTR strategy

Material database Process characterisation Feasible formulation space

Operating cost Process maintenance

Control variables Control set points

Process parameters Unit operations

Project objectives & outlines

Page 9: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Systematic framework for control design & analysis (1)

Layer 2

•Use of dynamic models for prediction•Model Predictive Control, Adaptive Control,

Gain Scheduling, etc.•Integrated across multiple unit operations

Layer 1

•Based on PAT to measure CQAs and closed loop control (PFC)

•PID based more advanced control schemes•Single or multiple unit operations

Layer 0

•Built-in control systems by manufacturers at unit operation level

•Simple PID control•Single unit operation

Hierarchical control architecture

R1 Medium

R0 Low

R2 High

Risk levels & failure mode

Sensor accuracy, precision, sampling time Sensor location Control architecture reconfiguration Control method Controller tuning

Evaluation & regulatory filling

Good

Excellent

Fail

T2P: Time to productM2P: Magnitude to productMRI: Morari’s resilience index

[1] Morari M. Chem. Eng. Sci., 1983;38:1881-1891.

Continuous improvement

e.g. Good Manufacturing Practices (GMP) guidelines

Manufacturing processes are clearly defined and controlled. All critical processes are validated to ensure consistency and compliance with specifications.

Manufacturing processes are controlled, and any changes to the process are evaluated. Changes that have an impact on the quality of the drug are validated as necessary.

Formulation optimization Process reconfiguration ⁞

Page 10: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Systematic framework for control design & analysis (2)

Page 11: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

SCADA: Supervisory control

and data acquisition

MES: Manufacturing

execution system

Hierarchical three-layer control

Page 12: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

L0 & L1 control design

1. Selection of input/output variables

• Input and Output Effectiveness

• Controllability e.g., condition number (CN), relative gain array (RGA)

•Resilience e.g., Morari’s Resilience Index (MRI)

2. Pairing and interaction analysis

• Pairing selection e.g. RGA, relative interaction array (RIA), Niederlinski Index (NI), singular value decomposition (SVD)

• Interaction e.g., Dynamic Interaction Measure (DIM)

3. Close-loop control system evaluation

• Stability e.g., Nyquist’s stability criterion, Characteristic Loci Plots

• Robustness e.g., SVD, µ-based method

• Dynamic simulation e.g., MATLAB, Simulink

Mostly decentralized SISO PI/PID control loops Interactions among parallel control loops are important Interactions among hierarchical control loops

[1] Asmar BN. Control of a two-stage refrigeration system. PhD Dissertation. University of Nottingham, 1999

Page 13: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

L2 model-based control / real-time optimization

Model Y = f(x, u)

State estimator

Model update

ProcessOutput YInput U

Objective J

U(k)

Control algorithm

Y(k+i)

U(k+i)

Sensors

Y(k)

Measure

x: system state variablesi = 1,2,..,Nc,...,NpNc : control horizonNp: prediction horizon

f: state-space modeldata-based modelempirical modelFirst-principles model...

Kalman filterExtended Kalman filterUnscented Kalman filterMoving horizon state estimator....

Page 14: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Past FutureCurrent

Past FutureCurrent

kK-1 K+2K+1 k+NPK+NC

L2 MPC real-time implementation strategy

kK-1 K+2K+1 k+NPK+NC

Y(k) Y(k+1)

u(k | t=k-1)

U(k: k+Np-1 | t=k-1)

U(k+1: k+Np| t=k)u(k+1 | t=k)

U(k+1: k+Np | t=k)MPC

Computation time ≤ sampling time

Page 15: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Risk analysis and control evaluation

Page 16: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Content Introduction

Systematic framework for control design & analysis

Example: continuous feeder & blender system

Summary

Page 17: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Loss-in-weightFeeders

Roller Compactor

Continuous Blender

LubeMill

Continuous Blender

Tablet Press

Continuous dry granulation process

Page 18: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Feeder & blender control system

Unit operation Process output (y)Process input

(u)Control Layer Controller type

API feeder API flowrate Screw rotation speed L0 PID

Exp. feeder Exp. flowrate Screw rotation speed L0 PID

Blender

API composition API flowrate L1/2 PID, Ratio, MPC

Powder flowrate Excipient flowrate L1/2 PID, MPC

API mixing RSD Rotation speed L1/2 PID, MPC

Rotation speed Motor current L0 PID

Page 19: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

System identification: state-space models

𝑑𝑋

𝑑𝑡= 𝐴𝑐𝑋 𝑡 + 𝐵𝑐𝑈(𝑡)

Y 𝑡 = 𝐶𝑐𝑋 𝑡 + 𝐷𝑐𝑈 𝑡 + 𝑒(𝑡)

Continuous-time identified state-space model

decoupled control designe.g., condition number

Niederlinski indexrelative gain arrayMorari’s resilience index...

L1 control design

𝐺 = 𝐶−1 𝑆𝐼 − 𝐴 𝐵 + 𝐷

𝑋 𝑘 + 1 = 𝐴𝑑𝑋 𝑘 + 𝐵𝑑𝑈(𝑘)

Y 𝑘 = 𝐶𝑑𝑋 𝑘 + 𝐷𝑑𝑈 𝑘 + 𝑒(𝑘)

Discrete-time identified state-space model

Linear MPC designSampling time: 4sKalman filter designState estimation...

L2 control design

min𝑑𝑈

𝐽 = 𝑌𝑠𝑝 − 𝑌2+ 𝑤𝑢 ∆𝑈 2

𝑒 𝑘 ∶= 𝑤𝑒𝑒 𝑘 − 1 + 1 − 𝑤𝑒 𝑒(𝑘)

Page 20: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

System identification: training data

*Sampling time of 4 second for all measurements, only 4 measurements shown here

Best fit

Page 21: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

System identification: validation data

*Sampling time of 4 sec for all measurements

Page 22: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

L1 control design & analysis: a check list

Step one

Step two

Step three

Page 23: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Control architectureSP: Set pointMV: Measured variableFT: Flowrate transducerCC: Composition controlFC: Flowrate controlRSD: Relative standard deviation

L1 control for feeder & blender system

FT

Continuous blender

/NIRMW

API feeder

FT

Excipient feeder

FT

MV:API mean comp & RSD.

SP:API comp.

L1-CC-2: PID

SP: Blend flowrate

L1-FC-1: PID

L0-FC-1: PID L0-FC-2: PID

MV:Exc. flowrate

L1-RC-1: Ratio

L0-MC-1: N./A.

SP: API RSD L1-RSD-1: PID

RC: Ratio controlMC: Motor controlL0: Level 0 equipment controlL1: Level 1 supervisory controlMW/NIR: Microwave/near infrared

Page 24: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

L0/2 control for feeder & blender system

FT

Continuous blender

/NIRMW

API feeder

FT

Excipient feeder

FTL0-FC-1: PID L0-FC-2: PID

SP: Blender RPM

L0-MC-1: N./A.

MV:API mean comp. & RSD

MV: Blend flowrate

L2 MPC

Control architectureSP: Set pointMV: Measured variableFT: Flowrate transducerCC: Composition controlFC: Flowrate controlRSD: Relative standard deviation

MPC: Model predictive controlMC: Motor controlL0: Level 0 equipment controlL1: Level 1 supervisory controlMW/NIR: Microwave/near infrared

SP:API comp.

SP: powderflowrate

SP: RSD

Page 25: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Feeder & blender simulation in Simulink/MATLAB

Sampling time:FT: 1.0 sNIR: 2.0 sL0/1: real timeL2 MPC: 4.0 s

Page 26: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Risk Analysis for feeder & blender: R0 & R1

R0 risk: mass flow disturbances due to feeder reloadingR1 risk: calibration errors in the feeders

L0

L1

L2

Page 27: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Risk Analysis for feeder & blender: R2

R2 risk: material flowability changed due to humility while a step change on the powder flow rate was also executed.

L1

L2

Page 28: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Risk Analysis summary

* Blender D2P: Duration to reject, s; M2P: Magnitude to product, %

Control

D2R (s) M2P (%)

Remark

R0 R1 R2 R0 R1 R2

L0 176+ Fail Fail 0.65+ Fail Fail Fail for R1 & R2

L1 97+ 238+ 494* 0.38+ 1.52+ 0.48* Long D2R for R2

L2 81+ 183+ 259* 0.65+ 2.30+ 0.46* High M2P for R1

Performance evaluation based on the API composition.+ Indicators based on API mean composition; * Indicators based on API mixing RSD.

Page 29: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Risk Analysis for feeder & blender: R2 PAT gross error

Layer 0 control: no feedback control based on the PAT tools.

Drift

Drift

The PAT tool of NIR for API composition measurement drifted from 40 to 100 seconds and suffered the gross error from 100 to 240 seconds before it was corrected.

Page 30: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Layer 1 control: The PAT tool with gross error detoured the API mean composition and its mixing uniformity from their set points.

Drift

Drift

Page 31: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Layer 2 control: The Kalman filter with data reconciliation can reject the measurement gross error when large model-plant mismatches detected.

Drift

Drift

𝐱 𝑘|𝑘 = 𝐱 𝑘|𝑘 − 1 +𝐌 𝐲 𝑘 − 𝐲 𝑘|𝑘 − 1 𝐑

The Kalman filter with data reconciliation

𝐑 = 𝑑𝑖𝑎𝑔 exp(−𝑒𝑖𝑐𝜎𝑖

2

Page 32: Real Time Release in Continuous Solid Dose ManufacturingControl architecture SP: Set point MV: Measured variable FT: Flowrate transducer CC: Composition control FC: Flowrate control

Summary & conclusions

The primitive systematic framework for control design and analysis based on SIMULINK platform has been developed.

L0 control loops response fastest to measurable R0 disturbances but fail to response to the unmeasurable disturbance R1.

L1/2 control loops are capable of intermediate product quality control. L2 control based on MPC is beneficial but the maintenance cost is also high.