FireFLY6 VTOL with APM Plane

Greg,

Thanks for the update. I started the transistion to Ardupillot last night, so I am happy to hear everything went well.

A few questions as I am new to Qplane;

  1. Why use Qstablize instead of Qhover?
  2. Why do you need more space in qloiter than in qstablize? I am inferring that from a previous post. It seems a GPS stabilized mode would take less space.

@tridge,

Does RTL include any logic that positions the drone downwind of the homepoint?

What airspeed do you recommend for forward flight?

Recommended settings for Q_WVANE_GAIN and Q_WVANE_MINROLL?

Thanks Gents. I appreciate your help,

Dave

Hi David,

  1. QSTABILIZE (like Copter STABILIZE) does not use BARO or GPS so the pilot has full control. Itā€™s always best to use this mode first before testing sensors. It also gives you real-time control of the throttle level so if you have both copter and plane flying skills then you are in your comfort zone. QHOVER (like Copter ALT_HOLD) does hold Altitude using the BARO sensor (once youā€™ve tested it) but it greatly softens the throttle control so that center throttle means keep the same altitude and max throttle is rise up slowly. In close quarters or windy conditions, this can be problematic.

  2. It all depends upon your GPS conditions, wind conditions, and room for error. Unlike symmetrical copters, QuadPlanes and tilt-rotors may not like wind from all directions. My mini Talon and Bix3 are pretty good in some rear wind but the FireFLY6 wing isnā€™t happy if it is in QLOITER mode with wind at its back. I crashed my AvA FireFLY6 in the same area because I didnā€™t account for a take-off with wind at its back. It took off in copter mode fine but turned 180 degrees before transitioning to forward flight and flew into a 80ā€™ pine tree. Lesson learned the hard way! Always copter out to a clear area before transitioning. :cry:

To give you an idea of where I flew my test from today, watch this video that I made using the AvA firmware.

https://vimeo.com/175120121

1 Like

no, not yet

Iā€™d start with about 19m/s. It can fly slower, but that should give you good stability for initial flight tests.

Iā€™d do first flights with Q_WVANE_GAIN=0. I tend to only enable it if there is significant wind, and then at around 0.1 or 0.2

Here is some information from my maiden test flight. I donā€™t have current running through my 3DR Power Module so the logs only display voltages. The stock power distribution board that they use makes it difficult to run current through the PM.

Flight 1 Log (22meg)

My GPS speed in forward flight ranged from around 15-20m/s (30-40mph). I also need to install an AS sensor.

On the forward flight throttle out graph, you can see my excitement on the throttle stick for my first transition and then I settled down after the first turn to less than 30% throttle so I was happy with the power level.

The flight path plots were very interesting. I really thought I was closer to the road on the right so I will calibrate my perspective next time.

This last plot shows my mode changes at the beginning of the flight and the tiny mowed area that I took off from next to the barn. Orange is my take-off in QSTABILIZE mode, yellow is my first QLOITER mode test. I decided I was good to go so I switched back to QSTABILIZE (in green), to move out and up faster, and back to QLOITER (in blue) before the first transition to FBWA.

1 Like

one thing of note is that in fixed wing flight you are a bit tail heavy. The SERVO_AUTO_TRIM code ended up learning SERVO1_TRIM=1561 and SERVO2_TRIM=1436, which is about 12% down elevator.
You are also tail heavy in hover, as shown by PIQP.I, so Iā€™d recommend adding some weight up the front. If you do that, then re-center your elevons trim before the next flight (it saved the learned values).
Iā€™d also suggest raising PTCH2SRV_P. The log shows it was at 1.1, and I think you should try 1.8 to start with. It was having trouble tracking in pitch.
Is there some reason you had EK2_IMU_MASK=1 ? It means you only ran a single EKF lane so we canā€™t easily check the attitude accuracy.
Cheers, Tridge

Tridge,

Thanks for the analysis. Iā€™ll make a CG change and change the parameters. This was the first flight with my new 4AH Lipo packs. They seem to weigh an ounce lighter (each pack) than the Multistar 5200mAh packs so thatā€™s a 2oz change. I doubt that created a CG change.

I suspect that the EK2_IMU_MASK difference was an import error from reading your fileā€¦which has it set to 3. Perhaps the import doesnā€™t like the Pixhawk2 format using 6 decimal places and a tab compared to the Pixhawk1 integer and comma.

Pixhawk1: EK2_IMU_MASK,1
Pixhawk2: EK2_IMU_MASK 3.000000

Tridge,

You were right about my FF6 CG. It was about 10mm or 3/8" aft so I added 1.75oz to the nose. Itā€™s on the CG now with the gear down so it may be a touch aft still but better. I reset SERVO1_TRIM and SERVO2_TRIM to my previous starting points in the GregsFF6wAPM_Hover2.param file.

I also changed:
PTCH2SRV_P from 1.1 to 1.8
EK2_IMU_MASK from 1 to 3

Lastly, Iā€™m checking my prop adapters for tightness again.

GregsFF6wAPM_Hover3.param (16.0 KB)

1 Like

Lastly, Iā€™m checking my prop adapters for tightness again.

we ended up adding some locktite on the shaft on ours

Hello Gents,

