Substation relay protection device pressure plate state verification method, terminal and electronic equipment

Through the AdaBoost algorithm and image recognition technology, a double verification mechanism is constructed to solve the problem of inaccurate detection of the substation pressure plate status, achieve efficient and accurate automated detection, and improve the reliability and safety of the system.

CN117408973BActive Publication Date: 2024-10-15MIANYANG POWER SUPPLY COMPANY STATE GRID SICHUANELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311406642.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2024-10-15
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

In the existing technology, the status detection of the pressure plate of the substation relay protection device is inaccurate and inefficient. There are verification errors and safety hazards caused by human factors, and the recognition accuracy of automation technology is not high in complex environments.

Method used

The AdaBoost algorithm is used to build a machine learning model, and an independent image database and calibration model are constructed through image collection from multiple angles and multiple environments to achieve double verification of the platen status. Coding and image recognition technology are combined to automatically identify the platen status.

Benefits of technology

It improves the accuracy and efficiency of platen status detection, reduces errors caused by human factors, ensures the reliability and safety of the system, adapts to the characteristics of different screen cabinets, and significantly reduces the misjudgment rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117408973B_ABST
    Figure CN117408973B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, terminal and electronic device for verifying the status of a pressure plate of a relay protection device in a substation. The method comprises the following steps: obtaining a pressure plate image, locating a pressure plate in multiple pressure plate images, constructing a corresponding vertical pressure plate sub-image library, and training to obtain multiple image verification sub-models; binding multiple first image verification sub-models to the codes of a screen cabinet to obtain a first image verification model; obtaining a screen cabinet image to be verified, and locating the pressure plate in the screen cabinet image; obtaining a verification sub-image corresponding to each pressure plate after positioning, and performing image recognition on the verification sub-image by the first image verification sub-model; the present invention can quickly complete the status verification of a large number of pressure plates through automated image recognition technology, significantly reducing the time required for verification, and the machine learning model can reduce verification errors caused by human factors, thereby improving the accuracy of verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power systems, and in particular to a method for checking the state of a pressure plate of a transformer substation relay protection device, a terminal and electronic equipment. Background Art

[0002] In the power system, substation is the key link of power transmission. As an important part of the power system, the function and status of the relay protection device are crucial to the safe and stable operation of the power system. Therefore, it is necessary to accurately and efficiently check the status of the pressure plate of the relay protection device.

[0003] In the past, the status check of the pressure plate in the substation mainly relied on manual work. This method mainly uses the color distinction method and the manual verification method. The color distinction method distinguishes the status of the pressure plate by attaching different color labels to the pressure plate in the on / off state. The manual verification method requires staff to conduct on-site operation verification to check the on / off status of the pressure plate. Although these methods are simple, there are many problems with the manual verification method due to the interference of human factors.

[0004] First, manual verification requires a lot of manpower and material resources, is inefficient, and takes a long time. Second, due to human factors, verification errors may occur, such as wrong switching and missed switching, which may lead to serious power system failures and even accidents. In addition, due to the complexity of the power system and the particularity of the substation, manual verification has certain safety risks.

[0005] At present, in order to solve the above problems, some substations try to use technical means to automatically check the status of the pressure plate. These technologies mainly include image recognition technology, sensor technology, etc. However, due to the complexity of the substation environment, these technologies still have limitations, such as low recognition accuracy and sensitivity to environmental factors. Therefore, how to achieve efficient, accurate and stable automatic verification of the pressure plate status is still an important direction for technological development. Summary of the invention

[0006] The technical problem to be solved by the present invention is that there is inaccuracy in the state detection of the pressure plate. The purpose is to provide a method, terminal and electronic equipment for checking the state of the pressure plate of a substation relay protection device, so as to realize efficient and accurate detection of the pressure plate.

[0007] The present invention is achieved through the following technical solutions:

[0008] A method for checking the state of a pressure plate of a substation relay protection device, characterized by comprising:

[0009] Encode multiple screen cabinets and set the status of all pressure plates on the screen cabinets to "throw";

[0010] Acquire multiple first pressure plate images of each screen cabinet, and build an independent first image database for each screen cabinet;

[0011] Positioning the pressure plates in the plurality of first pressure plate images, and obtaining the first pressure plate sub-images at various positions on each screen cabinet, and constructing a corresponding first independent pressure plate sub-image library for each pressure plate of each screen cabinet;

[0012] A machine algorithm model is constructed based on the AdaBoost algorithm, and the machine algorithm model is trained through a plurality of first independent platen sub-libraries to obtain a plurality of first image verification sub-models;

