How to Troubleshoot pH Control Problems in Fermentation

April 2026 14 min read Bioprocess Engineering

Key Takeaways

Contents

  1. Why pH Drifts in Fermentation
  2. Metabolic Causes of pH Change
  3. CO2 Dissolution and Stripping
  4. pH Probe Fouling and Drift
  5. Acid and Base Selection Guide
  6. PID Tuning and Deadband Optimization
  7. pH Control at Scale: Common Pitfalls
  8. Frequently Asked Questions

Maintaining pH within ±0.1–0.2 of setpoint is critical for reproducible fermentation. A pH excursion of just 0.3 units can shift metabolic flux, alter glycosylation patterns, or trigger cell death — yet pH control problems remain among the most common bioreactor troubleshooting issues. This guide walks through the three root causes of pH drift in fermentation (metabolic, gas-phase, and sensor), provides a systematic diagnostic workflow, and gives practical solutions for both microbial and mammalian cell culture systems.

Why pH Drifts in Fermentation

pH drift in a bioreactor is almost never a single-cause problem. Culture pH is the net result of three competing forces: metabolic acid and base production by the cells, dissolved CO2 equilibrium with the gas phase, and the accuracy of the measurement and control system. Effective troubleshooting requires identifying which force dominates before adjusting the controller.

BIOREACTOR pH = ? Culture medium + cells + metabolites + dissolved CO₂ METABOLIC Acetate, lactate, CO₂ NH₄⁺ from amino acids ↓ pH (acids) or ↑ pH (ammonia) GAS PHASE CO₂ sparging → ↓ pH Air/N₂ stripping → ↑ pH Henderson–Hasselbalch eq. CONTROL SYSTEM pH probe → PID controller → acid/base pump Deadband ±0.05–0.20 pH acids / bases CO₂ in / out measure & correct Is base consumption rising over time? Does offline pH match online reading?
Figure 1. The three forces governing bioreactor pH: metabolic acid/base production, dissolved CO2 equilibrium with the gas phase, and the measurement/control system. Diagnostic questions (yellow) help identify which force is causing drift.
Diagram showing a central bioreactor box with pH as the unknown, connected by arrows to three force boxes: metabolic (left, showing acetate, lactate, CO2, and ammonia production), gas phase (right, showing CO2 sparging lowers pH while air/N2 stripping raises pH), and control system (bottom, showing pH probe to PID controller to acid/base pump with deadband). Two yellow diagnostic question boxes ask about base consumption trends and offline vs online pH agreement.

The diagnostic approach is straightforward: if base consumption increases over time in proportion to cell density, the root cause is metabolic. If pH drifts but base consumption is normal, check the gas phase (CO2 accumulation or stripping). If offline pH measurement disagrees with the online probe by >0.1 unit, the probe is drifting.

Metabolic Causes of pH Change

Cells are the primary source of pH disturbance in any fermentation. The direction and magnitude of pH change depend on the organism, carbon source, and growth phase.

Organic acid excretion is the dominant acidification mechanism in microbial fermentation. E. coli produces acetate via the phosphotransacetylase–acetate kinase (Pta-AckA) overflow pathway when the specific glucose uptake rate exceeds approximately 1.0 g glucose per g DCW per hour. At a cell density of 40 g/L DCW, this can acidify unbuffered medium by 0.5–1.5 pH units per hour. Lactic acid bacteria produce lactate at near-equimolar stoichiometry with glucose consumption (1.0 g lactate per g glucose).

Ammonia release drives pH upward when amino acids are the primary carbon or nitrogen source. Deamination of serine, threonine, and glutamine releases NH4+, which can accumulate to 5–15 mM in CHO fed-batch cultures and shift pH above 7.4 if CO2 sparging is insufficient.

