Industrial vibration information extraction method, device and equipment based on common camera
By collecting video with ordinary cameras and combining it with image processing technology, industrial vibration information is extracted, which solves the complex processing and high cost problems caused by high-speed cameras, and achieves efficient and low-cost vibration information extraction.
Patent Information
- Application Number
- CN202410901403.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technology relies on high-speed cameras to extract vibration information, resulting in complex and high-cost processing, resulting in low cost performance for practical applications.
An ordinary industrial camera is used to collect the operating video of the industrial target to be measured, and the vibration information is sampled and analyzed through the frame rate and duration. Combined with image processing technologies such as grayscale, binarization, edge detection and image refinement, the vibration displacement information is extracted and generated. Targeted industrial vibration information.
The sampling frequency is increased to meet most industrial vibration information extraction needs, simplifying the operation process, reducing costs, and avoiding reliance on complex and high-cost high-speed cameras for information analysis.
Smart Images

Figure CN118570706A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fault detection, and in particular to a method, device and equipment for extracting industrial vibration information based on a common camera. Background Art
[0002] The information measurement and collection stage is the key in the fault diagnosis process, and the work in subsequent stages depends on the information collected in this stage. Since vibration information has the characteristics of universality, sensitivity, and identifiability, analyzing it is an effective way to diagnose faults in rotating machinery. According to whether the measuring instrument contacts the object being measured, the information measurement and collection methods can be divided into two categories, namely contact measurement methods and non-contact measurement methods. With the continuous improvement of science and technology, the measurement accuracy and data transmission speed of sensors are also constantly improving.
[0003] The contact measurement method, which directly contacts the object to be measured, is also a relatively mature method of information measurement and collection. However, the contact measurement method has problems such as inaccurate measurement results, difficulty in application, and high price. At this time, the non-contact measurement method can overcome the above problems.
[0004] Although the current non-contact measurement method of extracting vibration information with a high-speed camera is highly effective, the high cost of high-speed cameras and the complexity of information processing make the vibration information sampling of this type of solution very low cost-effective. Summary of the invention
[0005] The present application provides an industrial vibration information extraction method, device and equipment based on an ordinary camera, which is used to solve the technical problem that the existing technology relies on high-speed cameras to extract vibration information, and the processing process is complex and costly, resulting in low cost-effectiveness in practical applications.
[0006] In view of this, the first aspect of the present application provides an industrial vibration information extraction method based on a common camera, comprising:
[0007] Using a common industrial camera to collect the operation video of the industrial target to be tested, and generating an operation video file, wherein the operation video file includes a frame rate and a duration;
[0008] Perform vibration information sampling and analysis according to the frame rate and the duration to obtain a vibration time series;
[0009] Performing image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning;
[0010] Extracting vibration displacement from the optimized image by comparing it with a reference frame to obtain vibration displacement information;
[0011] The target industrial vibration information of the industrial target to be measured is generated by combining the vibration time series and the vibration displacement information.
[0012] Preferably, the sampling and analyzing of vibration information according to the frame rate and the duration to obtain a vibration time series includes:
[0013] Calculating the video stream sampling frequency according to the frame rate and the preset number of image pixel rows;
[0014] Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval;
[0015] Vibration information sampling and analysis is performed based on the sampling interval and the duration to obtain a vibration time series.
[0016] Preferably, the frame images in the running video file are subjected to image processing based on distortion elimination to obtain an optimized image, and the image processing includes graying, binarization, edge detection and image thinning, including:
[0017] Converting the running video file into frame images;
[0018] After graying the frame image, binarization is performed based on a maximum entropy threshold method to obtain a binary image;
[0019] Performing edge detection analysis on the binary image to obtain an edge enhanced image;
[0020] Performing image thinning processing on the edge enhanced image based on non-zero value point analysis to obtain a thinned enhanced image;
[0021] The refined and enhanced image is subjected to a distortion elimination operation to obtain an optimized image.
[0022] Preferably, the converting the running video file into a frame image further comprises:
[0023] The number of image frames of the running video file is calculated according to the frame rate and the duration.
[0024] Preferably, performing edge detection analysis on the binary image to obtain an edge enhanced image includes:
[0025] Using a Gaussian filter to perform Gaussian smoothing on the binary image to obtain a filtered image;
[0026] Performing edge enhancement by calculating pixel amplitude and direction of the filtered image to obtain a pixel enhanced image;
[0027] The sampling double threshold method and the false edge suppression method are used to perform edge detection on the pixel enhanced image to obtain an edge enhanced image.
[0028] The second aspect of the present application provides an industrial vibration information extraction device based on a common camera, comprising:
[0029] A video sampling unit, used to collect the operation video of the industrial target to be tested using a common industrial camera, and generate an operation video file, wherein the operation video file includes a frame rate and a duration;
[0030] A sampling and analysis unit, used to perform sampling and analysis of vibration information according to the frame rate and the duration to obtain a vibration time series;
[0031] An image processing unit, used for performing image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning;
[0032] a displacement extraction unit, configured to extract vibration displacement from the optimized image by comparing it with a reference frame to obtain vibration displacement information;
[0033] The information generating unit is used for generating target industrial vibration information of the industrial target to be measured by a user by combining the vibration time series and the vibration displacement information.
[0034] Preferably, the sampling and analysis unit is specifically used for:
[0035] Calculating the video stream sampling frequency according to the frame rate and the preset number of image pixel rows;
[0036] Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval;
[0037] Vibration information sampling and analysis is performed based on the sampling interval and the duration to obtain a vibration time series.
[0038] Preferably, the image processing unit comprises:
[0039] An image conversion subunit, used for converting the running video file into a frame image;
[0040] A preprocessing subunit, configured to perform a grayscale process on the frame image and then perform a binarization process based on a maximum entropy threshold method to obtain a binary image;
[0041] An edge detection subunit, used for performing edge detection analysis on the binary image to obtain an edge enhanced image;
[0042] An image thinning subunit, configured to perform image thinning processing on the edge enhanced image based on a non-zero value point analysis method to obtain a thinned enhanced image;
[0043] The distortion elimination subunit is used to perform a distortion elimination operation on the refined enhanced image to obtain an optimized image.
[0044] Preferably, the edge detection subunit is specifically used for:
[0045] Using a Gaussian filter to perform Gaussian smoothing on the binary image to obtain a filtered image;
[0046] Performing edge enhancement by calculating pixel amplitude and direction of the filtered image to obtain a pixel enhanced image;
[0047] The sampling double threshold method and the false edge suppression method are used to perform edge detection on the pixel enhanced image to obtain an edge enhanced image.
[0048] A third aspect of the present application provides an industrial vibration information extraction device based on a common camera, the device comprising a processor and a memory;
[0049] The memory is used to store program code and transmit the program code to the processor;
[0050] The processor is used to execute the industrial vibration information extraction method based on a common camera described in the first aspect according to the instructions in the program code.
[0051] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0052] In the present application, a method for extracting industrial vibration information based on an ordinary camera is provided, including: using an ordinary industrial camera to collect an operating video of an industrial target to be tested, generating an operating video file, the operating video file including a frame rate and a duration; performing vibration information sampling and analysis according to the frame rate and the duration to obtain a vibration time series; performing image processing based on distortion elimination on frame images in the operating video file to obtain an optimized image, the image processing including graying, binarization, edge detection and image refinement; performing vibration displacement extraction on the optimized image by comparing it with a reference frame to obtain vibration displacement information; and generating target industrial vibration information of the industrial target to be tested by combining the vibration time series and the vibration displacement information.
[0053] The industrial vibration information extraction method based on ordinary cameras provided in this application analyzes the time series of vibration information sampling based on the imaging characteristics of ordinary industrial cameras, improves the sampling frequency, and can meet most of the industrial vibration information extraction needs; in addition, image processing technology is combined to extract vibration displacement information, and the target industrial vibration information can be generated based on the time series and vibration displacement. This process does not rely on high-speed cameras with complex information analysis and high costs. The operation process is simple and easy to execute, and can meet the actual information extraction requirements. Therefore, this application can solve the technical problem that the existing technology relies on high-speed cameras to extract vibration information, which has a complex processing process and high cost, resulting in low cost-effectiveness in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a process of extracting industrial vibration information based on a common camera provided in an embodiment of the present application;
[0055] Figure 2 A schematic diagram of the structure of an industrial vibration information extraction device based on a common camera provided in an embodiment of the present application;
[0056] Figure 3 Schematic diagram of the marker and the industrial target marker to be tested provided in the embodiment of the present application;
[0057] Figure 4 A schematic diagram of the image processing process of a frame image provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of image comparison before and after edge detection processing provided in an embodiment of the present application;
[0059] Figure 6 A time domain waveform diagram of the vibration of a faulty fan provided in the application example of this application;
[0060] Figure 7 This is a frequency domain waveform diagram of the vibration of a faulty fan provided in the application example of this application. DETAILED DESCRIPTION
[0061] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0062] For easier understanding, see Figure 1 , an embodiment of the industrial vibration information extraction method based on a common camera provided by the present application includes:
[0063] Step 101: Use a common industrial camera to capture an operating video of the industrial target to be tested, and generate an operating video file, which includes a frame rate and duration.
[0064] It should be noted that the imaging characteristics of the rolling shutter of an ordinary industrial camera can greatly increase the sampling frequency of the one-dimensional vibration information of a low-cost camera in the horizontal direction. In the actual vibration information collection process, it is difficult to directly obtain the appropriate sampling interval and sampling frequency, and this embodiment determines the sampling-related information based on parameter calculation.
[0065] When an ordinary industrial camera obtains the running video of the industrial target to be tested, the duration and frame rate of the video can be determined from the running video file. This information can reflect the parameters of the video acquisition process containing vibration information and can be used for subsequent analysis and calculation.
[0066] Step 102: Perform vibration information sampling and analysis according to the frame rate and duration to obtain a vibration time series.
[0067] Furthermore, step 102 includes:
[0068] Calculate the video stream sampling frequency according to the frame rate and the number of preset image pixel rows;
[0069] Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval;
[0070] Vibration information sampling and analysis is performed based on sampling interval and duration to obtain a vibration time series.
[0071] The frame rate of the running video file is expressed as , the duration is expressed as , and the number of preset image pixel rows can be expressed as , then the video sampling frequency of the running video file It can be calculated as:
[0072]
[0073] Then the sampling interval It can be expressed as:
[0074]
[0075] Take 0 as the starting time, is the sampling time step, is the termination time, then based on this information, the time series of vibration information sampling in the video file, that is, the vibration time series, can be determined.
[0076] In addition, in order to prove the superiority of using ordinary industrial cameras to determine the vibration time series in the embodiment of the present application, an example is given, taking a low-cost ordinary industrial camera as an example, the common resolution is 2592×1944, that is, the maximum number of pixel rows that can be contained in the image The maximum frame rate in video capture mode is 1944 lines. If the sampling frequency is 24fps, then the sampling frequency can be regarded as 46.6kHz. In principle, the vibration information of the object with an upper limit of vibration frequency not higher than 23.3kHz can be collected without distortion. This data basically meets the requirements for collecting vibration information of high-frequency vibration objects. Compared with the sampling frequency of ordinary cameras and high-speed cameras improved by this method, the frame rate of high-speed cameras is mostly below 10000fps. Since high-speed cameras mostly use global exposure technology, their sampling frequency can be regarded as equivalent to the frame rate; therefore, the sampling frequency of ordinary cameras is higher than that of high-speed cameras. From the cost point of view, taking a high-speed camera with a frame rate of 6000fps as an example, its price is about 7000 yuan, which is almost 10 times the price of ordinary cameras, and its sampling frequency is only 6000Hz. It can be seen that for one-dimensional vibration information in the horizontal direction, the use of rolling shutter can greatly improve the sampling frequency of ordinary industrial cameras, even higher than the acquisition frequency of some high-speed cameras.
[0077] Step 103: performing image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image. The image processing includes graying, binarization, edge detection and image thinning.
[0078] Furthermore, step 103 includes:
[0079] Convert running video files into frame images;
[0080] After graying the frame image, it is binarized based on the maximum entropy threshold method to obtain a binary image;
[0081] Perform edge detection analysis on the binary image to obtain an edge enhanced image;
[0082] Performing image refinement processing on the edge enhanced image based on the non-zero value point analysis method to obtain a refined enhanced image;
[0083] The refined enhanced image is subjected to distortion elimination operation to obtain an optimized image.
[0084] Furthermore, converting the running video file into frame images also includes:
[0085] Calculate the number of image frames of the running video file based on the frame rate and duration.
[0086] Furthermore, edge detection analysis is performed on the binary image to obtain an edge enhanced image, including:
[0087] The binary image is subjected to Gaussian smoothing by using a Gaussian filter to obtain a filtered image;
[0088] Edge enhancement is performed by calculating the pixel amplitude and direction of the filtered image to obtain a pixel enhanced image;
[0089] The sampling double threshold method and the false edge suppression method are used to detect the edge of the pixel enhanced image to obtain the edge enhanced image.
[0090] It should be noted that in the field of visual measurement, using artificial markers as the target markers can improve the system recognition and thus improve the measurement efficiency. Figure 3 The markers shown on the left are used to mark the industrial targets to be measured. Figure 3 The right side shows a marker attached to the surface of the industrial target to be measured. When the industrial target to be measured is in a vibrating state, the position of the marker in each pixel row at each exposure start time is recorded through image processing and analysis technology, and its displacement trajectory and relevant vibration information of the measured object can be obtained at the same time. This embodiment determines the vibration information of the industrial target to be measured based on this principle.
[0091] In addition, the running video file is converted into a frame image. The frame image contains vibration information, so it is also called a vibration information image. Figure 4 , the frame image undergoes grayscale, binarization, edge detection, image thinning and distortion elimination processing, and the corresponding optimized image can be obtained; each frame image can obtain the corresponding optimized image. In addition, based on the frame rate and duration, the number of frames contained in the running video file can also be calculated, that is, the number of image frames. The specific calculation process is:
[0092]
[0093] in, is the number of image frames.
[0094] Furthermore, converting the running video file into frame images also includes:
[0095] Calculate the number of image frames of the running video file based on the frame rate and duration.
[0096] Specifically, the grayscale processing can be implemented based on the existing theoretical algorithm, and the specific theoretical algorithm selection is not limited here. The binarization processing can be implemented based on the maximum entropy threshold method, and the total entropy of the image is expressed as:
[0097]
[0098] in, , The reasoning process is as follows:
[0099] Assume that the threshold u divides the image into target O and background B, then the probability distribution of the two can be expressed as:
[0100]
[0101]
[0102] The entropy of an image with grayscale values ranging from 0, 1, ..., L-1 is defined as ; In the formula It indicates the probability that the pixel with gray value i occupies the entire image. and .in , the entropy of the target O and the background B can be expressed as:
[0103]
[0104]
[0105] The threshold u corresponding to the maximum value of the total entropy of the image is the optimal threshold U. The grayscale image is binarized according to the optimal threshold U. It can be understood that the values of the pixels in the binary image are still between 0 and 255, but most of them are close to 0 or 255. It can be seen from the binary image obtained by binarization that the feature information of the image is retained, which is more conducive to the subsequent vibration information extraction.
[0106] The edge detection analysis of this embodiment is mainly to enhance the edge of the image. First, the binary image is subjected to Gaussian filtering, which can effectively filter out the noise in the image; then the edge in the image is enhanced by calculating the amplitude and direction of the image pixels; finally, the enhanced edge is detected, and in order to avoid errors, false edges need to be suppressed. The high threshold in the double threshold method is expressed as , the low threshold is expressed as For specific images before and after edge enhancement, please refer to Figure 5 .
[0107] For the data matrix of the edge enhanced image, we can traverse and search based on each row, find all the non-zero value points in each row, and record the position data of the non-zero value points in each row as points ,point ; Secondly, the location data is Set the pixel value of the point to 255, and ,point The pixel value is set to 0; by traversing all the rows in the data matrix, the image thinning process can be completed.
[0108] It should be noted that for the distortion elimination process, since the running video file containing vibration information comes from the same camera, and the vibration information comes from the same video, and the camera and other factors mentioned above are not changed during the video recording process, it can be considered that the distortion of each frame image in the video is consistent. On this basis, this embodiment obtains the frame image in the video by frame decomposition, and then based on the principle of consistent distortion of frame images, all frame refinement and enhancement images can be synchronously subjected to distortion elimination processing; the obtained image frame is not affected by distortion, and vibration information can be extracted based on this optimized image.
[0109] Step 104 : extract vibration displacement from the optimized image by comparing it with the reference frame to obtain vibration displacement information.
[0110] It can be understood that in the vibration time series, each frame of the optimized image corresponds to a specific time. By comparing these optimized images with the reference frame, the displacement deviation between the images at different times and the reference frame can be determined, and this is the vibration displacement information. The reference frame can be selected according to the actual situation. The reference frame selected in this embodiment is the initial frame of the video, that is, the first frame image. All subsequent optimized images are compared with the first frame optimized image to extract the corresponding vibration displacement information and determine the degree of deviation between the corresponding image at each moment and the initial moment, that is, the vibration displacement information.
[0111] Step 105: Generate target industrial vibration information of the industrial target to be measured by combining the vibration time series and the vibration displacement information.
[0112] It can be understood that the extraction process of vibration displacement information is based on time series, so the target industrial vibration information generated is vibration information in the time domain, that is, time domain vibration information. This information can be used for industrial mechanical equipment fault detection and analysis tasks, providing more accurate and reliable data information for fault detection and analysis personnel.
[0113] For ease of understanding, the industrial vibration information extraction method based on ordinary cameras in this application can be applied to specific mechanical equipment fault identification. As a relatively common type of rotating mechanical equipment, fans are widely used in ventilation, heat dissipation and other fields. The reasons for the failure of the fan are often due to deformation or loosening of its components due to external influences, such as wear, corrosion or attachment of foreign matter to the fan blades, which causes a certain eccentricity between the center of mass of the fan rotor system and the center of rotation. In addition, there are other causes of failure such as collision and friction between the fan blades and the static structure of the fan, and loose base of the fan. When these failures occur during the operation of the fan, they are often accompanied by abnormal vibrations. The fan is operated at different speeds under the fault type, and the vibration data of the fan under various working conditions is obtained.
[0114] The specific operation is as follows: first, turn on the power supply and adjust the input power so that the speed of the fan reaches the designed target value. Secondly, set the ROI through the industrial camera control software in the industrial computer, determine the frame height to be 400 pixels, make the markers all within the ROI, and make the markers cover the entire screen in the vertical direction to avoid invalid information of non-markers in the vibration information area. Set the video acquisition frame rate to 70fps through the software, that is, the sampling frequency is 28kHz, and turn on the lighting equipment, adjust the focal length and aperture of the optical lens until the marker can be clearly displayed in the control software screen. Then, control the industrial camera through the industrial computer to record the video of the test object, which contains the vibration information of the marker of the fan under a certain working condition. When the recording time meets the target duration, stop recording and save the video file, and then start recording again. Repeat this process until 3 video files are obtained. Then use the computer to remotely control the industrial computer to transfer the video file to the computer. Then, the computer decomposes the video file frame by frame and performs image segmentation, and inputs the segmented vibration information image into the corresponding industrial vibration information extraction method module for processing, thereby obtaining the time domain vibration information of the fan in the video. Finally, the input power of the power supply is adjusted to change the speed state of the fan, and the above steps are repeated until the vibration information of the fan fault type is collected.
[0115] A simple Fourier transform of the time-domain vibration information can yield the corresponding frequency-domain vibration information. Figure 6 and Figure 7 , the time domain waveform and spectrum obtained when the fan is missing a blade can be compared and analyzed based on the rotation frequency. Among them, the information displayed in the spectrum is the frequency domain information of the first 220Hz. Specifically, the fan rotates at a speed of 1500rpm when it is in the fault type of missing a blade; Figure 6 It can be seen that the maximum vibration amplitude of the fan collected by the algorithm does not exceed 3 pixel units, and the corresponding theoretical rotation frequency is 25Hz. Taking this rotation frequency as the base frequency, Figure 7 It can be seen that the amplitude is the largest near the 1 times frequency of the fundamental frequency of 25.1073 Hz, which is consistent with the frequency domain characteristics of rotor unbalance fault.
[0116] The industrial vibration information extraction method based on an ordinary camera provided in the embodiment of the present application analyzes the time series of vibration information sampling based on the imaging characteristics of an ordinary industrial camera, thereby increasing the sampling frequency and meeting most of the industrial vibration information extraction requirements. In addition, the vibration displacement information is extracted by combining image processing technology, and the target industrial vibration information can be generated based on the time series and vibration displacement. This process does not rely on high-speed cameras with complex information analysis and high costs, and the operation process is simple and easy to execute, which can meet the actual information extraction requirements. Therefore, the embodiment of the present application can solve the technical problem that the prior art relies on high-speed cameras to extract vibration information, which has a complex processing process and high cost, resulting in a low cost-effectiveness in actual applications.
[0117] For easier understanding, see Figure 2 , the present application provides an embodiment of an industrial vibration information extraction device based on a common camera, including:
[0118] The video sampling unit 201 is used to collect the operation video of the industrial target to be tested by using a common industrial camera to generate an operation video file, and the operation video file includes a frame rate and duration;
[0119] The sampling and analysis unit 202 is used to perform sampling and analysis of vibration information according to the frame rate and duration to obtain a vibration time series;
[0120] An image processing unit 203 is used to perform image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning;
[0121] The displacement extraction unit 204 is used to extract the vibration displacement of the optimized image by comparing it with the reference frame to obtain vibration displacement information;
[0122] Information generating unit 205, the user generates target industrial vibration information of the industrial target to be measured by combining the vibration time series and the vibration displacement information.
[0123] Furthermore, the sampling and analysis unit 202 is specifically configured to:
[0124] Calculate the video stream sampling frequency according to the frame rate and the number of preset image pixel rows;
[0125] Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval;
[0126] Vibration information sampling and analysis is performed based on sampling interval and duration to obtain a vibration time series.
[0127] Furthermore, the image processing unit 203 includes:
[0128] The image conversion subunit 2031 is used to convert the running video file into a frame image;
[0129] The preprocessing subunit 2032 is used to perform a binarization process on the frame image based on a maximum entropy threshold method after grayscale processing to obtain a binary image;
[0130] The edge detection subunit 2033 is used to perform edge detection analysis on the binary image to obtain an edge enhanced image;
[0131] An image thinning subunit 2034 is used to perform image thinning processing on the edge enhanced image based on a non-zero value point analysis method to obtain a thinned enhanced image;
[0132] The distortion elimination subunit 2035 is used to perform a distortion elimination operation on the refined enhanced image to obtain an optimized image.
[0133] Furthermore, the edge detection subunit 2033 is specifically used for:
[0134] The binary image is subjected to Gaussian smoothing by using a Gaussian filter to obtain a filtered image;
[0135] Edge enhancement is performed by calculating the pixel amplitude and direction of the filtered image to obtain a pixel enhanced image;
[0136] The sampling double threshold method and the false edge suppression method are used to detect the edge of the pixel enhanced image to obtain the edge enhanced image.
[0137] The present application also provides an industrial vibration information extraction device based on a common camera, the device including a processor and a memory;
[0138] The memory is used to store the program code and transmit the program code to the processor;
[0139] The processor is used to execute the industrial vibration information extraction method based on a common camera in the above method embodiment according to the instructions in the program code.
[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0141] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the method described in each embodiment of the present application through a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0144] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. The industrial vibration information extraction method based on ordinary camera is characterized by: include: Using a common industrial camera to collect the running video of the industrial target to be tested, and generating a running video file, wherein the running video file includes a frame rate and a duration; Perform vibration information sampling and analysis according to the frame rate and the duration to obtain a vibration time series; Performing image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning; Extracting vibration displacement from the optimized image by comparing it with a reference frame to obtain vibration displacement information; The target industrial vibration information of the industrial target to be measured is generated by combining the vibration time series and the vibration displacement information.
2. The method for extracting industrial vibration information based on a common camera according to claim 1, characterized in that: The sampling and analysis of vibration information according to the frame rate and the duration to obtain a vibration time series includes: Calculating the video stream sampling frequency according to the frame rate and the preset number of image pixel rows; Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval; Vibration information sampling and analysis is performed based on the sampling interval and the duration to obtain a vibration time series.
3. The method for extracting industrial vibration information based on a common camera according to claim 1 is characterized in that: The step of performing image processing based on distortion elimination on the frame image in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning, including: Converting the running video file into frame images; After graying the frame image, binarization is performed based on a maximum entropy threshold method to obtain a binary image; Performing edge detection analysis on the binary image to obtain an edge enhanced image; Performing image thinning processing on the edge enhanced image based on non-zero value point analysis to obtain a thinned enhanced image; The refined and enhanced image is subjected to a distortion elimination operation to obtain an optimized image.
4. The method for extracting industrial vibration information based on a common camera according to claim 3 is characterized in that: The step of converting the running video file into a frame image further includes: The number of image frames of the running video file is calculated according to the frame rate and the duration.
5. The method for extracting industrial vibration information based on a common camera according to claim 3 is characterized in that: The performing edge detection analysis on the binary image to obtain an edge enhanced image includes: Using a Gaussian filter to perform Gaussian smoothing on the binary image to obtain a filtered image; Performing edge enhancement by calculating pixel amplitude and direction of the filtered image to obtain a pixel enhanced image; The sampling double threshold method and the false edge suppression method are used to perform edge detection on the pixel enhanced image to obtain an edge enhanced image.
6. An industrial vibration information extraction device based on a common camera, characterized in that: include: A video sampling unit, used to collect the operation video of the industrial target to be tested using a common industrial camera, and generate an operation video file, wherein the operation video file includes a frame rate and a duration; A sampling and analysis unit, used to perform sampling and analysis of vibration information according to the frame rate and the duration to obtain a vibration time series; An image processing unit, used for performing image processing based on distortion elimination on the frame images in the running video file to obtain an optimized image, wherein the image processing includes graying, binarization, edge detection and image thinning; a displacement extraction unit, configured to extract vibration displacement from the optimized image by comparing it with a reference frame to obtain vibration displacement information; The information generating unit is used for generating target industrial vibration information of the industrial target to be measured by a user by combining the vibration time series and the vibration displacement information.
7. The industrial vibration information extraction device based on a common camera according to claim 6 is characterized in that: The sampling and analysis unit is specifically used for: Calculating the video stream sampling frequency according to the frame rate and the preset number of image pixel rows; Determine the video sampling interval according to the frequency sampling frequency to obtain the sampling interval; Vibration information sampling and analysis is performed based on the sampling interval and the duration to obtain a vibration time series.
8. The industrial vibration information extraction device based on a common camera according to claim 6 is characterized in that: The image processing unit comprises: An image conversion subunit, used for converting the running video file into a frame image; A preprocessing subunit, configured to perform a grayscale process on the frame image and then perform a binarization process based on a maximum entropy threshold method to obtain a binary image; An edge detection subunit, used for performing edge detection analysis on the binary image to obtain an edge enhanced image; An image thinning subunit, configured to perform image thinning processing on the edge enhanced image based on a non-zero value point analysis method to obtain a thinned enhanced image; The distortion elimination subunit is used to perform a distortion elimination operation on the refined enhanced image to obtain an optimized image.
9. The industrial vibration information extraction device based on a common camera according to claim 8 is characterized in that: The edge detection subunit is specifically used for: Using a Gaussian filter to perform Gaussian smoothing on the binary image to obtain a filtered image; Performing edge enhancement by calculating pixel amplitude and direction of the filtered image to obtain a pixel enhanced image; The sampling double threshold method and the false edge suppression method are used to perform edge detection on the pixel enhanced image to obtain an edge enhanced image.
10. Industrial vibration information extraction equipment based on ordinary camera, characterized in that: The device comprises a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the industrial vibration information extraction method based on a common camera according to any one of claims 1 to 5 according to the instructions in the program code.
Citation Information
Patent Citations
Non-contact real-time online vibration measurement method based on images
CN104048744A
Edge detection method
CN106327464A
