News: CAA Meeting Update: FPV exemption extended to 3.5kg AUW and 1000ft Max Altitude from March 2014

Welcome, Guest. Please login or register.
Did you miss your activation email?

  • Home
  • Help
  • Search
  • Login
  • Register

  • Fpv-Forum.com »
  • Multirotor / Aerial Photography »
  • Multirotor »
  • How does P gain+limit and I gain+limit work?

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts/Topics

GPS signal wire by bigMouse
[Today at 08:46:48 AM]


Introducing the British FPV Racing League by xxpitt
[April 17, 2015, 11:39:42 PM]


FPV Related 3D Prints by bigMouse
[April 17, 2015, 10:16:18 PM]


anyone flying the weekend? by meluk
[April 17, 2015, 04:04:29 PM]


Pixhawk on quadcopter by bigMouse
[April 17, 2015, 09:57:54 AM]


BLheli on hobbyking F20a esc's by Juliarobete
[April 16, 2015, 06:09:36 AM]


Drone video with bikini model by Juliarobete
[April 16, 2015, 06:09:29 AM]


FPV Racing groups - where are people racing ? by xxpitt
[April 15, 2015, 08:54:02 PM]


Hobbyking 3D Printer the Fabrikator by Tecnic
[April 15, 2015, 11:45:46 AM]


Hobbyking Durafly Me-163 Komet 950mm FPV by Tecnic
[April 15, 2015, 11:27:19 AM]


Racing FPV miniquads in Somerset by jamesb72
[April 15, 2015, 09:57:03 AM]


HK Gyro by bigMouse
[April 15, 2015, 09:54:42 AM]


Racing FPV Mini Quadcopters in Cornwall by jamesb72
[April 15, 2015, 09:27:16 AM]


My 550 Class 3D printable hexacopter by loganj13
[April 15, 2015, 03:37:40 AM]


MDC Our digs for your pleasure :) by Cobs
[April 14, 2015, 11:29:47 PM]

* Traders Section

$9.99 only!!! FPVMODEL MC2204 2300KV Brushless Motor by fpvmodel
[April 16, 2015, 04:40:58 AM]


Tarot 5D3 3-Axis Self-stabilizing Gimbal TL5D001 by fpvmodel
[April 16, 2015, 04:10:41 AM]


Bormatec Vamp FPV drone by BIRDS-EYE-VIEW.NL
[April 10, 2015, 06:36:50 PM]


New Freebird OSD's by Tecnic
[April 10, 2015, 10:06:40 AM]


« previous next »
  • Print
Pages: [1]

Author Topic: How does P gain+limit and I gain+limit work?  (Read 129 times)

Offline loganj13

  • Full Member
  • **
  • Posts: 94
    • View Profile
    • My Instagram Account
How does P gain+limit and I gain+limit work?
« on: December 31, 2014, 03:30:34 AM »
I'm confused on how these work, and how adjusting them changes flight. Any chance you could explain how the individual esc  tuning works on the flightboard(specifically kk2.1.5)? thanks
Logged

Offline loganj13

  • Full Member
  • **
  • Posts: 94
    • View Profile
    • My Instagram Account
Re: How does P gain+limit and I gain+limit work?
« Reply #1 on: December 31, 2014, 03:33:19 AM »
Above for individual esc tuning I meant mixer settings
Logged

Offline bigMouse

  • Ultimate Member
  • ******
  • Posts: 1770
    • View Profile
Re: How does P gain+limit and I gain+limit work?
« Reply #2 on: December 31, 2014, 10:43:39 AM »
Never found a true explanation of the Limits or how to use them! And never bothered to pursue it, so I tend to leave them at default!

The PID settings are complicated! I think I understand the theory but still have problems setting them up at times! Mainly because we all fly in a slightly different ways, and want the airframe tuned to how we as individuals fly!

On the KK2 your kind of lucky as the D term is either zero or fixed in firmware so if it exists, it's not a user adjustable variable (and there is nothing wrong with that!), leaving only P & I to adjust

P= Proportional is like raw gain! Think of it like a servo, The servo controller reads the position of the servo arm and compares it to the incoming pulse width, the difference is called the error signal, now if the cicuit was low gain, the arm would creep to the new position, attempting to reduce the error signal to zero, if the gain was too high it would energetically zoom to its new position, and overrun it constantly like oscillating at its new position. This is the P term, need to have it high but not so high that it oscillates!

I = Integral is Rate of change over a period of time, if it was controlling temperature it could have a variable name of degrees_change/secs etc. weird names but its only the value that counts, this is multiplied with the p term above, if it is large in comparison then the rate of change effect will be small, if it is the same then no change, small then a large change, some algorithms use the inverse (think multiWii does) secs/degrees so that a larger I makes a larger difference.(more comfortable for the brain) Some controllers use secs, some use mins, so the adjustable variable might be a large or very small number.

Summary is that the P term is proportional gain. I term affects the rate of change of P
Because I affects the operation of P. A change to I should be followed by a readjustment of P

I bet you wished you never asked now!

Try hovering, then rapidly move the roll stick left and right, if the quad climbs then reduce P!

KK2 boards more or less fly themselves on self leveling, on acro it really depends, I've had some easy to fly on acro, some just need full concentration to fly! Small quads usually need default P reducing.
Logged


  • Print
Pages: [1]
« previous next »
  • Fpv-Forum.com »
  • Multirotor / Aerial Photography »
  • Multirotor »
  • How does P gain+limit and I gain+limit work?
 

* Who's Online

  • Dot Guests: 24
  • Dot Hidden: 0
  • Dot Users: 3
  • Dot Users Online:
  • user martino46
  • user MrBen
  • user papa_lazerous

* Classified Ads

Frsky Taranis For sale by Martink1974
[April 16, 2015, 12:33:18 AM]


wanted fpv goggles by lkparky
[April 15, 2015, 10:20:22 PM]


wanted 1.2ghz patch antenna by lkparky
[April 11, 2015, 06:23:37 PM]

* Recent Images

No attachments were found.
SMF 2.0.7 | SMF © 2013, Simple Machines
SMFAds for Free Forums
SimplePortal 2.3.4 © 2008-2011, SimplePortal

Page created in 0.408 seconds with 22 queries.