[0013] Binding a plurality of first image verification sub-models to the code of the screen cabinet to obtain a first image verification model;

[0014] Obtain the screen cabinet image to be verified, and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate;

[0015] Input each verification sub-image into the first image verification model, and the first image verification model inputs the verification sub-image into the corresponding first image verification sub-model according to the position of the verification sub-image;

[0016] The first image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "throw"; if the structure output is "not the same", the state of the corresponding pressure plate is determined to be "retract".

[0017] Further, the status of all the pressure plates on the screen cabinet is set to "retract";

[0018] Acquire multiple second pressure plate images of each screen cabinet, and build an independent second image database for each screen cabinet;

[0019] Positioning the pressure plates in the plurality of second pressure plate images, and obtaining the second pressure plate sub-images at various positions on each screen cabinet, and constructing a corresponding second independent pressure plate sub-image library for each pressure plate of each screen cabinet;

[0020] A machine algorithm model is constructed based on the AdaBoost algorithm, and the machine algorithm model is trained through a plurality of second independent pressing plate sub-libraries to obtain a plurality of second image verification sub-models;

[0021] Binding a plurality of second image verification sub-models to the code of the screen cabinet to obtain a second image verification model;

[0022] Obtain the screen cabinet image to be verified, and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate;

[0023] Input each verification sub-image into the second image verification model, and the second image verification model inputs the verification sub-image into the corresponding second image verification sub-model according to the position of the verification sub-image;

[0024] The second image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "retracted"; if the structure output is "different", the state of the corresponding pressure plate is determined to be "thrown";

[0025] If the determination state of the first image verification sub-model is the same as the determination state of the second image sub-model, then the final state is output;

[0026] If the determination state of the first image verification sub-model is different from the determination state of the second image sub-model, an abnormal state is output.

[0027] Optionally, the method of obtaining the first pressure plate image and the second pressure plate image includes: taking a plurality of pictures at various angles in different environments, and the offset angle between two adjacent pictures is not greater than 10°;

[0028] Different environments include: sunny day, cloudy day, night, with auxiliary light source, and without auxiliary light source.

[0029] Specifically, the method for positioning the pressure plate in the first pressure plate image / the second pressure plate image includes:

[0030] A1. Manually label each platen image and obtain the center position x of the platen sub-image o at the first row and first column. * and its neighborhood Ω c (x * );

[0031] A2. Get area Ω c (x * )’s texture feature set; X * ={t(z)=(I(z),z)|z∈Ω c (x * )}, where z is the neighborhood Ω c (x * ), t(z) is the texture at pixel position z, and I(z) is the grayscale value at pixel position z;

[0032] A3. Determine the spatial point x within the region and locate it as the center position x * Likelihood function c(x); Among them, h(·) is the texture map function of the neighborhood of the platen sub-image, w(·) is the window function, b is the coefficient variable, α is the coefficient, and β is the coefficient;

[0033] A4. Perform identity transformation on the likelihood function, expand it using convolution operation, perform Fourier transform and frequency domain transform, and then perform inverse Fourier transform to obtain the texture map function of the pressure plate sub-image neighborhood. Where F(·) is the Fourier transform, F -1 (·) is the inverse Fourier transform;

[0034] A5. Get the row spacing of the screen cabinet;

[0035] A6, and estimate the next adjacent area Ω1(x1) containing the pressure plate in the row direction with the column spacing;

[0036] A7. Obtain the area Ω1(x1) and the area Ω c (x * ), c1(x1)=F -1 (h(x1))ΘF(I(x1)w(x1-x * )), where x1 is a spatial point in the neighborhood Ω1(x1);

[0037] A8. Calculate the maximum extreme point x1 of the confidence graph function * , and use it as the center position of the pressure plate in the region Ω1(x1); and obtain the corresponding pressure plate subgraph according to the center position;

[0038] A9. Repeat steps A6-A8 until all the platens in the first row are positioned and the platen sub-images of all the platens in the first row are obtained.

[0039] A10. Get the row spacing of the screen cabinet;

[0040] A11, take the pressure plate in the first row and first column as the initial point;

[0041] A12, estimating the next adjacent area containing the pressing plate in the column direction based on the row spacing;

[0042] A13, repeat steps A6-A8 to obtain the locations of all the platens in the first column and obtain the platen sub-images of all the platens in the first column;

[0043] A14, taking the pressure plate in the first row and second column as the initial point, repeating steps A12-A13 to obtain the positions of all pressure plates in the second column and the pressure plate sub-graphs of all pressure plates in the second column;

