摘要
提出了一种利用 80C196KC单片机产生 7路PWM波来控制FUTABA舵机的方法。利用分时机制产生每一路PWM波的上升沿和下降沿,7路波形从单片机的P1口同时输出,分辨率达到 2 μs。本方法具有成本低、分辨率高、输出路数多等优点。
A method to generate 7 pulsewidth modulation waves with singlechip microprocessor 80C196KC for the controlling of Futaba servos is proposed.Each PWM wave is produced by mechanism of timesharing.All 7 waves, whose resolution is 2us,are outputted from Port 1 of CPU simultaneously.With advantages of low cost,high resolution and more output number,the method has been successfully applied in an robot computer control system.
出处
《机械与电子》
2004年第2期76-78,共3页
Machinery & Electronics
关键词
单片机
PWM波
软件定时器
运动控制器
singlechip microprocessor
pulsewidth modulation wave
software timer
movement controller