A portable visual coordinate measuring system and its working method

By using a portable visual coordinate measuring system with an adjustable calibration pen and coordinate transformation matrix, the problem of difficult positioning on highly reflective surfaces in traditional systems has been solved, achieving efficient and low-cost laser marking positioning.

CN117606354BActive Publication Date: 2026-11-17FUZHOU UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311673930.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2026-11-17
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

Traditional contact coordinate measuring systems are expensive and their measurement accuracy is affected by contact force. Non-contact systems are difficult to apply to highly reflective metal surfaces. Light pen coordinate measuring systems have a simple configuration and are expensive. Laser marking is difficult to position on highly reflective surfaces.

Method used

An adjustable and portable visual coordinate measuring system is adopted, including a laser, a binocular camera, a computer, and a variable-configuration calibration pen. By using the spherical probe and universal joint mechanism of the calibration pen, combined with the singular value decomposition method, a coordinate transformation matrix is ​​established to achieve precise positioning of reflective surfaces.

Benefits of technology

This improves the applicability and flexibility of the measurement system, enables precise positioning of reflective surfaces in laser marking, and reduces measurement costs and complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117606354B_ABST
    Figure CN117606354B_ABST
Patent Text Reader

Abstract

This invention relates to a convenient visual coordinate measuring system and its operating method. The system includes a laser, a binocular camera, a computer, a variable-configuration calibration pen, and a standard cone. The laser is positioned above a laser processing machine, and the binocular camera is positioned on either side of the laser. The calibration pen includes a pen body, a measuring rod, a universal joint mechanism, and a spherical probe. A white hard calibration plate with multiple black feature circles printed on it is affixed to the pen body. The measuring rod is connected to the spherical probe via the universal joint mechanism. The operating method of the system is as follows: the calibration pen is manufactured and its measurement configuration is determined; the calibration pen coordinate system is established, and the center of the probe sphere is calibrated; then, the transformation relationship from the camera coordinate system to the laser coordinate system is established; the spherical probe is used to collect data from eight points on the workpiece to be marked, establishing the workpiece coordinate system; and the transformation relationship between the workpiece coordinate system and the laser coordinate system is used to guide the laser to perform precise marking on the reflective surface. This system is flexible in adjustment, has a wide range of applications, and high positioning accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of machine vision measurement technology, specifically to a convenient visual coordinate measuring system and its working method for locating rectangular reflective surfaces in laser marking. Background Technology

[0002] Traditional contact coordinate measuring machines (CMMs) primarily acquire surface information of an object by having a spherical probe contact its surface. To find the measurement reference point, these systems require specialized fixtures tailored to the shape of different objects, often resulting in high measurement costs. Furthermore, the varying contact forces between the probe and the workpiece during measurement, coupled with repeated probe wear and damage from improper measurements, all negatively impact the system's accuracy. In contrast, non-contact CMMs overcome these drawbacks. They directly utilize visual sensors to photograph the object, then employ image recognition and processing technology in a computer to obtain the geometric information of the object's surface. However, the camera lenses in these systems are susceptible to the reflective properties of the object's surface, making them unsuitable for measuring highly reflective metallic workpieces. To fully leverage the advantages of both systems, the optical pen CMM system was developed. The optical pen coordinate measuring machine (CMM) system combines machine vision technology with traditional contact CMM technology. It uses an optical pen as a contact measurement tool, an industrial camera as a vision sensor, and LED dots on the pen as a detection and recognition medium. By acquiring the coordinates of the center of gravity of the pen probe, it indirectly obtains information about the surface of the object being measured. This overcomes the limitations of traditional machine vision technology, which can only directly acquire and process information from the surface of the object. It also changes the working method of traditional contact CMM technology, which requires direct contact with the object's surface. This eliminates the drawbacks of pure vision measurement technology being limited by the complexity of the object's shape or blind spots in the field of view. However, it is worth mentioning that, as the core component of the optical pen CMM system, the various dedicated optical pens currently sold on the market are expensive and have limited configurations. The size and layout of their LEDs are also relatively fixed, resulting in significant limitations in application. In actual measurement, to better acquire the positional information of each LED on the dedicated optical pen, the camera position in the optical pen coordinate measuring system needs to be properly adjusted beforehand according to the specific conditions of the workpiece being measured (including the orientation and distance between the camera and the workpiece), ensuring that each LED is within the optimal camera field of view. When the type of workpiece changes and the new workpiece has a large 3D dimension range, the original optical pen needs to be moved significantly along the camera direction (i.e., the distance between the optical pen and the camera changes too much). At this time, the plane where each LED on the optical pen is located may exceed the camera's optimal imaging range, affecting the actual measurement accuracy of the system and even leading to measurement failure. To solve the above problems, one method is to readjust the camera position, but this requires recalibrating the spatial pose of each component of the measurement system, which is time-consuming and laborious. Another method is to purchase and replace the optical pen with one of more suitable shape and size, but this obviously increases the measurement cost. Compared with traditional inkjet marking and mechanical engraving, laser marking based on pure vision positioning is highly efficient, accurate, and flexible.Before laser marking patterns, a vision camera is needed to determine the precise position of the object to be processed on the laser processing machine. However, for laser marking operations on highly reflective metal workpieces, traditional purely visual measurement methods often fail to achieve ideal positioning results. Therefore, redesigning a more versatile and flexible portable vision coordinate measuring system and applying it to the flexible and precise positioning of reflective surfaces in laser marking has become an urgent task. Summary of the Invention

[0003] The purpose of this invention is to provide a convenient visual coordinate measuring system and its working method. This system is flexible in adjustment, has a wide range of applications, and high positioning accuracy.

[0004] To achieve the above objectives, the technical solution adopted by the present invention is as follows: a convenient visual coordinate measuring system, comprising a laser, a pair of calibrated binocular cameras, a computer, a variable-configuration calibration pen, and a standard cone. The laser is positioned directly above the laser processing machine with its laser emission direction vertically downward. The two camera lenses of the binocular cameras are respectively positioned on the left and right sides of the laser, and their fields of view cover the entire laser processing machine. Both the laser and the binocular cameras are communicatively connected to the computer. The calibration pen mainly consists of a pen body, a measuring rod, a universal joint mechanism, and a spherical probe. A white hard calibration plate with multiple black feature circles printed on it is affixed to the upper surface of the pen body. The measuring rod is fixedly connected to the pen body and connected to the spherical probe via the universal joint mechanism.

