Power grid acceptance scheme generation method and device, electronic equipment and medium

By classifying, deduplicating and clustering the power grid equipment signals, the acceptance scheme is automatically generated, which solves the problem of low efficiency of the acceptance scheme in the existing technology, achieves efficient and accurate power grid equipment acceptance, and enhances the stability of the power grid.

CN118734115APending Publication Date: 2024-10-01JIANGSU BINGXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410755342.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing power grid equipment acceptance scheme relies on manual writing, which is inefficient and subjective. It cannot quickly adapt to the diversity and rapid changes of equipment operating signals, affecting the acceptance efficiency and grid stability.

Method used

By classifying, deduplicating and fuzzy clustering the operation signals of power grid equipment in time sequence, the acceptance plan is automatically generated, the equipment type and remote signaling information are used to simplify the similarity calculation, and the fuzzy C-means clustering algorithm is used to identify clusters and Verify the plan after generating it.

Benefits of technology

It improves the efficiency and accuracy of acceptance plan generation, simplifies the calculation process, enhances the reliability and adaptability of the plan, reduces manual intervention, and improves the automation level of power grid equipment acceptance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734115A_ABST
    Figure CN118734115A_ABST
Patent Text Reader

Abstract

The invention relates to a power grid acceptance scheme generation method and device, electronic equipment and a medium, and is applied to the field of signal processing, the method comprises the following steps: classifying signals in the operation process of power grid equipment according to a time sequence to obtain a first signal sample set, the first signal sample set comprises first operation signal samples corresponding to a plurality of time periods respectively, and the first operation signal samples correspond to second operation signal samples corresponding to a plurality of time periods respectively; the operation signal sample of each time period comprises a plurality of first signals, and each first signal comprises remote signaling and remote measurement; repeated signals in the multiple first signals of the first operation signal sample in each time period are removed, a second operation signal sample corresponding to each time period is obtained, and the second operation signal sample comprises multiple second signals; performing fuzzy clustering on the second operation signal sample corresponding to each time period to obtain a cluster corresponding to each time period; and generating a power grid acceptance scheme according to the clusters corresponding to the plurality of time periods. The power grid acceptance scheme can be automatically generated, and the generation efficiency of the acceptance scheme is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and in particular to a method, device, electronic device and medium for generating a power grid acceptance plan. Background Art

[0002] With the rapid development and extensive construction of power grids, the number of power grid equipment has shown explosive growth. This means that when equipment is put into operation and changed, the types and number of signals that need to be accepted are becoming more and more complicated. Faced with such challenges, the acceptance plan for power grid equipment mainly relies on manual writing and maintenance. This practice not only greatly relies on the personal experience and judgment of the writers, but also has a certain degree of subjectivity, making it difficult to ensure the accuracy of the acceptance results. In addition, the process of manually writing and maintaining acceptance plans is often time-consuming, labor-intensive, and inefficient. Especially when faced with the diverse requirements of power grid equipment operation signals, the plan often cannot meet them, let alone adapt to the rapid changes in actual conditions. This situation not only affects the acceptance efficiency of power grid equipment, but also may bring potential risks to the stable operation of the power grid.

[0003] How to quickly generate a power grid acceptance plan has become a technical issue that technical personnel in this field need to pay attention to. Summary of the invention

[0004] The purpose of this application is to provide a method, device, electronic device and medium for generating a power grid acceptance plan, which can automatically generate a power grid acceptance plan and improve the efficiency of generating the acceptance plan.

[0005] In a first aspect, a method for generating a power grid acceptance plan is provided, comprising: Classifying the signals during the operation of the power grid equipment in chronological order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to each of the multiple time periods, and the operation signal samples of each time period include multiple first signals, and each first signal includes telesignaling and telemetering; Removing repeated signals from a plurality of first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes a plurality of second signals; Perform fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period; A power grid acceptance plan is generated according to the clusters corresponding to the multiple time periods.

[0006] Through the above technical scheme, the signals during the operation of the power grid equipment are classified in chronological order, the data is effectively organized, and the multiple first signals corresponding to each time period in the classified first signal sample set are deduplicated, and the deduplicated data corresponding to each time period are clustered, so that the related signals can be grouped into a cluster to automatically generate a power grid acceptance plan, thereby improving the efficiency of generating the acceptance plan.

[0007] In one possible implementation, the telemetry includes at least: device type; Removing repeated signals from a plurality of first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period includes: According to the device types in the multiple first signals of the first operation signal sample of the target time period, determine from the multiple first signals a signal having the same device type as the target first signal as another first signal, the target time period being any time period in the multiple time periods, and the target first signal being any signal in the multiple first signals of the first operation signal sample; calculating the similarity between the target first signal in the first operation signal sample and the other first signals, and deleting the other first signals whose similarity exceeds a preset similarity threshold; After completing the similarity calculation and deletion operation on the first operation signal samples of each time period, the second operation signal samples corresponding to each time period are obtained.

[0008] Through the above technical solution, the device type information is used to select other first signals to be compared with the target first signal, and then the similarities between the target first signal and the other first signals are compared, which can simplify the calculation amount and improve the calculation efficiency.

[0009] In a possible implementation, the remote signal includes: time, remote signal alarm type and remote signal value; The calculating the similarity between the target first signal and other first signals in the first running signal sample comprises: Acquire the signal length of the remote signal of the target first signal and the signal length of the remote signal of other first signals; Based on the signal length of the remote signal of the target first signal and the signal length of the remote signal of the other first signals, the similarity between the target first signal and the other first signals in the first running signal sample is calculated by using a cosine distance algorithm.

[0010] Through the above technical solution, only the remote signal in the first signal is selected to perform similarity calculation, and the signal length of the remote signal is used for calculation, which can further simplify the amount of calculation.

[0011] In a possible implementation, performing fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period includes: Determine a relationship graph representing the sum of squared errors and the quantity according to the plurality of second signals corresponding to each time period, and determine the quantity corresponding to the elbows in the relationship graph as the number of clusters; Determine the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal; The fuzzy C-means clustering algorithm is used to perform fuzzy clustering on the multiple second signals corresponding to each time period according to the initial cluster center corresponding to each time period to obtain the cluster group corresponding to each time period.

[0012] Through the above technical solution, the optimal number of clusters is first determined by determining the elbow rule, so that the clustering result is more reasonable; then, through the reasonable selection of initial cluster centers and the application of fuzzy C-means clustering algorithm, the relevance of the second signal can be more accurately identified.

[0013] In a possible implementation, determining the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal includes: Clustering is performed according to the moments of the multiple second signals corresponding to each time period to obtain a number of clustered target moments; The second signal corresponding to the target moment of the cluster number in each time period is used as the initial cluster center corresponding to each time period.

[0014] Through the above technical solution, the time information is used to select the initial cluster center in a simple and efficient manner, and a representative second signal can be quickly located as the starting point of clustering, thereby improving the accuracy and efficiency of fuzzy clustering.

[0015] In a possible implementation, after generating a power grid acceptance plan according to the clusters corresponding to the multiple time periods, the following is further included: Verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period; If the verification fails, a prompt message is generated.

[0016] Through the above technical solution, after the power grid acceptance plan is generated, a verification link is added to facilitate timely discovery of problems in the clustering results, and to remind users by generating prompt information, thereby improving the reliability and practicality of the entire plan.

[0017] In a possible implementation, verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period includes: The clustering result of each time period is verified by matching the remote signal alarm signal corresponding to the cluster group corresponding to each time period with the remote signal alarm signal in the preset strongly associated remote signal alarm signal group.

[0018] Through the above technical solution, the clustering results are verified by using the preset strongly correlated telesignaling alarm signal group. This method can more accurately evaluate the accuracy of the clustering results and provide a strong basis for subsequent solution adjustment and optimization.

[0019] In a second aspect, a power grid acceptance scheme generating device is provided, comprising: A classification module, used to classify the signals in the operation process of the power grid equipment in chronological order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to each of the multiple time periods, and the operation signal samples of each time period include multiple first signals, each of which includes telesignaling and telemetering; A deduplication module, used to remove duplicate signals from multiple first signals of the first operation signal sample of each time period, to obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes multiple second signals; A clustering module, used for performing fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster group corresponding to each time period; The generation module is used to generate a power grid acceptance plan according to the clusters corresponding to the multiple time periods.

[0020] In a third aspect, an electronic device is provided, the electronic device comprising: one or more processors; Memory; One or more applications, wherein one or more applications are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: perform operations corresponding to the method shown in any possible implementation of the first aspect.

[0021] In a fourth aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by a processor to implement a method as shown in any possible implementation of the first aspect.

[0022] In a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method shown in any possible implementation manner in the first aspect is implemented.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. First, the signals in the operation process of the power grid equipment are classified in chronological order, and the data is effectively organized. In addition, multiple first signals corresponding to each time period in the classified first signal sample set are deduplicated, and the deduplicated data corresponding to each time period are clustered, so that the related signals can be classified into a cluster group, so as to automatically generate a power grid acceptance plan, thereby improving the generation efficiency of the acceptance plan; 2. First, the optimal number of clusters is determined by determining the elbow rule to make the clustering result more reasonable; then, through the reasonable selection of initial cluster centers and the application of fuzzy C-means clustering algorithm, the relevance of the second signal can be more accurately identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a scenario for applying a method for generating a power grid acceptance plan provided in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a method for generating a power grid acceptance plan provided in an embodiment of the present application; Figure 3 A schematic diagram of a deduplication process provided in an embodiment of the present application; Figure 4 A flowchart of another method for generating a power grid acceptance plan provided in an embodiment of the present application Figure 5 A schematic diagram of the structure of a power grid acceptance scheme generating device provided in an embodiment of the present application; Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following is combined with Figure 1 To Attachment Figure 6 This application is described in further detail.

