基于RS232总线的FPGA端上位机通信程序开发
Development of Communication Program of FPGA Terminal Upper Computer Based on RS232 Bus
DOI: 10.12677/MOS.2023.121041, PDF,   
作者: 汪雪光, 陈光胜, 游肖洋:上海理工大学机械工程学院,上海
关键词: RS-232协议FPGA串口通信上位机RS-232 Protocol FPGA Serial Communication Upper Computer
摘要: 以基于FPGA芯片的电机控制器与上位机的串口通信为切入点,主要介绍了FPGA芯片与上位机之间通信网络和通信协议的选择与制定,介绍了RS-232协议的物理定义,以及通过RS-232协议传输自定义指令包,从而实现上位机对电机控制器的基本控制以及电机控制器反馈相关数据给上位机,实现信息采集与分析。该设计具有很强的通用性。
Abstract: Starting from the serial communication between the motor controller and the host computer based on FPGA chip, this paper mainly introduces the selection and formulation of the communication network and communication protocol between the FPGA chip and the host computer, introduces the physical definition of RS-232 protocol, and introduces the transmission of custom instruction pack-age through the RS-232 protocol. In this way, the host computer can control the motor controller and the motor controller can feed back relevant data to the host computer to realize information collection and analysis. The design has strong versatility.
文章引用:汪雪光, 陈光胜, 游肖洋. 基于RS232总线的FPGA端上位机通信程序开发[J]. 建模与仿真, 2023, 12(1): 426-436. https://doi.org/10.12677/MOS.2023.121041

参考文献

[1] 陈苗海. 中国激光加工产业现状和发展前景[J]. 激光与红外, 2004, 34(1): 73-77.
[2] 梅遂生. 激光技术的40年[J]. 大学物理, 2000, 19(7): 3-6. [Google Scholar] [CrossRef
[3] 张荣, 张秋鄂, 李永正. 高速数字扫描振镜驱动卡设计及研究[J]. 应用激光, 2013, 33(5): 551-554.
[4] 孙舟, 赵正, 郭奇, 钱宏文, 饶飞, 杨文豪. 基于STM32F103控制的NAND Flash数据处理实现[J]. 电子与封装, 2019, 19(10): 29-33. [Google Scholar] [CrossRef
[5] 裴向东, 陈箫, 谭秋林, 朱思敏, 熊继军. 基于USB-FIFO的FPGA与上位机通信的设计与实现[J]. 计算机测量与控制, 2012, 20(4): 1073-1075. [Google Scholar] [CrossRef
[6] 马亚玲. 基于RS-485总线的MODBUS通信协议在单片机上的实现[J]. 通信电源技术, 2019, 36(7): 60-62. [Google Scholar] [CrossRef
[7] 胡立坤, 王庆超. 基于UART的可靠通信与性能分析[J]. 计算机工程, 2006, 32(10): 15-17+21.
[8] 吴军辉, 林开颜, 徐立鸿. RS485总线通信避障及其多主发送的研究[J]. 测控技术, 2002, 21(8): 41-43. [Google Scholar] [CrossRef
[9] 吕达, 张加宏, 李敏, 冒晓莉, 杨天民, 谢丽君. 基于FPGA的多通道FIFO存储控制器的设计与实现[J]. 现代电子技术, 2019, 42(4): 1-4+9. [Google Scholar] [CrossRef