Hydraulic system oil leakage detection method, device and equipment
By calculating the contrast of the target detection area and the color value in the reference image, the oil leakage area of the hydraulic system is identified, which solves the accuracy and timeliness problems of hydraulic oil leakage detection in the existing technology and realizes the normal operation of the hydraulic system.
Patent Information
- Application Number
- CN201911342641.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-02-17
AI Technical Summary
The existing technology cannot accurately and timely detect hydraulic oil leakage faults in the hydraulic pitch system, causing the system to fail to operate normally.
By obtaining the contrast acquisition image and the reference acquisition image of the target detection area, the color value of each pixel is determined, the reflectivity of the target light band is calculated, and the oil leakage area is identified.
It achieves accurate identification and real-time detection of colorless or light yellow liquid oil leakage areas, avoids the limitation of manual detection cycle, and ensures timely fault detection of the hydraulic system.
Smart Images

Figure CN113095114B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of detection technology, and in particular relates to a method, device and equipment for detecting oil leakage in a hydraulic system. Background Art
[0002] With the development of wind power technology, hydraulic pitch systems have been applied in large-capacity wind turbines. Among the various faults that may occur in hydraulic pitch systems, hydraulic oil leakage is a type of fault that occurs frequently and is difficult to detect.
[0003] At present, the hydraulic oil leakage fault of the hydraulic pitch system can only be manually detected by operation and maintenance engineers. Due to the long period of manual detection, it is impossible to accurately and timely detect the oil leakage in the detection area corresponding to the hydraulic pitch system, resulting in the inability to timely detect the hydraulic oil leakage fault of the hydraulic pitch system, causing the hydraulic pitch system to be unable to operate normally.
[0004] Figure 1 This is a schematic diagram of the structure of an existing wind turbine generator set. Figure 1 As shown, when a hydraulic oil leakage fault occurs in the hydraulic pitch system, the hydraulic oil will leak onto the floor 110 of the cabin to form an oil leakage area 130. Since the hydraulic oil is a colorless or light yellow transparent liquid and has no obvious color, the oil leakage area 130 will only reflect the color of the floor 110, the hydraulic pitch system 120, or the surrounding walls of the cabin. For example, if the floor 110 is gray and the hydraulic pitch system 120 is blue, then the oil leakage area 130 will appear gray-blue. In addition, due to the transparent characteristics of the hydraulic oil, the color of the oil leakage area 130 is close to that of the floor 110, so that the existing image recognition method cannot accurately identify the boundary of the oil leakage area 130, and thus cannot accurately identify the oil leakage area and the amount of oil leakage. Summary of the invention
[0005] The embodiments of the present invention provide a method, device and equipment for detecting oil leakage in a hydraulic system, which can accurately and timely find the oil leakage area in the target detection area.
[0006] In a first aspect, an embodiment of the present invention provides a method for detecting oil leakage in a hydraulic system, comprising:
[0007] Obtaining a comparison acquisition image and a reference acquisition image corresponding to the target detection area;
[0008] Determine a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image;
[0009] Determine the reflectivity of the target light band corresponding to each pixel in the contrast collected image according to the determined first color value and second color value;
[0010] According to the determined reflectivity of the target light band, a target image area is identified in the comparison acquisition image; wherein the target image area is an image area corresponding to the oil leakage area in the target detection area.
[0011] In a second aspect, an embodiment of the present invention provides a hydraulic system oil leakage detection device, comprising:
[0012] An image acquisition module is used to acquire a comparison acquisition image and a reference acquisition image corresponding to the target detection area;
[0013] A color value determination module, used to determine a first color value corresponding to each pixel in the comparison acquisition image and a second color value corresponding to each pixel in the reference acquisition image;
[0014] A reflectivity determination module, used to determine the reflectivity of the target light band corresponding to each pixel in the contrast collection image according to the determined first color value and second color value;
[0015] The area recognition module is used to identify the target image area in the comparison acquisition image according to the determined reflectivity of the target light band; wherein the target image area is the image area corresponding to the oil leakage area in the target detection area.
[0016] In a third aspect, an embodiment of the present invention provides a hydraulic system oil leakage detection device, the device comprising: a processor and a memory storing computer program instructions;
[0017] When the processor executes the computer program instructions, the hydraulic system oil leakage detection method as described in the first aspect is implemented.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the hydraulic system oil leakage detection method as described in the first aspect is implemented.
[0019] In a fifth aspect, an embodiment of the present invention provides a hydraulic system oil leakage detection system, comprising:
[0020] An image acquisition device, used to acquire a comparison acquisition image and a reference acquisition image corresponding to the target detection area;
[0021] The hydraulic system oil leakage detection device is communicatively connected with the image acquisition device, and is used for acquiring a comparison acquisition image and a reference acquisition image; determining a first color value corresponding to each pixel in the comparison acquisition image and a second color value corresponding to each pixel in the reference acquisition image; determining a target light band reflectivity corresponding to each pixel in the comparison acquisition image according to the determined first color value and second color value; identifying a target image area in the comparison acquisition image according to the determined target light band reflectivity; wherein the target image area is an image area corresponding to an oil leakage area in a target detection area.
[0022] The method, device and apparatus for detecting oil leakage in a hydraulic system according to the embodiment of the present invention can first obtain a contrast acquisition image and a reference acquisition image corresponding to a target detection area, then determine a first color value corresponding to each pixel in the contrast acquisition image and a second color value corresponding to each pixel in the reference acquisition image, and determine a target light band reflectivity corresponding to each pixel in the contrast acquisition image according to the determined first color value and second color value, thereby identifying a target image area corresponding to an oil leakage area in the target detection area in the contrast acquisition image according to the determined target light band reflectivity. Since the embodiment of the present invention can detect an oil leakage area in the target detection area using a contrast acquisition image and a reference acquisition image corresponding to the target detection area, the oil leakage area in the target detection area can be detected in real time without being limited by a detection cycle, and at the same time, the oil leakage area with colorless or light yellow liquid can be more accurately identified using the target light band reflectivity, so the embodiment of the present invention can accurately and timely find an oil leakage area in the target detection area. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 It is a structural schematic diagram of an existing wind turbine generator set;
[0025] Figure 2 It is a flow chart of a method for detecting oil leakage in a hydraulic system provided by one embodiment of the present invention;
[0026] Figure 3 It is a structural schematic diagram of a hydraulic system oil leakage detection device provided by an embodiment of the present invention;
[0027] Figure 4 It is a hardware structure diagram of a hydraulic system oil leakage detection device provided by an embodiment of the present invention;
[0028] Figure 5It is a structural schematic diagram of a hydraulic system oil leakage detection system provided by an embodiment of the present invention;
[0029] Figure 6 It is a system architecture diagram of a hydraulic system oil leakage detection system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0031] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0032] With the development of wind power technology, hydraulic pitch systems have been applied in large-capacity wind turbines. Among the various faults that may occur in hydraulic pitch systems, hydraulic oil leakage is a type of fault that occurs frequently and is difficult to detect.
[0033] At present, the hydraulic oil leakage fault of the hydraulic pitch system can only be manually detected by operation and maintenance engineers. Due to the long period of manual detection, it is impossible to accurately and timely detect the oil leakage in the detection area corresponding to the hydraulic pitch system, resulting in the inability to timely detect the hydraulic oil leakage fault of the hydraulic pitch system, causing the hydraulic pitch system to be unable to operate normally.
[0034] In order to detect hydraulic oil leakage as early as possible and avoid large-scale oil leakage, it is necessary to develop a hydraulic system oil leakage detection system for the hydraulic pitch system.
[0035] The following first introduces the hydraulic system oil leakage detection method provided by the embodiment of the present invention.
[0036] Figure 2 A schematic flow chart of a method for detecting oil leakage in a hydraulic system provided in one embodiment of the present invention is shown. Figure 2 The hydraulic system oil leakage detection method shown can be used to Figure 1 The oil leakage area 130 on the floor 110 of the cabin of the wind turbine generator set shown in the figure is detected, and other liquid leakage areas without obvious color can also be detected, which is not limited here. Figure 2 The hydraulic system oil leakage detection method can be performed by a hydraulic system oil leakage detection device, which can be a server or electronic device with image processing function to detect the oil leakage of the hydraulic system. Figure 1 Taking the oil leakage detection of the hydraulic pitch system 120 of the wind turbine generator set as an example, the hydraulic system oil leakage detection equipment can be arranged in the cabin of the wind turbine generator set, and can also be arranged in the central control room of the wind turbine generator set.
[0037] In the embodiment of the present invention, the server may be a high-performance electronic calculator for storing and processing data, and the electronic device may specifically be a tablet computer, a desktop computer, a mobile phone, etc.
[0038] like Figure 2 As shown, the hydraulic system oil leakage detection method may include:
[0039] S210, acquiring a comparison acquisition image and a reference acquisition image corresponding to the target detection area;
[0040] S220, determining a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image;
[0041] S230, determining the reflectivity of the target light band corresponding to each pixel in the contrast collection image according to the determined first color value and second color value;
[0042] S240, identifying a target image area in the comparison acquisition image according to the determined reflectivity of the target light band; wherein the target image area is an image area corresponding to the oil leakage area in the target detection area.
[0043] Since the embodiment of the present invention can detect the oil leakage area in the target detection area by using the comparison acquisition image and the reference acquisition image corresponding to the target detection area, the oil leakage area in the target detection area can be detected in real time without being limited by the detection cycle. At the same time, the oil leakage area with colorless or light yellow liquid can be more accurately identified by using the reflectivity of the target light band. Therefore, the embodiment of the present invention can accurately and timely find the oil leakage area in the target detection area.
[0044] In some embodiments of the present invention, the target detection area may be a partial area of the bottom surface of the cabin corresponding to the junction of the oil pipeline, wherein the orthographic projection of the junction toward the bottom surface of the cabin is located within the target detection area. In other embodiments of the present invention, if multiple oil pipelines are staggered up and down, the target detection area may also be an area where the pipeline is located directly below the junction of the oil pipeline, wherein the orthographic projection of the junction toward the bottom surface of the cabin is located within the target detection area. In other embodiments of the present invention, if an obstruction is provided below the oil pipeline, the target detection area may also be a partial area on the surface of the obstruction relative to the oil pipeline, wherein the orthographic projection of the junction toward the bottom surface is located within the target detection area.
[0045] In other embodiments of the present invention, the target detection area may also be located at other locations, as long as it is a location where the hydraulic oil or liquid can be retained when it leaks.
[0046] In S210 of some embodiments of the present invention, the hydraulic system oil leakage detection device can obtain the comparison acquisition image and the reference acquisition image of the target detection area through an image acquisition device. The image acquisition device can be a video camera or a camera, which is not limited here.
[0047] Specifically, the comparison acquisition image may be an acquisition image of the target detection area at the current moment, and the reference acquisition image may be an acquisition image of the target detection area in a pre-stored oil leakage-free area. The comparison acquisition image may be acquired once at a preset time interval.
[0048] Optionally, the preset time interval may be 10 seconds, so that the image acquisition device can ensure timely detection of the oil leakage with less image processing.
[0049] In S210 of other embodiments of the present invention, the hydraulic system oil leakage detection equipment can obtain a collection image sequence of the target detection area through an image acquisition device, and then use a similarity algorithm to identify the agitation of the collection image based on the transparent characteristics of the hydraulic oil, so as to screen out comparison collection images and reference collection images in the collection image sequence, so as to reduce the image processing amount of the hydraulic system oil leakage detection equipment and improve the image processing efficiency.
[0050] In these embodiments, optionally, the specific method of S210 may include:
[0051] Acquire a collection image sequence corresponding to the target detection area; wherein the collection image sequence includes a plurality of collection images that are continuous at collection times;
[0052] For every two adjacent collected images at the collection time, the image similarity between the later collected image and the earlier collected image is calculated to obtain an image similarity sequence;
[0053] According to the image similarity sequence, a comparison acquisition image and a reference acquisition image are selected in the acquisition image sequence.
[0054] In these embodiments, the hydraulic system oil leakage detection device can obtain a captured image sequence corresponding to the target detection area through an image acquisition device. The image acquisition device can be a video camera or a camera, which is not limited here.
[0055] There is a preset time interval between every two adjacent acquisition moments. Optionally, the preset time interval may be 10 seconds, so that the image acquisition device can ensure timely detection of oil leakage with less image processing.
[0056] In an embodiment of the present invention, there may be multiple methods for calculating the image similarity between a later acquired image and a previous acquired image in two acquired images. For example, each acquired image may be represented as a vector, and the image similarity between the later acquired image and the previous acquired image may be characterized by calculating the cosine distance between the vector corresponding to the later acquired image and the vector corresponding to the online acquired image. For another example, a sliding window of a preset shape may be set, and then each acquired image may be divided into a plurality of image regions using the sliding window with a preset step size, and the number of image regions divided into the two acquired images is the same, and then Gaussian weighting is used to calculate the mean, variance, and covariance of each window, and then the structural similarity between the two image regions at the same position is calculated, and finally the average value of the structural similarity is used as the image similarity between the later acquired image and the previous acquired image.
[0057] In some embodiments of the present invention, a specific method for calculating the image similarity between a later acquired image and a previous acquired image in two acquired images may include:
[0058] Determine a first hue histogram corresponding to the subsequently acquired image and a second hue histogram corresponding to the previously acquired image;
[0059] Calculating a histogram similarity between the first hue histogram and the second hue histogram;
[0060] The histogram similarity is used as the image similarity between the later acquired image and the earlier acquired image.
[0061] Among them, hue refers to the hue H under the HSV color space model. Among them, H represents the position of the spectral color, ranging from 0 to 1. Purity S is a proportional value, ranging from 0 to 1, which represents the ratio between the purity of the selected color and the maximum purity of the color. When S=0, there is only grayscale. Lightness V represents the brightness of the color, ranging from 0 to 1.
[0062] Since the cabin environment of a wind turbine generator set is affected by various brightness factors such as day, night, morning, noon, evening, cloudy day, sunny day, etc., in the embodiment of the present invention, the hue H of the collected image can be used to calculate the image similarity.
[0063] Specifically, the method for determining the hue histogram corresponding to the captured image may be:
[0064] The hue of each pixel of the acquired image under the HSV color space model is obtained, and the preset hue range is evenly divided according to the preset number to obtain multiple hue sub-ranges. For example, the range [0,1] is evenly divided into 64 hue sub-ranges. Then, according to the hue of each pixel, the number of pixels corresponding to each hue sub-range is determined. According to the hue sub-ranges and the number of pixels corresponding to each hue sub-range, a hue histogram corresponding to the acquired image is constructed.
[0065] Furthermore, the histogram similarity between the first hue histogram and the second hue histogram may be calculated using a preset similarity calculation formula. The similarity calculation formula may be:
[0066]
[0067] Wherein, H1 is the first hue histogram, H2 is the second hue histogram, d(H1,H2) is the histogram similarity between the first hue histogram and the second hue histogram, I is the I-th hue sub-range in the hue histogram, H1(I) is the number of pixels corresponding to the I-th hue sub-range in the first hue histogram, is the average number of pixels corresponding to each hue sub-range in the first hue histogram, H2(I) is the number of pixels corresponding to the I-th hue sub-range in the second hue histogram, is the average number of pixels corresponding to each hue sub-range in the second hue histogram.
[0068] Taking the first hue histogram as an example, The calculation formula can be:
[0069]
[0070] Wherein, N is the total number of hue sub-ranges in the first hue histogram, 1≤I≤N, and I and N are integers respectively.
[0071] After calculating the image similarities between every two adjacent captured images at the capture time, the image similarities can be arranged according to the order of the captured image sequence to obtain an image similarity sequence.
[0072] In some embodiments of the present invention, a specific method for selecting a comparison acquired image and a reference acquired image in an acquired image sequence according to an image similarity sequence may include:
[0073] If there is a target image similarity less than a preset similarity threshold in the image similarity sequence, the later acquired image of the two acquired images corresponding to the similarity valley in the target image similarity is used as the comparison acquired image, and the earlier acquired image of the two acquired images corresponding to the similarity valley is used as the reference acquired image.
[0074] That is, the preset similarity threshold may be used as the trigger threshold, and whether there is an image whose similarity is less than the preset similarity threshold is first determined, and if so, the similarity valley value in the image similarities of the trigger threshold is further determined.
[0075] In some other embodiments of the present invention, the specific method of selecting the comparison acquired image and the reference acquired image in the acquired image sequence according to the image similarity sequence may also include:
[0076] Determine a similarity valley in an image similarity sequence;
[0077] When the similarity valley value is less than the preset similarity threshold, the later acquired image of the two acquired images corresponding to the similarity valley value is used as the comparison acquired image, and the earlier acquired image of the two acquired images corresponding to the similarity valley value is used as the reference acquired image.
[0078] That is, the preset similarity threshold may be used as a trigger threshold, and the similarity valley value in the image similarity sequence is first determined, and then it is determined whether the similarity valley value is less than the preset similarity threshold value.
[0079] In the embodiment of the present invention, the range of image similarity is [0,1]. When the image similarity is 1, the two captured images are exactly the same. The smaller the image similarity, the greater the difference between the two captured images. Specifically, after the target detection area changes from an oil leak area to an oil leak area, the image similarity between the two captured images will become smaller and smaller. When the area of the oil leak area reaches the maximum and only the thickness of the oil leak area increases, the image similarity between the two captured images will become larger and larger. Therefore, in general, in an oil leak process, only one similarity valley value will appear. The two captured images corresponding to the similarity valley value can be used to determine whether there is an oil leak area in the target detection area.
[0080] In other embodiments of the present invention, the later acquired image of the two acquired images corresponding to the similarity valley value may be used as a comparison acquired image, and the acquired image of the target detection area of the oil leakage-free area stored in advance may be used as a reference acquired image. After the comparison acquired image and the reference acquired image are determined by using the image similarity, S220-S240 in the embodiment of the present invention may be executed.
[0081] In S220 of some embodiments of the present invention, the color value refers to the color value under the RGB color space model.
[0082] In these embodiments, optionally, the specific method of S230 can be: taking the light band where the maximum reflectivity of the target detection area is located as the target light band, and then selecting the first color value component and the second color value component corresponding to the target light band from the first color value and the second color value, and calculating the rate of change of the first color value component relative to the second color value component according to the first color value component and the second color value component corresponding to each pixel as the reflectivity of the target light band corresponding to each pixel.
[0083] Among them, for any pixel, the specific method for calculating the change rate of the first color value component relative to the second color value component is: first calculate the color value component difference between the first color value component and the second color value component, and then take the ratio of the color value component difference to the second color value component as the change rate.
[0084] by Figure 1 Taking the oil leakage area 130 shown as an example, the image features of the oil leakage area 130 are analyzed. The image of the oil leakage area 130 includes the oil film, the floor color as the oil film background, and the hydraulic variable pitch system image reflected on the oil film. For different images, several evenly distributed color points are selected respectively, and the reflection spectrum curves of these color points are obtained, so as to analyze and obtain the arrangement rule of reflectivity: oil leakage film reflectivity> floor color reflectivity> hydraulic variable pitch system image reflectivity. Considering that the reflectivity of the oil leakage film will change with the thickness of the oil film, the reflectivity of the hydraulic variable pitch system image will change with the angle of the sun's rays, and the reflectivity of the floor color is the most stable under various conditions, therefore, the light band corresponding to the maximum reflectivity of the floor color is selected, and the spectral response range of this light band is 475nm-485nm, that is, the blue light band is used as the target light band.
[0085] It can be seen that in the embodiment of the present invention, a light band corresponding to the maximum reflectivity of the image of the oil spill area that is not easily affected by other factors can be selected as the target light band.
[0086] In the embodiment of the present invention, a simulation experiment of continuous oil film change can be conducted on the target detection area, and the spectral reflectance data of the standard oil film thickness change can be measured by a spectrometer, wherein the spectral reflectance data includes oil film thickness parameters, reflectance magnitude and spectral response range. Taking the above-mentioned target light band as an example, the spectral response range is 475nm-485nm. Figure 1 Since the thickness of the oil film in the oil leaking area 130 on the cabin floor 110 is estimated to depend on the cabin environment background reflectivity, considering the optical radiation characteristics of the cabin environment, the spectral response range should be within 380nm-760nm. Therefore, the spectral response range of the target light band meets the requirements.
[0087] In some embodiments of the present invention, the specific method of S240 may include:
[0088] The determined reflectance of the target light band is normalized to obtain the normalized reflectance corresponding to each pixel in the contrast acquisition image, so as to eliminate the influence of the environmental background on the reflectance;
[0089] Identify a target pixel among a plurality of pixels of the compared collected image; wherein a normalized reflectivity corresponding to the target pixel is within a preset reflectivity threshold;
[0090] The image area formed by the identified target pixels is used as the target image area.
[0091] Specifically, after obtaining the reflectivity of the target light band corresponding to each pixel, it is also necessary to eliminate the influence of the cabin environment background color on the reflectivity. Therefore, it is necessary to normalize the reflectivity of the target light band to obtain the normalized reflectivity.
[0092] Specifically, the calculation formula of normalized reflectivity NR is:
[0093]
[0094] Among them, Roil is the reflectivity of the target light band, Rmin is the minimum reflectivity of the target light band measured by the simulation experiment, and Rnacell is the preset cabin background color reflectivity. Specifically, the cabin background color reflectivity can also be obtained using the above-mentioned simulation experiment method, as long as the spectral response range is set to the spectral response range corresponding to the cabin background color.
[0095] After the normalized reflectivity is calculated, the preset reflectivity threshold can be used as the target normalized reflectivity, and the normalized reflectivity corresponding to each pixel of the contrast acquisition image is identified as the target normalized reflectivity, and the pixel whose normalized reflectivity is the target normalized reflectivity is identified as the target pixel, and finally the image area formed by the target pixel is used as the target image area, which is the oil leakage area. Specifically, the preset reflectivity threshold can be set to [0,1].
[0096] In some embodiments of the present invention, after S240, the hydraulic system oil leakage detection method may further include:
[0097] When the target image area is identified, the attenuation coefficient of the target light band is obtained;
[0098] Determine the oil film thickness corresponding to each pixel in the target image area according to the attenuation coefficient of the target light band and the reflectivity of the target light band corresponding to each pixel in the target image area;
[0099] According to the determined oil film thickness, the oil leakage volume corresponding to the target image area is calculated.
[0100] Specifically, before determining the oil film thickness corresponding to each pixel in the target image area, the image area outside the target image area in the contrast acquisition image may be eliminated. Since the image area outside the target image area in the contrast acquisition image may be determined as a shadow or floor of the hydraulic pitch system, the image area outside the target image area in the contrast acquisition image may be eliminated by mask calculation.
[0101] Then, only the target image area is processed, and the oil film thickness corresponding to each pixel in the target image area is determined according to the target light band attenuation coefficient and the target light band reflectivity corresponding to each pixel in the target image area.
[0102] Specifically, the light intensity gradually decays as the length of the penetrating medium increases. Therefore, there is a negative exponential relationship between the reflectivity of the oil film and the thickness of the oil film. The relationship formula is:
[0103] NR=e(-a×d)
[0104]
[0105] Among them, d is the oil film thickness parameter measured by the simulation experiment, and Roil is the reflectivity measured by the simulation experiment. The attenuation coefficient a corresponding to each light band in 475nm-485nm can be estimated according to the relationship formula.
[0106] Then, the target light band reflectivity and the target light band attenuation coefficient corresponding to each pixel in the target image area are input into the above relationship formula to determine the oil film thickness corresponding to each pixel in the target image area. Finally, the oil leakage amount corresponding to the target image area can be calculated based on the oil film thickness corresponding to each pixel.
[0107] Specifically, the oil film thickness corresponding to each pixel in the target image area may be accumulated to obtain the oil leakage amount corresponding to the target image area.
[0108] Figure 3 A schematic structural diagram of a hydraulic system oil leakage detection device provided by an embodiment of the present invention is shown. Figure 3 The hydraulic system oil leakage detection device shown can be used to Figure 1 The oil leakage area 130 on the floor 110 of the cabin of the wind turbine generator set shown in the figure is detected, and other liquid leakage areas without obvious color can also be detected, which is not limited here. Figure 3 The hydraulic system oil leakage detection device can be arranged in a hydraulic system oil leakage detection device, and the hydraulic system oil leakage detection device can be a server or electronic device with image processing function to detect the oil leakage of the hydraulic system. Figure 1 Taking the oil leakage detection of the hydraulic pitch system 120 of the wind turbine generator set as an example, the hydraulic system oil leakage detection equipment can be arranged in the cabin of the wind turbine generator set, and can also be arranged in the central control room of the wind turbine generator set.
[0109] In the embodiment of the present invention, the server may be a high-performance electronic calculator for storing and processing data, and the electronic device may specifically be a tablet computer, a desktop computer, a mobile phone, etc.
[0110] like Figure 3 As shown, the hydraulic system oil leakage detection device may include:
[0111] An image acquisition module 310 is used to acquire a comparison acquisition image and a reference acquisition image corresponding to a target detection area;
[0112] A color value determination module 320, configured to determine a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image;
[0113] A reflectivity determination module 330 is used to determine the reflectivity of the target light band corresponding to each pixel in the contrast collection image according to the determined first color value and second color value;
[0114] The region identification module 340 is used to identify the target image region in the comparison acquisition image according to the determined reflectivity of the target light band; wherein the target image region is the image region corresponding to the oil leakage region in the target detection region.
[0115] Since the embodiment of the present invention can detect the oil leakage area in the target detection area by using the comparison acquisition image and the reference acquisition image corresponding to the target detection area, the oil leakage area in the target detection area can be detected in real time without being limited by the detection cycle. At the same time, the oil leakage area with colorless or light yellow liquid can be more accurately identified by using the reflectivity of the target light band. Therefore, the embodiment of the present invention can accurately and timely find the oil leakage area in the target detection area.
[0116] In some embodiments of the present invention, the target light band is a light band corresponding to the maximum reflectivity of the floor color.
[0117] In some embodiments of the present invention, the image of the oil spill area includes the oil film, the floor color as the background of the oil film, and the image of the hydraulic pitch system reflected on the oil film.
[0118] In some embodiments of the present invention, the image acquisition module 310 may include:
[0119] An image sequence acquisition unit, used to acquire a collection image sequence corresponding to the target detection area; wherein the collection image sequence includes a plurality of collection images that are continuous at collection times;
[0120] A similarity calculation unit is used to calculate the image similarity between the later collected image and the earlier collected image of each two collected images at adjacent collection times, so as to obtain an image similarity sequence;
[0121] The image selection unit is used to select a comparison acquired image and a reference acquired image in the acquired image sequence according to the image similarity sequence.
[0122] In some embodiments of the present invention, the similarity calculation unit may be specifically used for:
[0123] Determine a first hue histogram corresponding to the subsequently acquired image and a second hue histogram corresponding to the previously acquired image;
[0124] Calculating a histogram similarity between the first hue histogram and the second hue histogram;
[0125] The histogram similarity is used as the image similarity between the later acquired image and the earlier acquired image.
[0126] In some embodiments of the present invention, the image selection unit may be specifically used to:
[0127] Determine a similarity valley in an image similarity sequence;
[0128] When the similarity valley value is less than the preset similarity threshold, the later acquired image of the two acquired images corresponding to the similarity valley value is used as the comparison acquired image, and the earlier acquired image of the two acquired images corresponding to the similarity valley value is used as the reference acquired image.
[0129] In some embodiments of the present invention, the region identification module 340 includes:
[0130] A normalization processing unit is used to normalize the determined reflectance of the target light band to obtain a normalized reflectance corresponding to each pixel in the contrast acquisition image, so as to eliminate the influence of the environmental background on the reflectance;
[0131] A target pixel identification unit is used to identify a target pixel among a plurality of pixels of a comparison acquisition image; wherein a normalized reflectivity corresponding to the target pixel is within a preset reflectivity threshold;
[0132] The target area recognition unit is used to use the image area formed by the recognized target pixels as the target image area.
[0133] In some embodiments of the present invention, the hydraulic system oil leakage detection device may further include:
[0134] An attenuation coefficient acquisition module is used to acquire the attenuation coefficient of the target light band when the target image area is identified;
[0135] An oil film thickness determination module, used to determine the oil film thickness corresponding to each pixel in the target image area according to the attenuation coefficient of the target light band and the reflectivity of the target light band corresponding to each pixel in the target image area;
[0136] The oil leakage calculation module is used to calculate the oil leakage corresponding to the target image area according to the determined oil film thickness.
[0137] It should be noted that the hydraulic system oil leakage detection device provided in the embodiment of the present invention can achieve Figure 2 The various processes and effects in the method embodiment shown, and the implementation principles of each process are the same, and will not be described again here to avoid repetition.
[0138] Figure 4 FIG. 1 is a schematic diagram showing the hardware structure of a hydraulic system oil leakage detection device provided by an embodiment of the present invention. Figure 4 As shown, the hydraulic system oil leakage detection device may include a processor 401 and a memory 402 storing computer program instructions.
[0139] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0140] The memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 402 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 402 is a non-volatile solid-state memory. In a specific embodiment, the memory 402 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0141] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the hydraulic system oil leakage detection methods in the above embodiments.
[0142] In one example, the hydraulic system oil leakage detection device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0143] The communication interface 403 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0144] Bus 410 includes hardware, software or both, and the components of the hydraulic system oil leakage detection device are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-E4press (PCI-4) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0145] The hydraulic system oil leakage detection device can execute the hydraulic system oil leakage detection method in the embodiment of the present invention, thereby realizing the combination of Figure 2 and Figure 3 The invention describes a method and device for detecting oil leakage in a hydraulic system.
[0146] In addition, in combination with the hydraulic system oil leakage detection method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the hydraulic system oil leakage detection methods in the above embodiment is implemented.
[0147] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0148] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0149] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0150] Figure 5 A structural schematic diagram of a hydraulic system oil leakage detection system provided by an embodiment of the present invention is shown. Figure 5 The hydraulic system oil leak detection system shown can be used to Figure 1 The hydraulic pitch control system 120 of the wind turbine generator set shown is used for oil leakage detection, and liquid leakage detection can also be performed on other equipment that may leak liquid without obvious color, which is not limited here.
[0151] like Figure 5 As shown, the hydraulic system oil leakage detection system may include:
[0152] An image acquisition device 510 is used to acquire a comparison acquisition image and a reference acquisition image corresponding to a target detection area;
[0153] The hydraulic system oil leakage detection device 520 is communicatively connected with the image acquisition device, and is used to obtain a comparison acquisition image and a reference acquisition image; determine a first color value corresponding to each pixel in the comparison acquisition image and a second color value corresponding to each pixel in the reference acquisition image; determine a target light band reflectivity corresponding to each pixel in the comparison acquisition image according to the determined first color value and second color value; identify a target image area in the comparison acquisition image according to the determined target light band reflectivity; wherein the target image area is an image area corresponding to the oil leakage area in the target detection area.
[0154] Since the embodiment of the present invention can detect the oil leakage area in the target detection area by using the comparison acquisition image and the reference acquisition image corresponding to the target detection area, the oil leakage area in the target detection area can be detected in real time without being limited by the detection cycle. At the same time, the oil leakage area with colorless or light yellow liquid can be more accurately identified by using the reflectivity of the target light band. Therefore, the embodiment of the present invention can accurately and timely find the oil leakage area in the target detection area.
[0155] Among them, the hydraulic system oil leakage detection device provided by the embodiment of the present invention can achieve Figure 2 The various processes and effects in the method embodiment shown, and the implementation principles of each process are the same, and will not be described again here to avoid repetition.
[0156] In the embodiment of the present invention, the image acquisition device 510 may be a video camera or a camera, which is not limited herein. Specifically, the image acquisition device 510 may be a spherical camera.
[0157] In some embodiments of the present invention, the hydraulic system oil leakage detection system may further include:
[0158] A data storage device, the data storage device is communicatively connected with the image acquisition device and is used to store images acquired by the image acquisition device;
[0159] The cloud server is communicatively connected with the data storage device and is used to send the images stored in the data storage device to the user device accessing the cloud server.
[0160] Therefore, the user device can download and view the captured images in the data storage device through the cloud server. If the image capture device 510 is a camera, the user device can also download and play back the video.
[0161] In some embodiments, the cloud server can also be communicated with the hydraulic system oil leakage detection equipment 520 so that the user device can view the collected images of the target detection area in real time through the cloud server and the hydraulic system oil leakage detection equipment 520. The user device can also query the image processing log of the hydraulic system oil leakage detection equipment 520 and set the configuration parameters of the hydraulic system oil leakage detection equipment 520 through the cloud server.
[0162] In some embodiments of the present invention, the hydraulic system oil leakage detection system is applied to a wind turbine generator set;
[0163] The image acquisition device 510 may be arranged at a preset monitoring point of the hub and / or the nacelle of the wind turbine generator set, and the hydraulic system oil leakage detection device 520 may be arranged in the central control room of the wind turbine generator set.
[0164] In some embodiments of the present invention, the hydraulic system oil leakage detection device 520 is further configured to send an alarm message to a main control system of the wind turbine generator set when a target image area is identified.
[0165] Therefore, the embodiment of the present invention can perform an intelligent alarm after determining that a hydraulic oil leakage fault exists in the hydraulic pitch control system.
[0166] Figure 6 A system architecture diagram of a hydraulic system oil leakage detection system provided by an embodiment of the present invention is shown. Figure 6 The hydraulic system oil leakage detection system shown can be used to Figure 1 The oil leak area 130 on the floor 110 of the nacelle of the wind turbine is shown to be detected.
[0167] like Figure 6 As shown, the hydraulic system oil leakage detection system may include a front-end monitoring system 610, a cloud server 620, a user device 630 and a hydraulic system oil leakage detection device 640. Among them, the front-end monitoring system 610 may include 6 spherical cameras 611, 2 switches 612, a wireless access point (Access Point, AP) 613, a 4G wireless router 614 and a network video recorder (Network Video Recorder, NVR) 615. Specifically, the switch 612 can be a 100M switch, and the NVR 615 can be an 8-way NVR. The cloud server 620 is used to provide video forwarding services to the user device 630 so that the user device 630 manages all video network sources. A video management system is installed on the user device 630, which can perform real-time video browsing and historical video playback. For example, when the user device 630 is a desktop computer, the video management system is a video management client, and when the user device 630 is a tablet computer and a mobile phone, the video management system is a video management application. The video management system can also access the hydraulic system oil leakage detection device 640 through the cloud server 620 to perform remote parameter configuration and log query on the hydraulic system oil leakage detection device 640.
[0168] Five spherical cameras 611 and one switch 612 are arranged in the hub of the wind turbine generator set. The five spherical cameras 611 in the hub are respectively connected to the switch 612 in the hub. One spherical camera 611, one switch 612, wireless AP 613, 4G wireless router 614 and NVR 615 are arranged in the cabin of the wind turbine generator set. The switch 612 in the hub and the spherical camera 611 and NVR 615 in the cabin are respectively connected to the switch 612 in the cabin to form a local area network. In the local area network, the NVR obtains the video in real time and stores the video locally. The NVR 615 is connected to the hydraulic system oil leakage detection equipment 640 in the central control room by using a spare optical fiber communication. The switch 612 in the cabin is connected to the cloud server 620 through the 4G wireless router 614 and the wireless AP 613 for video transfer.
[0169] Specifically, the video captured by the spherical camera 611 in the hub is collected by wire to the switch 612 in the hub, and then the switch 612 in the hub transmits the video to the switch 612 in the cabin through wireless WiFi, and the switch 612 in the cabin transmits the video to the cloud server 620 through the 4G wireless network, and at the same time, the switch 612 in the cabin transmits the video to the hydraulic system oil leakage detection device 640 in the central control room through the wind turbine ring network. The hydraulic system oil leakage detection device 640 performs real-time analysis and processing on the transmitted video to determine whether the hydraulic variable pitch system has a hydraulic oil leakage fault, that is, whether the target image area can be detected in the multi-frame acquisition image in the video. If a hydraulic oil leakage fault occurs, an alarm will be automatically triggered, and the alarm signal will be transmitted to the main control system of the wind turbine generator set to shut down the wind turbine generator set to avoid a large amount of leakage in the wind turbine generator set.
[0170] Continue to see Figure 6 Each spherical camera 611 is set at a preset collection position, and because the spherical camera 611 can perform multi-angle shooting, each spherical camera 611 can also shoot target detection areas corresponding to different angles, and set an angle change plan for the shooting angle of the spherical camera 611, and then cyclically shoot the target detection areas corresponding to different angles according to the angle change plan, and collect 1 minute of video for the target detection area corresponding to each angle.
[0171] Specifically, the spherical camera 611 can rotate horizontally 330° and vertically 0° to 90°, with no blind spots, and supports 300 shooting angles. The spherical camera 611 in the cabin needs to shoot 5 shooting angles, namely the front, back, left, right and top of the hydraulic pitch system.
[0172] Continue to see Figure 6 , hydraulic system oil leakage detection equipment 640 can achieve Figure 2The various processes and effects in the method embodiment shown, and the implementation principles of each process are the same, and will not be described again here to avoid repetition.
[0173] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for detecting oil leakage in a hydraulic system, characterized in that: include: Obtaining a comparison acquisition image and a reference acquisition image corresponding to the target detection area; Determine a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image; Determine the reflectivity of the target light band corresponding to each pixel in the contrast collected image according to the determined first color value and second color value; According to the determined reflectivity of the target light band, identifying a target image area in the contrast acquisition image; Wherein, the target image area is the image area corresponding to the oil leakage area in the target detection area; The step of determining the target light band reflectivity corresponding to each pixel in the contrasting collected image according to the determined first color value and second color value includes: Taking the optical band where the maximum reflectivity of the target detection area is located as the target optical band; Selecting a first color value component and a second color value component corresponding to the target light band from among the first color value and the second color value; According to the first color value component and the second color value component corresponding to each pixel, a change rate of the first color value component relative to the second color value component is calculated as the reflectivity of the target light band corresponding to each pixel.
2. The method according to claim 1, characterized in that The target light band is the light band corresponding to the maximum reflectance of the floor color.
3. The method according to claim 1, characterized in that: The image of the oil spill area includes the oil film, the floor color as the background of the oil film, and the image of the hydraulic pitch system reflected on the oil film.
4. The method according to claim 1, characterized in that: The obtaining of the comparison acquisition image and the reference acquisition image corresponding to the target detection area includes: Acquire a collection image sequence corresponding to the target detection area; wherein the collection image sequence includes a plurality of collection images at consecutive collection times; For every two adjacent collected images at the collection time, the image similarity between the later collected image and the earlier collected image is calculated to obtain an image similarity sequence; According to the image similarity sequence, the comparison acquired image and the reference acquired image are selected in the acquired image sequence.
5. The method according to claim 1, characterized in that The step of identifying a target image area in the compared collected image according to the determined reflectivity of the target light band includes: Normalizing the determined reflectivity of the target light band to obtain a normalized reflectivity corresponding to each pixel in the contrast acquisition image to eliminate the influence of the environmental background on the reflectivity; Identifying a target pixel among the plurality of pixels of the compared collected image; wherein the normalized reflectivity corresponding to the target pixel is within a preset reflectivity threshold; The image area formed by the identified target pixels is used as the target image area.
6. The method according to claim 1, characterized in that After identifying the target image area in the compared collected image according to the determined target light band reflectivity, the method further includes: When the target image area is identified, obtaining the attenuation coefficient of the target light band; Determine the oil film thickness corresponding to each pixel in the target image area according to the target light band attenuation coefficient and the target light band reflectivity corresponding to each pixel in the target image area; The oil leakage amount corresponding to the target image area is calculated according to the determined oil film thickness.
7. A hydraulic system oil leakage detection device, characterized in that: include: An image acquisition module is used to acquire a comparison acquisition image and a reference acquisition image corresponding to the target detection area; A color value determination module, used to determine a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image; A reflectivity determination module, used to determine the reflectivity of the target light band corresponding to each pixel in the comparison acquisition image according to the determined first color value and second color value; A region identification module, used to identify a target image region in the comparison acquisition image according to the determined reflectivity of the target light band; wherein the target image region is an image region corresponding to the oil leakage region in the target detection region; Wherein, the reflectivity determination module is further used to: take the optical band where the maximum reflectivity of the target detection area is located as the target optical band; Selecting a first color value component and a second color value component corresponding to the target light band from among the first color value and the second color value; According to the first color value component and the second color value component corresponding to each pixel, a change rate of the first color value component relative to the second color value component is calculated as the reflectivity of the target light band corresponding to each pixel.
8. A hydraulic system oil leakage detection device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the hydraulic system oil leakage detection method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the hydraulic system oil leakage detection method according to any one of claims 1 to 6 is implemented.
10. A hydraulic system oil leakage detection system, characterized in that: include: An image acquisition device, used to acquire a comparison acquisition image and a reference acquisition image corresponding to the target detection area; A hydraulic system oil leakage detection device, the hydraulic system oil leakage detection device is communicatively connected with the image acquisition device, and is used to acquire the comparison acquisition image and the reference acquisition image; Determine a first color value corresponding to each pixel in the comparison collected image and a second color value corresponding to each pixel in the reference collected image; Determine the reflectivity of the target light band corresponding to each pixel in the comparison acquisition image according to the determined first color value and the second color value; identify the target image area in the comparison acquisition image according to the determined reflectivity of the target light band; wherein the target image area is the image area corresponding to the oil leakage area in the target detection area; Wherein, the hydraulic system oil leakage detection equipment is also used to: take the light band where the maximum reflectivity of the target detection area is located as the target light band; select the first color value component and the second color value component corresponding to the target light band from the first color value and the second color value; and calculate the change rate of the first color value component relative to the second color value component according to the first color value component and the second color value component corresponding to each pixel as the reflectivity of the target light band corresponding to each pixel.
11. The system according to claim 10, characterized in that Also includes: A data storage device, the data storage device is communicatively connected to the image acquisition device and is used to store images acquired by the image acquisition device; A cloud server is communicatively connected to the data storage device and is used to send the image stored in the data storage device to a user device accessing the cloud server.
12. The system according to claim 10, characterized in that The hydraulic system oil leakage detection system is applied to wind turbine generator sets; Wherein, the image acquisition device is arranged at a preset monitoring point of the hub and / or the nacelle of the wind turbine generator set, and the hydraulic system oil leakage detection device is arranged in the central control room of the wind turbine generator set.
13. The system according to claim 12, characterized in that The hydraulic system oil leakage detection device is also used to send an alarm message to the main control system of the wind turbine generator set when the target image area is identified.
