ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Plane Fail Safe - Glide towards the wind

Open fredrikfalkman opened this issue 8 years ago • 33 comments

If you encounter a GCS comms loss when flying BVLOS, an RTL fail-safe might not be desirable since it could mean flying in the blind for an extended time and distance.

For a plane big enough for a parachute that is currently a good fail safe option.

For the project I'm working on - BVLOS flying for maritime SAR - we have concluded together with the local CAA that being very small and light will be a prerequisite for flying BVLOS in unsegregated airspace. Because of this, we hope to avoid carrying a parachute.

The final current fail-safe option is "Glide", setting flight mode to FBWA (with no throttle) which I suppose means that the plane will glide in the direction it happened to head in when the failsafe kicked in. If that direction happens to be with the wind the plane risks ending up a long way from the fail-safe point. It would also risk landing/crashing with an unnecessarily high speed.

Suggestion:

  • Add or replace the current "Glide" fail-safe with "Glide towards the wind"
  • Additionally, it would be even better if the plane would first circle (or loiter, if healthy GPS) to a predefined (lower) altitude before gliding towards the wind.

Looking forward to the thoughts of this awesome community! [-] Plane

fredrikfalkman avatar Apr 28 '17 16:04 fredrikfalkman

I don't understand your need for it, arduplane already has a 2 stage failsafe, so it will circle until it enters long failsafe and begin to RTL.

RTL works very well even in high winds. The only condition is that you must have enough power to accelerate and regain airspeed as you make a downwind turn. If you have the throttle slew rate too low or have inadequate power you have a serious risk of stalling.

Once the plane is flying downwind to the RTL point it will fly directly back untill it turns and begins to circle overhead. I have tested this in 50mph+ winds flying over mountain and it always worked as long as you have enough power for the downwind part and have set a minimum ground speed or you risk flying backwards. If wind speed is higher than your minimum airspeed and you don't set minimum ground speed it won't try and push through a headwind it will only give it enough throttle to hold altitude.

Your suggestion of flying into the wind would only take you further away and it would then crash land wherever you lost control compared to RTL that would bring it back the fastest most direct route. It would then hold at its RTL Altitude circling above its launch site or preset rally point until you regained control.

But your idea would be useful in other failsafe conditions like loss of gps in auto. Currently it's only failsafe is circle. In high winds it can get far away fast, and could land very fast if its flying down wind. if it pointed into the wind it could cover less distance if the wind was fast enough relative to the minimum airspeed of the aircraft and it would land at its slowest speed.

it would be usefull for automated landings also if it could automatcally line up with its landing point flying into the wind.

geofrancis avatar Apr 28 '17 18:04 geofrancis

Hej! Thanks for the reply!

Yes, RTL works fine if that's what you want the plane to do. But if you are flying BVLOS, say 20 km away, or say with the pilot somewhere else completely, in an airspace which permits it, with sufficient traffic awareness by means of ground based transponder reception, then you wouldn't want the plane to fly for an extended time without control.

The first stage failsafe is fine circling for a limited time in hope of reestablishing connection with the GCS. The time you can permit for that would depend on the separation from other traffic.

But if you go to a stage two failsafe under these conditions, then you would like the plane to land as soon and as gracefully as possible; Soon to avoid mid air collisions; Gracefully to minimise the risk of injury to people and property on the ground, as well as to save the plane.

So circling to a pre-set (lower) altitude and then landing into the wind I think would be the desired behaviour.

fredrikfalkman avatar May 03 '17 12:05 fredrikfalkman

The issue i see is that if your flying and hit the end of your range then decending is the last thing you want to do as you will never get your signal back and your crashing wherever you lost signal. but if it does rtl you would get control back within a minute or so as soon as it turns around and flies back into range so it would only be out of contact for a very short amount of time.

if it was radio failure your worried about then use 2 radios, or some other independant telemetry like like 4g.

geofrancis avatar May 15 '17 13:05 geofrancis

I see your point. Maybe you could have an option to backtrack for a choosable time before automatic landing into the wind. That way you have a chance of reestablishing comms, but still for no longer than the marginal you have to other traffic.

