Control Recipe
A Control Recipe is the per-batch instance of a Master Recipe — the recipe that actually runs. ISA-88.01 §5.4.4 defines it as the recipe that drives one specific batch's execution: equipment instances allocated, setpoints loaded, phase logic engaged, IPCs scheduled. In V5 the control recipe is generated from the Master Recipe snapshot at work-order release and lives inside the work order; the operator at the kiosk and the PLC on the floor both consume it.
01What a Control Recipe is
ISA-88 defines four recipe levels — General, Site, Master, Control. The first three are reusable templates. The fourth, the Control Recipe, is single-use: it exists for one batch, carries that batch's identity, and dies when the batch closes.
- Batch identifier — the lot/batch number that will appear on the BMR and on every label.
- Target batch size — the actual quantity for this run, may differ from master's nominal within the allowed bracket.
- Equipment allocation — specific unit instances assigned at release time (Reactor R-201, Drier D-3).
- Material lots — specific lots reserved for this batch (replacing the master's generic component references).
- Calculated setpoints — agitation, temperature, ramp rates resolved from any master-recipe formulas.
- Scheduled IPCs — sampling points with planned timestamps relative to phase start.
- Operator/reviewer assignments — trained personnel rosters for the planned shifts.
02Control vs Master Recipe
| Aspect | Master Recipe | Control Recipe |
|---|---|---|
| Lifecycle | Long-lived, versioned | Single-batch, ephemeral |
| Equipment | Unit classes, optionally specific units | Specific unit instances allocated |
| Materials | Generic components + roles | Specific lots reserved |
| Quantities | Nominal + bracket | Actual target for this batch |
| Mutability | Immutable when Active | Mutable via formal deviation only |
| Approval | Pre-approved before use | Inherits master's approval |
| Storage | Recipe library | Inside the work-order snapshot |
03Control Recipe generation at WO release
- Planner releases the work order against a master recipe and target batch size.
- MES snapshots the entire master recipe into the WO (immutable JSONB).
- MES generates the control recipe by binding equipment, lots, setpoints, IPC times.
- Equipment-arbitration step allocates specific unit instances; rejects if any required unit is unqualified, dirty, or calibration-due.
- Material-reservation step picks lots (FEFO/FIFO/specific-lot per master) and places reservations in inventory.
- Setpoint resolution — any master-recipe formulas (e.g. "agitation 50 rpm per 100 L") are evaluated against the actual batch size.
- Roster check — trained operators available for the planned shifts; otherwise WO release is blocked.
- Control recipe materialises into the kiosk tile + PLC download buffer; WO state moves to Released.
04How the Control Recipe drives execution
Once a batch starts, the control recipe is read by two consumers:
- The MES kiosk surfaces manual phases (dispense, sample, visual check) one at a time, with the parameters from the control recipe and the live tolerance bands.
- The control system (DCS/PLC) downloads automated phases as ISA-88 sequential function charts; phase state changes (idle → running → complete) are reported back to the MES.
- Both sides write to the same batch record. A manual dispense and an automated reactor heating are equally bound to the control recipe and equally captured in the BMR.
When a phase completes, the control recipe advances to the next operation. Conditional branches (if assay < 90%, run rework phase) are resolved at runtime against IPC results.
05Modifying a Control Recipe mid-batch
A control recipe is mutable only through a formal deviation. The change must be:
- Justified — written rationale tied to a deviation ID.
- Approved — appropriate QA role per the deviation matrix.
- Bounded — must stay inside the master recipe's design space (or escalate).
- Audit-trailed — before/after captured under Part 11 + Annex 11.
06Common mistakes
- Generating the control recipe from the live master instead of the snapshot — opens a window where a mid-process master revision corrupts an in-flight batch.
- Allowing equipment allocation after start — risks an unqualified unit being grabbed during a phase change.
- Material lot substitution at the kiosk without deviation — silent change of formulation.
- Operator-edited setpoints without deviation — Part 11 violation.
- Control recipe stored as a flat copy of the master instead of as a derived child — cannot reconstruct lineage at audit.
- Conditional branches not implemented; operator decides on the floor whether to do rework — undocumented logic.
- Roster check skipped — untrained operator executes a critical step.
- Batch ID assigned after start — labels printed during execution carry the wrong ID.
07How V5 Ultimate handles Control Recipes
Frequently asked questions
Q.Is the control recipe stored separately from the work order?+
In V5 it lives inside the work order as a JSONB child of the master-recipe snapshot. They share a lifecycle: when the WO is created the snapshot is taken; when the WO is released the control recipe is generated; when the WO closes both are sealed.
Q.Can a single control recipe span multiple batches?+
No — by ISA-88 definition the control recipe is per-batch. Campaign manufacturing produces multiple control recipes (one per batch), all derived from the same master snapshot, executed sequentially against the same equipment with cleaning verification between.
Q.Who can modify a control recipe?+
Nobody, directly. Modifications require a deviation with role-separated approval (typically QA + production manager). The deviation captures the before/after under Part 11 audit trail and links to the changed control-recipe field.
Q.What happens if equipment fails mid-batch?+
The control recipe pauses, a deviation is opened, and a re-allocation workflow runs. If a qualified, clean, calibration-current alternative unit is available the control recipe re-binds; if not, the batch holds for QA disposition.
Q.How does the control recipe interact with PAT?+
PAT (Process Analytical Technology) data feeds the control recipe's conditional branches — e.g. a near-infrared assay during drying decides when to end the drying phase. The control recipe pre-declares the PAT acceptance criteria; the runtime evaluates them; the BMR captures both the PAT reading and the decision.
Primary sources
Further reading
V5 Ultimate ships with the Control Recipe controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.
