A method, system and readable storage medium for monitoring electric sparks of a power distribution cabinet

By comparing brightness and fitting the video stream in the distribution cabinet, distinguishing between electric sparks and external interference sources, the problem of high misjudgment rate in the existing technology is solved, and more accurate electric spark monitoring is achieved.

CN120047901BActive Publication Date: 2025-06-24SICHUAN COMPUTER RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510518469.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-06-24
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

Existing EDM monitoring methods are prone to misjudgment, especially the brightness changes caused by external interference sources such as door openings and flashlights, which are difficult to distinguish from the generation of EDM.

Method used

By obtaining the video stream in the distribution cabinet, intercepting the image to be identified, and comparing the brightness with the standard image. If the brightness changes, obtain several consecutive frames of images within the preset time period before and after, identify the luminous area and fit the brightness change curve to determine whether an electric spark is generated.

Benefits of technology

Effectively distinguish between electric sparks and other interference sources, reduce false alarms, and improve the accuracy of electric spark monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120047901B_ABST
    Figure CN120047901B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, a system and a readable storage medium for monitoring electric sparks of a power distribution cabinet, including intercepting an image to be recognized from a video stream and comparing its brightness with a preset standard image. If the brightness of the image to be recognized changes, a continuous number of frames of images within a preset time period before and after the image to be recognized are acquired and stored in a spark recognition image set; the light-emitting area of the image to be recognized with changed brightness is recognized to obtain an identification frame of the light-emitting area, and each frame of image in the spark recognition image set is intercepted according to the identification frame; the brightness of the intercepted local images is recognized, a brightness change curve is fitted according to the brightness recognition results of the local images, the reason for the change in brightness is determined according to the brightness change curve, and whether to give an early warning of electric sparks is decided based on the determination result. The change trend of the brightness change curve is used to assist in judging whether electric sparks are generated, so as to eliminate the influence of interference sources on electric spark monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer data processing, and particularly relates to a method, a system and a readable storage medium for monitoring electric sparks in a power distribution cabinet. Background Art

[0002] Since electronic devices such as circuit breakers and leakage protection switches are installed inside the power distribution cabinet. Especially the circuit breaker, as the core component of the power distribution cabinet, is used to connect and disconnect the circuit, and quickly cut off the circuit in case of faults such as short circuit and overload to provide reliable protection. As time goes by, switching devices such as circuit breakers are prone to generate electric sparks during the switching process, which may cause a fire risk. For the current monitoring of electric sparks, the mainstream methods currently include the electric spark detection method based on the single-chip microcomputer algorithm, the electric spark detection method based on electromagnetic induction, and the electric spark monitoring method through image modeling, etc.

[0003] When monitoring electric sparks in the above-mentioned manner, it only makes a preliminary judgment on whether electric sparks are generated. However, for the brightness changes inside the power distribution cabinet caused by some external interference sources, such as opening the door, flashlight light, etc., they will all cause an instantaneous change in the brightness of the picture, and it is very easy to misjudge the electric sparks. Summary of the Invention

[0004] The purpose of the present invention is to provide a method, a system and a readable storage medium for monitoring electric sparks in a power distribution cabinet. By summarizing the images with brightness changes and drawing a brightness change curve, it helps to assist in judging whether electric sparks are generated according to the change trend of the brightness change curve, so as to eliminate the influence of interference sources on the monitoring of electric sparks.

[0005] To achieve the above purpose, the present application provides the following solutions:

[0006] On the one hand, the present invention provides a method for monitoring electric sparks in a power distribution cabinet, which specifically includes the following steps:

[0007] S1. Obtain the video stream collected in real time by the monitoring device inside the power distribution cabinet, and intercept the images to be recognized from the video stream at a preset time interval;

[0008] S2. Compare the brightness of the image to be recognized with the preset standard image. If the brightness of the image to be recognized changes, obtain a continuous number of frames of images within a preset time period before and after the image to be recognized with the changed brightness as the starting point, and store them in the spark recognition image set;

[0009] S3. Identify the light-emitting area of the image to be recognized with the changed brightness to obtain the recognition frame of the light-emitting area, and intercept each frame of the image in the spark recognition image set according to the recognition frame to obtain the local image marked by the recognition frame in each frame of the image;

[0010] S4. Perform brightness recognition on the local images, fit a brightness change curve based on the brightness recognition results of each local image, determine the cause of the brightness change according to the brightness change curve, and decide whether to issue an electric spark warning based on the determination result.

[0011] In some specific implementation solutions, in step S3, the image to be recognized is evenly divided, each frame of the image is segmented into n recognition regions of the same size, and the n recognition regions are arranged in an i×j matrix.

[0012] In some specific implementation solutions, the specific process of step S3 includes:

[0013] The image to be recognized is segmented into n recognition regions, and each row is traversed in a window moving and traversing manner. For the j recognition regions in each row, the following steps are executed:

[0014] Obtain a number of consecutive recognition regions according to the set window length;

[0015] Calculate the brightness values of a number of consecutive recognition regions respectively, draw a curve based on the brightness values of the number of consecutive recognition regions. If the curve conforms to the trend of changing from small to large and then to small, then the number of consecutive recognition regions is used as the first light-emitting region;

[0016] Move the window according to the set window moving step value to obtain the next number of consecutive recognition regions until all the j recognition regions in the current row are traversed;

[0017] Summarize the first light-emitting regions obtained from each row to obtain the light-emitting region.

[0018] In some specific implementation solutions, the specific process of step S3 includes:

[0019] S31. Take the recognition region at the center position of the matrix as the central region;

[0020] S32. Starting from the central region, compare the brightness value of the central region with the brightness values of its adjacent recognition regions. When there is a recognition region whose brightness value is greater than or equal to the brightness value of the central region, then take the recognition region as the central region and execute step S33;

[0021] S33. Repeat step S32 until all the recognition regions are traversed, gather all the recognition regions used as the central region, and select the recognition region with the highest brightness value in the central region and its surrounding recognition regions as the light-emitting region.

[0022] In some specific embodiments, taking the recognition area at the center position of the matrix as the central area, starting from the central area, the brightness value of the central area is compared with the brightness values of the surrounding recognition areas. When the brightness value of the central area is higher than the brightness values of all the surrounding recognition areas, it is further determined whether the brightness value of each recognition area is greater than the brightness value at the corresponding position in the standard image. If so, the recognition area and the central area are taken together as the light-emitting area.

[0023] In some specific embodiments, the specific process of step S4 is as follows:

[0024] Find the peak value of the brightness change curve. When the change trend of the brightness change curve is a jump and there are multiple peak values within a preset time period, it is determined that the reason for the brightness change is an electric spark.

[0025] When the change trend of the brightness change curve shows a slow increase first, then remains for a certain preset time and then gradually decreases within a preset time period, or when the change trend of the brightness change curve is a jump to the brightness peak and then remains unchanged within a preset time period, it is determined that the reason for the brightness change is an interference source.

[0026] In some specific embodiments, when it is determined that the reason for the brightness change is an electric spark, the following steps are executed:

[0027] Count the number of occurrences of the brightness peak value of the brightness change curve. If the number of occurrences of the brightness peak value within a preset time period is less than a preset threshold, an early warning of electric spark generation is output.

[0028] When the number of occurrences of the brightness peak value within a preset time period is greater than the preset threshold and the time interval between two adjacent occurrences of the brightness peak value is less than a set value, an emergency maintenance warning is given.

[0029] In some specific embodiments, the preset time period is the continuous lighting time of the electric spark interference source.

[0030] In a second aspect, the present application provides an electric spark monitoring system for a power distribution cabinet, which applies the electric spark monitoring method for a power distribution cabinet described in the first aspect, and includes:

