Update: DCM for better piro stability
With the tail rate mode and HH mode both working well on the PhuBar, I turned my attention to improving piro stability. I had noticed some instability if I do a simple piro when the heli is not absolutely level.
I believe this may be partly because the roll, pitch, and yaw data are processed independently of each other. This works fine until you have a fast yaw rate. Ideally the system needs to rotate the pitch axis and roll axis when yawing occurs. If the heli yaws 90 degrees, then pitch becomes roll and roll becomes pitch, with respect to a fixed earth-based coordinate system.
What is needed is an integrated representation of the attitude of the heli with respect to the earth frame of reference, where motion on one axis can affect the other two. In other words, pitch and roll need to be "yaw aware".
It seemed that a good way of doing this was to implement a Direction Cosine Matrix , as outlined here:
I spent the last week implementing this in Spin Code on the PhuBar3. I am in the process of tuning the gyro gain factor to get the matrix to update accurately, but so far it looks good. It rotates the pitch and roll axes appropriately when the unit is rotated around the yaw axis. The nice thing about DCM is that roll and pitch correction values can be plucked out of two of the elements of the matrix - they just need to be scaled before they can be fed into the swash mixing equations.
I am finally using some of the matrix math they tried to teach me a long time ago in Linear Algebra class !
Last edited by Heli Hacker; Jul 31, 2010 at 02:52 PM.
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Discussion||Walkera 4#3B: Increasing Flybar Pitch transmission for more stability (plus an idea)||EQMOD||Micro Helis||21||Oct 19, 2009 05:23 PM|
|Discussion||head designed for stability 450 size||CA'ed fingers||Mini Helis||3||Sep 08, 2009 10:56 AM|
|Discussion||attempted piro funnel/ piro snake||driftinsequence||Mini Helis||31||Mar 16, 2007 11:50 PM|
|Gallery||J250s (was DCM-189, now DCM-263) Are back at AE||Vipula AD||Power Systems||1||Jan 17, 2006 03:38 PM|
|Adding some serious weight for better wind stability??||Astro30||Micro Helis||4||Sep 04, 2003 01:25 AM|