摘要
为实现谐振式光学陀螺中现场可编程门阵列(FPGA)主控芯片与上位机之间的数据传输需求,便于实时调整陀螺的各项参数、优化陀螺的工作状态。该文采用全双工通信RS422串口与USB接口实现了基于FPGA的谐振式光学陀螺数字检测系统与MATLAB上位机的连接。在分析了陀螺的工作原理的基础上,重点开展了RS422串口在陀螺系统中的软硬件和上位机通信功能设计。实验结果表明,该数据传输系统工作稳定,灵活可靠,能较好地实现谐振式光学陀螺与MATLAB上位机间的数据传输。
In order to realize the data transmission between the FPGA master control chip and the host computer in the resonant optical gyro,and be convenient for the real-time adjustment of various parameters of the gyro and optimize the working state of the gyro,the full-duplex communication RS422 serial port and USB interface are used to realize the connection between the digital detection system of the FPGA-based resonant optical gyroscope and MATLAB host computer.Based on the analysis of the working principle of the gyro,the software and hardware of the RS422 serial port in the gyro system and the communication function design of the host computer are emphasized.The experimental results show that the data transmission system is stable,flexible and reliable,and can realize the data transmission between the resonant optical gyroscope and the MATLAB host computer.
引文
[1] EZEKIEL S,BALSAMO S R.Passive ring resonator laser gyroscope[J].Applied Physics Letters,1977,30(9):478-480.
[2] EZEKIEL S.Optical gyroscope options:principles and challenges[J].Optical Fiber Sensors,2006.
[3]鲍慧强.谐振式光学陀螺频率锁定技术与FPGA实现[D].杭州:浙江大学,2010.
[4]应建华,黄萌,赵江平.一种基于RS485/RS422的多速收发器的设计[J].半导体技术,2007,32(12):1069-1072.YING Jianhua,HUANG Meng,ZHAO Jiangping.Based on RS485/RS422 multi-speed transceiver design[J].Journal of Semiconductor Technology,2007,32(12):1069-1072.
[5]金旸霖.一种采用双FPGA为核心的RS422通信控制电路:104484304A[P].2015-04-01.
[6]杨婷,张成飞,郑永秋,等.谐振式光学陀螺数字陀螺信号的提取技术[J].光通信技术,2016,40(12):1-4.YANG Ting,ZHANG Chengfei,ZHENG Yongqiu,et al.Resonant optical gyro digital gyro signal extraction technology(this paper)[J].Journal of Optical Communication Technology,2016,40(12):1-4.
[7]侯继红.基于VHDL语言的按键消抖电路设计及仿真[J].现代电子技术,2009,32(23):201-202.HOU Jihong.Based on the VHDL language button away shaking,circuit design and simulation[J].Journal of Modern Electronic Technology,2009,32(23):201-202.
[8]陈妍.双路闭环谐振式集成光学陀螺研究[D].杭州:浙江大学,2012.
[9]闫徐林,闫树斌,郑永秋,等.谐振式光学陀螺背散射噪声的抑制[J].仪表技术与传感器,2017(2):82-85.YAN Xulin,YAN Shubin,ZHENG Yongqiu,et al.Resonant optical gyro back scattering noise suppression[J].Instrument Technique and Sensor,2017(2):82-85.
[10]罗华飞.MATLAB GUI设计学习手记[M].北京:北京航空航天大学出版社,2009.