首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种基于74HC595产生舵机用多路PWM波的方法
引用本文:邵平,莫燕斌,连晋平,陈元滨.一种基于74HC595产生舵机用多路PWM波的方法[J].肇庆学院学报,2013,34(5):1-5.
作者姓名:邵平  莫燕斌  连晋平  陈元滨
作者单位:1. 肇庆学院 计算机学院,广东肇庆,526061
2. 玉林师范学院 电子与通信工程学院,广西玉林,537000
基金项目:广西教育厅面上项目(201012MS185);广东省教育厅人才引进资金项目肇庆学院教授科研启动项目(611271);肇庆学院教学改革特别项目(JGZB201201);肇庆学院教学研究项目(JY201105)
摘    要:利用MSP430和74HC595产生了类人机器人舵机用的48路PWM波,且仅需占用MSP430单片机的P5端口,为机器人的其他控制电路保留了足够的单片机I/O口.硬件电路的特色是采取每片74HC595的串行输入端并联在一起,虽然任意时刻每片74HC595的串行输入数据相同,但输入的串行数据是否会从并行输出端输出还取决于各自的锁存脉冲.软件算法则应用了分时复用思想,串行数据按8组分时输入,每组含6路数据.该电路及其软件算法也适用于51系列、AVR系列单片机,是中低速单片机控制多路舵机的有效方案.

关 键 词:PWM  74HC595  舵机  类人机器人

Study on Producing Multiplex PWM Waves for Driving Servos Using 74HC595
SHAO Ping , MO Yanbin , LIAN Jinping , CHEN Yuanbin.Study on Producing Multiplex PWM Waves for Driving Servos Using 74HC595[J].Journal of Zhaoqing University (Bimonthly),2013,34(5):1-5.
Authors:SHAO Ping  MO Yanbin  LIAN Jinping  CHEN Yuanbin
Institution:1. College of Computer Science, Zhaoqing University, Zhaoqing, Guangdong 526061,China; 2. School of Electronic and Communication Engineering, Yulin Normal University, Yulin, Guangxi 537000, China)
Abstract:With the application of I/O port P5 of MSP430 and six chips of 74HC595, 48-channel PWM waves can be produced for the driving servos of humanoid robot, thus leaving enough I/O ports for collecting signals from sensors, sending commands, et al. The character of this circuit is that these chips of 74HC595 are connected in general serial mode, but whether serial input data could be sent to their output ports or not would be still decided by the latch clock pulse of each 74HC595. Furthermore, the idea of time split multiplexing is used in program- ming. There are 48 serial data entered to these chips of 74HC595 by eight groups in different time of a cycle, and every time only 6 data can be sent to their output ports. This method is also suitable for MCU such as 51 and AVR series, an effective programme for the control of multi-channel actuators by single-chips.
Keywords:PWM  74HC595  Servos  Humanoid Robot
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号