foc-tuning

star 1

๐Ÿšง STUB - Automated FOC parameter tuning procedures and optimization

tmcclell By tmcclell schedule Updated 1/22/2026

name: foc-tuning description: ๐Ÿšง STUB - Automated FOC parameter tuning procedures and optimization status: in-development

FOC Tuning Skill (๐Ÿšง In Development)

Status: Stub - Planned for future implementation
Owner: motor-control-engineer.agent

Purpose

This skill will provide automated tuning procedures for Field-Oriented Control (FOC) motor controllers, including current loop, velocity loop, and position loop parameter optimization.

Planned Capabilities

  • Automated current loop bandwidth measurement
  • Velocity loop step response tuning
  • Position loop gain optimization
  • Anti-cogging calibration procedures
  • Stability margin analysis
  • Performance metrics calculation

Dependencies

  • Motor parameter identification
  • System identification tools
  • Control loop simulation capability
  • Hardware-in-the-loop testing infrastructure

Usage Examples (Planned)

# Example: Automated velocity controller tuning
from odrive.tuning import VelocityTuner

tuner = VelocityTuner(axis0)
tuner.measure_inertia()
tuner.auto_tune(target_bandwidth=50.0)  # Hz
tuner.validate_response()

Implementation Status

  • Current loop auto-tuning
  • Velocity loop auto-tuning
  • Position loop auto-tuning
  • Anti-cogging calibration
  • Stability analysis tools
  • Performance validation

Related Skills

  • control-algorithms - Controller implementations
  • sensorless-control - Observer tuning

This skill is currently a placeholder. Implementation pending.

Install via CLI
npx skills add https://github.com/tmcclell/ODrive-tam --skill foc-tuning
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator