Arc monitoring method in switch cabinet

By using automated image processing technology, arcing phenomena inside the switchgear can be monitored and located in real time, solving the problem that manual video judgment cannot extinguish arcs in time. This enables accurate positioning of arcs inside the switchgear and targeted arc extinguishing operations, thereby improving equipment safety.

CN118508603BActive Publication Date: 2024-11-08ZHEJIANG NANKAI ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410496403.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-11-08
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

In the existing technology, arc flash monitoring in switch cabinets mainly relies on manual video judgment, which cannot monitor arc flash phenomena in real time and take arc extinguishing measures in a timely manner, resulting in equipment damage and safety hazards.

Method used

An automated image processing method is used to acquire video inside the switch cabinet, analyze the image frame sequence, identify the location of the arc, compare it with a reference image, determine the cause of the arc, and perform targeted arc extinguishing operations.

Benefits of technology

It enables real-time monitoring and accurate location of arc flashes inside the switch cabinet, and can automatically or manually extinguish arcs based on the cause of the arc flashes, reducing the risk of equipment damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118508603B_ABST
    Figure CN118508603B_ABST
Patent Text Reader

Abstract

The embodiment of this specification discloses a method for arc monitoring in a switch cabinet. The method of the embodiment of this specification includes: obtaining a video in the switch cabinet, and parsing it to form a first image frame sequence; performing arc recognition on the first image frame sequence, and if an arc is recognized, obtaining continuous frames where the arc appears to form a second image frame sequence; based on the second image frame sequence, identifying the location where the arc appears, and generating a switch cabinet monitoring diagram with the location where the arc appears marked; comparing the switch cabinet monitoring diagram collected at the same focal length with the switch cabinet reference diagram, if the location where the arc appears in the switch cabinet monitoring diagram coincides with the switch mark location in the switch cabinet reference diagram, it is determined that the cause of the fault is that the arc is caused by the opening and closing of the switch, performing an arc extinguishing operation, and sending fault information including the cause of the fault and the location where the arc appears to the staff. The embodiment of this specification can monitor the arc phenomenon in the switch cabinet and timely and targetedly extinguish the arc according to the cause of the arc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the technical field of switch cabinets, and in particular, to a method for arc monitoring in a switch cabinet. Background Art

[0002] Switchgear is an important electrical equipment in the power system. Its main function is to open and close, control and protect electrical equipment during the process of power generation, transmission, distribution and energy conversion in the power system.

[0003] The opening and closing voltage of the switch cabinet can often reach thousands of volts. During the opening and closing process, the contacts may not be in complete contact due to processing errors or equipment aging, resulting in arc discharge. Although the arc discharge process is extremely short, it is accompanied by the release of a large amount of heat, which will cause ablation of the contacts and related equipment. More importantly, once this phenomenon occurs, it will continue to circulate and ablate, eventually leading to equipment damage and major safety accidents such as leakage. In addition to the arc phenomenon caused by the opening and closing of the switch, there will also be arc problems if there is line grounding or phase short circuit in the switch cabinet.

[0004] At present, arc monitoring often uses video means, that is, using digital cameras to capture images of contacts inside the switch cabinet, and judging whether arcing occurs through human observation. The above manual judgment method is inefficient and cannot monitor arcing in real time and take targeted arc extinguishing measures in time. Summary of the invention

[0005] One or more embodiments of the present specification describe a method for arc monitoring in a switch cabinet, which can automatically monitor arc phenomena in the switch cabinet and extinguish arcs in a timely manner according to the causes of arc generation.

[0006] In a first aspect, an embodiment of the present specification provides a method for arc monitoring in a switch cabinet, comprising:

[0007] Acquire the video inside the switch cabinet and parse it to form a first image frame sequence;

[0008] Perform arc light recognition on the first image frame sequence, and if arc light is recognized, obtain continuous frames in which the arc light appears to form a second image frame sequence;

[0009] Based on the second image frame sequence, the arc light occurrence position is identified, and a switch cabinet monitoring diagram with the arc light occurrence position marked is generated; the switch cabinet monitoring diagram presents the components in the switch cabinet and their arrangement positions;

[0010] The switch cabinet monitoring image collected at the same focal length is compared with the switch cabinet reference image. If the position of the arc light in the switch cabinet monitoring image coincides with the position of the switch mark in the switch cabinet reference image, it is determined that the arc light is caused by the opening and closing of the switch, and the arc extinguishing operation is performed, and fault information including the cause of the fault and the position of the arc light is sent to the staff; the switch cabinet reference image is formed by identifying the switch mark on the image collected when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions.

[0011] In some embodiments, the performing arc light recognition on the first image frame sequence includes:

[0012] Determining complete coded data of all frames in the first image frame sequence based on the first frame in the first image frame sequence and the differential storage method of the compression algorithm;

[0013] When the absolute value of the difference between the complete coded data of a certain frame in the first image frame sequence and the complete coded data of the previous frame is greater than a first threshold, and the absolute value of the difference between the complete coded data of two adjacent frames in the frame and its subsequent frames is not greater than the first threshold, extract the frame and its subsequent frames to form a target image frame sequence;

[0014] Arc light recognition is performed on the target image frame sequence.

[0015] In some embodiments, the arc light identification of the target image frame sequence includes:

[0016] A first difference between a pixel value of a first frame in the target image frame sequence and a pixel value of a first sample image, and a second difference between a pixel value of a last frame in the target image frame sequence and a pixel value of the first sample image are calculated; if both the first difference and the second difference are greater than a second threshold, it is recognized that arc light occurs in the target image frame sequence, and the target image frame sequence is determined to be a second image frame sequence; the first sample image is an image captured when the switch cabinet is working normally, which presents components in the switch cabinet and their arrangement positions; the first sample image and the video are captured at the same focal length.

[0017] In some embodiments, the performing arc light recognition on the target image frame sequence further includes:

[0018] If the first difference and / or the second difference is not greater than the second threshold, the target image frame sequence is trimmed, and the first frame whose first difference is not greater than the second threshold and / or the last frame whose second difference is not greater than the second threshold are trimmed to form a new target image frame sequence;

[0019] A first difference between the pixel value of the first frame in the new target image frame sequence and the pixel value of the first sample image, and a second difference between the pixel value of the last frame in the new target image frame sequence and the pixel value of the first sample image are calculated; if both the first difference and the second difference are greater than the second threshold, it is recognized that arc light appears in the new target image frame sequence, and the new target image frame sequence is determined to be the second image frame sequence; otherwise, the above-mentioned trimming process is repeated.

[0020] In some embodiments, the identifying the arc light occurrence location based on the second image frame sequence and generating a switch cabinet monitoring diagram with the arc light occurrence location marked thereon includes:

[0021] Using image fusion technology, all frames in the second image frame sequence are fused into a test image;

[0022] The test image is segmented and identified using a watershed algorithm image segmentation algorithm to form an arc light outline;

[0023] When the number of arc light contours in the test image is 1, the coordinates of the center point of the arc light contour are determined; when the number of arc light contours in the test image is at least 2, the arc light contour with the largest area is selected to determine the coordinates of the center point of the arc light contour;

[0024] According to the coordinates of the center point of the arc light contour, the position where the arc light appears is marked in the first sample image to form a switch cabinet monitoring map; the first sample image is an image collected when the switch cabinet is working normally, which shows the components in the switch cabinet and their arrangement positions; the first sample image is collected at the same focal length as the video.

[0025] In some embodiments, the method of the embodiments of this specification further includes: if the position where the arc light appears in the switch cabinet monitoring image cannot coincide with the position of the switch mark in the switch cabinet reference image, adjusting the focal length to recapture the image inside the switch cabinet;

[0026] For the re-collected image inside the switch cabinet, a new arc light occurrence position is identified, and a new switch cabinet monitoring map with the new arc light occurrence position marked is generated; the new switch cabinet monitoring map presents the components inside the switch cabinet and their arrangement positions;

[0027] Calculate the distance between the arc light position and the device in the switch cabinet monitoring image collected at different focal lengths, identify the device closest to the new arc light position as the reference device; and identify the device closest to the original arc light position as the target device;

[0028] When the reference device is the same as the target device, it is determined that the arc is caused by the opening and closing of the switch, the arc extinguishing operation is performed, and fault information including the cause of the fault and the location of the arc is sent to the staff; otherwise, the arc is determined to be caused by other reasons, and a manual detection instruction including the cause of the fault and the location of the arc is sent to the staff.

[0029] In some embodiments, the step of identifying a new arc light location from the re-collected image inside the switch cabinet and generating a new switch cabinet monitoring image with the new arc light location marked thereon comprises:

[0030] The re-collected images inside the switch cabinet are segmented and identified using the watershed algorithm image segmentation algorithm to form an arc outline and determine the coordinates of the center point of the arc outline;

[0031] According to the coordinates of the center point of the arc light contour, the new arc light appearance position is identified in the second sample image; the second sample image is an image captured when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions; the second sample image and the re-captured image inside the switch cabinet are captured at the same focal length.

[0032] In some embodiments, the method of the embodiments of this specification also includes: when receiving feedback from staff that the arc is caused by the opening and closing of the switch, collecting an image of the switch cabinet that works normally after the arc is extinguished, and re-marking the switch mark to form a new switch cabinet reference image.

[0033] In some embodiments, the method of the embodiments of this specification also includes: before acquiring the video inside the switch cabinet for arc monitoring, configuring a switch cabinet reference map according to the device number of the device that collects the video inside the switch cabinet.

[0034] In some embodiments, determining that the fault cause is that the arc is caused by the opening and closing of the switch and performing the arc extinguishing operation includes:

[0035] According to the switch mark corresponding to the arc light position in the switch cabinet monitoring diagram, the arc extinguishing strategy corresponding to the switch is matched from the database; the database pre-stores the arc extinguishing strategy corresponding to the switch type;

[0036] Perform arc extinguishing operation according to the arc extinguishing strategy.

[0037] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:

[0038] In one or more embodiments of the present specification, the embodiments of the present specification propose a method for arc monitoring in a switch cabinet, which can identify arcs on continuous image frames according to the characteristics of arc discharge, and can accurately monitor the occurrence of arcs; the image segmentation algorithm can be used to accurately identify the approximate location of the arc, and by comparing the arc occurrence position in the switch cabinet monitoring image and the switch mark position in the switch cabinet reference image to see if they coincide, it can quickly locate whether the arc occurrence position is at the switch, and then determine the cause of the arc, which can not only perform targeted arc extinguishing on arc phenomena occurring at different switches, but also perform targeted arc extinguishing according to different causes of the arc. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 This is a flow chart of a method for arc monitoring in a switch cabinet according to an embodiment of this specification;

[0041] Figure 2 This is an example diagram of the reference diagram of the switch cabinet in the embodiment of this specification. In the figure, ☆ is the switch mark, 1-isolating switch, 2-vacuum bag, 3-sealed pole, 4-conductive bar. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.

[0043] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0044] Figure 1 A flow chart of an arc monitoring method in a switch cabinet provided in an embodiment of the present specification is shown.

[0045] like Figure 1 , the method of the embodiment of this specification includes:

[0046] Step 102, acquiring a video inside the switch cabinet and parsing it to form a first image frame sequence;

[0047] Step 104, performing arc light recognition on the first image frame sequence, and if arc light is recognized, obtaining continuous frames in which arc light appears to form a second image frame sequence;

[0048] Step 106, based on the second image frame sequence, identifying the arc light occurrence position, and generating a switch cabinet monitoring diagram with the arc light occurrence position marked; the switch cabinet monitoring diagram presents the components in the switch cabinet and their arrangement positions;

[0049] Step 108, compare the switch cabinet monitoring image collected at the same focal length with the switch cabinet reference image. If the position of the arc light in the switch cabinet monitoring image coincides with the switch mark position in the switch cabinet reference image, it is determined that the cause of the fault is that the arc light is caused by the opening and closing of the switch, and the arc extinguishing operation is performed, and fault information including the cause of the fault and the position of the arc light is sent to the staff; the switch cabinet reference image is formed by identifying the switch mark on the image collected when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions.

[0050] The method of the embodiment of this specification is executed by the remote monitoring terminal, and the operation status of the switch cabinet can be monitored in real time by collecting the working video of the switch cabinet through the image acquisition device set in the switch cabinet. The remote monitoring terminal can be set in the remote monitoring platform server, intelligent terminal equipment (such as PAD, computer), etc.

[0051] There may be multiple image acquisition devices, each of which is arranged at a different position of the switch cabinet. Each image acquisition device has a device number that is uniquely identified. During the identification process of the above method, each image acquisition device is configured with a switch cabinet reference image corresponding to it. The image acquisition device may be a near infrared camera. Alternatively, when a lighting lamp is configured in the switch cabinet, the image acquisition device may be a visible light camera.

[0052] The method of the embodiment of this specification analyzes the video, obtains a continuous image frame sequence, and then performs arc recognition. After the arc phenomenon is identified and the arc position is identified, the arc phenomenon is judged whether it is caused by the switch opening and closing by comparing whether the arc position coincides with the switch mark position. If it is caused by the switch opening and closing, the arc extinguishing operation can be performed automatically; if it is caused by other reasons, such as the arc phenomenon caused by the aging of the busbar insulator, the arc phenomenon caused by the transformer inlet and outlet insulation bushing, etc., it is necessary to enter the manual detection link and perform manual arc extinguishing operation on site.

[0053] Next, the above steps will be described in detail.

[0054] In step 102, after acquiring the video in the switch cabinet, protocol and encapsulation analysis are performed in sequence, and then audio data and video data are obtained.

[0055] Video data refers to data composed of video frames. Each video frame contains pixel information of the image, including color, brightness, etc. Video data also includes the timestamp information of each video frame, which is used to indicate the order and timing relationship of frame playback.

[0056] Video data in the video data is extracted to form a first image frame sequence.

[0057] For example, by extracting a video of a certain time, such as 5 minutes, a first image frame sequence formed by a plurality of continuous video frames can be obtained.

[0058] In step 104, since the pixel values ​​of the picture change greatly after the arc phenomenon occurs, it can be determined whether the arc occurs according to the change of the pixel values.

[0059] When the switch cabinet is working normally, although there are occasional changes such as flashing signal lights and switching of operating mechanisms, the captured images generally remain unchanged. When an arc occurs, the video no longer shows a continuous and complete picture. Based on this, the first image frame sequence can be further processed to further narrow the scope of arc detection.

[0060] The arc light identification on the first image frame sequence includes:

[0061] Step 1041, determining complete coded data of all frames in the first image frame sequence based on the first frame in the first image frame sequence and the differential storage method of the compression algorithm;

[0062] Since existing video data is often stored using a compression algorithm, that is, the first frame image is stored as a complete code, and the next frame image is stored as differential code data based on the code data of the previous frame. Therefore, it is necessary to restore the complete code data of all frames in the first image frame sequence.