[0005] This invention also provides a working method for the aforementioned convenient visual coordinate measuring system. A calibration pen is fabricated based on the actual measurement conditions, and its measurement configuration is determined. A binocular camera is used to acquire a scene image of the white hard calibration plate on the calibration pen. A computer is used to establish the calibration pen's coordinate system, and the center of the spherical probe of the calibration pen is calibrated. A homogeneous transformation relationship between the camera coordinate system and the laser coordinate system is then established. To achieve the positioning of the rectangular reflective surface of the workpiece during laser marking, data from eight points on the reflective surface and side of the workpiece to be marked are collected using the spherical probe of the calibration pen. The geometric center of the rectangular reflective surface of the workpiece is obtained through plane fitting and translation, point-to-line projection, point-to-plane projection, and the transformation relationship between the camera coordinate system and the laser coordinate system. A workpiece coordinate system is established at this geometric center. The transformation relationship between the workpiece coordinate system and the laser coordinate system guides the laser to perform precise marking on the reflective surface.

[0006] Furthermore, the specific method for manufacturing a calibration pen with a variable configuration is as follows:

[0007] The pen body has a flat upper surface, and a white rigid calibration plate is attached to the upper surface of the pen body. The white rigid calibration plate is printed with n black feature circles, n≥3, which are distributed within the size range of the white rigid calibration plate. The universal connection mechanism includes two universal joints. The lower end of the measuring rod is connected to the first universal joint, the first universal joint is connected to the second universal joint via a connecting rod, and the second universal joint is connected to the spherical probe. The orientation of the universal joints can be adjusted and locked as needed. When making the calibration pen, according to the structural layout of the binocular camera and laser on the laser processing machine, the height, angle, field of view of the camera, and the size of the workpiece to be measured, a white rigid calibration plate of suitable size is selected from several pre-made alternative calibration plates of different sizes, and it is fixedly pasted on the upper surface of the pen body facing the camera.

[0008] Furthermore, the specific method for determining the measurement configuration of the calibration pen is as follows:

[0009] First, the spherical probe of the calibration pen is used to perform multiple sets of simulated measurement actions on the surface of similar workpieces. Then, based on the simulated measurement results and the imaging effect of each black feature circle on the white hard calibration plate in the camera's field of view, the measurement configuration of the calibration pen is adjusted and locked through the universal connection mechanism.

[0010] Furthermore, the specific method for establishing the calibration pen's coordinate system is as follows:

[0011] The scene image of the white hard calibration plate on the calibration pen is acquired using a binocular camera and input into the computer; the computer automatically identifies and calculates the camera coordinate vector p of the center of each black feature circle on the calibration pen. ci =[x ci y ci z ci ] T (i = 1, 2, ..., n), simultaneously find the two feature circles with the largest distance; take the center of one of the two feature circles with the largest distance as the origin of the calibration pen coordinates o. g The line connecting the centers of the two feature circles is used as the x-axis of the calibration pen coordinate system. g Axis; then, select another circle in the scene image whose center is not on the x-axis. g Characteristic circles on the axis; using the coordinates of the centers of these three characteristic circles, fit the plane W containing the surface of the white hard calibration plate on the calibration pen; passing through the origin o of the calibration pen coordinate system. g Establish a calibration coordinate system z along the normal direction of plane W. g The axis is then used to determine the y-axis of the calibration pen coordinate system based on the relationship between the three orthogonal axes of the rectangular coordinate system. g Axis; at this point, the calibration pen coordinate system has been established. g -x g y g z g; Due to the origin o of the calibration pen coordinate system g x g axis, y g axis and z g The vector representation of the axes is in the camera coordinate system o c -x c y c z c The following description, at this time x g axis, y g axis, z g The vector representations of the axes are normalized to obtain the corresponding new vectors r. x =[r xo1 r xo2 r xo3 ] T r y =[r yo1 r yo2 r yo3 ] T r z =[r zo1 r zo2 r zo3 ] T Therefore, the center coordinates p of each feature circle are determined. gi With the coordinates p of the center camera ci The relationship between them is satisfied:

[0012]

[0013] in, To calibrate the homogeneous transformation matrix from the pen coordinate system to the camera coordinate system; p gi =[x gi y gi z gi ] T Here, p0 is the calibration pen coordinate vector for the center of each black feature circle; p0 = [x0 y0 z0] T To calibrate the origin of the pen coordinate system o g The camera coordinate vector;

[0014] Using the above relationship, the coordinates of the centers of all black feature circles on the calibration pen in the calibration pen coordinate system can be obtained.

[0015] Furthermore, the specific method for calibrating the center of the spherical probe of the calibration pen is as follows:

[0016] A standard cone, used in conjunction with the spherical probe, is fixedly placed within the camera's field of view. The spherical probe is then inserted into the cone hole of the standard cone. The calibration pen is then swung and rotated, maintaining the position and orientation of the standard cone while the spherical probe remains within the cone hole. Images of the white hard calibration plate on the calibration pen in n1 different poses are captured using a binocular camera. The captured images are processed by a computer to obtain the camera coordinates of the centers of all black feature circles on the calibration pen in each pose. Combining the calibration pen coordinates of the centers of all black feature circles on the calibration pen with the camera coordinates of the centers of all black feature circles on the calibration pen in each pose, the homogeneous transformation matrix between the calibration pen coordinate system and the camera coordinate system in the j-th (j=1,2,…,n1) pose is obtained using singular value decomposition.

[0017]

[0018] Among them, R j =[R xj R yj R zj ]、t j =[t xj t yj t zj ] T These are the rotation matrix and position vector corresponding to the j-th pose, respectively, 0 1×3 =[0 0 0]; R xj =[r x1j r x2j r x3j ] T ,R yj =[r y1j r y2j r y3j ] T R zj =[r z1j r z2j r z3j ] T ;r x1j r x2j r x3j Define the pen coordinate system x for the j-th pose subscript. g Normalized representation of the axis in the camera coordinate system, r y1j r y2j r y3j Define the pen coordinate system y for the j-th pose. g In the camera coordinate system, the normalized representation, r z1j r z2j r z3j Define the pen coordinate system z for the j-th pose subscript. g Normalized representation of the axes in the camera coordinate system; t xjt yj t zj To calibrate the origin o of the pen coordinate system g Position components on the three coordinate axes of the camera coordinate system;

