Tiltrotor support for plane

Hi Tridge,
Thanks for the new test code and list of things to test. I should get to play with it today.

I have experienced a difference in the transitions from forward flight to hover in the CL-84 as compared to the FireFLY6 with AvA. The FireFLY6 transitions are most elegant and automated with their new AvA and Wind Assist features. The FF6 transitions are always done in Alt. Hold modes. This would correspond to QHOVER and FBWB modes in plane. You simply move the left slider on the Taranis to change the FF6 from forward flight to copter-like Alt. Hold mode.

On the CL-84, I had it set up with the same left slider controlling the flight mode. The audibles from Amber’s voice are a real help here at times when you lose your wits from flying many different models. Transitions from hover to forward flight were easy and forgiving. However, when transitioning from forward flight back to hover, it worked best when you had the proper setup as shown in my videos. SimonK ESCs worked considerably better than the stock ESCs. I would slow the CL-84 down in speed so it was just above stall speed and flip the left slider while facing into the wind. The tilted wing of the CL-84 has much more resistance to wind than the FF6 tilt rotor design. I have flown the CL-84 in enough wind that I could not hover land it so I needed to land as a normal plane in forward flight mode. The FF6 also has more power to hover with its equal Y6 motor configuration.

My initial testing for the CL-84 using copter v3.3.3 was quite fun to see it Loiter. I was also surprised to see that my Throttle MID was near 500 as I thought it would be underpowered.

1 Like

Tridge,

I tested the ArduPlane-v2-CL84-test2.px4 firmware. Here are the results. I have two .bin log files from the testing but they are too large for uploading to this forum. If you really want them, I can post them in DIY Drones or RCG. Note that I disabled any arming checks.

Here is the good stuff:

  1. ACC Calibration was successful, not sure why it wasn’t yesterday but I had tried 5 times
  2. QStabilize, QHover, and QLoiter seem to compensate motors properly
  3. RC3_DZ was 30
  4. The motors shut off properly after calibrating the Radio, now RC3_MIN is 982 (unless a transition was done)
  5. In FBWA mode, throttle control was good and rear motor did not spin (unless a transition was done)

Here is the odd stuff:

  1. Could not disarm using yaw stick once armed by yaw stick (before or after a transition)
  2. After a transition, motors make a weird popping noise and seem uncontrollable
  3. After a transition, I can no longer shut off the motors
1 Like

Greg, do you have ARMING_RUDDER = 2?

1 Like

Good catch, my ARMING_RUDDER is set to 1. I am used to copter so plane is new to me…thanks!

I attached my param file…
CL84withAPMplane1.param (13.2 KB)

Hi Greg,

as iskess says, you need RUDDER_ARMING=2. The reason it is disabled by default is that full left rudder and zero throttle is a perfectly valid flight input in fixed wing.

after what sort of transition? From what mode to what mode? if you can get a DF log of this that would be appreciated

again, what sort of transition, and how are you trying to shut off the motors?
Cheers, Tridge

Happy to be able to help you Greg, your contributions to the community over at RCG has been a tremendous help to countless hobbyists.

@tridge, I don’t want to hijack this thread, but I was hoping you could reply to a few of the Quadplane questions embedded in my recent post. Sorry it’s so verbose, the questions are in bold.

http://discuss.ardupilot.org/t/questions-and-observations-from-my-quadplane-maiden/10035?u=iskess

Thank you so much for your valuable time.

1 Like

Tridge,

The maximum files size upload on this forum is only 3meg so I hosted the log (.bin) files below. One is 8.8meg and the other 6.4meg.
Test2Log1
Test2Log2

Here is how I currently have my Flight Modes set up. I haven’t used QRTL so I am switching between the first 4 modes. From any Q mode, switching to FBWA mode causes the problems; motor popping noises and I can no longer shut off the motors with the throttle all the way down. The same issue happens in reverse order. My use of the term “transition” is from a Q mode to FBWA or back…so basically from plane to copter or copter to plane.

Edit: Here is more detail on the mode change issue.
If I go into FBWA mode before arming, I can arm the CL-84 and the FBWA mode appears to work fine.
If I disarm in FBWA mode and change to QStabilize mode, I can arm in QStabilize mode and it appears to work fine.
The issue starts when I am already armed and try to change modes from QStabilize to FBWA or reverse. Then the motors start popping in FBWA mode and I cannot turn them off with minimum throttle. When in this odd mode, I can no longer disarm and need to power cycle the CL-84.

@iskess,
yes, you’re right I haven’t spent enough time responding to help requests. I’ll try to get some done today.

DUDE!!! THAT IS AWESOME!!!

I’ve got 3 of the Aero’s I can setup in this manner, plus 1 Voltanix Ranger EX which someone has already done. This is amazing!!!

Great work!

Hi all, this is fascinating progress. I would like to do my part to help.
I would like to build a test airframe for this. I would rather just tilt-rotor rather than tilt wing.
I was thinking of designing and building an airframe that can be either Tri or Quad, (it’s quad I’m particularly interested in).
Anyway I will build whatever setup will help the most for testing this firmware. So what would you like?

Regards
Anthony

Hi Anthony,

Welcome to the tiltrotor support for plane thread. Choosing a frame type is a tough call so maybe Tridge will have some suggestions. I have the BirdsEyeView Aerobotics FireFLY6 which is a Y6 tricopter, tiltrotor, flying wing. The AvA firmware works fantastic on a single Pixhawk, however, the entry cost of around $1500 is quite high for many hobbyists. Further, I don’t want to test new firmware on the expensive frame that already works great. Here is one of my FireFLY6 videos.
FireFLY6 Test Flight 2

