Hi
I build a rather unusual copter configuration and I am now in need of custom mixer.
The configuration can be described as follows:
Two rotors
One BLDC per rotor
Coaxial rotor alignment
No collective pitch, Throttle RPM controlled
No cyclic pitch - rotor planes are tilted(together) around a fixed center
Two 120° swashplates with 3 servos attached to it.
Based on blade130.main.mix
I created my own mixer, however I didn’t figure out yet how the channel assignment works when utilizing the Heli H/T/P/S mixer, and I am highly uncertain about everything else in this regard
Could you give me some advice if I am on the right track with my approach of mixer below?!
Interesting project!
I never used the helicopter mixer myself but I had a quick look at the code and I found a few things that could help you.
In the swashplate mixers, the P: line (i.e.: pitch curve) is required, even if you don’t use it (5 points needed). Simply set the line as follows:
P: 0 0 0 0 0
Also, since you are not controlling the throttle in the heli mixer but separately, set the thrust curve (T: line) to zeros (5 points), like the pitch above.
In the BLDC mixers, the number on the M: line defines the number of inputs (i.e.: number of S: lines). It should be 2 in your case. Otherwise, the 2nd input is ignored.
With the current mixer you have including the modifications above, the outputs should be:
Throttle 1 (not used)
Servo 1.1 (swash plate 1, position 0 degrees)
Servo 1.2 (swash plate 1, position 120 degrees)
Servo 1.3
Throttle 2 (not used)
Servo 2.1 (swash plate 2, position 0 degrees)
Servo 2.2
Servo 2.3
Here is the problem, assuming that you are using a Pixhawk 4, you can’t put the two motors on in the same (main) mixer since the is has only 8 outputs. You then have two possible solution:
Put the two simple BLDC mixers in an .aux mixer and use the 1 and 2 FMU outputs
Create a stripped-down version on the helicopter mixer that doesn’t output throttle or include yaw control in the existing one.
Btw, moving the whole rotor instead of using cyclic pitch might produce some non minimum phase behavior. I’m interested to know how you planned to handle this; can you share a bit more about the project and especially on that topic?