首页|基于低误差并行计算加速的OFDR实时处理技术

基于低误差并行计算加速的OFDR实时处理技术

扫码查看
针对光频域反射计(OFDR)数据处理量大、实时性差的缺点,提出了一种基于低误差并行计算加速的OFDR数据处理结构,并采用现场可编程逻辑门阵列(FPGA)实现该结构,以满足高精度OFDR系统有效数据的实时处理需求。将OFDR数据处理过程分为可直接实时处理与难以实时处理部分。针对前者,提出了带有双门限比较器的扫频非线性校正算法,以降低重采样误差;针对后者,使用乒乓操作与并行计算加速数据处理,并根据FPGA的计算特点设计了一种具有动态精度的旋转因子,以便在保证计算无溢出的情况下取得最小的计算误差。在实验室搭建了测试系统,该系统的空间分辨率优于0。82 mm,测试长度在74。5 m以上,长度测试误差小于0。3 mm。测试结果显示:该系统的计算误差减小至10-7,相比固定精度下的10 5减小了 2个数量级;数据处理速度是计算机的11倍以上,在有效处理点数大于3000的情况下实现了 20 frame/s的实时处理,验证了该系统可以有效加速OFDR的数据处理过程。
Real-Time OFDR Processing Technology Based on Low Error Parallel Computing Acceleration
Objective As a type of fiber-optic sensing technology,optical frequency domain reflection(OFDR)technology has received increasing attention in the field of temperature and stress measurement owing to its high spatial resolution and sensitivity.Many scholars have focused on improving the spatial resolution and extending the detection distance of OFDR.However,with improvements in the spatial resolution and detection distance,the data volume and processing difficulty of OFDR have also shown explosive growth.In static testing,it is permissible to handle hysteresis.However,it is difficult to adapt to situations that require high levels of dynamism and repeatability.In response to this issue,Sheng et al.adopted a data caching method;however,this method is only suitable for short-term real-time requirements and cannot perform long-term operations.Therefore,it is extremely important to design a system that satisfies the real-time processing requirements of OFDR.Specialized calculators and programmable logic devices have proven their advantages for data processing in various fields,and in recent years,GPUs have achieved good results in the fields of artificial intelligence and big data owing to their large number of built-in stream processing units and extremely strong computing power.However,GPUs have high power consumption,high heat generation,a low power-to-energy ratio,and poor external scalability,and they often require synchronous use with computers and acquisition boards.The structure of the FPGA is different from that of the GPU.Although an FPGA does not have a large number of stream processors,its programmability is higher.The FPGA integrates dedicated multipliers or digital signal processing(DSP)units internally,which can provide data processing capabilities while offering strong scalability.In this study,we propose a real-time processing system based on low-error parallel computing acceleration to address the difficulties in OFDR data processing.We optimize the system according to its data characteristics and achieve real-time processing of OFDR data.Methods In this study,we classified the data processing of OFDR and divided it into parts that can be directly processed in real time and parts that are difficult to process in real time.The frequency-sweep nonlinear correction algorithm is the main algorithm that can be processed directly in real time.We propose a frequency-sweep nonlinear correction algorithm using a dual-threshold comparator.A dual-gate limited-latch mechanism was used to reduce the false triggering of false resampling and minimize errors.The parts that are difficult to process in real-time primarily include the spectrum.We used a dual-address loop method in the DDR3 storage chip to achieve FIFO ping pong operation.We designed a kernel based on single-point computing and utilized the parallel scalability of an FPGA to expand multiple computing kernels.Because the DSP48E1 unit in the FPGA can only be used for fixed-point calculations,we analyzed the calculation error and designed a rotation factor with dynamic accuracy that can achieve minimum calculation error while ensuring no overflow in the calculation.Results and Discussions To verify the effectiveness of the algorithm,we built an experimental platform and separately tested the calculation error and time.In the calculation error testing,computers and an FPGA were used to test and analyze the experimental optical path,and all data and local detail data were compared.For comparison,the effective proportion of the input signal is approximately 0.1,the number of calculation points is approximately 110000,and the dynamic bit width of the rotation factor is 23 bit.The maximum calculation error measured is 5.2×10-8,which is less than 10-7,proving that the FPGA is consistent with the computer calculation results.When using a fixed bit width and retesting the same data,the maximum calculation error measured was 6.4×10-6.Therefore,under these testing conditions,the proposed dynamic bit width algorithm can reduce the calculation error by approximately 100 times,and the calculation time was measured multiple times at 500 and 3000 points.The operating times of the FPGA and computer were measured using the oscilloscope and software timer methods,respectively.The results indicate that the FPGA can achieve computational acceleration at various effective points.In the case of 500 points,it can provide 11 times processing speed of the compupter.At 3000 points,it can provide 16 times processing speed of the compupter.Conclusions Through experimental verification,the proposed system can effectively accelerate the process of OFDR data processing and achieve low error.Compared with traditional fixed accuracy,the proposed system reduces the calculation error by approximately two orders of magnitude.Compared with computer processing,the proposed system can obtain faster speed and achieve real-time processing of 20 frame/s.However,this system has several limitations.Real-time data processing cannot be guaranteed when the number of effective OFDR points increases.However,this problem can be solved by upgrading the FPGA chip and using devices with more resources and higher clock frequencies.

optical communicationsoptical frequency domain reflectometerfield programmable gate arrayreal-time processing and demodulationcalculation errorparallel computing

帅禄玮、张柳欣、叶蕾、王照勇、高侃、叶青

展开 >

中国科学院上海光学精密机械研究所空间激光传输与探测技术重点实验室,上海 201800

中国科学院大学材料与光电研究中心,北京 100049

上海中科神光光电产业有限公司,上海 201815

光通信 光频域反射计(OFDR) 可编程逻辑门电路(FPGA) 实时处理与解调 计算误差 并行计算

2024

中国激光
中国光学学会 中科院上海光机所

中国激光

CSTPCD北大核心
影响因子:2.204
ISSN:0258-7025
年,卷(期):2024.51(14)