[0031] A data acquisition module, configured to obtain a video stream collected in real time by a monitoring device in the power distribution cabinet, and intercept a plurality of frames of images to be recognized from the video stream at a preset time interval.

[0032] A trigger module, configured to compare the brightness of the image to be recognized with a preset standard image. If the brightness of the image to be recognized changes, a continuous plurality of frames of images within a preset time period before and after the image to be recognized with the changed brightness as the starting point are obtained and stored in the spark recognition image set.

[0033] An image capture module that identifies the light-emitting area of an image to be recognized with a changed brightness, obtains a recognition frame of the light-emitting area, and captures each frame of the image in the spark recognition image set according to the recognition frame to obtain the local image marked by the recognition frame in each frame of the image;

[0034] A spark judgment module for performing brightness recognition on the local image, fitting a brightness change curve according to the brightness recognition results of each local image, judging the reason for the change in brightness according to the brightness change curve, and deciding whether to issue an electric spark warning based on the judgment result.

[0035] In a third aspect, the present application provides a computer-readable storage medium, including:

[0036] One or more processors;

[0037] A storage unit for storing one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement an electric spark monitoring method for a power distribution cabinet as described in the first aspect.

[0038] The beneficial effects of the present invention:

[0039] The present invention quickly identifies the changed image, obtains the image set composed of the images before and after the changed image, performs brightness recognition on each image in the image set, fits a brightness change curve based on the brightness recognition results, judges the scene that the change trend of the brightness change curve conforms to, and thereby distinguishes the reason for the change in image brightness, so as to distinguish electric sparks from other interference sources and avoid false alarms. Description of the Drawings

[0040] Figure 1 It is a flowchart of an electric spark monitoring method for a power distribution cabinet provided by an embodiment of the present invention;

[0041] Figure 2 It is a schematic diagram of an electric spark brightness change curve provided by an embodiment of the present invention;

[0042] Figure 3 It is a schematic diagram of an interference source brightness change curve provided by an embodiment of the present invention. Detailed Embodiments

[0043] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and in no way limits the present invention and its application or use. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0044] Unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and values set forth in these embodiments do not limit the scope of the present invention.

[0045] At the same time, it should be understood that for the sake of description, the dimensions of the various parts shown in the drawings are not drawn in actual proportional relationships.

[0046] In addition, for the sake of clarity and conciseness, descriptions of well-known structures, functions, and configurations may be omitted. Those of ordinary skill in the art will recognize that various changes and modifications can be made to the examples described herein without departing from the spirit and scope of the present disclosure.

[0047] The techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and devices should be regarded as part of the authorization specification.

[0048] In all the examples shown and discussed here, any specific value should be construed as merely exemplary, rather than as a limitation. Therefore, other examples of the exemplary embodiments may have different values.

[0049] Embodiment 1

[0050] As Figure 1 shown, this embodiment provides a method for monitoring electric sparks in a power distribution cabinet, specifically including the following steps:

[0051] S1. Obtain the video stream collected in real time by the monitoring device in the power distribution cabinet, and intercept the image to be recognized from the video stream at a preset time interval;

[0052] Specifically, since the power distribution cabinet is generally sealed, which is equivalent to a darkroom and is very sensitive to light. Therefore, the monitoring video of the monitoring device inside the power distribution cabinet is obtained for image frame analysis to monitor the change in brightness inside the power distribution cabinet. When it is detected that the consecutive image frames inside the power distribution cabinet change, it is determined that there may be an electric spark. The video segments within the preset time periods before and after the appearance of the consecutive frames are obtained for further analysis to exclude the interference from other interference sources. Here, other interference sources may include sudden opening of the cabinet door, the lighting of the indicator light, the light penetrating through the observation window of the power distribution cabinet, etc., all of which may cause the change in brightness inside the power distribution cabinet. The difference between the electric spark and the interference source is that the electric spark will instantaneously release strong light when it is generated. The release cycle of the electric spark can be roughly divided into four stages: dielectric breakdown, spark generation, spark maintenance, and spark extinction. The characteristic presented in the video stream is that the brightness of a certain area changes within an extremely short time, while the brightness of the interference source lasts for a relatively long time, generally greater than 1 s, and the brightness change is relatively uniform, showing a pattern of slowly rising, maintaining the maximum brightness for a period of time, and then going out. Therefore, the images with brightness changes can be found first by the way of frame skipping. The frame skipping can be every other frame or multiple frames, and the time interval of frame skipping can be set according to the longest time of the electric spark release cycle to avoid missing and quickly finding the images with brightness changes at the same time.

