foc-tuning

star 2

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

lifesawesome By lifesawesome schedule Updated 2/21/2026

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

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/lifesawesome/ODrive-Custom --skill foc-tuning
Repository Details
star Stars 2
call_split Forks 3
navigation Branch main
article Path SKILL.md
More from Creator
lifesawesome
lifesawesome Explore all skills →