HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Dec 30, 2012, 02:42 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
Mark if it is not open when I leave to go flying for they would you like me to open it later today when I get back?
I have been waiting on this one for awhile!
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Sign up now
to remove ads between posts
Old Dec 30, 2012, 02:58 PM
Seattle, WA - USA
mark_q's Avatar
Joined Sep 2003
3,299 Posts
Quote:
Originally Posted by DoctorAudio View Post
Mark if it is not open when I leave to go flying for they would you like me to open it later today when I get back?
I have been waiting on this one for awhile!
It's open now
Thanks
mark_q is offline Find More Posts by mark_q
RCG Plus Member
Latest blog entry: TBS Disco Gimbal Update
Reply With Quote
Old Dec 30, 2012, 07:00 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
Dude what did I miss?
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Old Dec 30, 2012, 08:19 PM
Seattle, WA - USA
mark_q's Avatar
Joined Sep 2003
3,299 Posts
Quote:
Originally Posted by DoctorAudio View Post
Dude what did I miss?

I was on for about an hour and for the first half I was it! I asked about the Position Hold being a little jumpy so Colin took a look at my settings and I did a reflash using Arduino. I'll test it tomorrow. He then was helping with the GUI set-up on a MAC and I had to toke off.

So, not much?

Cheers!
mark_q is offline Find More Posts by mark_q
RCG Plus Member
Latest blog entry: TBS Disco Gimbal Update
Reply With Quote
Old Dec 30, 2012, 09:13 PM
Registered User
United States, NE, Lincoln
Joined Jul 2012
67 Posts
Quick question for you guys.
Somewhere I found a data sheet or a guide or something that explained what the P the I and the D actually did for the qaudrino. I am trying to tune my altitude hold P.I.D. settings and I have them working pretty good, but I want to fine tune them. I know that one of the settings is time. One of the settings is error, and I think one of the settings is a multiplayer. Is there a post that breaks it down. A link or explanation would be great thanks.
Shawn.
shawn1979 is offline Find More Posts by shawn1979
Reply With Quote
Old Dec 30, 2012, 09:41 PM
Registered User
United States, NE, Lincoln
Joined Jul 2012
67 Posts
This is an interesting multiwii pid explanation.
http://www.multiwii.com/wiki/index.php?title=PID
shawn1979 is offline Find More Posts by shawn1979
Reply With Quote
Old Dec 30, 2012, 09:50 PM
Registered User
United States, NE, Lincoln
Joined Jul 2012
67 Posts
Here is a very interesting guide for altitude hold pid settings for Multiwii.
http://www.multiwii.com/wiki/index.p...e=Altitude_PID
shawn1979 is offline Find More Posts by shawn1979
Reply With Quote
Old Dec 30, 2012, 10:11 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
PID

From MultiWii

Jump to: navigation, search
The multicopter uses a closed controlled loop to ensure its stability and manoeuvrability.
Like most multirotors, it is a Proportional-Integral-Derivative (PID) regulator.
Contents

[hide] PID : Roll, Pitch, Yaw

When the MultiRotor orientation is changed in any pitch/roll/yaw axis, the gyros indicate an angular change from it's initial position. The MultiRotor controller tries to correct the error calculated between a measurement at the controller output (measured by the gyros) and an input set point (position of the stick), and drives the motors to attempt to return the MultiRotor to its initial position.
This combination of the measured angular deviation and sampling the change over time provides enough information for the controller to drive the motors to return equilibrium with only a gyrocscope : this is the default Acro Mode
Basic PID Tuning

Default values should be used as a starting point, this will help you to know the difference after changing some parameters. Those value are well suited for the average multirotor.
  1. Ensure CofG is in the middle of your copter, move battery to get it there.
  2. Set motors running at approx 50% if you have props on be very careful, check GUI trace for an almost flat line from gyro and acc
    1. if trace is dancing all over the place you have vibrations issues and it needs to be sorted before proceeding.
