Understanding mixer offset

ersky9xr is the port of the er9x firmware to the 9XRPRO radio.
Post Reply
rsilk49
Posts: 140
Joined: Wed Oct 26, 2016 10:33 am
Country: United Kingdom

Understanding mixer offset

Post by rsilk49 »

I want to add a small amount of up elevator on launch using the ELE switch.

This mix produces a result by lowering the pwm from 1500 (mid point) except the max pwm is much lower than the required 2000.

CH2 100 Ele
+ -30 sELE Ofst -30

I had to decrease both the weight AND Offset otherwise the mid position was not at 1500 when the switch was off.
Is there a better way to achieve the same result, or should I control this in iNav?
S500 + Pixhawk 1 clone + Mauch PM + C&T Telemetry adapter + 9XR-Pro (Taranis gimbals)/XJT/X8R

rsilk49
Posts: 140
Joined: Wed Oct 26, 2016 10:33 am
Country: United Kingdom

Re: Understanding mixer offset

Post by rsilk49 »

Second attempt:

CH2 100 Ele
+ -30 HALF
Sw ELE, Ofst 0

This seems to work better. Only minor issue is the max down elevator PWM is less than 2000 (1850).

I also restricted it to work only with the flight MODES I might use for launching.
S500 + Pixhawk 1 clone + Mauch PM + C&T Telemetry adapter + 9XR-Pro (Taranis gimbals)/XJT/X8R
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Understanding mixer offset

Post by MikeB »

This works:
CH2 +100% Ele
R +130% Ele Switch(ELE) Offset(-30%) Curve(x>0) [Replace mix]
+ 70% Ele Switch(ELE) Curve(x<0)

With ELE off, you have normal +/- 100% from the stick.
With ELE on, you have an offset of -30%. In one direction the stick then gives 130% to go from -30 to +100. In the other direction the stick gives 70% to go from -30 to -100.

If you use sELE as the source, then the output (2-position switch) is either -100% or +100%, which is why you needed to change the weight as well.

I've also got a couple of ideas where you could use a pot to set the offset amount!

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Understanding mixer offset

Post by jhsa »

Mike, can't it be done using a GVAR?

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Understanding mixer offset

Post by MikeB »

Probably not with a single GVAR that both moves the offset AND changes the throw to get to 100% in the opposite direction to the offset and only 100% in the same direction.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “ersky9xr”