🔥 24-Hour pH Impedance Reflux Monitoring Simulator
This simulation models a 24-hour pH impedance reflux monitoring process, providing detailed insights into acid reflux patterns and their clinical significance.
Transnasal Catheter Placement & Sensor Geometry
Ambulatory 24-hour pH-impedance monitoring is the reference-standard test for quantifying gastroesophageal reflux. A multichannel intraluminal impedance (MII) catheter combined with a pH electrode is passed transnasally so that both the volume/movement of refluxate (impedance) and its acidity (pH) can be recorded simultaneously across a full day of normal eating, activity and sleep.
- ~2.1mm: Catheter diameter (7 Fr, single lumen)
- 5 cm: pH electrode position (above upper LES border)
- 6: Impedance rings (at 3,5,7,9,15,17cm above LES)
- 24 h: Study duration (ambulatory, unrestricted diet)
Why combine impedance with pH
Standalone pH monitoring (first introduced by Tuttle and Grossman in 1958, and refined by DeMeester in the 1970s) only detects reflux events where the refluxate is acidic — a pH drop below 4. It is blind to reflux that is weakly acidic, neutral, or alkaline, and it says nothing about the physical movement of the refluxate bolus.
Multichannel intraluminal impedance (MII) measures the electrical resistance between adjacent metal electrode rings on the catheter. Liquid is far more conductive than the empty esophageal lumen (mucosal wall contact) or a swallowed air bubble, so a bolus passing a segment produces a characteristic drop in impedance, followed by recovery once the segment clears. Because six rings are spaced along the catheter, the direction and extent of bolus movement can be reconstructed frame-by-frame.
Combining the two — impedance for bolus presence/direction, pH for acidity — is why the technique is often called "pH-impedance" or "MII-pH" monitoring, and why it has replaced stand-alone pH-metry as the preferred test whenever available.
Impedance detects reflux regardless of pH. This matters most in patients already on acid-suppressive therapy: their reflux may no longer register as "acid" on a pH trace, yet impedance still shows the bolus physically moving up the esophagus and can explain persistent symptoms.
Catheter design and electrode placement
A standard combined catheter carries a series of cylindrical stainless-steel impedance electrodes 2cm apart, forming six measurement segments spanning roughly 3 to 17cm above the LES, plus one antimony pH electrode fixed 5cm above the LES — the historical position used in essentially all validated normative pH data.
Correct placement requires first locating the upper border of the LES, ideally by esophageal manometry performed immediately beforehand (or, when manometry is unavailable, by a validated pH pull-through or fixed-distance estimate from the nares). The catheter is passed through one nostril, down the oropharynx and esophagus, taped to the cheek and nose, and connected to a small portable data logger worn on a belt or shoulder strap for the full 24-hour period.
Patients keep a diary — meal times, supine/upright body position, and the exact time of any symptoms (heartburn, regurgitation, chest pain, cough) — which is later synchronized with the recording to calculate symptom-reflux association statistics.
Catheter-based vs wireless (Bravo) monitoring
A capsule-based alternative (Bravo, Medtronic) attaches a small pH-only radiotelemetry capsule to the esophageal mucosa 6cm above the LES endoscopically or transnasally, transmitting wireless pH data for 48–96 hours before spontaneously detaching and passing.
The wireless capsule avoids the nasal discomfort of a catheter, improves tolerability, and — because it can record for 2 to 4 days rather than 1 — increases the day-to-day sensitivity of detecting abnormal acid exposure (reflux burden varies considerably between days in the same patient). Its major limitation is that it measures pH only: it cannot detect non-acid or weakly acidic reflux, and so is a poor choice for patients being studied on PPI therapy or for those with primarily non-acid symptoms (e.g. regurgitation, cough).
Catheter-based combined pH-impedance therefore remains preferred whenever non-acid reflux is a diagnostic concern, while wireless pH capsules are favored for maximizing tolerability and multi-day acid-exposure sensitivity in classic heartburn phenotypes.
Reflux Events — Transient LES Relaxation & Retrograde Flow
Reflux is not primarily a failure of a weak sphincter sitting open — most episodes occur through brief, spontaneous relaxations of an otherwise competent lower esophageal sphincter. Understanding this mechanism explains why reflux frequency and swallowing look so different on the impedance trace.
- 10–30: Normal LES resting tone (mmHg pressure)
- 4–8 /h: TLESRs, postprandial (vs ~1–2/h fasting)
- ~90%: Reflux episodes via TLESR (of all reflux events)
- 5–10 s: Bolus transit time (across all 6 channels)
Transient LES relaxation (TLESR) — the dominant mechanism
The lower esophageal sphincter (LES) is a 2–4cm high-pressure zone (roughly 10–30 mmHg above intragastric pressure at rest) that normally prevents retrograde flow of gastric contents. Reflux occurs almost exclusively through one of three mechanisms: (1) transient LES relaxations not triggered by swallowing, (2) swallow-associated relaxation with insufficient post-swallow pressure recovery, or (3) simple straining against a chronically hypotensive/absent sphincter.
TLESRs — mediated by a vago-vagal reflex triggered by gastric fundic distension after meals — account for roughly 90% of reflux episodes in both healthy people and GERD patients. They occur 4 to 8 times per hour after meals and just once or twice per hour fasting. Crucially, most TLESRs do NOT result in reflux (only about a third do) — reflux happens when a TLESR coincides with enough gastric content near the cardia and a favorable pressure gradient.
GERD patients do not, on average, have more TLESRs than healthy people; they simply reflux during a larger proportion of them, and their esophagus clears the refluxed acid more slowly.
Reading the retrograde impedance signature
A swallow (antegrade, normal) produces impedance drops that appear first at the most proximal channel and propagate distally in an orderly, peristaltic sequence — top to bottom.
A reflux event (retrograde) produces the opposite pattern: impedance drops first at the most distal channel (closest to the LES) and propagate proximally as the bolus rises — bottom to top. This directionality, easily read off a multichannel trace, is the single feature that makes impedance monitoring able to identify reflux independent of its pH.
The extent of proximal migration matters clinically: reflux reaching only the distal esophagus is usually asymptomatic, while reflux that reaches the proximal esophagus (channels near 15–17cm) is far more likely to be perceived as heartburn, regurgitation, or to trigger extra-esophageal symptoms such as cough or laryngeal irritation.
Bolus clearance after a reflux event depends on both volume clearance (a secondary peristaltic wave, typically within 5–10 seconds) and chemical clearance (swallowed saliva neutralizing residual acid, which is markedly slower — often 1–3 minutes, and slower still during sleep when swallowing and salivation both fall).
Why supine (nocturnal) reflux is more damaging
Body position changes the physics and physiology of reflux clearance substantially. In the upright position, gravity assists volume clearance and swallow frequency is high. In the supine position — most of the night — gravity no longer helps drain the esophagus, swallow frequency and salivary flow both drop sharply during sleep, and arousal thresholds mean an episode may go unrecognized (and therefore unswallowed-away) for much longer.
The result is that nocturnal/supine reflux episodes, while sometimes fewer in number, tend to have much longer acid contact time per episode than upright daytime episodes. This is precisely why DeMeester scoring, and modern reporting standards, separate upright acid exposure time from supine acid exposure time rather than reporting only a single 24-hour average — supine-predominant acid exposure carries a distinct link to erosive esophagitis, Barrett's esophagus, and respiratory complications of reflux.
Classifying Reflux Type & Linking It to Symptoms
Not all reflux is acidic, and not all reflux causes symptoms. pH-impedance testing lets clinicians classify every individual episode by chemical composition and then statistically test whether the patient's own logged symptoms cluster around those episodes — turning a raw trace into an interpretable causal picture.
- pH < 4: Acid reflux (classic acid exposure)
- pH 4–7: Weakly acidic (impedance-confirmed bolus)
- pH > 7: Non-acid / alkaline (bile-containing, post-PPI)
- SAP>95%: Significant correlation (or Symptom Index (SI) > 50%)
The three reflux chemistries
Each impedance-confirmed bolus is assigned a pH category based on the nadir pH recorded at the moment of reflux:
• Acid reflux — pH drops below 4. This is the classic pattern captured even by stand-alone pH monitoring, and the one associated with the most direct mucosal injury from pepsin activated at low pH.
• Weakly acidic reflux — pH remains between 4 and 7 during the impedance-confirmed bolus. Common in the postprandial period when swallowed food buffers gastric acid, and increasingly the dominant pattern in patients on PPI therapy.
• Non-acid (weakly alkaline) reflux — pH stays above 7, usually reflecting a mixture of gastric juice with duodenal content (bile, pancreatic secretions) refluxing through the stomach. Though less acidic, bile acids and pepsin at neutral pH can still injure esophageal mucosa and provoke symptoms, particularly regurgitation and cough.
All three categories are potentially symptomatic; only the first is visible to a pH-only study.
Symptom Index (SI) and Symptom Association Probability (SAP)
Patients press an event marker (or record in a diary) every time they experience a symptom. Software then checks whether each logged symptom fell within a defined association window — conventionally 2 minutes — after the onset of a reflux episode.
Symptom Index (SI) = (number of symptoms associated with reflux ÷ total number of symptoms) × 100. An SI above 50% is considered positive.
Symptom Association Probability (SAP) is a statistical test (built on a Fisher exact test applied to consecutive 2-minute windows across the full 24 hours) that asks: could this many symptom–reflux overlaps have occurred by chance alone? SAP is reported as a probability that the association is NOT due to chance; a SAP above 95% is considered a statistically significant, likely causal, association.
Because SI is vulnerable to small symptom counts and SAP is vulnerable to very frequent reflux (which inflates chance overlap), guidelines recommend interpreting the two together rather than relying on either alone.
A patient can have a completely normal acid exposure time yet a strongly positive SAP/SI — this combination defines reflux hypersensitivity, a distinct diagnosis from classic GERD that changes the treatment strategy from acid suppression toward pain-modulating therapy.
On-therapy vs off-therapy testing
The test is performed in one of two clinical contexts, and the choice changes what question is being answered:
Off PPI (drugs stopped 7–10 days beforehand) — used to establish a primary diagnosis of GERD in a patient not yet proven to have reflux disease, e.g. before anti-reflux surgery or in a patient with an inconclusive endoscopy. This setting relies primarily on the pH channel, since untreated reflux is predominantly acidic.
On PPI (patient continues their usual dose) — used in patients with persistent, "PPI-refractory" symptoms to determine whether reflux is still occurring despite acid suppression, and if so, whether it is acidic, weakly acidic, or non-acid, and whether it correlates with ongoing symptoms. Because PPIs raise gastric and refluxate pH, impedance becomes essential in this setting — a large fraction of persistent reflux on PPI therapy is weakly acidic or non-acid and would be invisible to pH-only testing.
Reflux classification at a glance
| Product | Indication | Trial Design | Key Result |
|---|---|---|---|
| Acid reflux | Nadir pH < 4 during impedance bolus | Untreated GERD, LES incompetence, hiatal hernia | Detected by pH-only or pH-impedance |
| Weakly acidic reflux | Nadir pH 4–7 during impedance bolus | Postprandial buffering; common on PPI therapy | Requires impedance — invisible to pH-only |
| Non-acid / alkaline reflux | Nadir pH > 7 during impedance bolus | Duodeno-gastro-esophageal (bile) reflux | Requires impedance — invisible to pH-only |
| Swallow (not reflux) | Antegrade impedance sequence, proximal→distal | Normal peristalsis clearing saliva/food | Excluded from all reflux counts |
24-Hour Trace Analysis — Acid Exposure Time & the DeMeester Score
Once 24 hours of continuous multichannel data are collected, automated software (checked by manual review) tallies every reflux episode and reduces the entire recording to a small set of reproducible numbers — most importantly acid exposure time and the composite DeMeester score — that can be compared to validated normal ranges.
- < 4%: Normal total AET (% of 24h with pH<4 (Lyon))
- > 6%: Abnormal AET (4–6% is borderline/inconclusive)
- > 14.72: Abnormal DeMeester (95th percentile of healthy controls)
- < 40 /24h: Normal reflux episodes (total impedance episodes (Lyon 2.0))
Acid Exposure Time (AET) — the primary metric
AET is simply the percentage of total monitoring time that esophageal pH is below 4. It is calculated for the total recording, and separately for the upright and supine periods (from the patient's position diary), since supine exposure carries extra prognostic weight.
The original DeMeester and Johnson (1974) normative data placed the upper limit of normal total AET at about 4.2%; the Lyon Consensus (2018, updated 2023) formalized modern cutoffs: AET < 4% is normal, AET > 6% is conclusive evidence of pathological reflux, and 4–6% is a borderline/inconclusive zone requiring adjunctive evidence (endoscopic findings, DeMeester score, episode counts, symptom association) to reach a diagnosis.
AET is the single best-validated predictor of response to anti-reflux therapy (medical or surgical) and correlates most closely with mucosal injury on endoscopy.
The DeMeester composite score
Introduced in 1974 and still widely reported, the DeMeester score combines six components of the 24-hour pH trace into a single weighted number, each component scored against the mean and standard deviation of a healthy reference population, then summed:
1. Total % time pH < 4 2. % time pH < 4 while upright 3. % time pH < 4 while supine 4. Total number of reflux episodes 5. Number of episodes lasting ≥ 5 minutes 6. Duration (minutes) of the single longest episode
A score above 14.72 — the 95th percentile in DeMeester's original healthy cohort — is considered abnormal. Because it weights long episodes and supine exposure heavily, the DeMeester score is sensitive to impaired clearance, not just to how often reflux occurs.
This simulator computes a simplified, educational version of the composite from the same six underlying observations (exposure time, episode counts, long-episode counts and longest-episode duration) rather than the full published table of population standard deviations.
A DeMeester score above 14.72 or a total AET above 6% is accepted, per the Lyon Consensus, as conclusive objective evidence of pathological gastroesophageal reflux disease on its own — without needing further confirmatory testing.
Episode counts and the impedance contribution
Historically, "20 to 30 reflux episodes per day" was quoted as a rough upper limit of normal, based on older pH-only data. Modern combined pH-impedance normative studies, incorporated into the Lyon Consensus 2.0 (2023), instead define total impedance-detected reflux episodes (acid plus non-acid) as normal below roughly 40 per 24 hours, indeterminate between about 40 and 80, and abnormal above 80.
Because impedance captures weakly acidic and non-acid events that a pH-only trace misses entirely, total episode counts on combined monitoring are typically higher than acid-only counts — which is expected and is precisely the extra diagnostic value impedance adds, especially in patients already suppressing acid with a PPI.
Clinical Interpretation — GERD, Reflux Hypersensitivity, or Functional Heartburn
The final, and most clinically consequential, step is synthesis: combining AET%, the DeMeester score, endoscopic findings and symptom association to sort the patient into one of several distinct diagnostic categories defined by the Lyon Consensus — because each category is managed differently.
- ~30–40%: PPI non-responders (of GERD patients, persistent sx)
- AET > 6%: Conclusive GERD (or LA grade C/D esophagitis)
- Normal AET: Reflux hypersensitivity (+ positive SAP/SI)
- Normal AET: Functional heartburn (+ negative symptom association)
The Lyon Consensus diagnostic framework
The Lyon Consensus (Gyawali et al., 2018; updated 2023) integrates endoscopy and physiologic testing into a tiered framework:
Conclusive evidence of GERD: AET > 6% on pH or pH-impedance monitoring, OR Los Angeles Grade C or D erosive esophagitis on endoscopy, OR a peptic stricture, OR biopsy-confirmed Barrett's esophagus with intestinal metaplasia.
Borderline/inconclusive evidence: AET 4–6%, or LA Grade A/B esophagitis, or an indeterminate total reflux episode count (roughly 40–80/24h) — these require adjunctive evidence (DeMeester score, symptom association, response to a therapeutic trial) before a firm diagnosis is made.
No objective evidence of GERD: AET < 4%, normal episode counts, normal endoscopy. In this group, the presence or absence of a positive symptom association (SAP/SI) is what separates two further entities — reflux hypersensitivity and functional heartburn.
Reflux hypersensitivity vs functional heartburn
Both conditions present with heartburn-type symptoms and both have a normal, physiological amount of reflux (AET within normal limits, no erosive disease) — the entire distinction hinges on symptom association testing.
Reflux hypersensitivity: physiological (normal-range) amounts of acid or non-acid reflux trigger genuine symptoms, evidenced by a positive SAP (>95%) or SI (>50%). The esophagus is hypersensitive to normal reflux volumes rather than exposed to excess reflux. First-line management shifts toward neuromodulators (low-dose tricyclics, SSRIs) and pain-modulating strategies rather than escalating acid suppression, though a PPI trial is often still reasonable first.
Functional heartburn: normal AET and a negative symptom association — the symptoms are not statistically linked to any measurable reflux event at all. This is a disorder of gut-brain interaction (Rome IV criteria) and management centers on neuromodulation, psychological therapies, and reassurance rather than antireflux measures, which are unlikely to help.
Roughly 30–40% of patients diagnosed with GERD continue to have troublesome symptoms despite standard-dose PPI therapy. On-PPI pH-impedance testing is the key tool for sorting this group into ongoing acid/non-acid reflux (needs escalated or surgical therapy), reflux hypersensitivity, functional heartburn, or an unrelated diagnosis.
Downstream treatment decisions
The final classification directly steers management:
• Conclusive GERD, still symptomatic off therapy → initiate or optimize PPI therapy; consider dose/timing adjustment (30–60 min before meals) before declaring failure.
• Conclusive GERD despite optimized PPI, especially with proven non-acid reflux driving symptoms → consider anti-reflux surgery (laparoscopic fundoplication) or newer anti-reflux procedures, which address the mechanical LES/hiatal defect regardless of refluxate pH.
• Reflux hypersensitivity → low-dose neuromodulators, address concurrent functional overlap (anxiety, disordered sleep), reasonable PPI trial but avoid dose escalation without evidence of benefit.
• Functional heartburn → antireflux therapy is unlikely to help; focus on neuromodulation and behavioral approaches; avoid unnecessary long-term PPI exposure.
Because reflux burden varies day to day and testing conditions (on/off PPI, single vs multi-day capsule) materially change the answer, pH-impedance results are always interpreted alongside the endoscopic picture and the pretest clinical probability of GERD — not read in isolation.
This simulation models a 24-hour pH impedance reflux monitoring process, providing detailed insights into acid reflux patterns and their clinical significance.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install