[0063] Step 1043, when the absolute value of the difference between the complete coded data of a certain frame in the first image frame sequence and the complete coded data of the previous frame is greater than the first threshold, and the absolute value of the difference between the complete coded data of two adjacent frames in the frame and its subsequent frames is not greater than the first threshold, extract the frame and its subsequent frames to form a target image frame sequence;

[0064] When the complete coded data of all frames in the first image frame sequence are restored in step 1041, the picture discontinuity judgment is performed. The picture before the arc appears is a continuous picture of the normal working state of the switch cabinet, and the picture after the arc appears is a continuous picture of the fault state of the switch cabinet.

[0065] To this end, the difference change of the complete coded data of adjacent frames is used to determine in which frame the picture changes. When the picture is a continuously changing content, the difference change is generally stable and will not change suddenly. When a sudden change occurs, it is considered that this frame is the first frame where the arc phenomenon occurs. If the difference between subsequent frames changes steadily, the subsequent frames of this frame also have arc phenomenon.

[0066] The first threshold is determined based on the existing historical video data. The complete coded data of the image when the switch cabinet is working normally and the complete coded data of the image when the arc phenomenon occurs in the historical data are obtained, and both are complete coded data of consecutive frames under the same video, and the difference of the complete coded data of adjacent frames is calculated. After performing the above calculation on multiple historical data, the average value is taken and then determined as the first threshold.

[0067] For example, the first image frame sequence includes 60 frames of images. In the range of the 1st frame to the 39th frame, the difference between two adjacent frames fluctuates within the same range (i.e., the difference is almost the same, and the fluctuation is stable), and does not exceed the first threshold. The difference between the complete coded data of the 39th frame and the 40th frame is much larger than the difference between the complete coded data of the 38th frame and the 39th frame (as well as the difference between the complete coded data of the previous adjacent frames), i.e., it suddenly increases and exceeds the first threshold. Afterwards, the difference between the complete coded data of the 39th frame and the 40th frame is almost the same as the difference between the complete coded data of the 40th frame and the 41st frame (as well as the difference between the complete coded data of the subsequent adjacent frames), i.e., the fluctuation is stable. Therefore, it can be determined that the 1st frame to the 39th frame are continuous pictures, and the 39th frame to the 60th frame are continuous pictures.

[0068] Step 1045, performing arc light recognition on the target image frame sequence.

[0069] The first image frame sequence is processed to obtain some continuous frames where arc light phenomenon may exist, and a target image frame sequence is obtained, so as to perform arc light recognition in a more accurate sequence.

[0070] Specifically, the step 1045 includes:

[0071] Step A1, calculating a first difference between a pixel value of a first frame in the target image frame sequence and a pixel value of a first sample image, and a second difference between a pixel value of a last frame in the target image frame sequence and a pixel value of the first sample image;

[0072] Step A3, determine whether the first difference and the second difference are both greater than the second threshold value. If so, it is recognized that arc light appears in the target image frame sequence, and the target image frame sequence is determined as the second image frame sequence; the first sample image is an image captured when the switch cabinet is working normally, which shows the components in the switch cabinet and their arrangement positions; the first sample image is captured at the same focal length as the video.

[0073] The first sample image is pre-collected before the execution of the method of the embodiment of this specification, and each image acquisition device is configured with its corresponding first sample image, which is bound and stored with the device number. When performing steps A1 to A3, the device number of the video source is obtained, the corresponding first sample image is obtained, and the pixel value of the first sample image is read.

[0074] When the pixel value differences between the first frame and the last frame in the target image frame sequence and the first sample image are both greater than the second threshold, it is determined that arc light appears in the target image frame sequence from the first frame to the last frame.

[0075] If the difference between one or both of them is not greater than the second threshold, arcing phenomenon does not occur in all frames in the target image frame sequence. Generally, the above situation occurs due to environmental factors or when the arc is extinguished or re-arcd.

[0076] The second threshold is determined based on the existing historical video data. An image of the switch cabinet when it is working normally and an image when an arc phenomenon occurs in the historical data are obtained, and both images are acquired by the same image acquisition device, and the pixel difference between the two images is calculated. After performing the above calculation on multiple historical data, the average value is taken and then determined as the second threshold.

[0077] If arcing occurs in not all frames in the target image frame sequence, the method of the embodiment of this specification needs to further process the target image frame sequence.

[0078] Specifically, the step 1045 further includes:

[0079] Step A5, if the first difference and / or the second difference is not greater than the second threshold, the target image frame sequence is trimmed, the first frame whose first difference is not greater than the second threshold and / or the last frame whose second difference is not greater than the second threshold are trimmed to form a new target image frame sequence; return to step A1.

[0080] Specifically, when the first difference is not greater than the second threshold, the first frame of the target image frame sequence is trimmed, that is, the first frame is removed from the target image frame sequence to form a new target image frame sequence; when the second difference is not greater than the second threshold, the last frame of the target image frame sequence is detected, that is, the last frame is removed from the target image frame sequence to form a new target image frame sequence; when both the first difference and the second difference are not greater than the second threshold, the first frame and the last frame of the target image frame sequence are trimmed, that is, the first frame and the last frame are removed from the target image frame sequence to form a new target image frame sequence.