4g is primary radio. Secondary radio not always practical.

fredrikfalkman avatar May 15 '17 21:05 fredrikfalkman

there are rally points that can be set so if you enter RTL it will go to the closest rally point and loiter, you could set these to places and altitudes you know you get 4G so that it wont try and fly all the way home but just to the closest rally point to reaquire signal.

you could use a second 4g modem on a different network to give redundancy. that way it should mitigate the risk of loosing a single connection.

geofrancis avatar May 16 '17 20:05 geofrancis

The thing is that I'm flying under RPAS flight rules, which means that autonomy must be kept to a minimum. Flying to a rally point would mean autonomous flight without control, with no way to fulfil the obligation to avoid other traffic.

You are of course right that avoiding comms loss in the first place is paramount. We are exploring roaming SIM cards to get all cell networks as one way to do that. Monitoring cell reception to preempt comms loss might be an other.

But if we still loose comms, landing on the spot after a short period of circling is what our CAA demands (rightly, in my opinion). Landing into the wind after circling to a lower altitude seems to me to be the safest way to do that.

fredrikfalkman avatar May 17 '17 09:05 fredrikfalkman

does your aircraft have an adsb transponder ? then it could be seen and avoid other aircraft https://www.uavionix.com/products/ping1090/

geofrancis avatar May 17 '17 10:05 geofrancis

I Europe to here is still no mandate for ads-b on aircraft below 5700 kg tow. But some lower airspace users have TCAS, so that helps. Still, awoiding collision is a two party responsibility.

fredrikfalkman avatar May 17 '17 10:05 fredrikfalkman

the rally points would still be your best bet, if you know your route in advance you just set the rally points along the route so it wont deviate from the path you have defined. if it looses signal it will go to the closest rally point and loiter at your RTL altitude.

if your flying over water you could set your rtl altitude to something very low like 40m then it will circle down over the rally point until it reaches 40m where it will loiter at minimum throttle untill the battery runs out, then it will glide down to a landing and with a lidar you would have very accuate measurement of where the surface is so you could go lower.

by making it loiter low it will be clear of any other aircraft, and your giving it the maximum amount of time to regain contact.

failing that, there is a flight termination system that you can enable, it will bring it aircraft down but not in a controlled manner. its more of a self destruct mode so if its out of contact for more than x minutes it will come down. if you used that with the rally points you could terminate at a much lower altitude

http://ardupilot.org/plane/docs/advanced-failsafe-configuration.html

geofrancis avatar May 17 '17 11:05 geofrancis

Yes, I know about advanced failsafes.

From a regulatory standpoint, one meter above the ground is still flying, and while I concur with you that flying low means less risk of colliding with someone, it's not nonexistent. And as I mentioned, the regulator will not except that level of autonomy.

Today, setting the long failsafe to "Glide", is my only viable option. If it could do that into the wind it would be so much better!

fredrikfalkman avatar May 17 '17 12:05 fredrikfalkman

with the rally points you can also enable auto landing mode so it would go to the closest rally point circle down then land that way it wont keep flying.

you would also have the FTS as a backup so if its not landed or regained contact within 10 minutes terminate.

geofrancis avatar May 17 '17 12:05 geofrancis

Attitude control + into the wind. Huge difference landing into 10-15 m/s winds as opposed to having the same wind speed as tailwind. Landing speed ≈0 vs ≈25-30 m/s.

fredrikfalkman avatar May 17 '17 18:05 fredrikfalkman

its not so much a glide mode you need but just for the auto landing sequence to use the wind direction to set its final landing heading.

how big is this machine? and is it designed for water landings? if its a foam plane thats out of contact and lands in the sea then chances are your never finding it anyway and the salt water would destroy anything electronic so why would it matter?

geofrancis avatar May 17 '17 22:05 geofrancis

On Wed, 17 May 2017, geofrancis wrote:

soits not so much a glide mode you need but just for the auto landing sequence to use the wind direction to set its final landing heading.

Could you just enable the deep-stall landing code to get this effect?

peterbarker avatar May 18 '17 00:05 peterbarker