Keep in mind that P is the dominant part of PID and gets you in the ballpark for good flight characteristics.
With props on:
  1. Set PID to the their default value
  2. Hold the MulitiRotor securely and safely in the air
  3. Increase throttle to the hover point where it starts to feel light
  4. Try to lean the MultiRotor down onto each motor axis
    1. You should feel a reaction against your pressure for each axis.
    2. Change P until it is difficult to move against the reaction.
    3. Now try rocking the MultiRotor along the Pitch axis (front to back). Increase P until it starts to oscillate and then reduce a touch.
  5. Repeat for Yaw Axis.
Without the autostabilisation mode engaged, you will feel it allow you to move over a period of time. That is OK
Your settings should now be suitable for flight.
Advanced Tuning - understanding impact of P, I and D

P : this is the amount of corrective force applied to return the MultiRotor back to its initial position

The amount of force is proportional to a combination of the the deviation from initial position minus any command to change direction from the controller input. A higher P value will create a stronger force to resist any attempts to change it's position. If the P value is too high, on the return to initial position, it will overshoot and then opposite force is needed to compensate. This creates an oscillating effect until stability is eventually reached or in severe cases becomes completely destabilised.
Increasing value for P:
  • It will become more solid/stable until P is too high where it starts to oscillate and loose control
  • You will notice a very strong resistive force to any attempts to move the MultiRotor
Decreasing value for P:
  • It will start to drift in control until P is too low when it becomes very unstable.
  • Will be less resistive to any attempts to change orientation
Aerobatic flight: Requires a slightly higher P
Gentle smooth flight: requires a slightly lower lower P


I : this is the time period for which the angular change is sampled and averaged

The amount of force applied to return to initial position is increased by the I factor the longer the deviation exists until a maximum force value is reached. A higher I will increase the heading hold capability
Increasing value for I:
  • Increase the ability to hold overall initial position and reduce drift, but also increase the delay in returning to initial position.
  • Will also decrease the importance of P.
Decreasing value for I:
  • Will improve reaction to changes, but increase drift and reduce ability to hold position
  • Will also increase the importance of P.
Aerobatic flight: Requires a slightly lower I
Gentle smooth flight: Requires a slightly higher I


D : this is the speed at which the MultiRotor is returned to its original position

Increasing value for D:Improves the speed at which deviations are recovered
  • With fast recovery speed comes a higher probability of overshooting and oscillations
  • Will also increase the effect of P
Decreasing value for D:
  • Reduces the oscillations when returning any deviations to their initial position
  • Recovery to initial position becomes slower
  • Will also decrease the effect of P
Aerobatic flight: Increase D
Gentle smooth flight: Decrease D
Advanced Tuning - practical implementation

You will have to accept a compromise of optimal settings for stable hover and your typical mode of flying.Obviously factor it towards your most common style.
For Aerobatic flying
  1. Increase value for P until oscillations start, then back of slightly
  2. Change value for I until hover drift is unacceptable, then increase slightly
  3. Increase value for D until recovery from dramatic control changes results in unacceptable recovery oscillations
  4. P may now have to be reduced slightly
For stable flying (RC)
  1. Increase value for P until oscillations start, then back of slightly
  2. Change value for I until recovery from deviations is unacceptable, then increase slightly
  3. Decrease value for D until recovery from dramatic control changes becomes too slow. Then Increase D slightly
  4. P may now have to be reduced slightly
For stable flying ( AP / FPV)
  1. Increase value for P until oscillations start, then back of slightly
  2. Change value for I until recovery from deviations is unacceptable, then increase slightly
  3. Decrease value for D until recovery from dramatic control changes becomes too slow. Then Increase D slightly
  4. P may now have to be reduced slightly
Other factors affecting PID

Taking known good PID values from an identical configuration will get you close, but bear in mind no two MultiRotors will have the same flying characteristics and the following items will have an impact on actual PID values:
  • Frame weight /size / material / stiffness
  • Motors - power / torque /momentum
  • Position - Motor-->motor distance
  • ESC / TX - power curves
  • Prop - diameter / pitch / material
  • Balancing
  • Pilot skills
PID : Level

