Fault judgment method and related device
By filtering and classifying reported data in power grid fault detection, dividing virtual lines and building delay sequences, the problem of inaccurate fault judgment caused by delayed reporting of terminal equipment is solved, and more efficient and accurate fault judgment is achieved.
Patent Information
- Application Number
- CN202411773683.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-03-14
AI Technical Summary
In power grid fault detection, delayed reporting of terminal equipment due to temporary offline or network fluctuations causes missing data on the main station, resulting in inaccurate fault judgment results.
By filtering and classifying reported data in the fault state, dividing virtual lines, and building a delay sequence according to the event type, determining the dequeue rules to obtain accurate target data, so as to make accurate fault judgments.
It improves the accuracy of fault judgment, reduces the complexity of data processing, improves the efficiency of data processing, and ensures the accuracy and reliability of fault judgment results.
Smart Images

Figure CN119622419A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power grid fault detection, and in particular to a fault judgment method and related devices. Background Art
[0002] Faults such as grounding or short circuits caused by bird nests, kites, broken wires, tree branches, etc., as well as high voltage of photovoltaic grid-connected photovoltaics, internal and external short circuits of energy storage, and charging pile failures will cause changes in the line current and electric field. When the field terminal detects the change and reaches the threshold, it will report the monitored information to the main station. Usually, all terminal devices under the same bus will monitor the changes in the current and electric field. Therefore, the main station will receive the data reported by all terminal devices and process it in real time. However, when an event occurs on site, the terminal device may be delayed in reporting due to temporary offline or network fluctuations, resulting in missing data for the main station's judgment, resulting in inaccurate judgment results. Summary of the invention
[0003] The embodiments of the present application provide a fault diagnosis method and related devices to improve the accuracy of fault diagnosis.
[0004] In a first aspect, an embodiment of the present application provides a fault diagnosis method, including:
[0005] Screen and classify the reported data under fault status to obtain fault analysis data;
[0006] Divide the cache space of the fault analysis data according to the data source of the fault analysis data to obtain multiple virtual circuits;
[0007] For the fault analysis data corresponding to each virtual line in the plurality of virtual lines, construct at least one delay sequence for each virtual line according to the type of the event that occurred;
[0008] For each virtual circuit, perform the following operations:
[0009] Determining a dequeue rule for each delay sequence in the at least one delay sequence according to the type of the event and target type data, wherein the target type data is event sequence record data in the fault analysis data;
[0010] Detecting that each of the delay sequences is the first delay sequence of a type of a single occurrence event, and determining first target data according to a dequeue rule of each of the delay sequences;
[0011] A fault judgment is performed according to the first target data to obtain a first fault result, and the first fault result is used as the fault result.
[0012] In a second aspect, an embodiment of the present application provides a fault diagnosis device, including:
[0013] A preprocessing unit, used to screen and classify the reported data under the fault state to obtain fault analysis data;
[0014] a partitioning unit, configured to partition the cache space of the fault analysis data according to a data source of the fault analysis data to obtain a plurality of virtual circuits;
[0015] a construction unit, configured to construct, for each of the plurality of virtual lines, at least one delay sequence for the virtual line according to the type of the event that occurred, based on the fault analysis data corresponding to each virtual line in the plurality of virtual lines;
[0016] An execution unit is used to perform the following operations for each virtual line: determine the dequeue rule of each delay sequence in the at least one delay sequence according to the type of the occurring event and the target type data, wherein the target type data is the event sequence record data in the fault analysis data; detect that each delay sequence is the first delay sequence under the type of a single occurring event, and determine the first target data according to the dequeue rule of each delay sequence; perform a fault judgment according to the first target data to obtain a first fault result, and use the first fault result as the fault result.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method described in the first aspect.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing an energy data management program, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method described in the first aspect.
[0019] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0020] It can be seen that in the embodiment of the present application, first, the reported data under the fault state is screened and classified to obtain fault analysis data; then, the cache space of the fault analysis data is divided according to the data source of the fault analysis data to obtain multiple virtual lines; then, for the fault analysis data corresponding to each virtual line in the multiple virtual lines, at least one delay sequence of each virtual route is constructed according to the type of the event that occurred; finally, the following operations are performed for each virtual line: according to the type of the event that occurred and the target type data, the dequeue rule of each delay sequence in the at least one delay sequence is determined, and the target type data is the event sequence record data in the fault analysis data; it is detected that each delay sequence is the first delay sequence under the type of a single event that occurred, and the first target data is determined according to the dequeue rule of each delay sequence; a fault judgment is performed according to the first target data to obtain a first fault result, and the first fault result is used as the fault result. The present application creates virtual circuits by data source and constructs different sequences of virtual circuits by event type, so that each virtual circuit can be independently scheduled and processed, reducing the complexity of data processing and improving the efficiency of data processing; the dequeue rule of the sequence is determined by recording data in event order, so that the first target data obtained can be accurately associated with the corresponding event and time, thereby improving the accuracy of fault judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 This is a system architecture diagram of a fault diagnosis system provided by an embodiment of the present application;
[0023] Figure 2 It is a flowchart of a fault judgment method provided in an embodiment of the present application;
[0024] Figure 3 It is a flowchart of another fault judgment method provided in an embodiment of the present application;
[0025] Figure 4 This is a block diagram of the functional units of a fault judgment device provided in an embodiment of the present application;
[0026] Figure 5 It is a block diagram of the functional units of another fault judgment device provided in an embodiment of the present application;
[0027] Figure 6 It is a structural schematic diagram of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, 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 only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] If the equipment reports delayed due to complex on-site conditions, the reported data will become isolated data and cannot be merged with the events associated with it, affecting the accuracy of fault diagnosis.
[0032] In view of the above problems, an embodiment of the present application provides a fault judgment method and related devices, and the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0033] See also Figure 1 , Figure 1 1 is a system architecture diagram of a fault diagnosis system provided by an embodiment of the present application. Figure 1As shown, the fault diagnosis system 100 includes a pre-processing module 101, a cache module 102, and a fault analysis module 103; the pre-processing module 101, the cache module 102, and the fault analysis module 103 are connected in communication with each other, and the fault diagnosis system 100 is configured on the main station. When the main station receives the recording start action, it can obtain the reported data uploaded by multiple field terminals. The pre-processing module 101 is used to filter and classify the reported data, remove invalid data, and perform event grouping processing, and send the processed data to the cache module 102; the cache module 102 is used to create a virtual line with lines as units, cache the processed data, and add the data of different event types of the same virtual line to different delay sequences under the virtual line respectively, so as to realize the update of the data in the virtual line; the fault analysis module 103 is used to determine the dequeue rule of each delay sequence according to the event sequence recording data, and perform dequeue processing operation on the data cached in the cache module 102 according to the dequeue rule to obtain data for fault diagnosis, and then realize fault diagnosis according to the data.
[0034] Based on this, the present application provides a fault judgment method and related devices, and the present application is described in detail below in conjunction with the accompanying drawings.
[0035] See also Figure 2 , Figure 2 is a flowchart of a fault judgment method provided by an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0036] S210, screening and classifying the reported data under the fault state to obtain fault analysis data.
[0037] Among them, when the field terminal detects changes in line current and voltage, the device starts recording, and uploads the event signal and waveform to the main station through the encrypted IoT agent unit. The field terminal is a device located on-site in the power grid monitoring system, such as a substation, along the transmission line, etc., which can keenly perceive the slight changes in the power grid operation status. Its main function is to conduct real-time monitoring and data collection of various physical quantities such as current, voltage, power factor, etc. of the power grid operation. The IoT agent unit is positioned as an edge agent function, which is a remote supplement to the distribution terminal. The agent realizes the Internet of Things and electrification of the distribution network terminal, and is used to realize the remote reporting of traditional stock terminals and new terminals, so as to increase the value of stock assets.
[0038] Among them, the reported data is used to indicate the state change information and current operating state information of the equipment, including event signals and waveform data. The event signal directly indicates the current state change of the equipment. For example, the closing event signal of a switch indicates that the state of the circuit path where the switch is located has changed. The event signal provides preliminary clues to the occurrence of the fault, such as which device sends an abnormal signal first; the waveform data reflects the operating state of the equipment from a more detailed perspective. The waveform data can help determine the type and severity of the fault. Under normal circumstances, the voltage and current waveforms should be stable and meet the rated operating parameters of the equipment. If the waveform is distorted, such as the peak value is too high or the frequency changes, it may indicate that the equipment is faulty or subject to external interference. For example, in the power system, if the current waveform has a momentary spike and then returns to zero, it may indicate a short circuit fault.
[0039] Specifically, the reported data under the fault state is screened and classified to obtain fault analysis data, including: obtaining archive information of the archived equipment in the database; determining the equipment identification information in the reported data; matching and screening the reported data according to the equipment identification information and the archive information to obtain fourth data; performing event grouping processing on the fourth data according to the target type data to obtain the fault analysis data.
[0040] The database includes detailed information on power grid equipment, including basic parameters of the equipment, such as equipment model, rated voltage, rated current, manufacturer, etc. It also records the topological structure information of the power grid, such as the connection relationship between the busbar and each line, the layout of equipment in the substation, etc. The equipment identification information in the reported data can be a terminal ID or equipment model, etc. By matching the equipment identification information in the reported data with the equipment model in the archive information, the data reported by the unarchived equipment is discarded to obtain the first reported data;
[0041] Then, based on the first reported data, the device parameter matching, topology relationship matching and event type matching are performed respectively to obtain the second reported data, that is, the fourth data. Specifically, for the device parameter matching, according to the numerical data such as current and voltage in the first reported data, it will first be matched with the device rated parameters of the corresponding archived device. For example, if the current data reported by a transmission line terminal is 500A, it will look up the rated current of the line in the database. If the rated current is 400A, it can be preliminarily determined that the line may be overloaded. For topological relationship matching, according to the topological structure archive information of the power grid, the master station can determine the specific location and area corresponding to the field terminal data. For example, when the field terminal of a substation bus reports abnormal voltage data, the master station can determine all the lines and equipment connected to the bus through the topological relationship archive information, so as to analyze whether these devices are also affected by the voltage abnormality. For event type matching, the database also includes various possible event types and their characteristics. The master station will match the events reported by the on-site terminals, such as short-circuit events, grounding events, etc., with the event types in the archive information. Taking short-circuit events as an example, short-circuit events correspond to typical characteristic descriptions such as a sharp increase in current and a sudden drop in voltage. The master station can further confirm the authenticity and severity of the event through matching, so as to take corresponding treatment measures, such as starting protection devices or arranging emergency repair personnel.
[0042] Among them, the fourth data includes data of types such as telesignaling, sequence of events (SOE), telemetry, and wave recording files. The sequence of events data is used to record the order and precise time of events, including the time of occurrence of the on-site event and the time when the master station receives the data report. The sequence of events data is filtered to perform event grouping processing on the fourth data to obtain fault analysis data. For example, suppose there are three substations A, B, and C, which are connected to each other through transmission lines. The filtered SOE data is: a line short circuit event occurred at substation A at 9:00:00 in the morning. Due to the good network communication condition, the master station received the report data of the event at 9:00:10 in the morning. Then, the protection device of substation A was activated at 9:00:05 in the morning, and the master station received this data at 9:00:12 in the morning. At the same time, due to the short circuit, the backup line of substation B began to automatically switch and put into operation at 9:00:15 in the morning, and the master station received this data at 9:00:20 in the morning. According to the time of event occurrence, these events can be grouped. Because they are all closely related to the short-circuit fault of substation A and the series of chain reactions caused by it. First, sort by the time of occurrence of the events, first the line short circuit of substation A (9:00:00), then the action of the protection device of substation A (9:00:05), and finally the backup line switching of substation B (9:00:15); from the perspective of the reception time of the master station, although the reception time has a sequence, these events that are within a certain time range, for example, within a few minutes after the first event, can be divided into the same group through the correlation of the data generation time. After grouping in this way, the origin of the fault, the preliminary treatment measures and the impact on other substations can be clearly analyzed.
[0043] It can be seen that in the embodiments of the present application, efficient screening and classification of reported data can be achieved.
[0044] S220, dividing the cache space of the fault analysis data according to the data source of the fault analysis data to obtain a plurality of virtual circuits.
[0045] Among them, the data source of the fault analysis data is used to indicate the subordinate route of the data, classify the reported data by line, create a virtual line, and schedule and process each line independently, which reduces the processing complexity and improves the efficiency of the master station data processing.
[0046] S230 , constructing at least one delay sequence for each virtual line according to the type of the event that occurred, for the fault analysis data corresponding to each virtual line in the plurality of virtual lines.
[0047] Among them, the types of events include short circuit, permanent grounding, instantaneous grounding, continuous grounding, etc. The corresponding virtual line is determined according to the line and event type, and the data of different event types are added to different ordered delay queues under the corresponding virtual line to obtain at least one delay sequence. The data in the delay sequence is arranged in the order of occurrence time. Assuming that the fault analysis data includes two event types, short circuit and instantaneous grounding, two new delay sequences are obtained under the virtual line.
[0048] Specifically, each delay sequence corresponds to a cache time, and the cache time is determined according to the event occurrence time. A cache time is set for each data of each delay sequence in the virtual line, and the cache time of each data is the event occurrence time + n seconds, where n can be determined according to the type of data or by considering the delay reporting time of multiple historical data. The expiration mechanism of the data ensures the timeliness of the data.
[0049] It can be seen that in the embodiment of the present application, the master station caches the event occurrence time + n seconds, which can avoid delayed reporting data from becoming isolated data.
[0050] S240: Determine a dequeue rule for each delay sequence in the at least one delay sequence according to the type of the occurred event and the target type data.
[0051] The target type data is event sequence record data in the fault analysis data.
[0052] Specifically, the target type data includes at least: the time when an event occurs and the time when the reported data is received, and the dequeue rule of each delay sequence in the at least one delay sequence is determined according to the type of the event that occurs and the target type data, including: determining the delayed dequeue time of each delay sequence in the at least one delay sequence according to the type of the event that occurs and the time when the reported data is received, and obtaining the time buffer rule of each delay sequence in the at least one delay sequence; determining the event occurrence time period of each delay sequence in the at least one delay sequence according to the type of the event that occurs and the time when the event occurs, and obtaining the event association rule of each delay sequence in the at least one delay sequence; obtaining the dequeue rule of each delay sequence in the at least one delay sequence according to the time buffer rule of each delay sequence in the at least one delay sequence and the event association rule of each delay sequence in the at least one delay sequence.
[0053] Among them, the dequeue rules of a single delay sequence include time buffer rules and event association rules.
[0054] Among them, the time buffer rule takes into account possible network delays, data jitter and other situations that may exist during data transmission. For example, in a power system monitoring scenario where the network communication environment is unstable, data may be delayed in reaching the master station due to network congestion. By setting the delay time of receiving the reported data + m seconds, it is ensured that the data has enough time to stabilize in the system to avoid incorrect processing due to incomplete or unstable data. Specifically, because different business scenarios have different requirements for the timeliness of data processing, different event types set different delayed dequeue times.
[0055] Specifically, the delayed dequeue time of each delay sequence is determined according to the type of the event that occurred and the time of receiving the reported data, and the time buffer rule of each delay sequence is obtained, including: determining the communication status of all devices under the same data source; determining the first delay time of each delay sequence according to the communication status; determining the second delay time of each delay sequence according to the type of the event that occurred; determining the delayed dequeue time of each delay sequence according to the time of receiving the reported data and the second delay time, and\or, determining the delayed dequeue time of each delay sequence according to the first delay time, and obtaining the time buffer rule of each delay sequence.
[0056] Among them, the master station can set up an event trigger mechanism, and when it receives the reported data, it actively detects the communication status of all terminal devices connected under the same route. For example, if the current electric field of the line changes, when the terminal device detects the change and reaches the threshold, it will encrypt the monitored event and waveform through the physical proxy unit and report it to the master station. After the master station receives the reported data, it immediately sends a communication test instruction to all terminal devices, requiring the terminal device to return its own communication status information. After receiving the instruction, the device returns the relevant information to the master station, and the master station determines whether the device communication is normal based on the return situation. The communication status can be measured by signal strength, signal-to-noise ratio, data transmission rate, etc.
[0057] The communication state can be set to multiple levels, each level corresponding to a delay time. Specifically, a delay sequence can include data reported by multiple terminal devices. When the communication state of each terminal device is different, the delay time corresponding to the lowest level of communication state among the multiple terminal devices can be referred to to determine the first delay time of the delay sequence.
[0058] Among them, when a fault occurs, the communication state of the terminal device will be affected. For example, the instantaneous strong magnetic field generated by a short circuit will interfere with the normal communication signal frequency, causing signal distortion, attenuation or even interruption. The second delay time can be determined according to the degree of influence of each event type on communication. Specifically, it can be the degree of influence of the communication state when the terminal device reports data.
[0059] Specifically, the delayed dequeue time of each delay sequence is determined according to the time of receiving the reported data and the second delay time, and\or, the first delay time, to obtain the time buffer rule of each delay sequence, including: obtaining a first weight corresponding to the first delay time; and obtaining a second weight corresponding to the second delay time; detecting that the first delay time is less than a preset time threshold, determining a first target delay time according to the first delay time, the first weight, the second delay time and the second weight; determining the delayed dequeue time of each delay sequence according to the first target delay time and the time of receiving the reported data; detecting that the first delay time is greater than or equal to the preset time threshold, determining the second delay time as the second target delay time; determining the delayed dequeue time of each delay sequence according to the second target delay time and the time of receiving the reported data.
[0060] The preset time threshold is related to the second delay time and the delay time corresponding to the communication status of different levels. According to the influence of the current event type on the communication, it is determined that the preset time threshold should be set in combination with the delay time corresponding to the communication status at which level. Specifically, if the influence of the current event type on the communication is relatively large, the preset time threshold can be set in combination with the delay time corresponding to the communication status at the lowest level.
[0061] Specifically, since the impact of the fault on the communication status is continuously increasing, if no communication feedback from the terminal device is received within the preset time, the communication status of the terminal device is set to empty, and the corresponding first delay time is the longest. In this case, the first delay time will be greater than or equal to the preset time threshold. Considering the real-time nature of data processing, the second delay time is determined to be m, that is, the second target delay time, so that the delayed dequeue time is determined to be the time for receiving the reported data + the second target delay time.
[0062] If the first delay time is less than the preset time threshold, m, i.e., the first target delay time, is determined according to the first delay time and the second delay time. Specifically, the first delay time and the second delay time are weighted and summed according to the corresponding weights to obtain the first target delay time, thereby determining the delayed dequeue time as the time of receiving the reported data + the first target delay time.
[0063] Further, when the first delay time is greater than or equal to a preset time threshold, the first delay time may be determined to be zero, and then m may be obtained by weighted summing the first delay time and the second delay time according to the first weight and the second weight.
[0064] Furthermore, m may also consider the importance of the data reported by each terminal device under the type of the event that occurs.
[0065] It can be seen that in the embodiment of the present application, by considering the impact of the fault on the device communication and the time of receiving the reported data, and determining the delayed dequeue time, the probability of data loss and error can be reduced, thereby improving the reliability of fault judgment.
[0066] Among them, the event association rule takes the actual time when the event occurs on site as the benchmark, and selects the queue elements within t seconds after this time. For example, in a power system failure scenario, when a short circuit event occurs, within the next t seconds, there may be data such as the action of the protection device and the status changes of related equipment, such as voltage drops causing some equipment to stop working. Through the event association rules, these data related to the short circuit event can be associated together, so as to analyze the event more comprehensively. For example, t can be 3 seconds, and different values can be set for different business scenarios and different types of events.
[0067] S250 , detecting that each of the delay sequences is the first delay sequence of a type of a single occurrence event, and determining first target data according to a dequeue rule of each of the delay sequences.
[0068] Among them, it is possible to first detect whether there is historical cache data under the type of current event occurring in the virtual line, that is, to detect whether there are other delay sequences before the currently obtained delay sequence. If it is detected that there is no historical cache data, it means that the currently received reporting data is comprehensive. By analyzing the received reporting data, accurate fault results can be obtained.
[0069] Among them, the timing scheduling process is performed independently in units of virtual lines. First, it is determined whether the time buffer rule is met. If the time buffer rule is met, it is determined whether the event association rule is met. Specifically, it is determined whether the element at the head of the queue in the delay sequence of each event type reaches the dequeue delay time. The delayed dequeue time is the time of receiving the reported data + m seconds. If the dequeue delay time is reached, the elements in the queue are dequeued with the event occurrence time + t seconds as the window, and the real-time data set in all delay sequences is obtained, that is, the first target data.
[0070] Specifically, it is detected that there is a first delay sequence in the at least one delay sequence where the delay sequence is not a single occurrence event type, and at least one other delay sequence is determined, where the single other delay sequence is a delay sequence other than the first delay sequence in the type of a single occurrence event where multiple delay sequences exist; second target data is determined according to the dequeue rule of each delay sequence and the at least one other delay sequence; a fault judgment is performed according to the second target data to obtain a second fault result, and the second fault result is used as the fault result.
[0071] Among them, it is detected that there are other delay sequences before the currently obtained delay sequence, which means that the currently received reported data may be incomplete. Considering the relevance of the event, all relevant data within a period of time after the event occurs are obtained, whether it is real-time data or data within the same time range in historical records. By analyzing the real-time received data and the historical cached data, accurate fault results can be obtained.
[0072] Specifically, the dequeue rules of a single delay sequence include time buffer rules and event association rules, and determining the second target data according to the dequeue rules of each delay sequence and the at least one other delay sequence includes: determining the data in each delay sequence that satisfies the time buffer rule to obtain at least one first data; determining the data in the at least one first data that satisfies the event association rule to obtain at least one second data; determining the data in the at least one other delay sequence that satisfies the event association rule to obtain at least one third data; and obtaining the second target data according to the at least one second data and the at least one third data.
[0073] Among them, the second data is used to indicate the data in a single delay sequence that satisfies both the time buffer rule and the event association rule, and the third data is used to indicate the data in a single other delay sequence that satisfies the event association rule; specifically, determine whether the element at the head of the queue in the delay sequence of each event type has reached the dequeue delay time, and the delayed dequeue time is the time to receive the reported data + m seconds. If the dequeue delay time is reached, the elements in the queue are dequeued with the event occurrence time + t seconds as the window, and the real-time data set in all delay sequences is obtained; other delay sequences under a single event type are historical cache data that have not expired. Considering the relevance of events, all related data need to be integrated. Specifically, check whether there is data within the event occurrence time + t seconds in other delay sequences. If so, take it out, and obtain the historical data set in all other delay sequences. Merge the historical data set and the real-time data set to obtain the second target data.
[0074] For example, in a hotel business scenario, some foreign objects may enter the busbar area. For example, metal fragments or small animals accidentally enter the busbar bridge during the decoration process. These foreign objects may form a conductive path between busbar phases or between the busbar and the ground, thereby causing a short circuit.
[0075] See also Figure 3 , Figure 3 is a flow chart of another fault judgment method provided in an embodiment of the present application, such as Figure 3 As shown, the fault judgment process can be:
[0076] When a busbar short-circuit occurs in the hotel, the on-site terminal will detect changes in the current and electric field, start recording, collect data, and actively encrypt and report the collected data to the main station of the power monitoring system through the IoT agent unit.
[0077] Among them, the field terminal includes smart meters, current transformers, voltage transformers, relay protection devices and temperature sensors, etc. The collected data includes the sudden change data of current and voltage collected by the smart meter, that is, the current amplitude at the moment of short circuit, the voltage drop, etc. At the same time, it also includes the timestamp of the above parameter changes, so that the master station can determine the time sequence of events. The collected data also includes the current signal collected by the current transformer when the short circuit increases, including the waveform of the short circuit current, such as amplitude, frequency, phase, etc.; it also includes the voltage change waveform collected by the voltage transformer, such as the process and degree of voltage drop, and the relationship change between the three-phase voltages and other information; it also includes the protection action signal collected by the relay protection device, including the action time, protection type, such as overcurrent protection, differential protection, etc., and the equipment status after the action, such as whether the circuit breaker is tripped, whether the fuse is blown, etc. Due to the heating effect caused by the increase in current, the busbar temperature will rise sharply. The collected data also includes the real-time data of temperature rise collected by the temperature sensor, including the rate of temperature change, the highest temperature value and the location information of temperature anomaly.
[0078] After the master station obtains the data collected and encrypted by the on-site terminal through the IoT agent unit, it will make a file judgment based on the terminal's identification information. Specifically, it determines whether the terminal's identification information is in the file. If not, the terminal has not been archived, and the collected data reported by the terminal that has not been archived is discarded to obtain valid data.
[0079] After obtaining valid data, the master station screens and groups the valid data, screens out SOE data, and performs event grouping processing on the valid data according to the SOE data. Considering the correlation of data generation time, events within a certain time range are divided into the same group to obtain grouped valid data.
[0080] After obtaining the valid data in the group, the master station searches for the virtual line according to the subordinate line and event type of each data. Specifically, the master station searches for the virtual line according to the subordinate line of each data. If the virtual line of the subordinate line does not exist, a new virtual line can be created. Then, the data is cached in chronological order according to the event type corresponding to the data. For example, for the short circuit event in this scenario, the short circuit related data is cached under the short circuit event type, and then the real-time delay sequence under each event type is obtained to realize the data update of the virtual line. Furthermore, each time the data in the virtual line is updated, the corresponding cache time will be set for the updated data.
[0081] The master station independently performs timing scheduling processing based on virtual lines to determine whether the first data in each real-time delay sequence has reached the delayed dequeue time. Assuming that the data is received at 10:00:34 and m is 6 seconds, the delayed dequeue time is 10:00:40. According to the current time 10:00:41, it is determined that the first data in the team has reached the delayed dequeue time. Similarly, it is determined whether the first data in the team can be dequeued according to the event occurrence time + t seconds. Repeat the above steps to obtain a real-time data set.
[0082] After the master station obtains the real-time data set, it detects whether the real-time delay sequence is the first delay sequence under the event type, that is, whether there is historical cache data. If the real-time delay sequence is not the first delay sequence under the event type, there is a historical cache. The event type includes at least one other delay sequence. For each other delay sequence, determine whether there is historical data in the same time range according to the event correlation rule. If so, take out the historical data, repeat the above steps, obtain the historical data set, merge the real-time data set and the historical data set, and obtain the second target data. Finally, the master station performs fault judgment based on the second target data. Among them, the method for fault judgment based on the second target data can refer to the method for fault judgment of the first target data.
[0083] It can be seen that in the embodiments of the present application, virtual circuits are dynamically created and updated, and real-time data and historical data caching solutions are formulated to ensure timely updating and management of data.
[0084] S260: Perform fault judgment according to the first target data to obtain a first fault result, and use the first fault result as the fault result.
[0085] The first target data is assembled according to the line topology structure to perform line fault judgment. The fault result includes fault line information, fault type data, fault location range, fault occurrence time related data, fault impact range related data and fault related equipment status change data. Specifically, the fault line information is used to clearly indicate which line has a fault. For example, in a power system including multiple transmission lines, through comprehensive analysis of the first target data and the line topology structure, it can be accurately determined whether a fault occurs in one of the lines, such as line A or line B; the fault type data is used to determine the specific type of the fault, such as short circuit fault, ground fault, overload fault, etc., and the ground fault can be further divided into permanent grounding, instantaneous grounding, etc.; the fault location range can be roughly regional positioning, that is, it can determine the approximate location range of the fault on the line, such as determining whether the fault occurs in the front section, middle section or back section of the line, etc., or it can be precisely positioned to the specific fault point location, such as near a tower, a line joint, etc.; the data related to the time of fault occurrence includes the actual time of occurrence on site and the duration of the fault; the data related to the scope of fault impact can clarify which other line branches connected to the fault line are affected, and sort out which equipment along the line and related areas are affected in the process of the fault, which includes but is not limited to transformers, circuit breakers, relays and other equipment in the substation, and various monitoring equipment on the line; the data on the change of the state of the fault-related equipment is used to understand in detail how the state of the relevant equipment along the line changes before and after the fault occurs. For example, which circuit breakers tripped when a fault occurred, which relays operated, and the changes in parameters such as voltage, current, and temperature of each device before and after the fault.
[0086] It can be seen that in the embodiments of the present application, the present application creates virtual circuits by data source and constructs different sequences of virtual circuits according to event types, so that each virtual circuit can be independently scheduled and processed, reducing the complexity of data processing and improving the efficiency of data processing; the dequeue rule of the sequence is determined by recording data in event order, so that the first target data obtained can be accurately associated with the corresponding event and time, thereby improving the accuracy of fault judgment.
[0087] For the above embodiments, please refer to Figure 4 , Figure 4 is a block diagram of the functional units of a fault judgment device provided in an embodiment of the present application, such as Figure 4As shown, the fault judgment device 40 includes: a pre-processing unit 41, which is used to screen and classify the reported data under the fault state to obtain fault analysis data; a division unit 42, which is used to divide the cache space of the fault analysis data according to the data source of the fault analysis data to obtain multiple virtual lines; a construction unit 43, which is used to construct at least one delay sequence of each virtual route according to the type of the event that occurred for the fault analysis data corresponding to each virtual line in the multiple virtual lines; an execution unit 44, which is used to perform the following operations for each virtual line: determine the dequeue rule of each delay sequence in the at least one delay sequence according to the type of the event that occurred and the target type data, and the target type data is the event sequence record data in the fault analysis data; detect that each delay sequence is the first delay sequence under the type of a single event that occurred, and determine the first target data according to the dequeue rule of each delay sequence; perform fault judgment according to the first target data to obtain a first fault result, and use the first fault result as the fault result.
[0088] In a possible embodiment, the target type data includes at least: the event occurrence time and the time of receiving the reported data. In terms of determining the dequeue rule of each delay sequence in the at least one delay sequence according to the type of the occurred event and the target type data, the execution unit 44 is specifically used to: determine the delayed dequeue time of each delay sequence according to the type of the occurred event and the time of receiving the reported data, and obtain the time buffer rule of each delay sequence; determine the event occurrence time period of each delay sequence according to the type of the occurred event and the event occurrence time, and obtain the event association rule of each delay sequence; obtain the dequeue rule of each delay sequence according to the time buffer rule of each delay sequence and the event association rule of each delay sequence.
[0089] In a possible embodiment, in terms of determining the fault result, the fault judgment device 40 is specifically used to: detect that there is a first delay sequence in the at least one delay sequence where the delay sequence is not a single occurrence event type, determine at least one other delay sequence, the single other delay sequence is a delay sequence other than the first delay sequence under the type of a single occurrence event with multiple delay sequences; determine the second target data according to the dequeue rule of each delay sequence and the at least one other delay sequence; perform a fault judgment according to the second target data to obtain a second fault result, and use the second fault result as the fault result.
[0090] In a possible embodiment, the dequeue rules of a single delay sequence include time buffer rules and event association rules. In determining the second target data according to the dequeue rules of each delay sequence and the at least one other delay sequence, the fault judgment device 40 is specifically used to: determine the data in each delay sequence that satisfies the time buffer rule to obtain at least one first data; determine the data in the at least one first data that satisfies the event association rule to obtain at least one second data; determine the data in the at least one other delay sequence that satisfies the event association rule to obtain at least one third data; obtain the second target data according to the at least one second data and the at least one third data.
[0091] In a possible embodiment, in terms of determining the delayed dequeue time of each delay sequence according to the type of the event that occurred and the time of receiving the reported data, and obtaining the time buffer rule of each delay sequence, the execution unit 44 is specifically used to: determine the communication status of all devices under the same data source; determine the first delay time of each delay sequence according to the communication status; determine the second delay time of each delay sequence according to the type of the event that occurred; determine the delayed dequeue time of each delay sequence according to the time of receiving the reported data, the first delay time and the second delay time, and obtain the time buffer rule of each delay sequence.
[0092] In a possible embodiment, in terms of filtering and classifying reported data under a fault state to obtain fault analysis data, the preprocessing unit 41 is specifically used to: obtain archival information of archived equipment in a database; determine equipment identification information in the reported data; match and filter the reported data according to the equipment identification information and the archival information to obtain fourth data; and perform event grouping processing on the fourth data according to the target type data to obtain the fault analysis data.
[0093] In a possible embodiment, each delay sequence corresponds to a buffer time, and the buffer time is determined according to the event occurrence time.
[0094] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0095] In the case of integrated units, see Figure 5 , Figure 5 is a block diagram of the functional units of another fault judgment device provided in an embodiment of the present application, such as Figure 5As shown, the fault judgment device 40 includes: a processing module 402 and a communication module 401. The processing module 402 is used to control and manage the actions of the fault judgment device 40, for example, to execute the steps of the preprocessing unit 41, the dividing unit 42, the constructing unit 43 and the executing unit 44, and / or to execute other processes of the technology described herein. The communication module 401 is used for the interaction between the fault judgment device 40 and other devices. Figure 5 As shown, the fault judgment device 40 may further include a storage module 403 , and the storage module 403 is used to store program codes and data of the fault judgment device 40 .
[0096] Wherein, the processing module 402 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 401 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 403 can be a memory.
[0097] All relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Figure 2 The fault diagnosis method shown.
[0098] See also Figure 6 , Figure 6 is a schematic diagram of the structure of an electronic device proposed in an embodiment of the present application, such as Figure 6 As shown, the electronic device 600 includes a processor 610, a memory 620, a communication interface 630 and one or more programs 621. The one or more programs 621 are stored in the memory and are configured to be executed by the processor. When the program is executed, it includes part or all of the steps of any one of the fault judgment methods recorded in the above method embodiments. The processor, memory and communication interface are interconnected and complete communication with each other.
[0099] The memory may be a volatile memory such as a dynamic random access memory (DRAM), or a non-volatile memory such as a mechanical hard disk. The memory is used to store a set of executable program codes, and the processor is used to call the executable program codes stored in the memory, and may execute part or all of the steps of any fault judgment method recorded in the above fault judgment method embodiment.
[0100] It can be seen that the electronic device 600 described in the embodiment of the present application first screens and classifies the reported data under the fault state to obtain fault analysis data; then divides the cache space of the fault analysis data according to the data source of the fault analysis data to obtain multiple virtual lines; then, for the fault analysis data corresponding to each virtual line in the multiple virtual lines, at least one delay sequence of each virtual route is constructed according to the type of the event that occurred; finally, the following operations are performed for each virtual line: according to the type of the event that occurred and the target type data, the dequeue rule of each delay sequence in the at least one delay sequence is determined, and the target type data is the event sequence record data in the fault analysis data; it is detected that each delay sequence is the first delay sequence under the type of a single event that occurred, and the first target data is determined according to the dequeue rule of the delay sequence; a fault judgment is performed according to the first target data to obtain a first fault result, and the first fault result is used as the fault result. The present application creates virtual circuits by data source and constructs different sequences of virtual circuits by event type, so that each virtual circuit can be independently scheduled and processed, reducing the complexity of data processing and improving the efficiency of data processing; the dequeue rule of the sequence is determined by recording data in event order, so that the first target data obtained can be accurately associated with the corresponding event and time, thereby improving the accuracy of fault judgment.
[0101] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.
[0102] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0103] It should be noted that, for the sake of simplicity, the aforementioned method implementations are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by the present application.
[0104] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0107] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.
[0108] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., and other media that can store program codes.
[0109] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable memory, which can include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.
[0110] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A fault judgment method, characterized in that: include: Screen and classify the reported data under fault status to obtain fault analysis data; Divide the cache space of the fault analysis data according to the data source of the fault analysis data to obtain multiple virtual circuits; For the fault analysis data corresponding to each virtual line in the plurality of virtual lines, construct at least one delay sequence for each virtual line according to the type of the event that occurred; For each virtual circuit, perform the following operations: Determining a dequeue rule for each delay sequence in the at least one delay sequence according to the type of the event and target type data, wherein the target type data is event sequence record data in the fault analysis data; Detecting that each of the delay sequences is the first delay sequence of a type of a single occurrence event, and determining first target data according to a dequeue rule of each of the delay sequences; A fault judgment is performed according to the first target data to obtain a first fault result, and the first fault result is used as the fault result.
2. The method according to claim 1, characterized in that The target type data at least includes: the time when the event occurs and the time when the reported data is received, and the step of determining the dequeue rule of each delay sequence in the at least one delay sequence according to the type of the event and the target type data includes: Determine the delayed dequeue time of each delay sequence according to the type of the event and the time of receiving the reported data, and obtain the time buffer rule of each delay sequence; Determine the event occurrence time period of each delay sequence according to the type of the event and the event occurrence time, and obtain the event association rule of each delay sequence; According to the time buffering rule of each delay sequence and the event association rule of each delay sequence, the dequeue rule of each delay sequence is obtained.
3. The method according to claim 2, characterized in that The step of determining the delayed dequeue time of each delay sequence according to the type of the event and the time of receiving the reported data, and obtaining the time buffer rule of each delay sequence includes: Determine the communication status of all devices under the same data source; Determine a first delay time of each delay sequence according to the communication state; Determining a second delay time of each delay sequence according to the type of the occurred event; The delayed dequeue time of each delay sequence is determined according to the time of receiving the reported data and the second delay time, and / or the first delay time, so as to obtain a time buffer rule for each delay sequence.
4. The method according to claim 3, characterized in that The step of determining the delayed dequeue time of each delay sequence according to the time of receiving the reported data and the second delay time, and / or the first delay time, and obtaining the time buffer rule of each delay sequence includes: Obtaining a first weight corresponding to the first delay time; and obtaining a second weight corresponding to the second delay time; detecting that the first delay time is less than a preset time threshold, and determining a first target delay time according to the first delay time, the first weight, the second delay time and the second weight; Determine the delayed dequeue time of each delay sequence according to the first target delay time and the time of receiving the reported data; detecting that the first delay time is greater than or equal to the preset time threshold, and determining the second delay time as a second target delay time; Determine the delayed dequeue time of each delay sequence according to the second target delay time and the time of receiving the reported data.
5. The method according to claim 1, characterized in that: The method further comprises: It is detected that there is a first delay sequence in the at least one delay sequence where the delay sequence is not a type of a single occurrence event, and at least one other delay sequence is determined, where the single other delay sequence is a delay sequence other than the first delay sequence in a type of a single occurrence event where multiple delay sequences exist; Determine second target data according to the dequeue rule of each delay sequence and the at least one other delay sequence; A fault judgment is performed according to the second target data to obtain a second fault result, and the second fault result is used as the fault result.
6. The method according to claim 5, characterized in that The dequeue rule of a single delay sequence includes a time buffer rule and an event association rule, and the determining of the second target data according to the dequeue rule of each delay sequence and the at least one other delay sequence includes: Determine the data satisfying the time buffer rule in each delay sequence to obtain at least one first data; Determine that each first data in the at least one first data satisfies the event association rule, and obtain at least one second data; Determine data of each other delay sequence in the at least one other delay sequence that satisfies the event association rule, to obtain at least one third data; The second target data is obtained according to the at least one second data and the at least one third data.
7. The method according to any one of claims 1 to 6, characterized in that: The reported data under the fault state is screened and classified to obtain fault analysis data, including: Get the archive information of the archived equipment in the database; Determining device identification information in the reported data; Matching and screening the reported data according to the device identification information and the archive information to obtain fourth data; The fourth data is subjected to event grouping processing according to the target type data to obtain the fault analysis data.
8. A fault judgment device, characterized in that: include: A preprocessing unit, used to screen and classify the reported data under the fault state to obtain fault analysis data; a partitioning unit, configured to partition the cache space of the fault analysis data according to a data source of the fault analysis data to obtain a plurality of virtual circuits; a construction unit, configured to construct, for each of the plurality of virtual lines, at least one delay sequence for the virtual line according to the type of the event that occurred, based on the fault analysis data corresponding to each virtual line in the plurality of virtual lines; An execution unit is configured to perform the following operations for each virtual circuit: determining a dequeue rule for each delay sequence in the at least one delay sequence according to the type of the occurrence event and target type data, wherein the target type data is event sequence record data in the fault analysis data; detecting that each delay sequence is the first delay sequence under the type of a single occurrence event, and determining first target data according to the dequeue rule for each delay sequence; A fault judgment is performed according to the first target data to obtain a first fault result, and the first fault result is used as the fault result.
9. An electronic device, characterized in that: The method comprises a processor and a memory storing execution instructions, wherein the memory stores one or more programs; when the processor executes the execution instructions stored in the memory, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: An energy data management program is stored, including execution instructions. When a processor of an electronic device executes the execution instructions, the processor executes the method according to any one of claims 1-7.