您好,欢迎来到佳博论文网!

单片机家居网络控制系统设计

论文编号:JD1042论文字数:33467,页数:58 有开题报告,任务书,文献综述

摘要:智能小区是信息时代的产物,随着我国国民经济和人民生活水平的不断提高,居民对居住环境的要求也越来越高,生活的舒适、温馨、信息畅通、安全尤其是安全成为人们不惜花重金追求的目标,智能小区是我国住宅小区发展的必然方向。本文首先对智能小区的概念及构成情况作了总体的阐述,介绍了智能小区在国内外的研究现状,指明了智能小区中安防的重要性以及智能小区的发展方向。

现场总线技术的发展使得LonWorks技术脱颖而出,本文简要介绍了LonWorks技术在现场总线技术中的地位和影响,对LonWorks技术的技术核心:神经元芯片、LonTalk协议、LonWorks收发器、LonBuilder及NodeBuilder进行了详尽的描述;重点介绍了集先进的计算机技术、通信技术、控制技术为一体的智能小区安防节点的开发与研制,对节点硬件电路的各种接口进行了详尽的设计。本文设计的智能小区安防节点采用单片机ADuc812作为主处理器来完成用户的应用程序,主要负责对各种现场信号进行采集、处理及控制,工作在并行从A方式下的神经元芯片MC3150作为从处理器,主要完成与现场网络上的各节点及中心控制室之间的通信工作。本系统的软件采用模块化结构,主要完成数据处理、数据通信、数据显示等功能。本文后对系统的抗千扰性进行了阐述,并进行了有效的抗干扰电路设计。本系统设计的智能小区安防节点运用了当今工控领域为先进的现场总线技术,具有结构简单、可靠性高、容易产品化等优点。我国目前对LonWorks技术的应用以及智能建筑的设计刚刚起步,随着业内人士的更多了解,相信会有更广泛的应用前景。

此外,该系统的改造方案及软件设计,得到了伍萍辉老师的细心指导和贺洪明等同学的大力协助,在此表示由衷的感谢。同时,希望广大读者对本设计中的不足之处批评指正。

关键词:LonWorks技术:现场总线:智能小区;安防

The design of SCM’s reticular manupalutive system used for family

ABSTRACT:Intelligent district is outcome of Information ages.With our economic and living standard growing stably,residents’ requirement of environment is becoming increasingly higer.They require their residential environments to be comfortabe,fragrant and safe,especiatly safty is their will and intelligent district is their inevitabily final direction.This paper firstly introduces the concept and constitution of intelligent district,discusses the reseach condition of domestic and international,indicates the importance of public security and development direction of intelligent district.

The development of fieldbus technology made LonWorks field bus outstanding in all kinds of fieldbus.This paper simply introduces some kinds of common using fieldbus and the important position and influence of LonWorks fieldbus in all kinds of fieldbus,carefully describes the technology core of LonWorks technology,puts great emphasis on the introduction of the development and design of public security node of intelligent district which adopts computer,communication and control technology,carefully designs the interfaces of hardware circuits.The public security node of intelligent adopts ADuc812 single chip as its main processor to complete theapplication program of user,which mainly collects,process and control all kinds of field signal,and Neuron chip 3150 as its slave processor to communicate with other nodes on field network,which works under parcel slave A mode The software of this system mainly complete the function of data processing,date

communicating, data displaying and so on,which adopts mode construction of program.This paper finally introduces the design of hardware circuits against all kinds of interference. This system adopts the most advanced technology in industry and control field:fieldbus ,and the mesure and control system based on this technology has such advantage as simple construction,high reliability and easily to be produced.The system is facing to common residents,so it will have widely maket.

Recently,the application of LonWorks technology and design of intelligent building have been on early stage,but with people knowing more about it,it will have extentive application prospect.Thank you to teacher wu and zeng.

Keywords:LonWorks technology; Fieldbus; intelligent district; public security

目 录

摘 要…………………………………………………………………………………………Ⅰ

Abstract……………………………………………………………………………………Ⅱ

第1章 绪论……………………………………………………………………………………1

1.1 智能小区简介………………………………………………………………………1

1.1.1一星级小区…………………………………………………………………1

1.1.2二星级小区…………………………………………………………………1

1.1.3三星级小区…………………………………………………………………1

1.2智能小区的构成……………………………………………………………………2

1.3智能小区的发展方向………………………………………………………………2

1.4课题内容及论文结构………………………………………………………………2

第2章 LON现场总线核心技术……………………………………………………………3

2.1 LON系统概述 ………………………………………………………………………3

2.2神经元芯片…………………………………………………………………………4

2.2.1神经元芯片的结构和存储器配置…………………………………………4

2.2.2Neuron芯片固件……………………………………………………………8

2.2.3Neuron C软件系统…………………………………………………………11

2.2.4常用LonWorks开发工具简介……………………………………………13

2.3 LON总线互操作性…………………………………………………………………16

第3章 安防节点硬件设计………………………………………………………………19

3.1智能小区安防节点总体功能………………………………………………………19

3.1.1CPU的选择……………………………………………………………………20

3.1.2神经元芯片的选择………………………………………………………… 20

3.1.3收发器的选择……………………………………………………………… 20

3.2 神经元芯片与8031的接口…………………………………………………………21

3.3 神经元芯片外围电路设计…………………………………………………………22

3.3.1神经元芯片与收发器接口设计……………………………………………22

3.3.2神经元芯片的内存扩展……………………………………………………23

3.3.3服务电路、服务和时钟……………………………………………………24

3.4 主处理器8031外围电路设计 …………………………………………………… 25

3.4.1主处理器的存储器扩展…………………………………………………… 25

3.4.2开关量输入及按键电路设计……………………………………………… 26

3.4.3模拟量输入、显示及蜂鸣电路………………………………………………27

3.4.4A/D转换、时钟日历电路……………………………………………………29

3.5 适配器………………………………………………………………………………30

3.5.1串行适配器SLTA-10…………………………………………………………30

3.5.2PC适配器PCLTA……………………………………………………………30

3.5.3PCC-10网络适配器………………………………………………………… 31

第4章 软件设计……………………………………………………………………………32

4.1软件设计流程………………………………………………………………………32

4.2安防程序流程图……………………………………………………………………33

第5章 抗干扰设计…………………………………………………………………………36

5.1数字滤波……………………………………………………………………………36

5.2单片机抗干扰设计…………………………………………………………………37

5.3软件陷阱……………………………………………………………………………38

第6章 结束语………………………………………………………………………………42

参考文献…………………………………………………………………………………… 43

致谢………………………………………………………………………………………… 44

附 录…………………………………………………………………………………… 45

单片机家居网络控制系统设计......