摘 要:随着物联网时代的到来,物物相连已成为趋势,而大多数物联网终端设备采用的是 RS-232/485/422 通信协议。在现有基于 TCP/IP 的 Internet 网络基础上完成物联网信息的传输和交换,可以节约大量的人力、物力,而串口服务器是为各种串口电平(例如 TTL、232、485 和 422 等)到以太网网络之间完成数据转换的通信接口转换器。本设计基于 Zynq FPGA 研制了一种可连接 PLC、集中器和串口传感器等的 16 路串口服务器。该设计以 Xilinx 的 Zynq FPGA 为硬件平台,实现了 16 路串口到网口的通信。
关键词:Zynq;FPGA;TCP/IP
DOI:10.19850/j.cnki.2096-4706.2021.04.010
中图分类号:TP393 文献标识码:A 文章编号:2096-4706(2021)04-0039-05
Design of 16 Channel Serial Device Server Based on Zynq
WANG Pengtao1 ,MENG Haicheng2 ,MING Qi 3
(1.Henan Taijitong Engineering Construction Co.,Ltd.,Zhengzhou 450003,China;2.Zhengzhou Business Technician Institute, Zhengzhou 450100,China;3.The 713th Research Institute of China Shipbuilding Industry Corporation,Zhengzhou 450052,China)
Abstract:With the advent of the internet of things era,things are linked together has become a trend,then the most of the internet of things terminal equipments use RS-232/485/422 communication protocol. It completes the transmission and exchange of internet of things information on the basis of the existing Internet network based on TCP/IP,and can save a lot of manpower and material resources. However,the serial device server is a communication interface converter to complete the data conversion between various serial interface electrical level(for example TTL、232、485 and 422)and Ethernet network. Based on Zynq FPGA,a 16 channel serial device server is developed,which can connect PLC,concentrator and serial interface sensor. The design takes the Zynq FPGA of Xilinx as the hardware platform to realize the communication from 16 channel serial interface to network ports.
Keywords:Zynq;FPGA;TCP/IP
参考文献:
[1] 厦门计讯.串口服务器的作用及应用领域 [EB/OL].(2019- 01-02).https://www.sohu.com/a/285986907_100125590.
[2] 爱洋葱 .ZYNQ 简介 [EB/OL].(2020-02-19).https:// blog.csdn.net/zhoutaopower/article/details/104400796.
[3] 姜海卫,郭兰图,苟晓鸣,等 . 一种基于 Zynq 的多功能 串口服务器设计 [J]. 无线通信,2019,9(3):89-95.
[4] 高旭,金星,黄伟 . 基于 NIOS Ⅱ的多串口网络服务器的 设计与实现 [C]//2010 年西南三省一市自动化与仪器仪表学术年会 论文集,2010:189-191.
[5] 徐云 . 基于 FPGA 的多路高速串口设计与实现 [D]. 西安: 西安电子科技大学,2010.
[6] 刘凤新,赵坚固 . 基于 FPGA 的多路并行独立串口的实现 [J]. 仪表技术与传感器,2010(11):44-46.
[7] Xianlee_Wu. 最新版 ser2net 移植到 ARM 板上,交叉编 译 [EB/OL].(2015-01-27).https://blog.csdn.net/coderwu qiang/article/details/43202971.
作者简介:王朋涛(1981—),男,汉族,河南郑州人,助理 工程师,硕士,研究方向:电子信息工程。