Table 1. Common metabolic pH perturbations by organism and carbon source
Organism Primary carbon source Main acid/base produced Typical pH shift direction Rate of change
E. coli (aerobic, glucose excess) Glucose Acetate (2–12 g/L) ↓ Acidification 0.3–1.5 pH/h
E. coli (glucose-limited fed-batch) Glucose CO2, minimal acetate ↓ Mild acidification 0.05–0.2 pH/h
Pichia pastoris Methanol CO2, formate ↓ Acidification 0.1–0.5 pH/h
S. cerevisiae Glucose Ethanol, CO2, succinate ↓ Acidification 0.2–0.8 pH/h
CHO (early exponential) Glucose + glutamine Lactate (up to 3 g/L) ↓ Acidification 0.01–0.05 pH/h
CHO (post lactate shift) Glucose + lactate consumption NH4+ (5–15 mM) ↑ Alkalinization 0.01–0.03 pH/h
Lactobacillus spp. Glucose Lactic acid (80–120 g/L) ↓↓ Strong acidification 0.5–2.0 pH/h
Rates assume mid-exponential phase in a 2–50 L bioreactor without pH control active. Actual rates depend on cell density, growth rate, and medium buffer capacity.

Worked Example — Estimating Base Consumption for E. coli Fed-Batch

Given: E. coli BL21(DE3) fed-batch at 30 g/L DCW, μ = 0.15 h−1, specific acetate production rate qac = 0.05 g/g/h (below overflow threshold), working volume = 10 L, pH setpoint = 7.0, base = 4 M NaOH.

Step 1: Acetate production rate = qac × X × V = 0.05 × 30 × 10 = 15 g/h

Step 2: Moles of acetate produced = 15 g/h ÷ 60.05 g/mol = 0.250 mol/h

Step 3: Each mole of acetic acid (pKa = 4.76) at pH 7.0 is >99% dissociated, so ~0.250 mol/h NaOH required for neutralization.

Step 4: Base pump rate = 0.250 mol/h ÷ 4 mol/L = 62.5 mL/h of 4 M NaOH

This adds 62.5 mL/h to the culture volume — at 0.6% dilution per hour, manageable over a 12-hour fed-batch. If base consumption exceeds this estimate significantly, suspect glucose overfeeding and acetate overflow.

CO2 Dissolution and Stripping

Dissolved CO2 is the second major pH driver, especially in bicarbonate-buffered mammalian cell culture. The equilibrium follows the Henderson–Hasselbalch equation: pH = 6.1 + log([HCO3] / [dCO2]), where 6.1 is the effective pKa of carbonic acid at 37°C in physiological saline. Every doubling of dissolved CO2 concentration drops pH by approximately 0.3 units.

In bioreactor aeration scale-up, the decreasing surface-area-to-volume ratio at larger scales hampers CO2 removal through headspace ventilation. Ahleboot et al. (2021) demonstrated that CO2 accumulation — not lactate — was the dominant factor causing pH depression in a 30 L CHO bioreactor. By increasing agitation speed and overlay airflow to enhance CO2 stripping, they maintained pH at 6.95–7.1 without additional base addition, and product titer increased by 51%.

Two-sided pH control is standard for bicarbonate-buffered systems: CO2 sparging lowers pH (by dissolving into the medium as carbonic acid) and base addition raises it. On the alkaline side, air or N2 sparging strips dissolved CO2, raising pH. The balance between these gas-phase manipulations is critical — excessive CO2 sparging can raise dissolved CO2 to >150 mmHg, inhibiting cell growth even if pH reads correctly.

GAS PHASE (headspace) pCO₂ = 5–15% (air + CO₂) Overlay air strips CO₂ → ↑ pH dissolution CO₂(aq) H₂CO₃ H⁺ + HCO₃⁻ H⁺ + CO₃²⁻ pK₁ = 6.1 (37°C) pK₂ = 10.3 pH = 6.1 + log([HCO₃⁻] / [dCO₂]) ↑ dCO₂ → ↓ pH | ↓ dCO₂ (by stripping) → ↑ pH CELLULAR CO₂ Respiration: C₆H₁₂O₆ + 6O₂ → 6CO₂ 20–40 mmol CO₂/L/h at high density
Figure 2. The CO2 equilibrium system in bicarbonate-buffered cell culture. Dissolved CO2 from respiration and sparging forms carbonic acid, which dissociates to release H+. The Henderson–Hasselbalch equation (yellow box) governs the pH at any given [HCO3]/[dCO2] ratio.
Diagram showing CO2 equilibrium chemistry: gas phase CO2 dissolves into liquid, forming the chain CO2(aq) to H2CO3 to H+ plus HCO3- to H+ plus CO3 2-, with pKa1 of 6.1 at 37C and pKa2 of 10.3. A yellow box shows the Henderson-Hasselbalch equation pH = 6.1 + log(HCO3-/dCO2). Cellular CO2 production from respiration at 20-40 mmol/L/h feeds into the liquid equilibrium.

