๐ ฑ๏ธ AITL Controller B-Type
๐ก๏ธ Reliability-First Supervisory Control Architecture
๐ Links
| Language | GitHub Pages ๐ | GitHub ๐ป |
|---|---|---|
| ๐บ๐ธ English |
๐งญ Overview โ Why B-Type Exists
AITL Controller B-Type is not an extension of adaptive capability,
but an architectural correction derived from A-Type reliability analysis.
The core lesson from A-Type is clear:
Adaptation capability does not guarantee long-term reliability.
While A-Type demonstrates how adaptation can be performed,
B-Type defines when adaptation is allowed โ and when it must be suppressed.
In short:
B-Type = Adaptation under explicit reliability permission
๐ Design Lessons Inherited from A-Type
Reliability analysis under plant aging revealed the following:
- Adaptive control can temporarily compensate response delay ($\Delta t$)
- However, it may also cause:
- ๐ excessive gain escalation
- ๐ actuator saturation and authority loss
- ๐ long-term reliability degradation
- These risks are not detectable from waveform performance alone
This leads to a decisive architectural requirement:
Adaptation must be supervised by reliability metrics, not performance metrics.
๐ Reference:
- A-Type Reliability Analysis
โ../reliability/
๐งฑ Core Design Philosophy of B-Type
B-Type is built on three non-negotiable principles.
โ Adaptation Is Permission-Based
Adaptation is never a default behavior.
- ๐ค it is considered
- ๐ it is evaluated
- ๐ฆ it is explicitly permitted or rejected
based on predefined reliability conditions.
Adaptation is a privilege, not a right.
โก FSM Judges Reliability โ Not Performance
A Finite State Machine (FSM) acts as a supervisory layer that evaluates
reliability deviation rather than performance improvement.
Typical monitored quantities include:
- โฑ๏ธ response timing deviation ratio ($\Delta t / \Delta t_0$)
- ๐ amplitude or authority deviation
- ๐๏ธ gain deviation ratio ($K / K_0$)
- ๐ saturation ratio (VโI limits)
- ๐ adaptation frequency (chattering detection)
FSM responsibilities are intentionally limited:
- FSM does not compute gains
- FSM does not optimize
- FSM only decides whether pre-approved actions are allowed
๐ Details:
- FSM guard metrics and logic
โfsm_guard.md
โข Guaranteed Fallback to Fixed PID
Under all conditions, the controller must be able to revert to a
conservatively designed fixed PID controller.
This guarantees:
- ๐ minimum safe operation
- ๐ deterministic behavior
- ๐ explainability and auditability
The fixed PID is not a failure mode.
It is the reliability floor of the system.
๐ฆ Permission Logic (Minimal Specification)
B-Type formalizes adaptation control using an explicit permission logic.
Adaptation is enabled only if all reliability conditions are satisfied:
- $\Delta t / \Delta t_0 \le \Delta t_{\text{allow}}$
(temporal reliability is within acceptable degradation) - $\max |e| \le e_{\text{allow}}$
(safety envelope is preserved) - $|\Delta K_p| / K_{p0} \le K_{p,\text{rate allow}}$
(adaptation aggressiveness is bounded)
If any condition is violated:
- โ adaptation is disabled
- โฉ๏ธ controller falls back to fixed-gain PID
- ๐ก๏ธ FSM remains in a reliability protection state until recovery
This logic ensures that adaptive behavior is
explicitly gated by reliability, not by optimism.
๐งฉ Architecture Positioning (PID ร FSM ร LLM)
B-Type explicitly separates responsibilities across time scales:
| Layer | Role | Time Scale |
|---|---|---|
| PID | Real-time control execution | ms |
| FSM | Reliability supervision & permission | sโmin |
| Human / LLM | Gain design & validation | daysโyears |
Important clarification:
- ๐ซ LLM is never a runtime decision-maker
- ๐ง LLM may assist offline gain design
- ๐ค final approval always belongs to the engineer
๐ Architecture details:
- PID ร FSM ร LLM structure
โarchitecture.md
โ๏ธ Positioning of A-Type vs B-Type
| Aspect | A-Type | B-Type |
|---|---|---|
| Purpose | Demonstrate adaptability | Guarantee reliability bounds |
| Adaptation | Always enabled | Conditionally permitted |
| Decision basis | Performance improvement | Reliability deviation |
| Gain handling | Dynamic | Pre-approved assets only |
| Intended use | Exploration / PoC | Deployment / long-term operation |
B-Type does not replace A-Type.
It formalizes the operational discipline required to deploy A-Type safely.
๐ Mapping to Existing Demonstrations
B-Type intentionally reuses A-Type demonstrations,
but reinterprets their meaning through a reliability lens.
Note:
Demo numbers below refer to conceptual roles.
Concrete evidence is provided by A-Type demos (12, 13, 15), which are reinterpreted through B-Type reliability supervision.
- ๐ degradation visualization โ baseline deviation reference
- $\Delta t$ / amplitude metrics โ FSM inputs
- ๐งพ FSM explainability โ permission decision rationale
- ๐งฎ reliability cost trade-off โ design-time decision support
๐ Demo correspondence:
- A-Type โ B-Type demo mapping
โdemo_mapping.md
๐ง Summary โ What B-Type Actually Is
AITL Controller B-Type is:
- ๐ง a controller that limits adaptation
- ๐ก๏ธ a system that prioritizes not breaking over optimizing
- ๐งฉ an architecture that explicitly encodes engineering judgment
In essence:
A-Type shows that a system can adapt.
B-Type ensures the system knows when it should not.
๐ Recommended Reading Order
-
Architecture overview
โarchitecture.md -
FSM reliability guard (metrics & logic)
โfsm_guard.md -
Reliability cost formulation
โreliability_cost.md -
Deviation threshold design policy
โthreshold_guidelines.md -
Demo mapping and integration
โdemo_mapping.md
End of B-Type Overview