资源描述:
《串口_以太网关转换器设计及其在通信供电监控系统中的应.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、AbstractSerial-EthernetConverterDesignandItsRelatedCommunicationPowerMonitoringSystemThistextdesignsaserial-Ethernetconverter,serial-EthernetconverteristheequipmentthatcanrealizeserialinterfacetoconnectwithRJ-45interfaceeachother.Thatiswhentheserialequipmen
2、tsendsdatatoEthernetfirstthroughlevelwhenafterconversionthenpressEthernettransferprotocol(TCP/IP)ofserialdataencapsulationmakeitbecomeEthernetframeformatpacket,thensendtoEthernet;Instead,willreceiveEthernetframeformatpacketparsedandpackaging,throughthelevel
3、afterconvertingintoserialinterface,thuscompletingtheserialdataandEthernetframeformatdataconversion,furtherrealizedwillnothavenetworkinterfaceofcommunicationequipmentthroughthedeviceitselfofserialaccessEthernetfunction.Theconvertermainlyconsistsoffourmodules
4、:levelconversionmodule,thecontrollermodule,networkinterfacemoduleandmemorymodule.SerialconversionmoduleismainlybytheDB9serialinterfaceandMAX232levelneedleoftransitionchip.OneforallkindsofelectricalequipmentDB9namelyintheextensiveuseofRS-232serialinterface,i
5、tiswholeconverterandserialequipmentofphysicalinterface.BecausedigitalcomponentslevelsinglechipforTTLlevelandserialinterfaceforRS-232standardlevels,inordertomakeequipmentandSCMcanbereliablybetweenonserialcommunication,designusingspecialchipMAX232forlevelconv
6、ersion.ConverterusingAT89C52asmicrocontroller,inthenetworkinterfaceterminal,throughtothenetworkinterfacechipmicro-controllerisRTL8019AScontroltoachievedataframeformatconversion;BasedonRS-232end,useMAX232realizeTTLlevelconversion.Inconverterwork,butwillallso
7、rtsoftransmissionandconversionofdatastoredin62256,by93C46andlatches74HC573constitutememoryunitmodule.InsystemworkhavelargeamountofdatatoeachinterfacechipprocessorandRAM,useexternaltodealwiththepurposeofwhichistoimprovetheMCUdatatransmissionspeedandforcomple
8、xTCP/IPIIIprotocolprocessingability.BecausethepacketmaximumEthernetcanreachmorethan1,500bytes,thoughtheAT89C52singleinteriorhas8KbytesofFlashmemory,buttheSCMorcannotstoragesobigandquantitypackets,whenl