[0081] The formed new target image frame sequence also needs to perform calculations in step A1 and judgments in step A3. Calculate the first difference between the pixel value of the first frame in the new target image frame sequence and the pixel value of the first sample image, and the second difference between the pixel value of the last frame in the new target image frame sequence and the pixel value of the first sample image. If both the first difference and the second difference are greater than the second threshold, it is recognized that arc light appears in the new target image frame sequence, and the new target image frame sequence is determined as the second image frame sequence. Otherwise, continue to trim and repeat the above process.

[0082] A threshold of the number of trimming times is further set. If the condition that both the first difference and the second difference are greater than the second threshold is still not satisfied after 4-5 trimmings, it is determined that there is no arc phenomenon in the target image frame sequence. It is necessary to reacquire the video data and return to step 102 to perform new detection and identification.

[0083] In step 106, the arc occurrence position is identified for the second image frame sequence where the arc phenomenon occurs.

[0084] The method of identifying the arc light occurrence position based on the second image frame sequence and generating a switch cabinet monitoring diagram with the arc light occurrence position marked thereon comprises:

[0085] Step 1061, using image fusion technology to fuse all frames in the second image frame sequence into a test image;

[0086] Arcing generally occurs continuously. When multiple frames of images are fused into one image, the dynamic changes of arcing can be fused into one image, thus presenting more features of the arc phenomenon.

[0087] Step 1063, segmenting and identifying the test image using a watershed image segmentation algorithm to form an arc light outline;

[0088] The watershed image segmentation algorithm regards the image as a terrain surface in geography, the high gray value areas in the image are regarded as peaks, and the low gray value areas are regarded as valleys, thereby achieving image segmentation.

[0089] Before segmentation, the test image needs to be grayed out and noise removed, and then the gradient map is calculated. The watershed algorithm is used for segmentation based on the gradient map.

[0090] Step 1065, when the number of arc light contours in the test image is 1, determine the coordinates of the center point of the arc light contour; when the number of arc light contours in the test image is at least 2, select the arc light contour with the largest area and determine the coordinates of the center point of the arc light contour;

[0091] When the arc phenomenon in the test image is presented as a large area of ​​bright light, it is generally similar to a light spot. The arc light contour obtained by segmentation in the test image is generally one. When the arc phenomenon in the test image is presented in the form of an arc or bright light and an arc are presented together, the arc light contours obtained by segmentation in the test image are generally two or more.

[0092] Use the boudingRect function to calculate the circumscribed matrix of the arc light contour. Use OpenCV to calculate the center point coordinates of the circumscribed matrix, and determine these coordinates as the center point coordinates of the arc light contour. The center point coordinates of the arc light contour are the position where the arc light appears.

[0093] Step 1067, according to the coordinates of the center point of the arc light contour, mark the arc light appearance position in the first sample image to form a switch cabinet monitoring map; the first sample image is an image collected when the switch cabinet is working normally, which shows the components in the switch cabinet and their arrangement positions.

[0094] The image frames in the first sample image and the video data are all acquired by the same image acquisition device at the same focal length. After obtaining the coordinates of the center point of the arc light profile in the test image, the arc light appearance position can be marked in the first sample image according to the determined coordinates. Even if there is a difference between the test image and the first sample image, the difference is within the allowable error range.

[0095] When marking, you can mark the center point coordinates of the arc outline in the form of a "dot", or you can use a closed figure, such as a "circle", "triangle", or "square" to mark the arc position. The coordinate value of the center point of the closed figure is the coordinate value of the center point of the arc outline.

[0096] In step 108, the switch cabinet reference image is an image captured when the switch cabinet is working normally. The difference between the switch cabinet reference image and the first sample image is that the switch cabinet reference image is marked with switch marks, and is pre-marked manually according to the arrangement of components in the switch cabinet. In the recognition process of the above method, each image acquisition device is configured with a corresponding switch cabinet reference image and a first sample image. And the switch cabinet reference image and the first sample image are collected at the same focal length.

[0097] The difference between the switch cabinet monitoring diagram and the switch cabinet reference diagram is that the switch cabinet monitoring diagram is a diagram formed by acquiring real-time collected data, while the switch cabinet reference diagram is pre-configured before the embodiment of this specification is put into use.

[0098] In the switch cabinet reference diagram, closed shapes such as "circle", "triangle", "square", "polygon" and the like can be used to mark switches. Figure 2 Example: The center point of the closed shape is the center point of the switch, or the position between the switch contacts.

[0099] The arc light position in the switch cabinet monitoring diagram coincides with the switch mark position in the switch cabinet reference diagram, which can be determined by one of the following methods:

[0100] Mode 1: The center point coordinates of the arc outline are located within the closed figure marked by the switch.

[0101] Method 2: The closed figure indicating the arc occurrence position partially or completely overlaps with the closed figure of the switch mark.

[0102] The above judgment can be realized by using Python to judge the overlap of images. You can also merge the switch cabinet monitoring image and the switch cabinet reference image into one image, use the Canny algorithm and findContours function in the openCV library, and use the hierarchical relationship of the marked graphics to determine whether they overlap. You can also mark the arc light position in the switch cabinet monitoring image in the switch cabinet reference image, and determine it by the position relationship between the switch mark in the switch cabinet reference image and the feature point position of the arc light position.

