串口_以太网关转换器设计及其在通信供电监控系统中的应.pdf
《串口_以太网关转换器设计及其在通信供电监控系统中的应.pdf》由会员分享,可在线阅读,更多相关《串口_以太网关转换器设计及其在通信供电监控系统中的应.pdf(5页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 III Abstract Abstract Serial-Ethernet Converter Design and Its Related Communication Power Monitoring System This text designs a serial-Ethernet converter,serial-Ethernet converter is the equipment that can realize serial interface to connect with RJ-45 interface each other.That is when the serial
2、equipment sends data to Ethernet first through level when after conversion then press Ethernet transfer protocol(TCP/IP)of serial data encapsulation make it become Ethernet frame format packet,then send to Ethernet;Instead,will receive Ethernet frame format packet parsed and packaging,through the le
3、vel after converting into serial interface,thus completing the serial data and Ethernet frame format data conversion,further realized will not have network interface of communication equipment through the device itself of serial access Ethernet function.The converter mainly consists of four modules:
4、level conversion module,the controller module,network interface module and memory module.Serial conversion module is mainly by the DB9 serial interface and MAX232 level needle of transition chip.One for all kinds of electrical equipment DB9 namely in the extensive use of RS-232 serial interface,it i
5、s whole converter and serial equipment of physical interface.Because digital components level single chip for TTL level and serial interface for RS-232 standard levels,in order to make equipment and SCM can be reliably between on serial communication,design using special chip MAX232 for level conver
6、sion.Converter using AT89C52 as micro controller,in the network interface terminal,through to the network interface chip micro-controller is RTL8019AS control to achieve data frame format conversion;Based on RS-232 end,use MAX232 realize TTL level conversion.In converter work,but will all sorts of t
7、ransmission and conversion of data stored in 62256,by 93C46 and latches 74HC573 constitute memory unit module.In system work have large amount of data to each interface chip processor and RAM,use external to deal with the purpose of which is to improve the MCU data transmission speed and for complex
8、 TCP/IP IV protocol processing ability.Because the packet maximum Ethernet can reach more than 1,500 bytes,though the AT89C52 single interior has 8K bytes of Flash memory,but the SCM or cannot storage so big and quantity packets,when large amounts of data sent to the microcontroller will make SCM ap
9、pear processing power shortfall,only on external RAM,to make SCM can high throughput data.Meanwhile external RAM also used as input and output buffer the serial port.This design in external is added latches 62256 74HC573 and ROM 24C512 to help controller and need to handle data storage past.Serial l
10、ink layer serial data transceiver function complete network layer,serial ports as part of the TCP/IP application layer,realizes the encapsulation of the serial port frame.Ethernet serial port to transform data transmission is serial link layer receive data from serial equipment serial port,to networ
11、k layer,the layer of serial data frames finish packaging and put people send buffer,waiting for the Ethernet send control instruction,receive send allow instructions,then open the TCP bag,and until the next step by step to send,physical data transmission of bit torrent,finish.Ethernet data to the se
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 串口 以太 网关 转换器 设计 及其 通信 供电 监控 系统 中的
限制150内