欢迎来到天天文库
浏览记录
ID:46583131
大小:800.40 KB
页数:44页
时间:2019-11-25
《基于RS-485总线的开关量采集模块设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、安徽工程科技学院毕业设计(论文)基于RS-485总线的开关量采集模块设计摘要RS-485是现在使用十分广泛的一种布网方式。随着数字技术的发展和计算机日益广泛的应用,现在一个系统往往由多台计算机或测控点组成,需要解决多站、远距离通信的问题。在计算机自动控制系统急速发展的今天,特别是考虑到现场总线已经普遍地渗透到自动控制的各个领域的现实,现场总线必将成为电工自动控制领域主要的发展方向之一。本文设计了一种基于RS-485总线的开关量采集模块,属于实践性课题。该模块主要运用于工业现场的开关量采集,系统以AT89C52单片机作为系统的控制器,以转换接口芯片SN75LBC184实现RS-485通信标
2、准,通过四片光耦TP521-4对16路开关量采集线路进行处理,用DC/DC电源模块WR24S5对系统进行供电。在系统设计时,考虑到工业现场的复杂环境,采用了抗干扰措施。系统采用看门狗技术解决了飞程序和死循环,软件程序的设计也考虑了抗干扰措施,尽量选用低功耗器件,此部分选用X5045。在系统设计时,考虑到工业现场的复杂环境,软件程序的设计考虑了抗干扰措施,尽量选用低功耗器件并且所有输入、输出采用光藕隔离。系统工作可靠,功耗低,具有一定的应用价值。关键词:现场总线;单片机;抗干扰如需此论文Word版本,单片机程序/单片机技术支持,请访问:嵌入式应用软件园。嵌入式应用软件园,版权所有,请勿转载
3、/销售。DesignofDigitalsignalInputModuleBasedonRS-485BusAbstractRS-485isthepresentusestheverywidespreadonekindtospreadanettheway.Alongwithdigitaltechnique'sdevelopmentandthecomputerdaybydaywidespreadapplication,nowasystemofteniscomposedofmanycomputersortheobservationspot,needstosolvethemulti-stations
4、,theremotecommunicationquestion.Todaywhichdevelopsrapidlyinthecomputerautomaticcontrolsystem,speciallyconsideredthefieldbusalreadygenerallyseepedtotheautomaticcontroleachdomainreality,thefieldbuswillcertainlytobecomeoneofelectricianautomaticcontroldomainmaindevelopmentdirections.Thisarticlehasdes
5、ignedonekindbasedontheRS-485mainline'sswitchquantitygatheringmodule,belongstothepracticaltopic.Thismodulemainlyutilizesinindustrysceneswitchquantitygathering,thesystemtakessystem'scontrollerbyat89C52monolithicintegratedcircuit,TransformsconnectionchipSN75LBC184torealizetheRS-485correspondencestan
6、dard,carriesonprocessingthroughfourlightpairTP521-4to16groupswitchquantitygatheringline,carriesonthepowersupplywithDC/DCpowersourcemoduleWR24S5tothesystem.Whensystemdesign,consideredindustryscenecomplexenvironment,hasusedtheanti-jammingmeasure.Thesystemusedthewatch-dogtechnologytosolveflewtheproc
7、edureandtheendlessloop,thesoftwareroutinedesignhadalsoconsideredtheanti-jammingmeasure,selectedthelowpowerlosscomponentasfaraspossible,thispartselectedX5045.Whensystemdesign,consideredtheindustryscenethecomplexenvironm
此文档下载收益归作者所有