高环路速率调参

通常情况下, PID 控制器在显示( LOOP),主循环速度和噪声过滤速度为半循环速率. 这意味着PID速率错误校正只能以1/loop速率发生. 对于400赫兹,这是2.5ms。 在ArduCopter 4.7以及后来,可以运行PID姿态率接近陀螺仪提供测量速度,测量速度可达4KHz,导致2.5uS率实际上是校正. 陶宁比较敏感和复杂,但对于对惯性比(非常敏捷)有较大推力的机体进行气压应用,可以产生更精确和反应更敏捷的控制.

说明:

仍在进行大量计算,导致CPU负载增加。 H冉基以何种方式进行自动驾驶是可以接受的,但F4基自动驾驶可能无法维持这种增加的负载.

设置运行 PID 速率循环,更接近于更高的陀螺仪采样率,而不是显示( LOOP):

配置

仅有两个新的设置可以让快速率姿态出现,但这些设置对其他几个设置有影响:

The easiest way to try this feature is to set FSTRATE_ENABLE = 1 (Dynamic rate). If your flight controller is struggling it will reduce the attitude loop rate until normality is restored. FSTRATE_ENABLE = 2 (Fixed Rate) is not recommended until you have seen reasonable performance with dynamic rates.

One way to gain more CPU is to switch off additional IMUs using INS_ENABLE_MASK or reduce INS_GYRO_RATE. The main CPU load is from the INS and attitude control threads.

When this feature is enabled, several other settings are affected:

Tuning Setup

Its extremely important that the Notch filtering ** be setup as well as the **tuning-process-instructions be followed before tuning with this feature enabled.

【本页后半部分仍为英文原文摘录,补译中。】


译自 ArduPilot Copter「Aggressive Rate Loop Tuning」· 查看原文 · CC BY-SA 3.0


版本号 #2
由 Admin 创建于 2026-10-09 14:41:54 UTC
由 Admin 更新于 2026-10-10 01:46:16 UTC