欢迎来到天天文库
浏览记录
ID:47324209
大小:373.73 KB
页数:12页
时间:2020-01-10
《8路彩灯控制电路设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、《8路彩灯控制电路设计》课程设计报告专业:班级:姓名:学号:指导教师:2014年6月25日目录1.课程设计的目的·········································12.课程设计题目描述和要求································13.电路设计··············································14.设计过程中遇到的问题及解决办法·························75.结论与体会············
2、·································8附表参考书目············································91.课程设计目的1.熟悉仿真软件Multisim,使用软件经行电路仿真;2.掌握数字电路课程学习的常见芯片的功能,熟悉其工作原理;3.了解数字系统设计的基本思想和方法,学会科学的分析问题、解决问题;4.增强学生动手能力,增加学生理论和实践结合的机会。2.课程设计题目描述和要求设计题目八路彩灯控制电路设计,即设计并制作8路彩灯控制电路,用以控制8个
3、LED按照不同的花色闪烁设计要求1.接通电源,电路开始工作,LED灯闪烁;2.LED灯按照事先设计的方式工作,要求闪烁的模式不能少于三种模式3.电路设计3.1闪烁花型设计花型Ⅰ:8路彩灯分成两半从右到左依次点亮,全亮后再从右到左依次熄灭。花型Ⅱ:8路彩灯由中间到两边对称的依次点亮,全亮后仍由中间到两边对称熄灭。花型Ⅲ:8路彩灯分成两半从左到右依次点亮,全亮后再从左到右依次熄灭。花型Ⅳ:8路彩灯由两边到中间对称的依次点亮,全亮后仍由两边到中间对称熄灭。花型状态编码表如表3.1.1所示。每种花型连续循环两次,四种花型
4、轮流交替,为了更好的显示结果本文用指示灯模拟彩灯。表3.1.18路彩灯输出状态编码表节拍脉冲Q0Q1Q2Q3Q4Q5Q6Q7花型Ⅰ花型Ⅱ012345678000000000001000100110011011101111111111111101110110011001000100000000000000000000001100000111100011111101111111111100111110000111000000100000000节拍脉冲Q0Q1Q2Q3Q4Q5Q6Q7花型Ⅲ花型Ⅳ012345678000
5、0000010001000110011001110111011111111011101110011001100010001000000000000000010000001110000111110011111111111011111100011110000011000000000003.2设计原理3.2.1系统的逻辑功能分析彩灯控制电路的原理框图如图3.2.1所示,它主要由控制器、编码器和脉冲信号发生器等部分组成。脉冲信号发生器控制器编码器8路彩灯编码信号(报告正文部分):图3.2.1彩灯控制器原理图编码器根据花型
6、按节拍输出8路编码信号,控制彩灯按规定的规律亮、灭;控制器为编码器提供所需的节拍脉冲及控制信号,控制整个系统的工作;脉冲信号发生器为系统提供时钟脉冲信号。3.2.2器件的选择74LS194N·························································2片74LS161N·························································2片74LS04D·······························
7、··························6片74LS76D·························································1片时钟电压源·······················································1个VCC(5V)·························································3个3.3设计方案(1)编码器的设计。分析表3.1.1,实现花型Ⅰ时前四位Q0
8、Q1Q2Q3为左移环形计数器的规律,后四位Q4Q5Q6Q7为左移环形计数器的规律;实现花型Ⅱ时前四位Q0Q1Q2Q3为左移环形计数器的规律,后四位Q4Q5Q6Q7为右移环形计数器的规律;实现花型Ⅲ时前四位Q0Q1Q2Q3为右移环形计数器的规律,后四位Q4Q5Q6Q7为右移环形计数器的规律;实现花型Ⅳ时前四位Q0Q1Q2Q3为右移环形计数器的规律,后四位Q4Q5Q6Q7为左
此文档下载收益归作者所有