A laser cutting follow-up system and method based on monocular vision
Through monocular visual measurement and linear motion driven by servo motor, real-time synchronization of the laser cutting head and the workpiece surface is achieved, solving the problems of low efficiency and insufficient accuracy in the existing technology, improving cutting efficiency and quality, and suitable for complex curved surfaces and Cutting of different materials.
Patent Information
- Application Number
- CN202010099314.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-18
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-02-18
AI Technical Summary
The existing laser cutting head follow-up system is inefficient and has contact wear when processing complex curved workpieces. The non-contact detection method is affected by noise disturbances, and the measurement accuracy and sensitivity are insufficient, so it is unable to effectively deal with the problems of undulation and deformation of the surface of the workpiece.
Using a laser cutting follow-up system based on monocular vision, the spot image is collected through the CCD camera, combined with the servo motor and linear motion unit to realize the lifting and lowering movement of the cutting head, suitable for cutting metal and non-metallic materials, and adjust the cutting head and workpiece in real time The distance of the surface.
It improves cutting efficiency and effect, has a simple structure, high detection accuracy, and can quickly adjust the surface distance between the cutting head and the workpiece, adapt to different materials and surface deformation, and improves the cutting quality.
Smart Images

Figure CN111185664B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of laser cutting technology, and in particular to a laser cutting tracking system and method based on monocular vision. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] During the laser cutting process, due to the undulations on the surface of the workpiece being processed, the gap between the cutting head nozzle and the workpiece will change greatly. If the height between the cutting head and the workpiece surface remains unchanged, the cutting quality cannot be guaranteed. Therefore, during the processing, it is necessary to detect the position of the cutting head laser focus and the surface of the workpiece in real time, control the cutting head to move synchronously with the undulations on the surface of the workpiece, ensure that its working distance is basically constant, and realize the function of the cutting head follow-up system.
[0004] At present, the laser cutting head follow-up system is mainly divided into two modes: contact and non-contact detection. However, the inventors found that there are at least the following problems in the prior art: the laser cutting head follow-up system based on contact sensors cannot process complex curved workpieces, and there are contact wear problems and low efficiency. The non-contact detection method based on capacitive displacement sensors is mostly used for cutting metal materials. It has high detection accuracy and simple structure, but it is affected by noise disturbances such as temperature fluctuations, flame sputtering, and surface foreign matter, making it difficult to collect signals. The non-contact detection method based on laser displacement sensors can maintain a certain measurement accuracy in continuous measurement. This method only uses part of the reflected light energy to reduce the measurement sensitivity. Summary of the invention
[0005] In order to solve the above problems, the present invention proposes a laser cutting follow-up system and method based on monocular vision. The system measures the distance between the cutting head and the surface of the workpiece based on the monocular vision measurement method, drives the transmission mechanism to move linearly through the driving mechanism, thereby driving the cutting head to move up and down. The system can quickly adjust the position of the cutting head and the surface of the workpiece, is suitable for cutting metal and non-metal materials, solves the problem that the unevenness and deformation of the workpiece surface affect the cutting quality, and improves the cutting effect and efficiency.
[0006] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:
[0007] In a first aspect, the present disclosure provides a laser cutting follow-up system based on monocular vision, comprising: a detection module, a terminal, a driving mechanism, a transmission mechanism and a cutting head;
[0008] The detection module includes a CCD camera and a laser. The CCD camera is connected to the terminal through an interface module, and the CCD camera collects a spot image after the laser emits a spot to the processed workpiece;
[0009] The driving mechanism includes a servo motor and a driver, the transmission mechanism includes a coupling and a linear motion unit, the driver is connected to the terminal through a system bus, the servo motor is connected to the linear motion unit through a coupling, and the cutting head is driven to move up and down through the linear motion unit.
[0010] In a second aspect, the present disclosure provides a laser cutting tracking method based on monocular vision, comprising:
[0011] The CCD camera collects the spot image after the laser emits the spot to the processed workpiece, and calibrates the spot pixel of the spot image according to the horizontal distance between the CCD camera and the laser and the initial height between the laser and the processed workpiece to obtain the spot pixel calibration value;
[0012] The terminal receives the light spot image collected during the cutting process and performs image processing, obtains the number of light spot pixels according to the determined light spot centroid, and obtains the actual height between the laser and the processed workpiece according to the number of light spot pixels and the light spot pixel calibration value;
[0013] The cutting head is driven to move up and down according to the difference between the initial height and the actual height of the laser and the workpiece.
[0014] Compared with the prior art, the present invention has the following beneficial effects:
[0015] The cutting follow-up system disclosed in the present invention can quickly adjust the distance between the cutting head and the surface of the workpiece being processed, has a simple structure, a wide adjustment range, a fast response speed, and a high detection accuracy.
[0016] The cutting follow-up system disclosed in the present invention utilizes a monocular vision measurement method to realize position detection of the cutting head and the surface of the workpiece to be processed, and drives the cutting head to move up and down by driving the transmission mechanism to move linearly through the driving mechanism. It can quickly adjust the position of the cutting head and the surface of the workpiece to adapt to the cutting of metal and non-metal materials of different thicknesses, solves the problem that the unevenness and deformation of the workpiece surface affect the cutting quality, and improves the cutting effect and cutting efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.
[0018] Figure 1 This is a structural block diagram of a laser cutting follow-up system based on monocular vision provided in Example 1 of the present disclosure;
[0019] Figure 2 A structural diagram of the transmission mechanism of the laser cutting follow-up system provided in Example 1 of the present disclosure;
[0020] Figure 3 A flowchart of the laser cutting follow-up system provided in Example 2 of the present disclosure;
[0021] Figure 4 A schematic diagram of the monocular vision ranging principle provided in Example 2 of the present disclosure;
[0022] Among them, 1. platform, 2. workpiece, 3. cutting head, 4. transmission mechanism, 5. drive mechanism, 6. detection module, 7. computer terminal, 8. CCD camera, 9. filter, 10. laser, 11. light shield, 12. servo motor, 13. drive, 14. encoder, 15. coupling, 16. linear motion unit. DETAILED DESCRIPTION
[0023] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.
[0024] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.
[0025] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0026] Example 1
[0027] like Figure 1 As shown, this embodiment provides a laser cutting follow-up system based on monocular vision, including: a cutting head 3, a transmission mechanism 4, a driving mechanism 5, a detection module 6, and a computer terminal 7;
[0028] The transmission mechanism 4 includes a coupling 15 and a linear motion unit 16; the driving mechanism 5 includes a servo motor 12, a driver 13, and an encoder 14, which are used to drive the transmission mechanism 4;
[0029] The servo motor 12 is connected to the linear motion unit 16 through the coupling 15, and the linear motion unit 16 drives the cutting head 3 to achieve lifting motion. Figure 2As shown, in this embodiment, the linear motion unit adopts a ball screw motion unit;
[0030] The encoder 14 is installed at the tail of the motor to provide real-time feedback of the current running position of the motor, thus forming a closed-loop control system.
[0031] The detection module 6 includes a CCD camera 8, a filter 9, a laser 10, and a light shield 11 to realize the position detection function;
[0032] In this embodiment, the CCD camera 8 is equipped with an industrial-grade camera; the laser 10 emits a red dot laser spot with a fixed wavelength to the surface of the workpiece 2; the filter 9 is a narrow-band filter with a fixed wavelength, which is installed in front of the lens of the CCD camera 8 to retain the light of the wavelength emitted by the laser 10 to enter, thereby avoiding light interference during the processing to a certain extent; the light shielding hood 11 is used to avoid external interference light sources; in this embodiment, an industrial camera with a lens focal length of 50mm and a resolution of 1.3 million pixels, a 650nm red light laser, and a 650nm narrow-band filter are selected. The detection module of this embodiment uses a light shielding hood and a filter to avoid external interference light sources, isolate the background light and the detection laser source, and effectively ensure the stability and reliability of the detection light source.
[0033] In this embodiment, a slider is provided on one side of the cutting head, the slider is at the same height as the cutting head, and a laser and a CCD camera are mounted on the slider; the horizontal distance between the laser 10 and the CCD camera 8 remains unchanged, and before the cutting process, the horizontal distance between the laser 10 and the cutting head 3 is adjusted to within the range of 1-2 cm.
[0034] The computer terminal 7 completes the CCD acquisition of the laser spot image and the monocular vision ranging process, and then controls the transmission mechanism to drive the cutting head 3 to move up and down;
[0035] The CCD camera is connected to the terminal via an interface module, and the driver is connected to the terminal via a system bus; in this embodiment, the driver 13 of the driving mechanism 5 is connected to the computer terminal 7 via a PCI bus, and the CCD camera 8 is connected to the computer terminal 7 via a network port.
[0036] Example 2
[0037] like Figure 3 As shown, this embodiment provides a laser cutting tracking method based on monocular vision, comprising:
[0038] (1) The CCD camera collects the spot image after the laser emits the spot to the processed workpiece, and calibrates the spot pixel of the spot image according to the horizontal distance between the CCD camera and the laser and the initial height between the laser and the processed workpiece to obtain the spot pixel calibration value;
[0039] (2) After the calibration is completed, the workpiece cutting process is started; the terminal receives the light spot image collected during the cutting process and performs image processing, obtains the number of light spot pixels according to the determined light spot centroid, and obtains the actual height between the laser and the workpiece according to the number of light spot pixels and the light spot pixel calibration value;
[0040] (3) According to the difference between the initial height and the actual height between the laser and the workpiece, the cutting head is driven to move up and down;
[0041] (4) Repeat steps (2-3) until the workpiece is cut and processed.
[0042] The step (1) also includes system self-checking and initialization, specifically:
[0043] (1.1) Check the driver and CCD camera circuit to ensure normal communication with the computer terminal, adjust the distance between the cutting head and the workpiece surface to the set height, adjust the position of the detection module, and keep the laser spot within 1-2 cm from the cutting head;
[0044] (1.2): Accurately measure the horizontal distance D between the CCD camera and the laser, and the initial height value H0 of the laser from the workpiece surface;
[0045] (1.3): System initialization: Configure the IP address of the CCD camera and the IP address of the computer terminal, and ensure that they are in the same network segment;
[0046] like Figure 4 As shown in the figure, based on the principle of monocular vision ranging, the process of cursor pixel calibration is as follows:
[0047] (2.1): Collect the CCD laser spot image and obtain the number of spot pixels N after image processing;
[0048] (2.2): Measure the initial height value H of the workpiece surface from the laser;
[0049] (2.3): Calculate the arc value and arc error of each pixel according to the formula for calculating the spot pixel calibration value;
[0050] Among them, the formula for the spot pixel calibration value is:
[0051]
[0052] θ=N×Ar+F (2)
[0053] In the above formula, D is the horizontal distance between the CCD camera and the laser, H is the initial height between the laser and the workpiece, Ar is the arc value of each pixel, F is the arc error, N is the number of spot pixels, and θ is the angle;
[0054] Substitute the values of H and D into formula (1) to calculate θ; Substitute θ and N into formula (2) to obtain the equation system of Ar and F;
[0055] (2.4): Adjust the distance between the laser and the workpiece surface, measure the accurate value of H multiple times, and repeat step (2.3);
[0056] (2.5): Ar and F are solved by multiple equations of formula (2), and their average is used as the spot pixel calibration value.
[0057] The actual height calculation process includes:
[0058] (3.1): The terminal performs grayscale conversion on the light spot image collected during the cutting process and converts it into a grayscale image;
[0059] (3.2): Smooth the grayscale image and use the Canny edge algorithm to detect the edge of the light spot;
[0060] (3.3): Determine the spot profile and calculate the profile moment;
[0061] (3.4): Calculate the centroid of the light spot and obtain the number of light spot pixels based on the centroid of the light spot;
[0062] (3.5): According to the number of spot pixels and the spot pixel calibration value, the actual height value between the laser and the processed workpiece is calculated by formula (1) and formula (2).
[0063] This embodiment uses a monocular vision measurement method to realize the position detection of the cutting head and the surface of the workpiece, which can adapt to the cutting of metal and non-metal materials of different thicknesses, and well solves the problem that the uneven surface and deformation of the workpiece affect the cutting quality, thereby improving the cutting effect and cutting efficiency. This method is applied to laser cutting processing, has a high degree of automation, is simple to operate, and is easy to implement.
[0064] The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
[0065] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.
Claims
1. A laser cutting follow-up system based on monocular vision, It is characterized in that include: Detection module, terminal, drive mechanism, transmission mechanism and cutting head; The detection module includes a CCD camera and a laser. The CCD camera is connected to the terminal through an interface module, and the CCD camera collects a spot image after the laser emits a spot to the processed workpiece; The driving mechanism includes a servo motor and a driver, and the transmission mechanism includes a coupling and a linear motion unit. The driver is connected to the terminal through a system bus. The terminal receives the spot image collected during the cutting process and performs image processing. The number of spot pixels is obtained according to the determined spot centroid, and the actual height between the laser and the processed workpiece is obtained according to the number of spot pixels and the spot pixel calibration value. The servo motor is connected to the linear motion unit through a coupling, and the cutting head is driven to move up and down through the linear motion unit. According to the difference between the initial height and the actual height between the laser and the workpiece, the cutting head is driven to move up and down; The actual height calculation process includes: The terminal performs grayscale conversion, smoothing and spot edge detection on the light spot image collected during the cutting process, determines the light spot contour and calculates the contour moment; The center of mass of the light spot is determined, the number of light spot pixels is obtained according to the center of mass of the light spot, the light spot pixels are calibrated on the light spot image to obtain the light spot pixel calibration value, and the actual height between the laser and the processed workpiece is calculated according to the number of light spot pixels and the light spot pixel calibration value; In the spot pixel calibration, the formula for calculating the spot pixel calibration value is: Where D is the horizontal distance between the CCD camera and the laser, H is the initial height between the laser and the workpiece, For each pixel radian value, is the arc error, N is the number of spot pixels, is the angle; By measuring the initial height between the laser and the workpiece for multiple times, the arc value and arc error of each pixel are repeatedly calculated, and the average is taken as the spot pixel calibration value.
2. A laser cutting follow-up system based on monocular vision as claimed in claim 1, It is characterized in that The detection module also includes a filter and a light shield installed on the CCD camera; the filter is a narrow-band filter with a fixed wavelength, installed in front of the CCD camera lens to retain light of the laser emission wavelength, and the light shield is used to prevent external interference light sources from entering.
3. A laser cutting follow-up system based on monocular vision as claimed in claim 1, It is characterized in that A sliding block is arranged on one side of the cutting head. The sliding block and the cutting head are at the same height. A laser and a CCD camera are installed on the sliding block.
4. A laser cutting follow-up system based on monocular vision as claimed in claim 3, It is characterized in that The horizontal distance between the laser and the CCD camera remains unchanged.
5. The laser cutting follow-up system based on monocular vision as claimed in claim 1, It is characterized in that The driving mechanism is connected to the terminal via a PCI bus, and the CCD camera is connected to the terminal via a network port interface.
6. A laser cutting follow-up system based on monocular vision as claimed in claim 1, It is characterized in that The driving mechanism also includes an encoder installed at the tail of the servo motor.
7. The laser cutting follow-up system based on monocular vision as claimed in claim 1, It is characterized in that The laser emits a red dot laser spot with a fixed wavelength to the surface of the processed workpiece.
8. A laser cutting tracking method based on monocular vision, It is characterized in that include: The CCD camera collects the spot image after the laser emits the spot to the processed workpiece, and calibrates the spot pixel of the spot image according to the horizontal distance between the CCD camera and the laser and the initial height between the laser and the processed workpiece to obtain the spot pixel calibration value; The terminal receives the light spot image collected during the cutting process and performs image processing, obtains the number of light spot pixels according to the determined light spot centroid, and obtains the actual height between the laser and the processed workpiece according to the number of light spot pixels and the light spot pixel calibration value; According to the difference between the initial height and the actual height between the laser and the workpiece, the cutting head is driven to move up and down; The actual height calculation process includes: The terminal performs grayscale conversion, smoothing and spot edge detection on the light spot image collected during the cutting process, determines the light spot contour and calculates the contour moment; The center of mass of the light spot is determined, the number of light spot pixels is obtained according to the center of mass of the light spot, and the actual height between the laser and the workpiece is calculated according to the number of light spot pixels and the calibration value of the light spot pixels; In the spot pixel calibration, the formula for calculating the spot pixel calibration value is: Where D is the horizontal distance between the CCD camera and the laser, H is the initial height between the laser and the workpiece, For each pixel radian value, is the arc error, N is the number of spot pixels, is the angle; By measuring the initial height between the laser and the workpiece for multiple times, the arc value and arc error of each pixel are repeatedly calculated, and the average is taken as the spot pixel calibration value.