[0026] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.

[0027] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0030] To facilitate understanding, the nouns and terms involved in the embodiments of the present application are explained.

[0031] (1) Telemetry Telemetry refers to the use of communication technology to transmit the measured value of the measured variable. In the power grid, telemetry is mainly used to monitor the various operating parameters of the power grid equipment in real time. These parameters are an important basis for evaluating the operating status and performance of power grid equipment. Through telemetry technology, these parameters can be collected in real time.

[0032] Telemetry includes: equipment identification (uniquely corresponding to power grid equipment), telemetry value corresponding to telemetry type, and operating status. The operating status includes: operation, maintenance, suppression, and blocking.

[0033] Telemetry types include but are not limited to: Section I voltage transformer Uab, Section I voltage transformer Ubc, DTU battery voltage, DC panel / box battery voltage, Section II voltage transformer Uab, Section II voltage transformer Ubc, F, signal strength, Ia, Ib, Ic, IO, P, Q, UA1, UB1, UC1, UO1; where F represents power factor, Ia represents A phase current, Ib represents B phase current, Ic represents C phase current, IO represents zero-sequence current, P represents active power, Q represents reactive power, UA1 represents A phase voltage, UB1 represents B phase voltage, UC1 represents C phase voltage, and UO1 represents zero-sequence voltage.

[0034] (2)Remote messaging Remote signaling refers to the use of communication technology to monitor equipment status information, including switch position, protection action signals, equipment abnormality signals, etc. In the power grid, remote signaling is mainly used to monitor the operating status and abnormal conditions of power grid equipment. Through remote signaling technology, the status information of power grid equipment can be obtained in real time, such as the opening and closing status of circuit breakers, the position of disconnectors, the action of protection devices, etc.

[0035] The telesignaling includes: time, telesignaling alarm type and telesignaling value, among which the telesignaling value includes action, reset, opening and closing.

[0036] Remote signal alarm types include but are not limited to: DTU remote, DTU AC power failure, DTU charging module failure, DTU battery activation status, DTU battery undervoltage, DTU device abnormality, public unit and switch communication disconnection, closed position, open position, remote, spring no energy storage, operating power circuit breaker disconnection, SF6 gas low pressure alarm / trolley working position, protection outlet action, total fault, grounding fault, unit communication abnormality.

[0037] (3) Fuzzy C-means Clustering (FCM) Fuzzy C-means clustering is a soft clustering method that allows data points to belong to multiple cluster centers, each with a weight. Unlike traditional hard clustering methods such as k-means, fuzzy clustering allows data points to belong to multiple clusters, which makes the clustering results smoother and more flexible. Fuzzy C-means clustering can obtain the best clustering results by optimizing fuzzy membership and cluster centers.

[0038] The acceptance plan for power grid equipment generally needs to be manually prepared, and then the acceptance of the power grid equipment is carried out according to the acceptance plan when it is put into operation. Figure 1 , Figure 1A schematic diagram of an application scenario of a method for generating a power grid acceptance scheme is provided for an embodiment of the present application. The method for generating a power grid acceptance scheme is applied to a generation system, including: power grid equipment, signal acquisition equipment, RTU (Remote Terminal Unit), and electronic equipment within a region, wherein the signal acquisition equipment is used to collect signals during operation of the power grid equipment and transmit them to the electronic equipment via the RTU.

[0039] In some embodiments, sensors and RTUs are installed on power grid equipment, and the RTUs are connected to electronic devices via a wired communication network so that the RTUs can send collected signals to the electronic devices on a regular basis or in real time.

[0040] The electronic equipment collects and classifies the telemetry sampling and telesignaling alarm signals during the operation of the power grid equipment, generates a corresponding first signal sample set, cleans the first signal in the first signal sample set based on similarity, and then uses the fuzzy clustering algorithm to cluster and generate clusters, and finally generates a power grid acceptance plan.

[0041] The following is a specific description of a method for generating a power grid acceptance plan. Figure 2 As shown, the method provided in the embodiment of the present application can be executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application. The method includes: S101, classifying the signals during the operation of the power grid equipment in chronological order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to each of the multiple time periods, and the operation signal samples of each time period include multiple first signals, each of which includes telesignaling and telemetering; The signals of the time period during the operation of the power grid equipment are collected. The time period spans a large area so that a complete signal covering all situations can be obtained. The time period is divided to obtain multiple time periods. The classification operation can be performed according to the timestamp of the signal. The timestamp is a mark that records the time when the signal is generated, usually accurate to the second or millisecond level. When classifying, first sort all signals from small to large timestamps, and then divide the sorted signals and the pre-divided multiple time periods into segments. The signals in each time period constitute the operation signal sample, and the operation signal sample includes multiple first signals.

[0042] In this step, the signals (telemetry, telesignaling) during the operation of the power grid equipment are collected and classified to generate a signal sample set sorted at different times, namely, a first signal sample set. For example, the first signal sample set X = {x i ,i=1,2,…,n},X∈R p , n represents the number of samples in the sample set, i.e. the total amount of time period, x i represents the operation signal sample of the power grid equipment at the i-th moment, i.e., the first operation signal sample, x i ={x ij , j = 1, 2, ...}, x ij It is the jth first signal of the first running signal sample at the i-th moment.

[0043] S102, performing a deduplication operation on multiple first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes multiple second signals; Since completely identical or highly similar signals may be generated due to device failure, signal interference or transmission problems when the device is running, data cleaning is performed on the multiple first signals to remove duplicate data, improve data quality, and reduce waste of storage and processing resources.

[0044] Taking the first running signal sample at time i as an example, assuming that x i ={x ij , j=1, 2, ...6}, where xi1 and xi4 are repeated, then the second operating signal sample corresponding to the i-th time period is yi={xi1, xi2, xi3, xi5, xi6}={yi1, yi2, yi3, yi4, yi5}.

[0045] After data cleaning, the latest sample is regenerated, that is, the second running signal sample set Y = {y i ,i=1,2,…,n},Y∈R p ,y i It represents the cleaned sample of the power grid equipment operation signal at the i-th moment, that is, the second operation signal sample.

[0046] S103, performing fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period; S104: Generate a power grid acceptance plan according to the clusters corresponding to the multiple time periods.

[0047] Fuzzy clustering is a clustering analysis method based on fuzzy logic, which allows data points to belong to multiple clusters with different membership degrees, thereby more flexibly reflecting the actual distribution of data; clusters are data subsets obtained through fuzzy clustering algorithms, and data points in the same cluster have certain correlations under certain metrics.

[0048] In some embodiments, fuzzy clustering can be implemented in a variety of ways: Optionally, one method is a clustering algorithm based on fuzzy C-means (FCM). The specific steps include: 1) initializing the number of cluster centers and fuzzy parameters; 2) calculating the membership of each second signal to each cluster group based on the distance from each second signal to the cluster center and the fuzzy parameters; 3) updating the cluster center to make it closer to the second signal with a higher membership; 4) repeating steps 2) and 3) until the cluster center is stable or reaches a preset number of iterations. The automatic generation method of the power grid acceptance plan based on the fuzzy C-means clustering algorithm collects and analyzes the telemetry sampling and telesignaling alarm information during the operation of the power grid equipment, and can accurately generate the corresponding acceptance plan.

[0049] Alternatively, another method is to use a density-based fuzzy clustering algorithm, such as a fuzzy version of DBSCAN. The specific steps include: selecting an appropriate neighborhood radius and a minimum point number threshold; for each second signal in the second running signal sample, calculating the number of points in its neighborhood, and determining its membership to each cluster according to the fuzzy rule; assigning points with a membership higher than a certain threshold to the corresponding cluster; and obtaining the final cluster division after processing all data points.

[0050] It is understandable that other fuzzy clustering algorithms may be used to implement this step, such as fuzzy clustering based on neural networks, fuzzy clustering based on genetic algorithms, etc., which are not limited here.

[0051] After obtaining the clusters corresponding to multiple time periods, they are used as the power grid acceptance plan.

[0052] It can be seen that in the embodiment of the present application, the signals during the operation of the power grid equipment are classified in chronological order, which effectively organizes the data, and the multiple first signals corresponding to each time period in the classified first signal sample set are deduplicated, and the deduplicated data corresponding to each time period are clustered, so that related signals can be grouped into a cluster to automatically generate a power grid acceptance plan, thereby improving the efficiency of generating the acceptance plan.