[0019] Since the centers of all the black feature circles on the calibration pen and the center of the probe ball are in the same system, the homogeneous transformation matrix T j It is also applicable to probe ball center calibration; let the coordinate vector of the probe ball center in the calibration pen coordinate system be P. g =[X g Y g Z g ] T The coordinate vector in the camera coordinate system is P. c =[X c Y c Z c ] T Then it exists:

[0020]

[0021] Expanding and rearranging the first three equations above, we get:

[0022]

[0023] in,

[0024] When calibrating the center of the ball in the measuring head, more than 6 scene images of the calibration pen in different poses are collected, i.e., n1>6;

[0025] Matrix under all poses Vertically spliced ​​into a large matrix Vectors obtained under all poses Vertically concatenated into a large vector get:

[0026]

[0027] in,

[0028] Based on least squares solution Generalized inverse method solution That is, to find the coordinate vector P of the calibration pen for measuring the center of the ball. g =[X g Y g Z g ] T and camera coordinate vector P c =[X c Y c Z c] T This completes the calibration of the center of the sphere of the calibration pen probe. At this point, remove the standard cone. After the spherical probe is calibrated, the measurement configuration of the calibration pen should not be changed. Otherwise, the probe will need to be recalibrated.

[0029] Furthermore, the specific method for establishing the homogeneous transformation relationship between the camera coordinate system and the laser coordinate system is as follows:

[0030] Establish a laser coordinate system O on the laser processing machine. L -X L Y L Z L Among them, O L Let O be the point where the laser beam intersects the machine table surface perpendicularly downwards. L Horizontal to the right is X L Axis, passing through point O L Up is Z L The Y axis is determined using the relationship between the three orthogonal axes of a rectangular coordinate system. L The process involves placing a special marking paper on a laser processing machine directly below the laser. By inputting a set of appropriately spaced, square-arranged laser coordinate data into the computer, the laser is guided to print a corresponding array of white feature circles on the marking paper. A binocular camera is then used to capture images of the marked marking paper, allowing the identification of the camera coordinates of the centers of all the white feature circles. Combining the known laser coordinate data and the camera coordinates of the centers of all the white feature circles on the marking paper, the homogeneous transformation matrix between the camera coordinate system and the laser coordinate system is calculated using singular value decomposition.

[0031]

[0032] Among them, R cL t cL Let P be the rotation matrix and position vector of the camera coordinate system relative to the laser coordinate system, respectively. Assume there is a point A on the laser processing machine, and the coordinate vector of this point in the laser coordinate system is P. AL =[X AL Y AL Z AL ] T The coordinate vector in the camera coordinate system is P. Ac =[X Ac Y Ac Z Ac ] T Then we have:

[0033]

[0034] Furthermore, the portable visual coordinate measuring system is used to perform eight-point positioning on the rectangular reflective surface of the workpiece to be marked, specifically including the following steps:

[0035] 1) Using the spherical probe of the calibration pen, touch three non-collinear points t on the reflective surface of the workpiece. a t b t c The camera coordinates of the probe's center of gravity at three different positions are obtained. These coordinates are then converted into corresponding laser coordinates, and the plane equations of the plane S0 containing the probe's center of gravity at the three different positions are obtained by fitting these laser coordinates. Z′ is then determined along the normal to plane S0. m The axis, along the Z′ axis, will guide plane S0 along the Z′ axis. m By translating the plane of the rectangular reflective surface S in the negative axis by a distance equal to the probe radius R, we obtain the plane equation of the rectangular reflective surface S in the laser coordinate system.

[0036] 2) Take two points p1 and p2 on the front side of the workpiece, one point p3 on the right side, one point p4 on the rear side, and one point p5 on the left side. Convert the camera coordinates of these five points into the corresponding laser coordinates, and then project these five points onto the plane S to obtain the corresponding projection points p1′, p2′, p3′, p4′, and p5′.

[0037] 3) In plane S, X′ is determined by p1′ and p2′. m Axis and directed line segment L 12 According to X′ m axis and Z′ m The axis direction determines the Y-axis. m 'axis;

[0038] 4) Determine the directed line segment f using p3′ and p5′. 53 f 53 Along X′ m Projecting along a direction yields a directed line segment L. 53 ;p3′ to X′ m Projecting the axis yields point p3″, and p5′ is projected onto X′. m The point p5″ is obtained by projecting the axis.

[0039] 5) Starting from p5″, the direction is along X′ m Axis, length L 53 Half of it, and we get the directed line segment f. x The directed line segment f is determined by p2′ and p4′. 24 f 24 In Y m The directed line segment L is obtained by projecting the direction of '. 24 ; with directed line segment f x Starting from the endpoint p6, the direction is along Y. mThe axis is '', with a length of L. 24 Half of it, and we get the directed line segment f. y ;f y The endpoint O m This is the location of the geometric center of the rectangular reflective surface, obtained through the above measurements. m x m Coordinates and y m Coordinates, x m and y m Substituting into the plane equation of the reflective surface S, we can obtain O. m z m Coordinates, and thus determine O m Position coordinates (x) in plane S m ,y m ,z m );

[0040] 6) Through the geometric center O of the rectangular reflective surface of the workpiece m Construct X′ respectively m Y m ′、Z′ m X parallel to the axis m Y m Z m The axis is used to obtain the workpiece coordinate system O. m -X m Y m Z m ; X m Axis, Y m Axis, Z m The vector representations of the axes are normalized to obtain the corresponding new vectors R. Xm =[R Xm1 R Xm2 R Xm3 ] T R Ym =[R Ym1 R Ym2 R Ym3 ] T R Zm =[R Zm1 R Zm2 R Zm3 ] T The homogeneous transformation matrix from the workpiece coordinate system to the laser coordinate system is obtained as follows:

[0041]

[0042] Among them, R mL =[R Xm R Ym R Zm ], t mL =[x m ym z m ] T These are the rotation matrix and position vector of the workpiece coordinate system relative to the laser coordinate system, respectively;

[0043] Suppose there is a point B on the rectangular reflective surface, and the coordinate vector of this point in the workpiece coordinate system is P. Bm =[X Bm Y Bm Z Bm ] T The coordinate vector in the laser coordinate system is P. BL =[X BL Y BL Z BL ] T Then we have:

[0044]

[0045] Finally, by utilizing the established transformation relationship between the workpiece coordinate system and the laser coordinate system, the laser is guided to perform precise marking operations on the reflective surface.

[0046] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a convenient visual coordinate measuring system and its working method. The system provides a calibration pen with a flexible and variable configuration to replace the traditional fixed configuration of the dedicated optical pen. By using an appropriate white hard calibration plate on the calibration pen, adjusting the universal connection mechanism on the measuring rod and the spherical probe, the adaptability of the visual coordinate measuring system to different actual measurement scenarios is improved. The visual coordinate measuring system with the calibration pen as the intermediate measurement medium can effectively avoid the influence of the object's reflective surface on the camera lens. The corresponding measurement method can effectively achieve accurate positioning of the rectangular reflective surface in laser marking. Attached Figure Description

[0047] Figure 1 This is a schematic diagram of the calibration pen in an embodiment of the present invention;

[0048] In the diagram: A1, a white rigid calibration plate with a black feature circle printed on it; A2, a pen body; A3, a measuring rod; A4, a universal joint mechanism; A5, a spherical probe.

[0049] Figure 2 This is a schematic diagram of the calibration of the probe center in an example of the present invention;

[0050] In the diagram: B1, standard cone; B2, cone hole.

[0051] Figure 3 This is a calibration diagram of the laser in an embodiment of the present invention;

[0052] In the picture: 1. Binocular camera; 2. Laser; 3. Computer; 4. Laser processing machine; 5. Marking black paper.

[0053] Figure 4 This is a schematic diagram of the coordinate systems of the portable visual coordinate measuring system according to an embodiment of the present invention.

[0054] In the diagram: CS1, camera coordinate system; CS2, laser coordinate system; CS3, calibration pen coordinate system; CS4, workpiece coordinate system.

[0055] Figure 5 This is a schematic diagram of point selection and projection in the eight-point positioning method of this invention.

[0056] Figure 6 This is a schematic diagram illustrating the eight-point positioning principle of the geometric center of the reflective surface of the workpiece in an embodiment of the present invention. Detailed Implementation

[0057] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0058] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of this application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0059] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0060] like Figure 1-6 As shown, this embodiment provides a convenient visual coordinate measuring system, including a laser 2, a pair of calibrated binocular cameras 1, a computer 3, a variable-configuration calibration pen, and a standard cone. The laser 2 is positioned directly above the laser processing machine 4 with the laser emission direction vertically downward. The two camera lenses of the binocular cameras 1 are respectively positioned on the left and right sides of the laser 2, and their fields of view cover the entire laser processing machine 4. The laser 2 and the binocular cameras 1 are both communicatively connected to the computer 3. The calibration pen mainly consists of a pen body A2, a measuring rod A3, a universal joint mechanism A4, and a spherical probe A5. The upper surface of the pen body A2 is affixed with a white hard calibration plate A1 printed with multiple black feature circles. The measuring rod A3 is fixedly connected to the pen body A2 and connected to the spherical probe A5 via the universal joint mechanism A4.

[0061] This invention improves upon existing laser marking pen structures based on the actual working conditions of laser marking, providing a calibration pen as described in this invention. Specifically, it includes: 1) The size, layout, and range of feature points in existing laser marking pens are immutable. In contrast, this invention allows for the selection of a white rigid calibration plate of appropriate size and feature point distribution range, which can be attached to the corresponding position on the pen body for measurement based on the distance from the machine tool to the camera, the size of the mold to be marked, and the camera's field of view. Furthermore, the calibration plate is replaceable. 2) In existing structures, the calibration plate and measuring rod are parallel. In this invention, based on the relative position of the binocular camera and the processing machine tool in laser marking (camera looking down at the machine tool), the calibration plate and measuring rod are redefined to be perpendicular. 3) Existing structures cannot alter the structure of the measuring rod. This invention, through the design and installation of a universal joint connection structure, allows for the adjustment of the straightness or curvature of the measuring rod according to the shape and size of the mold to be marked, thereby changing the position of the probe relative to the calibration plate. The introduction of the universal joint also facilitates the measurement of difficult-to-measure areas such as deep holes and grooves.

