Thread Tools
Dec 30, 2012, 03:42 PM
Some call me the other guy!
DoctorAudio's Avatar
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!
Sign up now
to remove ads between posts
Dec 30, 2012, 03:58 PM
KG7TTQ - Hauser, ID
mark_q's Avatar
Quote:
Originally Posted by DoctorAudio
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
Dec 30, 2012, 08:00 PM
Some call me the other guy!
DoctorAudio's Avatar
Dude what did I miss?
Dec 30, 2012, 09:19 PM
KG7TTQ - Hauser, ID
mark_q's Avatar
Quote:
Originally Posted by DoctorAudio
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!
Dec 30, 2012, 10:13 PM
Registered User
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.
Dec 30, 2012, 10:41 PM
Registered User
This is an interesting multiwii pid explanation.
http://www.multiwii.com/wiki/index.php?title=PID
Dec 30, 2012, 10:50 PM
Registered User
Here is a very interesting guide for altitude hold pid settings for Multiwii.
http://www.multiwii.com/wiki/index.p...e=Altitude_PID
Dec 30, 2012, 11:11 PM
Some call me the other guy!
DoctorAudio's Avatar
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:
Dec 31, 2012, 01:59 PM
FPV addict
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.
Dec 31, 2012, 02:02 PM
Some call me the other guy!
DoctorAudio's Avatar
https://www.rcgroups.com/forums/show....php?t=1710318


Quote:
Originally Posted by Sniperp
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.
Jan 01, 2013, 01:06 PM
Some call me the other guy!
DoctorAudio's Avatar
Happy New Year to the World!

May your year be of fun and happiness through out you daily Life!
Jan 01, 2013, 11:57 PM
DiaLFonZo - UAV/Drone
Dialfonzo's Avatar
Quote:
Originally Posted by DoctorAudio
Happy New Year to the World!

May your year be of fun and happiness through out you daily Life!
All the best...!
Jan 03, 2013, 09:29 PM
Some call me the other guy!
DoctorAudio's Avatar
DialFonzo SSQ ( Super Simple Quad) (0 min 0 sec)
Jan 04, 2013, 08:12 AM
Registered User

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..
Jan 04, 2013, 06:24 PM
Team Armattan
Quadrino GPS working great. (Jsflyrv) (2 min 28 sec)


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Review Hangar 9's Piper J-3 Cub 40 Plug-N-Play PNP Plug N Play Evo 46NT Powered ARF Review tailskid2 Scale Fuel Planes 20 Mar 09, 2018 08:44 PM
Help! need new flight controller recommendations n3m1s1s Multirotor Drone Talk 115 Jan 09, 2012 10:38 AM
Subsonic's Motrolfly Plug and Play Power System: Motor, Controller & Battery Review Michael Heer Electric Power Systems 27 Dec 16, 2010 01: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