🤖 AITL-H: Hybrid Intelligent Control Architecture

Back to Samizo-AITL Portal MIT License

⚠️ Under Development
This project is currently in progress, and its structure, specifications, and implementation details are subject to change.
Please check the latest repository contents before use or reference.


Language GitHub Pages 🌐 GitHub 💻
🇺🇸 English GitHub Pages EN GitHub Repo EN
🇯🇵 Japanese GitHub Pages JP GitHub Repo JP

AITL-H (All-in-Theory Logic - Hybrid) is a three-layered intelligent control framework designed for humanoid robots and adaptive systems.
By integrating FSM (Instinct) × PID (Reason) × LLM (Intelligence), AITL-H enables real-time, stable, and flexible control.


🧭 Overview

Item Description
Name AITL-H (Hybrid)
Purpose Establish structured intelligent control for humanoid robotics
Core Layers - FSM: State-based behavioral control
- PID: Physical control of angles and velocities
- LLM: High-level reasoning, dialogue, and learning

🧘 Three-Layer Architecture

Layer Function Example Modules
FSM State-based logic control fsm_engine.py, fsm_state_def.yaml
PID Continuous physical control pid_controller.py, pid_module.py
LLM Language-driven reasoning llm_interface.py, llm_logger.py

Each layer is loosely coupled but functionally integrated, supporting modular development and step-by-step fusion.

AITL-H Architecture</div>


📘 PoC Design Manual (16 Chapters)

A complete manual is available for PoC development using FSM × PID × LLM.
▶︎ 📖 Read the Manual


🧪 PoC Projects

Title Description Path
🧭 Gimbal Control (FSM + PID + LLM) Hybrid closed-loop control PoC/gimbal_control
⚙️ Verilog Auto-Generation (FSM + PID) YAML → C → Verilog synthesis PoC/verilog_demo
🔍 Other PoCs (Coming soon) -

This PoC demonstrates a 3-axis gimbal controller based on the AITL-HX architecture.
The flow: Natural Language → FSM → PID → Actuator, forming a hybrid intelligent control loop.

📂 PoC/gimbal_control/
📘 See README

gimbal_architecture

Layer Role
LLM Generates goals and context from user input
FSM Manages state transitions: idle / tracking / recovery
PID Controls Roll, Pitch, Yaw
Sensors Simulated 3-axis IMU
Actuators PWM-based motor simulation

Key topics: hybrid control architecture, natural language to motion, MIMO + logic state integration


⚙️ PoC: Verilog Auto-Generation (FSM × PID)

This PoC demonstrates automatic generation of Verilog from FSM and PID YAML specs, supported by ChatGPT.

📂 PoC/verilog_demo/
📘 See README

Component Description
Input test_config.yaml (FSM + PID specs)
Generation fsm_auto_gen.py, pid_auto_gen.py → C code
Integration unified.c → GPT-based Verilog generation
Verification tb_aitl_top.v with iverilog

Tools used: ChatGPT, auto_generator/, logic_templates/


🤖 AI-Assisted Design Tools

The accelerated_design/ directory includes GPT-supported design modules:

🧠 Built for a human-AI co-design loop


📂 Directory Structure

AITL-H/
├── theory/                # Architecture, principles, concepts
├── PoC/                   # Proof-of-concept projects (gimbal, Verilog)
├── implementary/          # Python modules for FSM, PID, LLM
└── accelerated_design/    # GPT-assisted co-design tools
Folder Description
theory/ Layered control theory and architecture
PoC/ Demonstration projects and evaluation logs
implementary/ Core logic modules
accelerated_design/ GPT-integrated design support

🚀 Application Areas


🎓 Educational Linkage: EduController

AITL-H is structurally linked with EduController, an educational framework for classical and AI control:

Part Topics Linkage
Part 1–5 Classical & Modern Control Basis for PID layer
Part 6–8 NN & RL Control AI-based expansion
Part 9 FSM × PID × LLM Implements AITL-H structure

Also integrated with:

🔹 matlab_tools

🔹 SoC_DesignKit_by_ChatGPT

🧠 A unified Education × Implementation × AI design pipeline

🔗 Visit EduController


🧩 SoC Integration via Edusemi

For extending AITL-H into RTL, GDSII, and physical chip design, refer to Edusemi-v4x:

Chapter Topic
Chapter 3 FSM × PID × LLM in SoC
Chapter 4 OpenLane RTL to GDSII
Chapter 5 DRC / LVS / DFM flow


👤 Author Information

Shinichi Samizo

📌 Areas of Expertise:

📬 Contact


© 2025 Shinichi Samizo — MIT License
All source code, diagrams, and documents are freely available under the MIT License.


💬 Share ideas or questions at AITL-H Discussions