A global positioning method for radar cover reshaping based on binocular vision

By employing a binocular vision-based global localization method for radome shaping, and utilizing feature extraction, map generation, and depth map calculation, combined with the YOLOv5s algorithm optimizer, precise positioning of industrial robots during the shaping process of irregular composite material components was achieved. This solves the problem of inaccurate positioning in existing technologies and improves adaptability.

CN117392204BActive Publication Date: 2026-11-27BEIJING UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311237006.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-24
Publication Date
2026-11-27
Estimated Expiration
2043-09-24

AI Technical Summary

Technical Problem

In existing technologies, industrial robots struggle to achieve precise global positioning during the shaping of irregularly shaped composite material components, resulting in poor adaptability and an inability to complete preset tasks when the work environment changes.

Method used

A binocular vision-based global localization method for radome shaping is adopted. Through feature extraction, map generation, binocular camera image detection, image segmentation, binocular positioning and depth map calculation, combined with the YOLOv5s algorithm optimizer, the robot can accurately locate irregular composite material components.

Benefits of technology

It achieves rapid, convenient, and accurate global positioning of robots in the process of modifying irregular composite material components, solves the problem of difficult positioning of irregular curved surfaces, and is applicable to the modification process of irregular composite material components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117392204B_ABST
    Figure CN117392204B_ABST
Patent Text Reader

Abstract

The application discloses a radar cover repair type global positioning method based on binocular vision, which comprises the following steps: feature extraction and feature segmentation processing are performed on the environment around the robot, the coordinates of all local maps are converted and fused to generate a global map; then, a plurality of binocular cameras are used to shoot the working space scene to obtain original images of the processing scene; the original images are subjected to image preprocessing; the optimizer in the YOLOv5s algorithm is improved according to the real processing scene; the improved YOLOv5s visual processing algorithm is used to train the components in the scene; the trained model is used to position the processing components in the scene; the distance between the robot and different characteristic components is calculated; and the position of the robot itself is determined. The method realizes global positioning of the radar cover repair type scene by using binocular vision and the improved YOLOv5s visual processing algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of shaping and processing of irregularly shaped composite material components for aerospace applications, and specifically to a global positioning method for radome shaping based on binocular vision. Background Technology

[0002] In the processing of aerospace components, as the level of automation and intelligence in manufacturing continues to improve, more and more factories are introducing automated processing methods that include industrial robots. When robots participate in automated processing, a high degree of precision in positioning is required. However, currently, most robot applications still rely on human instruction, failing to fully unleash the maximum potential of industrial robots. This results in current industrial robots being unable to effectively complete pre-set tasks when the work environment changes. This is also a common problem in the application of adaptive machining robots.

[0003] To improve the global positioning accuracy of robots in the process of shaping irregular composite material components for aerospace, a global positioning method combining binocular vision and map construction is studied to achieve global positioning of the shaping robot in the process of shaping irregular composite material radomes. Summary of the Invention

[0004] This invention is achieved through the following technical means: a global positioning method for radome reshaping based on binocular vision.

[0005] Step 1: Extract features from the environment surrounding the radome-shaping robot to generate a more compact map, providing a more direct reference for the robot's localization. Corner points are considered the largest feature points in the surrounding environment. By calculating the feature points of the surrounding environment, i.e., the corner points, feature detection of the radome-shaping scene is completed, yielding the feature points of the surrounding environment.

[0006] Step 2: Segment the features of the robot's surrounding environment using adaptive curvature.

[0007] Step 3: Generate a local map based on the feature points of the surrounding environment, and finally transform and merge the coordinate system of the local map to obtain a brand new global map.

[0008] Step 4: Binocular Camera Image Detection. Use binocular cameras to capture images of the scene where the radar dome shaping robot is located. Deploy multiple binocular cameras at different angles on the same plane. Turn on the binocular cameras and test whether the two images are displayed correctly; checkerboard pattern photos can also be taken. Only after confirming that the camera images are displayed correctly can you proceed to the next step, using the binocular cameras to take multiple checkerboard pattern images.

