IEC TS 61945-2000 specifies the real-time basic control extensions for the CAMAC system, providing standardized interrupt handling, LAM (Look-At-Me) processing, and deterministic timing mechanisms essential for nuclear reactor control and safety systems. This article examines the architecture, protocol details, and engineering implementation of real-time CAMAC control.
1. Real-Time Control Requirements in Nuclear Instrumentation
Nuclear instrumentation systems impose exceptionally demanding real-time requirements. From reactor trip signals that must be processed within milliseconds to coolant flow adjustments requiring sub-millisecond response, the deterministic behavior of data acquisition and control systems is paramount. IEC TS 61945-2000 addresses these requirements by standardizing the real-time control capabilities of the CAMAC system.
The standard focuses on three fundamental aspects of real-time operation:
- Interrupt handling: Prioritized processing of asynchronous events from instrumentation modules.
- LAM (Look-At-Me) management: Standardized mechanisms for modules to signal attention requests to the controller.
- Deterministic timing: Guaranteed maximum latencies for control operations and interrupt response.
Design Insight: The CAMAC real-time control model prioritizes determinism over raw throughput. While a standard CAMAC dataway cycle operates at approximately 1 MHz, the interrupt latency guaranteed by IEC TS 61945 is under 5 microseconds in a single-controller configuration — deterministic enough for all but the fastest nuclear safety applications. For faster response requirements, dedicated hardwired trip systems are recommended.
2. LAM Interrupt Architecture
2.1 LAM Sources and Grading
The LAM (Look-At-Me) is CAMAC’s mechanism for modules to request service from the controller. IEC TS 61945 defines a hierarchical LAM structure with up to 64 LAM sources per crate, organized into a priority-graded system. Each module can generate one or more LAM requests, which are collected by the crate controller and presented to the host computer or processed autonomously.
Table 1: IEC TS 61945 LAM Priority Grading Scheme
| Grade |
LAM Sources |
Maximum Response Time |
Typical Source |
| Grade 1 (Critical) |
1-8 |
< 5 µs |
Reactor trip, radiation alarm |
| Grade 2 (High) |
9-24 |
< 25 µs |
Process deviation, coolant alert |
| Grade 3 (Medium) |
25-48 |
< 100 µs |
Data ready, threshold exceeded |
| Grade 4 (Low) |
49-64 |
< 1 ms |
Status change, diagnostic event |
2.2 LAM Processing Modes
IEC TS 61945 defines three distinct modes for LAM processing:
- Polled Mode: The controller periodically scans LAM sources in priority order. This is the simplest approach but introduces latency proportional to the scan period. Suitable for non-critical status monitoring.
- Vectored Mode: Modules provide an interrupt vector with their LAM request, allowing the controller to identify the requesting module without scanning. This reduces interrupt latency significantly and is the recommended mode for safety-related applications.
- Autonomous Mode: The crate controller processes certain LAM requests locally, executing predefined CAMAC operations without host CPU intervention. This mode is valuable for rapid-response scenarios where every microsecond counts.
3. Deterministic Timing and Control Operations
3.1 Timing Guarantees
The real-time capability of a CAMAC system depends on its ability to provide predictable timing. IEC TS 61945 defines the following guaranteed timing parameters:
Table 2: IEC TS 61945 Timing Specifications
| Parameter |
Guaranteed Value |
Condition |
| LAM response latency (Grade 1) |
< 5 µs |
Single controller, no block transfer in progress |
| LAM response latency (Grade 1) |
< 15 µs |
During active block transfer |
| Dataway cycle time (minimum) |
1 µs |
Standard CAMAC cycle |
| LAM vector acquisition |
< 2 µs |
From LAM assertion to vector available |
| Controller context switch |
< 500 ns |
Hardware-level arbitration |
| Watchdog timeout range |
10 µs – 10 ms |
Programmable per application |
3.2 Real-Time Control Commands
Beyond standard CAMAC read/write operations, IEC TS 61945 introduces specialized control commands for real-time operation:
- F(8) Test LAM: Reads the LAM status of a module without resetting it — essential for polling implementations.
- F(10) Clear LAM: Explicitly clears a specific LAM source after servicing.
- F(24) Disable LAM: Temporarily masks a module’s LAM output, used during initialization or known busy periods.
- F(26) Enable LAM: Re-enables LAM generation after a disable command.
- F(27) Read Vector: Obtains the interrupt vector from a module for vectored LAM processing.
Important Safety Consideration: When implementing LAM masking in nuclear safety systems, ensure that disabled LAMs cannot remain masked indefinitely. Implement a “LAM watchdog” that alerts operators if a critical LAM source has been masked for longer than a configurable timeout. In several documented nuclear incidents, incorrectly masked alarms contributed to delayed operator response. The standard recommends automatic re-enabling of safety-related LAMs after a maximum masking period of 1 second.
4. Engineering Implementation for Nuclear Applications
4.1 System Architecture Considerations
When designing a real-time CAMAC control system for nuclear applications, several architectural decisions significantly impact performance:
- Crate controller selection: Intelligent crate controllers with onboard processors can handle LAM processing locally, offloading the host computer and reducing interrupt latency. The IEC TS 61945 autonomous mode is particularly effective when implemented in an FPGA-based intelligent controller.
- LAM-to-controller mapping: In multi-controller systems (per IEC 61943), critical LAMs should be routed to the highest-priority controller to ensure minimum response latency.
- Interrupt batching: For high-frequency LAM sources (e.g., pulse counters), batch processing multiple LAMs in a single interrupt service routine reduces overhead but increases latency. A balance must be struck based on the specific application requirements.
4.2 Verification and Validation
For nuclear safety systems, the real-time behavior must be verified under all operating conditions:
- Worst-case analysis: Calculate the maximum LAM latency considering simultaneous LAMs from multiple sources, ongoing block transfers, and dataway contention.
- Stress testing: Verify system response with all LAM sources generating requests at maximum frequency simultaneously.
- Timing measurement: Use oscilloscope or logic analyzer measurements of critical signal paths (BTA, BTV, LAM lines) to confirm timing specifications are met.
Engineering Best Practice: In nuclear reactor protection systems, implement a diverse backup for CAMAC-based real-time control. While IEC TS 61945 provides excellent deterministic performance, a diverse hardwired trip system operating independently of the CAMAC dataway provides defense against common-mode failures. This approach aligns with the diversity requirements of IEC 61513 for nuclear power plant I&C systems. Always verify that the combined response time of the CAMAC system plus the diverse backup meets the plant’s safety analysis acceptance criteria.
5. Frequently Asked Questions
Q1: Can IEC TS 61945 real-time control be used for reactor protection?
Yes, but typically not as the sole protection mechanism. CAMAC-based real-time control can implement reactor protection functions when the overall system response time meets the plant’s safety analysis requirements. However, regulatory practice in most countries requires diverse backup systems (typically hardwired or based on different technology) to prevent common-mode failures. IEC TS 61945 systems are commonly used for reactor regulating systems and process control rather than primary protection.
Q2: How does the autonomous LAM processing mode work?
In autonomous mode, the crate controller contains a pre-programmed list of CAMAC operations to execute when a specific LAM is received. For example, upon receiving a LAM from an analog input module, the controller autonomously reads the conversion result, checks it against a threshold, and if exceeded, sets a digital output — all without host computer involvement. This reduces response time from microseconds to sub-microsecond range for the entire control loop.
Q3: What happens when multiple LAMs arrive simultaneously?
The priority grading system resolves simultaneous LAMs. The controller services the highest-grade LAM first, then proceeds to lower grades. Within the same grade, the LAMs are serviced in order of their crate station number (lower station numbers first). The standard guarantees that all pending LAMs will be serviced within the maximum latency specified for their grade, even under worst-case simultaneous assertion conditions.
Q4: Is IEC TS 61945 compatible with modern fieldbus and network-based I&C systems?
Yes, through gateway controllers. Many nuclear facilities use CAMAC front-end systems with IEC TS 61945 real-time control for local data acquisition and control, then communicate with higher-level plant systems via fieldbus gateways (Profibus, Modbus TCP, or proprietary protocols). The gateway handles protocol conversion while the CAMAC subsystem maintains its deterministic real-time performance for time-critical functions.