Intelligent electricity utilization risk identification system and method based on multi-sensor fusion
Through the multi-sensor fusion system and the long and short-term memory network model, the problem of poor adaptability and applicability of the electricity risk identification system in the existing technology in complex environments is solved, and efficient and accurate risk identification and early warning of the electrical system are achieved. The safe operation of the electrical system is ensured.
Patent Information
- Application Number
- CN202410925527.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The existing electricity risk identification system has poor adaptability in complex and dynamic environments and is difficult to effectively integrate and process heterogeneous data, resulting in untimely or inaccurate risk assessments. It lacks broad applicability and cannot provide specific risk situations and countermeasures. .
Using a multi-sensor fusion system, by setting the importance scores and initial alarm thresholds of different types of sensors, using long and short-term memory network models to train abnormal data, establishing linear regression equations and weighted fusion algorithms, adjusting alarm thresholds and collection frequencies in real time, and generating early warning and solution.
It achieves comprehensive and timely detection of electrical systems, improves the efficiency and accuracy of risk identification, enhances early warning capabilities and system adaptability, and ensures the safe operation of electrical systems.
Smart Images

Figure CN118822264A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-sensor fusion technology, and specifically to a smart electricity risk identification system and method based on multi-sensor fusion. Background Art
[0002] Identifying electricity risks in modern buildings is crucial to ensuring building safety and operational efficiency, especially in the complex mechanical and electrical installation environment of high-rise buildings. Failure to detect and deal with electricity risks in a timely manner may lead to serious accidents or even casualties.
[0003] In addition, the shortcomings of the existing electricity risk identification system are its poor adaptability to complex and dynamic environments: due to the large differences in data between different sensor types, such as temperature sensors, current sensors and pressure sensors, each with different data characteristics and processing requirements, the existing system often finds it difficult to effectively integrate and process and analyze these heterogeneous data, resulting in risk assessment that is not timely or accurate enough; the existing electricity risk identification system has limitations in its wide application, and is often designed for specific types of electrical systems or equipment and lacks sufficient applicability; the existing electricity risk identification system cannot give possible situations, probability of occurrence and corresponding response measures when identifying risks, wasting precious risk processing time. Summary of the invention
[0004] The purpose of the present invention is to provide a smart electricity risk identification system and method based on multi-sensor fusion to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a smart electricity risk identification system and method based on multi-sensor fusion, comprising:
[0006] Step S100: Set n types of sensors, set the importance score of each sensor, obtain the initial alarm threshold of each sensor, collect data at the set collection frequency and generate a sensor data sequence group, and pre-process the data in the sensor data sequence group;
[0007] Step S200: record an alarm issued by the electrical system as a risk event, extract the sensor data sequence group within the duration of the risk event, mark the abnormal sensor data sequence group, add a type label to the abnormal data and record the timestamp, train the long short-term memory network model, and define the type and probability of the risk event;
[0008] Step S300: extract the duration, data peak and importance score of the abnormal data, establish a linear regression equation, obtain the influence relationship between the abnormal data and the initial alarm threshold, and obtain the influence score of the abnormal data through weighted fusion;
[0009] Step S400: Calculate the real-time alarm threshold based on the impact relationship, monitor the operation of the electrical system with the real-time alarm threshold, adjust the sensor collection frequency according to the abnormal data influence score, update the type and probability of possible risk events in real time and warn the user, establish a database, and use the matching algorithm to generate corresponding solutions and specific steps.
[0010] Furthermore, step S100 includes:
[0011] Step S101: respectively obtain the safety intervals of the data detected by n types of sensors, and use the upper limit U1 and the lower limit L1 of the safety interval as the initial alarm threshold;
[0012] The user sets the importance score [p1, p2, ..., p n ];
[0013] Where n is the number of sensor types, p n represents the importance score of the nth sensor, p n The value range is 0 to 100;
[0014] In actual usage scenarios, different types of sensors may have different perceptions of the same risk event. Setting importance scores based on actual usage scenarios can enable the system to respond more quickly to signals with high risk identification capabilities, and weight each sensor based on its specific functions and sensitivity to data changes to improve the accuracy of early warnings.
[0015] Step S102: setting the initial sensor acquisition frequency f1, acquiring data in the electrical system at the initial acquisition frequency f1, and obtaining a sensor data sequence group, the sensor data sequence group including n sensor data sequences acquired at the initial acquisition frequency f1;
[0016] Step S103: pre-processing the data in the sensor data sequence group, and making all data points in the sensor data sequence group fall within the range of 0 to 100 by linear scaling;
[0017] Normalizing the data to a range of 0 to 100 by linear scaling can significantly enhance the consistency and efficiency of data processing while helping to reduce the impact of outliers.
[0018] Further, step S200 includes:
[0019] Step S201: extracting sensor data sequence groups within the risk duration, performing anomaly detection on the extracted sensor data sequence groups, and marking i sensor data sequences exceeding the initial alarm threshold as abnormal data sequences;
[0020] Step S202: according to the sensor type corresponding to the abnormal data sequence, add a type label to the i groups of abnormal data, record the timestamp of the abnormal data, and input the abnormal data, the type label of the abnormal data and the timestamp of the abnormal data into the long short-term memory network model;
[0021] Step S203: the long short-term memory network model is trained by receiving and processing abnormal data, type labels of abnormal data and timestamps of abnormal data;
[0022] The LSTM network model uses abnormal data as input features, and uses the type labels of abnormal data to distinguish and mark different abnormalities. At the same time, based on the time series information contained in the timestamp of the abnormal data, it builds the time association between data and predicts the type and probability of risk events.
[0023] By using the long short-term memory network model to process abnormal data, utilizing the type labels of abnormal data and tracking the time development trajectory of abnormal events, we can accurately classify and respond to different types of risk events, providing higher accuracy and foresight for risk identification.
[0024] Furthermore, step S300 includes:
[0025] Step S301: Extract the duration x of each group of abnormal data in the risk event 1j , peak data x 2j And the importance score p of each sensor corresponding to each data j , where subscript j is the index of the j-th abnormal data in the i-th group of abnormal data;
[0026] Step S302: Establishing a real-time alarm threshold upper and lower limit adjustment formula according to a linear regression equation;
[0027] Real-time alarm threshold upper limit adjustment formula:
[0028]
[0029] Among them, U 1j is the upper limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data; is the intercept term, which represents the basic adjustment of the upper limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which represents the direct impact of each data on the upper limit of the real-time alarm threshold;
[0030] is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the upper limit; All are calculated from sensor data by statistical methods;
[0031] The real-time alarm threshold lower limit adjustment formula is:
[0032]
[0033] Among them, L 1j is the lower limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data. is the intercept term, which represents the basic adjustment of the lower limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which indicates the direct impact of each data on the lower limit of the real-time alarm threshold; is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the lower limit; All are calculated from sensor data by statistical methods;
[0034] Get the upper limit of the real-time alarm threshold U of the jth abnormal data 2j and real-time alarm threshold lower limit L 2j ;
[0035] By calculating the real-time alarm threshold for each abnormal data, the system can dynamically adjust the sensitivity to potential risks, thereby achieving more accurate monitoring and early warning;
[0036] Step S303: Establish a weighted fusion formula:
[0037] R j =ω 1j ·x 1j +ω 2j ·x 2j +ω 3j ·p j
[0038] Among them, x 1j is the duration of the jth abnormal data, x 2j is the peak value of the jth abnormal data, p j Score the importance of the sensor corresponding to the j-th abnormal data; ω 1j is the weight of the duration of the j-th abnormal data, ω 2j is the weight of the j-th abnormal data peak, ω 3j The weight of the sensor importance score corresponding to the j-th abnormal data, ω 1j ~ω 3j Given based on actual needs and data characteristics;
[0039] Get the influence score R of the j-th abnormal data j , impact score R j The range is 0 to 100;
[0040] By calculating an impact score between 0 and 100 for each abnormal data, the potential impact of each abnormal data on security can be quantified, reflecting the high-risk status of the data, so as to dynamically adjust the collection frequency in the early warning state according to the severity of the abnormal data;
[0041] Furthermore, step S400 includes:
[0042] Step S401: monitor the operation of the electrical system with a real-time alarm threshold, and when it is detected that the real-time data in the sensor data sequence group exceeds the upper and lower limits of the real-time alarm threshold, obtain the type of abnormal data in the real-time data;
[0043] According to the influence score R of the j-th abnormal data j The formula for obtaining the frequency of early warning status collection is:
[0044]
[0045] f max =max(f 2j )
[0046] Among them, f1 is the initial acquisition frequency set by the user, k is the adjustment step size, and f 2j When the real-time data exceeds the upper and lower limits of the real-time alarm threshold, the real-time acquisition frequency of each sensor is selected, and the maximum item f among all real-time acquisition frequencies is selected. max As the frequency of early warning state acquisition; the nonlinear model can be used to achieve j Increase the adjustment range after reaching a certain threshold to better respond to possible risk events;
[0047] Get the early warning state acquisition frequency f of the electrical system in the early warning state max ;
[0048] By calculating and setting the collection frequency of the electrical system in the early warning state, the smart power risk identification system can achieve faster response and more detailed monitoring of potential risks. This adaptive collection frequency adjustment enables the system to collect more key data at critical moments, enhancing the real-time monitoring and analysis capabilities of abnormal events.
[0049] Step S402: Score R based on the impact of abnormal data j Change the acquisition frequency to obtain the early warning state acquisition frequency f max , collect frequency f in early warning state maxMonitor the electrical system data, and based on the training results of the type labels and timestamps corresponding to the real-time data in the long short-term memory network model, warn users and update the types and probabilities of possible risk events in real time;
[0050] Step S403: Establish a database to store solutions and specific steps for risk events. When warning users, use a matching algorithm to obtain solutions corresponding to the types of risk events that may occur and provide real-time feedback to users.
[0051] By establishing a database to store solutions and specific steps for risk events, and using matching algorithms to provide users with corresponding solutions during early warnings, the smart electricity risk identification system can achieve efficient risk response and rapid problem solving. This solution matching and feedback mechanism ensures that when potential risks are discovered, users can obtain targeted guidance and suggestions in a shorter response time, improve their ability to deal with emergencies, and thus optimize the overall operational safety of the system.
[0052] Furthermore, the system includes a sensor configuration and data acquisition module, a risk event identification and data labeling module, a data analysis and scoring module, and a real-time monitoring and early warning module;
[0053] The sensor configuration and data acquisition module includes different types of sensors. The sensor configuration and data acquisition module is used to obtain the initial alarm threshold of each sensor and set the importance score, determine the acquisition frequency of the sensor and collect the electrical system operation data at the acquisition frequency, and generate a sensor data sequence group;
[0054] The risk event identification and data labeling module is used to record risk events when the electrical system issues an alarm, extract sensor data sequences in risk events and label data sequences that exceed the initial alarm threshold as abnormal data sequences, add labels and timestamps to the abnormal data and input them into the long short-term memory network model, which is used for learning to define and identify the types and occurrence probabilities of risk events;
[0055] The data analysis and scoring module is used to extract the duration of abnormal data, data peak value and the importance score of the corresponding type of sensor of abnormal data and establish a linear regression model to obtain the influence relationship between abnormal data and the initial alarm threshold, and obtain the influence score of abnormal data through weighted fusion calculation;
[0056] The real-time monitoring and early warning module is used to calculate and adjust the alarm threshold in real time according to the influence relationship, and adjust the collection frequency according to the influence score of abnormal data, so as to monitor the operating status of the electrical system. The real-time monitoring and early warning module warns the user and updates the possible types and probabilities of risk events in real time, establishes a database and uses a matching algorithm to generate solutions and specific steps for corresponding risk events;
[0057] The risk event identification and data marking module is connected to the output end of the sensor configuration and data acquisition module; the data analysis and scoring module is connected to the output end of the risk event identification and data marking module, and the real-time monitoring and early warning module is connected to the output end of the data analysis and scoring module.
[0058] Further, the sensor configuration and data acquisition module includes a sensor configuration unit, a data acquisition unit and a data preprocessing unit;
[0059] The sensor configuration unit includes n different types of sensors, each sensor has a corresponding data safety interval, and the sensor configuration unit sets the sensor collection frequency and the sensor's supervisor importance score;
[0060] The data acquisition unit is used to collect the electrical system operation data regularly according to the acquisition frequency and generate a sensor data sequence group;
[0061] The data preprocessing unit preprocesses the data in the sensor data sequence group.
[0062] Furthermore, the risk event identification and data labeling module includes an event monitoring unit, an anomaly detection unit, and a data learning unit;
[0063] The event monitoring unit is used to monitor the alarms issued by the electrical system under the standard of the initial alarm threshold and record the occurrence of risk events;
[0064] The anomaly detection unit is used to extract the sensor data sequence group within the duration of the risk event, mark the abnormal data that exceeds the initial alarm threshold, add type tags and record timestamps
[0065] The data learning unit is used to input abnormal data into the long short-term memory network model for training, define and identify the types of risk events and their probability of occurrence.
[0066] Furthermore, the data analysis and scoring module includes a feature extraction unit, a regression analysis unit, and a scoring calculation unit;
[0067] The feature extraction unit is used to extract the duration and peak value data from the abnormal data and extract the importance score according to the corresponding type;
[0068] The regression analysis unit analyzes the influence relationship between abnormal data and initial alarm threshold by establishing a linear regression model;
[0069] The score calculation unit calculates the influence score of abnormal data through a weighted fusion formula.
[0070] Furthermore, the real-time monitoring and early warning module includes a monitoring condition adjustment unit, a monitoring and early warning unit, and a solution generation unit;
[0071] The monitoring condition adjustment unit calculates and adjusts the real-time alarm threshold according to the influence relationship, and updates the sensor collection frequency according to the influence score of abnormal data;
[0072] The monitoring and early warning unit uses the updated real-time alarm threshold and acquisition frequency to monitor the operation of the electrical system, extract the type label and timestamp of abnormal data, and warn users of the types and probabilities of possible risk events;
[0073] The solution generation unit is used to match the corresponding solutions and specific steps according to the types and probabilities of possible risk events, and provide feedback to users.
[0074] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the intelligent electricity risk identification system and method based on multi-sensor fusion of the present invention configures various types of sensors and performs data fusion on them, which can comprehensively and timely detect abnormal conditions in the electrical system, thereby improving the efficiency and accuracy of risk identification; secondly, by using the long short-term memory network model to train and analyze abnormal data, the type and probability of risk events can be effectively predicted, thereby enhancing the early warning capability of the system; in addition, by establishing a linear regression model and a weighted fusion algorithm, the alarm threshold and acquisition frequency are adjusted in real time, so that the system has better adaptability in a dynamic environment, ensuring that risk events can be warned in time and provide corresponding solutions; the present invention not only improves the intelligence level of electricity risk identification, but also can warn of risk events and respond quickly, thereby reducing the possibility of accidents and ensuring the safe operation of the electrical system. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0076] Figure 1 It is a schematic diagram of the system structure of the intelligent power consumption risk identification system and method based on multi-sensor fusion of the present invention;
[0077] Figure 2 It is a method flow chart of the intelligent electricity risk identification system and method based on multi-sensor fusion of the present invention. DETAILED DESCRIPTION
[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0079] See also Figure 1-Figure 2 , the present invention provides a technical solution:
[0080] According to one embodiment of the present invention, a smart electricity risk identification system and method based on multi-sensor fusion includes:
[0081] Step S100: Set 5 types of sensors, set the importance score of each sensor, obtain the initial alarm threshold of each sensor, collect data at the set collection frequency and generate a sensor data sequence group, and pre-process the data in the sensor data sequence group;
[0082] Wherein, step S100 includes:
[0083] Step S101: respectively obtaining the safety intervals of the data detected by the five sensors, and taking the upper and lower limits of the safety intervals as initial alarm thresholds, wherein the initial alarm thresholds include the upper limit U1 of the safety interval and the lower limit L1 of the safety interval;
[0084] The user sets the importance score of each sensor to [60, 70, 75, 80, 85] according to the actual scenario;
[0085] Step S102: Set the sensor initial acquisition frequency f1=1 Hz, collect data in the electrical system at the initial acquisition frequency of 1 Hz, and obtain a sensor data sequence group, which includes all sensor data sequences collected at the initial acquisition frequency of 1 Hz;
[0086] Step S103: pre-processing the data in the sensor data sequence group, and making all data points in the sensor data sequence group fall within the range of 0 to 100 by linear scaling.
[0087] Step S200: record an alarm issued by the electrical system as a risk event, extract the sensor data sequence group within the duration of the risk event, mark the abnormal sensor data sequence group, add a type label to the abnormal data and record the timestamp, train the long short-term memory network model, and define the type and probability of the risk event;
[0088] Wherein, step S200 includes:
[0089] Step S201: extracting sensor data sequence groups within the risk duration, performing anomaly detection on the extracted sensor data sequence groups, and marking i sensor data sequences exceeding the initial alarm threshold as abnormal data sequences;
[0090] Step S202: according to the sensor type corresponding to the abnormal data sequence, add a type label to the i groups of abnormal data, record the timestamp of the abnormal data, and input the abnormal data, the type label of the abnormal data and the timestamp of the abnormal data into the long short-term memory network model;
[0091] Step S203: the long short-term memory network model is trained by receiving and processing abnormal data, type labels of abnormal data and timestamps of abnormal data;
[0092] The long short-term memory network model takes abnormal data as input features, uses the type labels of abnormal data to distinguish and mark different anomalies, and at the same time, based on the time series information contained in the timestamp of the abnormal data, builds the time relationship between the data to predict the type and probability of occurrence of risk events.
[0093] Step S300: extract the duration, data peak and importance score of the abnormal data, establish a linear regression equation, obtain the influence relationship between the abnormal data and the initial alarm threshold, and obtain the influence score of the abnormal data through weighted fusion;
[0094] Wherein, step S300 includes:
[0095] Step S301: extract two groups of abnormal data in the risk event respectively; wherein, the duration of abnormal data 1 is 90 seconds, the peak data is 40 units, and the sensor importance score is 70; the duration of abnormal data 2 is 120 seconds, the peak data is 60 units, and the sensor importance score is 85;
[0096] Step S302: Establishing a real-time alarm threshold upper and lower limit adjustment formula according to a linear regression equation;
[0097] Real-time alarm threshold upper limit adjustment formula:
[0098]
[0099] Among them, U 1j is the upper limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data; is the intercept term, which represents the basic adjustment of the upper limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which represents the direct impact of each data on the upper limit of the real-time alarm threshold;
[0100] is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the upper limit; All are calculated from sensor data by statistical methods;
[0101] The real-time alarm threshold lower limit adjustment formula is:
[0102]
[0103] Among them, L 1j is the lower limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data. is the intercept term, which represents the basic adjustment of the lower limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which indicates the direct impact of each data on the lower limit of the real-time alarm threshold; is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the lower limit; All are calculated from sensor data by statistical methods;
[0104] Get the upper limit of the real-time alarm threshold U for the first type of abnormal data 21 =95.8 and real-time alarm threshold lower limit L 21 =57.1, and the upper limit of the real-time alarm threshold U for the second abnormal data is obtained. 22 =94.35 and real-time alarm threshold lower limit L 22 =59.5;
[0105] Step S303: Establish a weighted fusion formula:
[0106] R j =ω 1j ·x 1j +ω 2j ·x 2j +ω 3j ·p j
[0107] Among them, x 1j is the duration of the jth abnormal data, x 2j is the peak value of the jth abnormal data, p j Score the importance of the sensor corresponding to the j-th abnormal data; ω 1j is the weight of the duration of the j-th abnormal data, ω 2j is the weight of the j-th abnormal data peak, ω 3j The weight of the sensor importance score corresponding to the j-th abnormal data, ω 1j ~ω 3j Given based on actual needs and data characteristics;
[0108] The influence score of the first type of abnormal data is R1=61.5, and the influence score of the second type of abnormal data is R2=82.5;
[0109] Step S400: Calculate the real-time alarm threshold according to the influence relationship, monitor the operation of the electrical system with the real-time alarm threshold, adjust the sensor acquisition frequency according to the influence score of abnormal data, update the possible risk event type and probability in real time and warn the user, establish a database, and use the matching algorithm to generate corresponding solutions and specific steps;
[0110] Wherein, step S400 includes:
[0111] Step S401: monitor the operation of the electrical system with a real-time alarm threshold, and when it is detected that the real-time data in the sensor data sequence group exceeds the upper and lower limits of the real-time alarm threshold, obtain the type of abnormal data in the real-time data;
[0112] R based on the influence of abnormal data j The formula for obtaining the frequency of early warning status collection is:
[0113]
[0114] f max =max(f 2j )
[0115] Among them, f1 is the initial acquisition frequency set by the user, k is the adjustment step size, and f 2j When the real-time data exceeds the upper and lower limits of the real-time alarm threshold, the real-time acquisition frequency of each sensor is selected, and the maximum item f among all real-time acquisition frequencies is selected. max As the frequency of early warning state acquisition; the nonlinear model can be used to achieve j Increase the adjustment range after reaching a certain threshold to better respond to possible risk events;
[0116] Get the real-time collection frequency of the first type of abnormal data Get the real-time collection frequency of the second type of abnormal data
[0117] Select the maximum item among all real-time acquisition frequencies to obtain the early warning state acquisition frequency f of the electrical system in the early warning state max =1.51Hz;
[0118] Step S402: Score R based on the impact of abnormal data j Change the acquisition frequency to obtain the early warning state acquisition frequency f max , collect frequency f in early warning state max=1.51Hz monitors the electrical system data, and based on the training results of the type labels and timestamps corresponding to the real-time data in the long short-term memory network model, warns the user and updates the types and probabilities of possible risk events in real time;
[0119] Step S403: Establish a database to store solutions and specific steps for risk events. When warning users, use a matching algorithm to obtain solutions corresponding to the types of risk events that may occur and provide real-time feedback to users.
[0120] The system includes sensor configuration and data acquisition module, risk event identification and data labeling module, data analysis and scoring module and real-time monitoring and early warning module;
[0121] The sensor configuration and data acquisition module includes different types of sensors. The sensor configuration and data acquisition module is used to obtain the initial alarm threshold of each sensor and set the importance score, determine the acquisition frequency of the sensor and collect the electrical system operation data at the acquisition frequency, and generate a sensor data sequence group;
[0122] The risk event identification and data labeling module is used to record risk events when the electrical system issues an alarm, extract sensor data sequences in risk events and label data sequences that exceed the initial alarm threshold as abnormal data sequences, add labels and timestamps to the abnormal data and input them into the long short-term memory network model, which is used for learning to define and identify the types and occurrence probabilities of risk events;
[0123] The data analysis and scoring module is used to extract the duration of abnormal data, data peak value and the importance score of the corresponding type of sensor of abnormal data and establish a linear regression model to obtain the influence relationship between abnormal data and the initial alarm threshold, and obtain the influence score of abnormal data through weighted fusion calculation;
[0124] The real-time monitoring and early warning module is used to calculate and adjust the alarm threshold in real time according to the influence relationship, and adjust the collection frequency according to the influence score of abnormal data, so as to monitor the operating status of the electrical system. The real-time monitoring and early warning module warns the user and updates the possible types and probabilities of risk events in real time, establishes a database and uses a matching algorithm to generate solutions and specific steps for corresponding risk events;
[0125] The risk event identification and data marking module is connected to the output end of the sensor configuration and data acquisition module; the data analysis and scoring module is connected to the output end of the risk event identification and data marking module, and the real-time monitoring and early warning module is connected to the output end of the data analysis and scoring module.
[0126] The sensor configuration and data acquisition module includes a sensor configuration unit, a data acquisition unit and a data preprocessing unit; the sensor configuration unit includes n different types of sensors, each sensor has a corresponding data safety interval, and the sensor configuration unit sets the sensor acquisition frequency and the sensor's main importance score; the data acquisition unit is used to collect electrical system operation data regularly according to the acquisition frequency and generate a sensor data sequence group; the data preprocessing unit preprocesses the data in the sensor data sequence group.
[0127] The risk event identification and data labeling module includes an event monitoring unit, an anomaly detection unit and a data learning unit; the event monitoring unit is used to monitor the alarms issued by the electrical system under the standard of the initial alarm threshold and record the occurrence of risk events; the anomaly detection unit is used to extract the sensor data sequence group within the duration of the risk event, mark the abnormal data exceeding the initial alarm threshold, add type labels and record timestamps; the data learning unit is used to input abnormal data into the long short-term memory network model for training, define and identify the type of risk events and the probability of occurrence.
[0128] The data analysis and scoring module includes a feature extraction unit, a regression analysis unit and a scoring calculation unit; the feature extraction unit is used to extract the duration and peak data from the abnormal data and extract the importance score according to the corresponding type; the regression analysis unit analyzes the influence relationship between the abnormal data and the initial alarm threshold by establishing a linear regression model; the scoring calculation unit calculates the influence score of the abnormal data through a weighted fusion formula.
[0129] The real-time monitoring and early warning module includes a monitoring condition adjustment unit, a monitoring and early warning unit and a solution generation unit; the monitoring condition adjustment unit calculates and adjusts the real-time alarm threshold according to the influence relationship, and updates the sensor collection frequency according to the influence score of the abnormal data; the monitoring and early warning unit uses the updated real-time alarm threshold and collection frequency to monitor the operation of the electrical system, extract the type label and timestamp of the abnormal data, and warn the user of the type and probability of possible risk events; the solution generation unit is used to match the corresponding solutions and specific steps according to the type and probability of possible risk events, and provide feedback to the user.
[0130] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0131] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A smart electricity risk identification method based on multi-sensor fusion, It is characterized in that The method comprises: Step S100: n types of sensors are set, importance scores of each sensor are set, initial alarm thresholds of each sensor are obtained, data are collected at a set collection frequency and a sensor data sequence group is generated, and data in the sensor data sequence group is preprocessed; Step S200: extracting sensor data sequence groups within the duration of the risk event, marking abnormal sensor data sequence groups, adding type labels to abnormal data and recording timestamps, training through the long short-term memory network model, and defining the type and probability of the risk event; Step S300: extract the duration and data peak value in the abnormal data, as well as the importance score of the corresponding sensor, establish a linear regression equation, obtain the influence relationship between the abnormal data and the initial alarm threshold, and obtain the influence score of the abnormal data through weighted fusion; Step S400: Calculate the real-time alarm threshold based on the impact relationship, monitor the operation of the electrical system with the real-time alarm threshold, adjust the sensor collection frequency according to the abnormal data influence score, update the type and probability of possible risk events in real time and warn the user, establish a database, and use the matching algorithm to generate corresponding solutions and specific steps.
2. According to the method for identifying smart electricity risk based on multi-sensor fusion according to claim 1, It is characterized in that The step S100 includes: Step S101: Obtain the safety intervals of the data detected by n types of sensors respectively, and set the upper limit U of the safety interval 1 With lower limit L 1 As the initial alarm threshold; Users set the importance score of each sensor according to the actual scenario [p 1 , p 2 , ..., p n ]; Where n is the number of sensor types, p n represents the importance score of the nth sensor, p n The range is 0 to 100; Step S102: Setting the initial sensor acquisition frequency f 1 , with the initial acquisition frequency f 1 The data in the electrical system is collected to obtain a sensor data sequence group, wherein the sensor data sequence group includes the data collected at the initial collection frequency f 1 The n sensor data sequences collected; Step S103: pre-processing the data in the sensor data sequence group, and making all data points in the sensor data sequence group fall within the range of 0 to 100 by linear scaling.
3. According to the method for intelligent electricity risk identification based on multi-sensor fusion according to claim 2, It is characterized in that The step S200 includes: Step S201: extracting sensor data sequence groups within the risk duration, performing anomaly detection on the extracted sensor data sequence groups, and marking i sensor data sequences exceeding the initial alarm threshold as abnormal data sequences; Step S202: according to the sensor type corresponding to the abnormal data sequence, add a type label to i types of abnormal data, record the timestamp of the abnormal data, and input the abnormal data, the type label of the abnormal data and the timestamp of the abnormal data into the long short-term memory network model; Step S203: the long short-term memory network model is trained by receiving and processing the abnormal data, the type label of the abnormal data and the timestamp of the abnormal data; The LSTM network model uses abnormal data as input features, uses the type labels of the abnormal data to distinguish and mark different anomalies, and at the same time, based on the time series information contained in the timestamps of the abnormal data, builds the time association between the data to predict the type and probability of occurrence of risk events.
4. According to the method for identifying smart electricity risk based on multi-sensor fusion according to claim 3, It is characterized in that The step S300 includes: Step S301: Extract the duration x of each group of abnormal data in the risk event 1j , peak data x 2j And the importance score p of each sensor corresponding to each data j , where subscript j is the index of the j-th abnormal data in the i-th group of abnormal data; Step S302: Establishing a real-time alarm threshold upper and lower limit adjustment formula according to a linear regression equation; Real-time alarm threshold upper limit adjustment formula: Among them, U 1j is the upper limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data; is the intercept term, which represents the basic adjustment of the upper limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which represents the direct impact of each data on the upper limit of the real-time alarm threshold; is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the upper limit. All are calculated from sensor data by statistical methods; Real-time alarm threshold lower limit adjustment formula: Among them, L 1j is the lower limit of the initial alarm threshold of the j-th abnormal data, and the subscript j is the index of the j-th abnormal data in the i-th group of abnormal data; is the intercept term, which represents the basic adjustment of the lower limit of the alarm threshold by abnormal data in the absence of any significant input features; is the coefficient of the linear term, which indicates the direct impact of each data on the lower limit of the real-time alarm threshold; is the coefficient of the square term, indicating the nonlinear relationship in the data; is the coefficient of the interaction term, which indicates the additional impact of the two variables on the lower limit. All are calculated from sensor data by statistical methods; Get the upper limit of the real-time alarm threshold U of the jth abnormal data 2j and real-time alarm threshold lower limit L 2j ; Step S303: Establish a weighted fusion formula: R j =ω 1j ·x 1j +oh 2j ·x 2j +oh 3j ·p j Among them, x 1j is the duration of the jth abnormal data, x 2j is the peak value of the jth abnormal data, p j Score the importance of the sensor corresponding to the j-th abnormal data; ω 1j is the weight of the duration of the j-th abnormal data, ω 2j is the weight of the j-th abnormal data peak, ω 3j The weight of the sensor importance score corresponding to the j-th abnormal data, ω 1j ~ω 3j Given based on actual needs and data characteristics; Get the influence score R of the j-th abnormal data j , the influence score R j The range is 0 to 100.
5. According to the method for identifying smart electricity risk based on multi-sensor fusion according to claim 4, It is characterized in that The step S400 includes: Step S401: monitor the operation of the electrical system with a real-time alarm threshold, and when it is detected that the real-time data in the sensor data sequence group exceeds the upper and lower limits of the real-time alarm threshold, obtain the type of abnormal data in the real-time data; According to the influence score R of the j-th abnormal data j The formula for obtaining the frequency of early warning status collection is: f max =max(f 2j ) Among them, f 1 is the initial acquisition frequency set by the user, k is the adjustment step size, and f 2j When the real-time data exceeds the upper and lower limits of the real-time alarm threshold, the real-time acquisition frequency of each sensor is selected, and the maximum item f among all real-time acquisition frequencies is selected. max As the frequency of early warning status collection; Get the early warning state acquisition frequency f of the electrical system in the early warning state max ; Step S402: Score R based on the impact of abnormal data j Change the acquisition frequency to obtain the early warning state acquisition frequency f max , collect frequency f in early warning state max Monitor the electrical system data, and based on the training results of the type labels and timestamps corresponding to the real-time data in the long short-term memory network model, warn users and update the types and probabilities of possible risk events in real time; Step S403: Establish a database to store solutions and specific steps for risk events. When warning users, use a matching algorithm to obtain solutions corresponding to the types of risk events that may occur and provide real-time feedback to users.
6. A smart electricity risk identification system based on multi-sensor fusion applied to the smart electricity risk identification method based on multi-sensor fusion as described in any one of claims 1 to 5, It is characterized in that The system includes a sensor configuration and data acquisition module, a risk event identification and data marking module, a data analysis and scoring module, and a real-time monitoring and early warning module; The sensor configuration and data acquisition module includes different types of sensors, and the sensor configuration and data acquisition module is used to obtain an initial alarm threshold value for each sensor and set an importance score, determine a collection frequency of the sensor and collect electrical system operation data at the collection frequency, and generate a sensor data sequence group; The risk event identification and data marking module is used to record risk events when the electrical system issues an alarm, extract sensor data sequences in risk events and mark data sequences that exceed the initial alarm threshold as abnormal data sequences, add labels and timestamps to the abnormal data and input them into the long short-term memory network model, and the long short-term memory network model is used for learning to define and identify the type and probability of occurrence of risk events; The data analysis and scoring module is used to extract the duration of abnormal data, data peak value and the importance score of the type of sensor corresponding to the abnormal data and establish a linear regression model to obtain the influence relationship between the abnormal data and the initial alarm threshold, and obtain the influence score of the abnormal data through weighted fusion calculation; The real-time monitoring and early warning module is used to calculate and adjust the alarm threshold in real time according to the influence relationship, and adjust the collection frequency according to the influence score of abnormal data, so as to monitor the operating status of the electrical system. The real-time monitoring and early warning module warns the user and updates the possible types and probabilities of risk events in real time, establishes a database and uses a matching algorithm to generate solutions and specific steps for corresponding risk events; The risk event identification and data marking module is connected to the output end of the sensor configuration and data acquisition module; the data analysis and scoring module is connected to the output end of the risk event identification and data marking module, and the real-time monitoring and early warning module is connected to the output end of the data analysis and scoring module.
7. According to claim 6, a smart electricity risk identification system based on multi-sensor fusion, It is characterized in that The sensor configuration and data acquisition module includes a sensor configuration unit, a data acquisition unit and a data preprocessing unit; The sensor configuration unit includes n different types of sensors, each sensor has a corresponding data safety interval, and the sensor configuration unit sets the sensor collection frequency and the sensor's supervisor importance score; The data acquisition unit is used to collect the electrical system operation data regularly according to the acquisition frequency to generate a sensor data sequence group; The data preprocessing unit preprocesses the data in the sensor data sequence group.
8. According to claim 6, a smart electricity risk identification system based on multi-sensor fusion, It is characterized in that The risk event identification and data marking module includes an event monitoring unit, an anomaly detection unit and a data learning unit; The event monitoring unit is used to monitor the alarms issued by the electrical system under the standard of the initial alarm threshold and record the occurrence of risk events; The anomaly detection unit is used to extract the sensor data sequence group within the duration of the risk event, mark the abnormal data that exceeds the initial alarm threshold, add a type tag and record a timestamp The data learning unit is used to input abnormal data into the long short-term memory network model for training, and define and identify the type and probability of occurrence of risk events.
9. According to claim 6, a smart electricity risk identification system based on multi-sensor fusion, It is characterized in that The data analysis and scoring module includes a feature extraction unit, a regression analysis unit and a scoring calculation unit; The feature extraction unit is used to extract the duration and peak value data from the abnormal data and extract the importance score according to the corresponding type; The regression analysis unit analyzes the influence relationship between abnormal data and the initial alarm threshold by establishing a linear regression model; The score calculation unit calculates the influence score of the abnormal data through a weighted fusion formula.
10. According to claim 6, a smart electricity risk identification system based on multi-sensor fusion, It is characterized in that The real-time monitoring and early warning module includes a monitoring condition adjustment unit, a monitoring and early warning unit and a solution generation unit; The monitoring condition adjustment unit calculates and adjusts the real-time alarm threshold according to the influence relationship, and updates the sensor collection frequency according to the influence score of the abnormal data; The monitoring and early warning unit uses the updated real-time alarm threshold and acquisition frequency to monitor the operation of the electrical system, extract the type label and timestamp of abnormal data, and warn the user of the type and probability of possible risk events; The solution generation unit is used to match corresponding solutions and specific steps according to the types and probabilities of possible risk events, and provide feedback to the user.
Citation Information
Patent Citations
A method for real-time fusion of multi-sensor information of unmanned vehicle
CN109523129A
Prediction of accident risk based on anomaly detection
US20210237724A1
Cited By
Visual monitoring service system and method based on product detection
CN120339955A
Intelligent regulation and control data transmission system of steam energy-saving desuperheater based on data driving
CN121232909A
Data-driven intelligent control data transmission system for steam energy-saving desuperheaters
CN121232909B