@peterbarker I suspect not. You need a subset of fixed wing types to try it safely. Most vehicles won't have sufficient elevator deflection to get into a stable one. (I heard @gmorph likes trying to destroy his fixed wing platforms though...). Also given the desire in this to minimize autonomy, it's a bit weird because deepstall is probably the most autonomous the aircraft ever gets when performing a mission. (Self selects and fly's paths more complicated then just a line based on the current external environmental factors). ATM all landing points also need to be programmed into the mission, which I think won't work to well for this use case. (Although I am planning a pass to allow deepstall/landing to be a proper emergency/failsafe response)

WickedShell avatar May 18 '17 05:05 WickedShell

Is there anything I can do to make this happen? Lacking the programming chops to do it myself, I might be able to find a little bit of funding, provided that it would be - as I believe - a rather limited undertaking.

fredrikfalkman avatar Jun 07 '17 13:06 fredrikfalkman

i still dont see the need for this, your flying a small foam plane out to sea, if it goes down does it matter how it lands if your never getting it back? you would be as well just terminate the flight.

geofrancis avatar Jun 08 '17 01:06 geofrancis

I will be flying routinely in uncontrolled, unsegregated airspace. There will be manned aircraft around, such as the SAR helicopter. They will not be happy if loose control and one of my planes venture back on its own on RTL, so thats not an option.

Glide as a failsafe is OK from an airspace perspective, but there may also be persons on islands or on the water. Even if the likelihood of hitting someone is slim, I'd rather do it slowly then with a lot of speed.

Let's say that you have a FBW airspeed of 12 m/s and flying in 10 m/s winds. That gives you a ground speed of 2 m/s flying into the wind and 22 m/s with a tail wind. Let's further assume that you have TOW of 2 kg. That would mean an impact energy of 4 Joules flying into the wind 484 Joules with a tail wind.

Finaly, standard landings will be onto the water (because there will usually be a rescue boat on scene eventually which can retrieve the plane. I believe there would be a greater risk of loosing or destroying the plane if it glides a longer distance and touches down at high speed than doing the opposite into the wind.

fredrikfalkman avatar Jun 08 '17 07:06 fredrikfalkman

I don't understand your logic, as RTL can go to planned rally points which is a predefined location. From a manned aviation perspective the number one thing is being able to predict and tell them what the aircraft will do. Flying to a rally point is far superior then turning and gliding randomly into the wind as it makes your loss of link scenario predictable.

If you want to really minimize the energy on landing then you need something more reliable then just the wind robbing you of forward airspeed. At that point you need a parachute, planned landing (w/ reverse thrust or deepstall). I get that it's less energy, but it isn't enough to say "the system is now safe" unless your only goal is to perpetually be at or below the airspeed. And given that this makes the aircrafts behavior far harder to predict and interact with I have to say I don't think it's a worthwhile tradeoff.

From my point of view I don't get it as feature and it's not on my radar to implement, but you might be able to find someone else to implement it :)

WickedShell avatar Jun 08 '17 07:06 WickedShell

Maybe a primer on my SAR use case might help clarify things a bit: http://www.surtsey.org/projects/cloud-control-station/

The missions will have minimal time for pre-planning and thus creating rally point will be impractical.

Flying below 120 m would mean a limited time in a glide failsafe. Minimising the time in the air when out of control while also minimising impact energy is what I'm after. Adding a parachute means added weight, which will lead to bigger batteries which will lead to added weight...

We will not get to a "totally safe" system any time soon, but for this use case I believe that (circling down, followed by) gliding into the wind would be a good compromise. A proper landing with deep stall or reverse thrust would be nice, but geting a good altitude reference over water again adds weight so might not be worth it.

fredrikfalkman avatar Jun 08 '17 10:06 fredrikfalkman

end the auto mission with: DO_LAND_START LOITER_TO_ALT (with alt = 0)

when an RTL kicks in, it will simply loiter down right there

On Thu, Jun 8, 2017 at 3:03 AM, Fredrik Falkman [email protected] wrote:

Maybe a primer on my SAR use case might help clarify things a bit: http://www.surtsey.org/projects/cloud-control-station/

The missions will have minimal time for pre-planning and thus creating rally point will be impractical.

Flying below 120 m would mean a limited time in a glide failsafe. Minimising the time in the air when out of control while also minimising impact energy is what I'm after. Adding a parachute means added weight, which will lead to bigger batteries which will lead to added weight...

We will not get to a "totally safe" system any time soon, but for this use case I believe that (circling down, followed by) gliding into the wind would be a good compromise. A proper landing with deep stall or reverse thrust would be nice, but geting a good altitude reference over water again adds weight so might not be worth it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArduPilot/ardupilot/issues/6145#issuecomment-307058754, or mute the thread https://github.com/notifications/unsubscribe-auth/AEj7G3ETFh-_tQL9UhOGPfzd0iRYo-Ucks5sB8bvgaJpZM4NLtSu .

magicrub avatar Jun 08 '17 16:06 magicrub

It would be nice to add additional failsafe behaviors. Landing into the wind is not something I would personally want to do, but you might. Pull requests welcome!

On Thu, Jun 8, 2017 at 9:44 AM, Tom Pittenger [email protected] wrote:

end the auto mission with: DO_LAND_START LOITER_TO_ALT (with alt = 0)

when an RTL kicks in, it will simply loiter down right there

On Thu, Jun 8, 2017 at 3:03 AM, Fredrik Falkman [email protected] wrote:

Maybe a primer on my SAR use case might help clarify things a bit: http://www.surtsey.org/projects/cloud-control-station/

The missions will have minimal time for pre-planning and thus creating rally point will be impractical.

Flying below 120 m would mean a limited time in a glide failsafe. Minimising the time in the air when out of control while also minimising impact energy is what I'm after. Adding a parachute means added weight, which will lead to bigger batteries which will lead to added weight...

We will not get to a "totally safe" system any time soon, but for this use case I believe that (circling down, followed by) gliding into the wind would be a good compromise. A proper landing with deep stall or reverse thrust would be nice, but geting a good altitude reference over water again adds weight so might not be worth it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArduPilot/ardupilot/issues/6145#issuecomment-307058754, or mute the thread https://github.com/notifications/unsubscribe-auth/AEj7G3ETFh-_tQL9UhOGPfzd0iRYo-Ucks5sB8bvgaJpZM4NLtSu .

magicrub avatar Jun 08 '17 16:06 magicrub

fredrikfalkman when i say terminate, i mean use the flight termination system to crash the plane if RTL does not get you back in range after 2 minutes.

by gliding down your going to be uncontrolled longer than terminating the flight that will stop it pretty much where it is.

the question is whats more important, a boat getting hit with a 2kg foam plane falling down or aircraft flying into your plane gliding down.

geofrancis avatar Jun 09 '17 00:06 geofrancis

like this! https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_AdvancedFailsafe/AP_AdvancedFailsafe.cpp#L350

magicrub avatar Jun 09 '17 01:06 magicrub

As I have tried to point out above, I don't wish to crash the plane. I want the opposite; an uncontrolled landing with as little impact force as possible, both for the sake of the plane and for the sake of persons and property that might be in the way.

fredrikfalkman avatar Jun 09 '17 09:06 fredrikfalkman

How heavy is your plane?

geofrancis avatar Jun 09 '17 11:06 geofrancis

1.5 - 2 kg, in it's current implementation. Striving to go lighter.

fredrikfalkman avatar Jun 09 '17 11:06 fredrikfalkman

i have stalled foam planes that weight and crashed them if its wing will usually be undamaged so its safe to say it would probably survive anything but a high speed dive into water.

geofrancis avatar Jun 09 '17 12:06 geofrancis

Yes, it shouldn't be a problem if the speed isn't too high. Into the wind!

fredrikfalkman avatar Jun 09 '17 19:06 fredrikfalkman

Hej community! If someone would work on this as a consultancy gig I might be able to find a little bit of funding. Not sure how that kind of thing works around here - please educate me!

fredrikfalkman avatar Sep 06 '17 09:09 fredrikfalkman