Hello,
I have a question regarding controlling ESC. As i understand ESC is controlled using a signal that has a period with a length of 20ms and a pulse that ranges between 544us and 2400us, atleast thats how arduino servo library is written. That means the refresh frequency is 50Hz. Which means that if i am using PID to control the quadcopter, any PID refresh frequency above 50Hz is useless. I made my own quadcopter and the control loop frequency is 400Hz, and i want to make use of that. So my questions are:
Does the refresh rate have to be 20ms, or can it be shorter, or even exact to the pulse that is actually controlling the motor speed?
If i connect ESC to a 5V signal, will the speed of the motors be at full speed or will the result be something else?
I have already tested my quadcopter a night before and i finally got it stabilized, but i want to suck out the juice from those 400Hz and make my stabilization done as well as i can. I doubt there will be any problem modifying arduino servo library, but i need to know if sending servo signals at refresh rate lower than 20ms will do any damage to my ESC's/motors as i have no reserve motors nor ESC's.
Any help would be greatly appreciated, mate115
I have a question regarding controlling ESC. As i understand ESC is controlled using a signal that has a period with a length of 20ms and a pulse that ranges between 544us and 2400us, atleast thats how arduino servo library is written. That means the refresh frequency is 50Hz. Which means that if i am using PID to control the quadcopter, any PID refresh frequency above 50Hz is useless. I made my own quadcopter and the control loop frequency is 400Hz, and i want to make use of that. So my questions are:
Does the refresh rate have to be 20ms, or can it be shorter, or even exact to the pulse that is actually controlling the motor speed?
If i connect ESC to a 5V signal, will the speed of the motors be at full speed or will the result be something else?
I have already tested my quadcopter a night before and i finally got it stabilized, but i want to suck out the juice from those 400Hz and make my stabilization done as well as i can. I doubt there will be any problem modifying arduino servo library, but i need to know if sending servo signals at refresh rate lower than 20ms will do any damage to my ESC's/motors as i have no reserve motors nor ESC's.
Any help would be greatly appreciated, mate115