A virtual scale marking method for X-ray detection of welds

By adjusting the position and converting the welds of large-size tanks or cylinders, and drawing virtual ruler marks, the problem of low detection efficiency caused by manual placement of lead type labels in the prior art is solved, and automated position marking and high efficiency are achieved Test.

CN115855987BActive Publication Date: 2024-11-29CHONGQING UNICOMP TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211669187.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-24
Publication Date
2024-11-29
Estimated Expiration
2042-12-24

AI Technical Summary

Technical Problem

In the weld inspection of large-size tanks or cylinders, the prior art requires manual placement of a large number of lead type labels on the weld, resulting in low detection efficiency.

Method used

By adjusting the position of the cylinder and the detector to calculate the actual magnification, converting the physical spatial coordinate system of the X-ray image into a horizontal two-dimensional coordinate system, and drawing virtual rulers, center marks and overlap marks to replace manual pendulum Place lead type tags to realize automated position marking.

Benefits of technology

The efficiency of X-ray detection of welds is greatly improved, saving time for manual placement of lead types, and solving the problem of low detection efficiency of large-size cylinder welds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115855987B_ABST
    Figure CN115855987B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of X-ray weld nondestructive testing, and specifically to a virtual scale marking method for X-ray weld detection, comprising adjusting the positions of a cylinder to be inspected and a detector until the starting point of the weld of the cylinder to be inspected is located in the center of an X-ray image screen collected by an X-ray nondestructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray nondestructive testing system; obtaining the real-time focal length and real-time object distance of the X-ray nondestructive testing system based on the side length of the detector, and calculating the actual magnification by a magnification calculation formula; converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and drawing the virtual scale, center mark and overlap mark of the weld. The problem of low efficiency in weld detection for large-sized cylinders is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of X-ray weld nondestructive testing, and in particular to a virtual scale marking method for X-ray weld testing. Background Art

[0002] X-ray weld inspection refers to the process of using X-ray digital imaging technology to illuminate one side of the weld of a tank or cylinder to obtain an X-ray image to analyze and determine weld defects. The size of the tank or cylinder is relatively large, ranging from a few meters to more than ten meters in length, and a few millimeters to a few meters in diameter, while the single-time detectable area of ​​X-ray inspection is limited (generally about 100mm x120mm to 300x 250mm). In order to ensure the accurate positioning of each digital image (for example: zero point, direction, scale, size, etc.), when using the X-ray non-destructive testing system to detect welds, the current detection position is recorded by sticking a physical lead type mark next to the weld based on the principle that lead metal material can absorb X-rays, leaving an impenetrable text mark on the image after X-ray digital imaging. For the weld inspection of large-sized tanks or cylinders, dozens or hundreds of lead characters need to be pasted at a time, which requires a lot of manpower and material resources, and the inspection efficiency is particularly low. Summary of the invention

[0003] The object of the present invention is to provide a virtual scale marking method for X-ray detection of welds, aiming to solve the problem of low efficiency in weld detection of large-sized cylinders.

[0004] To achieve the above object, the present invention provides a virtual scale marking method for X-ray detection of welds, comprising the following steps:

[0005] Adjust the positions of the cylinder to be inspected and the detector until the starting point of the weld of the cylinder to be inspected is located in the center of the X-ray image screen collected by the X-ray non-destructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray non-destructive testing system;

[0006] Acquire the real-time focal length and real-time object distance of the X-ray nondestructive testing system based on the side length of the detector, and calculate the actual magnification by a magnification calculation formula;

[0007] The physical space coordinate system of the X-ray image screen is converted into a horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and a virtual scale, center mark and overlap mark of the weld are drawn.

[0008] The step of adjusting the positions of the cylinder to be inspected and the detector until the starting point of the weld of the cylinder to be inspected is located in the center of the screen of the X-ray non-destructive testing system and the screen is parallel to the detection direction of the X-ray non-destructive testing system includes:

[0009] Zero the mechanical system to the physical origin;

[0010] The cylinder to be inspected is transported to the X-ray nondestructive testing system by the zeroed mechanical system;

[0011] The mechanical system collects an X-ray image of the inspected cylinder through the X-ray nondestructive testing system, and places the starting point of the weld of the inspected cylinder in the center of the image;

[0012] The position of the detector of the X-ray nondestructive testing system is adjusted based on the X-ray image picture until it is parallel to the detection direction of the X-ray nondestructive testing system in the X-ray image picture.

[0013] Wherein, adjusting the position of the detector based on the X-ray image until it is parallel to the detection direction of the X-ray nondestructive testing system in the X-ray image includes:

[0014] Locating the detection direction of the weld by using a contour search algorithm based on the X-ray image;

[0015] Based on the detection direction, the angle between the X-ray imaging image of the weld and the horizontal display direction is identified through binarization analysis;

[0016] The position of the detector is adjusted based on the angle until the detector is parallel to the detection direction in the X-ray image frame.

[0017] The method of converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and drawing a virtual scale, a center mark and an overlap mark of the weld, includes:

[0018] Calculating a maximum visible range based on the actual magnification;

[0019] Calculate the effective step length of a single X-ray image to detect a weld;

