Knife switch state identification method and device, electronic equipment and medium

Through the trained scale and pointer recognition model combined with the knife switch image, the scale information and pointer position are recognized, and the indicator value of the pointer on the scale scale is calculated, which solves the problem of difficult to identify the intermediate state of the knife switch in the prior art, and achieves higher accuracy state recognition.

CN119723544APending Publication Date: 2025-03-28ZHUHAI UNITECH POWER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411811948.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art is difficult to effectively identify the intermediate state of the knife switch in the power system, resulting in the inaccurate identification of the knife switch when the closing is not closed or the closing is not divided.

Method used

By obtaining the trained scale recognition model and pointer recognition model, combining the knife switch image, identifying scale information and pointer position information, the indicator value of the pointer on the scale scale is calculated, and the split and closing state information of the knife switch is output.

Benefits of technology

It realizes effective distinction and identification of the in-place state and intermediate state of the knife switch, and improves the accuracy of the knife switch state recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119723544A_ABST
    Figure CN119723544A_ABST
Patent Text Reader

Abstract

The invention discloses a disconnecting link state identification method and device, electronic equipment and a medium. The disconnecting link state identification method is used for identifying the opening and closing states of a disconnecting link of a power system, a disconnecting link assembly of the power system comprises a pointer synchronously moving with a disconnecting link moving contact and a graduated scale covering the movement range of the pointer, and the disconnecting link state identification method comprises the steps that a scale identification model and a pointer identification model which are obtained through training are obtained; obtaining a disconnecting link image to be identified; obtaining scale information to be recognized and pointer position information according to the disconnecting link image, the scale recognition model and the pointer recognition model; according to the scale information and the pointer position information, obtaining an indication value of the to-be-identified pointer on the calibrated scale; and outputting the on-off state information of the to-be-identified disconnecting link based on the indication value. According to the disconnecting link state identification method provided by the embodiment of the invention, the in-place state and the intermediate state of the disconnecting link can be effectively distinguished and identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of knife switch components in power systems, and in particular to a knife switch state identification method, an identification device, an electronic device and a medium. Background Art

[0002] The knife switch is one of the most important electrical equipment in the power system. Its safe operation is directly related to the safety of the power system. Misoperation of the knife switch will cause great harm to the power system, which may damage the equipment at the least, or cause casualties and large-scale power outages at the worst.

[0003] In the related art, with the help of computer vision algorithms, the on-off state of the knife switch can be identified to a certain extent. In the related art, the images of the moving contact and the static contact of the knife switch are directly obtained and image recognition is performed to output the on-off state information of the knife switch. Since the structure of the moving contact and the static contact of the knife switch is relatively complex, and the image background of the corresponding image is also relatively complex, when the knife switch is in some intermediate states of being about to be closed or about to be opened, the above recognition scheme cannot effectively distinguish and identify. Summary of the invention

[0004] The present application provides a knife switch state identification method, an identification device, an electronic device and a medium, which can effectively distinguish and identify the in-place state and the intermediate state of the knife switch.

[0005] In the first aspect, an embodiment of the present application provides a knife switch state recognition method for identifying the open / closed state of a knife switch in an electric power system, wherein the knife switch assembly of the electric power system includes a pointer that moves synchronously with a moving contact of the knife switch and a scale covering the movable range of the pointer, and the knife switch state recognition method includes: obtaining a trained scale recognition model and a pointer recognition model; obtaining a knife switch image to be identified; obtaining scale information to be identified and pointer position information based on the knife switch image, the scale recognition model, and the pointer recognition model; obtaining an indication value of the pointer to be identified on the scale based on the scale information and the pointer position information; and outputting the open / closed state information of the knife switch to be identified based on the indication value.

[0006] According to the aforementioned implementation manner of the first aspect of the present application, the acquisition of the trained scale recognition model and pointer recognition model includes: collecting multiple images of the knife switch assembly in time sharing to obtain a training atlas; marking the scale values ​​and scale key points in each image in the training atlas; and training the YOLO-Pose model based on the scale values ​​and scale key points marked in the training atlas to obtain a scale recognition model.