[0103] When the above conditions are not met, it is determined that the arc light position in the switch cabinet monitoring diagram does not coincide with the switch mark position in the switch cabinet reference diagram. At this time, it can be considered that the arc light phenomenon is not caused by the switch opening and closing. Reacquire a new video and repeat the above process for monitoring.

[0104] When the above conditions are met, it is determined that the arc light position in the switch cabinet monitoring diagram coincides with the switch mark position in the switch cabinet reference diagram, and the cause of the fault is determined to be that the arc light is caused by the opening and closing of the switch, and the arc extinguishing operation is performed.

[0105] Specifically include:

[0106] Step 1081, according to the switch mark corresponding to the arc light position in the switch cabinet monitoring diagram, matching the arc extinguishing strategy corresponding to the switch from the database; the database pre-stores the arc extinguishing strategy corresponding to the switch type;

[0107] Step 1083, performing arc extinguishing operation according to the arc extinguishing strategy.

[0108] Each switch tag is bound and stored with a switch number, and the switch type is determined by querying the database according to the switch number. The database is also configured with arc extinguishing strategies for different switches. The arc extinguishing strategy is stored in correspondence with the switch number and the switch type.

[0109] The switches in the switch cabinet may include circuit breakers, load switches, disconnectors, etc. Each type of switch has its corresponding arc extinguishing strategy. For example, the arc extinguishing strategies of circuit breakers include vacuum arc extinguishing, air arc extinguishing, oil-immersed arc extinguishing, etc. Before applying the method of the embodiment of this specification, the arc extinguishing strategies for different types of switches are configured in advance using prior knowledge. After matching the relevant strategies, the system can automatically extinguish the arc directly according to the instructions.

[0110] During the arc extinguishing operation, the remote monitoring terminal also sends fault information to the staff. For example, it is sent to the staff's mobile device by SMS, email and other information transmission methods. The arc phenomenon can be known in real time. The fault information includes the fault cause of "arc caused by switch opening and closing" and the location of the arc. Among them, the location of the arc can be presented in the form of a switch cabinet monitoring diagram with the arc location marked, which is convenient for the staff to track the fault resolution in the future.

[0111] When considering that the arc light position in the switch cabinet monitoring diagram does not coincide with the switch mark position in the switch cabinet reference diagram, there may be factors such as shooting angle or inaccurate marking, the method of the embodiment of this specification also includes step 110, re-capturing the image to determine whether the arc light is caused by the opening and closing of the switch.

[0112] The step 110 includes:

[0113] Step 1101, if the arc light position in the switch cabinet monitoring image does not coincide with the switch mark position in the switch cabinet reference image, adjust the focal length and re-capture the image inside the switch cabinet;

[0114] Step 1103, identifying a new arc light occurrence position for the re-collected image inside the switch cabinet, and generating a new switch cabinet monitoring diagram with the new arc light occurrence position marked thereon; the new switch cabinet monitoring diagram presents the components inside the switch cabinet and their arrangement positions;

[0115] Step 1105, calculating the distance between the arc light position and the device in the switch cabinet monitoring images collected at different focal lengths, identifying the device closest to the new arc light position as the reference device; identifying the device closest to the original arc light position as the target device;

[0116] Step 1107, when the reference device is the same as the target device, it is determined that the cause of the fault is that the arc is caused by the opening and closing of the switch, the arc extinguishing operation is performed, and fault information including the cause of the fault and the location where the arc appears is sent to the staff; otherwise, it is determined that the cause of the fault is that the arc is caused by other reasons, and a manual detection instruction including the cause of the fault and the location where the arc appears is sent to the staff.

[0117] This step uses the same image acquisition device that is used to acquire the video, and re-acquires a new image after changing the default acquisition focal length. By determining whether the nearest device in the image at different focal lengths is the same, it is further determined whether the cause of the arc phenomenon is caused by the opening and closing of the switch.

[0118] In step 1101, the focal length adjustment can be preset, and can be set based on whether the captured image can include the desired detection object, and can achieve closer or slightly farther distance capture. To ensure the consistency of detection accuracy, the same focal length can be set for all image capture devices for re-capture.

[0119] In step 1103, a new arc light position is identified for the re-collected image inside the switch cabinet, and a new switch cabinet monitoring map with the new arc light position marked is generated, including:

[0120] Step B1, segmenting and identifying the re-collected image inside the switch cabinet using a watershed algorithm image segmentation algorithm to form an arc light contour, and determining the coordinates of the center point of the arc light contour;

[0121] For example, refer to step 1063 to perform image segmentation, and use the boudingRect function to calculate the circumscribed matrix of the arc light contour. Use OpenCV to calculate the center point coordinates of the circumscribed matrix, and determine this coordinate as the center point coordinates of the arc light contour. The center point coordinates of the arc light contour are the new arc light appearance position.

[0122] When the number of arc light profiles is 1, the coordinates of the center point of the arc light profile are determined; when the number of arc light profiles is at least 2, the arc light profile with the largest area is selected to determine the coordinates of the center point of the arc light profile.

