2010年参加CCTV亚太机器人国内赛时,设计的一款基于AVR芯片的伺服控制系统,可以用于伺服电机的速度和距离控制。
源码里面包含以下内容:
- 位置式PID和增量式PID算法;
- AVR芯片的时钟控制、PWM波控制、串口控制等。
硬件设计暂时没法开源,但是可以参考里面的伺服算法,配合自主设计STM32驱动器,效果可以媲美国外maxon电机官方驱动器,效果很不错哦!( ^_^ )
In 2010 asia-pacific robot domestic games, the design of a servo control system based on AVR chip, can be used for servo motor's speed and distance control. The source code contains the following contents:
- Based on position type PID and incremental PID algorithm;
- AVR chip clock control,PWM wave to control,serial port control,etc.
Hardware design can not open, but you can refer to the inside of the servo algorithm, STM32 drive, with independent design effect can be comparable to foreign official maxon motor drives, the effect is very good oh! (^_^)