Andy, how’s dynamic notch and autotune supposed to work together !? I’ve tried an autotune on an already tuned and filtered quad, and luck played a better part in having it back on land in one piece.
I can’t tell exactly what it went for in PIDs, but once I started trying to fly those, I couldn’t revert back to the old ones until it was on ground and I cycled power.
Everyone was in hurray mode, rc5 turned into rc6, Randy was searching for a video for 4.0 launch, but take a look at those DesRoll/Roll and DesPitch/Pitch graphs at the end of the flight. I don’t count scratches on the landing pads, and it didn’t get one elsewhere, but still, maybe we shouldn’t be allowed to run autotune after applying the harmonic notch filter, or something
What were the symptoms after autotune? Shaking/oscillating? Very sensitive and difficult to control? Very slow to respond or ‘drunk’ feeling, so difficult to control?
I’ve run autotune on several copters after applying the harmonic notch, without any problems. It gave them higher PID’s, but that’s what I wanted for these particular copters.
I don’t think this is a Notch problem. Your pitch axis ended up very low because your aircraft was not responding symmetrically in the pitch axis. I am not sure why this is but it could be an offset CG, week motor, wind or something similar.
I am not sure why you could not switch back and forth between your PID’s. I will need to look into that further.
Hello.
I also wanted to show the filter result in following the throttle.
Attached: vibration without a filter, with a 100hz static filter and a harmonic filter following the throttle (I will add that flying at 40 km / h wind). As you can see, it works great.
Probably… Make a pre-filter and post-filter FFT to see if you have any peaks that the lowpass isn’t taking care of, which could be targeted with the notch.
Is the process here to do a pre filter, then a post filter and compare the results? Does looking at the post filter or prefilter alone tell you anything?
I did a quick flight and I have the INS_HNTCH_MODE=3 and INS_HNTCH_REF=1
I did a post filter sample and I have the following.
Is that with the notch enabled? If not, then that’s probably good enough, and you need a notch around 63hz. If that is with the notch enabled, then a pre filtered image will tell us how much it’s helping and if it needs adjustment.
These are my current settings:
|INS_HNTCH_ENABLE|1|
|INS_HNTCH_FREQ|80|
|INS_HNTCH_BW|20|
|INS_HNTCH_ATT|15|
|INS_HNTCH_HMNCS|3|
|INS_HNTCH_REF|1|
|INS_HNTCH_MODE|3|
You might want to lower the frequency to about 60. I believe that parameter is the low end of what it will filter, and it looks like there’s some noise down there…
Set the bandwidth to about 30.
ATT to 40.
Be sure Servo_Blh_Poles matches the poles for your motor.