Hello and welcome to our community! Is this your first visit?
Register
Results 1 to 5 of 5
  1. #1
    New Recruit
    Join Date
    Apr 2014
    Location
    Cairo, Egypt, Egypt
    Posts
    10
    Downloads
    0
    Uploads
    0
    Reputation Points (Add)
    0

    at what speed I do PID tuning?

    Hello, at what speed do I do PID tuning? and can I do it at a speed lower than the throttle?
    another question, my quadcopter weight 920 grams , what PID values I should start with? I mean sometimes I see people using small values and increasing it by 0.01 and some increase it by 1 so I got really confused
    any info would be much appreciated
    Last edited by MaryamMagdy; 05-05-2014 at 06:48 PM.

  2. #2
    Senior Pilot
    Join Date
    Dec 2012
    Posts
    262
    Downloads
    0
    Uploads
    0
    Reputation Points (Add)
    1
    The first hurdle on PID tuning is figuring out the scales. With standard AQ software, it seems the P and D for rate mode tend to be adjusted in the 2-digit range, while attitude mode are single digit or decimal. If you are tuning by hand before flight, use about 30% throttle, and be very very careful. Propellors are spinning knives of doooom.

    This here helped me a lot to get started:
    http://aeroquad.com/showwiki.php?title=PID+Tuning

    And more advanced method posted by wooden that I've had bookmarked for a year:
    http://aeroquad.com/showthread.php?3...ll=1#post66942

  3. #3
    Senior Pilot wooden's Avatar
    Join Date
    Dec 2011
    Location
    Pacific Northwest
    Posts
    4,866
    Blog Entries
    1
    Downloads
    1
    Uploads
    0
    Reputation Points (Add)
    27
    What do you mean "speed?" What is a "speed lower than the throttle?"

    Sent from my SM-G900T using Tapatalk
    push the envelope, watch it bend

  4. #4
    New Recruit
    Join Date
    Apr 2014
    Location
    Cairo, Egypt, Egypt
    Posts
    10
    Downloads
    0
    Uploads
    0
    Reputation Points (Add)
    0
    "Zakerny": the thing is I'm doing my own PID controller and I'm not using AQ. anyway its good to know that 30% throttle speed is enough since I'm doing it by hand and I'm afraid of higher speeds.

    "Wooden": I meant the speed that I'm sending to the motors while doing the PID tuning.



  5. #5
    Senior Pilot wooden's Avatar
    Join Date
    Dec 2011
    Location
    Pacific Northwest
    Posts
    4,866
    Blog Entries
    1
    Downloads
    1
    Uploads
    0
    Reputation Points (Add)
    27
    Well, for an initial tuning, it doesn't matter a whole lot but you should tune at the throttle at which you will normally be flying. I doubt your copter will hover at 30%, it'll probably be more like 45-55% so you should use that as your basis.

    When I'm tuning my PIDs, I tend to fly the copter harder than I actually do when normally flying to make sure the tuning can handle those "oh shit" moments when you really punch it. For example, I'll tune the PIDs such that it doesn't wobble in a hover, and then I'll start kicking into a higher gear - send it into a FAST forward flight and then tilt it backwards and send the throttle to 100% to completely stop the motion in the forward direction. In this situation, your copter is moving in one direction and the thrust vector is in the opposite direction - unless your copter is tuned almost perfectly, this WILL cause oscillations. If you can tune the oscillations out of this kind of situation, you'll pretty much never run into them elsewhere.

    It's easiest to see oscillations when you put a camera on your copter and review the onboard footage. The footage will show oscillations that you can't see with your eyes while flying.

    Hand tuning really doesn't do anything, if you ask me. It'll get it to a point where it can fly, but even the best hand tuning isn't going to perform well in the air. Even once I've settled on a "good" tuning, I'll end up re-tuning over the next few flying sessions to get it dialed in completely.. but I've still never been 100% happy with any of my copters - quadcopters are inherently unstable so it's next to impossible to make them "perfect."
    push the envelope, watch it bend


 

Similar Threads

  1. ESCs - the need for speed
    By LesNewell in forum Electrical/Mechanical Design
    Replies: 96
    Last Post: 11-09-2015, 08:00 PM
  2. Slowest motor speed? What's "idle" speed?
    By pnasci in forum General Discussion
    Replies: 14
    Last Post: 09-25-2012, 03:25 PM
  3. No motor speed
    By Boppe in forum AeroQuad Flight Software
    Replies: 10
    Last Post: 07-18-2011, 10:53 AM
  4. PWM outputs, speed up by 1ms
    By Honk in forum Ideas
    Replies: 25
    Last Post: 11-29-2010, 12:21 AM
  5. Speed Controler
    By Gecko in forum General Discussion
    Replies: 3
    Last Post: 05-20-2010, 11:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •