Dual-motor tailsitters

Now I have to buy RealFlight 8 and convince my wife it’s a tool, ya right, oh ya, a better computer too… honey…wish me luck…thanks Otto+Tridge

Hi,

I have tested the modified airframe. The result seems to be good. More stable in hover especially after moving CG back towards neutral point (in fixed-wing perspective). I will do more tests in a wider area for transition.

In additional to control surface modification, I also use a new firmware Arduplane 3.8.3. I realized that some default values of certain parameters have also been changed. So, I’m not sure if it because of larger control surfaces or PID value that help to achieve more stable hover.

But after looking at you picture. I think your control surfaces seem to be small. Not sure which prop diameters of your plane. A bigger prop will also help incraese control surface area that is exposed to slipstream effect of propeller, resulting in more control surface effectiveness.

Cheers,
RW

2 Likes

Hey folks

Been flying yesterday.
Havnt retested auto, cuz too windy.
Tuned the forward flight PIDs of Pitch via Nichols Ziegler method and much better results now, though I have not set the exact correct PIDs due to lack of accuracy of me analyzing the video for the ozzilation frequency.

Results for Pitch: P_critical = 0.30 , freq_ozzi= 0.5s.

Was quite exiting cuz the plane ozzilated very hard, as you can see in the video.

Here second short flight with FPV chase:

Logs: https://www.dropbox.com/sh/fj5qi9gbm0vdrnt/AAAF6jhFalfi3_1FDAjgzFU5a?dl=0
(for some reason I only got non, or empty log files all flights before. But MP was not saying bad logging or any other fault. Dunno why)

Is there any way to get differential thrust mixed to the turns? I found that its flying much better if I put some yaw in the turn, but it does not do this automatically while in loiter for example.

Cheers, David

FYI working on a production model … got new pixhawk, cheap version, lots of vibration in stabilize mode, servos hunting just sitting nose up, ok in hover and manual mode,… tried to read sd card …not readable, defective,but no indication til I removed it to download, replaced it, also thinking firmware may also be corrupt, not tuneable, zero out everything I could think of but still hunting, reloading with latest and will test again…
Rick

Hello Sir,

Thanks for your reply, I updated my previous reply to you. I updated info on CG according to your guideline, I updated that CG good at Natural point.

Flight test of copter mode with updated control surface and CG with firmware Arduplane 3.8.3 is here . I found lot of improvement in copter modes.

I used 6 inch prop, 2300kv motor. Wingspan - 4 ft, total weight - 720gm

I used small size prop, there was two reasons, those motor and prop was available towards me, another reason was, I thinks in the view of forward flight 6 inch prop are good in the view of large tip speed requirement (2.5 * stall speed).

I need more test, and if I found need of large prop than I will update same.

Sir best of luck for your forward flight test, I will also test soon.

Well I found some difficulty , and need help on following points from all members.

  1. Climb Sensitivity - Normally in ArduCopter the climb sensitivity can be set by THR_ACCEL_P and THR_ACCEL_I , but I couldn’t found similar parameter to set climb sensitivity of copter mode in Arduplane tailsitter.

  2. Maximum Spin Control of motor for Copter modes - I couldn’t not found any output spin change in motor by set Q_M_SPIN_MAX . Please guide how we can control on spin at Arduplane tailsitter

Thanks

sorry for the slow response on this, I’m getting quite a long way behind on the forums this week.

I’ve reproduced the “knife edge” behaviour in RealFlight. It happens when the vehicle is rolled past the point where it can use differential thrust to bring itself back upright. It gets into a state of equilibrium where it circles in an attitude close to knife-edge flight. I’ve had it circling in RealFlight for a couple of minutes in that state.
I think it happens due to the following combination of factors:

  • the vehicle doesn’t have quite enough power to weight ratio. I could get it to happen with the simulated vehicle on 3S but not on 4S
  • while it is in the knife-edge flight the upper motor is at close to zero throttle (as it is trying to use differential thrust to bring itself upright). This gives almost no control authority on the upper elevon, and almost no control from the upper motor thrust vectoring
    It could recover if it first rolled flat and then pitched up (after gaining speed), but it doesn’t know to do that. It tries to recover both roll and pitch at the same time, and the combination leads to it circling.
    I’m not yet sure what we can do about this.

I’ve fixed a bug this week (after 3.8.3 release, sorry) with transition to forward flight in AUTO missions. It does a really ugly transition in the 3.8.3 code after a VTOL takeoff in a mission. The transition tends to lose a lot of height too. I’ve fixed that in master and the 3.8.x branch so it does the same sort of transition it uses for QHOVER to FBWA mode.
Cheers, Tridge

1 Like

yes, if you use KFF_RDDRMIX and RUDD_DT_GAIN you will get differential thrust in turns. You may find you need quite high values to produce a noticible effect, for example KFF_RDDRMIX=0.5 and RUDD_DT_GAIN=50

2 Likes

Hi palm369,

be aware what happens, if you apply too much differential thrust :wink:

Dual-motor tailsitters
( beginning at 00:20 sec in the above mentioned film) :

Regards
Rolf

Thank you for the answers tridge.
I still dont get it.
AFAIK there is no point as you described. The system has always full authority to the axis which is controlled by diff thrust. This is the main idea behind the control algorithm developed by the ETH here: http://flyingmachinearena.org/wp-content/uploads/ritzIEEE17.pdf
Its correct that my tailsitter has a lack of thrust, but this can not be the problem here.
Can you post a video of the behavior you noticed in RF8?

As this tailsitter has its CG far back, it does not need to first have speed for pitching up. Having the flow of the prop over the flap is quite enough. This is exactly the reason i put the CG that far back, because its mandatory for the tailsitter to have this ability.

So this is what caused that? Could you please release a beta so we can test it?

