I bought an altimeter from Perfectflite and have made two succesful flights with it. I like the altitude data I get, but I am tryiing to take it a step further. The data from the altimeter is a bit rough as it tends to jump in multiples of 4 feet. I'm looking for a way to "smooth" out the data so that I can get relatively decent acceleration data from it.
Attached is the data from my latest flight using the Launch Pad's Bolo rocket on a D12-5. I included the data from launch to apogee.
My latest approach to smoothing the data has been to multiply the altitude at a specific point by three, then multiply the altitude point right before it and after it by two, and then multiply the altitude readings two points before and after by one; adding all these up and divide by nine (3+2+2+1+1). These are the numbers in the Weighted Altitude column. This helps average out places where the altimeter provided the same altitude reading for two consecutve points. See the data at 4.2 and 4.3 seconds.
The velocity data is then obtained by dividing the change in altitude between two points by 1/10 of a second. This is the stated sampling rate of the altimeter. However, when I go to divide velocity by 1/10 of a second to get acceleration data, the whole thing falls apart. Even the corrected data just isn't smooth enough to get decent acceleration data. You actually get negative accelerations in the boost phase because the altimeter data just isn't smooth enough.
Sorry for all the math, but has anyone worked out a way to get acceleration data from an altimeter?
Data deleted from post and attached in a text file.
Attached is the data from my latest flight using the Launch Pad's Bolo rocket on a D12-5. I included the data from launch to apogee.
My latest approach to smoothing the data has been to multiply the altitude at a specific point by three, then multiply the altitude point right before it and after it by two, and then multiply the altitude readings two points before and after by one; adding all these up and divide by nine (3+2+2+1+1). These are the numbers in the Weighted Altitude column. This helps average out places where the altimeter provided the same altitude reading for two consecutve points. See the data at 4.2 and 4.3 seconds.
The velocity data is then obtained by dividing the change in altitude between two points by 1/10 of a second. This is the stated sampling rate of the altimeter. However, when I go to divide velocity by 1/10 of a second to get acceleration data, the whole thing falls apart. Even the corrected data just isn't smooth enough to get decent acceleration data. You actually get negative accelerations in the boost phase because the altimeter data just isn't smooth enough.
Sorry for all the math, but has anyone worked out a way to get acceleration data from an altimeter?
Data deleted from post and attached in a text file.

Comment