This will influence the flight characteristic with an accelerometer : this is Level Mode
  • P is the dominant part of autolevel mode.
  • I will tell how much force must be applied when the mesured angle error persit
  • D is used to clamp the maximum correction for autolevel mode
Increase value for P will make the autolevel mode stronger
for smoth operation the sum of P axis + P level should stay near the default value : if you decrease P for Roll and pitch axis you can increase P Level

Retrieved from "http://www.multiwii.com/wiki/index.php?title=PID&oldid=343"
Category:
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Old Dec 31, 2012, 12:59 PM
FPV addict
Joined Mar 2011
1,208 Posts
I want to try and use the quadrino basic as a gimbal controller. Currently have a basic on a mini quad so I know it has good auto leveling and want to use this on my new bird as the NAZA gimbal controller is not the best. I'm going to try running the gimbal servos on a seperate BEC to bump up the voltage but if that doesn't work I want to use a seperate controller and wondering if I could turn a basic into a gimbal controller.
Sniperp is offline Find More Posts by Sniperp
Reply With Quote
Old Dec 31, 2012, 01:02 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
http://www.rcgroups.com/forums/showthread.php?t=1710318


Quote:
Originally Posted by Sniperp View Post
I want to try and use the quadrino basic as a gimbal controller. Currently have a basic on a mini quad so I know it has good auto leveling and want to use this on my new bird as the NAZA gimbal controller is not the best. I'm going to try running the gimbal servos on a seperate BEC to bump up the voltage but if that doesn't work I want to use a seperate controller and wondering if I could turn a basic into a gimbal controller.
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Old Jan 01, 2013, 12:06 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
Happy New Year to the World!

May your year be of fun and happiness through out you daily Life!
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Old Jan 01, 2013, 10:57 PM
DiaLFonZo - UAV/Drone
Dialfonzo's Avatar
Canada, QC
Joined Oct 2007
6,766 Posts
Quote:
Originally Posted by DoctorAudio View Post
Happy New Year to the World!

May your year be of fun and happiness through out you daily Life!
All the best...!
Dialfonzo is offline Find More Posts by Dialfonzo
RCG Plus Member
Latest blog entry: DiaLFonZo-Copter - Announcement
Reply With Quote
Old Jan 03, 2013, 08:29 PM
Some call me the other guy!
DoctorAudio's Avatar
Milwaukie , Oregon
Joined Feb 2003
4,436 Posts
DialFonzo SSQ ( Super Simple Quad) (0 min 0 sec)
DoctorAudio is offline Find More Posts by DoctorAudio
Reply With Quote
Old Jan 04, 2013, 07:12 AM
Registered User
Joined Jun 2010
20 Posts
Dev Version r1240

Has anyone flashed their quadrino zoom board with r1240? I tried it last night. Everything in the GUI looks normal except for baro. I also am getting some I2C errors. Searching thru the code I have not found anything suspicious yet. Maybe an address issue?

Jerry..
TennesseePilot is offline Find More Posts by TennesseePilot
Reply With Quote
Old Jan 04, 2013, 05:24 PM
Registered User
USA, OR, Hillsboro
Joined Feb 2011
409 Posts
Quadrino GPS working great. (Jsflyrv) (2 min 28 sec)
jsflyrv is offline Find More Posts by jsflyrv
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Article Hangar 9's Piper J-3 Cub 40 Plug-N-Play PNP Plug N Play Evo 46NT Powered ARF Review tailskid2 Scale Fuel Planes 8 Dec 24, 2013 04:08 PM
Help! need new flight controller recommendations n3m1s1s Multirotor Talk 115 Jan 09, 2012 09:38 AM
Article Subsonic's Motrolfly Plug and Play Power System: Motor, Controller & Battery Review Michael Heer Power Systems 27 Dec 16, 2010 12:36 PM
Data Plug 'n Play separates: An Esky CP2 with an E-flight 2 in 1... elan Micro Helis 3 Mar 19, 2010 08:51 AM
Discussion Air Hogs Plug n'Play Flight Deck Simulator trust416 Micro Ready-to-Fly 14 Aug 05, 2007 10:44 AM