Negative spoileron differential?

Programing help and example for all firmwares based on thus's th9 firmware.
Post Reply
theailer
Posts: 5
Joined: Wed Apr 18, 2012 2:26 pm
Country: -

Negative spoileron differential?

Post by theailer »

Hi!
I have a model with ailerons acting as spoilerons but I can't quite figure out how to do negative nor positive differential for the spoilerons ?
Neither could I find it in the forum either.
Im using spoilerons on a fixed setting on a switch.
Thanks in advance.

User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Negative spoileron differential?

Post by Rob Thomson »

You may want to consider using open9x as it has a proper differential feature built in.

Yo can achieve the same thing with er9x, but it takes a few mixes!



Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
theailer
Posts: 5
Joined: Wed Apr 18, 2012 2:26 pm
Country: -

Re: Negative spoileron differential?

Post by theailer »

Thanks!
I did try open9x but gotten quite used to er9x.
I might try switching over again tho. When you say a few mixes, how many do you mean?
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Negative spoileron differential?

Post by Rob Thomson »

From memory.. Under er9x it was 2 mixes per surface.

You have to apply a curve that applies for each half if the stick movement. (The video guide shows how this is done)

No major issue doing it that way... But of using a full house glider you quickly run out of free mixes!


Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
theailer
Posts: 5
Joined: Wed Apr 18, 2012 2:26 pm
Country: -

Re: Negative spoileron differential?

Post by theailer »

I already have the mixes setup so it applies to each half of the stick movement with the ailerons, but what I can't figure out is how I can make the aileronservos not move up at all when I have my spoilerons deployed.
So when I flip my switch to deploy the spoilerons I want the ailerons to only move down, no upward movement at all.
Sorry if I was unclear or don't understand ;)

User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Negative spoileron differential?

Post by MikeB »

I asked elsewhere, but got no answer. If you want differential on an aileron, you just use a single curve that is different on each side of centre don't you?
You need two mixes, one for each channel driving each of two aileron servos. Each has a curve setting the differential.

What uses up mixes?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Negative spoileron differential?

Post by Rob Thomson »

That would work...

The video tutorial describes differential as requiring 2 mixes for each servo, one for each size of the stick.

On a 4 servo wing, and this would result in a total count of 8 mixes used.

I wonder if this whole question on differential has come about from the video guide showing something complex for a simple job?

Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Negative spoileron differential?

Post by MikeB »

And if you only have an aileron to control on a channel (not flapperons/spoilerons) you can just set the limit on one side to a smaller value than on the other.

How many ways do we need to do the same thing?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Negative spoileron differential?

Post by Rob Thomson »

MikeB wrote:And if you only have an aileron to control on a channel (not flapperons/spoilerons) you can just set the limit on one side to a smaller value than on the other.

How many ways do we need to do the same thing?

Mike.
Well limits are not a good way :mrgreen:

For simple differential yes. But add spoilerons or crow to the equation and you actually need full movement to achieve what you want.

But we digress... and are not helping this chap solve his problem.

Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Negative spoileron differential?

Post by MikeB »

Back on topic, try:

CH01: + -100% AIL
CH01: R +100% AIL offset(100) switch(AIL)
CH05: + -100% AIL
CH05: R -100% AIL offset(-100) switch(AIL)

The first mix on each channel is the standard aileron control, two servos moving in opposite directions.
The second mix is activated by the aileron switch, and replaces the first mix when active. The offsets cause the spoiler action, and each aileron just moves down to the centre position.

Does this do what you require?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
theailer
Posts: 5
Joined: Wed Apr 18, 2012 2:26 pm
Country: -

Re: Negative spoileron differential?

Post by theailer »

I worked it out using different curves for the spoilerons, thanks!
Example:
C1 -100 -100 -100 0 100
C1 100 100 100 0 -100

CH01: + -100% AIL
CH01: R +100% AIL switch(AIL) C1
CH05: + -100% AIL
CH05: R -100% AIL switch(AIL) C2

So when I switch my spoilerons on I have them full up at mid stick. Stick full left makes the right aileron go down to it's full extent but the left aileron stays at the same position and acts as a spoiler. So simple when you know how ;)
Thanks for making me understand.
User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Negative spoileron differential?

Post by MikeB »

Always good when you understand how things work. For your requirement you can also try:

CH01: + 100% AIL
CH01: + 100% AIL offset(+100%) switch(AIL)

No curves needed, the second mix uses the offset to get the spoiler function, and because it is added to the first mix, it doubles the movement. Limits prevent the movement in the other direction.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
theailer
Posts: 5
Joined: Wed Apr 18, 2012 2:26 pm
Country: -

Re: Negative spoileron differential?

Post by theailer »

Hi again.
I've been away working for a couple of weeks so I haven't been able to fiddle with my RC stuff.
The way I have it setup now with curves I can't use the slowdown feature, so I'll try MikeB's offset and limits and see how good that works.

Post Reply

Return to “er9x / gruvin9x / th9 based firmwares”