7.4 Batch Control Architecture, Recipes & Procedural Standards (ISA-88 / S88)
Key Takeaways
ANSI/ISA-88 (IEC 61512) establishes modular decoupling between physical equipment capabilities and recipe procedural logic, maximizing software reuse and multi-product batch flexibility.
The Physical Model enforces a strict seven-tier hierarchy (Enterprise, Site, Area, Process Cell, Unit, Equipment Module, Control Module), where a Unit represents a major equipment grouping capable of processing only one batch at any given time.
The Procedural Model mirrors physical capabilities through Procedure, Unit Procedure, Operation, and Phase, with Phases serving as the smallest executable control logic entities interfacing directly with Equipment Modules and Control Modules.
Recipes exist in four distinct architectural tiers—General, Site, Master, and Control—and must contain five core elements: Header, Formula, Equipment Requirements, Procedure, and Other Information.
The ISA-88 Phase State Transition Model governs dynamic phase behavior across defined states (Running, Holding, Held, Restarting, Stopping, Stopped, Aborting, Aborted), enforcing strict operational distinctions between controlled holds, orderly stops, and emergency aborts.
7.4 Batch Control Architecture, Recipes & Procedural Standards (ISA-88 / S88)
In batch processing industries—such as specialty pharmaceuticals, fine chemicals, food and beverage, biotechnology, and paints/coatings—production is characterized by finite quantities of materials processed through sequential operations in shared equipment. Historically, batch automation suffered from monolithic, proprietary software where product recipes, equipment sequencing, and low-level valve interlocks were hardcoded directly into PLC ladder logic. Introducing a new product formulation or altering a batch holding time required rewriting, recompiling, and re-validating the entire automation codebase.
To solve this crisis, the International Society of Automation developed ANSI/ISA-88 (standardized internationally as IEC 61512). Known industry-wide as S88, this standard provides a universal terminology, physical equipment hierarchy, procedural structure, and state machine architecture that decouples recipe procedures from physical equipment capabilities.
The S88 Decoupling Principle
The fundamental philosophy of ANSI/ISA-88 is the strict separation of Equipment Capability from Product Recipe Procedural Logic:
+-------------------------------------------------------------------------+
| ISA-88 DECOUPLING PRINCIPLE |
+-------------------------------------------------------------------------+
| RECIPE PROCEDURAL MODEL EQUIPMENT PHYSICAL MODEL |
| (What to make & How) (What the plant CAN do) |
| |
| +---------------------+ +-----------------------+ |
| | Master Recipe | | Physical Equipment | |
| | - Add 500 kg Water |===========>| - Metered Dosing EM | |
| | - Heat to 80 deg C | Commands | - Heating Loop EM | |
| | - Agitate @ 100 RPM | | - Agitator Drive CM | |
| +---------------------+ +-----------------------+ |
+-------------------------------------------------------------------------+
- Equipment Capabilities (e.g., "Agitate at variable speed", "Heat vessel to setpoint", "Dose solvent via flowmeter") are programmed once into the PLC or DCS as modular, re-usable software blocks.
- Recipes are defined independently by process chemists or production engineers in recipe authoring software without writing a single line of PLC control code.
- A multi-product facility can manufacture hundreds of distinct products across identical physical vessels simply by executing different recipes against the same underlying modular equipment software.
The ISA-88 Physical Model Hierarchy
Clause 4.2 of ANSI/ISA-88.01 defines a strict seven-level Physical Model that organizes processing equipment from enterprise-wide assets down to discrete sensors:
Level 7: ENTERPRISE (Multi-facility corporate entity, e.g., Global Pharma Corp)
|
Level 6: SITE (Physical plant location, e.g., Boston Manufacturing Plant)
|
Level 5: AREA (Physical section of a site, e.g., API Synthesis Building 4)
|
Level 4: PROCESS CELL (Equipment grouping producing complete batches, e.g., Cell 1)
|
Level 3: UNIT (Major vessel performing major activities, e.g., Reactor R-101)
|
Level 2: EQUIPMENT MOD (Functional group performing minor tasks, e.g., Dosing EM)
|
Level 1: CONTROL MODULE (Lowest-level atomic device/loop, e.g., Valve XV-101, Flow FIC)
Definitions and Engineering Boundaries
- Process Cell (Level 4): A logical grouping of equipment that contains all the physical processing equipment required to complete a batch of product. Boundaries of a process cell are defined such that a batch does not cross outside the cell until the batch run is complete.
- Unit (Level 3): The cornerstone of the S88 Physical Model. A Unit is an independent grouping of equipment modules and control modules centered around a major processing vessel (e.g., Reactor, Fermenter, Distillation Column, Crystallizer, Blend Tank).
Important
The S88 Unit Rule: A Unit can operate on only one batch at a time. Furthermore, a Unit cannot operate across multiple process cells simultaneously.
- Equipment Module (EM) (Level 2): A functional grouping of equipment that carries out a minor, finite processing activity. An EM coordinates multiple subordinate control modules to achieve a specific task (e.g., a Jacket Temperature Control EM coordinating steam valves, cooling valves, and a circulation pump; a Raw Material Dosing EM coordinating a block valve, flowmeter, and metering pump).
- Control Module (CM) (Level 1): The lowest-level physical automation entity. A CM represents an individual actuator, sensor, or basic regulatory control loop acting as an atomic entity (e.g., a discrete solenoid-operated block valve, an analog flow control loop, a variable speed motor starter).
The ISA-88 Procedural Model Hierarchy
The Procedural Model defines the sequence of operations required to manufacture a product. It consists of a four-level hierarchy that directly maps to the physical equipment hierarchy:
+-------------------------------------------------------------------------+
| PROCEDURAL MODEL TO PHYSICAL MODEL MAPPING |
+-------------------------------------------------------------------------+
| Procedural Model Entity | Maps Directly To Physical Entity |
+-------------------------------------------------------------------------+
| 1. PROCEDURE | PROCESS CELL |
| (Overall batch sequence) | (All vessels in cell) |
| | | | |
| 2. UNIT PROCEDURE | UNIT |
| (Sequence inside one vessel) | (Single vessel, e.g., Reactor) |
| | | | |
| 3. OPERATION | UNIT (Major processing task) |
| (Major processing change) | (e.g., Reaction Phase Group) |
| | | | |
| 4. PHASE | EQUIPMENT MODULE / CONTROL MODULE |
| (Smallest executable step) | (e.g., Heat Jacket, Dose Reactant) |
+-------------------------------------------------------------------------+
Procedural Elements Defined
- Procedure: The highest-level procedural sequence. Defines the overall strategy for producing a complete batch from raw materials to final bulk product across the entire Process Cell.
- Unit Procedure: A discrete procedural sequence that executes entirely within a single Unit.
- Engineering Constraint: A Unit Procedure cannot span across multiple units. If a batch moves from Reactor R-101 to Crystallizer C-102, Unit Procedure 1 (Reaction) completes in R-101, and Unit Procedure 2 (Crystallization) initiates in C-102.
- Operation: An independent procedural sequence within a Unit Procedure that carries out a distinct chemical, physical, or biological transformation (e.g., Charge Solvent Operation, Exothermic Reaction Operation, Vacuum Stripping Operation). An Operation starts with the Unit in a defined initial state and terminates leaving the Unit in a defined final state.
- Phase: The smallest, lowest-level procedural element in the S88 hierarchy. Phases are the actual executable software modules that interface directly with physical Equipment Modules and Control Modules (e.g., Add Catalyst Phase, Ramp Temperature Phase, Agitate at 200 RPM Phase). Phases can be sequenced, repeated, or executed in parallel within an Operation.
Recipe Hierarchy & Recipe Components
ANSI/ISA-88 categorizes recipes into four distinct tiers based on the organizational and engineering level at which they reside:
+-------------------------------------------------------------------------+
| ISA-88 RECIPE HIERARCHY |
+-------------------------------------------------------------------------+
| 1. GENERAL RECIPE : Corporate R&D, equipment-independent formulation |
| | |
| 2. SITE RECIPE : Tailored for local site materials, utilities, lang |
| | |
| 3. MASTER RECIPE : Equipment-specific for a target Process Cell |
| | |
| 4. CONTROL RECIPE : Dynamic run-time instance executed for a real batch |
+-------------------------------------------------------------------------+
The Four Recipe Tiers
- General Recipe: Enterprise-level recipe developed by research and development. Completely equipment-independent. Defines raw chemical stoichiometry, molar ratios, target yields, and general processing guidelines.
- Site Recipe: Adapted from a General Recipe for a specific geographic manufacturing facility. Accounts for local raw material purities, regional utility constraints (e.g., cooling tower water temperature limitations), local language, and regional environmental regulations.
- Master Recipe: Targeted to a specific Process Cell and equipment train. Contains cell-specific equipment constraints, scaled formulas, and executable procedural logic linking specific physical units, EMs, and phases. Serves as the validated template for commercial production.
- Control Recipe: The dynamic, real-time instance of a Master Recipe created to execute an individual physical batch. When an operator or MES schedules a batch, the system instantiates a Control Recipe with a unique Batch ID, scheduled start time, actual equipment allocated, actual raw material lot numbers, and operator manual inputs. Historical batch logs (electronic batch records per 21 CFR Part 11) record directly against the Control Recipe.
Mandatory Components of a Recipe
Clause 5.3 of ANSI/ISA-88 mandates that every Master and Control recipe contain five specific informational sections:
- Header: Administrative metadata (Recipe Name, Version, Author, Batch ID, Date of Approval).
- Formula: Process inputs (raw material quantities, lot requirements), process parameters (temperature setpoints, agitation speeds, hold durations), and expected outputs (theoretical yield, byproducts).
- Equipment Requirements: Defines required equipment classes, materials of construction (e.g., glass-lined vs hastelloy), minimum vessel capacity, and heating/cooling utility ratings.
- Procedure: The executable procedural logic defining the exact sequence, transitions, and parallel branches of unit procedures, operations, and phases.
- Other Information: Ancillary support documentation, including Material Safety Data Sheets (MSDS), standard operating procedures (SOPs), environmental disposal rules, and personal protective equipment (PPE) mandates.
Unit Arbitration & Shared Equipment Resources
In modern multi-product batch plants, multiple units often share ancillary equipment. Examples include a shared bulk acid charging manifold, a shared solvent recovery condenser, or a centralized Clean-In-Place (CIP) wash skid.
When two or more autonomous units simultaneously request access to a shared resource, the automation system must resolve the conflict through Arbitration:
+-------------------------------------------------------------------------+
| SHARED RESOURCE ARBITRATION |
| |
| +-----------------------+ +--------------------------+ |
| | Unit R-101 (Batch A) | | Unit R-102 (Batch B) | |
| | Needs CIP Skid | | Needs CIP Skid | |
| +-----------------------+ +--------------------------+ |
| \ / |
| \ / |
| v v |
| +------------------------------------+ |
| | ARBITRATION MANAGER / LOCKER | |
| | (First-Come First-Served / FCFS) | |
| +------------------------------------+ |
| | |
| v |
| +-----------------------+ |
| | Shared CIP Wash Skid | |
| +-----------------------+ |
+-------------------------------------------------------------------------+
Arbitration Mechanisms & Deadlock Prevention
- Exclusive-Use Resources: Equipment that can only be allocated to a single unit at a time (e.g., a shared charging manifold). The unit must acquire an exclusive software token (semaphore lock) before executing its phase and release the token immediately upon completion.
- Shared-Use Resources: Equipment that can support multiple units simultaneously up to a rated capacity (e.g., a shared cooling water refrigeration header).
- Deadlock ("The Deadly Embrace"): Occurs when Unit 1 holds Resource A and requests Resource B, while Unit 2 simultaneously holds Resource B and requests Resource A. Neither unit can proceed, resulting in an unrecoverable system freeze. ISA-88 systems prevent deadlocks by enforcing atomic multi-resource locking (a unit acquires all required shared resources simultaneously or releases all held resources if one is unavailable).
The ISA-88 Phase State Transition Model
ANSI/ISA-88 defines a standardized State Machine that governs the real-time operational status of batch phases. Every executable phase must comply with this formal transition logic:
+-------------------------------------------------------------------------+
| ISA-88 PHASE STATE MACHINE |
+-------------------------------------------------------------------------+
| |
| +----------+ START Command |
| | IDLE | ------------------------+ |
| +----------+ | |
| ^ v |
| | RESET +-----------+ |
| | | RUNNING | |
| +----------+ +-----------+ |
| | COMPLETE | <------------------/ | | \ |
| +----------+ Execution Done | | \ |
| HOLD Cmd | | \ ABORT Cmd |
| +-------+ | \ |
| v | v |
| +-----------+ | +-----------+ |
| | HOLDING | | | ABORTING | |
| +-----------+ | +-----------+ |
| | | | |
| v STOP Cmd | v |
| +-----------+ | | +-----------+ |
| RESTART Command | HELD | | | | ABORTED | |
| +--------------+ +-----------+ | | +-----------+ |
| | | | | |
| v +-----+ | | |
| +------------+ | | | |
| | RESTARTING | v v v |
| +------------+ +----------+ |
| | | STOPPING | |
| +---> (To RUNNING) +----------+ |
| | |
| v |
| +----------+ |
| | STOPPED | |
| +----------+ |
+-------------------------------------------------------------------------+
States Defined: Quiescent vs. Transient
- Resting (Quiescent and Final) States: States in which the procedural element waits for a command:
IDLE,HELDandPAUSED, plus the final statesCOMPLETE,STOPPEDandABORTED. - Active (Transient) States: States in which the element executes logic:
RUNNING(normal processing) and the transitional statesPAUSING,HOLDING,RESTARTING,STOPPINGandABORTING. ISA-88 has noSTARTINGstate; that state belongs to the PackML machine model.
Critical Operational Distinctions: HOLD vs. STOP vs. ABORT
A frequent testing area on the CAP exam is the rigorous operational and safety distinction between the HOLD, STOP, and ABORT commands:
| Command | State Progression | Equipment Action | Resumable? | Typical Use Case |
|---|---|---|---|---|
| HOLD | RUNNING HOLDING HELD | Suspends active processing in an orderly, safe manner. Closes dosing valves; maintains current temperature and agitation. | YES (Via RESTART command back to RUNNING) | Minor utility excursion (e.g., temporary chilled water pressure dip) or operator inspection pause. |
| STOP | RUNNING STOPPING STOPPED | Orderly, controlled, permanent termination of phase logic. Completes critical transfer step, empties delivery lines, and safely shuts down. | NO (Phase terminates; batch procedure skips to recovery or ends) | Product quality failure, out-of-spec test result, or premature batch conclusion. |
| ABORT | RUNNING ABORTING ABORTED | Immediate emergency shutdown. Halts logic instantly without orderly cleanup. Drives all actuators to designated emergency fail-safe positions. | NO (Requires manual equipment inspection and hard reset) | Imminent safety threat, toxic runaway, pipe rupture, or E-stop activation. |
Realistic Industrial Scenario: Active Pharmaceutical Ingredient (API) Synthesis
A biopharmaceutical plant manufactures an oncology drug substance via a two-stage batch synthesis in Process Cell 01, consisting of Synthesis Reactor R-201 and Crystallizer C-201.
Recipe Execution Walkthrough
- Control Recipe Instantiation: The plant MES receives a production order for Batch
API-2026-08. It downloads Master RecipeMR_ONCO_V4into the DCS Batch Executive, generating Control RecipeCR_API-2026-08. - Unit Procedure 1: Synthesis (in Reactor R-201):
- Operation 1: Inerting: Executes
Phase_NitrogenPurge. Checks reactor oxygen sensor . - Operation 2: Solvent Charge: Executes
Phase_DoseSolvent. Commands Raw Material Dosing EM to meter of methanol via mass flowmeter FT-201. - Operation 3: Reaction: Executes
Phase_HeatAndAgitate(, ) in parallel withPhase_CatalystFeed. The catalyst dosing pump runs until is fed.
- Operation 1: Inerting: Executes
- Arbitration Event: When the reaction completes, Unit Procedure 1 initiates
Phase_TransferToCrystallizer. The transfer requires access to the shared Transfer Line EM. Crystallizer C-201 is currently finishing a CIP wash. The arbitration manager holds Reactor R-201 in a wait state until C-201 completes its CIP and signalsIDLE. Once C-201 is acquired, the transfer phase executes. - Abnormal Condition Handling: During catalyst feeding, a cooling water supply pump trips, causing reactor temperature to rise above the warning boundary (). The batch executive issues an automatic HOLD command:
- Phase transitions
RUNNINGHOLDINGHELD. - Catalyst dosing pump stops instantly. Agitation remains active at to prevent thermal hot spots.
- Standby cooling pump auto-starts, restoring jacket flow. Temperature drops to .
- Operator issues RESTART command. Phase transitions
HELDRESTARTINGRUNNING, and catalyst feed resumes seamlessly.
- Phase transitions
Common Exam Traps
- Believing a Unit Procedure Can Span Multiple Units: A Unit Procedure is strictly bounded to a single Unit. If a batch process transfers material from a reactor to a filter-dryer, that transfer marks the boundary between two separate Unit Procedures.
- Allowing Multiple Batches Inside a Single Unit: By definition under ISA-88, a Unit can process only one batch at a time. Continuous multi-stage vessels (like continuous plug-flow reactors) are not Units under standard batch modeling.
- Confusing STOP and ABORT Actions: An exam question may describe an orderly shutdown that flushes a transfer line and empties a pump before stopping. That is a STOP, not an ABORT. An ABORT terminates execution immediately without regard to line flushing or orderly material recovery.
- Assuming the Control Recipe is Created by R&D: The General Recipe is created by corporate R&D; the Master Recipe is created by plant automation engineering for a specific process cell; the Control Recipe is instantiated at run-time by the batch executive or MES for a single physical batch.
An automation consultant is reviewing an ISA-88 batch physical model for a brewery. The design document defines a 4-vessel brewhouse and asserts that the Lauter Tun vessel can simultaneously process the sparging of Batch A while pre-mashing Batch B. According to ANSI/ISA-88, why is this physical model configuration invalid?
The Lauter Tun must be modeled as a Control Module rather than a Unit because it lacks an internal agitator motor
By definition under the ISA-88 Physical Model, a Unit can process only one batch at a time
Liquid filtration equipment is classified exclusively as Equipment Modules and cannot be assigned independent station addresses
A Process Cell cannot contain more than three physical vessels without deploying an external MES scheduler
In a specialty chemical batch facility, a master recipe contains a procedural sequence that transfers slurry from Blend Tank T-101, through a shared centrifugal pump, into Hold Tank T-102. Under the ANSI/ISA-88 Procedural Model hierarchy, how must this sequence be structured across procedural entities?
Split it into two unit procedures, one in Blend Tank T-101 and one in Hold Tank T-102, coordinated through shared-resource arbitration
The entire sequence must be encapsulated within a single Phase because Phases are the only entities permitted to command physical motors
A single Unit Procedure executes continuously across both tanks, treating the entire transfer train as an atomic Control Module
The procedure must be modeled as a General Recipe because equipment-specific transfers cannot be validated in Master Recipes
During the execution of an exothermic nitration phase in a batch reactor, an operator observes that reactor pressure is rising rapidly toward the safety relief valve setting due to an uncontrollable thermal runaway. The operator must initiate a command from the HMI batch console. Which ISA-88 command should be executed, and what is its operational behavior?
STOP, which allows the current reaction operation to complete before initiating an orderly line flush
PAUSE, which freezes software timer execution while allowing analog flow loops to maintain current valve positions
HOLD, which gently closes raw material dosing valves while keeping jacket cooling water circulating until restarted
ABORT, which drives the phase to its emergency safe state at once, without waiting for orderly step completion
Sections you finish are checked off in the contents.