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
The Iand D gains are first set to zero. The P gain is increased until it reaches the ultimate gain, Ku, at which the output of the loop starts to oscillate. Ku and the oscillation period Pu are used to set the gains as shown:
Replies
Here is a quick demo of the rotatation PIDs:
Click background to give Flash keyboard focus
Here is how I found the current gains:
This is a quick mock up in Flash of the Alt hold PID.
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[/end snip]
Please share some more details on your setup.
Like motors, escs frame,prop size etc.
E.
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??