i just cant seem to get my pids right
i drop P,D down to like 0 and its lil bit less than ok but then i have no control over it
int/max works a lil if i drop that bakTags:
Permalink Reply by Rob. S on June 27, 2011 at 2:31am Just another Question to add to this
could it b my esc's at the moment its all default?
wat changes should i make to them??
Permalink Reply by emile on June 27, 2011 at 11:06am Please share some more details on your setup.
Like motors, escs frame,prop size etc.
E.
Permalink Reply by Rob. S on June 27, 2011 at 2:29pm 890kv motors
35-50amp esc's
arms 28cm (default arducopter frame)
12" props
Permalink Reply by Russell B. Sutton on June 27, 2011 at 2:41pm Just tried this to find the PID for the sonar Altitude Hold.
By finding the maximum P where the AH starts to oscillate (copter goes up-down-up-down in rapid a/decends)
by timing, with a stopwatch for 10 cycles the average gave me Pu Unfortunately i hade a blade-off during te last test flight so could not implement the calculated PID. Still wondering about how high the gain (intmax) of this loop could be calculated.
[adapted from wiki]
Ziegler–Nichols method| Control Type | Kp | Ki | Kd |
|---|---|---|---|
| P | 0.50Ku | - | - |
| PI | 0.45Ku | 1.2Kp / Pu | - |
| PID | 0.60Ku | 2Kp / Pu | KpPu / 8 |
[/end snip]

Here is how I found the current gains:
Just playing with this
p = 0.8
i = 0.02
d = 1

Permalink Reply by Greg Fletcher on June 27, 2011 at 7:35pm 
I have mass and gravity in the sim. No throttle curve but that would be trivial to add. BTW, hit the space bar to cause an engine failure...
(you need to click on the animation to give t keyboard focus first)
Permalink Reply by Greg Fletcher on June 27, 2011 at 8:37pm 
I meant trivial to replicate a curve in code. Not to measure the output of a prop! ha. I'd loose a finger trying that.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.692 members
51 members
186 members
1298 members
24 members
© 2013 Created by Chris Anderson.
Powered by
