This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Watching a Biologic Batch Grow

Follow a CHO fed-batch from Raman soft sensors and three-way batch data through maturity alignment, multivariate monitoring, investigation and lifecycle learning.

    The one idea

    A batch process is judged by its whole path, not its endpoint. Multivariate batch monitoring asks, at every hour, whether this batch is travelling the way good batches travelled, and points to which variables are off course.

    Week 11 followed a continuous tablet line, where the question is whether this minute’s material is in control. A biologic fed-batch asks a different question: is this batch’s history so far normal? The tools from Week 11 reading 7, PCA scores, Hotelling’s T² and the Q residual, carry over. What changes is the shape of the data and the meaning of time. The aim is to understand and control the process while the product is being made, rather than depend entirely on tests after harvest.

    This reading draws on tidy data, designed experiments and alignment and applies them to process analytical technology (PAT).

    The case: a monoclonal antibody at day 6

    Slide 01, titled 'A Bioreactor Is a Living Manufacturing Process', subtitled 'Monitor a 2,000 L CHO fed-batch as cells grow, consume nutrients and produce antibody.' Centre, a flat illustrated cutaway of a 2,000 L fed-batch CHO culture vessel with labelled gas inlets (O₂, CO₂, air), nutrient feed pump, base pump, impeller, sparger, Raman probe (fibre optic), capacitance probe (viable biomass) and sampling port. Left panel, process instrumentation, for example every minute: pH (culture conditions), dissolved oxygen (oxygen availability), temperature (growth and productivity), agitation and gas flow (mixing and mass transfer), base addition (pH-control demand). Right panel, biological measurements: Raman plus PLS for glucose, lactate, glutamine, ammonium and antibody titer, for example hourly; capacitance for viable biomass, with VCD requiring calibration, for example every minute; offline reference samples for cell density, viability, osmolality and metabolite reference values, for example daily. Bottom, a timeline: inoculation day 0, cell growth approximately days 0 to 5, production approximately days 4 to 14, harvest approximately day 14. Takeaway: a biologic batch is a trajectory, not simply an endpoint.
    The physical process and its measurement streams. The vessel is an illustrative rendering, not an engineering drawing. Capacitance responds to viable biomass; converting it to viable cell density needs calibration. Stage timing is product-specific.

    A Chinese hamster ovary (CHO) cell line makes a monoclonal antibody in a 2,000 L fed-batch bioreactor over about 14 days. Feeds add nutrients during the run, without the continuous harvest of a perfusion process. The impeller and sparger provide mixing and gas transfer; pH, dissolved oxygen and temperature are controlled. The cells change their own environment as they grow, so the relationships among the variables shift over the batch.

    Data streamFrequencyExamples
    Process sensorsEvery minutepH, dissolved oxygen, temperature, agitation, gas flows, base addition
    In-line Raman, through a PLS modelEvery hourGlucose, lactate, glutamine, ammonium, titer
    Capacitance probeEvery minuteViable biomass
    Off-line samplesDailyViable cell density, viability, osmolality, metabolite checks

    These streams measure different things. A pH probe gives an electrochemical response. A Raman instrument gives a spectrum from which a concentration is inferred. A feed-pump record is an actuator setting, not a measure of metabolism. Treating them as interchangeable columns hides that difference.

    A typical culture grows, shifts toward production as growth slows, keeps accumulating titer, and is harvested as viability falls. The exact profile depends on the cell line, medium and feeding strategy.

    Batch 27 looks normal on every individual chart. Every variable is inside its own limits. At day 6, the multivariate monitoring screen flags it.

    Teaching question: Is 2 g/L glucose acceptable? Before answering, ask about the product, the stage of the batch and the feeding strategy.

    Raman as a soft sensor

    Slide 02, titled 'Raman Spectroscopy as a Soft Sensor', subtitled 'From molecular vibrations to model-based concentration estimates and controlled feeding.' Top, a photo of an illustrative Raman probe on a vessel port beside a flow of six boxes: Raman spectrum, preprocess and scale, PLS calibration, glucose prediction, model and safety checks, feed controller, with a return arrow labelled 'controlled feed returns to the vessel, fallback if invalid'. Bottom, three panels: 1, Spectrum, a simulated Raman spectrum from 600 to 1,800 cm⁻¹ with six peaks; 2, Calibration, predicted against reference glucose from 0 to 10 g/L, points close to the identity line; 3, Designed variation, lactate against glucose, with historical points (orange crosses) lying along a rising diagonal and designed points (green circles) on a grid of glucose 1, 3, 5, 7 g/L by lactate 1, 3, 5 g/L. Note: all spectra and calibration points are simulated; each predicted analyte needs supporting evidence. Takeaway: measure a spectrum, infer concentration, check the model before acting.
    The soft sensor turns a spectrum into an estimated concentration. Historical glucose and lactate rise together; a designed calibration breaks that correlation. The plots are simulated, and the feedback loop shows a possible application, not a validated control system.

    Raman spectroscopy measures light scattered inelastically by molecular vibrations, through a probe in the vessel wall. Water is a weak Raman scatterer, which is why Raman suits aqueous culture better than NIR, although fluorescence and other matrix effects still matter. A culture spectrum holds contributions from many molecules, so a PLS model, built as in Week 11, converts each spectrum into metabolite concentrations, calibrated against off-line reference analysers. For one analyte the prediction is

    y^=b0+xTb \hat y = b_0 + \mathbf{x}^{\mathsf T}\mathbf{b}

    where x\mathbf{x} is the preprocessed spectrum, b\mathbf{b} the fitted coefficients and y^\hat y the predicted concentration.

    This is a soft sensor: the probe, acquisition settings, preprocessing and calibration together. A Raman glucose value is an inference from a model, with an applicability domain, not a direct glucose measurement. Abu-Absi and colleagues showed in-line Raman estimation of several culture parameters at 500 L1. That shows the approach is feasible; it does not show that a model calibrated for one process will work in another.

    Designed calibration versus happenstance data

    In ordinary batches glucose and lactate move together. A model trained on those batches can learn to predict glucose from lactate’s spectral bands. It will cross-validate well and then fail on the first batch where the metabolic relationship changes, which is exactly the batch you most need it for.

    That is reading 3’s lesson applied to a calibration set. Build in designed variation, such as glucose spiked independently of lactate, so that each analyte has to be predicted from its own signal. Cover the media lots, cell lines, stages and scales the model will meet. Spiked samples improve chemical discrimination but do not replace representative process samples. When estimating performance, keep all samples from one batch in the same fold, for the reason given in reading 1.

    From prediction to control

    The prize is control, not just monitoring: hourly glucose predictions can drive the feed pump in a closed loop. The controller must then cope with prediction error, measurement delay, pump limits and an invalid prediction. An applicability-domain check, sensor health checks and a predefined fallback belong in the design. A failed soft sensor must not silently drive the process.

    Under ICH Q14 and Q2(R2)2, the model and its preprocessing are part of an analytical procedure whose performance must be shown for its intended use. A model good enough for trending is not automatically good enough for closed-loop control.

    Batch data is a cube

    Slide 03, titled 'Batch Data Is a Three-Dimensional Cube', subtitled 'Same measurements, different representations: choose the observation to match the question.' Three panels. Left, aligned batch data: a cube of 20 batches by 10 variables by 336 hourly records, 20 × 10 × 336 = 67,200 measurements, stored as one long tidy table of batch, hour, variable, value. Centre, batch-wise unfolding: a 20 × 3,360 heatmap, one row is one entire batch, columns are 3,360 variable-time features; used to compare entire trajectories and predict final quality; note that online use needs a strategy for handling future data. Right, observation-wise unfolding: a 6,720 × 10 heatmap, one row is one batch-hour, columns are 10 process variables; used to monitor the current state and compare stage-matched scores; note that time points within a batch are not independent batches. Footer: schematic cube and heatmaps, displayed cells are not drawn to the labelled dimensions. Takeaway: the structure of the data determines the question the model can answer.
    Twenty aligned batches, ten variables and 336 hourly records, unfolded two ways. The heatmaps show matrix shapes, not measurements.

    Each batch gives a table of variables over time. Stack the batches and you get a three-way array,

    X∈RI×J×K \mathcal{X} \in \mathbb{R}^{I \times J \times K}

    with II batches, JJ variables and KK aligned time points. Twenty batches, ten variables and 336 hourly records give 20×10×336=67,20020 \times 10 \times 336 = 67{,}200 entries.

    The choice of observational unit matters as much here as in reading 1, where a dissolution vessel was not a batch. An hour of a bioreactor run is not an independent run either. Instruments also report at different rates, so before building the cube, set rules for sampling or aggregating, handle missing values, and keep the batch and time stamp on every row. A daily lab result copied into 24 hourly rows is still one result.

    Classical PCA needs a matrix, so the cube is unfolded. Unfolding rearranges the data; it creates no new observations. The two ways of doing it answer different questions3,4.

    UnfoldingShapeExampleOne row isQuestion it answers
    Batch-wiseI×JKI \times JK20 × 3,360A whole batchWas this batch, taken as a whole, like the good ones? How does its trajectory relate to final quality (titer, glycan profile)?
    Observation-wiseIK×JIK \times J6,720 × 10One time point of one batchIs this batch, right now, where good batches were at this stage? This is the batch evolution model

    Nomikos and MacGregor introduced batch-wise multiway PCA for batch monitoring in 19943. Wold and colleagues developed the observation-wise batch evolution approach in 19984. A batch-wise model can be used on a running batch only with an established method for filling in the hours that have not happened yet; feeding it the batch’s real future values would be leakage.

    In R: an observation-wise control chart

    In tidy terms, the stored data are one long table with one row per batch, hour and variable. Unfolding is a choice of how to pivot it. The sketch assumes every batch, Batch 27 included, has already been aligned to a common time axis and is complete, and that good_batches was chosen in advance.

    library(tidyverse)
    
    ref <- runs |>                                    # long, tidy: batch, hour, variable, value
      filter(batch %in% good_batches) |>
      pivot_wider(names_from = variable,              # observation-wise: one row per batch-hour
                  values_from = value)
    
    variables <- setdiff(names(ref), c("batch", "hour"))
    
    pca <- prcomp(select(ref, all_of(variables)),     # fit on reference batches only
                  center = TRUE, scale. = TRUE, rank. = 3)
    
    envelope <- ref |>
      mutate(t1 = pca$x[, 1]) |>
      group_by(hour) |>
      summarise(mid = mean(t1),
                lo  = mid - 3 * sd(t1),
                hi  = mid + 3 * sd(t1))               # the normal path of PC1, with limits
    
    batch27 <- runs |>
      filter(batch == 27) |>
      pivot_wider(names_from = variable, values_from = value)
    
    chart <- batch27 |>
      mutate(t1 = predict(pca, select(batch27, all_of(variables)))[, 1]) |>   # frozen centring, scaling, loadings
      left_join(envelope, by = "hour")
    

    Plot t1 hour by hour against lo, mid and hi, and you have a batch control chart. Batch 27 is projected with the reference model’s centring, scaling and loadings; it never influences them. The mean ± 3 SD band is a teaching choice, not a validated limit. A full batch evolution model regresses on batch maturity with PLS rather than plain PCA, and adds T² and Q at every time point. In practice you would also remove constant variables before scaling, choose the number of components deliberately, and check the false-alarm rate on batches the model has not seen.

    Teaching question: Are the 6,720 rows 6,720 independent observations? No. Rows from the same batch share a history, and neighbouring hours are correlated.

    Batches are not the same length

    Slide 04, titled 'Batch Alignment: Clock Time versus Biological Time', subtitled 'A 10-hour delay is not automatically a quality problem, but the delay remains evidence.' Three panels of viable cell density (relative units). 1, Clock time: against hours after inoculation (0 to 336), a reference S-shaped growth curve, the same curve about 10 hours behind, and a dashed abnormal curve that plateaus lower, at about 12 instead of 16; caption 'same hour is not the same biological stage'. 2, Time mapping: running batch time against reference time, a straight purple line offset 10 hours above the dashed identity line; caption 'constrain the warp; monitor its size'. 3, Biological time: against reference-equivalent time, the delayed curve now lies on the reference, while the abnormal curve still plateaus lower; caption 'do not normalize away abnormality'. Box: maturity indicators, cumulative glucose consumption or integrated viable cell density; online alignment must use only measurements available at the current time. Takeaway: align comparable stages without erasing meaningful process differences.
    A 10-hour delay, aligned by comparing equivalent stages of growth. The mapping here is a simple shift; real dynamic time warping can stretch and compress locally. The abnormal batch stays distinct after alignment.

    Batch 27 was inoculated at a slightly lower cell density and is running about 10 hours behind. Comparing hour 140 with hour 140 compares different stages of growth. Two fixes:

    • Align on a maturity variable that tracks progress better than clock time, such as cumulative glucose consumed or integrated viable cell density (IVCD), the area under the viable cell density curve. Either works only if it suits the process and is measured reliably.
    • Align by dynamic time warping, the same algorithm used for chromatograms, applied to whole batch trajectories to match equivalent stages of growth rather than equivalent peaks. Kassidas, MacGregor and Taylor showed this for batch monitoring in 19985.

    The caution from chromatography applies with more force: a warp flexible enough can make an abnormal batch look normal. The warping path itself is a diagnostic. A batch that needed severe warping is unusual, and a 10-hour delay may deserve investigation in its own right. Look at the original time axis, the aligned trajectory and the mapping together, and constrain the warp on scientific grounds. For online monitoring, compute the mapping only from data available so far, never from the batch’s future.

    Teaching question: A batch lines up perfectly, but only after a large warp. Is it normal? Why might the delay itself matter for quality or for the manufacturing schedule?

    The “golden batch” and why one is not enough

    Slide 05, titled 'Beyond the Golden Batch', subtitled 'Use a representative reference population to estimate normal trajectories and variation.' Three panels. 1, One reference batch: a single viable cell density growth curve over 14 days; caption 'one path cannot estimate spread'. 2, 20 acceptable batches: twenty thin overlapping growth curves with their mean in bold and a shaded mean ± 3 SD band; caption 'illustrative pointwise envelope'. 3, Two kinds of unusual behaviour: Q residual (squared error, 0 to 2) against the modelled score on one retained PC (−4 to 4). Two vertical purple dashed lines at about ±2.5 mark the T² limit and a horizontal red dashed line at 1 marks the Q limit. Green reference points sit inside both limits. A red point labelled 'large Q' lies above the Q limit but within the score limits; an orange point labelled 'large T²' lies beyond the right score limit but below the Q limit; caption 'separate T² and Q limits (schematic)'. Box: monitoring limits are not product specifications; evaluate reference selection, time dependence, false alarms and scale transfer. Takeaway: a population of acceptable trajectories is more informative than one perfect batch.
    One reference batch gives a path but no spread. A population of good batches gives both. Right: T² and Q have separate limits. A large T² is an extreme position along the modelled direction; a large Q is variation the model does not explain. The envelope and geometry are illustrative, not established control limits.

    The phrase golden batch means a reference trajectory to compare against. Taken literally, one best batch, it is a weak standard: a single batch has no variance, so it cannot say how far from it is still normal. The working version is a set of good batches, which defines both the normal path and the normal spread around it. That spread is the control limit. Twenty is an example, not a required minimum; what matters is that the set covers acceptable operation.

    For a new biologic this is hard. A commercial product may make only a handful of batches a year, and development batches often come from smaller vessels where mixing, gas transfer and sensor response differ. Which batches count as reference needs written inclusion criteria and a scientific judgment, not whatever historical records are convenient.

    Scores, T² and Q

    For a centred and scaled observation x\mathbf{x} , let PP hold the retained PCA loadings. Then

    t=PTx,e=x−Pt \mathbf{t} = P^{\mathsf T}\mathbf{x}, \qquad \mathbf{e} = \mathbf{x} - P\mathbf{t}

    The scores t\mathbf{t} locate the observation in the model; the residual e\mathbf{e} is what the model cannot reconstruct. With Λ\Lambda the diagonal matrix of score variances,

    T2=tTΛ−1t,Q=eTe=∑jej2 T^2 = \mathbf{t}^{\mathsf T}\Lambda^{-1}\mathbf{t}, \qquad Q = \mathbf{e}^{\mathsf T}\mathbf{e} = \sum_j e_j^2
    StatisticAsks
    ScoresWhere is this observation in the modelled space?
    T²Is it extreme along directions the reference batches vary in?
    Q (SPE)How much of it does the model fail to explain?

    High T² with modest Q is an extreme case of a familiar pattern. High Q with modest T² is a combination the reference batches never showed. A change of equipment, calibration or stage can move either.

    Control limits are not product specifications. Checking hundreds of correlated time points per batch produces false alarms, so the alarm rate has to be evaluated and every alarm needs a defined response.

    What the day-6 alarm meant

    Slide 06, titled 'From Process Excursion to Scientific Investigation', subtitled 'Batch 27: individual variables are acceptable, but their combination at day 6 is unusual.' Three panels. 1, Individual trajectories: standardized traces for pH, glucose, lactate, ammonium and base addition over days 0 to 8, each between dashed schematic limits, with a vertical red line at day 6; lactate keeps rising through and beyond day 6, ammonium rises steadily, and base addition peaks near day 6, all inside their limits. 2, Multivariate alarm: a normalized statistic over days 0 to 8, T² oscillating low and below the dashed limit throughout, Q flat until a sharp peak at day 6 that crosses the limit; below, a bar chart of Q contributions at day 6 as an illustrative share of Q: lactate about 0.38, base addition about 0.32, ammonium about 0.20, glucose about 0.06, other about 0.04; caption 'contributions identify leads, not causes'. 3, Investigate and learn: a flow of five boxes, verify Raman and reference sample, investigate metabolism and gas transfer, assess relevant CQAs and disposition, update FMEA and controlled changes, capture knowledge for future batches. Footer: constructed teaching case, charts are schematic, not Batch 27 measurements. Takeaway: a multivariate alarm is evidence to investigate, not a product disposition decision.
    The constructed Batch 27 case. Every variable stays inside its own limits and lactate is still rising; Q crosses its limit at day 6 while T² does not, and three variables carry most of the Q contribution. Schematic, not a fitted model.

    Batch 27’s T² is inside its limit; its Q residual is not. In Week 11 terms, the batch is not extreme along the familiar directions of variation. It is moving in a direction the reference batches never moved. A contribution plot breaks the Q value into variables. Each ej2e_j^2 is non-negative and together they sum to Q; the sign of the residual eje_j then tells you which way the variable is off.

    VariableContribution
    Lactate (Raman)Large; residual positive: still rising
    Base additionLarge; residual positive: more base to hold pH
    Ammonium (Raman)Moderate; residual positive
    All othersSmall

    In the reference batches, the cells switch from producing lactate to consuming it around day 4 to 6. That timing is process-specific, but here Batch 27 has not switched. Each variable alone is within range, because lactate at day 6 is normal in absolute terms. The combination, still rising alongside high base addition at this stage, is not. It suggests a metabolic or culture-environment difference; it does not prove a cause.

    The monitoring system has detected that the batch is unusual. It has not shown that the product is bad. The next steps are the ones Week 11 practised:

    1. Rule out the sensor. Is the Raman prediction in its applicability domain? Check against the off-line lactate result.
    2. Investigate the cause. Inoculum, media and feed lots, a gas-transfer issue raising dissolved CO₂, and the alignment itself. Decide whether experiments are needed.
    3. Connect to quality. Lactate accumulation and the changes that accompany it can affect quality attributes such as glycosylation. Characterization and release testing of the relevant critical quality attribute (CQA)s, such as glycan profile by liquid chromatography–mass spectrometry (LC–MS), aggregates by size-exclusion chromatography (SEC), charge variants and potency, decide the batch, not the control chart. The right panel depends on the product’s control strategy.
    4. Feed the knowledge back. Update the risk assessment and decide whether the control strategy or the model should change. The model learns a new normal only through controlled change, as a model has a lifecycle.

    The learning organization

    Reading 3 followed knowledge from R&D’s designed experiments into manufacturing controls. Batch 27 runs the loop the other way: commercial manufacturing raises a new question about the biology, which may lead to targeted experiments, a better calibration set or a better control strategy.

    Across many batches, the same scores and limits support continued process verification, Stage 3 of the US Food and Drug Administration (FDA)’s process validation lifecycle6. Monitoring results, investigations, CAPA and change management feed back into risk assessments through the pharmaceutical quality system (PQS). Before that knowledge is reused for another cell line, scale or site, it has to be checked there. A new reference population or model is a controlled change, never a quick response to an inconvenient alarm.

    PAT makes process information available while it can still change a decision. The quality system turns that information into reliable action and knowledge that transfers.

    Where the analyst sits

    The analyst owns the soft-sensor calibrations and their applicability domain, and decides which batches count as reference and how time and missing data are handled. They judge whether alignment has hidden an anomaly, and read a contribution plot as a lead to investigate rather than a root cause. They decide which lessons from a batch are robust enough to inform future development. Above all, they keep two statements apart: “this batch is unusual” and “this batch’s product is unacceptable”.

    For discussion

    1. Why does a single golden batch make a poor control limit?
    2. How could a batch-wise model monitor an incomplete batch without leaking future data?
    3. Batch 27 is unusual on Q but normal on T². Explain the difference to a manufacturing supervisor in two sentences.
    4. A Raman glucose model was calibrated at 200 L. What evidence would you need before trusting it at 2,000 L?
    5. When could alignment hide a real difference in the biology, and how would you detect it?
    6. How would you tell a Raman sensor problem from a real metabolic change?
    7. What should be captured from Batch 27 for future development, and how would you decide whether it applies to other products?

    Bridge back to the week

    Next: Cells as Data: Flow Cytometry for CAR-T Release. Return to Week 12.

    Sources

    Batch 27, its alarm, its contribution values and all trajectories, spectra and calibration plots in the figures are constructed for teaching.


    1. N. R. Abu-Absi et al., “Real time monitoring of multiple parameters in mammalian cell culture bioreactors using an in-line Raman spectroscopy probe,” Biotechnology and Bioengineering 108(5) (2011) 1215–1221. DOI. ↩︎

    2. ICH, Q14 Analytical Procedure Development (2023) and Q2(R2) Validation of Analytical Procedures (2023). ICH quality guidelines. ↩︎

    3. P. Nomikos and J. F. MacGregor, “Monitoring batch processes using multiway principal component analysis,” AIChE Journal 40(8) (1994) 1361–1375. DOI. ↩︎ ↩︎

    4. S. Wold, N. Kettaneh, H. Fridén and A. Holmberg, “Modelling and diagnostics of batch processes and analogous kinetic experiments,” Chemometrics and Intelligent Laboratory Systems 44 (1998) 331–340. DOI. ↩︎ ↩︎

    5. A. Kassidas, J. F. MacGregor and P. A. Taylor, “Synchronization of batch trajectories using dynamic time warping,” AIChE Journal 44(4) (1998) 864–875. DOI. ↩︎

    6. US Food and Drug Administration (FDA), Process Validation: General Principles and Practices (guidance, 2011). Stage 3, continued process verification. Guidance. ↩︎