[0123] Step B3, according to the coordinates of the center point of the arc outline, identify the new arc appearance position in the second sample image; the second sample image is an image captured when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions; the second sample image is captured at the same focal length as the re-captured image inside the switch cabinet.

[0124] After obtaining the center point coordinates of the arc light contour in the re-collected image, the arc light appearance position can be marked in the second sample image according to the determined coordinates. Even if there is a difference between the re-collected image and the second sample image, the difference is within the allowable error range.

[0125] Before executing step 110, the first sample image, the switch cabinet monitoring image, and the switch cabinet reference image are all acquired at the same default focal length. When executing step 110, the second sample image, the re-acquired image, and the new switch cabinet monitoring image are all acquired at the same focal length.

[0126] The difference between the switch cabinet monitoring diagram and the new switch cabinet monitoring diagram is that the two are obtained by shooting at different focal lengths. The similarity between the two is that both are marked with switch marks. The switch marks in the new switch cabinet monitoring diagram can be identified by referring to the switch marking method in the switch cabinet monitoring diagram formed in step 106. In the recognition process of the above method, each image acquisition device is configured with a switch cabinet reference diagram, a first sample image, and a second sample image corresponding to it. Correspondingly, the switch cabinet monitoring diagram formed in the recognition process is also stored in the corresponding device.

[0127] The difference between the second sample image and the new switch cabinet monitoring map is that the second sample image is pre-collected and configured before the method of the embodiment of this specification is applied, while the new switch cabinet monitoring map is formed during the monitoring process.

[0128] In step 1105, the switch cabinet monitoring diagram identifies other devices in addition to the switch. Other devices are identified in a manner different from that of identifying the switch. During the identification process, the device number and device location information are bound accordingly. The device number, device identification, and device name are stored in the system database accordingly. Before the method of the embodiment of this specification is applied, the marking configuration is performed according to the device arrangement in the switch cabinet.

[0129] By reading the device identification, the device location information can be obtained. After that, the location information of each device (such as coordinates) is calculated with the arc light position (i.e. the coordinates of the center point of the arc light profile), and the distance formula is used to calculate and find the device with the shortest distance value. When the device numbers of the reference device obtained in this way are consistent with those of the target device, the two are the same, and the cause of the fault is determined to be the arc light caused by the opening and closing of the switch, and the arc extinguishing operation is performed.

[0130] If they are not the same, the arc is caused by other reasons, and the staff needs to conduct on-site inspection according to the manual inspection instructions, and perform targeted arc extinguishing operations according to the reasons. The remote monitoring terminal sends the manual inspection instructions to the staff. For example, it is sent to the staff's mobile device in the form of text messages, emails, etc. The occurrence of the arc phenomenon can be known in real time. The fault information includes the fault cause of "arc is caused by other reasons" and the location of the arc. Among them, the location of the arc can be presented in the form of a switch cabinet monitoring diagram with the arc location marked, which is convenient for the staff to locate the fault location and extinguish the arc in time.

[0131] The method of the embodiment of this specification also includes:

[0132] Step 112, when the staff feedback information is received that the arc light is caused by the switch opening and closing, the image of the switch cabinet working normally after the arc is extinguished is collected, and the switch mark is re-marked to form a new switch cabinet reference image.

[0133] In this step, after executing step 110, when the staff receives the fault information to track the occurrence of the arc phenomenon, it can be determined that the switch mark in the switch cabinet reference map does not match the actual site. After the switch cabinet is repaired and the switch cabinet is working normally, a new sample image is re-collected and the switch mark is updated to form a new switch cabinet reference map. The newly collected first sample image, switch cabinet reference map, and second sample image under the corresponding device number are updated in the remote monitoring terminal. Then enter a new arc monitoring process.

[0134] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0135] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0136] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.

Claims

1. A method for arc monitoring in a switch cabinet, characterized in that: include: Acquire the video inside the switch cabinet and parse it to form a first image frame sequence; Perform arc light recognition on the first image frame sequence, and if arc light is recognized, obtain continuous frames in which the arc light appears to form a second image frame sequence; Based on the second image frame sequence, the arc light occurrence position is identified, and a switch cabinet monitoring diagram with the arc light occurrence position marked is generated; the switch cabinet monitoring diagram presents the components in the switch cabinet and their arrangement positions; The switch cabinet monitoring image collected at the same focal length is compared with the switch cabinet reference image. If the position of the arc light in the switch cabinet monitoring image coincides with the position of the switch mark in the switch cabinet reference image, it is determined that the cause of the fault is the arc light caused by the opening and closing of the switch, and the arc extinguishing operation is performed, and fault information including the cause of the fault and the position of the arc light is sent to the staff; the switch cabinet reference image is formed by identifying the switch mark on the image collected when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions.

2. The method according to claim 1, characterized in that The arc light identification on the first image frame sequence includes: Determining complete coded data of all frames in the first image frame sequence based on the first frame in the first image frame sequence and the differential storage method of the compression algorithm; When the absolute value of the difference between the complete coded data of a certain frame in the first image frame sequence and the complete coded data of the previous frame is greater than a first threshold, and the absolute value of the difference between the complete coded data of two adjacent frames in the frame and its subsequent frames is not greater than the first threshold, extract the frame and its subsequent frames to form a target image frame sequence; Perform arc light recognition on the target image frame sequence.