Iā€™ve been heads down working on the conversion to QuadPlane. Thanks to your great work, my biggest challenge was figuring out the Taranis logic switch. We recently decided the Taranis with Flight Deck Pro will be are default RC. So we are incorporating it as we transition. After figuring out my logic switches and selecting my modes, I was happy with how the FF6 responded in Quad and Plane. Then a calibrated the ESCs and took it outside for a more thorough test. Couple observations that Iā€™d like some help understanding and fixing: As I transition to plane, the #3 engine stops. Then all of the motors seem to slowly decline in RPM.

I suspect the ESCs are calibrated improperly and or #3 may be going bad. I followed the VTOL ESC calibration procedures, but never got a tone upon power up.

I am using Q_tilt_mask = 54

Here is .bin file from my ground test.

Thanks for help,

Dave

Hi Dave,

Your issues are a bit confusing to me so perhaps Tridge will understand better.

I use the Q_ESC_CAL=1 method or the individual method in the FF6 AvA manual.

I would simply leave it in QSTABILIZE mode and get hover working first.

Good luck!

Greg,

Thanks for taking a look. Iā€™m not ready to fly it just yet. I want to understand whats going on when I transition. Donā€™t seem to have any problem in q hover or q stabilize but apprehensive to fly due to concerns about escs

Thanks

Dave

Hey Guys,
Still working on getting this thing working. Wondering about the proper ESC set up. Here are my value for RC3-8 and servo 3-8.
RC3_MIN 982 SERVO3_MIN 1000
RC3_MAX 2006 SERVO3_MAX 1900
RC3_TRIM 982 SERVO3_TRIM 1500
RC4_MIN 982 SERVO4_MIN 1000
RC4_MAX 2006 SERVO4_MAX 1900
RC4_TRIM 1494 SERVO4_TRIM 1500
RC5_MIN 982 SERVO5_MIN 1000
RC5_MAX 2006 SERVO5_MAX 1900
RC5_TRIM 982 SERVO5_TRIM 1500
RC6_MIN 982 SERVO6_MIN 1000
RC6_MAX 2006 SERVO6_MAX 1900
RC6_TRIM 982 SERVO6_TRIM 1500
RC7_MIN 982 SERVO7_MIN 1000
RC7_MAX 2006 SERVO7_MAX 1900
RC7_TRIM 982 SERVO7_TRIM 1500
RC8_MIN 1084 SERVO8_MIN 1000
RC8_MAX 1904 SERVO8_MAX 1900
RC8_TRIM 1084 SERVO8_TRIM 1500

Should the trim values for the servo match the RC trim value? And should all the RC_x Min, Max and Trim be the same for each channel?

Thanks,

David

Hi David,

The RCx and SERVOx parameters are independent of each other. The RCx parameters are set during the Radio Calibration in Mission Planner under Initial Setupā€¦so donā€™t change them unless you make radio transmitter changes, then you can run the Radio Calibration in Mission Planner again.

Remember that I changed Q_M_PWM_MIN from 0 to 950 (because 1000 didnā€™t work) to get my 6 ESCs to arm so if yours continue to beep after pressing the Safety Button, give it a try.

Thanks Greg,
My ESCs are arming properly. They spin up and seem to work as expected in q hover and q stablize. But when I got to plane, they start acting weird. I am wondering if flight controller is confused because A/S is equal to 0. Thinking I might set ARSPD_FBW_MIN to 0 for an on ground test.

As I think about my previous post, I guess the only RC channel input that matters is Throttle.

Thanks for taking the time to reply,

David

for motor outputs the PWM range is controlled by Q_THR_MIN_PWM and Q_THR_MAX_PWM. The RC* and SERVO* parameters make no difference for motor outputs.

could you be a bit more specific about the ā€˜weirdnessā€™ ?

can you tell us what you mean by ā€œ#3 engineā€ (in terms of CW or CCW and front or rear and left or right)

When you say set fame class to 5 and frame type to 11, I see the Q_Frame_class of 5 but I donā€™t see a setting in Q_Frame_type of 11 just 10? Is that because MP hasnā€™t been updated to show the new settings?

Thanks a million to Tridge for making this possible, our firefly has been in the case for 3 months because of the downfalls ava had!!! This is a great platform and even better now that we can use all the features MP allows!!!

itā€™s because I forgot to add it to the parameter auto-docs, which MP reads from. Iā€™ve fixed that now. Meanwhile, you can set 11 in the advanced parameter list.

you are very welcome!

Just updated MP and walla its there!!!
Your the man Tridge without you none of this would be possible!!!

Tridge, thanks for the reply. Sorry for the completely unscientific and useless discription of weirdness. When I transition to plane, the top left and bottom left esc stop spinning. However this behavior has been insconsistent. Sometimes its the top left and the back bottom. Sometimes itā€™s the top left and bottom right. Everytime I transition to plane, I hear the motor RPM slowly decay (which might be normal as plane is more efficient and requires less RPM). But the arbitrary nature of motors stopping is disconcerning. I expect the back two motors to stop but not any other motors.

I tried calibrating the ESCs with q_esc_cal 1 and 2. I never got good tones on power up. So I manually calibrated each ESC and got the expect high and low throttle tones.

It seems like the Tilt bitmask may be wrong. I compared my param values to yours and gregs and the bit mask definitly matches. I triple checked my engine wiring, which all seems to be good.

Engines arbitrarily stopping kind of freak me out.

Not sure what else to check.

Thanks Tridge.

As MRC87 said we canā€™t do this without you.

Dave