Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic notch on pidsum #797

Open
wants to merge 1 commit into
base: emuflight-1.0.0-master
Choose a base branch
from

Conversation

Quick-Flash
Copy link
Member

Going from gyro to pid adds a lot of nonlinear changes to the signal, therefore gyro filtering and pidsum filtering are different. Dynamic dterm, tpa, and more all have different effects on the pidsum. By running the dynamic notch on the pidsum instead of on the gyro we can better account for the effect that pids have on the signal. AKA this will filter PID, just like we do when filtering the gyro, but it will better filter for the specific ratio of PID and any extra dynamics like TPA, anti-gravity, etc. In other words this in theory should work a bit better than just filtering the gyro with a dynamic notch.

@Quick-Flash Quick-Flash self-assigned this Apr 14, 2022
@Quick-Flash Quick-Flash added enhancement Minor enhancement to code in-testing-needs-testing needs testing before merge consideration 1.0.0 labels Apr 14, 2022
@nerdCopter nerdCopter force-pushed the emuflight-1.0.0-master branch 2 times, most recently from 07ddd2b to 7015291 Compare May 22, 2022 20:05
@nerdCopter nerdCopter force-pushed the emuflight-1.0.0-master branch 2 times, most recently from 4a922e6 to 64a1957 Compare May 31, 2022 16:09
@nerdCopter nerdCopter force-pushed the dynamic-notch-on-pidsum-not-gyro branch from 6511da5 to 6821359 Compare June 2, 2022 15:09
@nerdCopter nerdCopter force-pushed the emuflight-1.0.0-master branch 2 times, most recently from 0c4ee8b to 3aab740 Compare June 11, 2022 20:52
@nerdCopter nerdCopter force-pushed the dynamic-notch-on-pidsum-not-gyro branch from 6821359 to 225cc8b Compare July 6, 2022 16:25
@nerdCopter nerdCopter force-pushed the dynamic-notch-on-pidsum-not-gyro branch from 225cc8b to 36309c1 Compare July 15, 2022 14:48
@nerdCopter nerdCopter force-pushed the emuflight-1.0.0-master branch 2 times, most recently from fe70257 to fe7710c Compare November 22, 2022 19:11
gyro->pidum is not a linear change. dynamic notch on pidsum might better account for dterm and other dynamics going on.
@nerdCopter nerdCopter force-pushed the dynamic-notch-on-pidsum-not-gyro branch from 36309c1 to 8182e36 Compare November 22, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0.0 enhancement Minor enhancement to code in-testing-needs-testing needs testing before merge consideration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants