notes
Control

MIT mode (impedance control command)

RobStride / TMotor CyberGear / MyActuator 等が採用する 5 フィールドコマンド。トルク FF は独立だが velocity FF は Kd に結合

要点: MIT mode = 位置 + 速度 + Kp + Kd + トルク FF の 5 フィールドを毎周期送る impedance 制御。トルク FF は独立だが、velocity FF は Kd 経由で入る (独立ゲインなし)。

数字とコマンド#

制御式:

パケット (典型的な CAN payload):

フィールドbits意味
p_des16目標位置 (rad, scale factor でスケール)
v_des12目標速度 (rad/s)
Kp12位置ゲイン
Kd12速度ゲイン (damping)
τ_ff12トルク FF (Nm)

合計 64 bit = 8 バイト。

由来#

MIT Cheetah project (Sangbae Kim 研、2012 頃) が四足歩行用に定義した「compliant actuator command」。impedance control (位置/速度と機械的コンプライアンスを同時指定) の実装。

採用モータ#

MIT command 互換の量産モータ:

  • TMotor CyberGear (Xiaomi、2022 発表)
  • RobStride RS01/RS02/RS03 (2023-)
  • MyActuator (LKMotor) RMD シリーズの一部モード
  • Aegis Actuator
  • Ben Katz の Mini Cheetah actuator (open source design、元祖)

Velocity FF の扱い (misconception 注意)#

「MIT mode に velocity FF は無い」は半分正しい。

独立した Kv gain はない#

理想の分離型 FF は:

K_v (velocity FF gain) が K_d (damping) と独立にチューニングできる。

MIT にはこの K_v がない。

が、v_des で実質的に velocity FF が入る#

MIT 式を展開すると:

の項 が velocity FF として作用する (係数が K_d に結合される制約付き)。

trajectory following で v_des を毎周期送れば、K_d 経由で速度先出しが効く。純粋 FF ではないが、実用上は等価。

実務的な使い分け#

条件推奨アプローチ
低摩擦 / 慣性小 / K_d 大きくてよい機構v_des で velocity FF (MIT だけで完結)
K_d を小さく保ちたい (振動避け、compliance 大) を上位で計算
trajectory generator で加速度も出せるτ_ff = J·a に集約、v_des は残差修正

分離型 FF スタックとの対比#

CanMotorMbed (2026-08 の feature/ff-stack) 等では、K_v (velocity FF gain) と K_d を独立に設定できる設計:

項分離型 FFMIT mode
position setpointposition commandp_des
velocity setpointvelocity FF command (K_v とセット)v_des
velocity FF gain独立 (K_v)K_d に結合
torque/duty FFduty_ff (accel + gravity)τ_ff (独立)
摩擦補償FW 内 config (coulomb/viscous)上位で τ_ff に折り込む

設計思想の違い:

  • MIT: 「機械的インピーダンスを指定する」= K_p / K_d は機構特性
  • 分離型: 「速度追従と damping を別々に tune できる」

パラメータチューニングの目安#

MIT mode 初期値:

  • K_p = 5-50 (rad → Nm、機構の剛性感)
  • K_d = 0.5-5 (rad/s → Nm、damping)
  • τ_ff = 0 (最初は使わない、動作確認後に足す)
  • v_des = 0 (静止 hold は p_des のみ)

K_p 上げ → 追従性↑ 振動↑ K_d 上げ → damping↑ velocity FF 実効ゲイン↑

情報源#

  • Ben Katz thesis "Low Cost Quasi-Direct-Drive Actuators" (MIT 2018)
  • TMotor CyberGear マニュアル (中国 Xiaomi、CAN command reference)
  • RobStride ドキュメント (RS02 CAN protocol)

関連#

最終更新:

On this page