This article introduces AITL-controller,
a lightweight framework that integrates a three-layer control architecture:
The framework is designed for education and research use,
making advanced control architectures accessible and reproducible.
Official site:
https://samizo-aitl.github.io/aitl-controller-a-type/
GitHub repository:
https://github.com/Samizo-AITL/aitl-controller-a-type
AITL-controller is a framework that unifies classical control, formal control, and intelligent control
into a single, coherent architecture suitable for learning and experimentation.
The three layers are clearly separated by responsibility:
This separation is intentional and fundamental.
PID runs at high frequency and handles
millisecond-level real-time behavior,
exactly as in classical control systems.
FSM determines:
It acts as an explicit and inspectable control supervisor.
Typical roles include:
This layer leverages LLM strengths such as:
Traditional control systems can be built using PID and FSM alone,
but they suffer from inherent limitations:
AITL-controller assigns these responsibilities to the LLM layer,
with the goal of enabling:
Self-improving control systems
at the education and research level.
aitl-controller/
βββ core/
β βββ pid/ # PID modules (stability & performance)
β βββ fsm/ # FSM modules (state transitions)
β βββ llm/ # LLM modules (redesign & reasoning)
β
βββ demo/
β βββ inverted_pendulum/ # Inverted pendulum demo
β βββ quadrotor/ # Quadrotor control example
β βββ simple_robot/ # Small-scale robot systems
β
βββ docs/
β βββ architecture/ # Three-layer architecture explanation
β βββ math/ # PID & FSM mathematics
β βββ llm/ # Design guidelines for LLM control
β βββ examples/ # Tutorials
β
βββ assets/ # Figures and workflow materials
The framework core resides in core/,
while demo/ provides immediately runnable examples.
AITL-controller assumes the following control loop:
Sensor β PID β Actuator β Plant
β β
FSM β LLM (Outer loop)
In the inverted pendulum example, the three layers cooperate as follows:
The LLM never directly drives actuators.
Its role is strictly to improve the control structure itself.
In AITL-controller, the LLM layer is assigned three explicit tasks:
All improvements are expressed through
natural language, code generation, or structured design proposals.
git clone https://github.com/Samizo-AITL/aitl-controller.git
cd aitl-controller
pip install -r requirements.txt
Full documentation is available on the
official GitHub Pages site.
AITL-controller is suitable for:
In education, it naturally supports the progression:
Understanding PID/FSM fundamentals
β Improving them using LLMs
AITL-controller integrates three distinct layers:
Built on classical control principles, it aims to become
an educational and research platform for next-generation control systems
in the age of AI.
Official site:
https://samizo-aitl.github.io/aitl-controller-a-type/
GitHub repository:
https://github.com/Samizo-AITL/aitl-controller-a-type