CN112150413A - Pipeline vibration detection method, device, equipment and storage medium - Google Patents

Pipeline vibration detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN112150413A
CN112150413A CN202010905609.9A CN202010905609A CN112150413A CN 112150413 A CN112150413 A CN 112150413A CN 202010905609 A CN202010905609 A CN 202010905609A CN 112150413 A CN112150413 A CN 112150413A
Authority
CN
China
Prior art keywords
vibration
pipeline
image
acquiring
moire
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
CN202010905609.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010905609.9A priority Critical patent/CN112150413A/en
Publication of CN112150413A publication Critical patent/CN112150413A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H9/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by using radiation-sensitive means, e.g. optical means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M13/00Testing of machine parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • 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/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • 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)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Quality & Reliability (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The present disclosure relates to the field of detection, and in particular, to a method, an apparatus, a device and a storage medium for detecting pipeline vibration. The method comprises the following steps: acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline; acquiring an offset characteristic value of the pipeline during vibration according to the vibration image; acquiring a normal offset range of the pipeline vibration; and judging whether the offset characteristic value is within the normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally. This application is used for solving the problem that the pipeline vibration detects time inefficiency, accuracy difference.

Description

Pipeline vibration detection method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of detection, and in particular, to a method, an apparatus, a device and a storage medium for detecting pipeline vibration.
Background
In the operation process of the air conditioner, the vibration of the air conditioner pipeline is caused by factors such as the impact of a refrigerant, the vibration transmission of a compressor, the interference of the external environment and the like. If the vibration of the pipeline is too large, the pipeline can be twisted and even broken, and accidents such as refrigerant leakage and the like can be caused. Therefore, the pipeline vibration detection has important significance for judging the stable running condition of the pipeline and avoiding accidents.
At present, the conventional vibration detection of the air conditioner pipeline is manual detection after the pipeline vibrates, the manual detection wastes time and labor, the efficiency is low, the detection precision cannot be ensured, and the detection result has poor accuracy; the other method is to adopt a stress sheet to detect the vibration of the pipeline, the stress sheet detection needs to depend on experienced technicians, and the stress sheet needs to be configured independently, so that the problems of low efficiency and poor accuracy exist.
Disclosure of Invention
The application provides a pipeline vibration detection method, a pipeline vibration detection device, pipeline vibration detection equipment and a storage medium, which are used for solving the problems of low efficiency and poor accuracy in pipeline vibration detection.
In a first aspect, an embodiment of the present application provides a method for detecting pipeline vibration, including: acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline; acquiring an offset characteristic value of the pipeline during vibration according to the vibration image; acquiring a normal offset range of the pipeline vibration; and judging whether the offset characteristic value is within the normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally.
Optionally, the offset characteristic value is a displacement characteristic value, and the normal offset range is a normal displacement offset range; the acquiring of the normal offset range of the pipeline vibration includes: acquiring a preset normal vibration angle range, and acquiring a first corresponding relation between a preset vibration angle and displacement; and acquiring the normal displacement offset range of the pipeline vibration according to the normal vibration angle range and the first corresponding relation.
Optionally, before acquiring the vibration image when the pipeline vibrates, the method further includes: acquiring a still image of the pipeline when the pipeline is still; the obtaining of the offset characteristic value of the pipeline during vibration according to the vibration image includes: and comparing the vibration image with the static image, and acquiring the displacement characteristic value according to a comparison result.
Optionally, the comparing the vibration image with the still image, and obtaining the displacement characteristic value according to a comparison result includes: acquiring a vibration pixel distribution diagram corresponding to the vibration image and acquiring a static pixel distribution diagram corresponding to the static image; according to a target matching algorithm, performing matching calculation on the vibration pixel distribution diagram and the static pixel distribution diagram to obtain maximum matching pixel displacement; obtaining a calibration corresponding relation between the pixel displacement and the actual displacement; and obtaining the displacement characteristic value according to the maximum matching pixel displacement and the calibration corresponding relation.
Optionally, after obtaining the vibration image when the pipeline vibrates, before comparing the vibration image with the still image, the method further includes: carrying out outline sharpening on the vibration image to obtain a processing vibration image, and carrying out outline sharpening on the static image to obtain a processing static image; the comparing the vibration image with the static image and obtaining the displacement characteristic value according to the comparison result comprises: and comparing the processing vibration image with the processing static image, and acquiring the displacement characteristic value according to a comparison result.
Optionally, the offset characteristic value is a moire width value, and the normal offset range is a normal moire width range; the obtaining of the offset characteristic value of the pipeline during vibration according to the vibration image includes: acquiring a Moire image corresponding to the vibration image; analyzing the moire image to obtain moire characteristic values, wherein the moire characteristic values comprise an acute angle value formed between stripes corresponding to a first frequency and stripes corresponding to a second frequency in the moire image, a first interval value between the stripes corresponding to the first frequency and a second interval value between the stripes corresponding to the second frequency; acquiring a second corresponding relation between the moire characteristic value and the moire width value; and acquiring the moire width value according to the moire characteristic value and the second corresponding relation.
Optionally, the analyzing the moire image to obtain a moire feature value includes: acquiring a moire pixel distribution map corresponding to the moire image; and calculating pixel points of the moire pixel distribution map to obtain the moire characteristic value.
In a second aspect, an embodiment of the present application provides a pipeline vibration detection apparatus, including: the first acquisition module is used for acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline; the processing module is used for acquiring an offset characteristic value of the pipeline during vibration according to the vibration image; the second acquisition module is used for acquiring the normal offset range of the pipeline vibration; and the judging module is used for judging whether the offset characteristic value is within the normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is used for executing the program stored in the memory to realize the pipeline vibration detection method.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the method for detecting a vibration of a pipeline.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the offset characteristic value is obtained through the vibration image when the pipeline vibrates, and whether the offset characteristic value is in the normal offset range or not is judged, so that the pipeline vibration is detected. The method can realize automatic treatment completely through an automatic device, does not need to depend on manual work, and liberates a large amount of labor force; the image is detected in a mode of machine calculation, the image is processed, the operation speed is high, and the detection efficiency is greatly improved; the problems of inaccurate detection precision and the like caused by subjectivity in manual work are solved, and the accuracy of a detection result is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a flow chart of a pipeline vibration detection method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a comparison process between a vibration image and a still image provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a maximum matching pixel displacement obtaining process provided in the embodiment of the present application;
FIG. 4 is a schematic representation of Moire pattern provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of a pipeline vibration excursion profile provided by an embodiment of the present application;
fig. 6 is a schematic view of a specific flow of pipeline vibration detection in an actual displacement detection manner according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a pipeline vibration detection apparatus provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a pipeline vibration detection method, which is used for detecting pipeline vibration in the operation process of an air conditioner and can also be used for other equipment with pipelines, such as a refrigerator, a washing machine and the like. The method is described only by taking the air conditioner as an example, and the protection scope of the application is not limited by the equipment where the pipeline is located.
As shown in fig. 1, the process of detecting the vibration of the pipeline mainly includes the following steps:
step 101, obtaining a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline.
In one embodiment, an image acquisition device is installed in an air conditioner pipeline detection room, and the image acquisition device acquires images of the air conditioner pipeline in the air conditioner detection process. This image acquisition device is for taking a picture device or camera device, also can be other vibration image's in can gathering the pipeline vibration device, and this application does not use the realization form that the image acquireed to be the restriction.
In this embodiment, the image acquisition device needs to be able to acquire the vibration image fast, and it is guaranteed that the image can reflect the characteristics required by the vibration of the detection pipeline. When the image acquisition device is a photographing device, the acquisition of images is automatically completed by presetting a photographing time interval. When the image acquisition device is a camera device, after the vibration video is acquired, images at preset time intervals are intercepted, and image acquisition is completed.
In this embodiment, after the image acquisition device was installed, can use repeatedly to the pipeline of difference, the pipeline of different grade type can use same set of image acquisition device, and the life cycle is long, has improved equipment utilization, prevents the wasting of resources to detection cost has been reduced.
And 102, acquiring a deviation characteristic value of the pipeline during vibration according to the vibration image.
In one embodiment, the shift characteristic is a shift characteristic or a moire width value.
In this embodiment, when the offset characteristic value is the displacement characteristic value, before acquiring the vibration image when the pipeline vibrates, the still image when the pipeline is still is acquired; obtaining a deviation characteristic value when the pipeline vibrates according to the vibration image, and the method comprises the following steps: and comparing the vibration image with the static image, and acquiring a displacement characteristic value according to a comparison result.
In this embodiment, the vibration image and the still image are compared, and the displacement characteristic value is obtained according to the comparison result, as shown in fig. 2, the specific process is as follows:
step 201, obtaining a vibration pixel distribution diagram corresponding to a vibration image and obtaining a static pixel distribution diagram corresponding to a static image;
step 202, performing matching calculation on the vibration pixel distribution diagram and the static pixel distribution diagram according to a target matching algorithm to obtain maximum matching pixel displacement;
step 203, acquiring a calibration corresponding relation between pixel displacement and actual displacement;
and 204, acquiring a displacement characteristic value according to the maximum matching pixel displacement and the calibration corresponding relation.
That is, the actual position corresponding to the maximum matching pixel position is obtained from the calibration corresponding relationship, and the obtained actual displacement is used as the displacement characteristic value.
In this embodiment, the target matching algorithm adopts a Peak Signal to Noise Ratio (PSNR) criterion. The target matching algorithm based on the PSNR criterion measures the similarity degree of two images by calculating the pixel mean square error of the two images, wherein the PSNR value is larger, the similarity of the two images is larger, the PSNR value is smaller, and the similarity of the two images is smaller.
In this embodiment, according to the target matching algorithm, the vibration pixel distribution map and the stationary pixel distribution map are subjected to matching calculation to obtain the maximum matching pixel displacement, as shown in fig. 3, the specific process is as follows:
301, performing graying processing and denoising processing on the vibration pixel distribution diagram and the static pixel distribution diagram;
step 302, respectively carrying out coarse positioning on the vibration pixel distribution diagram and the static pixel distribution diagram according to an edge detection operator;
step 303, performing fine positioning on the vibration pixel distribution diagram and the static pixel distribution diagram respectively according to a sub-pixel positioning method to complete image segmentation;
step 304, matching the divided vibration pixel distribution graph and the divided static pixel distribution graph according to a target matching algorithm based on a PSNR (Peak Signal to noise ratio) criterion;
step 305, obtaining the position in the vibration pixel distribution map corresponding to each segmentation region in the static pixel distribution map according to the matching result, thereby obtaining the pixel displacement of each segmentation region;
step 306, comparing the pixel displacement of each divided region, and obtaining the maximum pixel displacement therein as the maximum matching pixel displacement.
In this embodiment, the calibration corresponding relationship between the pixel displacement and the actual displacement may be obtained by calibrating the camera. The camera calibration refers to determining the three-dimensional geometric position of a certain point on the surface of the space object and the mutual relation between the certain point and the corresponding point in the image, and establishing a geometric model of camera imaging. After the relative displacement in the image is obtained, the actual relative displacement can be obtained through the model.
It should be noted that the target matching algorithm based on the PSNR criterion is only an example of implementing the matching calculation of the still image and the vibration image, and other algorithms that can implement the matching calculation may be used, and the scope of the present application is not limited by the implementation manner of the matching calculation.
And processing and comparing images of the pipeline in a static state and in a vibration state to obtain a displacement characteristic value of the pipeline after vibration. The process is simple and easy to realize, the displacement characteristic value can be conveniently and rapidly acquired, the process of pipeline vibration detection is more accurate, and the detection efficiency is improved.
In the embodiment, after the vibration image of the pipeline during vibration is obtained, before the vibration image is compared with the still image, the contour of the vibration image is subjected to sharpening to obtain a processing vibration image, and the contour of the still image is subjected to sharpening to obtain a processing still image; and comparing the vibration image with the static image, specifically, comparing the processed vibration image with the processed static image when the displacement characteristic value is obtained according to the comparison result, and obtaining the displacement characteristic value according to the comparison result.
In this embodiment, the outline sharpening process is performed on the vibration image and the still image, and includes the steps of sharpening the outlines of the compensated images of the two images, performing binarization process on the images, and performing outline detection and extraction on the binarized images to obtain a clearer processed vibration image and a processed still image with more prominent outlines, so as to facilitate subsequent further image processing. The related algorithms for contour detection and extraction include a hollow interior point method, an edge detection (Canny) operator, a Laplacian (Laplacian) operator, a Sobel (Sobel) operator, a Roberts (Roberts) operator and other algorithms capable of detecting and extracting the image contour, and the protection scope of the application is not limited to a specific algorithm for contour clarification processing.
In one embodiment, when the offset eigenvalue is a moire width value, the offset eigenvalue during pipeline vibration is obtained according to a vibration image, and the specific process is as follows: acquiring a Moire image corresponding to the vibration image; analyzing the moire image to obtain moire characteristic values, wherein the moire characteristic values comprise an acute angle value formed between the first frequency corresponding fringes and the second frequency corresponding fringes in the moire image, a first interval value between the first frequency corresponding fringes and a second interval value between the second frequency corresponding fringes; acquiring a second corresponding relation between the moire characteristic value and the moire width value; and obtaining a moire width value according to the moire characteristic value and the second corresponding relation.
In one embodiment, fig. 4 is a schematic diagram of moire fringes corresponding to vibration of a pipeline, where c is a first distance value between the fringes corresponding to a first frequency, d is a second distance value between the fringes corresponding to a second frequency, α is an acute angle value formed between the fringes corresponding to the first frequency and the fringes corresponding to the second frequency, and W is a moire fringe width value.
The second corresponding relationship is
Figure BDA0002661310240000081
n is a natural number whose value is related to the difference between the first and second spacing values.
Analyzing the moire image to obtain a moire characteristic value, and the specific process is as follows: acquiring a moire pixel distribution map corresponding to the moire image; and calculating pixel points of the Moire pixel distribution diagram to obtain a Moire characteristic value. When pixel point calculation is carried out on the moire pixel distribution map, a target matching algorithm based on the PSNR criterion is used for obtaining pixel characteristic values in the moire pixel distribution map, and then the moire characteristic values of an actual image are obtained through camera calibration.
And 103, acquiring a normal offset range of the pipeline vibration.
In one embodiment, when the offset eigenvalue is a displacement eigenvalue, the normal offset range is a normal displacement offset range; the process of obtaining the normal offset range of the pipeline vibration comprises the following steps: acquiring a preset normal vibration angle range, and acquiring a first corresponding relation between a preset vibration angle and displacement; and acquiring the normal displacement offset range of the pipeline vibration according to the normal vibration angle range and the first corresponding relation. That is, the displacement corresponding to the lower limit value of the normal vibration angle range is obtained from the first correspondence relationship as the lower limit value of the normal displacement deviation range, the displacement corresponding to the upper limit value of the normal vibration angle range is obtained from the first correspondence relationship as the upper limit value of the normal displacement deviation range, and the section defined by the lower limit value of the normal displacement deviation range and the upper limit value of the normal displacement deviation range is used as the normal displacement deviation range of the pipeline vibration.
In this embodiment, the preset normal vibration angle range is preset by a user according to an actual situation, and the normal vibration angle range has a relationship with the material of the pipeline, the environment where the pipeline is located, and can be measured through an experiment and also can be obtained through other realizable manners.
In one embodiment, when the offset characteristic value is a moire width value, the normal offset range is a normal moire width range, and the normal moire width range has a relationship with the material, the environment and the like of the pipeline, and can be determined through experiments or obtained through other realizable manners.
The pipeline vibration detection is carried out by obtaining the mode of the moire pattern when the pipeline vibrates, the moire width value corresponding to small change can be calculated, the detection precision of the pipeline vibration detection is improved, and the detection result is more accurate.
And 104, judging whether the offset characteristic value is in a normal offset range, if so, executing a step 105, and if not, executing a step 106.
In one embodiment, the offset characteristic value is within the normal offset range when the offset characteristic value is greater than a minimum value of the normal offset range while the offset characteristic value is less than a maximum value of the normal offset range.
And step 105, determining that the pipeline vibrates normally.
And step 106, determining that the pipeline is abnormal in vibration.
In one embodiment, after the pipeline vibration is determined to be normal or abnormal, a corresponding signal is sent to a user, so that the user can perform relevant processing on the air conditioner in time according to a detection result.
In one embodiment, as shown in fig. 5, the thick solid line is an image contour of the pipeline when the pipeline is stationary, and the thick dotted line is an image contour of the pipeline after vibration, where a represents an actual length of the pipeline, b represents an actual maximum offset distance of the pipeline when the pipeline vibrates, and θ is an offset angle formed by a maximum offset point of the pipeline when the pipeline vibrates, with an end point of the pipeline as an origin, and an opposite point of the pipeline when the pipeline is stationary.
The process of detecting the vibration of the pipeline, as shown in fig. 6, includes:
step 601, shooting a still image when a pipeline is still;
step 602, shooting a vibration image when a pipeline vibrates;
step 603, performing outline sharpening on the still image and the vibration image respectively to obtain a processed vibration image and a processed still image;
step 604, obtaining a vibration pixel distribution diagram corresponding to the processing vibration image and a static pixel distribution diagram corresponding to the processing static image;
605, performing matching calculation on the vibration pixel distribution map and the static pixel distribution map according to a target matching algorithm to obtain maximum matching pixel displacement and obtain the length of a pipeline pixel;
step 606, obtaining a calibration corresponding relation between the pixel displacement and the actual displacement;
step 607, obtaining the actual maximum offset distance b as the obtained displacement characteristic value and the actual length a of the pipeline according to the maximum matching pixel displacement and the calibration corresponding relation;
step 608, acquiring a preset normal vibration angle theta in a range of 0-15 degrees, and acquiring a first corresponding relation between a preset vibration angle and displacement;
step 609, obtaining the normal displacement offset range of the pipeline vibration as
Figure BDA0002661310240000101
Step 610, determine whether the maximum offset distance b is
Figure BDA0002661310240000102
If so, go to step 611, otherwise, go to step 612;
step 611, determining that the pipeline vibrates normally;
step 612, determining that the pipeline is abnormal in vibration.
The pipeline vibration detection method provided by this embodiment can process and compare the vibration image and the still image of the pipeline to determine whether the pipeline vibration is normal, and can process the moire image corresponding to the pipeline vibration image to determine whether the pipeline vibration is normal. The two modes can be realized through automatic equipment, the artificial constraint is broken away, the detection intelligence is realized, the automatic detection improves the vibration detection efficiency, the problem that the detection precision cannot be guaranteed in the process of manual participation in the detection is avoided, and the accuracy of the detection result is improved. Meanwhile, one set of equipment can detect different pipelines, the service cycle of the equipment is long, and the detection cost is reduced after long-time observation.
The actual displacement is detected, so that the implementation process is simpler and quicker; the Moire pattern image processing method has the advantage that the processing result is more accurate than the processing result for detecting the actual displacement. The mode of detecting the actual displacement or the mode of processing the moire image can be selected and used as required, so that the vibration detection mode can be diversified.
Based on the same concept, the embodiment of the present application provides a pipeline vibration detection apparatus, and the specific implementation of the apparatus may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 7, the apparatus mainly includes:
the first acquisition module 701 is used for acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline;
the processing module 702 is configured to obtain an offset characteristic value of the pipeline during vibration according to the vibration image; a second obtaining module 703, configured to obtain a normal offset range of the pipeline vibration;
the determining module 704 is configured to determine whether the offset characteristic value is within a normal offset range, determine that the pipeline vibrates normally if the offset characteristic value is within the normal offset range, and determine that the pipeline vibrates abnormally if the offset characteristic value is not within the normal offset range.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 8, the electronic device mainly includes: a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802 and the memory 803 communicate with each other via the communication bus 804. Wherein, the memory 803 stores the program which can be executed by the processor 801, the processor 801 executes the program stored in the memory 803, and the following steps are realized: acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline; acquiring an offset characteristic value of the pipeline during vibration according to the vibration image; acquiring a normal offset range of pipeline vibration; and judging whether the offset characteristic value is within a normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally.
The communication bus 804 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 804 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The communication interface 802 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 803 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 801.
The Processor 801 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the method for detecting pipe vibration described in the above-mentioned embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of detecting vibration in a pipeline, comprising:
acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline;
acquiring an offset characteristic value of the pipeline during vibration according to the vibration image;
acquiring a normal offset range of the pipeline vibration;
and judging whether the offset characteristic value is within the normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally.
2. The method for detecting pipeline vibration according to claim 1, wherein the offset characteristic value is a displacement characteristic value, and the normal offset range is a normal displacement offset range;
the acquiring of the normal offset range of the pipeline vibration includes:
acquiring a preset normal vibration angle range, and acquiring a first corresponding relation between a preset vibration angle and displacement;
and acquiring the normal displacement offset range of the pipeline vibration according to the normal vibration angle range and the first corresponding relation.
3. The method for detecting vibration of a pipeline according to claim 2, wherein before the step of obtaining the vibration image of the pipeline during vibration, the method further comprises:
acquiring a still image of the pipeline when the pipeline is still;
the obtaining of the offset characteristic value of the pipeline during vibration according to the vibration image includes:
and comparing the vibration image with the static image, and acquiring the displacement characteristic value according to a comparison result.
4. The pipeline vibration detection method according to claim 3, wherein the comparing the vibration image with the still image and obtaining the displacement characteristic value according to the comparison result comprises:
acquiring a vibration pixel distribution diagram corresponding to the vibration image and acquiring a static pixel distribution diagram corresponding to the static image;
according to a target matching algorithm, performing matching calculation on the vibration pixel distribution diagram and the static pixel distribution diagram to obtain maximum matching pixel displacement;
obtaining a calibration corresponding relation between the pixel displacement and the actual displacement;
and obtaining the displacement characteristic value according to the maximum matching pixel displacement and the calibration corresponding relation.
5. The method according to claim 4, wherein after the obtaining of the vibration image during the vibration of the pipeline and before the comparing the vibration image with the still image, the method further comprises:
carrying out outline sharpening on the vibration image to obtain a processing vibration image, and carrying out outline sharpening on the static image to obtain a processing static image;
the comparing the vibration image with the static image and obtaining the displacement characteristic value according to the comparison result comprises:
and comparing the processing vibration image with the processing static image, and acquiring the displacement characteristic value according to a comparison result.
6. The method for detecting vibration of a pipeline according to claim 1, wherein the offset characteristic value is a moire width value, and the normal offset range is a normal moire width range;
the obtaining of the offset characteristic value of the pipeline during vibration according to the vibration image includes:
acquiring a Moire image corresponding to the vibration image;
analyzing the moire image to obtain moire characteristic values, wherein the moire characteristic values comprise an acute angle value formed between stripes corresponding to a first frequency and stripes corresponding to a second frequency in the moire image, a first interval value between the stripes corresponding to the first frequency and a second interval value between the stripes corresponding to the second frequency;
acquiring a second corresponding relation between the moire characteristic value and the moire width value;
and acquiring the moire width value according to the moire characteristic value and the second corresponding relation.
7. The method for detecting vibration of pipeline according to claim 6, wherein the analyzing the moire image to obtain moire feature values comprises:
acquiring a moire pixel distribution map corresponding to the moire image;
and calculating pixel points of the moire pixel distribution map to obtain the moire characteristic value.
8. A pipe vibration detecting apparatus, comprising:
the first acquisition module is used for acquiring a vibration image when the pipeline vibrates, wherein the vibration image is obtained by shooting the pipeline;
the processing module is used for acquiring an offset characteristic value of the pipeline during vibration according to the vibration image;
the second acquisition module is used for acquiring the normal offset range of the pipeline vibration;
and the judging module is used for judging whether the offset characteristic value is within the normal offset range, if so, determining that the pipeline vibrates normally, and if not, determining that the pipeline vibrates abnormally.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the method of detecting a vibration of a pipeline according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method of detecting pipe vibration according to any one of claims 1 to 7.
CN202010905609.9A 2020-09-01 2020-09-01 Pipeline vibration detection method, device, equipment and storage medium Pending CN112150413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010905609.9A CN112150413A (en) 2020-09-01 2020-09-01 Pipeline vibration detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010905609.9A CN112150413A (en) 2020-09-01 2020-09-01 Pipeline vibration detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112150413A true CN112150413A (en) 2020-12-29

Family

ID=73890671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010905609.9A Pending CN112150413A (en) 2020-09-01 2020-09-01 Pipeline vibration detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112150413A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837251A (en) * 2021-09-10 2021-12-24 国家石油天然气管网集团有限公司华南分公司 Petroleum pipeline vibration detection device based on GA-SVM and control method thereof
CN114992813A (en) * 2022-06-17 2022-09-02 珠海格力电器股份有限公司 Method and device for detecting substance leakage, air conditioning equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048744A (en) * 2014-07-08 2014-09-17 安徽常春藤光电智能科技有限公司 Non-contact real-time online vibration measurement method based on images
CN109146855A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of image mole marks detection method, terminal device and storage medium
CN109313070A (en) * 2017-12-28 2019-02-05 深圳配天智能技术研究院有限公司 The method and system of industrial vision detection vibration
CN110245650A (en) * 2019-08-09 2019-09-17 深圳市广宁股份有限公司 Vibrate intelligent detecting method and Related product
CN110617973A (en) * 2019-04-26 2019-12-27 深圳市豪视智能科技有限公司 Vibration detection method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048744A (en) * 2014-07-08 2014-09-17 安徽常春藤光电智能科技有限公司 Non-contact real-time online vibration measurement method based on images
CN109313070A (en) * 2017-12-28 2019-02-05 深圳配天智能技术研究院有限公司 The method and system of industrial vision detection vibration
CN109146855A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of image mole marks detection method, terminal device and storage medium
CN110617973A (en) * 2019-04-26 2019-12-27 深圳市豪视智能科技有限公司 Vibration detection method and related device
CN110245650A (en) * 2019-08-09 2019-09-17 深圳市广宁股份有限公司 Vibrate intelligent detecting method and Related product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837251A (en) * 2021-09-10 2021-12-24 国家石油天然气管网集团有限公司华南分公司 Petroleum pipeline vibration detection device based on GA-SVM and control method thereof
CN114992813A (en) * 2022-06-17 2022-09-02 珠海格力电器股份有限公司 Method and device for detecting substance leakage, air conditioning equipment and storage medium

Similar Documents

Publication Publication Date Title
KR102649038B1 (en) System and method for finding lines in an image with a vision system
CN112150413A (en) Pipeline vibration detection method, device, equipment and storage medium
CN110517265B (en) Method and device for detecting surface defects of product and storage medium
CN116091504B (en) Connecting pipe connector quality detection method based on image processing
CN113077459B (en) Image definition detection method and device, electronic equipment and storage medium
CN114255233B (en) Speckle pattern quality evaluation method and device, electronic device and storage medium
WO2022105676A1 (en) Method and system for measuring wear of workpiece plane
CN111445467A (en) Lighting defect detection method and device, electronic equipment and storage medium
CN109255792B (en) Video image segmentation method and device, terminal equipment and storage medium
US20170125271A1 (en) Position detection apparatus, position detection method, information processing program, and storage medium
CN108876842A (en) A kind of measurement method, system, equipment and the storage medium of sub-pixel edge angle
CN110807354B (en) Industrial assembly line product counting method
US10067029B2 (en) Systems and methods for estimating modulation transfer function in an optical system
CN117218062A (en) Defect detection method and device, electronic equipment and storage medium
CN114882035B (en) Fabric ironing quality prediction evaluation method and device based on image processing
CN116430069A (en) Machine vision fluid flow velocity measuring method, device, computer equipment and storage medium
CN111553910B (en) Infrared image-based thermal fault detection method for electrical equipment of large experimental device
CN114693626A (en) Method and device for detecting chip surface defects and computer readable storage medium
CN112308836B (en) Corner detection method and device, electronic equipment and readable storage medium
CN111161225B (en) Image difference detection method and device, electronic equipment and storage medium
CN115019069A (en) Template matching method, template matching device and storage medium
CN111192242B (en) Method and device for detecting consistency of micron-grade grating features and terminal equipment
CN111028287A (en) Method and device for determining transformation matrix of radar coordinates and camera coordinates
RU2351091C2 (en) Method of automatic detection and correction of radial distortion on digital images
CN117576088B (en) Intelligent liquid impurity filtering visual detection method and device

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