Hello,

 

what must be my PID regulation frequency for my QuadRotor?

 

1ms, 10ms, 100ms?

 

It seems ESC for Brushless motors can't change values under 20ms, so it is not necessary to compute PID quickly?

 

I have an IMU (Razor 9DoF) and i communicate with it at 57600bds so i am limited too for my PID computation?

 

Thanks for your ideas... ;-)

 

Guillaume

Views: 78

Reply to This

Replies to This Discussion

Quad's have been successfully built using 20ms frame rate ESC's. There is no point in running your PID loop any faster than your ESC's frame rate.

There are ESC's available that will handle much higher frame rates, and these will provide better performance in a quad.
I have Turnigy plush 30A...

In fact it seems everybody try to compute PID and change motor speed as fast they can but i am not sure of the result...

I think it is suffisant to change the motor speed between 10ms and 20ms...

But how verify it? ;-)
It would be interesting to slow down our main loop to let's say 10ms and 20ms and see how it affects stability. The IMU code should run as fast as possible or as fast as the ADC's can run.
is faster sampling rate better? will there be aliasing problem?
certainly there can be a sampling rate issue if you sample too slow. It is not readily apparent in all of our code what the sampling rate is. In some instances the actual sampling rate is set in an interrupt vector or elsewhere, and the "sampling" in the main code is just collecting averages from the lower level code.

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