[0053] In a possible implementation of the embodiment of the present application, the telesignaling includes: time, telesignaling alarm type and telesignaling value; the telemetry includes at least: device type; refer to Figure 3 , Figure 3 A deduplication process diagram provided in an embodiment of the present application, wherein S102 removes duplicate signals from multiple first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period, including: S1021. According to the device types in the multiple first signals of the first operation signal sample of the target time period, determine from the multiple first signals a signal having the same device type as the target first signal as the other first signal, the target time period being any time period in the multiple time periods, and the target first signal being any signal in the multiple first signals of the first operation signal sample; calculate the similarity between the target first signal in the first operation signal sample and the other first signals, and delete the other first signals whose similarity exceeds a preset similarity threshold; The purpose of this step is to clean the data and filter out duplicate signals. Telesignals include: time, telesignal alarm type and telesignal value, and telemetry includes at least device type. Therefore, when a large number of signals from different devices are received in a certain period of time, when data cleaning is required, after selecting the target first signal, the initial screening is performed according to the device type to determine the signals with the same device type, narrow the scope of similarity calculation, and greatly reduce the calculation amount of subsequent similarity judgment.

[0054] The selection of the target first signal can be carried out in order of time, first selecting the signal earlier in time, and calculating the similarity between other first signals and the target first signal. Then, after the processing is completed, the signal at the next moment of the current target first signal is selected as the new target first signal, and then the new target first signal is subjected to similarity calculation with the signal at the next moment, and so on until all calculations and processing are completed.

[0055] It should be noted that the similarity calculation can be based on the similarity of the signal itself between the first signals, or the signal dimension number, i.e., the signal length, can be used as the basis for calculating the similarity, and the present application embodiment will not be limited thereto, as long as the purpose of the present application embodiment can be achieved. Specifically, the present application embodiment will not be limited to the similarity calculation algorithm, and the user can choose according to actual needs.

[0056] S1022. After completing the similarity calculation and deletion operation on the first operation signal sample of each time period, obtain the second operation signal sample corresponding to each time period.

[0057] It can be seen that in the embodiment of the present application, using device type information to select other first signals to be compared with the target first signal, and then comparing the similarity between the target first signal and the other first signals, can simplify the amount of calculation and improve the calculation efficiency.

[0058] Furthermore, since the signal difference is mainly reflected in the telesignal, in order to reduce unnecessary calculation amount, in the embodiment of the present application, the telesignal of the target first signal and the telesignal of other first signals are further selected for similarity calculation. Since the telesignal is only a part of the signal, the calculation amount will also be significantly reduced.

[0059] Specifically, the remote signal includes: time, remote signal alarm type and remote signal value; Calculating the similarity between the target first signal and other first signals in the first operation signal sample in S1021 includes: obtaining the signal length of the remote signal of the target first signal and the signal length of the remote signal of the other first signals; Based on the signal length of the remote signal of the target first signal and the signal length of the remote signal of the other first signals, the similarity between the target first signal and the other first signals in the first running signal sample is calculated by using a cosine distance algorithm.

[0060] In which, each signal in the sample is abstracted into a dimensional vector, and the i-th sample x i The jth signal of the remote signal is represented by x′ ij ={x′ ij1 ,x′ ij2 ,…x′ ijm}, where m is the signal dimension, i.e., the signal length; using the cosine distance algorithm, compare x one by one i The cosine distance of the telesignal signal, for example, the cosine distance between the jth signal and the kth signal should be: Compare d(j, k) with the cosine distance threshold θ. If d(j, k)>θ, then remove x. ik , otherwise x ij With x ik All are retained; the cosine distance threshold θ can be customized, such as 1; after data cleaning, the latest sample Y = {y i ,i=1,2,…,n},Y∈R p ,y i Represents the cleaned sample of the power grid equipment operation signal at the i-th moment.

[0061] It can be seen that in the embodiment of the present application, only the remote signal in the first signal is selected for similarity calculation, and the signal length of the remote signal is used for calculation, which can further simplify the amount of calculation.

[0062] In one possible implementation, reference Figure 4 S103: Perform fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period, including: Determine a relationship graph representing the sum of squared errors and the quantity according to the plurality of second signals corresponding to each time period, and determine the quantity corresponding to the elbows in the relationship graph as the number of clusters; Determine the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal; The fuzzy C-means clustering algorithm is used to perform fuzzy clustering on the multiple second signals corresponding to each time period according to the initial cluster center corresponding to each time period to obtain the cluster group corresponding to each time period.

[0063] Specifically, for each second signal y in the second running signal sample set Y i ={y iz , i = 1, 2, ..., n, z is the number of signals}, the elbow method is used to determine the value of c by calculating the SSE; where: SSE stands for the sum of squared errors. The relationship between SSE and c is in the shape of an elbow, and the c value corresponding to this elbow is the actual number of clusters of the signal sample. Randomly select c samples from the sample as the initial cluster center, v j (j=1, 2, ..., c) is the center of the jth cluster, u jk (j=1, 2, ..., c; k=1, 2, ..., z) is the membership function of the k-th sample to the j-th class, and the membership matrix U is subject to the following conditions: u jk ∈[0,1]; Set the objective function: m fuzzy parameter, can be set to m = 2, || y ik -v j || 2 represents the kth signal y in the i-th sample ik To the cluster center signal v j The Euclidean distance of where u jk The iteration formula is: v k The iteration formula is: Compare J(t) and J(t-1), if ||J(t)-J(t-1)||≤1 -5 , the iteration stop condition is met, otherwise the iteration continues, and t is the number of iterations.

[0064] When the iteration stop condition is met, the signal y ik Classified to v j In the cluster to which it belongs, each second signal is classified to the cluster center closest to it; the cluster center and the classified signal represent a cluster; When all second signals have been classified, the cluster center of each cluster will be recalculated according to the existing signals in the cluster through the above steps; until the cluster center does not change again, the sample y is generated. i Acceptance plan.

[0065] It should be noted that in the embodiments of the present application, when performing fuzzy clustering, the second signal itself can be used, or only the remote alarm signal in the second signal can be used, and the embodiments of the present application will no longer limit this. For only using the remote alarm signal in the second signal, the clustering process of the second signal itself can be referred to, and the embodiments of the present application will no longer elaborate on this.

[0066] It can be seen that in the embodiment of the present application, the optimal number of clusters is first determined by determining the elbow rule to make the clustering result more reasonable; then, through the reasonable selection of initial cluster centers and the application of fuzzy C-means clustering algorithm, the correlation of the second signal can be more accurately identified.

[0067] In an achievable embodiment, determining the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal includes: Clustering is performed according to the moments of the multiple second signals corresponding to each time period to obtain a number of clustered target moments; The second signal corresponding to the target moment of the cluster number in each time period is used as the initial cluster center corresponding to each time period.

[0068] It is understandable that for associated signals, the time when the signals are generated is generally close. Therefore, in the embodiment of the present application, the time of the second signal is first used for initial clustering to obtain the initial clustering center, so that when fuzzy clustering is performed subsequently, the number of clustering times is reduced and the clustering efficiency is improved.

[0069] Specifically, when performing moment clustering in the present application, the K-means clustering algorithm can be used to implement it. Randomly select the number of cluster moments as the initial cluster centers; assign the moment of each second signal to the nearest cluster center to form the number of cluster categories; recalculate the center point of each category, that is, calculate the average value of all moments in each category as the new cluster center; repeat this process until the cluster center no longer changes significantly or reaches the preset number of iterations; finally, the moments corresponding to the number of cluster centers are taken as the target moments, and the second signals corresponding to these moments are taken as the initial cluster centers.

[0070] It can also be implemented by using a hierarchical clustering algorithm. Treat each second signal moment as a separate category; calculate the distance or similarity between all categories; merge the two categories with the closest distance to form a new category, and update the distance between categories; repeat this process until the number of categories is reduced to the preset number of clusters; during the merging process, each merge will generate a new cluster center, which can be the average of the center points of the two categories before the merge or other appropriate calculation methods; finally, when the number of categories reaches the preset value, the moment corresponding to the center point of each category is used as the target moment, and the second signals corresponding to these moments are used as the initial cluster center.

[0071] It can be seen that in the embodiment of the present application, the time information is used to select the initial cluster center, which is simple and efficient, and can quickly locate the representative second signal as the starting point of clustering, thereby improving the accuracy and efficiency of fuzzy clustering.

[0072] In an achievable embodiment, after generating a power grid acceptance plan according to the clusters corresponding to the multiple time periods, the method further includes: Verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period; If the verification fails, a prompt message is generated.

[0073] The embodiment of the present application aims to verify the accuracy and effectiveness of the clustering results, which can be verified by presetting a strongly associated remote signal alarm signal group, or by manual verification.

[0074] It can be seen that in the embodiment of the present application, after the power grid acceptance plan is generated, a verification step is added to facilitate timely discovery of problems in the clustering results, and to remind the user by generating prompt information, thereby improving the reliability and practicality of the entire plan.

[0075] Specifically, verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period includes: The clustering result of each time period is verified by matching the telesignaling alarm signal corresponding to the cluster group corresponding to each time period with the telesignaling alarm signal in the preset strongly associated telesignaling alarm signal group.

[0076] There are multiple clusters corresponding to each time period, each cluster includes multiple second signals, and the telesignal alarm signal group of the cluster is composed of the telesignal alarm signals corresponding to the multiple second signals of the cluster; determine whether the telesignal alarm type in the preset strongly associated telesignal alarm signal group exists in the telesignal alarm signal group. If not, do not process it; if so, determine whether it meets the telesignal alarm type in the preset strongly associated telesignal alarm signal group; if not, determine that the clustering is abnormal; as long as there is an abnormal situation corresponding to all time periods, an alarm can be issued to facilitate re-clustering operation; or, due to a small sample size, the time periods are re-divided, the sample size of each time period is expanded, and the clustering operation is performed again.

[0077] Refer to Table 1, which is a preset strongly associated remote signal alarm signal group table provided in an embodiment of the present application.

[0078] Table 1 Preset strongly associated telesignal alarm signal group table Group Strongly correlated remote warning signal 1 Position-spring has no energy stored 2 Protection output action-fault total-switch position 3 Protection output action-ground fault-switch position 4 Protection output action-fault total 5 Ground fault-fault total For example, when the remote signal alarm signal group includes the position and the total fault, the position and the total fault are both in the strongly associated remote signal alarm signal, but if the position exists, there must be a spring that has not stored energy, that is, group 1, which does not exist in the remote signal alarm signal group, and the classification is determined to be abnormal. For another example, when the remote signal alarm signal group includes the protection outlet action and the total fault, the protection outlet action and the total fault are both in the strongly associated remote signal alarm signal, there are three situations of protection outlet action, group 2, group 3 and group 4, and the protection outlet action and the total fault are group 4, so no processing is performed. For another example, when the remote signal alarm signal group includes DTU remote and DTU AC power failure, they are no longer in the strongly associated remote signal alarm signal group, so no processing is performed.

[0079] It can be seen that in the embodiment of the present application, the clustering result is verified by using a preset strongly correlated telesignaling alarm signal group. This method can more accurately evaluate the accuracy of the clustering result and provide a strong basis for subsequent solution adjustment and optimization.

[0080] In the above embodiment, a method is introduced from the perspective of method flow, and the following embodiment introduces a device from the perspective of a module or unit. For details, please refer to the following embodiment.

[0081] The present application embodiment provides a power grid acceptance scheme generation device, referring to Figure 5 ,include: The classification module 510 is used to classify the signals in the operation process of the power grid equipment in time order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to multiple time periods, and the operation signal samples of each time period include multiple first signals, and each first signal includes telesignaling and telemetering; A deduplication module 520, configured to remove duplicate signals from a plurality of first signals of a first operation signal sample of each time period, and obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes a plurality of second signals; A clustering module 530 is used to perform fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period; The generating module 540 is used to generate a power grid acceptance plan according to the clusters corresponding to the multiple time periods.

[0082] Preferably, the telemetry includes at least: the device type; The deduplication module 520 removes duplicate signals from multiple first signals of the first operation signal samples of each time period to obtain a second operation signal sample corresponding to each time period, which is used for: According to the device types in the multiple first signals of the first operation signal sample of the target time period, determine from the multiple first signals a signal having the same device type as the target first signal as the other first signal, the target time period is any time period in the multiple time periods, and the target first signal is any signal in the multiple first signals of the first operation signal sample; calculate the similarity between the target first signal and the other first signals in the first operation signal sample, and delete the other first signals whose similarity exceeds a preset similarity threshold; After completing the similarity calculation and deletion operation on the first operation signal samples of each time period, the second operation signal samples corresponding to each time period are obtained.

[0083] Preferably, the remote signal includes: time, remote signal alarm type and remote signal value; The deduplication module 520 calculates the similarity between the target first signal and other first signals in the first running signal sample, for: Acquire the signal length of the remote signal of the target first signal and the signal length of the remote signal of other first signals; Based on the signal length of the remote signal of the target first signal and the signal length of the remote signal of the other first signals, the similarity between the target first signal and the other first signals in the first running signal sample is calculated by using a cosine distance algorithm.

[0084] Preferably, the clustering module 530 performs fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period, which is used to: Determine a relationship graph representing the sum of squared errors and the quantity according to the plurality of second signals corresponding to each time period, and determine the quantity corresponding to the elbows in the relationship graph as the number of clusters; Determine the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal; The fuzzy C-means clustering algorithm is used to perform fuzzy clustering on the multiple second signals corresponding to each time period according to the initial cluster center corresponding to each time period to obtain the cluster group corresponding to each time period.

[0085] Preferably, the clustering module 530 determines the initial cluster center corresponding to each time period from the cluster number second signals corresponding to each time period, and is used to: Clustering is performed according to the moments of the multiple second signals corresponding to each time period to obtain a number of clustered target moments; The second signal corresponding to the target moment of the cluster number in each time period is used as the initial cluster center corresponding to each time period.

[0086] Preferably, it also includes: A verification module, used to verify the clustering result of each time period according to each second signal in the cluster corresponding to each time period; The prompt module is used to generate a prompt message if the verification fails.

