摘要
给出了一种新颖的利用AVR单片机产生多路控制舵机用PWM波的方法,利用硬件定时,软件计数相结合的方法,在不增加任何硬件接口的前提下,实现了多达32路PWM波的输出。该方法取代了传统的使用分立元件产生PWM波的方法,大大减少了分立元器件数目及电路连线,改善了系统可靠性,提高了控制精度,并成功应用于14自由度舞蹈机器人“酷狗”控制系统中。
Present a novelty method to generate multiplex PWM waveforms using AVR micro - single processor for controlling servos. It maximizes the number of PWM waveforms to 32 by means of the combining hardware timing and software counting without any additional hardware interface. This method substitutes the conventional method, which uses discrete components. Then it leads to reduce significantly the component count of the eircuit and improve the reliability of the system and the control accuracy. The proposed scheme has been successfully verified by the control system of dancing robot ( named "cool dog" ),
出处
《微特电机》
北大核心
2006年第2期28-29,33,共3页
Small & Special Electrical Machines
关键词
AVR单片机
舵机
PWM波
软件计数器
AVR micro - single processor
serve
PWM waveform
software counter