[0007] According to any of the aforementioned implementations of the first aspect of the present application, the acquisition of the trained scale recognition model and pointer recognition model includes: collecting multiple images of the knife switch assembly in time sharing to obtain a training atlas; marking the pointer in each image in the training atlas; and training the YOLO segmentation model based on the pointer marked in the training atlas to obtain the pointer recognition model.

[0008] According to any of the aforementioned embodiments of the first aspect of the present application, the moving contact of the knife switch realizes the opening and closing movement by rotation, and the scale is an angle scale; the scale information to be identified and the pointer position information are obtained according to the knife switch image, the scale recognition model, and the pointer recognition model, including: fitting the coordinates of at least three scale points on the knife switch image through the scale recognition model; obtaining the center and radius of the angle scale based on the coordinates of the at least three scale points to obtain the scale information; fitting the straight line where the pointer to be identified on the knife switch image is located through the pointer recognition model to obtain the pointer position information.

[0009] According to any of the aforementioned implementations of the first aspect of the present application, obtaining the indication value of the pointer to be identified on the scale based on the scale information and the pointer position information includes: obtaining the indication position of the end of the straight line where the pointer to be identified is located on the angle scale; and obtaining the indication value of the pointer to be identified on the scale based on the ratio of the arc length on the angle scale corresponding to the indication position.

[0010] According to any of the aforementioned embodiments of the first aspect of the present application, the moving contact of the knife switch realizes the opening and closing movement by linear operation, and the scale is a linear scale; the scale information to be identified and the pointer position information are obtained according to the knife switch image, the scale recognition model, and the pointer recognition model, including: fitting the coordinates of at least three scale points on the knife switch image through the scale recognition model to obtain the scale information; fitting the straight line where the pointer to be identified on the knife switch image is located through the pointer recognition model to obtain the pointer position information.

[0011] According to any of the aforementioned implementations of the first aspect of the present application, obtaining the indication value of the pointer to be identified on the scale based on the scale information and the pointer position information includes: obtaining the intersection position of the straight line where the pointer to be identified is located on the linear scale; and obtaining the indication value of the pointer to be identified on the scale based on the coordinate value of the intersection position on the linear scale.

[0012] According to any of the aforementioned implementations of the first aspect of the present application, the output of the opening and closing status information of the knife switch to be identified based on the indication value includes: if the indication value is less than a first indication threshold used to indicate that the knife switch is in place, the opening and closing status information of the knife switch to be identified is output as being in place; if the indication value is greater than a second indication threshold used to indicate that the knife switch is in place, the opening and closing status information of the knife switch to be identified is output as being in place; if the indication value is greater than or equal to the first indication threshold and less than or equal to the second indication threshold, the opening and closing status information of the knife switch to be identified is output as being not in place.

[0013] In the second aspect, an embodiment of the present application provides a knife switch state identification device for identifying the opening and closing states of a knife switch in an electric power system, wherein the knife switch assembly of the electric power system includes a pointer that moves synchronously with a moving contact of the knife switch and a scale covering the movable range of the pointer, and the knife switch state identification device includes: a model acquisition module for acquiring a trained scale recognition model and a pointer recognition model; a knife switch image acquisition module for acquiring a knife switch image to be identified; an image recognition module for obtaining scale information to be identified and pointer position information based on the knife switch image, the scale recognition model and the pointer recognition model; an indication value acquisition module for obtaining an indication value of the pointer to be identified on the scale based on the scale information and the pointer position information; and a state judgment module for outputting the opening and closing state information of the knife switch to be identified based on the indication value.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and at least one processor, wherein the memory is electrically connected to the at least one processor, instructions are stored in the memory, and the at least one processor calls the instructions in the memory so that the electronic device executes the knife switch status identification method according to any of the aforementioned embodiments of the first aspect of the present application.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, a knife switch state identification method according to any of the aforementioned embodiments of the first aspect of the present application is implemented.

