Taranis: "SetFail" Flight Mode - RC Groups
Thread Tools
This thread is privately moderated by Miami Mike, who may elect to delete unwanted replies.
Nov 12, 2016, 04:39 PM
Registered Taranis User
Miami Mike's Avatar
Mini-HowTo

Taranis: "SetFail" Flight Mode


When it comes to setting failsafe configurations that determine what our models will do if and when they lose radio contact, we often wind up taking a wild guess about what position each control should take. Then we face the very scary prospect of turning off our radios in flight to test those settings, hoping that we'll be able to regain control in time. I've never had the nerve to try that and I'll bet very few others have either.

Here's my method for setting failsafe. This procedure applies to the X8R receiver and probably most other FrSky receivers:

First of all, on the Taranis MODEL SETUP page for each model, the options for Failsafe mode are Not set, Hold, Custom, No pulses, and Receiver. Set yours to Receiver. That means when you press the F/S button on the receiver it will memorize the current control positions and use them as its failsafe configuration.

For setting failsafe I used what was my next available flight mode, which was FM8, to which I assigned the name SetFail. I set all four trim settings to Own Trim and set the SetFail mode to be activated by a Logical Switch which I'll call L4 for this example. L4 becomes false and SetFail is deactivated the instant either the aileron or elevator stick position is moved from center. In Mode 2 that means the instant the right stick is moved.

I also added mixes to change what the trim switches do while in SetFail mode. I fly gliders, so the controls I need to set are aileron, elevator, rudder, and flaps.

(These examples are based upon Mike Shellim's OpenTX F3J/TD setup Version 2. He has since released Version 3.)

The aileron trim didn't need any special mix but I needed more elevator trim range, so I added this mix to the elevator channel:
Code:
CH05 (Elev)
...
...
 := TrmE Weight(-50%) Flight mode(SetFail) NoTrim [Setfs]
This allows me to set enough down elevator to compensate for the effect of flaps.

In normal flight my rudder trim is re-purposed for other functions since there's never any need for me to trim the rudder in flight. However, an exception is SetFail mode, where I want to trim the rudder so that the glider yaws in a circle without rolling. Therefore I added a mix to the rudder channel to make the TrmR switch trim the rudder while in I'm SetFail mode:

Code:
CH06 (Rudd)
...
...
 := TrmR Weight(+50%) Flight mode(SetFail) NoTrim [Setfs]
Similarly, my throttle trim is re-purposed for other functions in normal flight, but I use it to set my flaps while in SetFail mode:

Code:
CH11 (FlapCm)
...
...
 := TrmT Weight(+100%) Flight mode(SetFail) Offset(-100%) [Setfs]
I find it easier to set the failsafe position of my flaps before I launch. I choose a position where the flaps are down far enough to bring the model down but not so far that a flap servo might break on landing. I also preset the elevator to a down position that looks about right for the starting flap position, but keep in mind that these are only first approximations to be adjusted further while in the air.

For a model with a motor, setting the motor to be off in failsafe mode is no problem because it'll be off when you press the F/S button.

Now for the Logical Switch settings that activate and deactivate the flight mode. I use an Edge function to activate SetFail when I hold SH↓ for one second:

Code:
L1  Edge  SH↓  1.0 (instant)  ----  0.0  0.0
For deactivating SetFail I detect right stick movement with two Logical Switches:

Code:
L2  |a|<x    Ail  10  ----  0.0  0.0
L3  |a|<x    Ele  10   L2   0.0  0.0
If the right stick is not centered then L3 is FALSE (i.e. !L3 is TRUE.)

L1 sets Sticky L4 and !L3 releases it:

Code:
L4  Sticky  L1 !L3 ----  0.0  0.0
And on the Flight Modes page, FM8 (SetFail) is set to be activated by switch L4.

(Note that because of flight mode priority, FM8 will only be available from FM0. Other flight modes below FM8 will have priority, but as long as FM0 is the normal flight mode this won't be an issue.)

To set my trims for failsafe I fly the model to a high altitude and trim it for level hands-off flight. Then, without touching the sticks, I hold SH↓ until the radio switches to SetFail mode, then I adjust the trims. If the model gets out of control I grab the right stick and the radio returns to normal flight control.

Once I've set my failsafe positions to the best hands-off flight my model can manage, I land, go back into SetFail mode, and press the F/S button on my receiver.

To make 100% sure that sure failsafe works I can turn off my transmitter, but now I can do it while the aircraft is safely on the ground.


Last edited by Miami Mike; Dec 12, 2016 at 09:42 PM.
Sign up now
to remove ads between posts
Dec 13, 2016, 12:19 PM
Ok that's high enough
FabFlight's Avatar
Very clever. Will adopt.
Dec 13, 2016, 05:27 PM
Registered Taranis User
Miami Mike's Avatar
Latest blog entry: Taranis: Aileron-To-Rudder Mix.