[0053] S2. Compare the brightness of the image to be recognized with the preset standard image. If the brightness of the image to be recognized changes, obtain a continuous number of frames of images within the preset time periods before and after the image to be recognized with the changed brightness as the starting point, and store them in the spark recognition image set.

[0054] The standard image referred to in this embodiment can be an image taken inside the power distribution cabinet under normal circumstances. For example, it can be compared with the images in the video stream over a long period of time. If the images do not change over a long period of time, the images during this period can be used as the standard image. Or the standard image can be the previous frame of the current image to be recognized for comparison. When comparing the brightness of the current image to be recognized with the standard image, it can be to compare the average brightness of the two images. If the change range of the average brightness is within the set range, it indicates that the brightness has changed. And in order to reflect the brightness change of the interference source to the greatest extent, the preset time period is set as the continuous lighting time of the electric spark interference source (which can be determined or set artificially). In this way, by statistically analyzing the brightness change situations of the images before and after the image to be recognized with the changed brightness, the brightness change curve within a period of time can be fitted.

[0055] S3. Identify the light-emitting area of the image to be recognized with the changed brightness to obtain the recognition frame of the light-emitting area, and intercept each frame of the image in the spark recognition image set according to the recognition frame to obtain the local image marked by the recognition frame in each frame of the image.

[0056] Since the changes caused by sparks or other interference sources are changes within a certain area, the luminous area can be divided first, so as to obtain the brightness change value of the luminous area in each frame of the image and obtain a more accurate brightness change curve.

[0057] Specifically, if it is necessary to locate the luminous area, since the distribution cabinet is a closed and dark environment, when a light source appears, it will illuminate a certain area. Therefore, the image to be recognized is evenly divided, and each frame of the image is divided into n recognition areas of the same size. The n recognition areas are arranged into an i×j matrix, so as to quickly locate the luminous area. The i×j matrix can be expressed as: , the specific process can be:

[0058] S01, dividing the image to be identified into n identification areas, traversing each row by window moving traversal, and for the j identification areas in each row, taking the first row as an example, performing the following steps:

[0059] S011. Obtain several continuous recognition areas A according to the set window length w 1m, …, A 1(m +w) ;

[0060] S012, respectively calculate the brightness values ​​of several continuous recognition areas, draw a curve according to the brightness values ​​of several continuous recognition areas, if the curve conforms to the trend change from small to large and then to small, then the several continuous recognition areas are used as the first luminous area; if the curve does not conform to the trend change from small to large and then to small, for example, A 1m , …, A 1(m +w) If the brightness values ​​are all equal, it means that there is no brightness change at present. Then you can set the window moving step value to w, that is, move the window by w; or when it changes from small to large, you can move the window moving step value forward by two;

[0061] S013, moving the window according to the set window movement step value to obtain the next several continuous recognition areas until the j recognition areas of the current row are traversed;

[0062] S02. Summarize the first light-emitting areas obtained in each row to obtain a light-emitting area.

[0063] When summarizing, when the identification areas of the first luminous areas in two adjacent rows intersect (that is, there are identification areas in the same column), the first luminous areas in the two rows are merged. When the identification areas of the first luminous areas in two adjacent rows do not intersect and the values ​​of the column numbers of the closest identification areas are also greatly different, it means that there are multiple luminous areas. In this case, it is only necessary to perform statistics according to the luminous areas separately, that is, each luminous area is identified and judged after curve fitting.