[0020] Converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image based on the maximum visible range and the effective step size;

[0021] A virtual scale, a center mark and an overlap mark of the weld are drawn on the X-ray image screen based on the horizontal two-dimensional coordinate system.

[0022] Wherein, after the step of converting the physical space coordinate system of the X-ray image screen into the horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and drawing the virtual scale, center mark and overlap mark of the weld, the method further comprises:

[0023] The virtual ruler, the center mark and the overlap mark are updated in real time based on the movement of the X-ray nondestructive testing system.

[0024] The present invention provides a virtual scale marking method for X-ray detection of welds, by adjusting the positions of the inspected cylinder and the detector until the starting point of the weld of the inspected cylinder is located in the center of the X-ray image screen collected by the X-ray nondestructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray nondestructive testing system; based on the side length of the detector, the real-time focal length and real-time object distance of the X-ray nondestructive testing system are obtained, and the actual magnification is calculated by the magnification calculation formula; the physical space coordinate system of the X-ray image screen is converted into the horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and the virtual scale, center mark and overlap mark of the weld are drawn. The present invention replaces the method of manually placing lead type labels on the weld as weld position marks, and also realizes the function of finding and locating the position of the inspected weld according to the X-ray image, saving the time of manual placement of lead type, greatly improving the efficiency of X-ray detection of welds, and solving the problem of low efficiency of weld detection for large-sized cylinders. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 The present invention provides a flow chart of a virtual scale marking method for X-ray detection of welds.

[0027] Figure 2 It is a schematic diagram of straight weld irradiation.

[0028] Figure 3 This is the effect of the virtual ruler. DETAILED DESCRIPTION

[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0030] See also Figures 1 to 3The present invention provides a virtual scale marking method for X-ray detection of welds, comprising the following steps:

[0031] S1 adjusts the positions of the cylinder to be inspected and the detector until the starting point of the weld of the cylinder to be inspected is located in the center of the X-ray image screen collected by the X-ray non-destructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray non-destructive testing system;

[0032] The specific method is:

[0033] S11 resets the mechanical system to the physical origin;

[0034] S12 transports the cylinder to be inspected to the X-ray nondestructive testing system through the zeroed mechanical system;

[0035] Specifically, during single-wall transillumination inspection, the control system needs to make the focal center of the X-ray emitter located at the center point of the tank or cylinder.

[0036] S13: the mechanical system collects an X-ray image of the inspected cylinder through the X-ray nondestructive testing system, and places the starting point of the weld of the inspected cylinder in the center of the image;

[0037] S14: adjusting the position of the detector of the X-ray nondestructive testing system based on the X-ray image screen until the position of the detector is parallel to the detection direction of the X-ray nondestructive testing system in the X-ray image screen.

[0038] The specific method is:

[0039] S141 locates the detection direction of the weld by using a contour search algorithm based on the X-ray image;

[0040] S142 identifies an angle α between the X-ray imaging image of the weld and a horizontal display direction through a binary analysis based on the detection direction;

[0041] S143 adjusts the position of the detector based on the angle until the detector is parallel to the detection direction in the X-ray image.

[0042] Specifically, according to the fact that the weld X-ray image shows a regular pixel variation area with a certain pixel width extending in a certain direction, the angle α between the X-ray imaging image of the weld and the horizontal display direction is identified through binarization analysis based on Otsu's method, and the control system automatically adjusts the X-ray imaging system to make the detector swing and rotate angle so that the weld is displayed in the detection direction in the X-ray imaging image.

[0043] S2 obtains the real-time focal length and real-time object distance of the X-ray nondestructive testing system based on the side length of the detector, and calculates the actual magnification by a magnification calculation formula;

[0044] Specifically, given the detector side length L x With L y The real-time focal length F (the distance between the detector and the center of the X-ray focus) and the object distance f (the distance between the X-ray focus and the upper surface of the weld) of the current X-ray nondestructive testing system are automatically acquired through the control system in real time, and the real-time magnification R of the X-ray system is obtained.

[0045] S3 converts the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image according to the actual magnification, and draws a virtual scale, center mark and overlap mark of the weld.

[0046] The specific method is:

[0047] S31 calculates the maximum visible range based on the actual magnification;

[0048] Specifically, Figure 2 As shown, Figure 2 In the equation, 2 represents the surface of the weld parent material to be inspected (tank body\cylinder body), and 1 represents the detector. The maximum visible range D after real-time X-ray imaging is calculated according to the following formula. Where D x , D y The weld is parallel to the detector side L x With L y The maximum visible range after X-ray imaging.

[0049] R=f / F

[0050] D_x=R×L_x

[0051] D_y=R×L_y

[0052] S32 calculates the effective step length of a single X-ray image to detect a weld;

[0053] Specifically, the overlap area is defined as the overlapped weld area of ​​two consecutive X-ray images of the 10% area on the left and right sides of the current X-ray imaging range. According to the definition, the overlap mark position is at the 10% and 90% visible range, and the control system controls the X-ray imaging mechanism to move 0.9*D distance along the weld direction each time.

[0054] S33 converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image based on the maximum visible range and the effective step size;

[0055] S34 draws a virtual scale, a center mark and an overlap mark of the weld on the X-ray image screen based on the horizontal two-dimensional coordinate system.

[0056] S4: updating the virtual scale, the center mark and the overlap mark in real time based on the movement of the X-ray nondestructive testing system.

[0057] Specifically, when the virtual ruler is drawn, the scale increases as the current weld moves.

[0058] The invention provides a virtual scale marking method for X-ray weld detection. Before the X-ray weld detection system starts detection, the mechanical system is automatically guided to return to zero; when the detection starts, the weld detection starting point of the tank body or the cylinder is manually moved to the center of the X-ray imaging system; the X-ray system is turned on to collect and locate the weld starting point; the weld detection direction is located by a contour search algorithm, and the coordinate position of the X-ray system is automatically adjusted to make the detector parallel to the weld driving direction; the current motion coordinate positions of the mechanical system are obtained to obtain FOD (the distance from the X-ray light source to the weld surface) and FDD (the distance from the focus of the X-ray light source to the detector surface), and the actual magnification of the current X-ray image is obtained by a magnification calculation formula; the actual physical space coordinate system is converted into a horizontal two-dimensional coordinate system of the X-ray image by the magnification, so that the virtual scale and center mark and overlap mark of the current detection weld position can be depicted on the X-ray image; and the depiction position of the scale and mark is updated in real time as the detection system moves.

[0059] Beneficial effects:

[0060] The virtual ruler marking method for X-ray detection of welds of the present invention achieves the purpose of marking the weld detection position on the X-ray image by adding a virtual ruler mark on the X-ray image through real-time conversion of the physical space coordinate system into the two-dimensional coordinate system of the X-ray digital image; the present invention can completely replace the method of manually placing lead type labels on the weld as weld position marks, and also achieves the function of searching and locating the position of the weld to be detected according to the X-ray image, thus saving the time of manual placement of lead type and greatly improving the efficiency of X-ray detection of welds.

[0061] The above disclosure is only a preferred embodiment of a virtual scale marking method for X-ray detection of welds of the present invention. Of course, this cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A virtual scale marking method for X-ray detection of welds, characterized in that: The following steps are involved: Adjust the positions of the cylinder to be inspected and the detector until the starting point of the weld of the cylinder to be inspected is located in the center of the X-ray image screen collected by the X-ray non-destructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray non-destructive testing system; Acquire the real-time focal length and real-time object distance of the X-ray nondestructive testing system based on the side length of the detector, and calculate the actual magnification by a magnification calculation formula; The physical space coordinate system of the X-ray image screen is converted into a horizontal two-dimensional coordinate system of the X-ray image according to the actual magnification, and a virtual scale, a center mark and an overlap mark of the weld are drawn; The method of converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and drawing a virtual scale, a center mark and an overlap mark of the weld, comprises: Calculating a maximum visible range based on the actual magnification; Calculate the effective step length of a single X-ray image to detect a weld; Converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image based on the maximum visible range and the effective step size; A virtual scale, a center mark and an overlap mark of the weld are drawn on the X-ray image screen based on the horizontal two-dimensional coordinate system.

2. The virtual scale marking method for X-ray detection of welds according to claim 1, characterized in that: The position adjustment of the inspected cylinder and the detector is performed until the starting point of the weld of the inspected cylinder is located in the center of the X-ray image screen collected by the X-ray non-destructive testing system, and the X-ray image screen is parallel to the detection direction of the X-ray non-destructive testing system, including: Zero the mechanical system to the physical origin; The cylinder to be inspected is transported to the X-ray nondestructive testing system by the zeroed mechanical system; The mechanical system collects an X-ray image of the inspected cylinder through the X-ray nondestructive testing system, and places the starting point of the weld of the inspected cylinder in the center of the image; The position of the detector of the X-ray nondestructive testing system is adjusted based on the X-ray image picture until it is parallel to the detection direction of the X-ray nondestructive testing system in the X-ray image picture.

3. The virtual scale marking method for X-ray detection of welds according to claim 2, characterized in that: The step of adjusting the position of the detector of the X-ray nondestructive testing system based on the X-ray image screen until the position of the detector is parallel to the detection direction of the X-ray nondestructive testing system in the X-ray image screen includes: Locating the detection direction of the weld by using a contour search algorithm based on the X-ray image; Based on the detection direction, the angle between the X-ray imaging image of the weld and the horizontal display direction is identified through binarization analysis; The position of the detector is adjusted based on the angle until the detector is parallel to the detection direction in the X-ray image frame.

4. The virtual scale marking method for X-ray detection of welds according to claim 1, characterized in that: After the step of converting the physical space coordinate system of the X-ray image screen into a horizontal two-dimensional coordinate system of the X-ray image by the actual magnification, and drawing the virtual scale, center mark and overlap mark of the weld, the method further comprises: The virtual ruler, the center mark and the overlap mark are updated in real time based on the movement of the X-ray nondestructive testing system.

Citation Information

Patent Citations

  • Operation method of X-ray flaw detection operation

    CN108535290A

  • Image display method, device and equipment of X-ray imaging system and storage medium

    CN111000576A