pH Probe Fouling and Drift

A drifting pH probe is the most insidious cause of control problems because the controller responds correctly to incorrect data. Glass membrane pH electrodes measure the potential difference across a thin glass membrane according to the Nernst equation, with an ideal sensitivity of 59.16 mV per pH unit at 25°C (55.0 mV at 4°C, 61.5 mV at 37°C).

Probe fouling occurs when proteins, cell debris, or lipids coat the glass membrane, reducing response speed and slope. In CHO fed-batch cultures running 14–21 days, the effective slope can degrade from 58 mV to below 50 mV, causing the controller to under-correct pH by 15–30%. The result: the online reading shows pH 7.0 while offline measurement reveals the true pH is 6.7–6.8.

Key diagnostic steps for probe problems:

Preventive maintenance: calibrate before every run, verify against offline measurement at 24–48 hour intervals during long cultures, and replace electrodes after 50–100 SIP cycles or when slope drops below 50 mV/pH.

Acid and Base Selection Guide

The choice of acid and base directly affects osmolality, nutrient balance, and local mixing — there is no universally “best” reagent. One-sided control with base only is sufficient for most microbial fermentations where metabolic acidification dominates. Two-sided control (base + CO2, or base + acid) is standard for mammalian cell culture.

Table 2. Acid and base selection for bioreactor pH control
Reagent Typical conc. Best for Advantages Cautions
NaOH 1–4 M Microbial fermentation Strong, cheap, minimal dilution Local pH >12 at injection point; cumulative Na+ raises osmolality (750 mL of 4 M in 10 L adds ~280 mOsm)
NH4OH 12.5–25% E. coli, yeast Dual pH + nitrogen source Toxic above ~100 mM total NH4+; volatile — off-gas scrubbing may be needed
KOH 1–4 M Pichia, filamentous fungi K+ needed by yeast cells More expensive than NaOH; same local pH issue
Na2CO3 0.5–1 M CHO, HEK293 Gentler correction; adds buffer capacity Precipitation risk if [Ca2+] >2 mM; adds CO2 to the system
NaHCO3 0.5–1 M CHO, HEK293 Very gentle; compatible with bicarbonate buffer Weak base (only raises pH to ~8.3 max); large volumes needed
CO2 sparging 5–15% in gas mix CHO (lower pH side) No osmolality change; fast response Inhibits growth at dCO2 >150 mmHg; can foam
H2SO4 0.5–2 M Microbial (rare) Strong, cheap Corrosive; sulfate accumulation; local pH <1 at injection
H3PO4 0.5–2 M Yeast, E. coli Adds phosphate nutrient Precipitation with Ca2+/Mg2+ at high conc.
Concentrations and selection criteria for common pH control reagents. For GMP processes, reagent grade and supplier qualification must also be considered.

Buffer Calculator

Calculate buffer capacity, dilution volumes, and pH adjustment for Tris, phosphate, HEPES, and citrate systems.

Open Calculator →

PID Tuning and Deadband Optimization

A properly sized deadband and well-tuned PID controller prevent two common problems: oscillatory pumping (deadband too narrow, gains too high) and sluggish response (deadband too wide, integral too slow). Harcum et al. (2022) showed that PID settings are “forgotten bioprocess parameters” that significantly affect culture performance even when setpoints are identical.

Deadband is the pH range around the setpoint within which no correction occurs. Recommended values:

PID tuning guidelines for bioreactor pH control:

  1. Start with P-only control. Set proportional band to 1.0–2.0 pH units (gain Kp = 50–100%). This means the pump runs at 100% output when pH deviates by the full proportional band width.
  2. Add integral action cautiously. Set integral time (Ti) to 120–300 seconds. Short integral times (<60 s) cause overshoot because pH response to acid/base addition has inherent transport delay (mixing time + chemical equilibration).
  3. Avoid derivative action for pH control. The noisy pH signal from sparging-induced bubbles causes derivative kick. Set Td = 0 for most bioreactor applications.
  4. Use cascade control when possible: inner loop controls pump speed, outer loop controls pH. This decouples the chemical dynamics from the mechanical dynamics.

Worked Example — PID Tuning for 50 L E. coli Fermentation

System: 50 L STR, pH setpoint 7.0, deadband ±0.15, base = 4 M NaOH via peristaltic pump (max 50 mL/min).

Step 1: Set proportional band = 1.5 pH units. This means: at pH 6.70 (0.30 below setpoint, clearly outside deadband), error = 0.30, pump output = 0.30/1.5 = 20%. At pH 6.0, pump runs at 67%.

Step 2: Set Ti = 180 s. The integral ramps output by (error / Ti) per second. At sustained pH 6.70 (error = 0.30): integral adds 0.30/180 = 0.17%/s, reaching 20% additional output in 120 s.

Step 3: Set Td = 0 (no derivative).

Validation: Disturb pH by adding 5 mL of 2 M HCl. The system should recover to within deadband in 2–5 minutes with <0.1 pH overshoot. If oscillation occurs, increase Ti to 300 s. If response is too slow, decrease proportional band to 1.0.

Figure 3. Simulated pH trajectory during a 12-hour E. coli fed-batch fermentation. Without pH control (red), metabolic acidification drops pH to 5.2 by hour 10. With one-sided NaOH control (teal), pH is maintained at 7.0 ± 0.15. The blue dashed line shows cumulative base addition volume. Induction (IPTG) at hour 4 triggers a metabolic shift that accelerates acidification.

Gas Mixing Calculator

Calculate gas blend ratios for CO2/air/O2/N2 sparging with flow rate unit conversions and VVM targets.

Open Calculator →

pH Control at Scale: Common Pitfalls

pH control that works at 2 L frequently fails at 2,000 L. The root cause is always the same: mixing time increases with scale while biological rates stay constant, creating spatial pH gradients that a single probe cannot represent.

Local pH spikes at the base addition point are the most damaging scale-up artifact. When 4 M NaOH is pumped into a 2,000 L bioreactor with a mixing time of 30–60 seconds, the zone around the injection port experiences pH >10 for several seconds. Cells passing through this zone suffer membrane damage, and proteins can denature irreversibly. Solutions include:

CO2 accumulation at scale becomes worse as the surface-area-to-volume ratio drops from ~100 m−1 at 2 L to ~5 m−1 at 10,000 L. Headspace ventilation alone cannot strip enough CO2. Counter-measures include increasing overlay air flow, reducing CO2 percentage in the sparge gas, or adding a dedicated CO2 stripping loop.

Probe placement matters. At scale, a pH probe positioned in a stagnant zone may read 0.2–0.5 units different from the bulk. Place probes in a well-mixed zone (ideally between impellers or in the impeller discharge stream) and verify with a second probe at a different location during process characterization.

Table 3. pH control scale-up challenges and solutions
Challenge Scale where it appears Root cause Solution
Base addition hot spots ≥200 L Mixing time > 10 s + concentrated base Dilute base, add near impeller, multi-hole dip tube
CO2 accumulation ≥500 L Low SA/V ratio reduces headspace stripping Increase overlay air, reduce CO2 in sparge gas
pH gradient across vessel ≥1,000 L Mixing time 30–120 s Dual pH probes, add reagent near high-turbulence zone
Osmolality creep from base All scales Cumulative Na+ from NaOH Switch to NH4OH (microbial) or NaHCO3 (mammalian)
Pump pulsation at low flow ≤10 L Peristaltic pump minimum speed too high Dilute reagent, use syringe pump, or pulse-mode dosing
Common pH control problems organized by the scale at which they typically manifest.