[0016] According to the knife switch state recognition method of the embodiment of the present application, a pointer that moves synchronously with the knife switch moving contact and a scale that covers the pointer's range of motion are provided in the knife switch assembly of the power system. The knife switch image to be recognized, as well as the matching scale recognition model and pointer recognition model for image recognition, are all for the pointer and scale in the knife switch assembly. According to the knife switch image, the scale recognition model, and the pointer recognition model, the scale information to be recognized and the pointer position information can be obtained. The scale information and the pointer position information in the knife switch image have obvious characteristics, and the changes are more obvious when the knife switch moves. In addition, in the knife switch state recognition method of the embodiment of the present application, the indication value of the pointer to be recognized on the scale is obtained according to the scale information and the pointer position information, and the opening and closing state information of the knife switch to be recognized is output according to the indication value. When the state of the knife switch changes slightly, the indication value can more accurately reflect the slight change in the form of a numerical value, not only can accurately identify the state of the knife switch in the closed position and the open position, but also can effectively distinguish and identify when the knife switch is in some intermediate states such as about to close and not closed, about to open and not open, so as to improve the accuracy of the knife switch state recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0018] Figure 1 This is a structural schematic diagram of a portion of the structure of an embodiment of a knife switch assembly of the present application; Figure 2 A schematic diagram of a partial structure of another embodiment of the knife switch assembly of the present application; Figure 3 This is a flow chart of an embodiment of a method for identifying a knife switch state according to the present application; Figure 4 A flowchart of obtaining a trained scale recognition model and a pointer recognition model in an embodiment of a switch state recognition method of the present application; Figure 5 This is a structural schematic diagram of an embodiment of a switch state identification device of the present application; Figure 6 This is a schematic diagram of the hardware structure of an embodiment of the electronic device of the present application.

[0019] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0021] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0022] In addition, the descriptions of "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0023] The embodiment of the present application provides a switch state identification method. The switch state identification method is used to identify the switch opening and closing states of a power system switch.

[0024] Figure 1 The schematic diagram of the structure of the partial structure of an embodiment of the knife switch assembly of the present application. The knife switch assembly of the power system includes a pointer 930 that moves synchronously with the knife switch moving contact 910 and a scale 940 that covers the range of movement of the pointer 930. Figure 1 In this embodiment, the knife switch moving contact 910 realizes the opening and closing movement by rotating, and the scale 940 is an angle scale. Specifically, the angle scale is fixedly connected to the base 920 of the knife switch assembly, and the pointer 930 is installed on the main shaft 950 of the knife switch moving contact 910, so that the pointer 930 rotates with the rotation of the knife switch moving contact 910 and indicates the corresponding position on the angle scale.

[0025] In some embodiments, the scale 940 is made of insulating and opaque material, and the scale on the scale 940 is printed with fluorescent material so as to have a good display effect under light. Optionally, the pointer 930 is made of stainless steel.

[0026] Figure 2This is a schematic diagram of the structure of part of another embodiment of the knife switch assembly of the present application. In another embodiment, the knife switch moving contact realizes the opening and closing movement by linear operation, and the scale 940 is a linear scale. Specifically, the knife switch assembly includes a connecting rod 960 connected between the knife switch moving contact and the driving member, and the driving member drives the knife switch moving contact to reciprocate through the connecting rod 960, thereby realizing opening and closing. The pointer 930 is fixedly connected to the connecting rod 960, so as to perform synchronous linear motion with the connecting rod 960. The linear scale can be installed near the connecting rod 960, and the pointer 930 indicates the corresponding position on the linear scale.

[0027] In some embodiments, the scale 940 is made of stainless steel, and the graduations on the scale 940 are printed with fluorescent material so as to have a good display effect under light.

[0028] Figure 3 This is a flow chart of an embodiment of a knife switch state identification method of the present application. The knife switch state identification method comprises steps S110 to S140.

[0029] In step S110, the trained scale recognition model and pointer recognition model are obtained.

[0030] Figure 4 This is a flowchart of obtaining a trained scale recognition model and a pointer recognition model in an embodiment of a knife switch state recognition method of the present application. In some embodiments, step S110 includes steps S111 to S115.

[0031] In step S111, multiple images of the knife switch assembly are collected in time-sharing manner to obtain a training atlas.