Have been testing auto today. Tested it three times and three times it was going knife edge. After 10s or so wobbeling around like this it somehow stabilized itself and then was flying fine till the landing.

Vids following. This time i got logs :sweat_smile:

Hi folks.
So here is the video of the second auto test I did this day. First one got no video cuz my runcam didnt record for any reason and the third one has broken log. This is driving me nuts. At least I have one flight recorded on log AND video…

LOG: https://www.dropbox.com/s/xmbosuz11qjogvx/00000005.BIN?dl=0

Exchanges the Pixhawk for a brand new one and you can see this one has some problem with the baro. Measured pressure is way off (like half of normal) and also for any reason my airspeed sensor is not working anymore.
Also take note of the big diffrence of the pwm signals going to the motors at hover. This might be caused by this crappy escs drifting and not having a crystal for temp compensation. In hover this does not realy matter, but when it going in plane mode, both escs get same signal but outputting diffrent thrust, resulting in the plane pulling to one side. (left in my case)

I tuned the forward flight pitch PIDs using Ziegler Nichols Metode. I put just a P value in in one flight and measured the oscillation frequency out of the log. Here you see the results which I consider superb:

But you can also see in the video here that when the plane controller takes over it has huge oscillation first and settling then. https://www.youtube.com/watch?v=nYMIBnSBdUE
log: https://www.dropbox.com/s/hwuwap5g51me2jj/00000003.BIN?dl=0
I dont understand why this is happening when the PIDs seams so well tuned on the other hand.

I now use PID + FF on the pitch axis. Also tried only PI + FF but plane crashed due to this.
Fat values is what I used in above flights:

Cheers, David

Hello palm,
I also tried an auto mission with my tailsitter this afternoon and I got the same result. Just the knife edge was right side. Looking at my log and rcout 1-8 I can see that as soon as the nav command ID16 (the end of the takeoff, so goto WP1 I think) is done there is a drop in RC5 and RC6 (ESCs for me) followed by a sudden increase (from 1350 to 1750 in 0.1s). At the same time RC3 and RC4 (tilt motor for me) goes to steady neutral. As my gain Q_tailsit_VF gain is 0 I think it means the wing fly no longer in copter mode but in fixed wing. Without speed, without differential thrust control and with sudden throttle increase it is very normal the wing become uncontrollable.
I will make some more flight to see if this is true or not and search for a solution
Pierre

1 Like

Some enjoy Realflight, others enjoy real flights :wink:

Perfect tranistions with arduplane 3.8.3

Nice to see a Realflight, if it work as good as seen in the video.
How was the result of the tuning?
Regards, Otto

Attention: I found when you reboot the FCU via MP while safty sw is “unsafe” there is a possibillity that the motors will spin at max for several seconds till its rebooted! AP3.8.3 @tridge

I reboot the FC with powered via USB only. The Battery is not connected.

Hi everyone,

I’ve just tested several flights of auto mode with Arduplane 3.8.3 with conventional tailsitter. No PID tuning for performance, just try function of the code. The FW transition is not so good while backward transition is ok but still a bit rough. Actually, attached log is the flight that was first intended for full auto from takeoff to landing. However, I changed the decision a bit by switching to auto mode after manually bringing the vehicle up and did FW transition. It then performed transition back to hover mode (I didn’t know it didn’t skip a previous command) resulting in unexpected auto backward transition which was ok (in video 1.45). After that it climbed to the desired altitude (I don’t know why). Then, did FW transition which was a problem. The vehicle tried to do something by raising throttle back and forth and tried to stabilized itself resulting in altitude loss (in video 2.01). Fortunately, after some time it could reach minimum desired airspeed. So the transition was complete and follow normal waypoints.

I also tested full auto after this flight. Crashing during forward transition and sd card disappear somewhere else. The same behavior as the posted video.

Not sure if it 's something to do with inverted flight or not. I saw certain lines in the code that if the plane is in inverted position, it’ll try to prioritize the roll to normal flight. I also see the roll in log which is quite severe. And for FW transition, it seems that there is no step to gain speed with hover first. The controller is switched suddenly between copter and plane. Can someone please tell me what is the exact procedure of FW and BW transition rightnow ?

Cheers,
RW

Cross posting to link an associated thread to the guys who can help :slight_smile:
Vtol delivery wing

1 Like

the FW and BW works fine. The FW is very smooth, the BW a little ugly but reliable even in wind. In auto the FW transition does not work, I think there is a bug. the BK transition is fine. Without vector thrust, the stability is at the limit and in wind this is almost impossible to keep stability. Probably a clever design of the wing would better that but this is an other subject. You need to tune the PID, Autotune in fixed wing is fine. For the copter I would advise to held the wing nose up in qstbilize mode. Begin to set mixing_gain to 1.0 or 1.2. To set PID (Q_A_RAT_X) increase one D term until you get fast oscillation then reduce D. Increase the corresponding P until you get oscillation (slower ones), then reduce. Make I=P. You can play also with Q_AZ_P and Q_AZ_D to improve Qhover and transitions. Same method, increase D until oscillation then P. Did you set EKF to 3 ? Q_M_THST should be correctly tuned. My wing is flyable in manual mode, I have set a panic switch with my Tx that replace whatever mode by manual mode, so when something goes wrong I always be able to take control and land manually. I hope it helps
Regards
Pierre

Yep, I plan to tune the airframe. Thanks for the info. This flight was just to see how code can handle the auto transition as manual transition was already proof. My idea is that the FW transition should start with fw motion in copter mode to gain a certain speed before switching the airplane mode. As I also plan to scale up the airframe and I suspect that for larger airframe the transition might not work correctly. Except the airframe has enough thrust to weight ratio (which I don’t know the exact value).

No, I use EKF 2 (Default).