The CL-84 from HK is another rare VTOL ARF but it is much lower in cost and capability. Hopefully, the market will open up with some additional designs for those hobbyists that don’t have the skills (or desire) to build there own model. I tested it well in stock form and again using Copter v3.3.3 so it’s a good candidate for the new tiltrotor/tiltwing support.

My current plans also include converting my Bix3 ARF APM plane setup to a QuadPlane. It looks to be a simple conversion as it already has a Pixhawk in it.

I think your choice of going for a tiltrotor instead of a tiltwing is a good one. Although a scale model, the tiltwing CL-84 is like a kite in wind when hovering as compared to the tiltrotor FireFLY6 design. If you choose an inexpensive frame that you can modify, you may be able to leverage from the FireFLY6 spares like the transition kit or motor mount kit. Good luck!

Tridge,
I did a test hover with props on in QStabilize mode after changing my PIDs to values similar to the ones I settled on for my Copter v3.3.3 testing. It worked quite nicely so I think they are close. The first PID image below is from my Copter v3.3.3 testing and the next two images are my tiltrotor code in Plane as the copter settings appear as Q_. Note that Q_A_RAT_YAW_FILT was also changed from 5 to 20. Q_A_SLEW_YAW was ok at 18000 and Q_A_ACCEL_Y_MAX was ok at 100000.

One new issue I saw was that I could not disarm in QStabilize mode using the left yaw stick even with ARMING_RUDDER set to 2.

Hi Greg,
Thanks for your reply. For my use eventually I wish to implement into a larger 10kg ish frame so a quad would be needed.
Meanwhile, I wish to build anything that will help the development of the firmware. I just ordered two Pixhawks for this as I think I should build two airframes that would help in the development. One Tri and one Quad. (trying to cover most configurations builds general hobbyists would likely build).
As for the components this is not an issue as we manufacture all our parts in house. Perhaps if we designed a nice tilt mechanism we should make it available to the community.
Anyway the point is, I will build whatever would be most helpful to the development.
Bix3 yep that would make a good test bench. Actually I have some Rangers on the shelf. I bit heavier but would lend themselves to this.
I agree tilt wing like the CL-84 is a flying kite. Well could quite quickly become a kite.

I’ve created a support thread for APM QuadPlane, Tiltrotor, and Tiltwing projects on RCG. Feel free to add your knowledge, projects, and photos in the link below. The intent is to help others by localizing links in a forum that can support large amounts of information. It is not meant as a substitute for development.

APM: QuadPlane, Tiltrotor, and Tiltwing

@Tridge,
How can I plan an auto approach without a vertical descent, (or a very short one)? I’d like to plan an approach path with a 1:1 (45 deg) glide path to take advantage of the headwind and conserve the VTOL battery power.
As it is now, the plane tries to arrive over the landing point and lands vertically straight down. This seems like a riskier approach than having some airspeed.
What if I set a DO_SET_SPEED below Q_ASSIST prior to the Land WP. Would that force the quad to come to life which would allow a steep descent path?

1 Like

iskess,

Simply add some waypoints along your final leg to home and lower the altitude setting by 10m on each one. Alternatively, you can perform Loiter circles while lowering the altitude when the altitude setting is where you want to end up. The plane will gradually descend over x circles.

1 Like

Thanks Greg but I’m wanting to create a steep approach that only a VTOL could do. If I gradually descend or do loiter circles it defeats the point. I want to be able to clear the proverbial FAA 50 foot obstacle at say 25m and land the same distance upwind of it.

Maybe I need to force a transition to VTOL mode at the WP over the obstacle, then have it fly forward as a copter to a point 5m above the LAND point. If I have Q_VFWD_GAIN >1, then it should use the forward motor rather than tilting forward to navigate to the WP ahead, right?
Can I make this work with the given tools, or do we need some new code?

1 Like

iskess,
I think you will break your plane if you make it too complicated. Simply come in as low as you dare with plane and then transition to copter before the landing point because there will be forward momentum. Once the transition is complete, invoke RTL.

You can see this demonstrated on my stock CL-84 VTOL and FireFLY6 videos. APM will do the same thing under manual control or a mission plan.

1 Like

I would like this to be autonomous. A true hybrid of plane/copter automatic landings, rather than a hard switch over.
Greg both your aircraft are tilt rotors and don’t really operate much in between Plane and copter. The Quadplane on the other hand has the ability to be both at the same time, so a hard transition isn’t needed. This is where Q_ASSIST comes in.
Until there is an autonomous solution that is identified or created, I will experiment with the timing of switch modes. Maybe I should try Q_LAND mode and keep the pitch stick forward to force forward penetration into the wind. If Q_VFWD works in this mode it should reduce the load on the copter motors.

BTW, I’m planning to only have about 1 minute of useful VTOL battery power onboard, so these optimizations can make a big difference.

1 Like

Interesting, I did not realize the mixed mode capability with Q_VFWD_GAIN and Q_ASSIST_SPEED. The Quadplane functionality is certainly different than my tiltrotor or tiltwing models.

You may find that these parameters are not needed if the quadcopter power system is sufficiently strong. I would still start without using them as a baseline and then see if adding them in slowly improves performance. It should be a fun experiment!

1 Like