[0032] In step S112, the scale value and the scale key points are marked in each image in the training atlas. In some embodiments, different scale values ​​are marked as different categories, and when the model is subsequently trained and the scale recognition model is used to perform image recognition, the scale value category of the image is identified to obtain the corresponding scale value.

[0033] In step S113, the YOLO-Pose model is trained based on the scale values ​​and scale key points marked in the training atlas to obtain a scale recognition model.

[0034] In step S114, a pointer is annotated in each image in the training atlas.

[0035] In step S115, the YOLO segmentation model is trained based on the pointers annotated in the training atlas to obtain a pointer recognition model.

[0036] In step S120, the knife switch image to be identified is obtained. In this embodiment, the knife switch image to be identified includes image information of the pointer and scale of the knife switch component.

[0037] In step S130, the scale information to be identified and the pointer position information are obtained according to the knife switch image, the scale recognition model and the pointer recognition model.

[0038] As mentioned above, in some embodiments, the knife switch moving contact 910 realizes the opening and closing movement by rotating, and the scale is an angle scale. At this time, the step S130 of obtaining the scale information to be identified and the pointer position information according to the knife switch image, the scale recognition model, and the pointer recognition model may include: fitting the coordinates of at least three scale points on the knife switch image through the scale recognition model; obtaining the center and radius of the angle scale based on the coordinates of at least three scale points to obtain the scale information; fitting the straight line where the pointer to be identified on the knife switch image is located through the pointer recognition model to obtain the pointer position information.

[0039] For example, the coordinates of at least three scale points on the knife gate image are , , , then the circle where the angle scale is located can be fitted according to the coordinates of the three scale points and the center of the angle scale Solving the equation of the circle according to the coordinates of the three scale points, we can get the following data results:

[0040]

[0041]

[0042]

[0043]

[0044]

[0045]

[0046] Thus obtaining the scale information.

[0047] In some other embodiments, the knife switch moving contact 910 realizes the opening and closing movement by linear operation, and the scale is a linear scale. At this time, the step S130 of obtaining the scale information to be identified and the pointer position information according to the knife switch image, the scale recognition model, and the pointer recognition model may include: fitting the coordinates of at least three scale points on the knife switch image through the scale recognition model to obtain the scale information; fitting the straight line where the pointer to be identified on the knife switch image is located through the pointer recognition model to obtain the pointer position information.

[0048] In step S140, the indication value of the pointer to be identified on the scale is obtained according to the scale information and the pointer position information.

[0049] In some of the above embodiments, when the knife switch moving contact 910 realizes the opening and closing movement by rotating, and the scale is an angle scale, step S140 may further include: obtaining the indicated position of the end of the straight line where the pointer to be identified is located on the angle scale; based on the arc length ratio corresponding to the indicated position on the angle scale, obtaining the indicated value of the pointer to be identified on the scale . At this time, the indicated value is the angle between the pointer and the reference position. For example, the full scale of the angle scale is 90°, and the corresponding arc length is L AC The arc length corresponding to the indicated position on the angle scale at the end of the line where the pointer is to be identified is L AB , then the indicated value .

[0050] In some other embodiments described above, when the knife switch moving contact 910 realizes the opening and closing movement by linear operation, and the scale is a linear scale, step S140 may further include: obtaining the intersection position of the straight line where the pointer to be identified is located on the linear scale; based on the coordinate value of the intersection position on the linear scale, obtaining the indication value of the pointer to be identified on the scale For example, the maximum scale value of a linear scale The maximum scale point Corresponding scale value, minimum scale value The minimum scale point The intersection position of the line where the pointer to be identified is on the linear scale is B , then the current indication value .

[0051] In step S150, based on the indication value, the opening and closing state information of the switch to be identified is output.

[0052] In some embodiments, the on / off state information of the switch to be identified can be output based on the numerical range of the indication value. In this case, step S150 includes: Less than the first indication threshold used to indicate that the knife switch is fully closed , the output of the switch status information to be identified is the switch in place; if the indication value Greater than the second indication threshold used to indicate that the knife switch is fully opened , the output of the switch-on / off status information to be identified is the switch-off position; if the indication value Greater than or equal to the first indication threshold and is less than or equal to the second indication threshold , the output of the opening and closing status information of the knife switch to be identified is not in place.