[0009] Step 5: Binocular Image Segmentation. Using OpenCV, the image of the radar dome reshaping scene is segmented, dividing the left and right halves of the image for subsequent calibration.

[0010] Step Six: Stereo Camera Calibration and Acquiring Intrinsic and Extrinsic Parameters. First, stereo camera calibration is performed using the Matlab toolbox. Using the Stereo Camera Calibration tool under Image Processing and Computer Vision in the Matlab toolbox, open and import the segmented image. Set the parameters, selecting the 2Coefficients option. In the Matlab toolbox console, enter the commands `stereoParams.CameraParameters1.IntrinsicMatrix` and `stereoParams.CameraParameters2.IntrinsicMatrix` to obtain the parameters of the left and right cameras.

[0011] To obtain the distortion coefficients of the left camera:

[0012] [k1,k2,p1,p2,k3]

[0013] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients.

[0014] In Matlab, input the commands `stereoParams.CameraParameters1.RadialDistortion` and `stereoParams.CameraParameters1.TangentialDistortion` to obtain the distortion coefficients of the left camera. Similarly, input the commands `stereoParams.CameraParameters2.RadialDistortion` and `stereoParams.CameraParameters2.TangentialDistortion` to obtain the distortion coefficients of the right camera.

[0015] [k1,k2,p1,p2,k3]

[0016] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients.

[0017] Next, input stereoParams.RotationOfCamera2 and stereoParams respectively to obtain the rotation and translation matrices of the stereo cameras, and fill in the above parameters into the corresponding stereoconfig.py file;

[0018] Step 7: Improve the optimizer in the YOLOv5s algorithm by proposing a faster iterative optimizer. Train the YOLOv5s vision processing algorithm on each component in the scene. Step 8: Perform binocular ranging. First, perform epipolar correction. Then, perform stereo matching and disparity map calculation. Use the SGM binocular stereo matching algorithm to perform stereo matching on the epipolar-corrected image. This step utilizes SGBM in OpenCV to generate the disparity map. Finally, calculate the depth map. Calculate the pixel depth in the scene using disparity and formulas to obtain the distance from the robot to the feature components.

[0019] Step 9: Use multiple binocular cameras to measure the distances from the shaping robot to different feature parts, and calculate the current actual position of the shaping robot based on the position coordinates of the feature parts on the map.

[0020] This method is fast, convenient, and accurate. It uses laser map construction and binocular vision ranging to locate the robot, which can solve the problem of difficult positioning of irregular curved surfaces. It is suitable for global positioning of the robot in the process of shaping irregular composite material components. Attached Figure Description

[0021] Figure 1 This is a flowchart illustrating the specific implementation method. Detailed Implementation

[0022] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the invention and to fully convey the scope of the invention to those skilled in the art.

[0023] The target images processed by this invention originate from industrial cameras of industrial robots, which are used to detect feature components in a processing scene.

[0024] The present invention will be described in detail below through embodiments.

[0025] Example

[0026] A global localization method for radome reshaping based on binocular vision includes the following steps:

[0027] Step 1: Extract features from the robot's environment to generate a more compact map, providing more direct references for the robot's localization. First, corner points are considered as the largest feature points in the surrounding environment, and feature detection of the surrounding environment is completed by calculating corresponding operators.

[0028] The expression for the operator is:

[0029]

[0030] In the formula, G represents the neighborhood of coordinates (x,y), j(x,y) represents the corner operator, and p(x m ,y n ) represents the high-pass filter operator.

[0031] The expression for the high-pass filter operator is:

[0032]

[0033] In the formula, δ represents the high-pass filter parameter.

[0034] Step 2: After obtaining the feature points of the surrounding environment, the environmental features are segmented using adaptive curvature to form isolated connected regions.

