Hi there,
i'm working on a quadcopter to hold an altitude. i'm using the bmp180, so i want to make a pid to hold an altitude.
the problem is the bmp180 verry noisy, so i wonder how to filter those noise and make the sensor smooth.
i heard there is some company who buikt drone, they fusion the barometer with z accelerometer. bit i have no idea to do this, i'm looking on the internet but no solution i find.
if someone did a altitude hold, i would like to give me some advises to make the bmp180 smooth.
Thanks for the link, i saw this video, but the author doesn't give the altitude hold stabilty i told him 2 months ago, but he ddid't want to give me the code
it's verry complicated, what i want it's not reading barometer value, i want to filter the nbarometer from the noise, and it's not easy, we have to implement kalman filter and other tricks
There are numerous filters that would work but you have a lot of interacting parameters. You have to consider several frequencies, the noise source, ADC sampling, motor update rate, filter corner. I would first look at the documentation for ArduPilot and see how it was handled. You also have to consider how much of a work load the CPU can handle.