31-Jan-2021, 08:12 AM
I am going to try and put as much information into this post as I can to better assist those willing to look over my specific issue. I'm pretty green, in fact, today marks my 30th day into FPV and the RC world in general, so I'm still having to absorb a lot of information, especially when it comes to tuning. Below you will find the error I am experiencing; my build details (link to pictures); an array blackbox logs with relevant PID values in the titles, as well as a full flight log; and lastly a video illustrating the error and some normal flight footage with rolls, flips and everything else.
1. YAW BOUNCE-BACK & ALTITUDE GAIN
When preforming a full stick yaw spin, in either direction, my quad increases in altitude and bounces back at the end of the spin. When taking a look at the blackbox log, for a left turn let's say, the gyro moves at a ~45 degree angle upwards until it reaches the setpoint (which is dropping rapidly) and then moves diagnally downwards at the same angle, overshooting the setpoint (now at 0 degrees) again slightly which causes bounce back. This error is practically identical no matter what changes are made to the yaw PID values, which is making me wonder if it has anything to do with those values at all. I have successfully tuned the roll and flip axes (both could use a little more), but the methods used to tune those do not seem to be working in this scenario.
At first I thought increasing P-term was the way to go because of the clear lack of "oomf" to the gyro and the fact that at the start of the move, the gyro seems to follow the setpoint (meaning feedforward is doing its job, right?). With that said, given the speed of the bounce back and the increase in altitude, it also made me think it's the other way around regarding P-term. The PID_Error for the yaw axis when preforming a yaw spin is always around 570 degrees.
2. RUNAWAY TAKEOFF TRIGGERED
With my current yaw PID values (P=68, I=99, D=0, FF=119), if I then set P-term to ~60, or if I set P-Term and I-Term both to 100, my quad issues a "RUNAWAY_TAKEOFF" and disarms itself upon the execution of a full stick yaw spin. In both cases, the gyro fails to keep up with the setpoint. I have included blackbox logs for these failures as well.
Now I'm starting to wonder if this has anything to do with my rates.
Am I trying to spin the quad faster than it can actually go?
CURRENT PID VALUES
Roll P:65 I:94 D:59 FF:119
Pitch P:70 I:99 D:65 FF:125
Yaw P:68 I:99 D:0 FF:119
-------------------------------------------------
CURRENT RATE VALUES
Roll RC:1.94 Rate:0.64 EXPO:0.21
Pitch RC:1.94 Rate:0.64 EXPO:0.21
Yaw RC:1.65 Rate:0.64 EXPO:0.21
-------------------------------------------------
TPA=0.75
TPA Breakpoint=1750
ALL BLACKBOX LOGS & FLIGHT VIDEO
https://www.dropbox.com/sh/rcyq4l9l0uhdz...iPQSa?dl=0
QUAD BUILD INFO (710 Grams AUW)
https://pastebin.com/raw/mpk3Rhth
QUAD BUILD PROGRESS PHOTOS
https://i.imgur.com/WMH9NQg.jpg
BETAFLIGHT DUMP
https://pastebin.com/raw/Zy8qPzqK
BETAFLIGHT DIFF
https://pastebin.com/raw/SXa8QPXH
BLHELI_S CONFIG
https://imgur.com/g14qQkO
1. YAW BOUNCE-BACK & ALTITUDE GAIN
When preforming a full stick yaw spin, in either direction, my quad increases in altitude and bounces back at the end of the spin. When taking a look at the blackbox log, for a left turn let's say, the gyro moves at a ~45 degree angle upwards until it reaches the setpoint (which is dropping rapidly) and then moves diagnally downwards at the same angle, overshooting the setpoint (now at 0 degrees) again slightly which causes bounce back. This error is practically identical no matter what changes are made to the yaw PID values, which is making me wonder if it has anything to do with those values at all. I have successfully tuned the roll and flip axes (both could use a little more), but the methods used to tune those do not seem to be working in this scenario.
At first I thought increasing P-term was the way to go because of the clear lack of "oomf" to the gyro and the fact that at the start of the move, the gyro seems to follow the setpoint (meaning feedforward is doing its job, right?). With that said, given the speed of the bounce back and the increase in altitude, it also made me think it's the other way around regarding P-term. The PID_Error for the yaw axis when preforming a yaw spin is always around 570 degrees.
2. RUNAWAY TAKEOFF TRIGGERED
With my current yaw PID values (P=68, I=99, D=0, FF=119), if I then set P-term to ~60, or if I set P-Term and I-Term both to 100, my quad issues a "RUNAWAY_TAKEOFF" and disarms itself upon the execution of a full stick yaw spin. In both cases, the gyro fails to keep up with the setpoint. I have included blackbox logs for these failures as well.
Now I'm starting to wonder if this has anything to do with my rates.
Am I trying to spin the quad faster than it can actually go?
CURRENT PID VALUES
Roll P:65 I:94 D:59 FF:119
Pitch P:70 I:99 D:65 FF:125
Yaw P:68 I:99 D:0 FF:119
-------------------------------------------------
CURRENT RATE VALUES
Roll RC:1.94 Rate:0.64 EXPO:0.21
Pitch RC:1.94 Rate:0.64 EXPO:0.21
Yaw RC:1.65 Rate:0.64 EXPO:0.21
-------------------------------------------------
TPA=0.75
TPA Breakpoint=1750
ALL BLACKBOX LOGS & FLIGHT VIDEO
https://www.dropbox.com/sh/rcyq4l9l0uhdz...iPQSa?dl=0
QUAD BUILD INFO (710 Grams AUW)
https://pastebin.com/raw/mpk3Rhth
QUAD BUILD PROGRESS PHOTOS
https://i.imgur.com/WMH9NQg.jpg
BETAFLIGHT DUMP
https://pastebin.com/raw/Zy8qPzqK
BETAFLIGHT DIFF
https://pastebin.com/raw/SXa8QPXH
BLHELI_S CONFIG
https://imgur.com/g14qQkO