CN116202423A - Line laser two-dimensional positioning method based on laser triangulation ranging - Google Patents

Line laser two-dimensional positioning method based on laser triangulation ranging Download PDF

Info

Publication number
CN116202423A
CN116202423A CN202310404679.XA CN202310404679A CN116202423A CN 116202423 A CN116202423 A CN 116202423A CN 202310404679 A CN202310404679 A CN 202310404679A CN 116202423 A CN116202423 A CN 116202423A
Authority
CN
China
Prior art keywords
laser
target
line
positioning
calibration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310404679.XA
Other languages
Chinese (zh)
Inventor
何胜波
蔡根
赵建平
范兴超
冯常
廖礼斌
吴国强
叶化
杨丽
王东升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Optics and Electronics of CAS
Original Assignee
Institute of Optics and Electronics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Optics and Electronics of CAS filed Critical Institute of Optics and Electronics of CAS
Priority to CN202310404679.XA priority Critical patent/CN116202423A/en
Publication of CN116202423A publication Critical patent/CN116202423A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a line laser two-dimensional positioning method based on laser triangular ranging, which utilizes a measuring device comprising an image acquisition module, an installation frame, a laser projector and a control processing system, wherein the image acquisition module, the installation frame and the laser projector form a measuring probe, and the method uses two measuring probes and one control processing system. The method comprises the following steps: the calibration block is placed at the target position and is in a triangular relation with the two measuring devices, and the control processing system finishes the calibration of the target position according to the current laser line image; and (3) removing the calibration block, moving into the target positioning object to position, and obtaining the relative distance from the target object to the target position based on a laser triangulation method through real-time calculation of the current laser line image in the positioning process. When the method is used for positioning the target object, the two-dimensional accurate positioning of the object to be positioned can be realized according to the auxiliary laser line and the image processing algorithm without complex equipment, complicated positioning flow and target material requirements.

Description

Line laser two-dimensional positioning method based on laser triangulation ranging
Technical Field
The invention belongs to the technical field of measurement, and particularly relates to a line laser two-dimensional positioning method based on laser triangulation ranging.
Background
The common laser triangulation positioning method uses point lasers and an image receiving unit to position the target in only one dimension, however, in most use scenes, we do not satisfy the positioning of the target in one dimension, but need to position the relative coordinates in two dimensions. In practical industrial application, it is risky to locate the data only, and we expect to obtain the data and see the real image at the same time, so as to perform mutual authentication. Finally, the point laser mode cannot identify the transverse displacement of a large target, and the object can be effectively solved through the line laser.
Disclosure of Invention
The invention aims to overcome the defects and provide a line laser two-dimensional positioning method based on laser triangulation ranging.
The invention adopts the technical scheme that: a line laser two-dimensional positioning method based on laser triangulation ranging comprises the following steps:
step A, fixing a laser projector and an image acquisition module to form a measurement module at a certain angle through a mounting frame, and placing the two measurement modules at a proper angle to form a triangular relationship with a target positioning position;
step B, before positioning, a calibration piece is placed at a target position for calibration, a control system judges the relative coordinates of an object to be positioned to the target position in real time during positioning, the calibration piece needs to be consistent with the shape of the target object, and the target object needs to be a columnar object;
and C, extracting a gray level center line of the laser line, solving the center of gravity of the gray level center line, judging the relative distance from the measured object to the measuring probe according to the center of gravity, and obtaining the relative coordinates from the measured object to the target position according to the relative distance from the target position to the two measuring modules.
The specific method of the step C is as follows: firstly, an image containing laser lines is acquired, filtering and gray threshold segmentation processing are carried out, and an image which is free of noise and has gray greater than a threshold value is obtained. Then calculating gray level gravity center points of the light stripe areas column by column, and setting the abscissa and ordinate of the pixel points as a variable x and a variable y and I respectively (x,y) Is the gray value of the pixel point with coordinates (x, y). Let the non-zero space of x columns be [ y1, y2 ]]The gray center of gravity x of x columns c The method comprises the following steps:
Figure BDA0004180889740000021
set the horizontal non-zero area of the laser center line as [ x1, x2]The ordinate L of the laser line center c The method comprises the following steps:
Figure BDA0004180889740000022
ordinate L of laser line center c The displacement cc ' on the imaging plane of the camera and the distance pp ' between the calibration plane and the measurement plane accord with the Snell's law, and the formula can be obtained by combining the similar triangle formula:
Figure BDA0004180889740000023
wherein alpha is the included angle between the optical axis of the camera and the imaging plane, beta is the included angle between the optical axis of the camera and the calibration plane, gc and gp are the distances between the lens g and the imaging plane and the calibration plane along the optical axis, and the distances can be obtained through calibration. According to the above formula, the distance pp 'of the measurement plane to the calibration plane can be solved when the offset cc' of the laser line on the image is known.
According to the sea theory, the formula is obtained:
Figure BDA0004180889740000024
where q is half the perimeter of triangle ap1p2, am is the height of triangle ap1p2, ap1 is the distance from target a to camera p1, ap2 is the distance from target a to camera p2, and p1p2 is the distance from camera p1 to camera p 2. As described above, ap1, ap2 can be solved according to the offset of the laser line on the image, and p1p2 is a fixed parameter, and then the coordinates (p 1m, am) of the measured object can be solved. The relative coordinates of the measured object to the target position are the difference between the measured object coordinates and the target coordinates.
The beneficial effects of the invention are as follows:
when the line laser two-dimensional positioning method is used for positioning the measured object, the relative coordinates of the measured object to the target position can be positioned in two dimensions, the positioning condition can be observed by naked eyes while the method is used for positioning, and the method can identify the tiny displacement in the parallel direction under the condition of using only one measuring module and can realize high-precision target positioning.
Drawings
FIG. 1 is a schematic diagram of an apparatus for a line laser two-dimensional positioning method based on laser triangulation;
FIG. 2 is a block flow diagram of a line laser two-dimensional positioning method based on laser triangulation;
FIG. 3 is a schematic diagram of a laser triangulation method based on a line laser two-dimensional positioning method of laser triangulation;
FIG. 4 is a schematic diagram of a two-dimensional positioning principle of a line laser two-dimensional positioning method based on laser triangulation;
the reference numerals in the drawings are: 1 is an image acquisition module, 2 is a mounting frame, 3 is a laser projector, and 4 is a control processing system.
Detailed Description
The invention is further illustrated by the following examples and figures:
as shown in fig. 1, a device of a line laser two-dimensional positioning method based on laser triangulation distance measurement includes: an image acquisition module 1, a mounting frame 2, a laser projector 3, a control processing system 4. The image acquisition module 1 is used for acquiring image data; the laser projector 3 is used for emitting line laser; the mounting frame 2 is used for fixing the image acquisition module 1 and the laser projector 3; a control processing system 4 is connected to the mounting frame 2 for interacting with and powering the image acquisition module 1 and the laser projector 3;
as shown in fig. 2, the line laser two-dimensional positioning method based on laser triangulation ranging includes the following steps:
step A, fixing the laser projector 3 and the image acquisition module 1 to form a measurement module at a certain angle through the mounting frame 2, and placing the two measurement modules at a proper angle to form a triangular relationship with the target positioning position;
step B, before positioning, a calibration piece is placed at a target position for calibration, a control system judges the relative coordinates of an object to be positioned to the target position in real time during positioning, the calibration piece needs to be consistent with the shape of the target object, and the target object needs to be a columnar object;
and C, extracting a gray level center line of the laser line, solving the center of gravity of the gray level center line, judging the relative distance from the measured object to the measuring probe according to the center of gravity, and obtaining the relative coordinates from the measured object to the target position according to the relative distance from the target position to the two measuring modules.
The specific method of the step C is as follows: firstly, an image containing laser lines is acquired, filtering and gray threshold segmentation processing are carried out, and an image which is free of noise and has gray greater than a threshold value is obtained. Then calculating gray level gravity center points of the light stripe areas column by column, and setting the abscissa and ordinate of the pixel points as a variable x and a variable y and I respectively (x,y) Is the gray value of the pixel point with coordinates (x, y). Let the non-zero space of x columns be [ y1, y2 ]]The gray center of gravity x of x columns c The method comprises the following steps:
Figure BDA0004180889740000031
set the horizontal non-zero area of the laser center line as [ x1, x2]The ordinate L of the laser line center c The method comprises the following steps:
Figure BDA0004180889740000032
ordinate L of laser line center c The displacement cc ' on the imaging plane of the camera and the distance pp ' between the calibration plane and the measurement plane accord with the Snell's law, and the formula can be obtained by combining the similar triangle formula:
Figure BDA0004180889740000041
wherein alpha is the included angle between the optical axis of the camera and the imaging plane, beta is the included angle between the optical axis of the camera and the calibration plane, gc and gp are the distances between the lens g and the imaging plane and the calibration plane along the optical axis, and the distances can be obtained through calibration. According to the above formula, the distance pp 'of the measurement plane to the calibration plane can be solved when the offset cc' of the laser line on the image is known.
According to the sea theory, the formula is obtained:
Figure BDA0004180889740000042
where q is half the perimeter of triangle ap1p2, am is the height of triangle ap1p2, ap1 is the distance from target a to camera p1, ap2 is the distance from target a to camera p2, and p1p2 is the distance from camera p1 to camera p 2. As described above, ap1, ap2 can be solved according to the offset of the laser line on the image, and p1p2 is a fixed parameter, and then the coordinates (p 1m, am) of the measured object can be solved. The relative coordinates of the measured object to the target position are the difference between the measured object coordinates and the target coordinates.
The actual effect of the technology is commonly influenced by a plurality of factors such as the included angle of the two measuring modules, the resolution of the camera, the included angle of the camera and the laser, the focal length of the camera and the like, wherein the core is the positioning precision of the measuring modules. The test is carried out by using an industrial camera with 500 ten thousand pixels and a fixed focus lens with 55mm, and the positioning precision of a target object with a distance of 1m is higher than 0.1mm.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (2)

1. A line laser two-dimensional positioning method based on laser triangulation ranging is characterized in that: the method comprises the following steps:
step A, fixing a laser projector and an image acquisition module to form a measurement module at a certain angle through a mounting frame, and placing the two measurement modules at a proper angle to form a triangular relationship with a target positioning position;
step B, before positioning, a calibration piece is placed at a target position for calibration, a control system judges the relative coordinates of an object to be positioned to the target position in real time during positioning, the calibration piece needs to be consistent with the shape of the target object, and the target object needs to be a columnar object;
and C, extracting a gray level center line of the laser line, solving the center of gravity of the gray level center line, judging the relative distance from the measured object to the measuring probe according to the center of gravity, and obtaining the relative coordinates from the measured object to the target position according to the relative distance from the target position to the two measuring modules.
2. The line laser positioning method based on laser triangulation according to claim 1, wherein the line laser positioning method is characterized in that: the specific method of the step C is as follows: firstly, an image containing laser lines is acquired, filtering and gray threshold segmentation processing are carried out, and an image which is free of noise and has gray greater than a threshold value is obtained. Then calculating gray level gravity center points of the light stripe areas column by column, and setting the abscissa and ordinate of the pixel points as a variable x and a variable y and I respectively (x,y) Is a pixel point with coordinates of (x, y)Is a gray value of (a). Let the non-zero space of x columns be [ y1, y2 ]]The gray center of gravity x of x columns c The method comprises the following steps:
Figure FDA0004180889730000011
set the horizontal non-zero area of the laser center line as [ x1, x2]The ordinate L of the laser line center c The method comprises the following steps:
Figure FDA0004180889730000012
ordinate L of laser line center c The displacement cc ' on the imaging plane of the camera and the distance pp ' between the calibration plane and the measurement plane accord with the Snell's law, and the formula can be obtained by combining the similar triangle formula:
Figure FDA0004180889730000013
wherein alpha is the included angle between the optical axis of the camera and the imaging plane, beta is the included angle between the optical axis of the camera and the calibration plane, gc and gp are the distances between the lens g and the imaging plane and the calibration plane along the optical axis, and the distances can be obtained through calibration. According to the above formula, the distance pp 'of the measurement plane to the calibration plane can be solved when the offset cc' of the laser line on the image is known.
According to the sea theory, the formula is obtained:
Figure FDA0004180889730000021
where q is half the perimeter of triangle ap1p2, am is the height of triangle ap1p2, ap1 is the distance from target a to camera p1, ap2 is the distance from target a to camera p2, and p1p2 is the distance from camera p1 to camera p 2. As described above, ap1, ap2 can be solved according to the offset of the laser line on the image, and p1p2 is a fixed parameter, and then the coordinates (p 1m, am) of the measured object can be solved. The relative coordinates of the measured object to the target position are the difference between the measured object coordinates and the target coordinates.
CN202310404679.XA 2023-04-17 2023-04-17 Line laser two-dimensional positioning method based on laser triangulation ranging Pending CN116202423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310404679.XA CN116202423A (en) 2023-04-17 2023-04-17 Line laser two-dimensional positioning method based on laser triangulation ranging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310404679.XA CN116202423A (en) 2023-04-17 2023-04-17 Line laser two-dimensional positioning method based on laser triangulation ranging

Publications (1)

Publication Number Publication Date
CN116202423A true CN116202423A (en) 2023-06-02

Family

ID=86519421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310404679.XA Pending CN116202423A (en) 2023-04-17 2023-04-17 Line laser two-dimensional positioning method based on laser triangulation ranging

Country Status (1)

Country Link
CN (1) CN116202423A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117451657A (en) * 2023-10-23 2024-01-26 南京审计大学 Remote long-wave infrared laser measuring instrument and measuring method under flue gas interference environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117451657A (en) * 2023-10-23 2024-01-26 南京审计大学 Remote long-wave infrared laser measuring instrument and measuring method under flue gas interference environment
CN117451657B (en) * 2023-10-23 2024-06-25 南京审计大学 Remote long-wave infrared laser measuring instrument and measuring method under flue gas interference environment

Similar Documents

Publication Publication Date Title
Chen et al. High-accuracy multi-camera reconstruction enhanced by adaptive point cloud correction algorithm
CN110108348B (en) Thin-wall part micro-amplitude vibration measurement method and system based on motion amplification optical flow tracking
CN107121093B (en) Gear measuring device and method based on active vision
CN111982072A (en) Target ranging method based on monocular vision
CN108198224B (en) Linear array camera calibration device and calibration method for stereoscopic vision measurement
CN102778196A (en) Image size measuring method based on laser calibration
CN106124034B (en) Thin-wall part working mode testing device and method based on machine vision
CN111508027A (en) Method and device for calibrating external parameters of camera
US11562478B2 (en) Method and system for testing field of view
CN107345789A (en) A kind of pcb board hole location detecting device and method
CN110533649B (en) Unmanned aerial vehicle general structure crack identification and detection device and method
CN108489423B (en) Method and system for measuring horizontal inclination angle of product surface
CN105953741B (en) System and method for measuring local geometric deformation of steel structure
CN110705433A (en) Bridge deformation monitoring method, device and equipment based on visual perception
CN113554697A (en) Cabin section profile accurate measurement method based on line laser
CN116202423A (en) Line laser two-dimensional positioning method based on laser triangulation ranging
CN107589069A (en) A kind of contactless measurement of object collision recovery coefficient
CN112381888A (en) Dynamic compensation method for H-shaped steel cutting path
CN103389072B (en) An image point positioning precision assessment method based on straight line fitting
CN111325793A (en) System and method for dynamically calibrating pixel size based on light spot in image measurement
CN114062265B (en) Evaluation method for stability of support structure of vision system
CN108287060B (en) Device and method for measuring laser divergence angle
US11640680B2 (en) Imaging system and a method of calibrating an image system
CN206583440U (en) A kind of projected image sighting distance detecting system
CN111060015A (en) Small-amplitude displacement detection device for stacker in movement vertical direction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination