Real-time FPGA Implementation of an Optic Flow Algorithm Suitable for Background Oriented Schlieren Technique
-
Published:2024-07-01
Issue:1
Volume:2800
Page:012028
-
ISSN:1742-6588
-
Container-title:Journal of Physics: Conference Series
-
language:
-
Short-container-title:J. Phys.: Conf. Ser.
Author:
Wang Tianhao,Luo Donggen,Lu Meina,Wang Yi,Mei Haiping,Yu Xinyu,Chi Gaojun,Qiu Zhenwei
Abstract
Abstract
To meet the demands of real-time displacement detection in embedded systems, a real-time optical flow calculation method suitable for background oriented schlieren (BOS) technology was transplanted and implemented on an Field Programmable Gate Array(FPGA) system. Firstly, through the analysis of different optical flow operation characteristics and the comparison of processing results in MATLAB with actual experimental data, an optical flow algorithm suitable for real-time processing of background shadow images was selected. Subsequently, by using hardware pipelining and multimodule parallel processing, the single-layer L&K optical flow algorithm was transplanted onto the FPGA and algorithm optimization was performed to achieve real-time optical flow calculation based on adjacent frame images. The key optimization techniques in this paper mainly include cleverly designing Double-Data-Rate Three Synchronous Dynamic Random Access Memory (DDR3) memory partitioning read and write logic to avoid image read and write conflicts; ensuring the timing alignment and data synchronization of consecutive frames by using burst read arbitration modules and two independent First In First Out (FIFO) buffers; and in optical flow calculation, constructing a 3×3 window using a shifting FIFO method to effectively save cache resources and improve computational speed. Experimental results show that the system can achieve real-time processing speeds of not less than 60fps for 1024×768 resolution images, meeting the requirements of practical applications.
Reference16 articles.
1. Event-based Background-Oriented Schlieren;Shiba,2023
2. Field-Programmable System-on-Chip-Based Control System for Real-Time Distortion Correction in Optical Imaging;Radner;IEEE Transactions on Industrial Electronics,2021
3. A Gas Imaging Sensor System of Automotive Exhaust Plumes for Remote Emission Sensing Application Basing on Schlieren Imaging An Approach to Visualize and Size Vehicle Exhaust Plumes;Imtiaz,2023