Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Naze32 (Flip32), rate mode and angle lock
#1
Hello All!

I finished a build of 250 quad recently:

[Image: assembled-for-first-flight.jpg]

After some doings with the settings and radio and so on I finally got it to fly ok in autolevel. But in rate mode there is slight angle drift on pitch (it increases incline to back).


The trick here is that quad actually not balanced – it’s center of gravity is ~2.5 cm to back from the center. I know that it possibly will fly better if balanced, but I just want to understand where this angle drift comes from so I experiment with unbalanced quad.

As far as I understand, the “rate” mode is something like “angle lock” mode – sticks control the speed of angle change, and when sticks are not touched it should maintain the set angle. But it does not.

What confuses me a lot is that the speed of drift is different over time. At the flight start (battery full) – the quad maintains angle ok, but as closer it gets to empy battery, the more it changes angle by itself (up to about a degree per sec or even more).

Why it can behave like that? Can you, please, recommend me a direction to continue investigation? Again, I suppose I can fix it by balancing quad itself, but I want to understand this behavior as I expect it to keep angle.
Reply
Login to remove this ad | Register Here
#2
Ok, seems the problem solved with increasing of I parameter for pitch.
Reply
#3
are you using cleanflight on your quad?
this is a good video explaining PID you might be interested Smile

Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#4
(22-Jan-2016, 01:24 AM)Oscar Wrote: are you using cleanflight on your quad?
this is a good video explaining PID you might be interested Smile

Hello Oscar!

I'm using baseflight for now. I read your post about migrating from baseflight to cleanflight and got "don't do it if baseflight fits you enough" from it. (:

Actually I already saw this video and digged a bit theory of the PID controllers.

I also wrote a little PID controller implementation to see how the different settings influence behavior of the controlled value to understand it better. It does not strive to emulate actual quad behavior, rather just to have possibiltiy to play with settings in controllable environment without a risk of crashing or cutting my head off by the propellers.

Thanks anyway for your reply, you are always helpful (:
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help with tx mode PJKMBAKER 0 177 29-Oct-2023, 11:48 PM
Last Post: PJKMBAKER
  Help Lost signal and GPS mode failsafe ludal79 5 1,026 26-Dec-2019, 11:15 AM
Last Post: ludal79
  Computer doesn't recognize FC in Bootloader mode sushicanfly 2 887 16-Dec-2018, 10:58 PM
Last Post: voodoo614
  Multishot and Turtle Mode JPFlorida 1 1,431 22-Sep-2018, 07:40 PM
Last Post: cche
  Discussion Camera angle for proximity flying sushicanfly 2 3,274 25-Jun-2017, 10:53 PM
Last Post: unseen


Login to remove this ad | Register Here