OpenTX logo
RC sailplane with crow brakes deployed

Supertrim

Supertrim provides an easier way of adjusting crow compensation. While not as flexible as my Crow aware adaptive trim, it does not require a Lua script.

Background

Crow brakes are cool! However, they tend to generate a nose-up pitching moment which, if left uncorrected, can make landings tricky.

The standard fix is a crow-to-elevator mix, commonly called crow compensation. The more crow, the more down elevator is added on top of the 'base' (regular) trim.

The rate of compensation is typically adjusted using a spare trim. However many radios don't have a spare trim. Worse, the pilot has to remember which trim to use (the regular 'base' trim, or the compensation trim). Wouldn't it be nice if both the base trim and compensation mix could both be adjusted with the regular elevator trim?

Fortunately, it's quite easy to do in EdgeTX. Welcome to Supertrim!

Supertrim

We saw above that there are two trim components: the base trim (the native trim function) and the compensation rate (for the crow->elevator mix).

Supertrim dynamically repurposes the elevator trimmer, so that it adjusts one or other component depending on the position of the crow stick.

In practice, the pilot simply hits the elevator trim when needed. Pretty simple, eh?

How it works

The magic of AdjustGV

Supertrim depends on a cool feature of OpenTX whereby a trim can be repurposed dynamically via the AdjustGV special function.

With Supertrim, GV1 is used to store the compensation rate.

Using AdjustGV to implement Supertrim

Here's a simple implementation within a single flight mode. The trim behaviour is controlled directly via the crow stick.

Logical Switches

L1: Thr < 100 -- true when brakes deployed

 

Special Functions

SF1 switch=L1, Adjust GV1, Source=TrmE -- trim updates GV1

 

GVARS

GV1: min=0%, max=40% -- supplies the compensation rate

 

CH2:elevator

Src=I2:Ele, Weight=−100% -- elevator input + base trim

Src=Thr, wt=+GV1 Offset=−GV1 -- compensation

How it works :

During flight tests, the brakes should be fully deployed before adjusting the compensation.

Adding a compensation curve

Compensation is usually non-linear, so a curve should be included in the compensation mix. Nothing special here.

Use with flight modes

The code above assumes uses a single flight mode. However, the technique is well suited for multiple flight modes.

A typical solution will have separate Crow and Cruise modes, with the base (native) trim shared between the two. In Cruise mode the elevator trimmer will adjust the base trim, while in Crow mode it'll adjust the compensation. For an example see the demo file below.

Note: For more info on sharing trims see Advanced trims.

Integration in RC-Soar templates

At the time of writing, Supertrim is integrated in the latest DLG, DLG6S and F3F templates.

Download

Demo model files (FrSky X9D format)

If using the Companion sim, note that dragging the trim handle doesn't work when adjusting compensation. Instead, click on the arrowheads at each end of the trim sliders.

Links

For more info, see Advanced trims, in particular the section "Using a trim to update a GVAR".