d7e016618dc1f1aa227334d163c1de6805a16ef9
app-dat/RC-dat/RC-configurator-dat/betaflight-dat/betaflight-PID-dat/betaflight-PID-dat.md
| ... | ... | @@ -29,6 +29,16 @@ default profile |
| 29 | 29 | | PITCH | 56 | 100 | 52 | 48 | 149 | |
| 30 | 30 | | YAW | 53 | 95 | 00 | 0 | 143 | |
| 31 | 31 | |
| 32 | +**Proportional (P):** Controls how strongly the quad reacts to the difference between the current and desired position (error). Higher P means faster correction, but too high can cause oscillations. |
|
| 33 | + |
|
| 34 | +**Integral (I):** Corrects for small, persistent errors over time (like wind drift). It accumulates error and helps the quad hold its attitude. Too much I can cause slow oscillations or “wind-up.” |
|
| 35 | + |
|
| 36 | +**D Max:** The maximum value the Derivative (D) term can reach during fast movements. It helps control overshoot and quick direction changes, especially when Damping is set low. |
|
| 37 | + |
|
| 38 | +**Derivative (D):** Reacts to how quickly the error is changing (rate of change). It damps rapid movements and helps prevent overshoot and oscillations. Too much D can make motors hot or noisy. |
|
| 39 | + |
|
| 40 | +**Feedforward (FF):** Predicts and responds to your stick inputs directly, making the quad feel more responsive and “snappy.” It doesn’t rely on error, so it improves stick tracking and reduces latency. |
|
| 41 | + |
|
| 32 | 42 | |
| 33 | 43 | tuned profile |
| 34 | 44 | |
| ... | ... | @@ -42,6 +52,15 @@ tuned profile |
| 42 | 52 | |
| 43 | 53 | ## slider |
| 44 | 54 | |
| 55 | +PID Tuning Slider Mode |
|
| 56 | + |
|
| 57 | +ID tuning slider mode can |
|
| 58 | +be: |
|
| 59 | +- OFF - no sliders, enter values manually |
|
| 60 | +- RP - sliders control Roll and Pitch only, enter Yaw values manually |
|
| 61 | +- RPY - sliders control all PID |
|
| 62 | + |
|
| 63 | +Warning: Going from RP to RPY mode will overwrite Yaw settings with firmware settings. |
|
| 45 | 64 | |
| 46 | 65 | |
| 47 | 66 | | set | value | | |
| ... | ... | @@ -55,50 +74,61 @@ tuned profile |
| 55 | 74 | | Pitch Tracking: Pitch:Roll P, I & FF | | | |
| 56 | 75 | | Master Multiplier: | 1.6 | Indoor: keep lower to avoid twitchy behavior | |
| 57 | 76 | |
| 58 | - |
|
| 77 | +### Damping: D Gains |
|
| 59 | 78 | |
| 60 | -use PIDtoolbox to find the best value |
|
| 79 | +Relatively high D-gain will dampen stick responsiveness and may make motors hot, but should help control fast oscillations and will improve prop-wash. |
|
| 61 | 80 | |
| 62 | - |
|
| 81 | +Relatively low D-term gives quicker stick responsiveness, but will weaken prop-wash performance and reacting to external forces (wind). |
|
| 63 | 82 | |
| 83 | +### Tracking: P & I Gains |
|
| 64 | 84 | |
| 65 | -### Master Multiplier |
|
| 85 | +Increase the Tracking slider to sharpen the quads response to your influences; avoiding the nose of the quad going off course in any condition. |
|
| 66 | 86 | |
| 67 | -- hear motor sound and feel the response |
|
| 87 | +Lower 'Tracking' values will will go off course on stick moves and in prop wash. |
|
| 68 | 88 | |
| 69 | -- Start to gradually increase your Master Slider from ~0.5 |
|
| 70 | -- Pay attention to motor temperature, the sound of the motors, and propwash handling |
|
| 89 | +High 'Tracking' may result in oscillation and fast bounceback (hard to see but you canhear). |
|
| 71 | 90 | |
| 91 | +Excessive Tracking may result in oscillations and hot motors. |
|
| 72 | 92 | |
| 93 | +### Stick Response: FF Gains |
|
| 73 | 94 | |
| 95 | +Lower Stick Response will increase the **latency** of the quad movements to commands and may result in slow bounceback at the end of a flip or roll. |
|
| 74 | 96 | |
| 75 | -### Throttle and Motor Settings |
|
| 97 | +Higher Stick Response will give snappier quad response to sharp stick moves. Too much Stick Response can cause flip or roll. |
|
| 76 | 98 | |
| 77 | -| set | value | expalination | |
|
| 78 | -| --------------------- | ----- | --------------------------------------------------------------------------------------- | |
|
| 79 | -| Throttle Boost | 5 | Increases throttle response when you make quick stick movements. | |
|
| 80 | -| Motor Output Limit | 100 | Limits the maximum power sent to the motors (as a percentage). | |
|
| 81 | -| Dynamic Idle | 35 | Sets a minimum motor RPM (as a percentage of throttle) when the throttle is at zero. | |
|
| 82 | -| Vbat Sag Compensation | 100% | Compensates for voltage drop (“sag”) as the battery drains. | |
|
| 83 | -| Thrust Linearization | 40% | Adjusts throttle curve to make thrust output more linear (proportional) to stick input. | |
|
| 99 | +Note: "I-term Relax" can reduce authority quads or if low Stick Response Gains are used. |
|
| 84 | 100 | |
| 85 | -indoor |
|
| 101 | +### Dynamic Damping: D Max |
|
| 86 | 102 | |
| 87 | - set throttle_limit_percent = 75 |
|
| 103 | +Increases D max, the maximum amount that D can increase to during faster movements. |
|
| 88 | 104 | |
| 89 | - set throttle_boost = 7 |
|
| 90 | - # set throttle_boost = 0 |
|
| 91 | - set dyn_idle_min_rpm = 30 |
|
| 92 | - set dshot_idle_value = 600 |
|
| 93 | - set motor_output_limit = 90 |
|
| 94 | - save |
|
| 105 | +For race quads, where the main Damping slider has been set low to minimize motor heat, moving this slider to the **right** will improve overshoot control for quick direction changes. |
|
| 95 | 106 | |
| 107 | +For HD or cinematic quads, instability in forward flight is best addressed by moving the Damping slider (not the Dynamic Damping slider) to the **right**. Check for motor heat and listen for weird noises during quick inputs when moving this slider to the right. |
|
| 96 | 108 | |
| 97 | -#### dynamic idle |
|
| 109 | +For freestyle quads, especially heavier builds, moving this slider to the **right** may help control overshoot in flips and rolls. |
|
| 110 | + |
|
| 111 | +Note: Generally overshoot in flips and rolls is due to not enough 'i-Term Relax', or motor desyncs, or inadequate authority (a.k.a. Motor Saturation). If you find that moving the Damping Boost slider to the right doesn't improve flip or roll overshoot, put it back to the normal position, and seek out the reason for the overshoot or wobble. |
|
| 112 | + |
|
| 113 | + |
|
| 114 | + |
|
| 115 | + |
|
| 116 | + |
|
| 117 | + |
|
| 118 | + |
|
| 119 | +use PIDtoolbox to find the best value |
|
| 120 | + |
|
| 121 | + |
|
| 122 | + |
|
| 123 | + |
|
| 124 | +### Master Multiplier |
|
| 125 | + |
|
| 126 | +- hear motor sound and feel the response |
|
| 127 | + |
|
| 128 | +- Start to gradually increase your Master Slider from ~0.5 |
|
| 129 | +- Pay attention to motor temperature, the sound of the motors, and propwash handling |
|
| 98 | 130 | |
| 99 | -- 2" == 30 |
|
| 100 | 131 | |
| 101 | - |
|
| 102 | 132 | |
| 103 | 133 | |
| 104 | 134 | |
| ... | ... | @@ -160,12 +190,6 @@ Note: Slider(s) are disabled because current values are outside the Basic Mode a |
| 160 | 190 | A feature that reduces (relaxes) the effect of the I-term (integral) in the PID controller during fast stick movements, helping to avoid overshoot and improve flight feel. |
| 161 | 191 | |
| 162 | 192 | - D Min |
| 163 | -- Anti Gravity |
|
| 164 | - - [x] Permanently enable Anti Gravity |
|
| 165 | - - [x] Smooth [x] support - Mode |
|
| 166 | - - 10 - Gain - [[indoor-fly-dat]] |
|
| 167 | - |
|
| 168 | -A feature that temporarily boosts the I-term (integral) of the PID controller during rapid throttle changes to help maintain stable flight and prevent sudden altitude drops or surges. |
|
| 169 | 193 | |
| 170 | 194 | |
| 171 | 195 | |
| ... | ... | @@ -187,6 +211,53 @@ If you prefer a softer, more stable indoor tune |
| 187 | 211 | set feedforward_boost = 10 |
| 188 | 212 | save |
| 189 | 213 | |
| 214 | + |
|
| 215 | + |
|
| 216 | +### Anti Gravity |
|
| 217 | + |
|
| 218 | +- [x] Permanently enable Anti Gravity |
|
| 219 | +- [x] Smooth [x] support - Mode |
|
| 220 | +- 10 - Gain - [[indoor-fly-dat]] |
|
| 221 | + |
|
| 222 | +A feature that temporarily boosts the I-term (integral) of the PID controller during rapid throttle changes to help maintain stable flight and prevent sudden altitude drops or surges. |
|
| 223 | + |
|
| 224 | +Enable anti-gravity for **stable throttle changes**. |
|
| 225 | + |
|
| 226 | + |
|
| 227 | + |
|
| 228 | +## Throttle and Motor Settings |
|
| 229 | + |
|
| 230 | +| set | value | expalination | |
|
| 231 | +| --------------------- | ----- | --------------------------------------------------------------------------------------- | |
|
| 232 | +| Throttle Boost | 5 | Increases throttle response when you make quick stick movements. | |
|
| 233 | +| Motor Output Limit | 100 | Limits the maximum power sent to the motors (as a percentage). | |
|
| 234 | +| Dynamic Idle | 35 | Sets a minimum motor RPM (as a percentage of throttle) when the throttle is at zero. | |
|
| 235 | +| Vbat Sag Compensation | 100% | Compensates for voltage drop (“sag”) as the battery drains. | |
|
| 236 | +| Thrust Linearization | 40% | Adjusts throttle curve to make thrust output more linear (proportional) to stick input. | |
|
| 237 | + |
|
| 238 | +indoor |
|
| 239 | + |
|
| 240 | + set throttle_limit_percent = 75 ## rateprofile |
|
| 241 | + |
|
| 242 | + set throttle_boost = 7 ## ? |
|
| 243 | + # set throttle_boost = 0 ## ? |
|
| 244 | + |
|
| 245 | + set dyn_idle_min_rpm = 30 |
|
| 246 | + set dshot_idle_value = 600 ## ? |
|
| 247 | + |
|
| 248 | + set motor_output_limit = 75 |
|
| 249 | + save |
|
| 250 | + |
|
| 251 | + |
|
| 252 | +#### dynamic idle |
|
| 253 | + |
|
| 254 | +- 2" == 30 |
|
| 255 | + |
|
| 256 | + |
|
| 257 | + |
|
| 258 | + |
|
| 259 | + |
|
| 260 | + |
|
| 190 | 261 | ## ref |
| 191 | 262 | |
| 192 | 263 | - [[PID]] - [[tech]] |
app-dat/RC-dat/RC-configurator-dat/betaflight-dat/betaflight-modes-dat/betaflight-modes-dat.md
| ... | ... | @@ -25,7 +25,9 @@ Air mode is very stable, good for beginners |
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | ### What is Air Mode? |
| 28 | -- Air Mode is a **Betaflight flight feature** that keeps the motors active and responsive even at **zero throttle**. |
|
| 28 | + |
|
| 29 | +Air Mode is a **Betaflight flight feature** that keeps the motors active and responsive even at **zero throttle**. |
|
| 30 | + |
|
| 29 | 31 | - Without Air Mode: |
| 30 | 32 | - When you cut throttle, motors almost stop spinning. |
| 31 | 33 | - The quad loses control authority and can "fall" or tumble. |
| ... | ... | @@ -37,4 +39,12 @@ Air mode is very stable, good for beginners |
| 37 | 39 | - ✅ Smoother hovering and stable control, even at low throttle. |
| 38 | 40 | - ✅ Prevents sudden drop when you release throttle indoors. |
| 39 | 41 | - ✅ Essential for flips, rolls, or freestyle tricks. |
| 40 | -- ⚠️ For very small **brushed whoops**, it can make them bounce indoors (too sensitive). |
|
| ... | ... | \ No newline at end of file |
| 0 | +- ⚠️ For very small **brushed whoops**, it can make them bounce indoors (too sensitive). |
|
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +In the standard mixer/ mode, when the roll, pitch and yaw gets calculated and saturates a motor, all motors will be reduced equally. |
|
| 5 | + |
|
| 6 | +When a motor goes below minimum it gets clipped off. Say you had your throttle just above minimum and tried to pull a quick roll - since two motors can't go any lower, you essentially get half the power (half of your PID gain). |
|
| 7 | + |
|
| 8 | +If your inputs would have asked for more than a 100% difference between the high and low motors, the low motors would get clipped, breaking the Symmetry of the motor balance by unevenly reducing the gain |
|
| ... | ... | \ No newline at end of file |
app-dat/RC-dat/RC-supplier-dat/drone-maker-dat/happymodel-dat/mobula8-dat/mobula8-indoor-fly-dat/mobula8-indoor-1.txt
| ... | ... | @@ -78,6 +78,7 @@ set rc_smoothing_auto_factor_throttle = 25 |
| 78 | 78 | set serialrx_provider = SPEK1024 |
| 79 | 79 | set airmode_start_throttle_percent = 35 |
| 80 | 80 | set blackbox_sample_rate = 1/2 |
| 81 | +set blackbox_device = NONE |
|
| 81 | 82 | set dshot_idle_value = 300 |
| 82 | 83 | set dshot_bidir = ON |
| 83 | 84 | set dshot_bitbang = AUTO |
| ... | ... | @@ -150,24 +151,28 @@ set dterm_lpf1_dyn_max_hz = 200 |
| 150 | 151 | set dterm_lpf1_static_hz = 150 |
| 151 | 152 | set dterm_lpf2_static_hz = 0 |
| 152 | 153 | set vbat_sag_compensation = 100 |
| 154 | +set anti_gravity_gain = 100 |
|
| 153 | 155 | set crash_recovery = ON |
| 154 | 156 | set iterm_relax_cutoff = 25 |
| 155 | 157 | set yaw_lowpass_hz = 0 |
| 156 | 158 | set throttle_boost = 0 |
| 157 | 159 | set acro_trainer_angle_limit = 30 |
| 158 | -set p_pitch = 48 |
|
| 159 | -set i_pitch = 95 |
|
| 160 | -set d_pitch = 42 |
|
| 161 | -set f_pitch = 130 |
|
| 162 | -set i_roll = 90 |
|
| 163 | -set d_roll = 38 |
|
| 164 | -set f_roll = 135 |
|
| 160 | +set p_pitch = 64 |
|
| 161 | +set i_pitch = 74 |
|
| 162 | +set d_pitch = 29 |
|
| 163 | +set f_pitch = 116 |
|
| 164 | +set p_roll = 68 |
|
| 165 | +set i_roll = 79 |
|
| 166 | +set d_roll = 30 |
|
| 167 | +set f_roll = 124 |
|
| 165 | 168 | set p_yaw = 53 |
| 166 | 169 | set i_yaw = 95 |
| 167 | 170 | set f_yaw = 130 |
| 171 | +set angle_p_gain = 35 |
|
| 168 | 172 | set angle_limit = 45 |
| 169 | -set d_min_roll = 0 |
|
| 170 | -set d_min_pitch = 0 |
|
| 173 | +set horizon_level_strength = 50 |
|
| 174 | +set d_min_roll = 28 |
|
| 175 | +set d_min_pitch = 27 |
|
| 171 | 176 | set d_max_advance = 0 |
| 172 | 177 | set motor_output_limit = 75 |
| 173 | 178 | set thrust_linear = 20 |
| ... | ... | @@ -175,8 +180,8 @@ set feedforward_jitter_factor = 5 |
| 175 | 180 | set feedforward_boost = 10 |
| 176 | 181 | set feedforward_max_rate_limit = 95 |
| 177 | 182 | set dyn_idle_min_rpm = 30 |
| 178 | -set simplified_pids_mode = OFF |
|
| 179 | -set simplified_master_multiplier = 120 |
|
| 183 | +set simplified_pids_mode = RP |
|
| 184 | +set simplified_master_multiplier = 80 |
|
| 180 | 185 | set simplified_i_gain = 65 |
| 181 | 186 | set simplified_d_gain = 120 |
| 182 | 187 | set simplified_pi_gain = 190 |
app-dat/RC-dat/RC-supplier-dat/drone-maker-dat/happymodel-dat/mobula8-dat/mobula8-indoor-fly-dat/mobula8-indoor-fly-dat.md
| ... | ... | @@ -4,6 +4,46 @@ |
| 4 | 4 | - [[betaflight-PID-dat]] |
| 5 | 5 | |
| 6 | 6 | |
| 7 | +1. Flight Modes |
|
| 8 | + |
|
| 9 | +Enable Angle or Horizon Mode for self-leveling and easy control indoors. |
|
| 10 | +- Angle: safest, no flips/rolls. |
|
| 11 | +- Horizon: allows gentle flips/rolls, still self-levels. |
|
| 12 | + |
|
| 13 | +2. Rates and Expo |
|
| 14 | + |
|
| 15 | +- Lower your rates (e.g., 400–500 deg/s) for smoother, slower stick response. |
|
| 16 | +- Increase expo (e.g., 0.3–0.5) for finer control near center stick. |
|
| 17 | + |
|
| 18 | +3. PID Tuning |
|
| 19 | + |
|
| 20 | +- Lower P and D gains slightly for softer, less twitchy response. |
|
| 21 | +- Increase I gain a bit to help hold attitude against drafts. |
|
| 22 | +- Use the “tuned profile” in your table as a starting point, but reduce values if the quad feels too sharp. |
|
| 23 | + |
|
| 24 | +4. Feedforward |
|
| 25 | + |
|
| 26 | +Set Feedforward (FF) lower for smoother, less aggressive stick response (e.g., 130–140). |
|
| 27 | + |
|
| 28 | +5. Anti-Gravity |
|
| 29 | + |
|
| 30 | +Enable Anti-Gravity and set gain to 10 or higher for stable altitude during throttle changes. |
|
| 31 | + |
|
| 32 | +6. Throttle and Motor Settings |
|
| 33 | + |
|
| 34 | +- Motor Output Limit: Set to 75–80% for safer, gentler indoor power. |
|
| 35 | +- Throttle Boost: Set low (5–7) for smooth throttle response. |
|
| 36 | +- Dynamic Idle: Set to 30–35 to prevent motor stalling at low throttle. |
|
| 37 | +- Vbat Sag Compensation: Enable to keep performance consistent as battery drains. |
|
| 38 | + |
|
| 39 | +7. Master Multiplier/Sliders |
|
| 40 | + |
|
| 41 | +Keep Master Multiplier low (0.5–1.0) for gentle, stable flight. |
|
| 42 | + |
|
| 43 | +8. Angle/Horizon Strength |
|
| 44 | + |
|
| 45 | +Lower “Strength” and “Angle Limit” for less aggressive self-leveling and more cinematic movement (see your “optimized for indoor fly” table). |
|
| 46 | + |
|
| 7 | 47 | |
| 8 | 48 | ## ref |
| 9 | 49 |