📏 Linear Accelerator Output Calibration QA Simulator
This simulator is used to calibrate the output of a linear accelerator for quality assurance. It ensures that the radiation dose delivered by the machine meets the required standards, thereby maintaining the safety and effectiveness of radiotherapy treatments.
Water Phantom Geometry and Reference Ion Chamber Positioning
Absolute dosimetry under TG-51 / TRS-398 begins with rigorous geometric setup: a cylindrical Farmer-type ionization chamber is submerged in a full scatter water phantom at a precisely defined reference depth, under a precisely defined source-to-surface distance and field size. Every subsequent correction factor and dose calculation assumes this geometry was reproduced exactly.
- 10 cm: Reference depth (d_ref) (photon beams, TG-51 addendum)
- 100 cm: SSD (reference) (source-to-surface distance)
- 10×10 cm²: Field size (defined at isocenter/surface)
- NE2571 / PTW30013: Chamber models (Farmer-type, 0.6 cm³ cavity)
Why reference conditions matter
Machine output calibration is only meaningful if it is reproducible across institutions and across time. TG-51 (AAPM Task Group 51, Almond et al. 1999) and its 2014 photon-beam addendum, along with IAEA TRS-398, define a single, unambiguous reference geometry so that a cGy/MU measurement made today can be compared directly to one made a year ago, or at a different clinic entirely.
For photon beams, the reference depth is 10 cm in water — deep enough to be past the buildup region and dose-maximum for the vast majority of clinical energies (6–18 MV), yet shallow enough to keep the setup practical. SSD setups use 100 cm source-to-surface distance with the field defined as 10×10 cm² at the surface; SAD setups place the chamber at 100 cm depth-corrected source-to-axis distance. The water phantom itself must extend at least 5 cm beyond the field edges and at least 10 cm beyond the chamber in the beam direction, ensuring full lateral and backscatter.
A 1 mm depth-positioning error at 10 cm can itself introduce a 0.1–0.5% dose error depending on beam energy, because percentage depth dose is still changing with depth even past d_max. Chamber positioning is normally verified by scanning water-tank sensors or a fixed jig accurate to ±0.5 mm.
The Farmer chamber as the reference instrument
The workhorse of reference dosimetry is the cylindrical "Farmer-type" ionization chamber — named after the design popularized by Frank Farmer in the 1950s. Modern variants like the NE2571 or PTW30013 have an active volume of approximately 0.6 cm³, a graphite or aluminum central electrode, and a thimble wall thin enough to minimize perturbation while being robust enough for daily clinical handling.
Each chamber carries an absorbed-dose-to-water calibration coefficient, N_D,w, established by irradiating the chamber in a ⁶⁰Co beam at an Accredited Dosimetry Calibration Laboratory (ADCL) or a national primary standards lab, with full traceability to NIST (in the US) or the relevant national metrology institute elsewhere. This calibration coefficient converts a chamber's electrometer reading directly into absorbed dose to water — the entire absolute-dose protocol exists to transport that ⁶⁰Co calibration accurately to a clinical linac's megavoltage beam.
Calibrated Monitor Unit Delivery and Raw Electrometer Signal
With geometry verified, the linac delivers a fixed, calibrated exposure — typically 100 monitor units — while the submerged ion chamber collects the ionization charge liberated in its air cavity. An electrometer integrates this minute current into a digitized charge reading in nanocoulombs, the raw signal from which every subsequent correction and dose value is derived.
- 100 MU: Typical delivered dose (calibrated exposure per reading)
- ~2–20 nC: Raw charge collected (depends on chamber volume, energy)
- ±0.1 pC: Electrometer resolution (triax cable, guard-ring design)
- 3–5: Readings averaged (per bias voltage, for repeatability)
From ionizing radiation to a measurable current
When the linac beam traverses the chamber's air-filled sensitive volume, it ionizes air molecules along the tracks of secondary electrons set in motion by Compton and photoelectric interactions in the surrounding water and chamber wall. A bias voltage (typically ±300 V) applied across the chamber sweeps the resulting ion pairs to the collecting electrode before they can recombine, producing a small current — on the order of picoamps to nanoamps — that is fed through a low-noise triaxial cable to an electrometer.
The electrometer integrates this current over the full duration of the MU delivery, producing a total collected charge M_raw in nanocoulombs. Because this raw signal is extraordinarily sensitive to ambient conditions and chamber behavior, it is never used directly — it is always corrected in the next stage before being converted to dose.
Repeat readings and beam stability
A single charge reading is never trusted in isolation. Standard practice acquires 3–5 consecutive readings at the normal collecting bias voltage, checking that they agree to within about 0.1%, which also confirms the linac's pulse-to-pulse output stability and dose-rate servo are behaving normally that day.
Readings are also acquired at a reduced bias voltage (commonly half the normal voltage, with polarity optionally reversed) — these additional measurements are not yet corrections themselves, but the raw inputs consumed by the ion recombination (Pion) and polarity (Ppol) correction calculations performed in the next stage.
Ptp, Pion, and Ppol — Correcting the Raw Chamber Signal
Raw chamber charge is influenced by physics unrelated to the linac's true output: air density fluctuates with temperature and pressure, some ions recombine before collection, and the chamber's response depends slightly on collecting-voltage polarity. Three multiplicative correction factors — Ptp, Pion, and Ppol — strip these instrumental effects out before dose can be calculated.
- (273.2+T)/295.2 × 101.33/P: Ptp formula (referenced to 22°C, 101.33 kPa)
- 1.000–1.02: Pion (typical) (two-voltage method, TG-51 Eq.)
- 0.995–1.01: Ppol (typical) (from ± bias reading pair)
- ±1–3%: Combined correction spread (typical clinical range)
Temperature-pressure correction, Ptp
An open-to-atmosphere ionization chamber contains a fixed mass of air whose density varies with temperature and barometric pressure. Because chamber response is proportional to the mass of air in the cavity, warmer or lower-pressure air (lower density) yields a larger signal per unit dose, and the reading must be corrected back to the reference condition under which the chamber's N_D,w calibration coefficient was established: 22.0°C and 101.33 kPa (1 atm).
P_tp = [(273.2 + T) / (273.2 + 22.0)] × (101.33 / P)
where T is the water/air temperature in °C (allowed to equilibrate for ≥5 minutes before measurement) and P is the barometric pressure in kPa, measured at chamber height (not sea-level-corrected). A poorly calibrated or unequilibrated thermometer is one of the most common sources of systematic error in linac output QA — a 3°C error alone shifts Ptp by roughly 1%.
Because Ptp scales linearly with both temperature and inverse pressure, this is the correction factor most sensitive to everyday environmental drift — which is exactly why this simulation lets you move temperature and pressure sliders and watch the measured output and tolerance status respond live.
Ion recombination (Pion) and polarity (Ppol) corrections
Pion — ion recombination: not every ion pair created in the chamber cavity reaches an electrode before recombining with its opposite charge, especially at the very high dose-per-pulse of modern linacs. TG-51 uses the two-voltage technique: charge is measured at the normal bias (V_H) and at a reduced bias (V_L, typically V_H/2), and Pion is calculated from the ratio of these readings using the AAPM two-voltage formula for pulsed beams. Typical values run from 1.000 to about 1.02; values above 1.05 indicate a chamber or cable problem requiring investigation before proceeding.
Ppol — polarity effect: reversing the collecting bias voltage (+V to −V) can change the measured charge by a small amount due to chamber-specific charge-collection asymmetries, especially in cables and at chamber-wall interfaces. Ppol is computed as the average of the absolute values of the positive- and negative-polarity readings, divided by the reading taken at the polarity normally used clinically. Typical Ppol values fall between 0.995 and 1.01. Together, Ptp × Pion × Ppol forms the total correction product applied to the raw electrometer signal.
From Corrected Charge to Absolute Dose in cGy per Monitor Unit
With the raw signal fully corrected, absolute dose is computed using the TG-51 formalism: corrected charge is multiplied by the chamber's ⁶⁰Co calibration coefficient and by a beam-quality conversion factor that accounts for the difference between the calibration beam and the clinical megavoltage beam being measured, yielding dose to water in cGy, which is then normalized by the delivered MU.
- D_w = M·k_Q·N_D,w^60Co: TG-51 dose formula (M = fully corrected charge)
- %dd(10)_x: Beam quality index (photon beam quality specifier)
- TG-51 addendum tables: k_Q lookup (2014, per chamber model)
- 1.000 cGy/MU: Target output (by convention at d_ref, calibration)
The TG-51 absolute dose equation
The central equation of reference dosimetry converts a fully corrected electrometer reading directly into absorbed dose to water at the point of measurement:
D_w^Q = M · P_ion · P_TP · P_pol · P_elec · k_Q · N_D,w^60Co
Here M is the raw electrometer reading, the P-factors are the corrections described in Stage 3 (plus P_elec, an electrometer-specific calibration factor usually close to 1.000), N_D,w^60Co is the chamber's absorbed-dose-to-water calibration coefficient traceable to a ⁶⁰Co primary standard, and k_Q is the beam-quality conversion factor that adjusts the ⁶⁰Co-beam calibration for use in the clinical megavoltage photon or electron beam actually being measured.
k_Q values are tabulated per chamber model as a function of beam quality — for photon beams, quality is specified by %dd(10)_x, the photon-only percentage depth dose at 10 cm depth in a 10×10 cm² field at 100 cm SSD. The 2014 TG-51 photon-beam addendum publishes k_Q as a polynomial function of %dd(10)_x for essentially every chamber in clinical use, eliminating the need for a separate beam-quality measurement chamber.
Normalizing to cGy per monitor unit
The monitor unit (MU) is the linac's own internal charge-based measure of delivered beam, read from a pair of redundant transmission ionization chambers built into the treatment head. The entire purpose of output calibration is to establish (or verify) the relationship between MU, an internal machine quantity, and cGy, an absolute physical dose to water — by convention, clinical linacs are calibrated so that 1 MU delivers 1.000 cGy to water at d_ref under reference conditions.
Dividing the D_w^Q computed above by the number of MU delivered (typically 100) yields the measured output in cGy/MU. This single number is the entire deliverable of a TG-51/TRS-398 calibration check, and it is this number that gets compared to the machine's baseline value in the final tolerance stage.
Comparing Measured Output to Baseline — the ±2% Tolerance Decision
The measured cGy/MU value is only useful once compared against the machine's established baseline calibration. AAPM TG-142 and TG-40 recommend a ±2% action tolerance for monthly absolute output checks — deviations within this band are logged as a routine pass; deviations beyond it require physics intervention and, if confirmed, an output adjustment or a service call before the machine can resume clinical treatment.
- ±2%: Monthly output tolerance (AAPM TG-142 action level)
- ±1%: Annual calibration tolerance (stricter, full TG-51 protocol)
- ±3%: Daily QA check tolerance (faster daily constancy device)
- >2% sustained: Adjustment trigger (requires service + re-verification)
Tolerance thresholds across the QA hierarchy
Clinical linac QA operates at several cadences, each with its own tolerance because measurement uncertainty and clinical risk trade off differently at each interval. Daily constancy checks, performed with simpler diode- or ion-chamber-array devices, use a looser ±3% tolerance because they exist primarily to catch gross machine faults before the day's first patient. Monthly checks, closer in rigor to a mini-TG-51 measurement, use the tighter ±2% action level defined by TG-142. Annual (or upon major service) calibrations use the full TG-51/TRS-398 protocol exactly as simulated in this page, held to a stricter ±1% tolerance, since this is the definitive calibration that all other checks are referenced against.
The ±2% figure is not arbitrary: it reflects the accumulated uncertainty budget of the measurement chain itself (chamber calibration ~0.5–1%, k_Q ~1%, setup reproducibility ~0.3–0.5%) combined with the clinically tolerable dose uncertainty for radiotherapy, where international consensus (ICRU) recommends overall delivered dose accuracy within about 5%.
A confirmed output drift beyond ±2% is never corrected by simply adjusting a calibration number — physics staff must first rule out chamber, electrometer, or environmental measurement error by repeating the measurement with a second chamber, before authorizing a service adjustment to the linac's dose-rate servo and re-verifying with a full repeat measurement.
Logging, trending, and machine adjustment
Every calibration measurement — pass or fail — is logged in the department's QA record with the full set of raw readings, environmental conditions, corrected charge, and final cGy/MU value, building a long-term trend line for each machine. Small but consistent drift over several months, even while individually within tolerance, is itself a flag: physicists watch for systematic trends (e.g., a slow upward creep suggesting gradual electron-gun or monitor-chamber drift) rather than reacting only to single-point failures.
When a measurement falls outside tolerance and is confirmed on repeat, the linac's output is adjusted — historically via a physical trim potentiometer, in modern linacs via a software-controlled dose-servo calibration constant — to bring cGy/MU back to 1.000 within the tighter annual tolerance. A full repeat measurement is then required to verify the adjustment before the machine is released back to clinical service, and the entire episode, including root cause, is documented for regulatory (state, Joint Commission, ACR accreditation) review.
This simulator is used to calibrate the output of a linear accelerator for quality assurance. It ensures that the radiation dose delivered by the machine meets the required standards, thereby maintaining the safety and effectiveness of radiotherapy treatments.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install