[0064] In some embodiments, the general brightness change region usually appears in the middle of the screen. Therefore, the search can start from the central region first to improve the processing speed. The specific process of step S3 may further include:

[0065] S31. Take the recognition region at the center position of the matrix as the central region; the center position of the matrix is , where represents rounding up. That is, when i is even, , and when i is odd, ;

[0066] S32. Obtain all adjacent recognition regions of the central region (for example, for the central region that is the center position of the matrix region, eight adjacent recognition regions need to be obtained. When other recognition regions are used as the central region, the already compared recognition regions can be filtered out, and only seven adjacent recognition regions need to be compared). Compare the brightness value of the central region with the brightness values of its adjacent recognition regions respectively. When there is a recognition region whose brightness value is greater than or equal to the brightness value of the central region, take the recognition region as the central region and repeat the above steps;

[0067] S33. Until all recognition regions are traversed, gather all recognition regions that serve as the central region, and select the recognition region with the highest brightness value in the central region and all its surrounding recognition regions as the light-emitting region.

[0068] Alternatively, when taking the recognition region at the center position of the matrix as the central region, starting from the central region, compare the brightness value of the central region with the brightness values of the recognition regions around it. When the brightness value of the central region is higher than the brightness values of all the surrounding recognition regions, continue to determine whether the brightness value of each recognition region is greater than the brightness value at the corresponding position in the standard image. If so, take the recognition region and the central region together as the light-emitting region.

[0069] S4. Perform brightness recognition on the local images, fit the brightness change curve according to the brightness recognition results of each local image, determine the cause of the brightness change based on the brightness change curve, and decide whether to issue an electric spark warning according to the determination result.

[0070] Specifically, the specific process of step S4 is as follows:

[0071] Find the peak of the brightness change curve. When the change trend of the brightness change curve is a jump and there are multiple peaks within a preset time period, determine that the cause of the brightness change is an electric spark;

[0072] When the change trend of the brightness change curve shows a slow increase first, then remains at a certain preset time and then gradually decreases within a preset time period, or when the change trend of the brightness change curve within the preset time period is to jump to the brightness peak and then remain unchanged, it is determined that the cause of the brightness change is an interference source.

[0073] To a certain extent, the brightness change curve can reflect the change of the light source that causes the brightness change in the power distribution cabinet. For example, the fitted brightness change curve uses the brightness value as the ordinate and time as the abscissa, and plots the brightness values of all frame images within a preset time period before and after the image to be recognized on the brightness change curve. As Figure 2 shown, the brightness change curve of the electric spark generally jumps from a brightness value of 0 to the brightness peak in a very short time and then quickly changes back to a brightness value of 0, and there are generally multiple brightness peak change trends similar to pulses when the electric spark is generated. The brightness change curve of suddenly opening the door generally rises from a brightness value of 0 to the brightness peak gradually with the opening amplitude and then remains for a period of time until it becomes 0, and there is a certain slope. The brightness change curve of the indicator light is as Figure 3 shown, generally jumps from a brightness value of 0 to the brightness peak in a very short time and remains unchanged for a long time.

[0074] In order to distinguish the types of electric sparks generated, when it is determined that the cause of the brightness change is an electric spark, the following steps are executed:

[0075] Count the number of occurrences of the brightness peak of the brightness change curve. If the number of occurrences of the brightness peak within the preset time period is less than the preset threshold, an early warning of electric spark generation is output;

[0076] When the number of occurrences of the brightness peak within the preset time period is greater than the preset threshold and the time between two adjacent occurrences of the brightness peak is less than the set value, an emergency maintenance warning is given.

