Design and implementation of Lagrange interpolation algorithm based on FPGA

JIN Xiangtian, YANG Xingmei, LI Huiling, HU Maohai

Integrated Circuits and Embedded Systems ›› 2024, Vol. 24 ›› Issue (12) : 38-44.

PDF(7821 KB)
PDF(7821 KB)
Integrated Circuits and Embedded Systems ›› 2024, Vol. 24 ›› Issue (12) : 38-44. DOI: 10.20193/j.ices2097-4191.2024.0037
Research Paper

Design and implementation of Lagrange interpolation algorithm based on FPGA

Author information +
History +

Abstract

Based on an FPGA hardware platform, a laser line scanning camera captures images of the linear laser beam projected onto the surface of the measured object, subsequently extracting the two-dimensional pixel coordinates of the laser line using the center-point method to reconstruct the spatial coordinates of the end face contour parallel to the light axis of the measured object. Addressing the issue of non-continuous laser line images in this system due to equipment and environmental factors, this paper proposes a Lagrange interpolation algorithm based on FPGA, to fit the discontinuous laser line pixel coordinate curves. The algorithm includes sub-modules for floating-point addition, subtraction, multiplication, division, comparison, and sequential loop control, fully leveraging the parallel processing capability of the FPGA to accelerate image processing algorithms, thereby offering higher fitting precision compared to linear interpolation methods. The experiment results demonstrate that the computation time of this module is 7.945 microseconds, achieving a 76-fold speed improvement over an 8-core 64-bit computer, ensuring the real-time performance of the system while realizing high-precision fitting, thus enhancing the overall system stability.

Key words

image processing / FPGA / Lagrange interpolation algorithm / curve fitting / XC7A35TFTG256

Cite this article

Download Citations
JIN Xiangtian , YANG Xingmei , LI Huiling , et al. Design and implementation of Lagrange interpolation algorithm based on FPGA[J]. Integrated Circuits and Embedded Systems. 2024, 24(12): 38-44 https://doi.org/10.20193/j.ices2097-4191.2024.0037

References

[1]
曹逸超. 基于可见光相机和激光线扫描相机的全天时机场跑道异物检测方法研究[D]. 济南: 山东大学, 2023.DOI:10.27272/d.cnki.gshdu.2023.002748.
CAO Y C. Research on All-Weather Airport Runway Foreign Object Detection Method Based on Visible Light Cameras and Laser Line Scanning Cameras[D]. Jinan: Shandong University, 2023.DOI:10.27272/d.cnki.gshdu.2023.002748 (in Chinese).
[2]
国佳丽. 基于线激光扫描的水下目标三维检测研究[D]. 哈尔滨: 哈尔滨工程大学, 2023.DOI:10.27060/d.cnki.ghbcu.2023.001627.
GUO J L. Research on Three-Dimensional Detection of Underwater Targets Based on Line Laser Scanning[D]. Harbin:Harbin Engineering University, 2023.DOI:10.27060/d.cnki.ghbcu.2023.001627 (in Chinese).
[3]
张晨. 基于线扫描相机的机器人在线激光熔覆研究[D]. 济南: 山东大学, 2022.DOI:10.27272/d.cnki.gshdu.2022.002364.
ZHANG C. Research on Online Laser Cladding with Robot Based on Line Scan Camera[D]. Jinan: Shandong University, 2022.DOI:10.27272/d.cnki.gshdu.2022.002364 (in Chinese).
[4]
刘永治, 张周强, 郭忠超, 等. 基于线激光扫描的零件三维表面检测系统研究[J]. 国外电子测量技术, 2021, 40(2):67-72.DOI:10.19652/j.cnki.femt.2002312.
LIU Y Z, ZHANG Z Q, GUO Z C, et al. Research on a 3D Surface Inspection System for Parts Based on Line Laser Scanning[J]. Foreign Electronic Measurement Technology, 2021, 40(2):67-72.DOI:10.19652/j.cnki.femt.2002312 (in Chinese).
[5]
易文祥. 基于线激光扫描的三维重建系统研究[D]. 广州: 广东工业大学, 2020.DOI:10.27029/d.cnki.ggdgu.2020.001761.
YI W X. Research on a 3D Reconstruction System Based on Line Laser Scanning[D]. Guangzhou: Guangdong University of Technology, 2020.DOI: 10.27029/d.cnki.ggdgu.2020.001761 (in Chinese).
[6]
詹坤烽. 基于线激光扫描的三维重建系统研究[D]. 南京: 南京理工大学, 2019.DOI:10.27241/d.cnki.gnjgu.2019.001192.
ZHAN K F. Research on 3D Reconstruction System Based on Line Laser Scanning[D]. Nanjing: Nanjing University of Science and Technology, 2019.DOI: 10.27241/d.cnki.gnjgu.2019.001192 (in Chinese).
[7]
苏涵. 激光三角扫描物体形貌测量传感器关键技术研究[D]. 天津: 天津大学, 2017.
SU H. Key Technology Research on Laser Triangulation Scanning Sensors for Object Topography Measurement[D]. Tianjin:Tianjin University, 2017 (in Chinese).
[8]
段锁城. 扫描式激光三维测量系统的研究[D]. 长春: 长春理工大学, 2016.
DUAN S C. Research on Scanning Laser Three-Dimensional Measurement System[D]. Changchun: Changchun University of Science and Technology, 2016 (in Chinese).
[9]
王海. 基于线结构光三维测量方法的研究[D]. 上海: 东华大学, 2022.DOI:10.27012/d.cnki.gdhuu.2022.000126.
WANG H. Research on Three-Dimensional Measurement Method Based on Line Structured Light[D]. Shanghai: Donghua University, 2022.DOI:10.27012/d.cnki.gdhuu.2022.000126 (in Chinese).
[10]
张洪, 熊汉伟, 王金明, 等. 线激光、遮挡轮廓结合的雕塑形体3D扫描方法研究[J]. 应用激光, 2008(2):115-119.
ZHANG H, XIONG H W, WANG J M, et al. Research on 3D Scanning Method for Sculpture Shapes Combining Line Laser and Occluded Contours[J]. Applied Laser, 2008(2):115-119 (in Chinese).
PDF(7821 KB)

Accesses

Citation

Detail

Sections
Recommended

/

〈 〉