An intelligent error prevention system based on the Internet of Things
The IoT sensors and machine learning models are used to evaluate the generation delay of operation steps, solve the problem of errors in the dynamic generation steps of intelligent interlocking, improve the safety and reliability of the power system, and prevent faults and accidents caused by misoperation.
Patent Information
- Application Number
- CN202410903308.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-08
AI Technical Summary
When intelligent interlocking dynamically generates operating steps, it may not fully consider all variables and states due to the short data collection time, resulting in the generation of erroneous operating steps, which may cause power system failures, power outages, and serious accidents.
Real-time collection of equipment status and operator behavior data through IoT sensors, combined with fixed detection windows and machine learning models, intelligently evaluates delays in the generation of operation steps, detects potential delay issues, and issues prompts through the early warning module to prevent errors operate.
Effectively reduce the risk of power system failure caused by incorrect operating steps, ensure the accuracy of operating steps, prevent power outages and large-scale power interruptions, protect the safety of operators, and improve the safety and reliability of the power system.
Smart Images

Figure CN118445170B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent error prevention of power systems, and in particular to an intelligent error prevention system based on the Internet of Things. Background Art
[0002] Intelligent error prevention technology based on the Internet of Things refers to the combination of the Internet of Things (IoT) technology and the power system error prevention technology, which realizes all-round monitoring and intelligent management of power system operations through real-time data collection, sensor networks, intelligent analysis, and cloud computing. The Internet of Things technology can monitor the status of various equipment in the substation in real time, and upload these data to the central control system through intelligent sensors and network transmission. On this basis, the system can conduct a comprehensive analysis and judgment of the equipment status, operating environment, personnel location, etc., predict possible misoperation risks through intelligent algorithms, and give early warnings and take measures to avoid misoperation. This not only improves the real-time and accuracy of the error prevention system, but also greatly improves the safety and reliability of operation.
[0003] The intelligent error prevention system uses the Internet of Things technology to further intelligentize the traditional error prevention locking function and realize comprehensive dynamic error prevention through data drive. Traditional error prevention systems mostly rely on mechanical or simple electrical interlocking, and cannot perceive and respond to complex operating conditions in real time. The intelligent error prevention system collects equipment operation data, environmental parameters and operator location information in real time through a sensor network arranged in various parts of the substation. These data are transmitted to the central processing unit through the Internet of Things for analysis. Based on big data analysis and machine learning algorithms, the system can identify the difference between normal operation and abnormal behavior, discover potential risks of misoperation in a timely manner, and intervene through voice prompts, remote control and other means. At the same time, the intelligent error prevention system also has self-learning capabilities, and can continuously optimize the error prevention strategy based on historical data, improve the intelligence level and adaptability of the system, and thus achieve safer, controllable and efficient power system operation management.
[0004] Intelligent interlocking in the intelligent anti-error technology based on the Internet of Things realizes intelligent management and control of equipment and operation processes through the Internet of Things technology, thereby avoiding misoperation and ensuring the safe operation of the system. The intelligent interlocking system comprehensively utilizes advanced technologies such as real-time data acquisition, sensor networks, intelligent analysis, and cloud computing to comprehensively monitor and dynamically control equipment status, operating environment, personnel behavior, etc. Dynamic generation of operation steps means that the system automatically generates and adjusts specific operation steps according to the current equipment status, environmental conditions and operating procedures through real-time data acquisition and intelligent analysis. This process ensures that each step of the operation is carried out under safe conditions and guides operators to perform in an optimized order and method to avoid misoperation and ensure the safe operation of the system.
[0005] The prior art has the following deficiencies:
[0006] When intelligent interlocking dynamically generates operation steps, there may be anomalies due to short generation time (before generating the operation steps, due to short data collection time, all necessary data cannot be fully collected and processed, resulting in not considering all possible variables and states when generating the steps, etc., which are not listed here one by one), and then wrong operation steps are generated. When this happens, the existing technology cannot detect it intelligently. Wrong operation may cause partial or complete power outages in the power system. Errors in key operations may cause large-scale power outages and affect the normal operation of the power system. What is more serious is that in the power system, wrong operation may cause serious accidents such as high-voltage electric shock and equipment explosion, which directly threaten the life safety of operators and on-site staff. Especially in high-voltage environments, any wrong operation may lead to fatal consequences.
[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0008] The purpose of the present invention is to provide an intelligent error prevention system based on the Internet of Things, which collects equipment status, environment and operator behavior data in real time through Internet of Things sensors, and pre-processes and analyzes them, combines fixed detection windows and machine learning models, intelligently evaluates the delay in the generation process of operation steps, detects potential delay problems, and effectively reduces the risk of power system failure caused by erroneous generation steps. In addition, by intelligently predicting the generation time of the operation steps and performing a difference analysis between it and the actual time, abnormal situations of insufficient generation time are discovered in time and early warning prompts are issued to prevent erroneous operations from causing power outages and large-scale power outages, thereby preventing serious accidents caused by erroneous operations in high-voltage environments, ensuring the safety of operators, and improving the safety and reliability of the power system to solve the problems in the above-mentioned background technology.
[0009] In order to achieve the above-mentioned object, the present invention provides the following technical solutions: an intelligent error prevention system based on the Internet of Things, comprising a data acquisition and preprocessing module, a transmission delay analysis module, an algorithm complexity analysis module, a delay situation intelligent analysis module, a duration prediction module and an anomaly detection and early warning module;
[0010] The data collection and preprocessing module collects equipment status data, environmental data, and operator behavior data in real time through IoT sensors, and converts the collected data into data processing volume after preprocessing;
[0011] A transmission delay analysis module, which analyzes the transmission process of the data processing amount and obtains the transmission delay information of the data processing amount;
[0012] The algorithm complexity analysis module collects the parameter information of the step generation algorithm through log records, analyzes the collected parameter information, and obtains the complexity information of the step generation algorithm;
[0013] The intelligent delay analysis module inputs the acquired transmission delay information of the data processing volume and the complexity information of the step generation algorithm into the pre-trained machine learning model to perform intelligent analysis on the delay situation of the dynamic generation process of the operation steps;
[0014] Duration prediction module, which predicts the total duration of the dynamically generated operation steps based on the results of machine learning model analysis;
[0015] The anomaly detection and early warning module determines whether there are anomalies in the dynamic generation process of operation steps due to insufficient generation time based on the total duration.
[0016] Preferably, the data transmission process is divided into several fixed detection windows of equal length. After analyzing the transmission process of the data processing amount under the fixed detection window, a data transmission delay index is generated, and the transmission delay information of the data processing amount is obtained through the data transmission delay index. The parameter information of the step generation algorithm under the fixed detection window is analyzed to generate an algorithm complexity index, and the complexity information of the step generation algorithm is obtained through the algorithm complexity index.
[0017] Preferably, the data transmission delay index and algorithm complexity index obtained under a fixed detection window are input into a pre-trained machine learning model, a delay evaluation coefficient is generated by the machine learning model, and the delay situation of the dynamic generation process of the operation steps is intelligently evaluated by the delay evaluation coefficient.
[0018] Preferably, the specific steps of predicting the predicted total duration dynamically generated for the operation steps based on the results of the machine learning model analysis are as follows:
[0019] Based on the data transmission delay index and algorithm complexity index, the basic generation time is calculated, and the calculation expression is: , where Indicates the base generation time, Represents the influence coefficient of data transmission delay index on generation time, Represents the influence coefficient of algorithm complexity index on generation time, It represents the benchmark time, which means the fixed time without considering the amount of data processing and the complexity of the algorithm;
[0020] According to the delay evaluation coefficient , adjust the basic generation time, calculate the total prediction duration, and the prediction expression is: , where Indicates the total duration of the forecast dynamically generated by the forecasted operation steps. Represents the delay adjustment coefficient, which is used to adjust the impact of the delay evaluation coefficient on the total prediction duration.
[0021] Preferably, a difference analysis is performed between the predicted total duration dynamically generated by the predicted operation steps and the actual total duration to obtain the duration difference, and the duration difference is compared and analyzed with a pre-set duration difference reference threshold. If the duration difference is greater than or equal to the duration difference reference threshold, an abnormal signal is generated and a warning prompt is issued for the abnormal signal. If the duration difference is less than the duration difference reference threshold, a normal signal is generated and no warning prompt is issued.
[0022] Preferably, the specific steps of generating the data transmission delay index are as follows:
[0023] The data transmission delay information is collected in real time from the IoT sensor network. The delay data points collected within a fixed detection window are assumed to be ,in Representative j The transmission delay of each data packet;
[0024] The weighted moving average method is used to smooth the delayed data and give higher weights to the most recent data points. The calculation expression of the weighted moving average is: , where t is the current time point, k is the window size, For the i The weight of each data point indicates the importance of each data point in the weighted moving average calculation, usually set , For time point The transmission delay data, represents the weighted moving average calculated at time point t;
[0025] Use the autoregressive integrated moving average model to predict future transmission delays. The formula of the autoregressive integrated moving average model is: , where is the transmission delay at the current time point, c is a constant term, representing the offset of the autoregressive integrated moving average model, is the autoregressive coefficient, which indicates the relationship between the current delay and the past p The relationship between the time delay and is the sliding average coefficient, which indicates the difference between the current delay and the past delay. q The relationship between the white noise at each time point, is white noise, indicating random error, p is the autoregressive order, q is the sliding average order, Indicates time point The random error term of
[0026] Calculate the data transmission delay index. The calculation expression is: , where represents the data transmission delay index, represents the future predicted by the autoregressive integrated moving average model k The average delay at each time point, is the delay trend at the current time point, and the calculation formula is: , n is the time interval, Indicated in n The delay change rate at a time point, , Indicates that at the current time point t and The transmission delay, , , Weighted Moving Average , delay mean , Delay Trend The weight coefficient of .
[0027] Preferably, the specific steps of generating the algorithm complexity index are as follows:
[0028] Within the fixed detection window, various parameter information of the collection step generation algorithm is collected, and the following features are extracted from the collected data:
[0029] Data processing capacity D : represents the total amount of data processed within a fixed detection window;
[0030] Execution time E : represents the total execution time of the algorithm within a fixed detection window;
[0031] Memory usage M : represents the peak memory usage of the algorithm within a fixed detection window;
[0032] Number of algorithm executions N : Indicates the number of executions of the algorithm within a fixed detection window;
[0033] Calculate the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , , , , where T represents the time length of the fixed detection window, , , , They represent the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component respectively;
[0034] The algorithm complexity index is calculated using a weighted formula by combining the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , where represents the algorithm complexity index, , , , They are the data processing complexity components , execution time complexity component , memory usage complexity component , algorithm call frequency complexity component The weight coefficient reflects the importance of each complexity component and satisfies The weight coefficient is not specifically limited here and can be intelligently adjusted according to the importance of each complexity component.
[0035] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0036] The present invention collects equipment status data, environmental data and operator behavior data in real time through Internet of Things sensors, and pre-processes and analyzes these data. By dividing a fixed detection window and analyzing the transmission delay information and algorithm complexity information of the data processing volume, combined with a pre-trained machine learning model, the delay in the operation step generation process can be intelligently evaluated, thereby detecting potential delay problems in the process of data collection and processing, and effectively reducing the risk of power system failure caused by errors in the generation of operation steps.
[0037] The present invention can further ensure the accuracy of the operation step generation by making intelligent predictions on the predicted total duration dynamically generated by the operation steps, and performing difference analysis on the predicted total duration and the actual total duration. By comparing and analyzing the duration difference with the preset duration difference reference threshold, the abnormal situation of insufficient generation time can be discovered in time, and an early warning prompt can be issued through the early warning module, which can not only prevent partial or complete power outages of the power system caused by erroneous operations, but also avoid large-scale power outages caused by key operational errors, and ensure the normal operation of the power system. At the same time, in a high-voltage environment, the intelligent error prevention method can prevent serious accidents such as high-voltage electric shocks and equipment explosions caused by erroneous operations, protect the lives of operators and on-site workers, and thus significantly improve the safety and reliability of power system operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] 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 will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0039] Figure 1 The present invention is a module schematic diagram of an intelligent error prevention system based on the Internet of Things. DETAILED DESCRIPTION
[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art.
[0041] The present invention provides Figure 1 An intelligent error prevention system based on the Internet of Things is shown, comprising a data acquisition and preprocessing module, a transmission delay analysis module, an algorithm complexity analysis module, a delay situation intelligent analysis module, a duration prediction module, and an anomaly detection and warning module;
[0042] The data collection and preprocessing module collects equipment status data, environmental data, and operator behavior data in real time through IoT sensors, and converts the collected data into data processing volume after preprocessing;
[0043] The real-time collection of equipment status data, environmental data, and operator behavior data through IoT sensors is the basis of the intelligent interlocking system. Equipment status data collection includes the use of current sensors, voltage sensors, and temperature sensors to monitor the operating status of the equipment (such as the switch status, voltage, current and other parameters of the circuit breaker) in real time. Environmental data collection relies on temperature and humidity sensors, gas detectors, etc. to obtain environmental information such as temperature, humidity, and air quality to evaluate the safety of the operating environment. Operator behavior data collection uses RFID tags, smart bracelets and other devices to achieve real-time monitoring of personnel location, operating actions, and time of entering or leaving high-risk areas. Combining these three types of data, the system can fully understand the current operating environment and status.
[0044] The collected data needs to be transmitted stably and efficiently through appropriate IoT data transmission protocols (such as MQTT, HTTP, CoAP, etc.) to ensure that the data can reach the data processing center in a timely manner. The network connection method can choose a wired network or a wireless network (such as Wi-Fi, 4G / 5G network, LoRa, etc.), depending on the on-site environment and transmission requirements. Packet management is a key link in the transmission process. By encapsulating and managing the data, it ensures that the data is not lost or duplicated during the transmission process and maintains the integrity of the data. This process requires low latency and high reliability to support real-time data processing and analysis.
[0045] Data transmitted to the data processing center in real time needs to be stored in an appropriate database system, such as a relational database (such as MySQL, PostgreSQL) or a NoSQL database (such as MongoDB, Cassandra). A reasonable data structure needs to be designed for storage to facilitate efficient storage and fast retrieval of different types of data (equipment status, environmental data, personnel behavior data). The real-time storage and update mechanism of data is crucial, which ensures that the data in the database is always up-to-date and provides accurate basic data for subsequent analysis and operation steps. Through efficient data storage management, the system can support large-scale data processing and analysis needs.
[0046] Before the data is officially used for analysis, it needs to be preprocessed to improve the data quality. Data cleaning is the first step of preprocessing, the purpose of which is to remove noise, outliers and duplicate data, such as filtering out unreasonable sensor readings and filling missing values. The next step is data integration, matching and time synchronization of data from different sensors to ensure data consistency. The last step is data conversion, which converts the raw data into a unified format and unit, such as converting temperature data to Celsius and converting timestamps to a standard time format. Preprocessed data will be more accurate and consistent, laying the foundation for subsequent intelligent analysis.
[0047] The amount of data after preprocessing is counted to determine the total amount of data, thereby obtaining data processing volume information.
[0048] A transmission delay analysis module, which analyzes the transmission process of the data processing amount and obtains the transmission delay information of the data processing amount;
[0049] When data transmission is delayed, it will cause the time for dynamically generating operation steps to be longer. The following is a detailed explanation:
[0050] Data transmission delay directly affects the speed and processing efficiency of the system to obtain real-time data. In the IoT environment, the real-time collection and transmission of device status data, environmental data, and operator behavior data are the basis for dynamically generating operation steps. When the data collected by the sensor needs to be transmitted to the central processing unit through the network for processing and analysis, the transmission delay will cause the data to arrive at the processing unit later. If the transmission delay increases, the time for the processing unit to receive the data will also be delayed accordingly, thereby delaying the data preprocessing and analysis process. Since the dynamic generation of operation steps depends on the accuracy and real-time nature of these data, transmission delays will cause the system to be unable to obtain the latest data in a timely manner, thereby extending the total time to generate operation steps. In addition, delays may also cause data backlogs, increase the processing burden of the system, and further delay the time of generating steps. Ultimately, the accumulation of delays will cause the system to be unable to complete the generation of operation steps within the scheduled time, affecting the normal operation and safety of the power system. Therefore, data transmission delays will significantly increase the time to dynamically generate operation steps and reduce the real-time response capability and reliability of the system.
[0051] The data transmission process is divided into several fixed detection windows of equal length. After analyzing the transmission process of the data processing volume under the fixed detection window, a data transmission delay index is generated. The transmission delay information of the data processing volume is obtained through the data transmission delay index. The specific steps for generating the data transmission delay index are as follows:
[0052] The data transmission delay information is collected in real time from the IoT sensor network. The delay data points collected within a fixed detection window are assumed to be ,in Representative j The transmission delay of each data packet;
[0053] Use the weighted moving average method (WMA) to smooth the delayed data and give higher weights to the most recent data points. The calculation expression of the weighted moving average is: , where t is the current time point, k is the window size (i.e. considering the nearest k data points), For the i The weight of each data point indicates the importance of each data point in the weighted moving average calculation, usually set That is, the closer the data point is to the current time point, the higher the weight is). For time point The transmission delay data, represents the weighted moving average calculated at time point t;
[0054] The autoregressive integrated moving average (ARIMA) model is used to predict future transmission delays. The formula of the autoregressive integrated moving average model is: , where is the transmission delay at the current time point, c is a constant term, representing the offset of the autoregressive integrated moving average model, is the autoregressive coefficient, which indicates the relationship between the current delay and the past p The relationship between the time delay and is the sliding average coefficient, which indicates the difference between the current delay and the past delay. q The relationship between the white noise at each time point, is white noise, indicating random error, p is the autoregressive order, q is the sliding average order, Indicates time point The random error term of
[0055] Calculate the data transmission delay index. The calculation expression is: , where represents the data transmission delay index, represents the future predicted by the autoregressive integrated moving average model k The average delay at each time point, is the delay trend at the current time point, and the calculation formula is: , n is the time interval, Indicated in n The delay change rate at a time point, , Indicates that at the current time point t and The transmission delay, , , Weighted Moving Average , delay mean , Delay Trend The weight coefficient of is not specifically limited here and can be adjusted according to its importance in the data transmission delay index.
[0056] In a fixed detection window, the larger the transmission delay index performance value, the longer the time for the dynamic generation operation step is, and vice versa. The transmission delay index reflects the degree of delay in the data transmission process. The larger the index value, the more delay the data has experienced during the transmission process, which leads to a delay in the time for the data to reach the processing unit, extending the time for data preprocessing, analysis and dynamic generation operation steps; on the contrary, the smaller the transmission delay index value, the smoother the data transmission process is, and the data can reach the processing unit in time, thus shortening the total time required for the dynamic generation operation step.
[0057] The algorithm complexity analysis module collects the parameter information of the step generation algorithm through log records, analyzes the collected parameter information, and obtains the complexity information of the step generation algorithm;
[0058] When dynamically generating operation steps through step generation algorithms, step generation algorithms of different complexities are indeed used. This is because the generation of operation steps requires the selection of appropriate algorithms based on the complexity of the actual situation. For example, when dealing with simple and routine operation tasks, low-complexity algorithms can be used to ensure efficient and rapid generation of steps; when dealing with complex tasks involving multiple equipment states, environmental parameters, and operator behaviors, high-complexity algorithms are required to accurately analyze and judge to ensure that the generated operation steps are safe and reliable. Algorithms of different complexities have significant differences in computing requirements, resource consumption, and processing time. The system needs to dynamically adjust the algorithms used based on real-time data and operation requirements to achieve the best balance. In this way, the system can optimize the generation time and resource utilization efficiency while ensuring the safety and accuracy of operations, and achieve efficient dynamic operation step generation.
[0059] When the complexity of the step generation algorithm is high, it will indeed lead to a longer time for dynamically generating operation steps. Algorithm complexity reflects the computational requirements and resource consumption of the algorithm when processing data. High-complexity algorithms usually need to perform more computational steps, process more data dependencies, or perform more complex logical judgments. For example, highly complex algorithms may contain a large number of loops, recursive calls, and multiple conditional branches, which will increase the computational time required for each operation step generation. In addition, high-complexity algorithms usually require more memory and computing resources, which not only increases the time of a single calculation, but also may cause competition for system resources, further extending the generation time of the operation steps. Especially in real-time systems, data needs to be processed and operation steps generated in a very short time. If the algorithm complexity is too high, the system may not be able to complete these tasks within the specified time, resulting in delays. Specifically, algorithms with high complexity need to process larger data sets, perform more complex mathematical calculations or logical reasoning, which directly increase the processing time. Therefore, there is a positive correlation between algorithm complexity and generation time. The higher the complexity, the longer the generation time required. Through the analysis of parameter information collected by log records, we can accurately evaluate the complexity of the algorithm, thereby predicting and optimizing the time to generate operation steps.
[0060] The parameter information of the step generation algorithm under the fixed detection window is analyzed to generate the algorithm complexity index. The complexity information of the step generation algorithm is obtained through the algorithm complexity index. The specific steps for generating the algorithm complexity index are as follows:
[0061] Within the fixed detection window, various parameter information of the collection step generation algorithm is collected, and the following features are extracted from the collected data:
[0062] Data processing capacity D : Indicates the total amount of data (such as the number of data points) processed within a fixed detection window, reflecting the amount of data processed within the fixed detection window;
[0063] Execution time E : represents the total execution time (in seconds) of the algorithm within a fixed detection window, reflecting the total time consumed by the algorithm to run;
[0064] Memory usage M : Indicates the peak memory usage (bytes) of the algorithm within a fixed detection window, reflecting the memory requirements of the algorithm when running;
[0065] Number of algorithm executions N : Indicates the number of times the algorithm is executed within a fixed detection window, reflecting the frequency of algorithm calls;
[0066] Calculate the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , , , , where T Indicates the length of the fixed detection window (in seconds), , , , They represent the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component respectively;
[0067] The algorithm complexity index is calculated using a weighted formula by combining the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , where represents the algorithm complexity index, , , , They are the data processing complexity components , execution time complexity component , memory usage complexity component , algorithm call frequency complexity component The weight coefficient reflects the importance of each complexity component and satisfies The weight coefficient is not specifically limited here and can be intelligently adjusted according to the importance of each complexity component.
[0068] Within a fixed detection window, the larger the performance value of the algorithm complexity index, the longer it usually takes to dynamically generate operation steps. The algorithm complexity index reflects the computational requirements and resource consumption of the step generation algorithm when processing data. A high complexity index means more computational steps, more complex logical judgments, and more data processing, all of which increase the time for operation step generation. Conversely, a lower algorithm complexity index indicates lower computational and processing requirements, thereby shortening the generation time. Therefore, the algorithm complexity index is positively correlated with the generation time.
[0069] The intelligent delay analysis module inputs the acquired transmission delay information of the data processing volume and the complexity information of the step generation algorithm into the pre-trained machine learning model to perform intelligent analysis on the delay situation of the dynamic generation process of the operation steps;
[0070] The data transmission delay index obtained under a fixed detection window and algorithm complexity index Input it into the pre-trained machine learning model, generate the delay evaluation coefficient through the machine learning model, and use the delay evaluation coefficient Intelligently evaluate the delay in the dynamic generation of operation steps.
[0071] The machine learning model is not specifically limited here, and can achieve the data transmission delay index and algorithm complexity index Perform comprehensive analysis to generate delay assessment coefficients In order to realize the technical solution of the present invention, the present invention provides a specific implementation method;
[0072] Delay evaluation factor The resulting calculation formula is: , where , Data transmission delay index and algorithm complexity index The preset scaling factor of , Both are greater than 0.
[0073] It can be seen from the delay evaluation coefficient that within the fixed detection window, the larger the performance value of the data transmission delay index generated after analyzing the transmission process of the data processing volume, the larger the performance value of the algorithm complexity index generated after analyzing the parameter information of the step generation algorithm. That is, the larger the delay evaluation coefficient generated under the fixed detection window, the greater the delay of the dynamic generation process of the operation steps, and vice versa.
[0074] Duration prediction module, which predicts the total duration of the dynamically generated operation steps based on the results of machine learning model analysis;
[0075] The specific steps for predicting the total duration of the dynamically generated operation steps based on the results of the machine learning model analysis are as follows:
[0076] Based on the data transmission delay index and algorithm complexity index, the basic generation time is calculated, and the calculation expression is: , where Indicates the base generation time, Represents the influence coefficient of data transmission delay index on generation time, Represents the influence coefficient of algorithm complexity index on generation time, It represents the benchmark time, which means the fixed time without considering the amount of data processing and the complexity of the algorithm;
[0077] According to the delay evaluation coefficient , adjust the basic generation time, calculate the total prediction duration, and the prediction expression is: , where Indicates the total duration of the forecast dynamically generated by the forecasted operation steps. Represents the delay adjustment coefficient, which is used to adjust the impact of the delay evaluation coefficient on the total prediction duration;
[0078] It should be noted that , , , It is obtained through historical data and machine learning model training, and is used to adjust the impact of different parameters on the generation time. No specific restrictions are made here, and it can be adjusted intelligently according to actual application occasions and needs.
[0079] The anomaly detection and early warning module determines whether there are anomalies in the dynamic generation of operation steps due to insufficient generation time based on the total duration;
[0080] A difference analysis is performed between the predicted total duration dynamically generated by the predicted operation steps and the actual total duration (here the predicted total duration is subtracted from the actual total duration) to obtain the duration difference, and the duration difference is compared and analyzed with the preset duration difference reference threshold. If the duration difference is greater than or equal to the duration difference reference threshold, it indicates that the duration difference is large, that is, the actual total duration differs greatly from the predicted total duration, which further indicates that the actual total duration dynamically generated by the operation steps is short, then an abnormal signal is generated, and an early warning prompt is issued for the abnormal signal; if the duration difference is less than the duration difference reference threshold, it indicates that the duration difference is small, that is, the actual total duration differs little from the predicted total duration, which further indicates that the actual total duration dynamically generated by the operation steps is within the expected range, then a normal signal is generated, and no early warning prompt is issued.
[0081] The actual total duration of the dynamic generation of the operation step can be obtained by recording the start timestamp and end timestamp of the generation process. The specific method is to record a start timestamp when the generation of the operation step begins, and record an end timestamp when the generation process is completed. The actual total duration can be obtained by calculating the difference between the end timestamp and the start timestamp. This timestamp-based method can accurately measure the time spent on generating the operation step, thereby providing accurate data for evaluation and optimization.
[0082] The present invention collects equipment status data, environmental data and operator behavior data in real time through Internet of Things sensors, and pre-processes and analyzes these data. By dividing a fixed detection window and analyzing the transmission delay information and algorithm complexity information of the data processing volume, combined with a pre-trained machine learning model, the delay in the operation step generation process can be intelligently evaluated, thereby detecting potential delay problems in the process of data collection and processing, and effectively reducing the risk of power system failure caused by errors in the generation of operation steps.
[0083] The present invention can further ensure the accuracy of the operation step generation by making intelligent predictions on the predicted total duration dynamically generated by the operation steps, and performing difference analysis on the predicted total duration and the actual total duration. By comparing and analyzing the duration difference with the preset duration difference reference threshold, the abnormal situation of insufficient generation time can be discovered in time, and an early warning prompt can be issued through the early warning module, which can not only prevent partial or complete power outages of the power system caused by erroneous operations, but also avoid large-scale power outages caused by key operational errors, and ensure the normal operation of the power system. At the same time, in a high-voltage environment, the intelligent error prevention method can prevent serious accidents such as high-voltage electric shocks and equipment explosions caused by erroneous operations, protect the lives of operators and on-site workers, and thus significantly improve the safety and reliability of power system operations.
[0084] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0085] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0086] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. An intelligent error prevention system based on the Internet of Things, characterized in that: It includes data collection and preprocessing module, transmission delay analysis module, algorithm complexity analysis module, delay situation intelligent analysis module, duration prediction module and anomaly detection and early warning module; The data collection and preprocessing module collects equipment status data, environmental data, and operator behavior data in real time through IoT sensors, and converts the collected data into data processing volume after preprocessing; A transmission delay analysis module, which analyzes the transmission process of the data processing amount and obtains the transmission delay information of the data processing amount; The algorithm complexity analysis module collects the parameter information of the step generation algorithm through log records, analyzes the collected parameter information, and obtains the complexity information of the step generation algorithm; The intelligent delay analysis module inputs the acquired transmission delay information of the data processing volume and the complexity information of the step generation algorithm into the pre-trained machine learning model to perform intelligent analysis on the delay situation of the dynamic generation process of the operation steps; Duration prediction module, which predicts the total duration of the dynamically generated operation steps based on the results of machine learning model analysis; The anomaly detection and early warning module determines whether there are anomalies in the dynamic generation process of operation steps due to insufficient generation time based on the total duration.
2. According to the intelligent error prevention system based on the Internet of Things in claim 1, it is characterized in that: The data transmission process is divided into several fixed detection windows of equal length. After analyzing the transmission process of the data processing volume under the fixed detection window, the data transmission delay index is generated. , obtain the transmission delay information of data processing volume through the data transmission delay index, analyze the parameter information of the step generation algorithm under the fixed detection window, and generate the algorithm complexity index , the complexity information of the step generation algorithm is obtained through the algorithm complexity index.
3. The intelligent error prevention system based on the Internet of Things according to claim 2 is characterized in that: The data transmission delay index obtained under a fixed detection window and algorithm complexity index Input into the pre-trained machine learning model, and generate the delay evaluation coefficient through the machine learning model , through the delay evaluation coefficient Intelligently evaluate the delay in the dynamic generation of operation steps.
4. The intelligent error prevention system based on the Internet of Things according to claim 3 is characterized in that: The specific steps for predicting the total duration of the dynamically generated operation steps based on the results of the machine learning model analysis are as follows: Based on the data transmission delay index and algorithm complexity index , calculate the basic generation time, the calculation expression is: , where Indicates the base generation time, Represents the influence coefficient of data transmission delay index on generation time, Represents the influence coefficient of algorithm complexity index on generation time, It represents the benchmark time, which means the fixed time without considering the amount of data processing and the complexity of the algorithm; Delay evaluation factor , adjust the basic generation time, calculate the total prediction duration, and the prediction expression is: , where Indicates the total duration of the forecast dynamically generated by the forecasted operation steps. Represents the delay adjustment coefficient, which is used to adjust the impact of the delay evaluation coefficient on the total prediction duration.
5. The intelligent error prevention system based on the Internet of Things according to claim 4 is characterized in that: A difference analysis is performed between the predicted total duration dynamically generated by the predicted operation steps and the actual total duration to obtain the duration difference, and the duration difference is compared and analyzed with the pre-set duration difference reference threshold. If the duration difference is greater than or equal to the duration difference reference threshold, an abnormal signal is generated and an early warning is issued for the abnormal signal; if the duration difference is less than the duration difference reference threshold, a normal signal is generated and no early warning is issued.
6. The intelligent error prevention system based on the Internet of Things according to claim 2 is characterized in that: The specific steps for generating the data transmission delay index are as follows: The data transmission delay information is collected in real time from the IoT sensor network. The delay data points collected within a fixed detection window are assumed to be ,in Representative j The transmission delay of each data packet; The weighted moving average method is used to smooth the delayed data and give higher weights to the most recent data points. The calculation expression of the weighted moving average is: , where t is the current time point, k is the window size, For the i The weight of each data point indicates the importance of each data point in the weighted moving average calculation. For time point The transmission delay data, represents the weighted moving average calculated at time point t; Use the autoregressive integrated moving average model to predict future transmission delays. The formula of the autoregressive integrated moving average model is: , where is the transmission delay at the current time point, c is a constant term, representing the offset of the autoregressive integrated moving average model, is the autoregressive coefficient, which indicates the relationship between the current delay and the past p The relationship between the time delay and is the sliding average coefficient, which indicates the difference between the current delay and the past delay. q The relationship between the white noise at each time point, is white noise, indicating random error, p is the autoregressive order, q is the sliding average order, Indicates time point The random error term of Calculate the data transmission delay index. The calculation expression is: , where represents the data transmission delay index, represents the future predicted by the autoregressive integrated moving average model k The average delay at each time point, is the delay trend at the current time point, and the calculation formula is: , n is the time interval, Indicated in n The delay change rate at a time point, , Indicates that at the current time point t and The transmission delay, , , Weighted Moving Average , delay mean , Delay Trend The weight coefficient of .
7. The intelligent error prevention system based on the Internet of Things according to claim 2 is characterized in that: The specific steps for generating the algorithm complexity index are as follows: Within the fixed detection window, various parameter information of the collection step generation algorithm is collected, and the following features are extracted from the collected data: Data processing capacity D : represents the total amount of data processed within a fixed detection window; Execution time E : represents the total execution time of the algorithm within a fixed detection window; Memory usage M : represents the peak memory usage of the algorithm within a fixed detection window; Number of algorithm executions N : Indicates the number of executions of the algorithm within a fixed detection window; Calculate the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , , , , where T represents the time length of the fixed detection window, , , , They represent the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component respectively; The algorithm complexity index is calculated using a weighted formula by combining the data processing complexity component, execution time complexity component, memory usage complexity component, and algorithm call frequency complexity component. The calculation expression is: , where represents the algorithm complexity index, , , , They are the data processing complexity components , execution time complexity component , memory usage complexity component , algorithm call frequency complexity component The weight coefficient reflects the importance of each complexity component and satisfies .