[0077] For the short - term sparks caused by the aging and switching of the relay switch or the static electricity generated by dry air, the duration is short and the energy is not high. It can be observed continuously. If the frequency is high, for example, it appears continuously for a certain period of time, it indicates that there may be a fault that needs to be repaired. When identifying the short - term sparks, the types of the short - term sparks can be further identified. For example, select the local image with the largest brightness value from all local images as the spark frame image, and identify the shape of the spark in the spark frame image; when the shape is radial, it is the fault spark generated by the aging and switching of the relay switch, and when the shape is rectangular, it is the static electricity spark caused by the static electricity generated by dry air.

[0078] Embodiment 2

[0079] The present application provides an electric spark monitoring system for a power distribution cabinet, which applies the electric spark monitoring method for a power distribution cabinet described in the first aspect, and includes:

[0080] A data acquisition module, configured to obtain the video stream collected in real time by the monitoring devices in the power distribution cabinet, and extract a plurality of frames of images to be recognized from the video stream at preset time intervals;

[0081] A trigger module, configured to perform a brightness comparison between the image to be recognized and a preset standard image. If the brightness of the image to be recognized changes, obtain a continuous plurality of frames of images within a preset time period before and after the image to be recognized with the changed brightness, and store them in the spark recognition image set;

[0082] An image intercepting module, configured to identify the light-emitting area of the image to be recognized with the changed brightness, obtain the recognition frame of the light-emitting area, and intercept each frame of the image in the spark recognition image set according to the recognition frame to obtain the partial image marked by the recognition frame in each frame of the image;

[0083] A spark judgment module, configured to perform brightness recognition on the partial images, fit a brightness change curve according to the brightness recognition results of the partial images, determine the reason for the change in brightness according to the brightness change curve, and decide whether to give an early warning of electric spark according to the judgment result.

[0084] Embodiment 3

[0085] Provided is a computer-readable storage medium, including:

[0086] One or more processors;

[0087] A storage unit, configured to store one or more programs, which, when executed by the one or more processors, can enable the one or more processors to implement the method for monitoring electric sparks in a power distribution cabinet described in Embodiment 1.

[0088] As described above, the above are only the preferred embodiments of the present invention, and do not impose any form of limitation on the present invention. Based on the technical essence of the present invention, any simple modification, equivalent replacement, and improvement made to the above embodiments within the spirit and principle of the present invention still fall within the protection scope of the technical solution of the present invention.

Claims

1. A method for monitoring electric sparks in a power distribution cabinet, characterized in that: The specific steps include: S1. Obtain the video stream collected in real time by the monitoring equipment in the power distribution cabinet, and extract several frames of images to be identified from the video stream at preset time intervals; S2, compare the brightness of the image to be identified with a preset standard image. If the brightness of the image to be identified changes, obtain a number of consecutive frames of images within a preset time period before and after the image to be identified with the changed brightness as the starting point, and store them in a spark recognition image set; S3, identifying the luminous area of ​​the image to be identified with changed brightness, obtaining an identification frame of the luminous area, intercepting each frame of the spark identification image set according to the identification frame, and obtaining a local image marked by the identification frame in each frame of the image; S4. Perform brightness recognition on the local images, fit the brightness change curve according to the brightness recognition results of each local image, determine the cause of the brightness change according to the brightness change curve, and decide whether to issue an electric spark warning based on the determination result.

2. The method for monitoring sparks in a power distribution cabinet according to claim 1, characterized in that: In step S3, the image to be recognized is evenly divided, each frame of the image is divided into n recognition areas of the same size, and the n recognition areas are arranged into an i×j matrix.

3. The method for monitoring sparks in a power distribution cabinet according to claim 2, characterized in that: The specific process of step S3 includes: The image to be identified is divided into n identification areas, and each row is traversed by window moving traversal. For each row of j identification areas, the following steps are performed: Obtain several continuous recognition areas according to the set window length; Calculate the brightness values ​​of several continuous identification areas respectively, draw a curve according to the brightness values ​​of several continuous identification areas, and if the curve conforms to the trend of changing from small to large and then to small, then take the several continuous identification areas as the first light-emitting areas; Move the window according to the set window moving step value to obtain the next several consecutive recognition areas until all j recognition areas in the current row are traversed; The first light-emitting areas obtained in each row are summarized to obtain a light-emitting area.

