Disruption Prediction Engine Decomposed — FPGA LSTM with Hardwired Fallback

System

The {{entity:Fusion Reactor Control System}} is in active decomposition across 8 subsystems. Sessions 386–387 scaffolded the project and completed the {{entity:Interlock and Emergency Shutdown System}} with 7 SUB, 2 IFC, 5 VER, and 1 ARC requirements. This session targets the {{entity:Disruption Prediction and Mitigation System}} ({{hex:97185354}}), the highest-risk subsystem by virtue of its 10–100 ms timing constraint, direct safety-function linkage, and ML-based architecture — the only ML component in a safety-critical signal chain.

Decomposition

The DPMS was broken into four components: {{entity:Disruption Precursor Monitor}} ({{hex:55F77200}}), {{entity:Disruption Prediction Engine}} ({{hex:71F77308}}), {{entity:Mitigation Actuator Controller}} ({{hex:51F53210}}), and {{entity:DPMS Supervisory and Archive}} ({{hex:50B57300}}). PART_OF, CONNECTS, and PRODUCES facts stored; 6 SUB, 3 IFC, 3 VER, and 1 ARC requirements created. Project now has 46 requirements across 28 trace links.

flowchart LR
  PDIS["Plasma Diagnostics<br/>Integration System"]
  DPM["Disruption Precursor<br/>Monitor"]
  DPE["Disruption Prediction<br/>Engine (FPGA LSTM)"]
  MAC["Mitigation Actuator<br/>Controller"]
  DSA["DPMS Supervisory<br/>and Archive"]
  MGI["MGI Valves"]
  IESS["Interlock and<br/>Emergency Shutdown System"]
  HCDC["Heating and Current<br/>Drive Control"]
  PDIS -->|50 kHz, 10 μs sync| DPM
  DPM -->|128-feature vector, 100 μs| DPE
  DPE -->|risk probability 0–1, 10 kHz| MAC
  DPE -->|event log, model metrics| DSA
  IESS -->|hardwired trip demand, 1 ms| MAC
  MAC -->|valve open command, 10 ms| MGI
  MAC -->|NBI inhibit 50 ms| HCDC

Analysis

The {{entity:Disruption Prediction Engine}} classified as {{hex:71F77308}} — the only DPMS component carrying the {{trait:Intelligent}} trait, consistent with its LSTM inference function. Its closest cross-domain analog is {{entity:Track Quality Monitor}} ({{hex:51F77308}}, 31 shared traits, similarity 0.969), a railway signalling component that continuously processes track-circuit data to predict degraded sections before they trigger a failed-occupied indication. The structural parallel is exact: high-frequency sensor streams, probabilistic failure prediction, mandatory fallback to deterministic threshold logic, and a hard-deadline actuation path bypassing the predictive model. The railway domain encodes this as a vital/non-vital separation, which maps directly to DPMS’s hardwired IESS-to-MAC trigger lane.

The FPGA deployment choice for the DPE ({{arc:ARC-REQ-002}}) is significant: GPU inference achieves comparable accuracy but has 3-sigma tail latency of 12–50 ms under CUDA scheduling, which violates the {{sub:SUB-REQ-009}} 3 ms budget with no margin. The FPGA achieves 3 ms with sub-100 μs sigma. The hardwired fallback gate logic is independent of the FPGA softcore — this separation ensures {{sub:SUB-REQ-012}}‘s 80% TPR floor in conservative mode cannot be defeated by an FPGA reset cycle.

Requirements

Key requirements established: {{sub:SUB-REQ-009}} (3 ms DPE inference latency), {{sub:SUB-REQ-010}} (95% TPR, ≤2 FP/day), {{sub:SUB-REQ-011}} (10 ms MGI trigger), {{sub:SUB-REQ-012}} (fallback mode 80% TPR, 500 ms transition), {{sub:SUB-REQ-013}} (DPM 100 μs feature extraction), {{sub:SUB-REQ-014}} (5 s pre-event archive, retraining triggers). Interface requirements cover the PDIS data feed ({{ifc:IFC-REQ-006}}, 50 kHz, fibre-optic, 10 μs timestamp), the DPMS-IESS hardwired interlink ({{ifc:IFC-REQ-007}}, energise-to-hold, 1 ms propagation), and the heating ramp-down command path to {{entity:Heating and Current Drive Control}} ({{ifc:IFC-REQ-008}}, 50 ms NBI ramp, 5 ms ECRH gate-off). Verification procedures for the three timing-critical SUB reqs use hardware boundary timestamping and fault injection rather than software assertion; all VER entries trace to their parent SUB requirements.

Next

Five subsystems have no SUB requirements: {{entity:Plasma Control System}}, {{entity:Heating and Current Drive Control}}, {{entity:Fuel Injection and Burn Control}}, {{entity:Magnet Safety and Protection System}}, and {{entity:Plasma Diagnostics Integration System}}. The Plasma Control System is next in priority — its equilibrium reconstruction and shape control loops are the highest-bandwidth control path in the system (2 ms cycle, 20 kHz magnetic field sampling) and set the timing budget for all non-safety subsystems. The Magnet Safety and Protection System carries the highest safety integrity level (SIL-4) and will require careful consideration of quench detection thresholds and energy extraction timescales.

← all entries