3. The method according to claim 2, characterized in that The arc light recognition of the target image frame sequence comprises: A first difference between a pixel value of a first frame in the target image frame sequence and a pixel value of a first sample image, and a second difference between a pixel value of a last frame in the target image frame sequence and a pixel value of the first sample image are calculated; if both the first difference and the second difference are greater than a second threshold, it is recognized that arc light occurs in the target image frame sequence, and the target image frame sequence is determined to be a second image frame sequence; the first sample image is an image captured when the switch cabinet is working normally, which presents components in the switch cabinet and their arrangement positions; the first sample image and the video are captured at the same focal length.

4. The method according to claim 3, characterized in that The arc light recognition of the target image frame sequence further includes: If the first difference and / or the second difference is not greater than the second threshold, the target image frame sequence is trimmed, and the first frame whose first difference is not greater than the second threshold and / or the last frame whose second difference is not greater than the second threshold are trimmed to form a new target image frame sequence; A first difference between the pixel value of the first frame in the new target image frame sequence and the pixel value of the first sample image, and a second difference between the pixel value of the last frame in the new target image frame sequence and the pixel value of the first sample image are calculated; if both the first difference and the second difference are greater than the second threshold, it is recognized that arc light appears in the new target image frame sequence, and the new target image frame sequence is determined to be the second image frame sequence; otherwise, the above-mentioned trimming process is repeated.

5. The method according to claim 1, characterized in that The method of identifying the arc light occurrence position based on the second image frame sequence and generating a switch cabinet monitoring diagram with the arc light occurrence position marked thereon comprises: Using image fusion technology, all frames in the second image frame sequence are fused into a test image; The test image is segmented and identified using a watershed algorithm image segmentation algorithm to form an arc light outline; When the number of arc light contours in the test image is 1, determining the coordinates of the center point of the arc light contour; when the number of arc light contours in the test image is at least 2, selecting the arc light contour with the largest area and determining the coordinates of the center point of the arc light contour; According to the coordinates of the center point of the arc light contour, the position where the arc light appears is marked in the first sample image to form a switch cabinet monitoring map; the first sample image is an image collected when the switch cabinet is working normally, which shows the components in the switch cabinet and their arrangement positions; the first sample image is collected at the same focal length as the video.

6. The method according to claim 1, characterized in that Also includes: If the position of the arc light in the switch cabinet monitoring image does not coincide with the switch mark position in the switch cabinet reference image, adjust the focal length and re-capture the image inside the switch cabinet; For the re-collected image inside the switch cabinet, a new arc light occurrence position is identified, and a new switch cabinet monitoring map with the new arc light occurrence position marked is generated; the new switch cabinet monitoring map presents the components inside the switch cabinet and their arrangement positions; Calculate the distance between the arc light position and the device in the switch cabinet monitoring images collected at different focal lengths, and identify the device closest to the new arc light position as the reference device; Identify the device closest to the original arc light occurrence position as the target device; When the reference device is the same as the target device, the cause of the fault is determined to be the arc caused by the opening and closing of the switch, the arc extinguishing operation is performed, and fault information including the cause of the fault and the location of the arc is sent to the staff; otherwise, the cause of the fault is determined to be the arc caused by other reasons, and a manual detection instruction including the cause of the fault and the location of the arc is sent to the staff.

7. The method according to claim 6, characterized in that The step of identifying a new arc light location on the re-collected image inside the switch cabinet and generating a new switch cabinet monitoring diagram with the new arc light location marked thereon includes: The re-collected images inside the switch cabinet are segmented and identified using the watershed algorithm image segmentation algorithm to form an arc outline and determine the coordinates of the center point of the arc outline; According to the coordinates of the center point of the arc light contour, the new arc light appearance position is identified in the second sample image; the second sample image is an image captured when the switch cabinet is working normally, which presents the components in the switch cabinet and their arrangement positions; the second sample image and the re-captured image inside the switch cabinet are captured at the same focal length.

8. The method according to claim 6, characterized in that Also includes: When feedback is received from the staff that the arc is caused by the opening and closing of the switch, an image of the switch cabinet working normally after the arc is extinguished is collected, and the switch marks are re-marked to form a new reference image of the switch cabinet.

9. The method according to claim 1, characterized in that: Before acquiring the video inside the switch cabinet for arc monitoring, the method further includes: configuring a switch cabinet reference diagram correspondingly according to the device number for collecting the video inside the switch cabinet.

10. The method according to claim 1, characterized in that Determining that the fault cause is that the arc is caused by the switch opening and closing, and performing the arc extinguishing operation, includes: According to the switch mark corresponding to the arc light position in the switch cabinet monitoring diagram, the arc extinguishing strategy corresponding to the switch is matched from the database; the database pre-stores the arc extinguishing strategy corresponding to the switch type; Perform arc extinguishing operation according to the arc extinguishing strategy.