[0087] Preferably, the verification module verifies the clustering result of each time period according to each second signal in the cluster corresponding to each time period, and is used to: The clustering result of each time period is verified by matching the telesignaling alarm signal corresponding to the cluster group corresponding to each time period with the telesignaling alarm signal in the preset strongly associated telesignaling alarm signal group.

[0088] A device provided in an embodiment of the present application is applicable to the above method embodiment, which will not be described in detail here.

[0089] An electronic device is provided in an embodiment of the present application, such as Figure 6 As shown, Figure 6 The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.

[0090] Processor 301 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0091] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0092] The memory 303 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0093] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0094] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0095] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0096] An embodiment of the present application provides a computer program product, including a computer program, which implements the corresponding contents of the aforementioned method embodiment when executed by a processor.

[0097] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0098] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for generating a power grid acceptance plan, characterized in that: include: Classifying the signals during the operation of the power grid equipment in chronological order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to each of the multiple time periods, and the operation signal samples of each time period include multiple first signals, and each first signal includes telesignaling and telemetering; Removing repeated signals from a plurality of first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes a plurality of second signals; Perform fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster corresponding to each time period; A power grid acceptance plan is generated according to the clusters corresponding to the multiple time periods.

2. The method according to claim 1, characterized in that The telemetry includes at least: equipment type; Removing repeated signals from a plurality of first signals of the first operation signal sample of each time period to obtain a second operation signal sample corresponding to each time period includes: According to the device types in the multiple first signals of the first operation signal sample of the target time period, determine from the multiple first signals a signal having the same device type as the target first signal as another first signal, the target time period being any time period in the multiple time periods, and the target first signal being any signal in the multiple first signals of the first operation signal sample; calculating the similarity between the target first signal in the first operation signal sample and the other first signals, and deleting the other first signals whose similarity exceeds a preset similarity threshold; After completing the similarity calculation and deletion operation on the first operation signal samples of each time period, the second operation signal samples corresponding to each time period are obtained.

3. The method according to claim 2, characterized in that The remote signal includes: time, remote signal alarm type and remote signal value; The calculating the similarity between the target first signal and other first signals in the first running signal sample comprises: Acquire the signal length of the remote signal of the target first signal and the signal length of the remote signal of other first signals; Based on the signal length of the remote signal of the target first signal and the signal length of the remote signal of the other first signals, the similarity between the target first signal and the other first signals in the first running signal sample is calculated by using a cosine distance algorithm.

4. The method according to claim 1, characterized in that: The fuzzy clustering of the second operation signal samples corresponding to each time period to obtain the clusters corresponding to each time period includes: Determine a relationship graph representing the sum of squared errors and the quantity according to the plurality of second signals corresponding to each time period, and determine the quantity corresponding to the elbows in the relationship graph as the number of clusters; Determine the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal; The fuzzy C-means clustering algorithm is used to perform fuzzy clustering on the multiple second signals corresponding to each time period according to the initial cluster center corresponding to each time period to obtain the cluster group corresponding to each time period.

5. The method according to claim 4, characterized in that The determining of the initial cluster center corresponding to each time period from the number of clusters corresponding to each time period and the second signal includes: Clustering is performed according to the moments of the multiple second signals corresponding to each time period to obtain a number of clustered target moments; The second signal corresponding to the target moment of the cluster number in each time period is used as the initial cluster center corresponding to each time period.

6. The method according to claim 1, characterized in that After the power grid acceptance plan is generated according to the clusters corresponding to the multiple time periods, it also includes: Verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period; If the verification fails, a prompt message is generated.

7. The method according to claim 6, characterized in that The verifying the clustering result of each time period according to each second signal in the cluster corresponding to each time period includes: The clustering result of each time period is verified by matching the telesignaling alarm signal corresponding to the cluster group corresponding to each time period with the telesignaling alarm signal in the preset strongly associated telesignaling alarm signal group.

8. A device for generating a power grid acceptance plan, characterized in that: include: A classification module, used to classify the signals in the operation process of the power grid equipment in chronological order to obtain a first signal sample set, wherein the first signal sample set includes first operation signal samples corresponding to each of the multiple time periods, and the operation signal samples of each time period include multiple first signals, each of which includes telesignaling and telemetering; A deduplication module, used to remove duplicate signals from multiple first signals of the first operation signal sample of each time period, to obtain a second operation signal sample corresponding to each time period, wherein the second operation signal sample includes multiple second signals; A clustering module, used for performing fuzzy clustering on the second operation signal samples corresponding to each time period to obtain a cluster group corresponding to each time period; The generation module is used to generate a power grid acceptance plan according to the clusters corresponding to the multiple time periods.

9. An electronic device, characterized in that: It includes: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: perform the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the steps of the method described in any one of claims 1 to 7.