4. The method for monitoring sparks in a power distribution cabinet according to claim 2, characterized in that: The specific process of step S3 includes: S31, taking the recognition area at the center of the matrix as the central area; S32, starting from the central area, comparing the brightness value of the central area with the brightness values ​​of the adjacent recognition areas, when there is a recognition area whose brightness value is greater than or equal to the brightness value of the central area, the recognition area is taken as the central area to execute step S33; S33, repeat step S32 until all the recognition areas are traversed, collect all the recognition areas as the central areas, and select the recognition area with the highest brightness value in the central area and the recognition areas around it as the luminous areas.

5. The method for monitoring sparks in a power distribution cabinet according to claim 3, characterized in that: Taking the recognition area at the center of the matrix as the central area, starting from the central area, compare the brightness value of the central area with the brightness values ​​of the recognition areas around it. When the brightness value of the central area is higher than the brightness values ​​of all the surrounding recognition areas, continue to judge whether the brightness value of each recognition area is greater than the brightness value of the corresponding position in the standard image. If so, the recognition area and the central area are taken as the luminous area together.

6. The method for monitoring sparks in a power distribution cabinet according to claim 1, characterized in that: The specific process of step S4 is: Find the peak value of the brightness change curve. When the change trend of the brightness change curve in a preset time period is a jump and there are multiple peak values, it is determined that the cause of the brightness change is electric spark; When the brightness change curve in the preset time period shows a trend of first slowly increasing, then maintaining for a preset time and then gradually decreasing, or when the brightness change curve in the preset time period shows a trend of jumping to the brightness peak and then remaining unchanged, it is determined that the cause of the brightness change is an interference source.

7. The method for monitoring electric sparks in a power distribution cabinet according to claim 6, characterized in that: When it is determined that the cause of the brightness change is electric spark, perform the following steps: The number of times the brightness peak value of the brightness change curve appears is counted. If the number of times the brightness peak value appears within a preset time period is less than a preset threshold, an electric spark warning is output; When the number of brightness peaks within a preset time period is greater than a preset threshold and the time between two adjacent brightness peaks is less than a set value, an emergency maintenance warning is issued.

8. The method for monitoring electric sparks in a power distribution cabinet according to claim 1, characterized in that: The preset time interval is greater than the continuous lighting time when the electric spark is generated, and the preset time period is the continuous lighting time of the electric spark interference source.

9. A spark monitoring system for a power distribution cabinet, using the spark monitoring method for a power distribution cabinet as claimed in claim 1, characterized in that: include: The data acquisition module is used to obtain the video stream collected in real time by the monitoring equipment in the power distribution cabinet, and to extract several frames of images to be identified from the video stream at preset time intervals; A trigger module is used to compare the brightness of the image to be identified with a preset standard image. If the brightness of the image to be identified changes, a number of consecutive frames of images within a preset time period before and after the image to be identified with the changed brightness are obtained and stored in a spark recognition image set; The image capture module recognizes the luminous area of ​​the image to be recognized with changed brightness, obtains the recognition frame of the luminous area, and captures each frame of the spark recognition image set according to the recognition frame to obtain the local image marked by the recognition frame in each frame of the image; The spark judgment module is used to identify the brightness of local images, fit the brightness change curve according to the brightness recognition results of each local image, determine the cause of the brightness change according to the brightness change curve, and decide whether to issue an electric spark warning based on the judgment result.

10. A computer-readable storage medium, characterized in that: include: one or more processors; A storage unit, used to store one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement an electric spark monitoring method for a distribution cabinet as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Method for identifying electric spark image of transformer substation

    CN113516091A

  • Mine electric spark identification and alarm method based on image adjacent frame pixel features

    CN116229671A