Inline PAT for ODF: NIR, Laser Thickness & Vision AI That Actually Works

Author: Sihan Meng,Leyu Zhu,Pengcheng Shi

Affiliation: RSBM

Email: pengchengshi@biotechrs.com; pcspc9@gmail.com

Abstract

Process Analytical Technology (PAT) converts thin-film manufacturing from sample-and-wait to measure-and-control. For oral dissolving films (ODFs), three inline tools—NIR moisture, laser thickness gauging, and vision AI—directly govern release-critical CQAs: residual moisture, thickness CV%/assay RSD%, and surface/edge defects. We present a pragmatic, audit-ready stack: (i) NIR calibrated to lab moisture with routine bias checks; (ii) laser thickness with SPC/EWMA drift detection; (iii) vision AI tuned on defect libraries with confusion-matrix acceptance. Three figures illustrate NIR–lab correlation, SPC on thickness, and a normalized confusion matrix. [1–9]

Introduction

ODFs demand tight moisture to avoid curl/blocking, uniform thickness to protect dose, and clean surfaces/edges to prevent pouch rejects. Offline testing is too slow: the film has already become scrap. Inline PAT closes the loop in real time, feeding SPC/EWMA and alarms to a historian (ALCOA+). This paper details how to stand up NIR, laser thickness, and vision AI that meaningfully reduce defects and variability on production lines. [2–6]

Methods

  1. NIR moisture (inline).

    • Calibration set (≥8–12 lots across seasons).

    • Reference: Karl Fischer/loss-on-drying; fit PLS with orthogonal blanking; lock model v1.0; set recalibration triggers.

    • Daily bias check with 3-point mini-set; auto-alarm if |bias| > threshold. [3–5]

  2. Laser thickness.

    • Cross-web mapping (center + edges) at fixed intervals; EWMA (λ≈0.2–0.3) layered on individuals chart; Western-Electric rules for drift.

    • EBR/lip-shim plan tied to cross-web P–V. [2–5]

  3. Vision AI.

    • Defect taxonomy: pinholes, edge cracks, mottle/blush, foreign specks, OK.

    • Train/val/test with hard negatives; compute confusion matrix; gate model on recall for safety-critical defects (pinholes/edge cracks). [6–8]

  4. Data integrity & control.

    • PAT → historian: time-stamped, versioned, access-controlled (ALCOA+); bidirectional tags to line PLC for rate/heat/air tweaks. [4,8–9]

Measures

Results

NIR that tracks the truth

Figure 1 shows a strong NIR–lab correlation with a small positive bias; the fit vs ideal line flags calibration slope/intercept. Routine 3-point checks bound bias drift and keep exit-moisture inside window. [3–5]

image

Thickness under statistical control

Figure 2 demonstrates SPC + EWMA on laser thickness. An emerging post-lot-100 up-drift is detected by EWMA before individual points breach ±3σ, enabling a controlled nudge (ΔT/impingement, solids% or lip-shim/EBR) before scrap accumulates. [2–5]

image

Vision AI that catches real defects

Figure 3 presents a normalized confusion matrix across Pinholes / Edge Cracks / Mottle–Blush / OK. High on-diagonal values and low off-diagonal leakage indicate deployable performance; thresholds are set to favor recall for safety-critical classes, with a tuned post-classifier to reduce false rejects. [6–8]

image

Discussion

What actually works on a line

Compliance & data integrity (ALCOA+)

Conclusion

Inline NIR, laser thickness, and vision AI—implemented with calibration discipline, SPC/EWMA, and robust data integrity—turn ODF production into a controllable, predictable process. The payoff is fewer defects, tighter CQAs, faster release, and credible, audit-ready digital records.

References

  1. PAT frameworks and real-time release concepts for continuous/batch processes.

  2. Slot-die/web handling links to thickness uniformity: die distribution, EBR, lip shims.

  3. NIR moisture modeling: PLS calibration, bias/range management, validation sets.

  4. QbD/PAT governance: historian (ALCOA+), SPC/EWMA, Western-Electric rules.

  5. Drying/conditioning and residual moisture windows for flat, pouch-ready films.

  6. Industrial vision for web defects: labeling taxonomies, thresholds, and deployment.

  7. Confusion-matrix analysis and cost-of-error tuning for safety-critical defects.

  8. Model lifecycle management: golden datasets, drift monitoring, change control.

  9. Audit-ready data integrity: access control, time-stamps, backups, and e-records.