Skip to content

Acc notch filter#1390

Merged
DzikuVx merged 5 commits into
developmentfrom
acc-notch-filter
Jul 8, 2017
Merged

Acc notch filter#1390
DzikuVx merged 5 commits into
developmentfrom
acc-notch-filter

Conversation

@DzikuVx

@DzikuVx DzikuVx commented Mar 10, 2017

Copy link
Copy Markdown
Member

This might be the next thing for multirotors in INAV: Acc notch filter.

Why: I had acc problems due to big props and poor balancing: Althold poor performance and other problems.
Acc trace before (even after I replaced bearings)
acc no notch

After applying notch:

acc notch

Noise at 75Hz is gone! Did not enabled Angle or any GPS mode yet since it is 23:00 ATM, but gyro traces looks very very promising. I will try to continue this topic tomorrow.

But there is a problem with CPU. F3 was unable to process next notch, OLED and SoftwareSerial at the same time. Board was not booting. I'm not sure if it was memory or CPU issue. I suspect the first one.

BB log:
blackbox_log_2017-03-10_205726 acc notch.TXT

Work will continue to make it configurable, since it is hardcoded ATM.

@DzikuVx

DzikuVx commented Mar 11, 2017

Copy link
Copy Markdown
Member Author

Flight tested acc notch with Angle, PosHold/AltHold, RTH. Biggest progress is visible in AltHold performance. Quad altitude response was more granular, so I'm happy with the way it goes.

blackbox_log_2017-03-11_114959 acc notch poshold alhold.TXT

@digitalentity

Copy link
Copy Markdown
Member

Need to test it. It might be a good option for noisy machines. It won't deminish effectiveness of proper dampening though :)

@digitalentity digitalentity modified the milestones: 1.8, 1.7 Apr 4, 2017
@DzikuVx

DzikuVx commented Jul 7, 2017

Copy link
Copy Markdown
Member Author

@digitalentity Once again flight tested. No negative impact on testing machine. But this is relatively noise free machine. Previous tests on 600mm quad showed some improvements in AltHold

@digitalentity digitalentity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as acc notch is disabled by default - I'm ok with merging this.

Comment thread src/main/sensors/acceleration.c Outdated
static void *accNotchFilter[XYZ_AXIS_COUNT];
#endif

PG_REGISTER_WITH_RESET_FN(accelerometerConfig_t, accelerometerConfig, PG_ACCELEROMETER_CONFIG, 0);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please increase PG version (replace 0 with 1) to enforce accelerometer parameter reset.

@DzikuVx DzikuVx merged commit 6d7fb4e into development Jul 8, 2017
@DzikuVx DzikuVx deleted the acc-notch-filter branch July 8, 2017 13:52
@digitalentity digitalentity modified the milestones: 1.8, 1.7.2 Jul 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants