CN110260813B - Bend pipe deflection laser detection method based on CCD image processing - Google Patents

Bend pipe deflection laser detection method based on CCD image processing Download PDF

Info

Publication number
CN110260813B
CN110260813B CN201910428701.8A CN201910428701A CN110260813B CN 110260813 B CN110260813 B CN 110260813B CN 201910428701 A CN201910428701 A CN 201910428701A CN 110260813 B CN110260813 B CN 110260813B
Authority
CN
China
Prior art keywords
target
laser
ccd camera
image
delta
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.)
Active
Application number
CN201910428701.8A
Other languages
Chinese (zh)
Other versions
CN110260813A (en
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.)
Xian University of Technology
Original Assignee
Xian University of Technology
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 Xian University of Technology filed Critical Xian University of Technology
Priority to CN201910428701.8A priority Critical patent/CN110260813B/en
Publication of CN110260813A publication Critical patent/CN110260813A/en
Application granted granted Critical
Publication of CN110260813B publication Critical patent/CN110260813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • 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/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • G01B11/27Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes
    • G01B11/272Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes using photoelectric detection means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M5/00Investigating the elasticity of structures, e.g. deflection of bridges or air-craft wings
    • G01M5/0025Investigating the elasticity of structures, e.g. deflection of bridges or air-craft wings of elongated objects, e.g. pipes, masts, towers or railways
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M5/00Investigating the elasticity of structures, e.g. deflection of bridges or air-craft wings
    • G01M5/0075Investigating the elasticity of structures, e.g. deflection of bridges or air-craft wings by means of external apparatus, e.g. test benches or portable test systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Quality & Reliability (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a bend deflection laser detection method based on CCD image processing, which comprises the steps of firstly, installing a laser on a positioning mechanism and placing the laser on one side of a pipe fitting, wherein the positioning mechanism is matched with the outer cylindrical surface of the pipe fitting to ensure that a collimated light beam emitted by the laser is vertical to the end surface of the bend; installing a receiving device consisting of a cross target and a CCD camera in a packaging device, wherein the cross target is coaxial with the CCD camera and is positioned in the focal distance range of the CCD camera, and the outer wall of the cross target is in transition fit with the inner wall of the packaging device to complete the connection of cables among a laser, the CCD camera, an image acquisition card, a computer and a controller; then after the laser beam is stably emitted, the computer controls the CCD camera to collect the target center of the cross target and the imaging light spot of the laser beam on the cross target, and the computer processes the image after collecting the image; and finally calculating the bending deflection and the direction. The invention solves the problems of complex process and poor accuracy of pipe straightness measurement in the prior art.

Description

Bend pipe deflection laser detection method based on CCD image processing
Technical Field
The invention belongs to the technical field of pipe straightness detection, and particularly relates to a bend pipe deflection laser detection method based on CCD image processing.
Background
The pipe structure has the characteristics of high strength and rigidity, material saving and attractive appearance, and has better forming and processing performance. The composite material is widely applied to the fields of aerospace, ships, vehicles, petrochemical industry, buildings, medical instruments, pressure containers and the like so as to meet the development trend and the requirement of industrial components for high strength, light weight and high performance complication. The straightness of the pipe fitting is used as an important geometric parameter of the pipe fitting, and if the straightness cannot meet the use requirement, the product performance of the pipe fitting is influenced, and the use safety of industrial equipment is directly related. The measurement of pipe straightness has two requirements: firstly, the accuracy requirement is that the measurement result must reach a certain credibility; secondly, the method has economic requirement, namely the measuring result is simple and economic on the premise of ensuring the accuracy of the measuring result.
At present, the lever method, the piston method, the laser collimation method and the like are adopted at home and abroad. They are both off-line contact or non-contact measurements and the measurement process is complicated. In recent years, machine vision technology is becoming an important technology for improving production efficiency and guaranteeing product quality in automated production due to development and application of the technology, and the technology is applied to the fields of production detection and processing control in industrially developed countries. The machine vision detection method is non-contact two-dimensional or three-dimensional measurement formed by using a CCD camera as an image sensor and combining the technologies of image processing, artificial intelligence, precision measurement and the like.
Disclosure of Invention
The invention aims to provide a bend pipe deflection laser detection method based on CCD image processing, and solves the problems of complex pipe straightness measurement process and poor accuracy in the prior art.
The invention adopts the technical scheme that a bending deflection laser detection method based on CCD image processing is implemented according to the following steps:
step 1, firstly, a laser is arranged on a positioning mechanism and placed on one side of a pipe fitting, and the positioning mechanism is matched with the outer cylindrical surface of the pipe fitting to ensure that a collimated light beam emitted by the laser is perpendicular to the end surface of a bent pipe;
and 2, mounting a receiving device consisting of the cross target and the CCD camera in the packaging device, wherein the cross target is coaxial with the CCD camera and is positioned in the focal range of the CCD camera, and the outer wall of the receiving device is in transition fit with the inner wall of the packaging device.
Step 3, completing the connection of cables among the laser, the CCD camera, the image acquisition card, the computer and the controller;
step 4, after the laser beam is stably emitted, the computer controls the CCD camera to collect the target center of the cross target and the imaging facula of the laser beam on the cross target, and the computer processes the image after collecting the image;
and 5, calculating the bending deflection and the direction.
The present invention is also characterized in that,
and 2, the cross target is in the focal distance range of the CCD camera, and clear and accurate images are acquired through focusing processing of the CCD camera.
The image processing in the step 4 is specifically implemented according to the following steps:
step 4.1, searching for a target, and obtaining pixel coordinates (u, v) of the cross target by using a search algorithm;
step 4.2, size calibration, namely reading the distance d between the two actual scale marks of the cross target and the pixel distance d between the two scales of the cross target in the corresponding acquired image0D and d0The ratio of (a) to (b) is the length of a unit pixel in the image in the actual physical space;
step 4.3, calculating offset, obtaining the offset (delta x, delta y) of the light spot point from the target center in the actual physical space according to the pixel offset (delta u, delta v) of the light spot point from the target center on the image, and obtaining the linear distance BP of the actual light spot point from the cross target center, namely:
Figure BDA0002068293340000031
step 5 is specifically implemented according to the following steps:
step 5.1, obtaining the transverse coordinate offset delta x and the longitudinal coordinate offset delta y of the central point of the facula, the length of the pipe 2l and the flexibility delta of the pipe fitting in the step 40The relation of (1):
Figure BDA0002068293340000032
step 5.2, substituting the formula (1) into the formula (2) to obtain the bending deflection delta of the bent pipe0
Step 5.3, calculating the bending direction angle a of the pipe fitting according to the offset (delta x, delta y) of the spot point on the actual physical space from the target center obtained in the step 4:
a=atan2(Δy,Δx) (3)。
the invention has the advantages that the laser detection method for the bending deflection of the elbow based on the CCD image processing adopts the measuring laser, the divergence angle is small, the service life is long, and the output power and the wavelength can be stably controlled; the receiving device adopts a visual method and has the characteristics of simple structure, non-contact and the like. The CCD camera receives the laser circular spot image, the laser circular spot image is converted into a digital signal by the image acquisition system, the digital signal enters the computer to be subjected to high-efficiency high-quality automatic analysis, the requirement on the size of a measured object is low, and the laser circular spot image analysis system is suitable for being used in factories.
Drawings
FIG. 1 is a working principle diagram of a bending pipe deflection laser detection system based on CCD image processing;
FIG. 2 is a schematic diagram of deflection measurement of a single-radian equal-curvature bent pipe;
fig. 3 is an imaging view of a cross target.
In the figure: 1, e-Ne laser, 2, positioning device, 3, cross target, 4, CCD camera, 5, packaging device.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The invention relates to a bend pipe deflection laser detection method based on CCD image processing, which is implemented according to the following steps:
step 1, firstly, a laser 1 is arranged on a positioning mechanism 2 and is arranged on one side of a pipe fitting, and the positioning mechanism 2 is matched with the outer cylindrical surface of the pipe fitting to ensure that a collimated light beam emitted by the laser 1 is vertical to the end surface of a bent pipe;
step 2, installing a receiving device consisting of a cross target 3 and a CCD camera 4 in a packaging device 5, wherein the cross target 3 is coaxial with the CCD camera 4 and is positioned in the focal range of the CCD camera 4, the outer wall of the cross target is in transition fit with the inner wall of the packaging device 5, the cross target 3 is positioned in the focal range of the CCD camera 4, and clear and accurate images are acquired through focusing treatment on the CCD camera 4;
step 3, completing the connection of the laser 1, the CCD camera 4, the image acquisition card, the computer and the controller through cables;
step 4, after the laser beam is stably emitted, the computer controls the CCD camera 4 to collect the target center of the cross target 3 and the imaging facula of the laser beam on the cross target 3, the computer processes the image after collecting the image, and the image processing is specifically implemented according to the following steps:
step 4.1, searching for a target, and obtaining pixel coordinates (u, v) of the target of the cross target 3 by using a search algorithm;
step 4.2, size calibration, namely reading the distance d between the two actual scale marks of the cross target 3 and the pixel distance d between the two scales of the cross target 3 in the corresponding collected image0D and d0The ratio of (a) to (b) is the length of a unit pixel in the image in the actual physical space;
step 4.3, calculating offset, obtaining the offset (delta x, delta y) of the light spot point from the target center in the actual physical space according to the pixel offset (delta u, delta v) of the light spot point from the target center on the image, and obtaining the linear distance BP of the actual light spot point from the cross target center, namely:
Figure BDA0002068293340000051
step 5, calculating the bending deflection and the direction, and specifically implementing the following steps:
step 5.1, obtaining the transverse coordinate offset delta x and the longitudinal coordinate offset delta y of the central point of the facula, the length of the pipe 2l and the flexibility delta of the pipe fitting in the step 40The relation of (1):
Figure BDA0002068293340000052
step 5.2, substituting the formula (1) into the formula (2) to obtain the bending deflection delta of the bent pipe0
Step 5.3, calculating the bending direction angle of the pipe fitting according to the offset (delta x, delta y) between the spot point on the actual physical space and the target center obtained in the step 4a
a=atan2(Δy,Δx) (3)。
The invention relates to a bending deflection laser detection method based on CCD image processing, which aims at the deformation detection of small deflection with equal curvature caused by the self weight of a pipe fitting and has the advantages of strong intuition, convenient control, high efficiency, nondestructive automatic detection and the like.
As shown in fig. 1 to 3, the bending deflection laser detection method based on CCD image processing of the present invention has the following working principle:
when the bending deflection of the bent pipe is measured, a He-Ne laser 1 is fixed on one side of the pipe fitting, and a receiving device consisting of a cross target 3 and a CCD camera 4 is arranged on the other side of the pipe fitting. After the laser beam is stabilized, the CCD camera 4 obtains the state image of the light spot position emitted by the laser 1, the image shot by the CCD camera 4 is converted into a numerical image after sampling and quantization through the image acquisition card and is transmitted to a computer, and then the image is processed. Acquiring coordinates of the cross bulls-eye by using a search algorithm to serve as a reference value; and calculating the center coordinates of the target area by extracting the light spot image, and comparing the coordinates with the target area.
When the pipe fitting is not bent, the coordinates of the central pixel of the light spot coincide with the coordinates of the central pixel of the target, namely: BP ═ 0, delta in physical space00; and a is 0 degree. When the pipe fitting is bent, as shown in fig. 2, the center of the light spot deviates from the center of the target in the actual physical space, and the deviation position of the light spot has a corresponding geometric relationship with the initial deflection and the bending direction of the pipe fitting. Therefore, the bending deflection delta of the pipe can be calculated by acquiring the pixel coordinates of the center of the facula and the pixel coordinates of the cross target in the acquired image, converting the pixel offset into the offset BP of the actual physical space according to the size calibration and driving the formula (1), the formula (2) and the formula (3)0And a bend direction angle.
The laser detection method for the bending deflection of the bent pipe based on the CCD image processing can obtain the bending direction and the deflection of the pipe with single-radian bending and equal bending curvature, and can be used for rapid and nondestructive detection of the straightness of the pipeline.

Claims (2)

1. A bend pipe deflection laser detection method based on CCD image processing is characterized by comprising the following steps:
step 1, firstly, a laser (1) is arranged on a positioning mechanism (2) and is arranged on one side of a pipe fitting, and the positioning mechanism (2) is matched with the outer cylindrical surface of the pipe fitting to ensure that a collimated light beam emitted by the laser (1) is perpendicular to the end surface of a bent pipe;
step 2, installing a receiving device consisting of a cross target (3) and a CCD camera (4) in a packaging device (5), wherein the cross target (3) is coaxial with the CCD camera (4) and is positioned in the focal range of the CCD camera (4), and the outer wall of the cross target is in transition fit with the inner wall of the packaging device (5);
step 3, completing the connection of cables among the laser (1), the CCD camera (4), the image acquisition card, the computer and the controller;
step 4, after the laser beam is stably emitted, the CCD camera (4) is controlled by the computer to collect the target center of the cross target (3) and the imaging light spot of the laser beam on the cross target (3), the computer processes the image after collecting the image, and the image processing in the step 4 is specifically implemented according to the following steps:
step 4.1, searching for a target, and obtaining pixel coordinates (u, v) of the target of the cross target (3) by using a search algorithm;
step 4.2, size calibration, namely reading the distance d between the two actual scale marks of the cross target (3) and the pixel distance d between the two scales of the cross target (3) in the corresponding acquired image0D and d0The ratio of (a) to (b) is the length of a unit pixel in the image in the actual physical space;
step 4.3, calculating offset, obtaining the offset (delta x, delta y) of the light spot point from the target center in the actual physical space according to the pixel offset (delta u, delta v) of the light spot point from the target center on the image, and obtaining the linear distance BP of the actual light spot point from the cross target center, namely:
Figure FDA0002855022520000021
step 5, calculating the deflection and the direction of the bent pipe, wherein the step 5 is implemented according to the following steps:
step 5.1, obtaining the beam of the light spot central point from the step 4Coordinate offset delta x, longitudinal coordinate offset delta y, pipe length 2l and bent pipe deflection delta0The relation of (1):
Figure FDA0002855022520000022
step 5.2, substituting the formula (1) into the formula (2) to obtain the bending deflection delta of the bent pipe0
Step 5.3, calculating the bending direction angle a of the pipe fitting according to the offset (delta x, delta y) of the spot point on the actual physical space from the target center obtained in the step 4:
a=atan2(Δy/Δx) (3)。
2. the laser detection method for elbow deflection based on CCD image processing according to claim 1, characterized in that in step 2, the cross target (3) is within the focal distance range of the CCD camera (4), and a clear and accurate image is acquired through the focusing processing of the CCD camera (4).
CN201910428701.8A 2019-05-22 2019-05-22 Bend pipe deflection laser detection method based on CCD image processing Active CN110260813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910428701.8A CN110260813B (en) 2019-05-22 2019-05-22 Bend pipe deflection laser detection method based on CCD image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910428701.8A CN110260813B (en) 2019-05-22 2019-05-22 Bend pipe deflection laser detection method based on CCD image processing

Publications (2)

Publication Number Publication Date
CN110260813A CN110260813A (en) 2019-09-20
CN110260813B true CN110260813B (en) 2021-04-06

Family

ID=67915092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910428701.8A Active CN110260813B (en) 2019-05-22 2019-05-22 Bend pipe deflection laser detection method based on CCD image processing

Country Status (1)

Country Link
CN (1) CN110260813B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021237583A1 (en) * 2020-05-28 2021-12-02 郑州机械研究所有限公司 Controller, and method and device for detecting filling rate of flux-cored welding wire
CN112556955A (en) * 2020-09-16 2021-03-26 江西飞尚科技有限公司 Automatic correction method in bridge deflection measurement
CN113706489B (en) * 2021-08-18 2024-05-28 珠海格力智能装备有限公司 Elbow splicing processing method and device, storage medium and elbow splicing equipment
CN116189938B (en) * 2022-12-23 2024-02-27 中国核动力研究设计院 Image method measuring system and method for measuring bending and twisting of nuclear fuel assembly

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488916A (en) * 2003-07-30 2004-04-14 浙江大学 Method and system for detecting local geometrical property for space curve type microtubule
DE102012108902B4 (en) * 2012-09-21 2019-03-28 SmartRay GmbH Optical head and nozzle head with an optical head and method of operation thereof
CN105333831B (en) * 2014-08-15 2018-05-11 星展测控科技股份有限公司 Laser imaging amount of deflection and displacement monitoring method
CN105973171A (en) * 2016-06-24 2016-09-28 山东神戎电子股份有限公司 Optical axis and mounting reference surface parallelism test device and method
CN108775872A (en) * 2018-06-26 2018-11-09 南京理工大学 Deflection of bridge span detection method based on autozoom scan picture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Design of Bending Deflection of Pipe Test Bed;Jie Wang;《International Conference on Advanced Mechanical Engineering (AME 2012)》;20120101;全文 *

Also Published As

Publication number Publication date
CN110260813A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110260813B (en) Bend pipe deflection laser detection method based on CCD image processing
EP3392609B1 (en) Optical detecting apparatus for detecting a degree of freedom error of a spindle and a detecting method thereof
CN100510614C (en) Large-scale forging laser radar on-line tri-dimensional measuring device and method
CN110064819B (en) Cylindrical surface longitudinal weld characteristic region extraction and weld tracking method and system based on structured light
CN111609811A (en) Machine vision-based large-size plate forming online measurement system and method
CN113465511B (en) Steel coil size online measurement and omnibearing end surface defect online detection method
CN102519400B (en) Large slenderness ratio shaft part straightness error detection method based on machine vision
CN111702054B (en) In-situ shape-adjusting detection system and method for progressive forming of curved plate
CN112648934B (en) Automatic elbow geometric form detection method
Wu et al. Monocular-vision-based method for online measurement of pose parameters of weld stud
Zhu et al. Noncontact 3-D coordinate measurement of cross-cutting feature points on the surface of a large-scale workpiece based on the machine vision method
CN102798349A (en) Three-dimensional surface extraction method based on equal-gray line search
CN113446966B (en) Method and device for measuring straightness of end of steel pipe
Tian et al. Dimension measurement of hot large forgings with a novel time-of-flight system
Zhang et al. A concentricity measurement method for large forgings based on laser ranging principle
CN113446965A (en) Method for measuring straightness error of steel pipe end
CN116908217B (en) Deep hole measurement and three-dimensional reconstruction system and application method thereof
CN110064680B (en) Method for rapidly measuring large bending deformation of bar
CN110458894B (en) Calibration method for camera and contact type measuring head of measuring machine
CN112254645A (en) Device and method for detecting space attitude of rubber expansion joint
CN115962731A (en) Method for detecting geometric dimension error of plate stamping of plate heat exchanger
CN104764399A (en) Measuring instrument capable of quickly focusing and measuring method thereof
CN105466352A (en) Non-contact curved surface scanning system
CN206756128U (en) A kind of joint arm measuring force error identification device
CN110567345A (en) Non-contact type pipe wall thickness measuring method and system based on machine vision

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
GR01 Patent grant
GR01 Patent grant