vgwit

  • **
  • 96
Pirouett compensation
« on: June 20, 2019, 06:08:00 pm »
Hello guys,

I've tried to assess PiroComp effect but couldn't.
I was flying forward in acro mode and then did a 180 degree yaw. I expected PiroComp will pull quad's nose down or any other action. But could not feel any difference. Quad kept moving the same direction until I did a pitch forward. Here is the footage:

https://drive.google.com/open?id=14hdEhQ_bGZfKULqKq3PYQfew0ESkq5qQ

Have read its description in wiki but still not clear for me.
Thanks

Re: Pirouett compensation
« Reply #1 on: June 20, 2019, 09:24:08 pm »
When you are in Acro mode (called Rate mode here at LP, LP Acro+ is also a rate mode) with the nose tilted down and you yaw 180 degrees, the nose will be tilted up looking out the back and you will be flying backwards.  This is normal and correct whether you are using piro comp or not and whether flying a heli or a quad.

Three paragraphs to explain what piro comp is.  Then why piro comp is not suited to multicopters:

When flying forward at HIGH speed, a stabilized (that is stabilized in 3D, not just yaw) helicopter (one main blade) with a clockwise spinning blade will have to trim itself with a lot of left roll to compensate for the left side main blade flying into the wind (and generating more lift) and the right side flying downwind (and generating less lift).  The stabilization electronics does this by adding more and more "trim" over time until it is stays level (does not roll or pitch).

Starting flying forward at high speed, now what happens if you do a 180 pirouette and are immediately flying backwards at high speed?  All that built up left roll trim is the exact opposite of what you need, but it takes time for it to trim more and more right roll to finally get back past neutral to enough right trim.

Pirouette compensation simply put, instantly moves the current amount of stabilizer induced trim from left roll trim to right roll trim as it yaws.  If you only yaw 90 degrees to the right, it will actually move this trim to be pitch up instead of roll left.  And any partial rotation moves it partially as needed.  It's just a little trig.

So that is all piro comp is.  Moving this stabilizer induced trim that comes from trimming fast forward flight ... around to where ever it should be just by watching how much yaw is happening.

Note that piro comp is often a BAD thing.  Imagine if your 'copter (of any kind) is not balanced perfectly at the center of lift.  Say you sometimes fly with a camera in front and that makes it nose heavy.  The electronic stabilization pitches backward to compensate.  Now you yaw 180 degrees and the piro comp moves that trim from backward pitch to forward pitch, but the that is exactly wrong.  Piro comp must be turned off to make normal flight (not doing a lot of fast flight with pirouettes) of an out of balance 'copter work as expected without a lot of wobbling around.  This out of balance condition also happens if one or more motors of your multicopter is stronger or weaker than the others.  If doing stationary pirouettes is not flat and looks wobbly, try turning piro comp off.

An X quad does not see left-right trim changes in fast forward flight (because the left and right motors counterrotate and lift/torque effects from high speed are the same on both left-front and right-front), but it does see fore-aft trim.  A + quad (or an X flying at 45 degrees forward) can see left-right trim changes in fast forward flight.  For a quad (any multicopter) you can see that trim changes vary (differently than a helicopter) during the pirouette.  They are not constant like they are for a helicopter (one main blade) where the trim is always e.g. left roll when referenced to the direction of travel.  Thus this heli feature is just not well suited to multicopters.  Piro comp can help a quad to hold fore-aft pitch trim better during fast forward flight pirouettes, but will actually hurt left-right roll trim a bit.

Also, there are some flight setups where piro comp is disabled automatically.  I am guessing that self leveling flight modes like Attitude disable this automatically.

Attitude mode pirouettes at high speed require a circular motion on the roll-pitch stick to keep the bank angle facing into the wind as you yaw around.  In forward flight you are holding forward pitch.  For a left yaw pirouette while flying forward, move the roll-pitch stick clockwise (starting from the forward position of normal forward flight), making a circular motion that started with you holding forward pitch, but has you holding right roll when the quad is pointed left, back pitch when it is flying backwards, left roll when the quad is pointed right. and return to forward pitch when the quad is pointed forward.  Roll that stick around in a circle, in sync with the quad position and you can do continuous forward flight pirouettes.  Rotate the stick a LITTLE too slowly and your forward flight turns one way.  Rotate it a little too fast and your forward flight turns the other way. Use this technique to fly around the field while doing continuous pirouettes.
« Last Edit: June 21, 2019, 07:10:41 am by TheOtherCliff »

vgwit

  • **
  • 96
Re: Pirouett compensation
« Reply #2 on: June 21, 2019, 08:34:45 am »
Thank you Cliff,
it is a lot clearer now. The only thing

"An X quad does not see left-right trim changes in fast forward flight ..., but it does see fore-aft trim"

I guess it should see fore-aft trim during forward flight in rate mode only if unbalanced?

Re: Pirouett compensation
« Reply #3 on: June 21, 2019, 07:06:13 pm »
The trim I was talking about was the automatic trim inside the electronic stabilization device.  It is also called "I term wind-up".  The user just sees a correctly flying aircraft if it is working well.  He doesn't actually see for instance an aircraft pitching up or rolling right because this I term wind-up compensates for it.

An unbalanced any-copter with piro comp on gives you wobbly pirouettes at any speed.  Also, when you stop the pirouette it will have moved the "I term wind-up" to the wrong place and so it will drift.

Here is a quad with an imbalance (weight, weak motor, or unmatched props) and piro comp on (new pilot).  It drifts badly after the yaw:


Same quad with piro comp off does not drift:


An unbalanced any-copter with piro comp off gives you good straight flight at any speed, but can show noticeable trim changes with any of several big stick changes (generally mild stunts or more).

If your HELIcopter is balanced correctly but does not have pirouette compensation then when you do pirouettes while flying fast you will see roll and pitch movement.  If it DOES have piro comp, then you will not see roll or pitch movement.  For well balanced HELIcopters, piro comp can be left on all the time, but even for helis I would recommend leaving it off.  Let a pro that doesn't need advice and knows his heli is balanced turn it on because he wants to do stunts.  Don't force a beginner to troubleshoot strange flight behavior caused by imbalance + piro comp that goes away as far as he is concerned by just turning piro comp off.

Others may disagree, but I would say that for multicopters, it should be left turned off until you find a case where it can help and that case could only be very high forward speed with fast pirouettes, but be aware that case acts differently on multicopters and isn't well corrected by using a helicopter feature (piro comp).  There are several things that it will make worse and really only one that it makes better.  Generally getting your PIDs tuned correctly and your multicopter balanced (both weight and power, no weak motors or different props) will have your multicopter flying well.  Every case I have seen of multicopter pitch "blow out" at high speed has been fixed by using higher PIDs.

Piro comp works on a helicopter because (relative to the constant forward travel) the heli always sees the same trim change.  The advancing blade always generates more lift which I assume gets translated by gyroscopic precession into pitch up.  It doesn't matter where the heli body is.  But (also relative to the constant forward travel) in a single 360 pirouette at high speed, a multicopter goes from needing left roll trim to needing right roll trim twice, and it probably always needs some forward pitch (because the front motors have cleaner air).  This happens because in an X configuration you get no roll torque (the left-right motors are counter-rotating) but in a + configuration with CCW side motors you get (simplification) a left roll torque and a little later (after going through an X configuration where there is no roll torque) when your side motors are CW, you get a right roll torque.  The heli piro comp feature will handle the constant forward pitch, but not the changing left-right roll.

Forgive me, but what I saw in your video was a quad acting pretty much like it should, with a new pilot that was maybe expecting something else, like the nose to stay down when you rotate on yaw.  ;)  Although it may be possible to make that happen by abusing a new feature (maybe not even available on CC3D), I wouldn't learn that way.
« Last Edit: June 22, 2019, 08:44:18 pm by TheOtherCliff »