OTR/kLa Estimator

Estimate oxygen transfer rate and kLa for your bioreactor configuration — critical for understanding gas exchange and CO2 stripping capacity.

Open Calculator →

Frequently Asked Questions

Why does pH drop during E. coli fermentation?

E. coli acidifies its culture medium through two main mechanisms: CO2 production from aerobic respiration (dissolved CO2 forms carbonic acid, lowering pH by 0.5–1.5 units in unbuffered media) and organic acid excretion, primarily acetate via the Pta-AckA overflow pathway when glucose uptake exceeds ~1.0 g/g/h. In high-cell-density fed-batch cultures, acetate can reach 5–12 g/L without proper feeding control, driving pH well below the 6.8–7.2 optimum range.

What is the best base for pH control in fermentation?

The best base depends on the organism. For E. coli, concentrated ammonium hydroxide (12.5–25% NH4OH) serves dual purpose as both pH corrector and nitrogen source, but must be limited below 100 mM total ammonium to avoid toxicity. For CHO cell culture, 1 M sodium bicarbonate (NaHCO3) or 0.5 M sodium carbonate (Na2CO3) are standard because they provide gentler pH adjustment and buffer capacity. NaOH (1–4 M) gives strong correction but risks local pH spikes above 10 at the addition point.

How do you troubleshoot a drifting pH probe in a bioreactor?

Start by checking the calibration slope: a healthy glass pH electrode should read 56–60 mV per pH unit at 25°C (the Nernst ideal is 59.16 mV). If the slope has dropped below 50 mV, the electrode membrane is likely fouled with protein or cell debris. Clean with pepsin/HCl solution, recondition in 3 M KCl for 4–8 hours, and recalibrate with fresh pH 4.01 and 7.00 buffers. If drift persists, the electrode reference junction is likely depleted and the probe needs replacement.

What pH deadband should I use for bioreactor control?

A deadband of ±0.05 to 0.10 pH units from setpoint is typical for mammalian cell culture, where tight control protects glycosylation profiles. For microbial fermentation, ±0.10 to 0.20 is acceptable because bacteria tolerate wider pH ranges. Setting the deadband too narrow (below ±0.02) causes excessive pump cycling and reagent waste. Setting it too wide (above ±0.30) allows metabolic drift that may affect product quality.

How does CO2 stripping affect pH in cell culture bioreactors?

In bicarbonate-buffered mammalian cell culture, dissolved CO2 equilibrium governs pH through the equation pH = 6.1 + log([HCO3] / [dCO2]). Sparging with air or N2 strips dissolved CO2, shifting the equilibrium toward higher pH. At manufacturing scale (>500 L), reduced surface-area-to-volume ratio limits natural CO2 removal from headspace, causing CO2 accumulation and pH depression. Ahleboot et al. (2021) showed that optimizing agitation speed and overlay airflow to improve CO2 stripping maintained pH at 6.95–7.1 and increased product titer by 51%.

Related Tools

References

  1. Ahleboot Z, Khorshidtalab M, Motahari P, et al. Designing a Strategy for pH Control to Improve CHO Cell Productivity in Bioreactor. Avicenna Journal of Medical Biotechnology. 2021;13(3):123–128. doi:10.18502/ajmb.v13i3.6365
  2. Harcum SW, Elliott KS, Skelton BA, et al. PID controls: the forgotten bioprocess parameters. Discover Chemical Engineering. 2022;2(1):8. doi:10.1007/s43938-022-00008-z
  3. Warnecke T, Gill RT. Organic acid toxicity, tolerance, and production in Escherichia coli biorefining applications. Microbial Cell Factories. 2005;4:25. doi:10.1186/1475-2859-4-25
  4. Xu Y, Zhao Z, Tong W, et al. An acid-tolerance response system protecting exponentially growing Escherichia coli. Nature Communications. 2020;11:1496. doi:10.1038/s41467-020-15350-5
Share

Resources & Further Reading