[0053] According to the knife switch state recognition method of the embodiment of the present application, a pointer that moves synchronously with the knife switch moving contact 910 and a scale covering the pointer's moving range are provided in the knife switch assembly of the power system. The acquired knife switch image to be identified, as well as the matching scale recognition model and pointer recognition model for image recognition, are all for the pointer and scale in the knife switch assembly. According to the knife switch image, the scale recognition model, and the pointer recognition model, the scale information to be identified and the pointer position information can be obtained. The scale information and the pointer position information in the knife switch image have obvious features, and the changes are more obvious when the knife switch moves. And in the knife switch state recognition method of the embodiment of the present application, the indication value of the pointer to be identified on the scale is obtained according to the scale information and the pointer position information, and the opening and closing state information of the knife switch to be identified is output according to the indication value. When there is a slight change in the state of the knife switch, the indication value can more accurately reflect the slight change in the form of a numerical value. It can not only accurately identify the state of the knife switch in the closed position and the open position, but also effectively distinguish and identify when the knife switch is in some intermediate states such as about to close but not yet closed, about to open but not yet open, etc. The above identification scheme cannot effectively distinguish and identify, thereby improving the accuracy of knife switch state identification.

[0054] According to the switch state identification method of the embodiment of the present application, a pointer that moves synchronously with the switch moving contact 910 and a scale that covers the pointer's range of motion are provided in the switch assembly of the power system. The switch opening and closing states are judged by using the indicated positions of the pointer and the scale in the switch image. In the case of changes in the shooting angle, the stability of the pointer indication reading can be ensured, thereby ensuring the reliability of the switch opening and closing state judgment.

[0055] The embodiment of the present application also provides a switch state identification device. The switch state identification device is used to identify the switch opening and closing state of the power system switch. The switch assembly of the power system includes a pointer that moves synchronously with the switch moving contact 910 and a scale covering the pointer's moving range.

[0056] Figure 5The schematic diagram of the structure of an embodiment of the knife switch state recognition device of the present application is as follows. The knife switch state recognition device comprises a model acquisition module 110 , a knife switch image acquisition module 120 , an image recognition module 130 , an indication value acquisition module 140 , and a state judgment module 150 .

[0057] The model acquisition module 110 is used to acquire the trained scale recognition model and pointer recognition model.

[0058] The knife switch image acquisition module 120 is used to acquire the knife switch image to be identified.

[0059] The image recognition module 130 is used to obtain scale information to be recognized and pointer position information according to the knife switch image, the scale recognition model and the pointer recognition model.

[0060] The indication value acquisition module 140 is used to obtain the indication value of the pointer to be identified on the scale according to the scale information and the pointer position information.

[0061] The state judgment module 150 is used to output the opening and closing state information of the knife switch to be identified based on the indication value.

[0062] According to the knife switch state identification device of the embodiment of the present application, a pointer that moves synchronously with the knife switch moving contact 910 and a scale covering the pointer's moving range are provided in the knife switch assembly of the power system. The knife switch image to be identified acquired by the knife switch image acquisition module 120, and the scale recognition model and pointer recognition model for image recognition acquired by the model acquisition module 110 are all for the pointer and scale in the knife switch assembly. According to the knife switch image, the scale recognition model, and the pointer recognition model, the scale information to be identified and the pointer position information can be obtained. The scale information and the pointer position information in the knife switch image have obvious features, and the changes are more obvious when the knife switch moves. The indication value acquisition module 140 obtains the indication value of the pointer to be identified on the scale according to the scale information and the pointer position information, and the state judgment module 150 outputs the opening and closing state information of the knife switch to be identified based on the indication value. When there is a slight change in the state of the knife switch, the indication value can more accurately reflect the slight change in the form of a numerical value. It can not only accurately identify the state of the knife switch in the closed position and the open position, but also effectively distinguish and identify when the knife switch is in some intermediate states such as about to close but not yet closed, about to open but not yet open, etc. The above identification scheme cannot effectively distinguish and identify, thereby improving the accuracy of knife switch state identification.

