外文参考文献模板最新 李晓旭 2.docx

上传人:b****5 文档编号:5798681 上传时间:2023-01-01 格式:DOCX 页数:8 大小:52.02KB
下载 相关 举报
外文参考文献模板最新 李晓旭 2.docx_第1页
第1页 / 共8页
外文参考文献模板最新 李晓旭 2.docx_第2页
第2页 / 共8页
外文参考文献模板最新 李晓旭 2.docx_第3页
第3页 / 共8页
外文参考文献模板最新 李晓旭 2.docx_第4页
第4页 / 共8页
外文参考文献模板最新 李晓旭 2.docx_第5页
第5页 / 共8页
点击查看更多>>
下载资源
资源描述

外文参考文献模板最新 李晓旭 2.docx

《外文参考文献模板最新 李晓旭 2.docx》由会员分享,可在线阅读,更多相关《外文参考文献模板最新 李晓旭 2.docx(8页珍藏版)》请在冰豆网上搜索。

外文参考文献模板最新 李晓旭 2.docx

外文参考文献模板最新李晓旭2

 

本科生毕业设计(论文)专业外文翻译

 

原文:

PCandsinglechipmicrocomputerserialcommunicationdesign

译文:

关于PC机与单片机串行通信设计的实现

 

指导教师:

宋东亚职称:

讲师

学生姓名:

李晓旭学号:

1002120107

专业:

电气工程及其自动化

院(系):

机电工程学院

2014年3月20日

PCandsinglechipmicrocomputerserialcommunicationdesign

PCistheabbreviationofthePersonalComputer,whichcanrunindependently,performspecificfunctionsofthePersonalComputer.Personalcomputerdoesnotneedtoshareothercomputerresourcessuchasprocessing,disksandprintercanworkindependently.

1.1.PCdevelopmentbriefhistory

Accordingtothelogicelementprocesschange,canbedividedintofourstages:

Øfirstgeneration:

1946-1958isthevacuumtubecomputer.Itscharacteristicisthatthebigvolume,powerconsumption,moreslowly,butlaidthefoundationofcomputertechnology.

Øsecondgeneration:

1958-1964isthetransistorcomputer.Itscharacteristicisthatthevolumereduction,reducepowerconsumption,speed,costreduction;

Øthirdgeneration:

1964-1971istheintegratedcircuitcomputer,thanonthecharacteristicsofthesecondgenerationofthethirdgenerationhasalargerincrease;

Øfourthgeneration:

massofverylargescaleintegratedcircuitcomputersince1971,itfromlargetotinydevelopment,costperformanceisgreatlyimproved;Ø

Thefifthgenerationcomputerwilldeveloptois.

1.2.ThePChardwareprofile

Hardwareisrunningsoftwareplatform,softwarecontrolhardwareworktocompletethescheduledtasks.Firstofall,letusunderstandthecomputerhardware.

1.2.1.Centralprocessingunit(CPU)

TheCPUistheabbreviationofcentralprocessingunit(CPU),itisthecorecomputercomponents.CPUchipmainlycontainarithmeticunitandcontroller.Øunit

Arithmeticunitisusedfordataarithmeticoperation(addition,subtraction,multiplication,division,etc.)andlogicoperations(comparison,shift,Booleancalculation,etc.)ofthedevice.Datafrommemoryintheunitoperation,operationresultandsenttomemory,theseoperationsarecarriedoutunderthecontrolofthecontroller.Øcontroller

Controlleristhecommandcenterofthecomputer,isusedtocontrol,accusedtheentirecomputersystemautomatically,continuouslyrunningandcoordinatedworkbetweentheparts.

Singlechipmicrocomputerhereinafterreferredtoassinglechipmicrocomputer,itisthecentralprocessingunit(CPU),memory(RAMandROM),timer/counter,andallsortsofinterfacecircuitsareintegratedintoaintegratedcircuitchipmicrocomputer.Withthedevelopmentofcomputertechnology,especiallythesinglechipmicrocomputertechnology,peoplehaveincreasinglycometosomeindustrialcontrolsystembysinglechipmicrocomputertestingandcontrolparameterssuchastemperatureandhumidity.PCmachinehaspowerfulmonitoringandmanagementfunctions,whileMCUhavethecharacteristicsoffastandflexiblecontrol,throughthePCRS232serialinterfacetocommunicatewithexternaldevices,isakindofcommunicationthatiscommonlyusedinmanymeasurementandcontrolsystemsolutions.SohowtorealizethecommunicationbetweenPCandsinglechipmicrocomputerhasveryimportantpracticalsignificance.Forsomeremotecontrolorriskishigher,theapplicationofthedataacquisitionandcontrol,thispapermainlyintroducesawayofusingdupleximplementationofserialcommunicationbetweenPCandsinglechipmicrocomputer.

Serialcommunicationreferstotheperipheralsandcomputeruseadatalinebetweenaatransmissionofdata,eachdataoccupyafixedlengthoftime."Serial"referstothewayofinformationtransmissionbetweenperipheralsandinterfacecircuit,betweenCPUandinterfaceisstillworkinginparallelway.Serialdataduringtransmission,duetotheinterferencemaycauseerrorinformation.Howtofinderrorsinthetransmission,errordetection;Afterfounderrors,howtoeliminatetheerror,errorcorrection.

(1)serialdatatransmissionmode

1)doubleofficewaycommunicationbothsidescansimultaneouslysendandreceiveoperation.

2)only1halfduplexmodetransferringdatasignals,requiringcommunicationssentandreceivedbytheelectronicswitchonbothsides.Becausethereisonlyonechannel,sothedatacan'ttransferinbothdirectionsatthesametime.

3)simplexmodeallowsonlytransmitdataaccordingtoafixeddirection.

