|
|
|
|
United States, TX, San Antonio
Joined Feb 2007
12,735 Posts
|
P,
You are correct. Tobias did a "virtual accelerometer" in TT-copter code with gyros only released back in about 2006. You had to do a steady hover when first launching so the gyros would calibrate. It auto-tunes the PID inflight. I notice he now has a GPS version for about $600 listed on his website. --Tobias' TT-Copter that self-levels without an accelerometer or manual PID adjustments: http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Ftt-rc.ath.cx%2FSHOP%2FCAT-TT-Copter frame, motors and ESC's extra; board only=~$220 http://www.rcgroups.com/forums/showthread.php?t=1017583 The X-BL had a similar "virtual accelerometer" code scheme before they implemented accelerometer hardware. It worked very well too. The X-BL hardware implementation is still one of the best out there. It snaps to level as soon as the ACC is switched on. Good to point out that most accelerometer code implementations move from self-level to gyro rate as the stick movement is increased for higher pilot induced angle of attack and resulting agility. If you only use small pitch and roll inputs and let go, most will then snap back to level quickly. Cheers, Jim Quadrocopter and Tricopter Info Mega Link Index |
|
|
|
|
|
|
|||||
|
Joined Jul 2008
916 Posts
|
Quote:
Quote:
With I-term even the smallest error will add up over time and tilt it. With gyros without drift it is possible with true auto-level (AHRS), but in real world we need to correct gyro drift with accelerometers, since they are the only way to sense the direction of gravity. Accerelometers: slow reaction + gyros (fast reaction) = grreaat
|
||||
|
|||||
|
|
||||
|
Joined May 2012
42 Posts
|
Quote:
i give you a famous tt copter video with only software making it autolevel ![]() not to mention toby as a young teenager back then this was huge development in my eyes!
|
|||
|
||||
|
|
||||
|
|
Quote:
I is 65, limit 20. However, I have spent all of about 10 minutes messing with it, so you may have to disregard those. It flies best for me with autolevel P at 50, P limit at 35, and I have left the I for autolevel at zero for now since there wasnt anything about it in the setup guide. With these settings, my 450mm quad flies great, and I cant wait to mess with stick scaling to do some aggressive rolls. I'll share what could be the worlds crappiest flight video, but it's the work of an 8 year old girl with an iphone at 9pm... ![]()
|
|||
|
Latest blog entry: CC3D housing with Lexan lid
|
||||
|
|
|
|
Austin, TX
Joined Jan 2009
449 Posts
|
P and I limit
been flying multis for a while and havent run across P/I limits....P/I/D yes
and am familiar with tuning the gains.... but what affects do the "limits" have and how do you work those into your tuning? PS I usually tune P for stability, D as high as I can to minimize overshoot, and I for FF attitude hold....how would the limits play into that? also, I want to use this in flying wings also..especially the autolevel feature for the roll axis which has NO stability in a flying wing....anybody played with this board in that application yet? if so...tuning insights would be appreciated... thanks |
|
|
|
|
||||
|
Tallahassee, FL
Joined Feb 2009
1,737 Posts
|
Quote:
Sounds like P oscillations. He says that to high on the P can make the quad jump up and down. |
|||
|
||||
|
|
||
|
|
Quote:
|
|
|
||