[0044] A15. Obtain the platen positions of all columns and obtain the platen sub-images of all platens according to step A14.

[0045] Specifically, the method for obtaining the screen cabinet image to be verified is:

[0046] A real-time photo of the screen cabinet is obtained through the smart terminal, and the center position of the pressure plate in the first row and first column is manually calibrated in the real-time photo, and the calibrated real-time photo is set as the screen cabinet image to be verified.

[0047] Specifically, the method for positioning the pressure plate in the screen cabinet picture is:

[0048] Determine the code of the screen cabinet corresponding to the screen cabinet image to be verified;

[0049] According to the code of the screen cabinet, the row spacing and column spacing of the pressure plate in the screen cabinet picture for verification are obtained;

[0050] According to steps A6-A15, all the pressure plates in the screen cabinet image to be verified are located, and the verification sub-images corresponding to all the pressure plates are obtained.

[0051] Specifically, the method for identifying the verification subgraph includes:

[0052] Determine the code of the screen cabinet corresponding to the screen cabinet image to be verified;

[0053] Obtain the corresponding first image calibration model and / or second image calibration model according to the code of the screen cabinet;

[0054] The calibration sub-image is input into the corresponding first image calibration sub-model and / or second image calibration sub-model.

[0055] A transformer substation relay protection device pressure plate state verification terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the transformer substation relay protection device pressure plate state verification method as described above are implemented.

[0056] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a method for checking the status of a pressure plate of a substation relay protection device as described in any one of the above items are implemented.

[0057] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0058] The present invention can effectively identify the state of the pressure plate by encoding multiple screen cabinets and pre-collecting multiple pictures as training samples. After obtaining the training samples, the AdaBoost algorithm is used for image recognition. Compared with the traditional manual verification method, the state verification of a large number of pressure plates can be completed quickly through automated image recognition technology, significantly reducing the time required for verification. The machine learning model can reduce verification errors caused by human factors, thereby improving the accuracy of verification.

[0059] In addition, the present invention proposes two independent image verification methods. The first method forms a first image verification model by processing the encoding of the screen cabinet and the collected first pressure plate image, and uses the AdaBoost algorithm to train the machine algorithm model, and the corresponding pressure plate state is "throw". The second method, for the state set to "retract", also adopts a similar process to construct a second image verification model. During verification, the two independent models will be proofread. If the results of the two are consistent, the final state is directly output; if they are inconsistent, the abnormal state is output.

[0060] By using two independent image verification models to build a double verification mechanism, the accuracy of verification is ensured, greatly reducing the possibility of misjudgment by a single model. By building a separate image database and independent image verification sub-model for each cabinet, the system can accurately respond to the characteristics of different cabinets and improve recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings illustrate exemplary embodiments of the present invention and, together with the description thereof, are used to explain the principles of the present invention. These drawings are included to provide a further understanding of the present invention, and the accompanying drawings are included in and constitute a part of this specification and do not constitute a limitation of the embodiments of the present invention.

[0062] Figure 1 1 is a flow chart of a method for checking the status of a pressure plate of a substation relay protection device according to the present invention, and the figure is a method in embodiment 1.

[0063] Figure 2 1 is a flow chart of a method for checking the status of a pressure plate of a substation relay protection device according to the present invention, and the figure is a method in Example 2.

[0064] Figure 3 It is a schematic diagram of a double judgment process of a method for checking the state of a pressure plate of a substation relay protection device according to the present invention.

[0065] Figure 4 It is a schematic flow chart of the pressure plate positioning method according to the present invention. DETAILED DESCRIPTION

[0066] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and implementation methods. It is understood that the specific implementation methods described herein are only used to explain the relevant content, rather than to limit the present invention.

[0067] It should also be noted that, for the convenience of description, only the parts related to the present invention are shown in the drawings.

[0068] In the absence of conflict, the embodiments and features of the embodiments of the present invention may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0069] In the present application, the screen cabinet image is obtained by using a mobile terminal, which may be a mobile phone, a tablet computer, etc. The mobile terminal may be installed with an application client, or may be installed with a browser, and a web client of the application may be accessed through the browser.

[0070] Embodiment 1

[0071] like Figure 1 As shown, this embodiment provides a method for checking the state of a pressure plate of a substation relay protection device, which is characterized by comprising:

[0072] The first step is to encode multiple screen cabinets and set the status of all pressure plates on the screen cabinets to "throw".

[0073] By assigning a unique code to each cabinet, each cabinet can be independently identified and tracked. In order to provide an initial reference state for subsequent image recognition operations, the state of all pressure plates is set to "throw". This ensures the neatness and consistency of the data, facilitates subsequent processing, and reduces the possibility of confusion and misjudgment.

[0074] The second step is to obtain multiple first platen images of each screen cabinet and build an independent first image database for each screen cabinet. The method of obtaining the first platen image includes: taking multiple pictures at various angles in different environments, and the offset angle between two adjacent shots is no more than 10°; the different environments include: sunny days, cloudy days, nights, with auxiliary light sources, and without auxiliary light sources.

[0075] By acquiring multiple images of the pressure plate on each screen cabinet and obtaining pictures at different angles in different environments, the accuracy of image recognition can be improved in subsequent image recognition.

[0076] The third step is to locate the pressure plate in the multiple first pressure plate images, and obtain the first pressure plate sub-image at each position on each screen cabinet, and construct a corresponding first independent pressure plate sub-image library for each pressure plate in each screen cabinet.

[0077] Through image processing technology, the pressure plate in each picture is located, and then the pressure plate image at each position is segmented. In the subsequent process, each individual pressure plate can be independently learned and an independent verification model can be built, instead of processing the entire image, thereby improving accuracy.

[0078] The fourth step is to build a machine algorithm model based on the AdaBoost algorithm, and train the machine algorithm model through multiple first independent pressure plate sub-libraries to obtain multiple first image verification sub-models.

[0079] AdaBoost is an adaptive learning algorithm that can combine multiple weak classifiers to build a strong classifier, and use the AdaBoost algorithm to identify and judge the status of each pressure plate. And using the adaptive characteristics of AdaBoost, each independent pressure plate sub-library is specially trained to obtain a model that can accurately judge the status of each screen cabinet.

[0080] The fifth step is to bind multiple first image verification sub-models to the code of the screen cabinet to obtain the first image verification model.

[0081] In order to ensure that the pressure plate status of each cabinet can be accurately identified, it is necessary to bind the multiple first image verification sub-models constructed previously to the corresponding cabinet codes. In this way, whenever a new cabinet image needs to be verified, the system will directly call the verification sub-model that matches the cabinet to perform analysis, which improves the accuracy of the analysis.

[0082] The sixth step is to obtain the screen cabinet image to be verified and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate.

[0083] In actual operation, the image of the cabinet to be checked will be input into the system. Through the same image processing technology as in step 3, the system can accurately locate the position of each platen in the image. Once the location is completed, the image of each platen will be cut out to provide detailed sub-image information for subsequent image recognition.

[0084] In the seventh step, each verification sub-image is input into the first image verification model, and the first image verification model inputs the verification sub-image into the corresponding first image verification sub-model according to the position of the verification sub-image.

[0085] Each cut-out verification sub-image will be input into the previously constructed first image verification model. Since the model and the cabinet code have been bound, the system can automatically select the corresponding verification sub-model to analyze each sub-image.

[0086] In the eighth step, the first image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "throw"; if the structure output is "not the same", the state of the corresponding pressure plate is determined to be "retract".

[0087] The specially trained verification sub-model will perform detailed image recognition on each verification sub-image. By comparing it with the image in the database, the model will give a result. If the recognized image is "the same" as the image in the database, the system will determine that the state of the platen is "throwing"; conversely, if the recognized image is "not the same" as the image in the database, the system will determine that the state of the platen is "retracting". This process ensures the accurate recognition of each platen state, greatly improving work efficiency and accuracy.

[0088] In this embodiment, first, each screen cabinet is encoded and its initial state is set. Next, for each screen cabinet, the system obtains images of the pressure plate under multiple angles and multiple environments to build an image database. Then, the position of each pressure plate is located through image processing technology and divided into verification sub-images. Next, based on the AdaBoost algorithm, each sub-image library is used to train the machine learning model to generate multiple verification sub-models. These sub-models are then bound to the screen cabinet code. In actual applications, the image of the screen cabinet to be tested is uploaded, and the system identifies and determines the state of each pressure plate, and compares it with the initially set state.

[0089] This embodiment uses image processing technology and AdaBoost machine learning algorithm to perform detailed image acquisition and analysis for each panel cabinet in the substation. The principle is to train a highly accurate model through a large amount of data to identify and judge the actual state of each pressure plate. The advantage is that it can provide customized, high-precision status verification for each panel cabinet, significantly reducing the misjudgment rate. In addition, through the automated process, work efficiency is greatly improved, and an independent database is provided for each panel cabinet to ensure the neatness and consistency of the data.

[0090] Embodiment 2

[0091] The first embodiment provides a verification method, but the whole method is based on the "investment" state as a reference. In practice, there is a situation where non-investment ≠ withdrawal. Therefore, in order to avoid the state between investment and withdrawal, such as Figure 2 As shown, a method based on the reference of the "exit" state is added.

[0092] Step 1: Set the status of all the pressure plates on the screen cabinet to "retract";

[0093] Step 2. Obtain multiple second pressure plate images for each screen cabinet, and build an independent second image database for each screen cabinet; the method for obtaining the second pressure plate image includes: taking multiple pictures at various angles in different environments, and the offset angle between two adjacent shots is no more than 10°; different environments include: sunny days, cloudy days, night, with auxiliary light sources, and without auxiliary light sources.

[0094] Step 3: Position the pressure plate in the plurality of second pressure plate images, and obtain the second pressure plate sub-images at various positions on each screen cabinet, and construct a corresponding second independent pressure plate sub-image library for each pressure plate in each screen cabinet;

[0095] Step 4: construct a machine algorithm model based on the AdaBoost algorithm, and train the machine algorithm model through multiple second independent platen sub-libraries to obtain multiple second image verification sub-models;

[0096] Step 5: Bind multiple second image verification sub-models to the code of the screen cabinet to obtain a second image verification model;

[0097] Step 6: Obtain the screen cabinet image to be verified, and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate;

[0098] Step 7: Input each verification sub-image into the second image verification model, and the second image verification model inputs the verification sub-image into the corresponding second image verification sub-model according to the position of the verification sub-image;

[0099] Step 8: The second image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "retracted"; if the structure output is "different", the state of the corresponding pressure plate is determined to be "thrown";

[0100] Step 9: Figure 3 As shown, if the determination state of the first image verification sub-model is the same as the determination state of the second image sub-model, the final state is output;

[0101] If the determination state of the first image verification sub-model is different from the determination state of the second image sub-model, an abnormal state is output.

[0102] This step is a proofreading and verification process, which ensures the accuracy of identifying the status of the relay protection device pressure plate.

[0103] In this step, the system compares the state judgments of the first image verification sub-model and the second image verification sub-model on the same platen. The two models can be regarded as two independent "reviewers", each of which gives a judgment based on its own training data and algorithm.

[0104] If the judgment states given by the two models are consistent, then we can be relatively confident that this state is correct. For example, if the first model and the second model both judge the state of a pressure plate to be "throw", the system will output this result and consider it to be correct.

[0105] However, if the judgments given by the two models are contradictory - that is, one model judges "throw" and the other model judges "retract" - the system will consider this situation to be abnormal. This means that at least one of the models may have an error, or there is some special situation in the image of the platen that causes the model to judge inaccurately. For safety reasons, the system will output an "abnormal state" to prompt the operator to perform manual inspection or further analysis.

[0106] The dual verification mechanism enhances the reliability and accuracy of the system. If you rely on one model alone, there may be a high risk of misjudgment. However, through the mutual verification of the two models, this risk can be greatly reduced to ensure accurate judgment of the platen status.

[0107] Embodiment 3

[0108] like Figure 4 As shown, the method for positioning the pressure plate in the first pressure plate image / the second pressure plate image includes:

[0109] A1. Manually label each platen image and obtain the center position x of the platen sub-image o at the first row and first column. * and its neighborhood Ω c (x * ).

[0110] Manually, we find and mark the center of the pressure plate sub-image at the first row and first column of each image. In this way, we get a reference point x * , which will serve as a starting point for subsequent steps.

[0111] A2. Get area Ω c (x * )’s texture feature set; X * ={t(z)=(I(z),z)|z∈Ω c (x * )}, where z is the neighborhood Ω c (x * ), t(z) is the texture at pixel position z, and I(z) is the grayscale value at pixel position z.

[0112] From the center position x * The surrounding area Ω c (x * ) extracts texture features, which are composed of the grayscale value (or color information) of the area. Thus, the grayscale value and texture information of the pixels in this neighborhood are obtained.

[0113] A3. Determine the spatial point x within the region and locate it as the center position x * Likelihood function c(x); Among them, h(·) is the texture map function of the neighborhood of the platen sub-image, w(·) is the window function, b is the coefficient variable, α is the coefficient, and β is the coefficient.

[0114] The likelihood function is used to describe whether a certain position x is the true center position x. * The function is calculated based on the texture and grayscale value of the neighborhood. The likelihood function c(x) in this embodiment is defined based on several variables and coefficients (such as b, α and β), which together determine the shape and distribution of the function and are used to evaluate the likelihood of the center position.

[0115] A4. Perform identity transformation on the likelihood function, expand it using convolution operation, perform Fourier transform and frequency domain transform, and then perform inverse Fourier transform to obtain the texture map function of the pressure plate sub-image neighborhood. Where F(·) is the Fourier transform, F -1 (·) is the inverse Fourier transform.

[0116] The image data is converted from the spatial domain (i.e., ordinary image) to the frequency domain, that is, the likelihood function c(x) is first converted to the frequency domain, then the frequency domain transform is performed and finally the inverse Fourier transform is used to convert it back to the spatial domain to obtain the texture map function. The texture map function of the neighborhood is extracted and reconstructed through Fourier transform and inverse transform to provide more accurate reference information for positioning the pressure plate.

[0117] A5. Get the column spacing of the screen cabinet. The column spacing is known to ensure that we correctly locate the next pressure plate in the subsequent steps, especially in the longitudinal or row direction.

[0118] A6, and estimate the next adjacent area Ω1(x1) containing the platen in the row direction with the column spacing; based on the known column spacing, move along the row direction to the expected next platen position. The distance of this movement should be similar or the same as the column spacing to predict the position of the next platen. Make sure to check the image continuously and systematically to find the position of each platen without missing any.

[0119] A7. Obtain the area Ω1(x1) and the area Ω c (x * ), c1(x1)=F -1 (F(h(x1))ΘF(I(x1)w(x1-x * )), where x1 is a spatial point in the neighborhood Ω1(x1).

[0120] The confidence map function describes the confidence or likelihood of the center position of the platen in a given area. It is built based on the spatial points in the neighborhood and combined with the previous analysis results (such as the texture map function) to give a mathematical description.

[0121] A8. Calculate the maximum extreme point of the confidence map function And use it as the center position of the pressure plate in the area Ω1(x1); and obtain the corresponding pressure plate sub-graph according to the center position.

[0122] By mathematically analyzing the confidence map function, we can find its maximum extreme point, which is the most likely location of the platen center. The center location is achieved by taking the derivative and finding the maximum value of the function. Once the center location is determined, the corresponding platen sub-map can be extracted.

[0123] A9. Repeat steps A6-A8 until all the platens in the first row are located and the platen sub-images of all the platens in the first row are obtained. In the first row, repeat the process from A6 to A8 from left to right until all the platens are located.

[0124] A10. Get the row spacing of the screen cabinet;

[0125] A11, take the pressure plate in the first row and first column as the initial point;

[0126] A12. Estimate the next adjacent area containing the pressure plate in the column direction based on the row spacing; that is, in order to correctly start positioning the pressure plate of the next row in the vertical direction, a reference point is required, which is the pressure plate of the first row and the first column.

[0127] A13. Repeat steps A6-A8 to obtain the positioning of all the platens in the first column and the platen sub-image of all the platens in the first column; ensure that each platen in the first column is correctly positioned and identified.

[0128] A14, taking the pressure plate in the first row and second column as the initial point, repeating steps A12-A13 to obtain the positions of all pressure plates in the second column and the pressure plate sub-graphs of all pressure plates in the second column;

[0129] A15. Obtain the platen positions of all columns and obtain the platen sub-images of all platens according to step A14. Ensure that each column in the image is fully analyzed without omission, so as to obtain the complete and accurate positions of all platens on the screen cabinet.

[0130] This embodiment constitutes a method for positioning a pressure plate in a screen cabinet image and extracting a sub-image.

[0131] A1-A4 focus on the preliminary localization and feature extraction of individual platens, especially those in the first row and first column. This is achieved through manual annotation, texture feature extraction and Fourier transform.

[0132] A5-A9 are positioned on a column basis, using the known column spacing to ensure that the image is continuously and systematically checked across the width to find the position of the platen for each row.

[0133] A10-A15 turns attention to the positioning of rows, which is done vertically in a similar way to the columns.

[0134] This embodiment provides a systematic step-by-step process that ensures that no platen in the image is missed, and can handle platens of various sizes and arrangements by relying on known row and column spacing rather than fixed values.

[0135] By leveraging texture features, Fourier transforms and other advanced image processing techniques, the method is able to accurately locate the platen even in noisy backgrounds or imperfect lighting conditions.

[0136] Embodiment 4

[0137] The method to obtain the screen cabinet image to be verified is:

[0138] A real-time photo of the screen cabinet is obtained through the smart terminal, and the center position of the pressure plate in the first row and first column is manually calibrated in the real-time photo, and the calibrated real-time photo is set as the screen cabinet image to be verified.

[0139] The manual calibration in this embodiment can be performed by directly clicking on the screen of the smart terminal after taking a photo, which provides a starting reference point for the automation process to ensure that the subsequent automatic positioning is accurate.

[0140] The method for positioning the pressure plate in the screen cabinet picture is:

[0141] Determine the code of the screen cabinet corresponding to the screen cabinet image to be verified; the screen cabinet code is the key to retrieving relevant information (such as row spacing and column spacing).

[0142] According to the code of the screen cabinet, the row spacing and column spacing of the pressure plate in the screen cabinet image to be verified are obtained; according to the code of the screen cabinet, the corresponding row spacing and column spacing information can be obtained. Therefore, each pressure plate can be accurately positioned according to the method in the third embodiment.

[0143] According to steps A6-A15, all the pressure plates in the screen cabinet image to be verified are located, and the verification sub-images corresponding to all the pressure plates are obtained.

[0144] Methods for identifying the verification subgraph include:

[0145] In order to obtain the correct model, determine the code of the screen cabinet corresponding to the screen cabinet image for verification.

[0146] Obtain the corresponding first image calibration model and / or second image calibration model according to the code of the screen cabinet;

[0147] The calibration sub-image is input into the corresponding first image calibration sub-model and / or second image calibration sub-model.

[0148] By using an image verification model specific to the screen cabinet, professional and accurate recognition of screen cabinets of specific design and configuration is ensured. Two models are set so that the system can select the appropriate model for recognition as needed, or use both at the same time to improve recognition accuracy.

[0149] Embodiment 5

[0150] A transformer substation relay protection device pressure plate state verification terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the transformer substation relay protection device pressure plate state verification method as described above are implemented.

[0151] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the terminal by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an execution program required for at least one function, etc.

[0152] The data storage area can store data created according to the use of the terminal, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0153] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for checking the status of a pressure plate of a substation relay protection device as described above.

[0154] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer readable instruction data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storage technology, CD-ROM, DVD or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory and mass storage devices can be collectively referred to as memory.

[0155] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments / methods or examples described in this specification and the features of the different embodiments / methods or examples, unless they are contradictory.

[0156] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying 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 the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0157] It should be understood by those skilled in the art that the above embodiments are only for the purpose of clearly illustrating the present invention, and are not intended to limit the scope of the present invention. For those skilled in the art, other changes or modifications may be made based on the above invention, and these changes or modifications are still within the scope of the present invention.

Claims

1. A method for checking the status of a pressure plate of a substation relay protection device, characterized in that: include: Encode multiple screen cabinets and set the status of all pressure plates on the screen cabinets to "throw"; Acquire multiple first pressure plate images of each screen cabinet, and build an independent first image database for each screen cabinet; Positioning the pressure plates in the plurality of first pressure plate images, and obtaining the first pressure plate sub-images at various positions on each screen cabinet, and constructing a corresponding first independent pressure plate sub-image library for each pressure plate of each screen cabinet; A machine algorithm model is constructed based on the AdaBoost algorithm, and the machine algorithm model is trained through a plurality of first independent platen sub-libraries to obtain a plurality of first image verification sub-models; Binding a plurality of first image verification sub-models to the code of the screen cabinet to obtain a first image verification model; Obtain the screen cabinet image to be verified, and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate; Input each verification sub-image into the first image verification model, and the first image verification model inputs the verification sub-image into the corresponding first image verification sub-model according to the position of the verification sub-image; The first image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "throw"; if the structure output is "not the same", the state of the corresponding pressure plate is determined to be "retract". Among them, the status of all the pressure plates on the screen cabinet is set to "return"; Acquire multiple second pressure plate images of each screen cabinet, and build an independent second image database for each screen cabinet; Positioning the pressure plates in the plurality of second pressure plate images, and obtaining the second pressure plate sub-images at various positions on each screen cabinet, and constructing a corresponding second independent pressure plate sub-image library for each pressure plate of each screen cabinet; A machine algorithm model is constructed based on the AdaBoost algorithm, and the machine algorithm model is trained through a plurality of second independent pressing plate sub-libraries to obtain a plurality of second image verification sub-models; Binding a plurality of second image verification sub-models to the code of the screen cabinet to obtain a second image verification model; Obtain the screen cabinet image to be verified, and locate the pressure plate in the screen cabinet image; after positioning, obtain the verification sub-image corresponding to each pressure plate; Input each verification sub-image into the second image verification model, and the second image verification model inputs the verification sub-image into the corresponding second image verification sub-model according to the position of the verification sub-image; The second image verification sub-model performs image recognition on the verification sub-image. If the result output is "same", the state of the corresponding pressure plate is determined to be "retracted"; if the structure output is "different", the state of the corresponding pressure plate is determined to be "thrown"; If the determination state of the first image verification sub-model is the same as the determination state of the second image sub-model, then the final state is output; If the determination state of the first image verification sub-model is different from the determination state of the second image sub-model, an abnormal state is output; The method for positioning the pressure plate in the first pressure plate image / the second pressure plate image includes: A1. Manually label each platen image to obtain the platen sub-image at the first row and first column. Central location and its neighborhood ; A2. Get area Texture feature set; ,in, Neighborhood The pixel position in is the pixel position Texture, is the pixel position Gray value of A3. Determine the spatial points within the area , and position it as the center The likelihood function ; ,in, is the texture map function of the pressure plate sub-image neighborhood, is the window function, is the coefficient variable, is the coefficient, is the coefficient; A4. Perform identity transformation on the likelihood function, expand it using convolution operation, perform Fourier transform and frequency domain transform, and then perform inverse Fourier transform to obtain the texture map function of the pressure plate sub-image neighborhood. ,in, is the Fourier transform, is the inverse Fourier transform; A5. Get the row spacing of the screen cabinet; A6, and estimate the next adjacent area containing the pressure plate in the row direction based on the column spacing ; A7. Get Area With area The confidence map function between ,in, Neighborhood A point in space within A8. Calculate the maximum extreme point of the confidence map function , and use it as the region The center position of the inner pressure plate; and obtain the corresponding pressure plate sub-image according to the center position; A9, repeat steps A6-A8 until all the pressing plates in the first row are positioned and the pressing plate sub-images of all the pressing plates in the first row are obtained; A10. Get the row spacing of the screen cabinet; A11, take the pressure plate in the first row and first column as the initial point; A12, estimating the next adjacent area containing the pressing plate in the column direction based on the row spacing; A13, repeat steps A7-A8 to obtain the positions of all the platens in the first column and obtain the platen sub-images of all the platens in the first column; A14, taking the pressure plate in the first row and second column as the initial point, repeating steps A12-A13 to obtain the positions of all pressure plates in the second column and the pressure plate sub-graphs of all pressure plates in the second column; A15. Obtain the platen positions of all columns and obtain the platen sub-images of all platens according to step A14.

2. A method for checking the status of a pressure plate of a substation relay protection device according to claim 1, characterized in that: The method of obtaining the first pressing plate image and the second pressing plate image comprises: taking a plurality of pictures at various angles under different environments, and the offset angle between two adjacent pictures is not greater than 10°; Different environments include: sunny day, cloudy day, night, with auxiliary light source, and without auxiliary light source.

3. A method for checking the status of a pressure plate of a substation relay protection device according to claim 1, characterized in that: The method to obtain the screen cabinet image to be verified is: A real-time photo of the screen cabinet is obtained through the smart terminal, and the center position of the pressure plate in the first row and first column is manually calibrated in the real-time photo, and the calibrated real-time photo is set as the screen cabinet image to be verified.

4. A method for checking the state of a pressure plate of a substation relay protection device according to claim 2, characterized in that: The method for positioning the pressure plate in the screen cabinet picture is: Determine the code of the screen cabinet corresponding to the screen cabinet image to be verified; According to the code of the screen cabinet, the row spacing and column spacing of the pressure plate in the screen cabinet image to be checked are obtained; According to steps A6-A15, all the pressure plates in the screen cabinet image to be verified are located, and the verification sub-images corresponding to all the pressure plates are obtained.

5. A method for checking the status of a pressure plate of a substation relay protection device according to claim 4, characterized in that: Methods for identifying the verification subgraph include: Determine the code of the screen cabinet corresponding to the screen cabinet image to be verified; Obtain the corresponding first image calibration model and / or second image calibration model according to the code of the screen cabinet; The calibration sub-image is input into the corresponding first image calibration sub-model and / or second image calibration sub-model.

6. A transformer substation relay protection device pressure plate state verification terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of a method for checking the status of a pressure plate of a substation relay protection device according to any one of claims 1 to 5 are implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for checking the status of a pressure plate of a substation relay protection device according to any one of claims 1 to 5 are implemented.