[0035] Step 3: Generate a local map based on feature points, and finally transform and merge the coordinate system of the local map to obtain a brand new global map.

[0036] Step 4: Binocular Camera Image Detection. Deploy multiple binocular cameras at different angles on the same plane. Turn on the cameras and test whether the two images displayed by the binocular cameras are normal; checkerboard pattern photos can also be taken. Only after confirming that the camera images are displayed correctly can you proceed to the next step: use the binocular cameras to take multiple checkerboard pattern images.

[0037] Step 5: Binocular Image Segmentation. OpenCV is used to segment the captured images, dividing the left and right halves for subsequent calibration.

[0038] Step Six: Binocular Calibration. Perform binocular calibration using the Matlab toolbox. Open the APP tool in the Matlab toolbar, find the Stereo Camera Calibration tool under Image Processing and Computer Vision, open it, and import the segmented image. Set the parameters: for general cameras, select the 2 Coefficients option; for cameras with a large field of view, select the 3 Coefficients option. Delete images with large errors by drawing lines. In the Matlab console, enter `stereoParams.CameraParameters1.IntrinsicMatrix` and `stereoParams.CameraParameters2.IntrinsicMatrix` respectively to obtain the parameters of the left and right cameras. To obtain the distortion coefficients of the left camera:

[0039] [k1,k2,p1,p2,k3]

[0040] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients.

[0041] Input stereoParams.CameraParameters1.RadialDistortion and stereoParams.CameraParameters1.TangentialDistortion respectively. Similarly, input stereoParams.CameraParameters2.RadialDistortion and stereoParams.CameraParameters2.TangentialDistortion respectively to obtain the distortion coefficients of the right camera:

[0042] [k1,k2,p1,p2,k3]

[0043] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients.

[0044] Next, input stereoParams.RotationOfCamera2 and stereoParams respectively to obtain the stereo rotation and translation matrices, and fill in the above parameters into the corresponding stereoconfig.py file;

[0045] Step 7: Improve the optimizer in the YOLOv5s algorithm by proposing a faster iterative optimizer. Construct a dataset for the feature parts, collecting 1000 images of the feature parts, with 800 for the training set and 200 for the dataset. LabelMe is used to annotate the dataset, and the YOLOv5s visual processing algorithm is used to train the algorithm on each part in the scene.

[0046] The model trained using this method can accurately classify components of multi-level parts and precisely identify feature parts in the scene.

[0047] Step 8: Perform stereo ranging. Specific process: First, perform epipolar correction. Use the `stereoRectify()` function in OpenCV to perform stereo correction on the segmented image. Then, use OpenCV for stereo matching and disparity map calculation. Use the SGM stereo matching algorithm to perform stereo matching on the epipolar-corrected image. This step uses the SGBM code in OpenCV to generate the disparity map. Finally, calculate the depth map. The `StereoRectify()` function in OpenCV provides a reprojection matrix Q, a 4x4 disparity-to-depth mapping matrix. Using the Q matrix and `cv2.reprojectImageTo3D`, pixel coordinates can be converted to 3D coordinates. This function returns a 3-channel matrix storing the X, Y, and Z coordinates.

[0048]

[0049] Where c x and c y Let f be the coordinates of the principal point of the left camera in the image, and T be the focal length. x For the translation between the projection centers of the two cameras, c' x These are the coordinates of the principal point of the right camera in the image.

[0050] Where Z is the depth distance:

[0051]

[0052] By using parallax and formulas to calculate pixel depth in the scene, the distance from the robot to the feature components can be obtained.

[0053] Step 9: Using multiple binocular cameras to measure the distances from the shaping robot to different feature components, since the position coordinates of the feature components are known, spatial matrix calculation can be performed to calculate the current actual position of the shaping robot.