[0063] According to the switch state identification device of the embodiment of the present application, a pointer that moves synchronously with the switch moving contact 910 and a scale that covers the pointer's moving range are provided in the switch assembly of the power system. The switch opening and closing states are judged by using the indicated positions of the pointer and the scale in the switch image. In the case of changes in the shooting angle, the stability of the pointer indication reading can be ensured, thereby ensuring the reliability of the switch opening and closing state judgment.

[0064] An embodiment of the present application also provides an electronic device. Figure 6 The hardware structure diagram of an embodiment of an electronic device of the present application is shown in FIG. The electronic device includes a memory 610 and at least one processor 620, the memory 610 is electrically connected to the at least one processor 620, the memory 610 stores instructions, and the at least one processor 620 calls the instructions in the memory 610, so that the electronic device executes the knife switch state identification method according to any of the aforementioned embodiments of the present application.

[0065] The knife switch state recognition method is used to recognize the on-off state of a knife switch in an electric power system. The knife switch component of the electric power system includes a pointer that moves synchronously with the knife switch moving contact 910 and a scale covering the movable range of the pointer. The knife switch state recognition method includes: obtaining a trained scale recognition model and a pointer recognition model; obtaining a knife switch image to be identified; obtaining scale information to be identified and pointer position information based on the knife switch image, the scale recognition model, and the pointer recognition model; obtaining an indication value of the pointer to be identified on the scale based on the scale information and the pointer position information; and outputting the on-off state information of the knife switch to be identified based on the indication value.

[0066] Specifically, the processor 620 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0067] The memory 610 may include a large capacity memory 610 for data or instructions. By way of example and not limitation, the memory 610 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 610 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 610 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 610 is a non-volatile solid-state memory. In a specific embodiment, the memory 610 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0068] In one example, the control device may further include a communication interface 630 and a bus 640. The processor 620, the memory 610, and the communication interface 630 are connected via the bus 640 and communicate with each other.

[0069] The communication interface 630 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0070] Bus 640 includes hardware, software or both, and couples the components of online data traffic billing equipment to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory 610 bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. Where appropriate, bus 640 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0071] In addition, in combination with the switch state identification method in the above embodiment, the present application embodiment can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores instructions, and when the instructions are executed by the processor, any of the switch state identification methods in the above embodiment is implemented.

[0072] The knife switch state recognition method is used to recognize the on-off state of a knife switch in an electric power system. The knife switch component of the electric power system includes a pointer that moves synchronously with the knife switch moving contact 910 and a scale covering the movable range of the pointer. The knife switch state recognition method includes: obtaining a trained scale recognition model and a pointer recognition model; obtaining a knife switch image to be identified; obtaining scale information to be identified and pointer position information based on the knife switch image, the scale recognition model, and the pointer recognition model; obtaining an indication value of the pointer to be identified on the scale based on the scale information and the pointer position information; and outputting the on-off state information of the knife switch to be identified based on the indication value.

[0073] The present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0074] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0075] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0076] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A switch state recognition method for identifying the switch opening and closing states of a power system, characterized in that: The switch assembly of the power system includes a pointer that moves synchronously with the switch moving contact and a scale covering the moving range of the pointer. The switch state identification method includes: Obtaining a trained scale recognition model and a pointer recognition model; Acquire the knife switch image to be identified; According to the knife switch image, the scale recognition model and the pointer recognition model, the scale information to be recognized and the pointer position information are obtained; Obtaining the indication value of the pointer to be identified on the scale according to the scale information and the pointer position information; Based on the indication value, the opening and closing state information of the knife switch to be identified is output.

2. The method for identifying the status of a knife switch according to claim 1, characterized in that: The step of obtaining the trained scale recognition model and pointer recognition model includes: Collect multiple images of the knife switch assembly in time-sharing mode to obtain a training atlas; Marking scale values ​​and marking scale key points in each image in the training atlas; Based on the scale values ​​and scale key points marked in the training atlas, the YOLO-Pose model is trained to obtain a scale recognition model.