[0062] This embodiment also provides a working method for the aforementioned convenient visual coordinate measuring system. The process is as follows: Based on the structural layout of the binocular camera and laser on the laser processing platform, the camera's height, angle, field of view, and the size of the workpiece to be measured, select a pen body and a white hard calibration plate of suitable size. Attach the white hard calibration plate to the relatively flat surface of the pen body. Adjust the two universal joints on the measuring rod to achieve the best imaging effect for the black feature circles in the camera's field of view, and finally lock the measurement configuration of the calibration pen. Use the binocular camera to acquire a scene image of the white hard calibration plate on the calibration pen, and input the image into a computer. The computer automatically identifies and calculates the camera coordinates of the center of each black feature circle on the calibration pen to establish the calibration pen coordinate system and determine the homogeneous transformation matrix of the center of the black feature circle from the calibration pen coordinate system to the camera coordinate system. Use this homogeneous transformation matrix to deduce the calibration pen coordinates of the center of the black feature circle. Using a standard cone and a binocular camera, images of a white hard calibration plate on a calibration pen are acquired in multiple different poses. The homogeneous transformation matrix (i.e., the homogeneous transformation matrix of the probe's center from the calibration pen coordinate system to the camera coordinate system) is calculated for the center of the black feature circle in each pose. Finally, the position coordinates of the probe's center in both the calibration pen and camera coordinate systems are calculated. To locate the geometric center of the rectangular reflective surface of the workpiece during laser marking, three points are taken on the reflective surface using the calibration pen probe, and five points are taken on the side of the workpiece containing that surface. The eight-point positioning method is used to determine the coordinates of the geometric center of the rectangular reflective surface in the laser coordinate system. A workpiece coordinate system is then established at this geometric center. The transformation relationship between the workpiece and laser coordinate systems guides the laser to perform precise marking operations on the reflective surface of the workpiece. The specific implementation steps of the portable vision coordinate measuring system are further detailed below.

[0063] S1: To manufacture a calibration pen with a variable configuration. For example... Figure 1 As shown, the self-made calibration pen mainly consists of a pen body of moderate size with a relatively flat surface, a measuring rod with two universal joints and a ball-shaped probe at the end, and a white hard calibration plate pasted on the surface of the pen body and printed with n (n≥3) black feature circles. The pen body is a base with a flat upper surface; in principle, any hard object with a flat upper surface can be used as the pen body. The orientation of the universal joints can be adjusted and locked as needed; the white hard calibration plate should be selected from several pre-prepared candidate calibration plates of different sizes according to the actual measurement conditions; the black feature circles are distributed within the size range of the white hard calibration plate. When actually making a calibration pen, a white hard calibration plate of appropriate size should be selected according to the structural layout of the binocular camera and laser in the laser processing platform, the height, angle, field of view of the camera, and the size of the workpiece to be measured. The plate should be fixed and pasted on the pen body surface that is roughly facing the camera. At this time, it should be ensured that the distribution range of the black feature circle occupies about 1 / 3 of the camera's field of view to achieve better measurement results.

[0064] The main process for creating a variable-configuration calibration pen involves selecting a corresponding white rigid calibration plate based on the actual working conditions. This invention allows for adaptation to different measurement conditions (such as changes in camera field of view and mold size) by replacing the appropriate calibration plate. The main steps include: selecting the pen body, selecting the calibration plate, and installing the probe. Of course, a new calibration pen doesn't necessarily need to be made every time; if the existing structure of the calibration pen can adapt to the new measurement conditions, it doesn't need to be made again.

[0065] S2: Adjust the universal joint on the measuring rod to determine the actual measurement configuration of the calibration pen. Sometimes the initial configuration of the calibration pen is difficult to use directly for measuring certain specific orientations of the workpiece surface. In such cases, multiple sets of simulated measurements can be performed on such surfaces using the spherical probe of the calibration pen. Then, based on the simulated measurement results and the imaging effect of each black feature circle on the white hard calibration plate in the camera's field of view, the measurement configuration of the calibration pen can be finally locked by adjusting the orientation of the two universal joints.

[0066] S3: Establish the calibration pen coordinate system and determine the calibration pen coordinates of the centers of all black feature circles on the calibration pen. For example... Figure 1 As shown, a stereo camera is used to acquire scene images of the white hard calibration plate on the calibration pen, and the images are input into a computer; the computer program automatically identifies and calculates the camera coordinate vector p of the center of each black feature circle on the calibration pen. ci =[x ci y ci z ci ] T(i = 1, 2, ..., n), simultaneously find the two feature circles with the largest spacing; use the center of one of the two feature circles as the origin of the calibration pen coordinate system. g The line connecting the centers of the two feature circles is used as the x-axis of the calibration pen coordinate system. g Axis; then, select another circle in the image whose center is not on the x-axis. g Characteristic circles on the axis. The coordinates of the centers of these three characteristic circles are used to fit the plane W containing the surface of the white hard calibration plate on the calibration pen; passing through the origin o of the calibration pen coordinate system. g Establish a calibration coordinate system z along the normal direction of plane W. g The axis is then used to determine the y-axis of the calibration pen coordinate system based on the relationship between the three orthogonal axes of the rectangular coordinate system. g Axis; at this point, the calibration pen coordinate system has been established. g -x g y g z g Because the origin o of the calibration pen coordinate system g x g axis, y g axis and z g The vector representation of the axes is in the camera coordinate system o c -x c y c z c The following describes how x can be used. g axis, y g axis, z g The vector representations of the axes are normalized to obtain the corresponding new vectors r. x =[r xo1 r xo2 r xo3 ] T r y =[r yo1 r yo2 r yo3 ] T r z =[r zo1 r zo2 r zo3 ] T Therefore, the center coordinates p of each feature circle are determined. gi With the coordinates p of the center camera ci The relationship between them is satisfied:

[0067]

[0068] in, To calibrate the homogeneous transformation matrix from the pen coordinate system to the camera coordinate system; p gi =[x gi y giz gi ] T Here, p0 is the calibration pen coordinate vector for the center of each black feature circle; p0 = [x0 y0 z0] T To calibrate the origin of the pen coordinate system o g The camera coordinate vector.

[0069] Using the above relationships, the coordinates of the centers of all black feature circles on the calibration pen in the calibration pen coordinate system can be obtained. All coordinate systems involved in this system (calibration pen coordinate system o) g -x g y g z g Camera coordinate system o c -x c y c z c Laser coordinate system O L -X L Y L Z L Workpiece coordinate system O m -X m Y m Z m The position and relative relationship of ) are as follows Figure 4 As shown.

[0070] S4: Calibrate the center of the probe ball of the calibration pen. For example... Figure 2 As shown, a standard cone used with the probe is fixed in the camera's field of view. The calibration pen probe is then placed into the cone hole of the standard cone. The calibration pen is then gently rocked and rotated (during this process, the position and orientation of the standard cone remain fixed, and the probe must not leave the cone hole). Images of the white hard calibration plate on the calibration pen in n1 different poses are acquired using a binocular camera. The images are processed by a computer to obtain the camera coordinates of the centers of all black feature circles on the calibration pen in each pose. Combining the calibration pen coordinates obtained in S3 with the aforementioned camera coordinates of the centers of all black feature circles on the calibration pen in each pose, the homogeneous transformation matrix between the calibration pen coordinate system and the camera coordinate system in the j-th (j = 1, 2, ..., n1) pose can be obtained using Singular Value Decomposition (SVD).

[0071]

[0072] Among them, R j =[R xj R yj R zj ]、t j =[t xj t yj t zj ] TThese are the rotation matrix and position vector corresponding to the j-th pose, respectively, 0 1×3 =

[000] ; R xj =[r x1j r x2j r x3j ] T ,R yj =[r y1j r y2j r y3j ] T R zj =[r z1j r z2j r z3j ] T ;r x1j r x2j r x3j Define the pen coordinate system x for the j-th pose subscript. g Normalized representation of the axis in the camera coordinate system, r y1j r y2j r y3j Define the pen coordinate system y for the j-th pose. g In the camera coordinate system, the normalized representation, r z1j r z2j r z3j Define the pen coordinate system z for the j-th pose subscript. g Normalized representation of the axes in the camera coordinate system; t xj t yj t zj To calibrate the origin o of the pen coordinate system g Position components on the three coordinate axes of the camera coordinate system.

[0073] Since the centers of all the black feature circles on the calibration pen and the center of the probe ball are in the same system, the homogeneous transformation matrix T j This also applies to probe center calibration. Let the coordinate vector of the probe center in the calibration pen coordinate system be P. g =[X g Y g Z g ] T The coordinate vector in the camera coordinate system is P. c =[X c Y c Z c ] T Then it exists

[0074]

[0075] Expanding and rearranging the first three equations above, we get...

[0076]

[0077] in,

[0078] Because the system of equations involves X g Y g Z g X c Y c Z c There are a total of 6 unknowns, and X c Y c Z c Since it appears only in a single equation, theoretically only 6 equations are needed to solve for X. g Y g Z g X c Y c Z c In other words, when actually calibrating the probe's center, only more than 6 calibration pen scene images in different poses need to be collected, i.e., n1 > 6. However, since some of the image information collected may not be suitable for solving the equations, there may be cases where the equations have no solution or the coefficients are proportional. Therefore, to ensure calibration accuracy, when actually calibrating the probe's center, much more than 6 calibration pen scene images in different poses should be collected, generally more than 20 different calibration pen scene images, i.e., n1 > 20.

[0079] Matrix under all poses Vertically spliced ​​into a large matrix Vectors obtained under all poses Vertically concatenated into a large vector get

[0080]

[0081] in,

[0082] Based on least squares solution The generalized inverse method can solve for That is, to find the coordinate vector P of the calibration pen for measuring the center of the ball. g =[X g Y g Z g ] T and camera coordinate vector P c =[X c Y c Z c ] TThis completes the calibration of the calibration pen's probe center. The standard cone can now be removed. It is particularly important to note that after probe calibration, the universal joint must not be adjusted to change the calibration pen's measurement configuration; otherwise, the probe will need to be recalibrated.

[0083] S5: Establish the homogeneous transformation matrix between the camera coordinate system and the laser coordinate system. Establish the laser coordinate system O on the laser processing machine. L -X L Y L Z L Among them, O L Let O be the point where the laser beam intersects the machine table surface perpendicularly downwards. L Horizontal to the right is X L Axis, passing through point O L Up is Z L The Y axis can be determined using the relationship between the three orthogonal axes of a rectangular coordinate system. L Axis. For example... Figure 3 As shown, a special marking black paper is placed on a laser processing machine directly below the laser. A set of square-arranged, appropriately spaced dot matrix laser coordinate data is input into the computer, guiding the laser to print a corresponding array of white feature circles on the special black paper. Then, a binocular camera is used to capture an image of the marked black paper, thereby identifying the camera coordinates of the centers of all the white feature circles on the special black paper. Combining the previously known dot matrix laser coordinate data and the camera coordinate data of the centers of all the white feature circles on the special black paper, the homogeneous transformation matrix between the camera coordinate system and the laser coordinate system can be obtained using Singular Value Decomposition (SVD).

[0084]

[0085] Among them, R cL t cL These represent the rotation matrix and position vector of the camera coordinate system relative to the laser coordinate system, respectively. In other words, suppose there is a point A on the laser processing machine, and the coordinate vector of this point in the laser coordinate system is P. AL =[X AL Y AL Z AL ] T The coordinate vector in the camera coordinate system is P. Ac =[X Ac Y Ac Z Ac ] T Then there is

[0086]

[0087] S6: Use the portable vision coordinate measuring system to perform eight-point positioning on the rectangular reflective surface of the workpiece to be marked. The specific positioning steps are as follows:

[0088] S6.1: As Figure 5 As shown, a spherical probe using a homemade calibration pen touches three non-collinear points t on the reflective surface of the workpiece. a t b t c The camera coordinates of the probe's center of gravity at three different positions are obtained. These coordinates are then converted into corresponding laser coordinates, and the plane equations of the plane S0 containing the probe's center of gravity at the three different positions are obtained by fitting these laser coordinates. Z′ is then determined along the normal to plane S0. m The axis, along the Z′ axis, will guide plane S0 along the Z′ axis. m By translating the probe along the negative axis by a distance equal to the probe radius R, the plane equation of the rectangular reflective surface S in the laser coordinate system is finally obtained.

[0089] S6.2: As Figure 5 As shown, two points p1 and p2 are taken on the front side of the workpiece (the vertical plane closest to the operator is taken as the front side), one point p3 is taken on the right side, one point p4 is taken on the rear side, and one point p5 is taken on the left side. The camera coordinates of these five points are converted into the corresponding laser coordinates, and then these five points are projected onto the plane S to obtain the corresponding projection points p1′, p2′, p3′, p4′, and p5′.

[0090] S6.3: As Figure 6 As shown below, X′ is determined by p1′ and p2′ in plane S. m Axis and directed line segment L 12 According to X′ m axis and Z′ m The axis direction determines the Y-axis. m 'axis.

[0091] S6.4: Determine the directed line segment f using p3′ and p5′. 53 f 53 Along X′ m Projecting along a direction yields a directed line segment L. 53 p3′ towards X′ m Projecting the axis yields point p3″, and p5′ is projected onto X′. m The point p5″ is obtained by projecting the axis.

[0092] S6.5: Starting from p5″, the direction is along X′ m Axis, length L 53 Half of it, we can get the directed line segment f. x The directed line segment f is determined by p2′ and p4′. 24 f 24 In Y m The directed line segment L is obtained by projecting the direction of '. 24 ; with directed line segment fx Starting from the endpoint p6, the direction is along Y. m The axis is '', with a length of L. 24 Half of it, we can get the directed line segment f. y ;f y The endpoint O m This is the location of the geometric center of the rectangular reflective surface, obtained through the above measurements. m x m Coordinates and y m Coordinates, x m and y m Substituting into the plane equation of the reflective surface S, we can obtain O. m z m Coordinates, and thus the location of O can be determined. m Position coordinates (x) in plane S m ,y m ,z m ).

[0093] S6.6: Through the geometric center O of the rectangular reflective surface of the workpiece m Construct X′ respectively m Y m ′、Z′ m X parallel to the axis m Y m Z m The workpiece coordinate system O can be obtained from the axis. m -X m Y m Z m X m Axis, Y m Axis, Z m The vector representations of the axes are normalized to obtain the corresponding new vectors R. Xm =[R Xm1 R Xm2 R Xm3 ] T R Ym =[R Ym1 R Ym2 R Ym3 ] T R Zm =[R Zm1 R Zm2 R Zm3 ] T The homogeneous transformation matrix from the workpiece coordinate system to the laser coordinate system can be obtained.

[0094]

[0095] Among them, R mL =[R Xm R Ym RZm ], t mL =[x m y m z m ] T These are the rotation matrix and position vector of the workpiece coordinate system relative to the laser coordinate system, respectively.

[0096] Suppose there is a point B on the rectangular reflective surface, and the coordinate vector of this point in the workpiece coordinate system is P. Bm =[X Bm Y Bm Z Bm ] T The coordinate vector in the laser coordinate system is P. BL =[X BL Y BL Z BL ] T Then there is

[0097]

[0098] Finally, by utilizing the established transformation relationship between the workpiece coordinate system and the laser coordinate system, the laser is guided to perform precise marking operations on the reflective surface.

[0099] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A portable visual three-coordinate measuring system working method, characterized in that, The portable visual coordinate measuring system includes a laser, a pair of calibrated binocular cameras, a computer, a variable-configuration calibration pen, and a standard cone. The laser is positioned directly above the laser processing machine with its laser emission direction vertically downwards. The two camera lenses of the binocular cameras are respectively positioned on the left and right sides of the laser, and their fields of view cover the entire laser processing machine. Both the laser and the binocular cameras are communicatively connected to the computer. The calibration pen consists of a pen body, a measuring rod, a universal joint mechanism, and a spherical probe. The upper surface of the pen body is affixed with a white hard calibration plate printed with multiple black feature circles. The measuring rod is fixedly connected to the pen body and connected to the spherical probe via the universal joint mechanism. Establish a laser coordinate system on the laser processing machine table; The working method of the portable visual coordinate measuring system is as follows: A calibration pen is made and its measurement configuration is determined according to the actual measurement conditions. A binocular camera is used to acquire a scene image of the white hard calibration plate on the calibration pen. A computer is used to establish the calibration pen coordinate system and calibrate the center of the spherical probe of the calibration pen. Then, a homogeneous transformation relationship between the camera coordinate system and the laser coordinate system is established. To achieve the positioning of the rectangular reflective surface of the workpiece in laser marking, the spherical probe of the calibration pen collects data from a total of 8 points on the reflective surface and side of the workpiece to be marked. The geometric center of the rectangular reflective surface of the workpiece is obtained through plane fitting and translation, point-to-line projection, point-to-plane projection, and the transformation relationship between the camera coordinate system and the laser coordinate system. A workpiece coordinate system is established at this geometric center. The laser is guided to perform precise marking on the reflective surface using the transformation relationship between the workpiece coordinate system and the laser coordinate system. The specific method for making a calibration pen with a variable configuration is as follows: The pen body has a flat upper surface, and a white rigid calibration plate is attached to the upper surface of the pen body. The white rigid calibration plate is printed with n black feature circles, n≥3, which are distributed within the size range of the white rigid calibration plate. The universal connection mechanism includes two universal joints. The lower end of the measuring rod is connected to the first universal joint, the first universal joint is connected to the second universal joint via a connecting rod, and the second universal joint is connected to the spherical probe. The orientation of the universal joints can be adjusted and locked as needed. When making the calibration pen, according to the structural layout of the binocular camera and laser on the laser processing machine, the height, angle, field of view of the camera, and the size of the workpiece to be measured, a white rigid calibration plate of suitable size is selected from several pre-made alternative calibration plates of different sizes, and it is fixedly pasted on the upper surface of the pen body facing the camera. The specific method for determining the measurement configuration of the calibration pen is as follows: First, use the ball probe of the calibration pen to perform multiple sets of simulated measurement actions on the surface of similar workpieces. Then, based on the simulated measurement results and the imaging effect of each black feature circle on the white hard calibration plate in the camera's field of view, adjust and lock the measurement configuration of the calibration pen through the universal connection mechanism. The portable vision coordinate measuring system is used to perform eight-point positioning on the rectangular reflective surface of the workpiece to be marked, specifically including the following steps: 1) Use the spherical probe of the calibration pen to touch three non-collinear points on the reflective surface of the workpiece. , , The camera coordinates of the probe's center of gravity at three different locations were obtained. These coordinates were then converted into corresponding laser coordinates, and the plane containing the probe's center of gravity at each of the three laser coordinates was fitted to obtain the plane at the three different locations. The equation of the plane; along the plane Normal direction determination Axis, the plane along Shift the probe radius in the negative direction of the axis. The distance is used to obtain the rectangular reflective surface in the laser coordinate system. The equation of the plane; 2) Take two points on the front side of the workpiece. , Take a point on the right side. Take a point from the rear side. Take a point on the left side The camera coordinates of these five points are then converted into corresponding laser coordinates, and these five points are then projected onto a plane. Within, the corresponding projection points are obtained. , , , , ; 3) On the plane within, from , Sure Axis and directed line segment ;according to shaft and Axial direction, determine axis; 4) By , Determine the directed line segment , Along Projecting in a direction yields a directed line segment ; Towards Points are obtained by axis projection , Towards Points are obtained by axis projection ; 5) with Starting from, the direction is along Axis, length is Half of it, resulting in a directed line segment ;Depend on , Determine the directed line segment , exist Directional projection yields directed line segments ; with directed line segments The End Starting from, the direction is along Axis, length is Half of it, resulting in a directed line segment ; The End This is the location of the geometric center of the rectangular reflective surface, obtained through the above measurements. of coordinates and Coordinates, and Substitute reflective surface The equation of the plane is obtained from the equation of the plane. of Coordinates, and then determine In plane Position coordinates in ; 6) Through the geometric center of the rectangular reflective surface of the workpiece , respectively with , , Axis parallel , , The axis is used to obtain the workpiece coordinate system. ;Will axis, axis, The vector representations of the axes are normalized to obtain the corresponding new vectors. , , The homogeneous transformation matrix from the workpiece coordinate system to the laser coordinate system is obtained as follows: in, , These are the rotation matrix and position vector of the workpiece coordinate system relative to the laser coordinate system, respectively; Suppose there is a point on the rectangular reflective surface. The coordinate vector of this point in the workpiece coordinate system is The coordinate vector in the laser coordinate system is Then we have: Finally, by utilizing the established transformation relationship between the workpiece coordinate system and the laser coordinate system, the laser is guided to perform precise marking operations on the reflective surface.

2. The working method of the convenient visual coordinate measuring system according to claim 1, characterized in that, The specific method for establishing the calibration pen's coordinate system is as follows: Use a binocular camera to acquire scene images of the white rigid calibration plate on the calibration pen, and input the images into a computer; the computer automatically identifies and calculates the camera coordinate vector of the center of each black feature circle on the calibration pen. Simultaneously, identify the two feature circles with the largest distance between them; use the center of one of these two feature circles with the largest distance between them as the origin of the calibration pen coordinates. The line connecting the centers of the two feature circles serves as the coordinate system for the calibration pen. Axis; then, select another circle in the scene image whose center is not... Characteristic circles on the axis; using the coordinates of the centers of these three characteristic circles to fit the plane containing the surface of the white hard calibration plate on the calibration pen. ; passing through the origin of the calibration pen coordinates Along the plane Establish the normal direction of the calibration pen coordinate system First, determine the axes, and then, based on the relationship between the three orthogonal axes of the rectangular coordinate system, determine the coordinate system of the calibration pen. Axis; at this point, the calibration pen coordinate system has been established. ; due to the origin of the calibration pen coordinate system , axis, Shaft and The vector representation of the axes is all in the camera coordinate system. The following description will be used at this time. axis, axis, The vector representations of the axes are normalized to obtain the corresponding new vectors. , , Therefore, the center coordinates of each feature circle are determined by the pen coordinate system. Coordinates of the central camera The relationship between them is satisfied: in, To calibrate the homogeneous transformation matrix from the pen coordinate system to the camera coordinate system; The calibration pen coordinate vector for the center of each black feature circle; To calibrate the origin of the pen coordinate system The camera coordinate vector; Using the above relationship, the coordinates of the centers of all black feature circles on the calibration pen in the calibration pen coordinate system can be obtained.

3. The working method of the portable visual coordinate measuring system according to claim 1, characterized in that, The specific method for calibrating the center of the spherical probe of the calibration pen is as follows: A standard cone, designed for use with the spherical probe, is fixed within the camera's field of view. The spherical probe is then inserted into the cone's conical hole. The calibration pen is then swung and rotated, maintaining the standard cone's position and orientation throughout the process, while the spherical probe remains within the conical hole. Data is then collected using a binocular camera. Images of the white rigid calibration plate on the calibration pen in different poses were obtained. The acquired images were processed using a computer to obtain the camera coordinates of the centers of all black feature circles on the calibration pen in each pose. Combining the calibration pen coordinates and the camera coordinates of the centers of all black feature circles on the calibration pen in each pose, the singular value decomposition method was used to determine the... The homogeneous transformation matrix between the pose index pen coordinate system and the camera coordinate system: in, , The first The rotation matrix and position vector corresponding to each pose. ; , , ; , , For the first Individual pose index pen coordinate system Normalized representation of axes in the camera coordinate system , , For the first Individual pose index pen coordinate system Normalized representation in camera coordinate system , , For the first Individual pose index pen coordinate system Normalized representation of axes in the camera coordinate system; , , To calibrate the origin of the pen coordinate system Position components on the three coordinate axes of the camera coordinate system; Since the centers of all the black feature circles on the calibration pen and the center of the probe ball are in the same system, the homogeneous transformation matrix... It is also applicable to probe ball center calibration; let the coordinate vector of the probe ball center in the calibration pen coordinate system be... The coordinate vector in the camera coordinate system is Then it exists: Expanding and rearranging the first three equations above, we get: in, , , ; During the actual calibration of the ball center, more than 6 poses of the calibration pen scene images were collected, i.e. ; Matrix under all poses Vertically spliced ​​into a large matrix The vectors obtained under all poses Vertically concatenated into a large vector ,get: in, , ; Based on least squares solution Generalized inverse method solution That is, to find the coordinate vector of the calibration pen for measuring the center of the ball. and camera coordinate vector This completes the calibration of the center of the sphere of the calibration pen probe. At this point, remove the standard cone. After the spherical probe is calibrated, the measurement configuration of the calibration pen should not be changed. Otherwise, the probe will need to be recalibrated.

4. The working method of the convenient visual coordinate measuring system according to claim 1, characterized in that, The specific method for establishing the homogeneous transformation relationship between the camera coordinate system and the laser coordinate system is as follows: Establish a laser coordinate system on the laser processing machine. ;in, The point where the laser beam intersects the machine tool table surface perpendicularly downwards is the point through which the laser beam passes. Horizontal to the right Axis, passing through point Facing upwards The axes are determined using the relationship between the three orthogonal axes of a rectangular coordinate system. The process involves placing a special marking paper on a laser processing machine directly below the laser. By inputting a set of appropriately spaced, square-arranged laser coordinate data into the computer, the laser is guided to print a corresponding array of white feature circles on the marking paper. A binocular camera is then used to capture images of the marked marking paper, allowing the identification of the camera coordinates of the centers of all the white feature circles. Combining the known laser coordinate data and the camera coordinates of the centers of all the white feature circles on the marking paper, the homogeneous transformation matrix between the camera coordinate system and the laser coordinate system is calculated using singular value decomposition. in, , These are the rotation matrix and position vector of the camera coordinate system relative to the laser coordinate system, respectively; assuming there is a point on the laser processing machine... The coordinate vector of this point in the laser coordinate system is The coordinate vector in the camera coordinate system is Then we have: 。