无模型自适应控制(MFAC)工具包。
Project description
mfac-toolkit
面向 SISO 离散时间系统的无模型自适应控制 Python 工具包
安装
PyPI(推荐)
pip install mfac-toolkit
GitHub Release 下载 wheel
从 Releases 下载对应平台的 .whl 后安装:
pip install ./<下载的 whl 文件>
直接克隆使用
仓库内已包含预编译扩展,克隆后即可安装使用:
git clone https://github.com/Zhaojq2003/mfac_toolkit.git
cd mfac_toolkit
pip install -e .
快速开始
from mfac_toolkit import MFACConfig, create_controller
config = MFACConfig.from_yaml("config.yaml")
controller = create_controller(config)
u = controller.update(y=0.0, yd=1.0) # 当前输出、期望输出 → 下一时刻控制输入
运行内置示例:
python -m mfac_toolkit.examples.basic_example
功能
- 支持 CFDL / PFDL / FFDL 三种动态线性化格式
- 极简控制器接口:
controller.update(y, yd) - YAML 配置与参数校验
- 可选的仿真数据记录
示例
mfac_toolkit.examples.basic_example:CFDL 闭环仿真mfac_toolkit.examples.config:YAML 配置示例mfac_toolkit.examples.plants:示例被控对象
文档
许可证
本项目采用 MIT 许可证 开源。
MIT License
Copyright (c) 2026 北方工业大学 RobotX 实验室 (RobotX Lab, North China University of Technology)
Author: Jiqian Zhao zhaojq2003@163.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mfac_toolkit-1.0.2-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: mfac_toolkit-1.0.2-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 277.3 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05993c5ca5b888a14808c791b6c7991d439fa37a9aa7b8819dd3f8608c166050
|
|
| MD5 |
d31d2b68f0483d72ad06acf636c1baaf
|
|
| BLAKE2b-256 |
d2ca3e7384a168515414c9a32d7ece4d63accdb27c9216a5d759f064477486e6
|
File details
Details for the file mfac_toolkit-1.0.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mfac_toolkit-1.0.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 417.5 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ecc1a4b4d694d2b08938be69d45a3b0bf0da03afb191be4afb26e6300950595
|
|
| MD5 |
b0528c6ff5a5619008f6974e687de64b
|
|
| BLAKE2b-256 |
a287632b0c52ac264b1c22847190ea35060c56bee536ad1b88ca783a176ada74
|