智能去电控制器的设计.doc

约53页DOC格式手机打开展开

智能去电控制器的设计,全文53页 约2.2万字字 设计理念新颖论述翔实图文并茂摘 要随着办公自动化的发展,越来越多的公司选择了组建本公司的局域网电话系统,从而达到提高公司整体工作效率和节约通信费用的目的。这种电话系统一般有一台总机和若干台分机组成,主机有一个固定的公用电话号码,若干分机各有自己的局域网号码,当其他公司或单...
编号:10-22628大小:464.00K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 孤星逐月 发布

智能去电控制器的设计

全文53页 约2.2万字字 设计理念新颖 论述翔实 图文并茂

摘 要

随着办公自动化的发展,越来越多的公司选择了组建本公司的局域网电话系统,从而达到提高公司整体工作效率和节约通信费用的目的。这种电话系统一般有一台总机和若干台分机组成,主机有一个固定的公用电话号码,若干分机各有自己的局域网号码,当其他公司或单位的电话打进本公司时,首先是主机接到来电号码,主机判断来电是打给公司哪个部门的,完成判断后就将来电转到相应的部门,来电呼叫处理完毕。对于打进公司的电话,由于不是公司支付通信费用,一般单位对此无限制,当公司内部需要打出电话时,由于通信费用完全是公司自己支付,为了避免公司的员工把公司的电话私用,就必须对去电进行区分和权限限制,可以通过设置黑名单或者白名单控制某个电话的能够打出或者禁止。本项目主要是单片机控制去电电话,即根据主叫所拔的号码,通过检测存储器预设的黑名单或者白名单控制某个电话的能够打出或者禁止,或者控制某一局向号,来确定能否打出。该系统采用了单片机AT89C51作为CPU,它是系统的控制核心。系统同时利用74LS373缓冲器、74LS138译码器、7404反相器、DAC0832 D/A转换器完成对黑白名单的区分和限制。系统的软件采用汇编语言编写,主要由主程序、去电信号产生子程序、黑白名单区分子程序、D/A转换及去电输出子程序组成。在完成硬件设计和软件编制后,对系统进行了联机仿真调试,系统的正常运行验证了设计的正确性。最后,用Protel 99SE绘制了电路原理图。

关键词 智能电话; 单片机; 去电控制

Abstract

With the development of office automation, more and more companies build up the local area calling network of itself, in order to increase efficiency and decrease the communication cost. This calling system is generally composed of a master telephone and several extension telephone numbers. The master telephone has a fixed number, and the several extension telephones have their own numbers in the network. When the outside phone dials, the master telephone firstly receive the call and decide the department which the call is to, then the call is transferred to the department. Because the outside call is not pay by the company, the company need not limit the call. When the workers of the company call the outside, the communication cost is pay by the company. In order to limit the workers using company phone to call the not relative numbers, the company should set limits of authority to discriminate the white numbers from the white numbers. This project mainly use the microcontroller to control the inside call which is to the outside. The microcontroller discriminate the white numbers from the black numbers . AT89C51 is CPU of this system, and it is core of this system. This system uses 74LS373, 74LS138, 7404, DAC0832 to discriminate the white numbers from the black numbers. Software of this system is programmed by assembler language and it is mainly composed by main program, subprogram of generation of the inside phone number , subprogram of discriminating the white numbers from the black numbers, subprogram of digital to analog converting and outputting of the phone number. After designing hardware of the system and programming the software, the system is simulating and debugging online. Well-going of the system verifies correctness in the design. In the end, circuit schematic diagram is drawn by Protel 99SE.

Keywords  intelligent phone; microcontroller;phone number controlling


目 录

摘 要 I
Abstract II
第1章 绪 论 1
1.1 课题背景 1
1.2 课题来源 2
1.3 本论文的工作和特点 2
1.4 本章小结 3
第2章 MCS-51单片机的结构 4
2.1 控制器 4
2.1.1 程序计数器 4
2.1.2 指令控制逻辑电路 5
2.2 存储器的结构 5
2.3 并行I/O口 7
2.4 时钟电路与时序 8
2.5 单片机的中断 9
2.6 单片机的工作方式 12
2.7 单片机的性能特点 15
2.8 单片机的应用领域 16
2.9 本章小结 17
第3章 电路的硬件设计 18
3.1 总体方案设计 18
3.1.1 系统总体框图 18
3.1.2 去电信号的产生 18
3.2 复位电路 19
3.3 时钟电路 20
3.4 按键电路 21
3.5 模数转换及去电输出电路 22
3.6 本章小结 23
第4章 电路的软件设计 24
4.1 软件程序内容 24
4.2 软件总体流程图 25
4.3 去电信号产生子程序 26
4.4 黑白名单区分子程序 27
4.5 模数转换及去电输出子程序 28
4.6 本章小结 29
第5章 电路调试与仿真 30
5.1 硬件焊接 30
5.2 调试 30
5.2.1 硬件调试方法 31
5.2.2 软件调试方法 32
5.3 仿真中出现的问题及解决办法 32
5.3 本章小结 33
结 论 34
参考文献 35
附录 36
致谢 45

部分参考文献

11 何希庆,高伟. MCS-51单片机原理、实验、实例. 山东:山东大学出版社,1989,124~136
12 张毅刚,彭喜元,姜守达. 新编MCS-51单片机应用设计. 哈尔滨:哈尔滨工业大学出版社,2003,153~168
13 胡汉才. 单片机原理及接口技术. 北京:清华大学出版社,1996,66~78
14 廖焕霖. Protel 99原理图设计者必读. 北京:冶金工业出版, 2000,108~128