[0054] The foregoing description of specific exemplary embodiments of the present invention is for illustrative and descriptive purposes. It is not intended to be exhaustive, nor to limit the invention to the precise forms disclosed; obviously, many changes and variations are possible based on the foregoing. The exemplary embodiments were chosen and described to explain the specific principles of the invention and its practical application, thereby enabling others skilled in the art to implement and utilize various exemplary embodiments of the invention, as well as their different alternatives and modifications. The scope of the invention is intended to be defined by the appended claims and their equivalents.

Claims

1. A global localization method for radome modification based on binocular vision, characterized in that, The method includes the following steps: Step 1: Extract features from the environment in which the radome shaping robot is located to generate a compact map, providing a more direct reference for the robot's localization. Treat corner points as the largest feature points of the surrounding environment, and complete feature detection of the radome shaping scene by calculating the feature points of the surrounding environment, i.e., the corner points, to obtain the feature points of the surrounding environment. Step 2: Segment the features of the robot's surrounding environment using adaptive curvature; Step 3: Generate a local map based on the feature points of the surrounding environment, and finally transform and merge the coordinate system of the local map to obtain a brand new global map; Step 4: Binocular camera image detection. Use the binocular camera to capture images of the scene where the radar dome shaping robot is located. Deploy multiple binocular cameras at different angles on the same plane. Turn on the binocular camera and test whether the two images of the binocular camera are displayed normally, or take a checkerboard photo. After confirming that the camera image display is correct, proceed downwards and use the binocular camera to take multiple checkerboard images. Step 5: Binocular image segmentation; Use OpenCV to segment the image of the radar dome reshaping scene, dividing the left and right halves of the image for subsequent calibration. Step 6: Stereo Camera Calibration, obtaining the intrinsic and extrinsic parameters of the stereo camera; First, use the Matlab toolbox for stereo camera calibration; Based on the Stereo Camera Calibration tool under Image Processing and Computer Vision in the Matlab toolbox, open and import the segmented image; Step 7: Improve the optimizer in the YOLOv5s algorithm and use the YOLOv5s vision processing algorithm to train each component in the scene; Step 8: Perform binocular ranging; first, perform epipolar correction; then, perform stereo matching and disparity map calculation. Use the SGM binocular stereo matching algorithm to perform stereo matching on the epipolar-corrected image. This step uses SGBM in OpenCV for processing to generate a disparity map; finally, perform depth map calculation; use disparity and formulas to calculate the pixel depth in the scene and obtain the distance from the robot to the feature parts. Step 9: Use multiple binocular cameras to measure the distances from the shaping robot to different feature parts, and calculate the current actual position of the shaping robot based on the position coordinates of the feature parts on the map.

2. The global positioning method for radome reshaping based on binocular vision according to claim 1, characterized in that, The optimized YOLOv5s visual processing algorithm is used to train the model on each component in the scene; the trained model accurately classifies the components of multi-level parts and precisely identifies the feature parts in the scene.

3. The global positioning method for radome reshaping based on binocular vision according to claim 1, characterized in that, The distances from the shaping robot to different feature parts are measured using multiple binocular cameras. Based on the position coordinates of the feature parts on the map, the current actual position of the shaping robot is calculated.

4. The global positioning method for radome modification based on binocular vision according to claim 1, characterized in that, Enter the camera parameter acquisition command in the console of the Matlab toolbox to obtain the parameters of the left and right cameras respectively; Obtain the distortion coefficients of the left camera: [k1,k2,p1,p2,k3] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients; In Matlab, input the command to obtain the distortion coefficients of the left camera; similarly, input the command to obtain the distortion coefficients of the right camera to obtain the distortion coefficients of the right camera. [k1,k2,p1,p2,k3] Where k1, k2, k3, p1, and p2 are all camera distortion coefficients.

Citation Information

Patent Citations

  • ORB-SLAM based high-precision vehicle positioning method

    CN109631855A

  • Semantic SLAM method and system based on object and plane features

    CN110322511A