ideas:landing_spot_prediction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ideas:landing_spot_prediction [2007/04/26 19:16] – rocketboy | ideas:landing_spot_prediction [2008/07/19 23:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
I wanted to write an algorithm that could continuously calculate the expected payload landing spot – to end the flight early if it looked like the payload might drift outside of pre-defined bounds. The algorithm would continuously compare the predicted spot this with an internal map of the UK outline and operate a cut-down device if it looked likely that it might drift out to sea. This would allow the balloon payload to run autonomously, | I wanted to write an algorithm that could continuously calculate the expected payload landing spot – to end the flight early if it looked like the payload might drift outside of pre-defined bounds. The algorithm would continuously compare the predicted spot this with an internal map of the UK outline and operate a cut-down device if it looked likely that it might drift out to sea. This would allow the balloon payload to run autonomously, | ||
- | I reasoned that the assent | + | I reasoned that the ascent |
- | I wanted an algorithm that would be easy to implement in a small micro (PIC) and would not use a lot of processor power, program or memory space. | + | I wanted an algorithm that would be easy to implement in a small micro (PIC) and would not use a lot of processor power, program or memory space. |
- | I tested the algorithm using data form the Pegasus III balloon flight. – I used the decent | + | I tested the algorithm using data form the Pegasus III balloon flight. – I used the descent |
{{: | {{: | ||
Line 21: | Line 21: | ||
* Compare the current time, latitude, longitude and height with the previous sample and calculate the differences of each. | * Compare the current time, latitude, longitude and height with the previous sample and calculate the differences of each. | ||
* Calculate the expected air density at the mid-point height between the current and previous sample | * Calculate the expected air density at the mid-point height between the current and previous sample | ||
- | * Calculate the decent | + | * Calculate the descent |
- | * Calculate how long it would take to fall from the current height to the previous height given that decent | + | * Calculate how long it would take to fall from the current height to the previous height given that descent |
* Scale the difference in latitude and longitude by the ratio of the time between the previous and current sample points and the calculated decent time. | * Scale the difference in latitude and longitude by the ratio of the time between the previous and current sample points and the calculated decent time. | ||
* Translate the difference in longitude using the midpoint of the current and previous sample latitude. | * Translate the difference in longitude using the midpoint of the current and previous sample latitude. | ||
Line 32: | Line 32: | ||
where height is in meters. | where height is in meters. | ||
- | The formula to calculate | + | The formula to calculate |
| | ||
where cd is the drag co-efficient, | where cd is the drag co-efficient, | ||
- | Longitude adjustment is dome with the formulas: | + | Longitude adjustment is done with the formulas: |
| | ||
and | and |
ideas/landing_spot_prediction.1177614989.txt.gz · Last modified: 2008/07/19 23:30 (external edit)