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 bak
here is a video pls give me ur thoughts

Views: 309

Attachments:

Reply to This

Replies to This Discussion

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??

Please share some more details on your setup.

Like motors, escs frame,prop size etc.

E.

890kv motors

35-50amp esc's

arms 28cm (default arducopter frame)

12" props

try P = .3  I = .025  D = .13 for pitch & roll

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



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:


This is a quick mock up in Flash of the Alt hold PID.

Just playing with this
p = 0.8
i = 0.02

d = 1

Whats dangerous with a high D is the noise in the Baro sensor. Worth a shot trying something higher.
Jason, That's one of the coolest things I've seen for a while. Thanks for that. It took me a while to figure out it was one of your interactive flash objects or what ever they're called. If you could put in real data from a throttle/thrust curve and the mass of the thing, it could be a real simulation. I have been playing with this thing for a few to many mins. It's a great training aid.

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)

Trivial indeed, for you:)  I have built a wooden balance rig and measured thrust. I need to build a bigger one for larger motors and I need to get a digital balance with serial output. Or buy another copy of $MotorCalc or both.

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.

 

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service