Buried pipeline interface displacement measurement system based on image gray scale
Monitoring the interface displacement of buried pipelines through high-frame micro cameras and image grayscale technology solves the problem of large measurement errors in traditional sensors, achieving higher accuracy and economical interface displacement measurement, and is suitable for vibration table tests.
Patent Information
- Application Number
- CN202411559713.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-01-14
AI Technical Summary
In the buried pipeline vibration table test, the traditional interface displacement measurement method will change the model structure due to the large size and mass of the sensor, resulting in large errors in the measurement results, making it difficult to accurately measure the displacement of the pipeline interface.
High-frame micro cameras are used to monitor the target on the pipeline interface. Through the target detection technology based on image grayscale, key data such as the expansion amount and rotation angle of the pipeline interface are extracted, and instead of traditional sensor measurement, accurate dynamic monitoring of pipeline interface displacement is achieved.
It reduces the impact of the sensor on the model structure, is easy to operate, high economical, and has better measurement accuracy and stability than traditional methods, providing more accurate pipeline interface displacement data.
Smart Images

Figure CN119309497A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of rock earthquake engineering, and in particular to a buried pipeline interface displacement measurement system based on image grayscale. Background Art
[0002] Urban buried pipelines, as an important part of lifeline projects, are vital to ensuring residents' lives and the normal operation of cities. While promoting high-quality economic development, my country has also put forward higher and more stringent requirements for the seismic design of buried pipelines.
[0003] Using the shaking table test method to study the seismic response law of buried pipelines and to provide a theoretical basis for actual projects is a common means of studying the seismic performance of buried pipelines. Currently, the commonly used model tests include 1g shaking table test and centrifuge shaking table test. Due to the limitation of the bearing capacity of the test platform, the buried pipelines in the test often need to be geometrically scaled. The scaled model of the buried pipeline is small in size and has limited internal space. Therefore, the measurement of key data such as pipeline interface displacement has become a weak link in the buried pipeline model test. The existing buried pipeline interface displacement measurement method usually uses wire-type displacement and acceleration sensors for measurement. Due to the large size and mass of the sensor element, the overall mode of the model structure will be changed, resulting in large errors in the measurement results.
[0004] In order to overcome the difficulty of measuring the displacement of the buried pipeline interface in the vibration table test, it is urgent to develop a method for measuring the displacement of the buried pipeline interface that is economical, easy to operate, and has reliable measurement results and is suitable for the vibration table test. The present invention uses two high-frame micro cameras to monitor the targets arranged on the pipeline interface to obtain real-time monitoring video of the pipeline interface, and extracts key data such as the interface opening amount and rotation angle of the pipeline through the target detection technology based on image grayscale, thereby replacing the traditional sensor measurement and realizing accurate dynamic monitoring of the displacement of the pipeline interface. Summary of the invention
[0005] The purpose of the present invention is to provide a buried pipeline interface displacement measurement system based on image grayscale to solve the key scientific problem of pipeline interface displacement measurement in buried pipeline vibration table test.
[0006] To achieve the above-mentioned purpose, the present invention provides a buried pipeline interface displacement measurement system based on image grayscale, including a test monitoring device and a target tracking algorithm module, the test monitoring device includes a camera base one, a camera base two, a high-frame micro camera one, a high-frame micro camera two, a target one, a target two, a light source, a pipeline socket and a pipeline socket; the target tracking algorithm module includes a video file processing module, a target tracking module and a data visualization module.
[0007] Preferably, the camera base 1 is bonded to the pipe socket, the high-frame micro camera 1 is bonded to the camera base 1, the target 1 is arranged on the inner side of the high-frame micro camera 1 and bonded to the pipe socket, the camera base 2 is bonded to the inner wall of the pipe socket, the high-frame micro camera 2 is bonded to the camera base 2, the target 2 is arranged on the inner side of the high-frame micro camera 2 and bonded to the inner wall of the pipe socket, and the light source is placed on the pipe socket.
[0008] Preferably, the camera base one and the camera base two are both acrylic rectangular blocks, which are respectively bonded to the pipe socket and the high-frame micro camera one, the inner wall of the pipe socket and the high-frame micro camera two by epoxy resin.
[0009] Preferably, the cross-sectional dimensions of the high-frame micro camera 1 and the high-frame micro camera 2 are 15mm×15mm, the shooting resolution is 1080p, and the shooting frame rate is 60fps.
[0010] Preferably, the target one and the target two are acrylic plate discs with a size of 15 mm×15 mm, and are respectively adhered to the pipe spigot and the inner wall of the pipe socket by epoxy resin.
[0011] Preferably, the video file processing module includes a video acquisition module and a video reading module. In the video acquisition module, the system captures video data in real time and transmits it to the video reading module. In the video reading module, the continuous image sequence of the captured detection video is firstly binarized and converted into a grayscale image, and then the region of interest (ROI) is initialized and noise reduction is performed, and finally the center of mass and boundary of the target in the initial frame are extracted.
[0012] Preferably, the target tracking module includes target optimal matching, target tracking, target identification and target position storage.
[0013] Preferably, the data visualization module first calculates the horizontal and vertical displacements of each frame based on the change in the target center of mass position and uses a Butterworth Filter to perform bandpass filtering to obtain noise-reduced displacement data, and the displacement difference between the pipe socket and the pipe spigot is the pipe interface displacement.
[0014] Therefore, the present invention adopts a buried pipeline interface displacement measurement system based on image grayscale with the above structure, which has the following beneficial effects: (1) The displacement of the pipeline interface is monitored by a high-frame micro camera, reducing the impact of traditional sensor components on the model structure; (2) Compared with the traditional sensor measurement scheme, the measurement system of the present invention is easy to operate and economical; (3) The grayscale-based image recognition technology has higher measurement accuracy and better stability compared to traditional sensor measurement solutions.
[0015] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of a test monitoring device of a buried pipeline interface displacement measurement system based on image grayscale of the present invention; Figure 2 This is a flow chart of a target tracking algorithm module of a buried pipeline interface displacement measurement system based on image grayscale of the present invention; Figure 3 It is a target grayscale surface of a buried pipeline interface displacement measurement system based on image grayscale of the present invention; Figure 4 A schematic diagram of a user visualization interface of a buried pipeline interface displacement measurement system based on image grayscale according to the present invention; Reference numerals 1. Camera base one; 2. Camera base two; 3. High-frame micro camera one; 4. High-frame micro camera two; 5. Target one; 6. Target two; 7. Light source; 8. Pipe socket; 9. Pipe socket. DETAILED DESCRIPTION
[0017] Example The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] Reference Figure 1-Figure 4 The present invention provides a buried pipeline interface displacement measurement system based on image grayscale, including a test monitoring device and a target tracking algorithm module. The test monitoring device includes a camera base 1, a camera base 2, a high-frame micro camera 3, a high-frame micro camera 4, a target 1, a target 2, a light source 7, a pipeline socket 8 and a pipeline socket 9; the target tracking algorithm module includes a video file processing module, a target tracking module and a data visualization module.
[0019] like Figure 1As shown, the camera base 1 and the camera base 2 are respectively bonded to the inner wall of the pipe socket 8 and the pipe socket 9 by epoxy resin, and the high-frame micro camera 1 and the high-frame micro camera 2 are respectively bonded to the camera base 1 and the camera base 2 by epoxy resin. The target 1 and the target 2 are respectively placed on the inner side of the high-frame micro camera 1 and the high-frame micro camera 2. The light source 7 is placed Figure 1 The high-frame micro camera 1 3, the high-frame micro camera 2 4 and the light source 7 are connected in parallel to the integrated switch to facilitate the test operation.
[0020] The target tracking algorithm module flow chart is as follows: Figure 2 As shown in the figure. The video acquisition module first selects the MP4 or AVI format video file shot by the high-frame micro camera through the graphical interface and obtains the basic information of the video, including the frame rate (FrameRate) and the video duration (Duration). The video reading module reads the first frame from the video and captures it as the ROI selected by the user. The initial selection of ROI should take into account the scene lighting and shooting status, perform grayscale conversion, binarization processing and noise reduction operations, and extract the center of mass and boundary of the target in the image. Figure 3 It is the grayscale three-dimensional surface of the initial frame. The height represents the grayscale value. It can preliminarily determine the approximate range of the grayscale value of the target area and the environment, and give the target recognition threshold. The target tracking module matches the target in the current frame with the target in the previous frame based on the identified target in each frame image through the minimum distance matching algorithm to ensure the stability and continuity of target tracking, and record the target center of mass and boundary information of each frame. The data visualization module first calculates the horizontal and vertical displacement of each frame based on the change of the target center of mass position and uses the Butterworth Filter to perform bandpass filtering to obtain the noise-reduced displacement data. The displacement difference between the pipe socket and the spigot is the pipe interface displacement.
[0021] like Figure 4 As shown in the figure, the distance between the target in the current frame and the target in the previous frame is calculated, and the point with the smallest distance is selected as the matching point. At the same time, the position of the target that is misidentified is removed. The movement of the target in consecutive frames is tracked by matching the position of the target, and the update information of the target is recorded. Calculate the target speed, acceleration, horizontal displacement, and vertical displacement: draw an image of each frame and mark the target center of mass and boundary on the image. Finally, draw the speed graph, acceleration graph, horizontal displacement graph, and vertical displacement graph, and visualize them in the user interface.
[0022] Therefore, the present invention adopts the above-mentioned buried pipeline interface displacement measurement system based on image grayscale, which has good operability and recognition accuracy, is suitable for pipeline interface displacement measurement under various vibration table tests, and overcomes the key scientific problem of the difficulty of interface displacement measurement in buried pipeline vibration table tests.
[0023] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A buried pipeline interface displacement measurement system based on image grayscale, characterized by: It includes test monitoring equipment and a target tracking algorithm module. The test monitoring equipment includes camera base one, camera base two, high-frame micro camera one, high-frame micro camera two, target one, target two, light source, pipe socket and pipe socket; the target tracking algorithm module includes a video file processing module, a target tracking module and a data visualization module.
2. The buried pipeline interface displacement measurement system based on image grayscale according to claim 1 is characterized in that: The camera base 1 is bonded to the pipe socket, the high-frame micro camera 1 is bonded to the camera base 1, the target 1 is arranged on the inner side of the high-frame micro camera 1 and bonded to the pipe socket, the camera base 2 is bonded to the inner wall of the pipe socket, the high-frame micro camera 2 is bonded to the camera base 2, the target 2 is arranged on the inner side of the high-frame micro camera 2 and bonded to the inner wall of the pipe socket, and the light source is placed on the pipe socket.
3. The buried pipeline interface displacement measurement system based on image grayscale according to claim 2 is characterized in that: The camera base 1 and the camera base 2 are both acrylic rectangular blocks, which are respectively bonded to the pipe socket and the high-frame micro camera 1, the inner wall of the pipe socket and the high-frame micro camera 2 through epoxy resin.
4. The buried pipeline interface displacement measurement system based on image grayscale according to claim 2 is characterized in that: The cross-sectional dimensions of the high-frame micro camera 1 and the high-frame micro camera 2 are 15mm×15mm, the shooting resolution is 1080p, and the shooting frame rate is 60fps.
5. The buried pipeline interface displacement measurement system based on image grayscale according to claim 2 is characterized in that: The target one and target two are acrylic plate discs with a size of 15mm×15mm, and are respectively adhered to the pipe spigot and the inner wall of the pipe socket by epoxy resin.
6. The buried pipeline interface displacement measurement system based on image grayscale according to claim 2 is characterized in that: The light source is an LED lamp, and the high-frame micro camera 1, the high-frame micro camera 2 and the light source are connected in parallel.
7. The buried pipeline interface displacement measurement system based on image grayscale according to claim 1, characterized in that: The video file processing module includes a video acquisition module and a video reading module. In the video acquisition module, the system captures video data in real time and transmits it to the video reading module. In the video reading module, the continuous image sequence of the captured detection video is firstly binarized and converted into a grayscale image, then the target area ROI is initialized and noise reduction is performed, and finally the center of mass and boundary of the target in the initial frame are extracted.
8. The buried pipeline interface displacement measurement system based on image grayscale according to claim 1 is characterized by: The target tracking module includes target optimal matching, target tracking, target identification and target position storage.
9. The buried pipeline interface displacement measurement system based on image grayscale according to claim 1, characterized in that: The data visualization module first calculates the horizontal and vertical displacements of each frame based on the change in the target center of mass position and uses a Butterworth Filter to perform bandpass filtering to obtain noise-reduced displacement data. The displacement difference between the pipe socket and the pipe spigot is the pipe interface displacement.