(2)serialcommunicationcanbedividedintotwotypes:

synchronouscommunicationandasynchronouscommunication.

Asynchronouscommunication:

acharacterinacharactertransfer,eachcharacteraatransmission,transmissionofacharacter,beginswithastartbit,andthentransferthecharacteritself,ladiesandgentlemen,thentransfercheck,finallyendswithastopbitthetransmissionofthecharacters.Atransferofthestartbit,characters,ladiesandgentlemen,parity,stopbits,constituteacompletesetofinformation,knownastheFrame(Frame).Betweentheframeandtheframecanhaveanysparetime.Afterthestartbitistheleastsignificantdata.

(1)astartbitislocatedinthecharacterframeatthebeginning,onlyone,forlowlevellogic"0",isusedtonotifythereceivingdevice,thesendertostartsendingdata.Characteronalinewithouttransmissionshouldbekeptas"1".Receivingendconstantlycheckthestatusofaline,suchascontinuousforlater,"1"toa"0",knowfromanewcharacter,shouldbereadytoreceiveimmediately.

(2)data:

databits(D0-D7)jjustbehindthestartingfor,usuallyfor5to8,onthebasisofdatabitsweretransmittedfromlowtohighorder.

(3)paritycheckbits,paritycheckbitsonlytakeupone,andimmediatelybehindthedatabitsusedtorepresenttheserialcommunicationusingoddparityorevencheck,alsocanusethisone(I/O)todeterminethenatureofthischaracterrepresentsmoreinformationinaframe(address/data,etc.).

(4)stopbit:

locatedinthecharacterframeintheend,thecharacterizationoftheendofthecharacters,itmustbeahighlevel(logic"1").Stopbitscanbe1,1.5a,2a.Onthereceivingendafterreceivingthestopbit,knowacharacterhasbeentransferred,andatthesametimetoprepareforreceivingthenextcharacter(aslongastoreceivea"0"isthenewcharactersofthestartbit).Ifstop,sinceisnotfollowedbypassingthenextcharacter,keeponalineas"1".

Synchronouscommunication:

synchronoustransmissionbitgroupismuchlarger.Itisnotindependentlysendeachcharacter,eachcharacterhasitsownstartandstopbits,butputthemtogethertosendtogether.Wecallthesecombineddataframes,orframesforshort.

Thisdesigntopicresearchbetweensystems,datatransmissionandcontrolsystemandperipherals.SerialportinsystemandACTSasaconnectionbetweenperipheraltasksandinserialcommunicationswithRS485andRS232serialinterfacetechnologymostwidelyused,thistopicmainlystudiesdesignofRS485serialport,andinordertomeettheRS485communicationstandardMAXIMcompanyhasdesignedamodelnamedMAX488forthischip,thechipconnotationisadriveandareceiver,withlowpowerconsumptionatthesametime,single+5vpowersupply,thedrivehasoverloadprotection,withoutexternalcomponents,etc.

AT89C2051MCUwhenexecutingcommandstofailure,canthroughthechipIMP813microcontrollerreset.Itcanalsobeawakensingle-chipcomputerfromsleepmodeoridlemode.InthepresentAT89seriessingle-chipmicrocomputerserialportcommunicationtechnologyinthecurrentpopularsolutionistoadoptRS485interface.Ittakesoneandtwobusinterface,USESahalfduplexcommunicationbusdifferencelevelofdatatransmission.MicrocomputertorealizeRS485protocolcommunicationgenerallysummarizedtwomethodscanbeused:

thefirstUSESthecommunicationcard,insertedoncomputermotherboardexpansionslot;ThesecondUSESRS232andRS485conversioninterfacedevice.

SystemUSESAT89C51asamachineandPCasuppermachine,boththroughtheRS-232serialporttosendandreceivedata.RS-232signallevelandsinglechipmicrocomputerserialsignallevel,mustbebetweenthetwoleveltransformation,systemusedintheintegrationlevelconversionchipMAX232implementingRS-232/TTLleveltransformation.

ThisdesignusingthesinglechipmicrocomputerprincipleandmicrocomputerinterfacetechnologyandsoonknowledgeofsinglechipmicrocomputerandPCserialcommunicationdesign.Thereareinvolvedduringdescription,serialcommunicationsystemofserialcommunicationprinciple,theelectricstandardofRS-232interface,levelconversionmethodandthesinglechipmicrocomputerminimumsystemdesignrelatedissues.

ThissystemconsistsofhardwareandsoftwareThissystemconsistsoftwopartsofhardwareandsoftwarecoordinationiscomplete,thehardwarepartmainlycompleteinformationdisplay;Softwaremainlycompletesignalprocessingandcontrolfunction,etc.Systemhardwaredesignadoptsmodulardesign,AT89C51single-chipmicrocomputerasthecore,theserialportcommunicationcircuitofcontrolsystem.Softwaredesignusingaqueryandreceiveinterruptwaytocompletedata,andfurtherprocessing.

Duringimplementationbehindalsoadopted,forexample,andthesimulationdebugging,namelyusingProtuesplatform,virtualserialportsoftwaretocreatevirtualCOMport,apairofinterlinkedMSC0mmsoftwarebasedserialdebuggingsoftwaretoolssuchasPCandsinglechipcomputerserialcommunicationsystemsimulation.

Involvingthebaudrateinthetitle,baudratethedatatransferrate,saideverysecondtransmissionofbinarydigits,itistheunitofgbit/SEC(b/s),commonlyusedBPSsaid.Baudrateisanimportantindicatorofasynchronouscommunication,characterizationdatatransmissionspeed,thehigherthebaudrate,thefasterthespee

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 解决方案 > 工作计划

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1