Method, system and equipment for detecting discharge counter of transformer substation
Through the target detection and key point detection neural network, the YOLOv10 model is used to detect the area, scale value and pointer key points of the discharge counter in a complex environment, solving the problems of low efficiency and poor robustness in the existing technology, and achieving high accuracy reading calculation.
Patent Information
- Application Number
- CN202410785237.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-03
AI Technical Summary
The detection method of pointer-type discharge counters in the existing technology has low efficiency and poor reading robustness in complex outdoor environments, and the cost of manual inspection is high.
The target detection and key point detection neural network is used to detect the discharge counter area, scale value and pointer key point information through the trained YOLOv10 model, and the reading is determined by combining Euclidean distance calculation.
Quickly and accurately locate the discharge counter area in complex environments, improving the accuracy and precision of readings and reducing manual inspection costs.
Smart Images

Figure CN118587531A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer vision, and in particular relates to a detection method, system and device for a substation discharge counter. Background Art
[0002] The discharge counter is a device that records the number of times the lightning arrester operates during the operation of the substation power equipment. It is an important supporting equipment for the lightning arrester. Common discharge counters mainly include single-pointer type and double-pointer type.
[0003] In the existing detection methods for pointer-type discharge counters, manual inspection requires a lot of labor costs and is inefficient. The traditional image processing method uses image edge information, color space and grayscale space features to achieve pointer-type discharge counter readings, but has poor robustness and is not suitable for complex outdoor environments. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a detection method, system and device for a substation discharge counter, which can accurately extract pointer information and improve the accuracy and precision of the readings.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for detecting a substation discharge counter comprises the following steps:
[0007] Acquire an inspection image of the discharge counter; input the inspection image into a first detection model to detect an area image of the discharge counter; the first detection model is a trained area detection model;
[0008] The discharge counter area image is input into the second detection model to detect the scale value information of the discharge counter; the discharge counter area image is input into the third detection model to detect the pointer key point information of the discharge counter; the second detection model is a trained scale value detection model; the third detection model is a pointer key point detection model;
[0009] The scale value information and the pointer key point information are used to determine the reading of the discharge counter.
[0010] Furthermore, the process of training the first detection model includes:
[0011] Establish a discharge counter area detection data set; mark the dial area in the inspection image of the data set and divide it into training set, test set and validation set according to the preset ratio;
[0012] The improved YOLOv10 model is trained using the training set, and the trained YOLOv10 model is tested and verified using the test set and the validation set to obtain a region detection model;
[0013] Furthermore, the process of training the second detection model includes:
[0014] The data set formed after annotating the actual corresponding scale value of the discharge counter area image is divided into a training set, a test set and a validation set according to a preset ratio;
[0015] The training set is used to train the improved YOLOv10 model, and the test set and validation set are used to test and validate the trained YOLOv10 model respectively to obtain a scale value detection model.
[0016] Furthermore, the process of training the third training model includes:
[0017] After marking the needle tip and the needle tail of the pointer on the discharge counter area image, the image is divided into a training set, a test set, and a validation set according to a preset ratio;
[0018] The training set is used to train the improved YOLOv10 model, and the test set and validation set are used to test and validate the trained YOLOv10 model respectively to obtain a pointer key point detection model.
[0019] Furthermore, the improved YOLOv10 model specifically uses a dual-core convolution DualConv to replace the convolution kernel Conv in the Backbone network, and uses a lightweight dynamic upsampling operator DySample to replace the upsampling operator UpSample in the Neck network.
[0020] Furthermore, the annotation tool adopts the cvat annotation tool.
[0021] Further, the process of determining the reading of the discharge counter using the scale value information and the pointer key point information includes:
[0022] Get the coordinates of the center point of the scale value detection frame, formatted as (x, y, value), where x is the horizontal coordinate of the center point of the scale value detection frame; y is the vertical coordinate of the center point of the scale value detection frame; value is the category of the scale value detection frame, that is, the corresponding actual scale value;
[0023] Take the position with the smallest value as the starting point of sorting, sort the formatted scale value results clockwise according to the coordinate distribution, and correct the scale value results;
[0024] Calculate the Euclidean distance between the pointer tip and all scale value points. The scale value corresponding to the minimum Euclidean distance is the scale value pointed to by the target pointer.
[0025] Furthermore, the method also includes: when the discharge counter is a single-pointer discharge counter, the scale value pointed to by the target pointer is the final reading; when the discharge counter is a double-pointer discharge counter, the scale value pointed to by the long pointer is multiplied by 10, and the scale value pointed to by the short pointer is multiplied by 1, and finally the two values are added to obtain the final reading.
[0026] The present invention also proposes a detection system for a substation discharge counter, comprising: a first detection module, a second detection module and a calculation module;
[0027] The first detection module is used to obtain an inspection image of the discharge counter; the inspection image is input into the first detection model to detect the discharge counter area image; the first detection model is a trained area detection model;
[0028] The second detection module is used to input the discharge counter area image into the second detection model to detect the scale value information of the discharge counter; input the discharge counter area image into the third detection model to detect the pointer key point information of the discharge counter; the second detection model is a trained scale value detection model; the third detection model is a pointer key point detection model;
[0029] The calculation module is used to determine the reading of the discharge counter using the scale value information and the pointer key point information.
[0030] The present invention also proposes a detection device for a substation discharge counter, comprising:
[0031] Memory for storing computer programs;
[0032] A processor is used to implement the method steps described above when executing the computer program.
[0033] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:
[0034] The present invention proposes a detection method, system and device for a substation discharge counter, the method comprising the following steps: obtaining an inspection image of the discharge counter; inputting the inspection image into a first detection model to detect an area image of the discharge counter; the first detection model is a trained area detection model; inputting the area image of the discharge counter into a second detection model to detect the scale value information of the discharge counter; inputting the area image of the discharge counter into a third detection model to detect the pointer key point information of the discharge counter; the second detection model is a trained scale value detection model; the third detection model is a pointer key point detection model; using the scale value information and the pointer key point information to determine the reading of the discharge counter. Based on a detection method for a substation discharge counter, a detection system and device for a substation discharge counter are also proposed. The present invention utilizes target detection and key point detection neural networks, which can quickly and robustly locate the discharge counter area under complex environmental conditions, and can accurately extract pointer information, thereby improving the accuracy and precision of the reading. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flow chart of a detection method for a substation discharge counter proposed in Embodiment 1 of the present invention;
[0036] Figure 2 A process diagram of the discharge counter area detection model training proposed in Embodiment 1 of the present invention;
[0037] Figure 3 A diagram showing the process of training the scale value detection model proposed in Example 1 of the present invention;
[0038] Figure 4 This is a diagram of the training process of the pointer key point detection model proposed in Example 1 of the present invention;
[0039] Figure 5 A process diagram of outputting a discharge counter reading proposed in Embodiment 1 of the present invention;
[0040] Figure 6 The network structure of the improved YOLOv10 proposed in Example 1 of the present invention;
[0041] Figure 7 A schematic diagram of a detection system for a substation discharge counter proposed in Embodiment 1 of the present invention;
[0042] Figure 8 This is a schematic diagram of a detection device for a substation discharge counter proposed in Example 1 of the present invention. DETAILED DESCRIPTION
[0043] In order to clearly illustrate the technical features of the present solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits the description of known components and processing techniques and processes to avoid unnecessary limitations on the present invention.
[0044] Example 1
[0045] A detection method for a substation discharge counter proposed in Embodiment 1 of the present invention is used to solve the technical problem of poor robustness of substation discharge counter detection in the prior art. The detection process of a substation discharge counter proposed in the present invention includes discharge counter area detection, discharge counter scale value detection, discharge counter pointer key point detection and output of discharge counter reading.
[0046] Figure 1 This is a flow chart of a detection method for a substation discharge counter proposed in Embodiment 1 of the present invention; in step S100, an inspection image of the discharge counter is obtained, and the inspection image is input into a first detection model to detect a regional image of the discharge counter; the first detection model is a trained regional detection model;
[0047] In step S200, the discharge counter area image is input into the second detection model to detect the scale value information of the discharge counter; the second detection model is a trained scale value detection model;
[0048] In step S300, the discharge counter area image is input into the third detection model to detect the pointer key point information of the discharge counter; the third detection model is a pointer key point detection model;
[0049] In step S400, the reading of the discharge counter is determined using the scale value information and the pointer key point information.
[0050] In order to fully illustrate the process of step S100 in embodiment 1 of the present invention, Figure 2 A process diagram of the discharge counter area detection model training proposed in Example 1 of the present invention is provided;
[0051] In step S101, firstly, inspection images in different time periods and under different weather conditions are acquired;
[0052] In step S102, a discharge counter area detection data set is prepared using inspection images in different time periods and under different weather conditions.
[0053] In step S103, CVAT is used to mark the pointer type discharge counter in the inspection image with a detection frame, and the area where the pointer type discharge counter dial is located is marked, and the marking category is ['fdjsq'].
[0054] In step S104, the labeled data set is divided into a training set, a test set, and a validation set in a ratio of 7:2:1, and the improved YOLOv10 is used to train a discharge counter scale value detection model.
[0055] In order to improve the accuracy of the model, reduce the parameter size and computational cost of the model, the original YOLOv10 model is lightweight and improved. In this application, the YOLOv10 in the prior art is improved. Figure 6 The network structure of the improved YOLOv10 proposed in Example 1 of the present invention;
[0056] The dual-core convolution DualConv is used to replace the ordinary convolution Conv in the Backbone network. DualConv combines the advantages of group convolution and heterogeneous convolution. Some convolution kernels use 3×3 and 1×1 convolutions to process the same input feature map channel at the same time, and other convolution kernels only perform 1×1 convolution to efficiently arrange the convolution filters; then, the lightweight dynamic upsampling operator DySample is used to replace the ordinary upsampling operator UpSample in the Neck network. UpSample is applied to interpolate low-resolution feature maps according to fixed rules, ignoring the semantic information in the feature map and lacks flexibility; DySample generates content-aware dynamic convolution kernels through point resampling to recombine input features. It can dynamically generate upsampling positions and flexibly adapt to different input features while maintaining small memory usage and low latency.
[0057] In step S105, the trained pt format discharge counter area detection model is converted into an onnx format model using the onnx toolkit, and then the onnx format model is converted into an om format model supported by the Ascend310 chip using the atc model conversion tool in the Ascend toolkit.
[0058] In step S106 , the YOLOv10 discharge counter region detection model is output.
[0059] After outputting the YOLOv10 discharge counter area detection model value, the inspection image is input into the pointer type discharge counter area detection model based on the improved YOLOv10 carried on the Ascend310 chip to obtain the pointer type discharge counter area image.
[0060] In order to fully illustrate the process of step S200 in embodiment 1 of the present invention, Figure 3 A diagram showing the process of training the scale value detection model proposed in Example 1 of the present invention;
[0061] In step S201, a discharge counter area image is acquired;
[0062] In step S202, a discharge counter scale value detection data set is produced based on the discharge counter image cropped according to the discharge counter area detection output result.
[0063] In step S203, CVAT is used to mark the detection frame of the discharge counter image, and the actual corresponding scale value is marked, and the marking category is [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].
[0064] In step S204, the labeled data set is divided into a training set, a test set, and a validation set in a ratio of 7:2:1, and the improved YOLOv10 is used to train a discharge counter scale value detection model.
[0065] In step S205, the trained pt-format scale value detection model is converted into an onnx-format model using the onnx toolkit, and then the onnx-format model is converted into an om-format model supported by the Ascend310 chip using the atc model conversion tool in the Ascend toolkit.
[0066] In step S206, the scale value detection model in the YOLOv10 discharge calculator scale value detection om format is output.
[0067] After outputting the scale value detection model in the YOLOv10 discharge calculator scale value detection om format, the pointer type discharge counter image is input into the scale value detection model based on YOLOv10 on the Ascend310 chip to obtain the scale value information.
[0068] In order to fully illustrate the process of implementing step S300 in Embodiment 1 of the present invention, Figure 4 This is a diagram of the training process of the pointer key point detection model proposed in Example 1 of the present invention;
[0069] In step S301, a discharge counter area image is acquired;
[0070] In step S302, a discharge counter pointer key point detection data set is produced based on the discharge counter image cropped according to the discharge counter area detection output result;
[0071] In step S303, CVAT is used to annotate the key points of the discharge counter image, marking the tip and tail of the pointer, and the annotation category is ['tip', 'tail'];
[0072] In step S304, the labeled data set is divided into a training set, a test set, and a validation set in a ratio of 7:2:1, and a discharge counter pointer key point detection model is trained using YOLOv8Pose;
[0073] In step S305, the onnx toolkit is used to convert the trained pointer key point detection model in pt format into an onnx format model, and then the atc model conversion tool in the Ascend toolkit is used to convert the onnx format model into an om format model supported by the Ascend310 chip.
[0074] In step S306, the pointer key point detection model in the YOLOv8Pose discharge counter pointer key point detection om format is output.
[0075] After outputting the pointer key point detection model in YOLOv8Pose discharge counter pointer key point detection om format, the image is input into the pointer key point detection model of the pointer type discharge counter based on YOLOv8Pose on the Ascend310 chip to obtain the key point information of the pointer type discharge counter image.
[0076] In order to fully illustrate the process of step S400 in embodiment 1 of the present invention, Figure 5 A process diagram of outputting a discharge counter reading proposed in Embodiment 1 of the present invention;
[0077] Get the coordinates of the center point of the scale value detection frame, formatted as (x, y, value), where x is the horizontal coordinate of the center point of the scale value detection frame; y is the vertical coordinate of the center point of the scale value detection frame; value is the category of the scale value detection frame, that is, the corresponding actual scale value;
[0078] The position with the smallest value is used as the starting point of sorting, and the formatted scale value results are sorted clockwise according to the coordinate distribution, and the scale value results are corrected; the correction process is: the scale value of the pointer-type discharge counter is 10 integers in the range of 0-9, and the scale value in the sorted scale value detection result is an arithmetic increasing sequence, and outliers that do not conform to the increasing law are eliminated; at two adjacent scale values whose increasing law is not equal to 1, according to the difference between the two adjacent scales and the angle between them, the missing scale values are equally inserted to complete;
[0079] Calculate the Euclidean distance between the pointer tip and all scale value points. The scale value corresponding to the minimum Euclidean distance is the scale value pointed to by the target pointer.
[0080] When the discharge counter is a single-pointer discharge counter, the scale value pointed to by the target pointer is the final reading; when the discharge counter is a double-pointer discharge counter, the scale value pointed to by the long pointer is multiplied by 10, and the scale value pointed to by the short pointer is multiplied by 1, and the two values are finally added to obtain the final reading.
[0081] A detection method for a substation discharge counter proposed in Example 1 of the present invention utilizes target detection and key point detection neural networks, can quickly and robustly locate the discharge counter area under complex environmental conditions, and can accurately extract pointer information, thereby improving the accuracy and precision of the readings.
[0082] Example 2
[0083] Based on the detection method of a substation discharge counter proposed in Embodiment 1 of the present invention, Embodiment 2 of the present invention further proposes a detection system of a substation discharge counter. Figure 7 A schematic diagram of a detection system for a substation discharge counter proposed in Embodiment 1 of the present invention; the system comprises a first detection module, a second detection module and a calculation module;
[0084] The first detection module is used to obtain an inspection image of the discharge counter; the inspection image is input into the first detection model to detect the discharge counter area image; the first detection model is a trained area detection model;
[0085] The second detection module is used to input the discharge counter area image into the second detection model to detect the scale value information of the discharge counter; input the discharge counter area image into the third detection model to detect the pointer key point information of the discharge counter; the second detection model is a trained scale value detection model; the third detection model is a pointer key point detection model;
[0086] The calculation module is used to determine the reading of the discharge counter using the scale value information and the pointer key point information.
[0087] In this application, during the execution of the first detection module:
[0088] The training process of the first detection model includes: establishing a discharge counter area detection data set; marking the dial area in the inspection image of the data set and dividing it into training set, test set and validation set according to a preset ratio; using the training set to train the improved YOLOv10 model, and using the test set and validation set to test and verify the trained YOLOv10 model respectively to obtain a regional detection model.
[0089] During the execution of the second detection module:
[0090] The training process of the second detection model includes: dividing the data set formed after marking the actual corresponding scale values of the discharge counter area image into a training set, a test set and a validation set according to a preset ratio; using the training set to train the improved YOLOv10 model, and using the test set and the validation set to test and verify the trained YOLOv10 model respectively to obtain a scale value detection model.
[0091] The training process of the third training model includes: after marking the tip and tail of the pointer of the discharge counter area image, dividing it into a training set, a test set and a validation set according to a preset ratio; using the training set to train the improved YOLOv10 model, and using the test set and the validation set to test and verify the trained YOLOv10 model respectively to obtain a pointer key point detection model.
[0092] The improved YOLOv10 model is as follows: the convolution kernel Conv in the Backbone network is replaced by the dual-core convolution DualConv, and the upsampling operator UpSample in the Neck network is replaced by the lightweight dynamic upsampling operator DySample.
[0093] The annotation tool used is the cvat annotation tool.
[0094] During the execution of the calculation module: the process of determining the reading of the discharge counter using the scale value information and the pointer key point information includes: obtaining the coordinates of the center point of the scale value detection frame, formatted as (x, y, value), where x is the horizontal coordinate of the center point of the scale value detection frame; y is the vertical coordinate of the center point of the scale value detection frame; value is the category of the scale value detection frame, that is, the corresponding actual scale value; taking the position with the smallest value as the starting point for sorting, sorting the formatted scale value results clockwise according to the coordinate distribution, and correcting the scale value results; calculating the Euclidean distance between the pointer tip and all the scale value points, and the scale value corresponding to the minimum Euclidean distance is the scale value pointed to by the target pointer.
[0095] When the discharge counter is a single-pointer discharge counter, the scale value pointed to by the target pointer is the final reading; when the discharge counter is a double-pointer discharge counter, the scale value pointed to by the long pointer is multiplied by 10, and the scale value pointed to by the short pointer is multiplied by 1, and the two values are finally added to obtain the final reading.
[0096] A detection system for a substation discharge counter proposed in Example 2 of the present invention utilizes target detection and key point detection neural networks, can quickly and robustly locate the discharge counter area under complex environmental conditions, and can accurately extract pointer information, thereby improving the accuracy and precision of the readings.
[0097] Example 3
[0098] The present invention also proposes a device, Figure 8 This is a schematic diagram of a detection device for a substation discharge counter proposed in Embodiment 1 of the present invention, the device comprising:
[0099] Memory for storing computer programs;
[0100] The processor is used to implement the following method steps when executing the computer program:
[0101] In step S100, an inspection image of the discharge counter is obtained, and the inspection image is input into a first detection model to detect an area image of the discharge counter; the first detection model is a trained area detection model;
[0102] In step S200, the discharge counter area image is input into the second detection model to detect the scale value information of the discharge counter; the second detection model is a trained scale value detection model;
[0103] In step S300, the discharge counter area image is input into the third detection model to detect the pointer key point information of the discharge counter; the third detection model is a pointer key point detection model;
[0104] In step S400, the reading of the discharge counter is determined using the scale value information and the pointer key point information.
[0105] A detection device for a substation discharge counter proposed in Example 3 of the present invention utilizes target detection and key point detection neural networks, can quickly and robustly locate the discharge counter area under complex environmental conditions, and can accurately extract pointer information, thereby improving the accuracy and precision of the readings.
[0106] It should be noted that the technical solution of the present invention also provides an electronic device, including: a communication interface, which can exchange information with other devices such as network devices; a processor, connected to the communication interface to realize information exchange with other devices, and used to execute a detection method of a substation discharge counter provided by one or more of the above technical solutions when running a computer program, and the computer program is stored in a memory. Of course, in actual application, the various components in the electronic device are coupled together through a bus system. It can be understood that the bus system is used to realize the connection and communication between these components. In addition to the data bus, the bus system also includes a power bus, a control bus and a status signal bus. The memory in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of these data include: any computer program for operating on an electronic device. It can be understood that the memory can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache.By way of exemplary but not limiting explanation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiment of the present application is intended to include but is not limited to these and any other suitable types of memory. The method disclosed in the above embodiment of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The above processor can be a general-purpose processor, a DSP (Digital Signal Processing, which refers to a chip that can implement digital signal processing technology), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In conjunction with the steps of the method disclosed in the embodiments of the present application, it can be directly embodied as a hardware decoding processor to perform, or it can be performed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the program in the memory and completes the steps of the above method in combination with its hardware. When the processor executes the program, the corresponding process in each method of the embodiment of the present application is implemented, and for the sake of brevity, it is not repeated here.
[0107] The description of the relevant parts of a detection device for a substation discharge counter provided in Example 3 of the present application can be found in the detailed description of the corresponding parts of a detection method for a substation discharge counter provided in Example 1 of the present application, and will not be repeated here.
[0108] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment that includes a series of elements are inherent to the elements. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment that includes the elements. In addition, the above-mentioned technical solution provided in the embodiment of the present application is consistent with the corresponding technical solution in the prior art in principle, and the part is not described in detail, so as not to repeat too much.
[0109] Although the above describes the specific implementation of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. For those skilled in the art, other different forms of modifications or deformations can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. On the basis of the technical solution of the present invention, various modifications or deformations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.
Claims
1. A detection method for a substation discharge counter, characterized in that: The following steps are involved: Obtaining inspection images of discharge counters; Inputting the inspection image into a first detection model to detect a discharge counter area image; The first detection model is a trained regional detection model; Input the discharge counter area image into the second detection model to detect the scale value information of the discharge counter; input the discharge counter area image into the third detection model to detect the pointer key point information of the discharge counter; The second detection model is a trained scale value detection model; The third detection model is a pointer key point detection model; The scale value information and the pointer key point information are used to determine the reading of the discharge counter.
2. A detection method for a substation discharge counter according to claim 1, characterized in that: The process of training the first detection model includes: Establish a discharge counter area detection data set; mark the dial area in the inspection image of the data set and divide it into training set, test set and validation set according to the preset ratio; The improved YOLOv10 model is trained using the training set, and the trained YOLOv10 model is tested and verified using the test set and the validation set to obtain a region detection model.
3. A detection method for a substation discharge counter according to claim 1, characterized in that: The process of training the second detection model includes: The data set formed after annotating the actual corresponding scale value of the discharge counter area image is divided into a training set, a test set and a validation set according to a preset ratio; The training set is used to train the improved YOLOv10 model, and the test set and validation set are used to test and validate the trained YOLOv10 model respectively to obtain a scale value detection model.
4. A detection method for a substation discharge counter according to claim 1, characterized in that: The process of training the third training model includes: After marking the needle tip and the needle tail of the pointer on the discharge counter area image, the image is divided into a training set, a test set, and a validation set according to a preset ratio; The training set is used to train the improved YOLOv10 model, and the test set and validation set are used to test and validate the trained YOLOv10 model respectively to obtain a pointer key point detection model.
5. A method for detecting a substation discharge counter according to any one of claims 2 to 4, characterized in that: The improved YOLOv10 model specifically uses a dual-core convolution DualConv to replace the convolution kernel Conv in the Backbone network, and uses a lightweight dynamic upsampling operator DySample to replace the upsampling operator UpSample in the Neck network.
6. A method for detecting a substation discharge counter according to any one of claims 2 to 4, characterized in that: The annotation tool used is the cvat annotation tool.
7. A detection method for a substation discharge counter according to claim 1, characterized in that: The process of determining the reading of the discharge counter by using the scale value information and the pointer key point information includes: Get the coordinates of the center point of the scale value detection frame, formatted as (x, y, value), where x is the horizontal coordinate of the center point of the scale value detection frame; y is the vertical coordinate of the center point of the scale value detection frame; value is the category of the scale value detection frame, that is, the corresponding actual scale value; Take the position with the smallest value as the starting point of sorting, sort the formatted scale value results clockwise according to the coordinate distribution, and correct the scale value results; Calculate the Euclidean distance between the pointer tip and all scale value points. The scale value corresponding to the minimum Euclidean distance is the scale value pointed to by the target pointer.
8. A detection method for a substation discharge counter according to claim 7, characterized in that: The method also includes: when the discharge counter is a single-pointer discharge counter, the scale value pointed to by the target pointer is the final reading; when the discharge counter is a double-pointer discharge counter, the scale value pointed to by the long pointer is multiplied by 10, and the scale value pointed to by the short pointer is multiplied by 1, and finally the two values are added to obtain the final reading.
9. A detection system for a substation discharge counter, characterized in that: include: A first detection module, a second detection module and a calculation module; The first detection module is used to obtain an inspection image of the discharge counter; Inputting the inspection image into a first detection model to detect a discharge counter area image; The first detection model is a trained regional detection model; The second detection module is used to input the discharge counter area image into the second detection model to detect the scale value information of the discharge counter; input the discharge counter area image into the third detection model to detect the pointer key point information of the discharge counter; The second detection model is a trained scale value detection model; The third detection model is a pointer key point detection model; The calculation module is used to determine the reading of the discharge counter using the scale value information and the pointer key point information.
10. A detection device for a substation discharge counter, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method steps according to any one of claims 1 to 8 when executing the computer program.
Citation Information
Patent Citations
Dial plate positioning and automatic reading pointer type meter counting value identification method and system
CN112508098A
Pointer type instrument image tilt correction method
CN112801094A
Pointer type instrument reading identification method and system
CN115019294A
Intelligent reading identification method and system of pointer type instrument
CN116189192A
Reading identification method and system for pointer type instrument of substation equipment
CN117746025A
Cited By
Train pantograph catenary arc discharge identification method, device and system and storage medium
CN119888605A
