Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 4.75 KB

File metadata and controls

93 lines (66 loc) · 4.75 KB
layout clean
permalink /docs/chapter01_aitl_architecture.html
title 第01章:AITL三層アーキテクチャ設計 / AITL Three-Layer Architecture Design
show_title false
description AITL-H三層制御(FSM/PID/LLM)の役割・責務・連携構造を体系的に解説。

🏗 第01章:AITL三層アーキテクチャ設計

Chapter 01: AITL Three-Layer Architecture Design

要旨 / Abstract
本章では AITL-H(All-in-Theory Logic for Humanoid)三層制御アーキテクチャについて、各層の役割・責任分担・相互接続方法を体系的に解説します。
This chapter explains the three-layer control architecture of AITL-H, clarifying the roles, responsibilities, and interconnections between each layer.


🧠 1. AITL三層の再確認 / Revisiting the Three Layers

層 / Layer 役割 / Role 実装例 / Implementation Example 制御対象 / Control Target 備考 / Notes
知性(Intelligence) 状況判断・命令生成 / Situation assessment & command generation LLM FSM構成・補正 / FSM configuration & correction 高次抽象処理 / High-level abstraction
理性(Reason) フィードバック制御 / Feedback control PID 速度・角度など / Speed, angle, etc. アナログ量補正 / Regulates analog quantities
本能(Instinct) 状態遷移・行動制御 / State transition & action control FSM 行動選択 / Action selection 定義ルール準拠 / Rule-based

設計思想 / Design Philosophy: 責務分離により検証容易性移植性拡張性を確保。
Clear separation of responsibilities ensures testability, portability, and scalability.


🧩 2. 情報の流れと責任の明確化 / Information Flow & Responsibility

flowchart TB
    LLM["LLM\n知性(命令解釈・目的設定)\nIntelligence (Command Interpretation, Goal Setting)"]
    FSM["FSM\n本能(状態遷移・行動生成)\nInstinct (State Transition, Action Generation)"]
    PID["PID\n理性(目標との差分補正)\nReason (Error Compensation)"]
    PWM["PWM信号\n→ モータ出力\nPWM Signals → Motor Output"]

    LLM -->|UART| FSM
    FSM -->|target_speed, target_angle| PID
    PID --> PWM
Loading

流れの特徴 / Flow Characteristics

  • 抽象 → 具体 / Abstract → Concrete
  • LLMの曖昧な命令はFSMで確定 / Ambiguous high-level intent is concretized by FSM
  • FSMの行動目標をPIDが物理信号に変換 / PID converts goals to physical actuation

🧱 3. モジュール独立性と再利用性 / Module Independence & Reusability

  • PID のゲイン・応答特性は FSM/LLM の変更と非依存
  • FSM の状態定義・遷移は センサ/PID疎結合で独立設計
  • LLM の命令生成は FSM構成に依存せず柔軟に拡張可能

設計意図 / Design Intent:
独立性を高めるほど、テスト分離交換可能性バージョン進化が容易。


🔁 4. 応用拡張の方向性 / Directions for Extension

  • FSMの動的構築・再構成 by LLM → 自己修復・自己最適化
  • PIDゲインの自動補正 using learning signals (LLM/FSM)
  • LLMの記憶・文脈保持による長期適応・セーフティガードの強化

🔚 5. まとめ / Summary

AITL三層モデルは、**多階層制御(Hierarchical Control)**のAI拡張です。
決定性(FSM) × 連続制御(PID) × 柔軟知性(LLM) を分離しつつ連携させ、適応的・堅牢なシステムを実現します。


📝 ライセンス / License


🔗 ナビゲーション / Navigation

📄 READMEに戻る / Back to README
🏠 AITL-Hトップ / AITL-H Top