3. The method for identifying the status of a knife switch according to claim 1, characterized in that: The step of obtaining the trained scale recognition model and pointer recognition model includes: Collect multiple images of the knife switch assembly in time-sharing mode to obtain a training atlas; annotating a pointer in each image in the training atlas; Based on the pointers annotated in the training atlas, the YOLO segmentation model is trained to obtain a pointer recognition model.

4. The method for identifying the status of a knife switch according to claim 1, characterized in that: The knife switch moving contact realizes the opening and closing movement by rotating, and the scale is an angle scale; the scale information to be identified and the pointer position information are obtained according to the knife switch image, the scale recognition model, and the pointer recognition model, including: Fitting the coordinates of at least three scale points on the knife gate image through the scale recognition model; Acquire the center and radius of the angle scale based on the coordinates of the at least three scale points to obtain scale information; The pointer recognition model is used to fit the straight line where the pointer to be recognized on the knife switch image is located to obtain pointer position information.

5. The method for identifying the status of a knife switch according to claim 4, characterized in that: The step of obtaining the indication value of the pointer to be identified on the scale according to the scale information and the pointer position information includes: Obtaining the indicated position of the end of the straight line where the pointer to be identified is located on the angle scale; Based on the arc length ratio of the indicated position on the angle scale, the indicated value of the pointer to be identified on the scale is obtained.

6. The method for identifying the status of a knife switch according to claim 1, characterized in that: The knife switch moving contact realizes the opening and closing movement by linear operation, and the scale is a linear scale; the scale information to be identified and the pointer position information are obtained according to the knife switch image, the scale recognition model, and the pointer recognition model, including: Fitting the coordinates of at least three scale points on the knife gate image through the scale recognition model to obtain scale information; The pointer recognition model is used to fit the straight line where the pointer to be recognized on the knife switch image is located to obtain pointer position information.

7. The method for identifying the status of a knife switch according to claim 6, characterized in that: The step of obtaining the indication value of the pointer to be identified on the scale according to the scale information and the pointer position information includes: Obtaining the intersection position of the straight line where the pointer to be identified is located on the linear scale; Based on the coordinate value of the intersection position on the linear scale, the indication value of the pointer to be identified on the scale is obtained.

8. The method for identifying the status of a knife switch according to claim 1, characterized in that: The step of outputting the opening and closing state information of the switch to be identified based on the indication value comprises: If the indication value is less than a first indication threshold value used to indicate that the knife switch is fully closed, outputting the opening and closing state information of the knife switch to be identified as fully closed; If the indication value is greater than a second indication threshold value used to indicate that the knife switch is in full opening position, outputting the opening and closing state information of the knife switch to be identified as being in full opening position; If the indication value is greater than or equal to the first indication threshold and less than or equal to the second indication threshold, the opening and closing state information of the knife switch to be identified is output as not in place.

9. A switch state identification device, used for identifying the switch opening and closing states of a power system, characterized in that: The switch assembly of the power system includes a pointer that moves synchronously with the switch moving contact and a scale covering the movable range of the pointer, and the switch state identification device includes: A model acquisition module, used to acquire a trained scale recognition model and a pointer recognition model; A knife switch image acquisition module, used to acquire the knife switch image to be identified; An image recognition module, used to obtain the scale information to be recognized and the pointer position information according to the knife switch image, the scale recognition model and the pointer recognition model; An indication value acquisition module, used for obtaining an indication value of a pointer to be identified on the scale according to the scale information and the pointer position information; The state judgment module is used to output the opening and closing state information of the knife switch to be identified based on the indication value.

10. An electronic device, characterized in that: The electronic device comprises a memory and at least one processor, wherein the memory is electrically connected to the at least one processor, and instructions are stored in the memory. The at least one processor calls the instructions in the memory, so that the electronic device executes the knife switch state identification method as described in any one of claims 1 to 8.

11. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the knife switch state identification method according to any one of claims 1 to 8 is implemented.