An electrical switch cabinet detection method, device and system based on the Internet of Things
By building an electrical switch cabinet detection model based on the Internet of Things and using technologies such as GCN graph convolution network and BiGRU neural network, the problem of safety assessment of the Internet of Things electrical switch cabinets is solved, and accurate safety risk assessment and monitoring of electrical switch cabinets are achieved. , improving the safety and detection reliability of electrical switch cabinets.
Patent Information
- Application Number
- CN202410295835.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-03-15
AI Technical Summary
The existing technology lacks an accurate and comprehensive safety assessment solution for IoT electrical switchgear, making it difficult to fully understand its safety risks, resulting in insufficient safety monitoring of the power system.
Using the electrical switch cabinet detection method based on the Internet of Things, by acquiring a variety of sensor data, a detection model including the GCN graph convolution network model, BiGRU neural network model and SOM neural network classifier is constructed to realize the safety risk assessment of the electrical switch cabinet. and abnormal situation monitoring.
It achieves accurate safety risk assessment of electrical switch cabinets, improves the objectivity and credibility of electrical switch cabinet parameter detection, improves the fitting and robustness of electrical switch cabinet data sequences, and ensures the safety of electrical switch cabinets. run.
Smart Images

Figure CN118249503B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to safety monitoring of an electrical switch cabinet, and in particular to an electrical switch cabinet detection method, device and system based on the Internet of Things. Background Art
[0002] The connection between the Internet of Things and the power industry is becoming increasingly close. For example, the electrical switchgear of the Internet of Things plays an increasingly important role in the power production process, which can improve the level of informationization of the power system and improve the utilization efficiency of the power system infrastructure. However, the security field of the power Internet of Things is highly professional, and it is difficult for users to fully understand the security risks of the electrical switchgear of the Internet of Things. At present, there is still a lack of solutions for accurate and comprehensive security assessment of electrical switchgear of the Internet of Things. Summary of the invention
[0003] Purpose of the invention: The purpose of the present invention is to provide an electrical switch cabinet detection method, device and system based on the Internet of Things to meet the needs of electrical switch cabinet safety assessment. The method, device and system can conduct comprehensive and comprehensive analysis of the collected sensor data of various electrical switch cabinets, accurately assess the overall safety risks of the electrical switch cabinet, effectively monitor abnormal conditions of the electrical switch cabinet, and ensure the safe operation of the electrical switch cabinet of the Internet of Things.
[0004] Technical solution: The electrical switch cabinet detection method based on the Internet of Things of the present invention comprises:
[0005] Obtain sensor outputs of the electrical switch cabinet, including camera outputs, temperature sensor outputs, current sensor outputs, and vibration sensor outputs, wherein there are multiple camera outputs;
[0006] Build an electrical switchgear inspection model;
[0007] The electrical switch cabinet detection model includes a switch cabinet parameter module 1-3, a GCN graph convolution network model 1-3, a BiGRU neural network model, an interval number BiGRU neural network model-SOM neural network classifier 1-3, an interval number GCN graph convolution network model-SOM neural network classifier 1-2 and a TDL beat delay 1-4; wherein the switch cabinet parameter module is used to obtain the triangular fuzzy number output by the sensor;
[0008] The outputs of multiple cameras are used as inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1, and the outputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1 are used as inputs of the BiGRU neural network model and the corresponding inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2;
[0009] The temperature sensor output is used as the input of the switch cabinet parameter module 1 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 1 is used as the input of the GCN graph convolution network model 1, the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0010] The output of the current sensor is used as the input of the switch cabinet parameter module 2 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 2 is used as the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0011] The output of the vibration sensor is used as the input of the switch cabinet parameter module 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 3 is used as the corresponding input of the GCN graph convolutional network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0012] The outputs of the BiGRU neural network model, the GCN graph convolutional network model 1, the GCN graph convolutional network model 2, and the GCN graph convolutional network model 3 are respectively used as the corresponding inputs of the interval number BiGRU neural network model-SOM neural network classifier 1;
[0013] The output of the BiGRU neural network model of the interval number-SOM neural network classifier 1 is used as the input of the TDL beat delay device 1 and the corresponding input of the GCN graph convolutional network model of the interval number-SOM neural network classifier 2; the output of the TDL beat delay device 1 is used as the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 1;
[0014] The output of the BiGRU neural network model-SOM neural network classifier 2 of the interval number is used as the input of the TDL beat delay device 2, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number, and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 2 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number;
[0015] The outputs of the BiGRU neural network model-SOM neural network classifier 3 of the interval number are respectively used as the input of the TDL beat delay device 3, the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 3 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 3 of the interval number;
[0016] The output of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2 is used as the input of the TDL beat delay device 4, and the output of the TDL beat delay device 4 is used as the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 1, the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 2, and the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 3;
[0017] GCN graph convolutional network model of interval number-SOM neural network classifier 2 outputs the interval number, which is used to evaluate the safety level of electrical switchgear.
[0018] Further, the switch cabinet parameter module includes BiGRU neural network model 1-2, BiGRU neural network model-metabolic grey GM (1,1) model 1-2, PSO recursive fuzzy neural network model-BiGRU neural network model 1-2, PSO Elman neural network model 1-2 and triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0019] The sensor outputs are respectively used as the input of BiGRU neural network model 1, the corresponding input of Elman neural network model 1 of PSO, the input of BiGRU neural network model-metabolism grey GM (1,1) model 1, the corresponding input of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 1 and the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 2;
[0020] The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 1 are respectively used as the corresponding inputs of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 1 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0021] The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 2 are respectively used as the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 2 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0022] The outputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 1 are respectively used as the corresponding inputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers-recursive fuzzy neural network model of PSO;
[0023] The output of BiGRU neural network model 1 is used as the corresponding input of Elman neural network model 1 of PSO; the output of Elman neural network model 1 of PSO is used as the corresponding input of recursive fuzzy neural network model-BiGRU neural network model 1 of PSO, the input of BiGRU neural network model 2, the corresponding input of Elman neural network model 2 of PSO and the corresponding input of BiGRU neural network model of triangular fuzzy number-recursive fuzzy neural network model of PSO; the output of BiGRU neural network model 2 is used as the corresponding input of Elman neural network model 2 of PSO;
[0024] The outputs of the Elman neural network model 2 of PSO are used as the corresponding inputs of the recursive fuzzy neural network model of PSO - BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO; the outputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO are used as the corresponding inputs of the Elman neural network model 2 of PSO and the BiGRU neural network model - metabolic grey GM (1,1) model 2; the x, y and z output by the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO constitute the triangular fuzzy values (x, y, z).
[0025] Furthermore, the safety levels of electrical switchgear are divided into safe, relatively safe, general, dangerous and very dangerous.
[0026] Further,
[0027] Serial number Security Level Number of intervals 1 Safety (0,0,0,0,(0,0.2)) 2 Safer (0,0,0,[0.2,0.4),0) 3 generally (0,0,[0.4,0.6),0,0) 4 Danger (0,[0.6,0.8),0,0,0,) 5 Very dangerous ([0.8,1],0,0,0,0)
[0028] The safety level of the electrical switchgear is determined according to this table.
[0029] The electrical switch cabinet detection device based on the Internet of Things described in the present invention includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electrical switch cabinet detection method is implemented.
[0030] The electrical switch cabinet detection system based on the Internet of Things described in the present invention includes an electrical switch cabinet parameter collector 1-n, a switch cabinet information centralized controller, a switch cabinet monitoring terminal, a switch cabinet cloud server platform and a switch cabinet monitoring mobile phone APP. The switch cabinet information centralized controller realizes two-way information interaction between the electrical switch cabinet parameter collector, the switch cabinet monitoring terminal and the switch cabinet cloud server platform, and the switch cabinet monitoring mobile phone APP performs two-way communication with the switch cabinet cloud server platform; the switch cabinet cloud server platform performs electrical switch cabinet big data collection, storage and processing, the switch cabinet monitoring terminal realizes electrical switch cabinet safety assessment, and the operating status of the electrical switch cabinet is monitored through the switch cabinet monitoring terminal and the switch cabinet monitoring mobile phone APP.
[0031] Furthermore, the electrical switch cabinet parameter collector and the switch cabinet information centralized controller form a self-organizing communication network through a 4G communication module.
[0032] Furthermore, the electrical switch cabinet parameter collector includes an environmental sensor, a current sensor, a voltage sensor, a vibration sensor, a smoke sensor, an STM32 microprocessor, an input-output interface, an electric meter, a camera and a 4G communication module. Each sensor is connected to the STM32 microprocessor through a corresponding signal conditioning circuit; the input-output interface, the electric meter, the camera and the 4G communication module are connected to the STM32 microprocessor respectively.
[0033] Furthermore, the switch cabinet information centralized controller includes environmental control equipment, fire-fighting equipment, an STM32 microprocessor, a 4G communication module, an NB-IoT module and a USB interface. The environmental control equipment and the fire-fighting equipment are connected to the STM32 microprocessor through a 2-way D / A conversion circuit, and the 4G communication module, the NB-IoT module and the USB interface are respectively connected to the STM32 microprocessor; the switch cabinet information centralized controller realizes two-way data interaction with the switch cabinet cloud server platform through the NB-IoT module.
[0034] Furthermore, the switch cabinet monitoring end adopts an industrial control computer, and the switch cabinet monitoring end is connected to the switch cabinet information centralized controller through a USB interface to realize information interaction with the electrical switch cabinet parameter collector and the switch cabinet cloud server platform; the switch cabinet monitoring end functions include switch cabinet communication parameter setting, switch cabinet data analysis, switch cabinet data management and electrical switch cabinet detection model.
[0035] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:
[0036] (1) In the process of electrical switch cabinet parameter detection, there are problems such as sensor accuracy error, interference and abnormal measurement parameter values. The present invention represents the parameters measured by the electrical switch cabinet sensor in the form of triangular fuzzy numbers, which effectively solves the fuzziness and uncertainty of the parameters measured by the electrical switch cabinet parameter sensor and improves the objectivity and credibility of the electrical switch cabinet parameter sensor value detection.
[0037] (2) The electrical switchgear data sequence has characteristics such as intermittency and volatility in time series; the switchgear parameter module proposed in the present invention can greatly improve the fit between the parameter prediction value of the electrical switchgear and the parameter sequence of the electrical switchgear, avoid mutual interference between the parameter sequence of the electrical switchgear and the parameter prediction value of the electrical switchgear, and reflect the superiority of the switchgear parameter module in processing the non-stationary sequence data of the electrical switchgear. The switchgear parameter module eliminates the non-stationary characteristics of the electrical switchgear data sequence and realizes the stability, rapidity and robustness of predicting the electrical switchgear data sequence.
[0038] (3) The BiGRU neural network model consists of two forward and backward GRU neural network models, which consist of a forward GRU hidden layer and a backward GRU hidden layer, and both hidden layers are connected to the output layer. The forward switchgear parameter information and the backward switchgear parameter information are simultaneously transmitted to the BiGRU neural network model output layer, thereby improving the accuracy of the BiGRU neural network model in predicting the switchgear parameter output information.
[0039] (4) The input object of the GCN graph convolutional network model is the switchgear parameter graph data. The GCN graph convolutional neural network model learns the topological structure of the electrical switchgear data network by stacking multiple graph convolutional layers on the nodes in the electrical switchgear data network topology graph to capture the spatial correlation of the electrical switchgear data flow, and obtains a deep abstract representation of the switchgear parameters. The GCN graph convolutional network model can better integrate the node information and data structure information in the electrical switchgear data graph.
[0040] (5) The safety of the electrical switchgear is determined based on the current, temperature, vibration and other parameters that affect the performance of the electrical switchgear. The safety status of the electrical switchgear is determined based on the output value of the GCN graph convolutional network model-SOM neural network classifier according to the interval number, thus realizing scientific classification of the safety status of the electrical switchgear. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a structural schematic diagram of an electrical switch cabinet detection model in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of the structure of the switch cabinet parameter module in an embodiment of the present application;
[0043] Figure 3 It is a structural schematic diagram of an electrical switch cabinet detection system based on the Internet of Things provided in an embodiment of the present application;
[0044] Figure 4 It is a structural schematic diagram of an electrical switch cabinet parameter collector in an embodiment of the present application;
[0045] Figure 5 It is a structural diagram of a switch cabinet information centralized controller in an embodiment of the present application;
[0046] Figure 6 It is a functional diagram of the switch cabinet monitoring terminal software in the embodiment of the present application. DETAILED DESCRIPTION
[0047] The present invention will be further described below in conjunction with the accompanying drawings.
[0048] The present application provides an electrical switch cabinet detection method based on the Internet of Things, comprising the following steps:
[0049] Obtain sensor outputs of the electrical switch cabinet, including camera outputs, temperature sensor outputs, current sensor outputs, and vibration sensor outputs, wherein there are multiple camera outputs;
[0050] Build an electrical switchgear inspection model;
[0051] like Figure 1 The electrical switch cabinet detection model includes a switch cabinet parameter module 1-3, a GCN graph convolution network model 1-3, a BiGRU neural network model, an interval number BiGRU neural network model-SOM neural network classifier 1-3, an interval number GCN graph convolution network model-SOM neural network classifier 1-2 and a TDL beat delay device 1-4; wherein the switch cabinet parameter module is used to obtain the triangular fuzzy number output by the sensor;
[0052] The outputs of multiple cameras are used as inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1, and the outputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1 are used as inputs of the BiGRU neural network model and the corresponding inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2;
[0053] The temperature sensor output is used as the input of the switch cabinet parameter module 1 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 1 is used as the input of the GCN graph convolution network model 1, the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0054] The output of the current sensor is used as the input of the switch cabinet parameter module 2 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 2 is used as the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0055] The output of the vibration sensor is used as the input of the switch cabinet parameter module 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 3 is used as the corresponding input of the GCN graph convolutional network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2;
[0056] The outputs of the BiGRU neural network model, the GCN graph convolutional network model 1, the GCN graph convolutional network model 2, and the GCN graph convolutional network model 3 are respectively used as the corresponding inputs of the interval number BiGRU neural network model-SOM neural network classifier 1;
[0057] The output of the BiGRU neural network model of the interval number-SOM neural network classifier 1 is used as the input of the TDL beat delay device 1 and the corresponding input of the GCN graph convolutional network model of the interval number-SOM neural network classifier 2; the output of the TDL beat delay device 1 is used as the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 1;
[0058] The output of the BiGRU neural network model-SOM neural network classifier 2 of the interval number is used as the input of the TDL beat delay device 2, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number, and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 2 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number;
[0059] The outputs of the BiGRU neural network model-SOM neural network classifier 3 of the interval number are respectively used as the input of the TDL beat delay device 3, the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 3 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 3 of the interval number;
[0060] The output of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2 is used as the input of the TDL beat delay device 4, and the output of the TDL beat delay device 4 is used as the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 1, the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 2, and the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 3;
[0061] GCN graph convolutional network model of interval number-SOM neural network classifier 2 outputs the interval number, which is used to evaluate the safety level of the electrical switchgear. The safety level of the electrical switchgear is divided into safe, relatively safe, general, dangerous and very dangerous, which is determined according to Table 1.
[0062] Table 1 Correspondence between the five safety levels and the number of intervals of electrical switch cabinets
[0063] Serial number Security Level Number of intervals 1 Safety (0,0,0,0,(0,0.2)) 2 Safer (0,0,0,[0.2,0.4),0) 3 generally (0,0,[0.4,0.6),0,0) 4 Danger (0,[0.6,0.8),0,0,0,) 5 Very dangerous ([0.8,1],0,0,0,0)
[0064] like Figure 2 , the switch cabinet parameter module includes BiGRU neural network model 1-2, BiGRU neural network model-metabolic grey GM (1,1) model 1-2, PSO recursive fuzzy neural network model-BiGRU neural network model 1-2, PSO Elman neural network model 1-2 and triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0065] The sensor outputs are respectively used as the input of BiGRU neural network model 1, the corresponding input of Elman neural network model 1 of PSO, the input of BiGRU neural network model-metabolism grey GM (1,1) model 1, the corresponding input of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 1 and the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 2;
[0066] The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 1 are respectively used as the corresponding inputs of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 1 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0067] The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 2 are respectively used as the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 2 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model;
[0068] The outputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 1 are respectively used as the corresponding inputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers-recursive fuzzy neural network model of PSO;
[0069] The output of BiGRU neural network model 1 is used as the corresponding input of Elman neural network model 1 of PSO; the output of Elman neural network model 1 of PSO is used as the corresponding input of recursive fuzzy neural network model-BiGRU neural network model 1 of PSO, the input of BiGRU neural network model 2, the corresponding input of Elman neural network model 2 of PSO and the corresponding input of BiGRU neural network model of triangular fuzzy number-recursive fuzzy neural network model of PSO; the output of BiGRU neural network model 2 is used as the corresponding input of Elman neural network model 2 of PSO;
[0070] The outputs of the Elman neural network model 2 of PSO are used as the corresponding inputs of the recursive fuzzy neural network model of PSO - BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO; the outputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO are used as the corresponding inputs of the Elman neural network model 2 of PSO and the BiGRU neural network model - metabolic grey GM (1,1) model 2; the x, y and z output by the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO constitute the triangular fuzzy values (x, y, z).
[0071] 1. Design of switchgear parameter module
[0072] 1) BiGRU neural network model
[0073] The BiGRU neural network model consists of two GRU neural network models, which are interconnected at adjacent depths to ensure that the hidden layer state of the previous depth can be transferred to the next hidden state in one direction, and the switchgear parameter features can be extracted from two directions. GRU consists of an update gate and a reset gate. The update gate determines the deletion or addition of information. The more switchgear parameter information that meets the requirements at the previous moment, the larger its value; the reset gate determines the degree of forgetting the switchgear parameter information at the previous moment. The greater the degree of forgetting, the smaller its value. In the prediction of input switchgear parameter information, the switchgear parameter input data at a certain moment is related to the switchgear parameter input data at the previous moment and at a certain moment in the future. Linking the influencing factors of the past switchgear parameter input data and the influencing factors of the future switchgear parameter input data prediction with the current switchgear parameter input data is more conducive to the extraction of deep-level features of the switchgear parameter input data. The bidirectional gated recurrent unit (BiGRU) neural network can meet this requirement, and its expression relationship is as follows:
[0074]
[0075] In the formula, x t To input information, and is the hidden state value at the forward t and t-1 moments, and is the hidden state value at the reverse time t and t-1, h t is the combined output value of the forward and reverse directions, α t is the positive feedback output weight of the hidden layer of the GRU unit, β t Pass the output weights backward for the hidden layer of the GRU unit.
[0076] 2) BiGRU neural network model - metabolic gray GM (1,1) model
[0077] The BiGRU neural network model-metabolic gray GM (1,1) model is a series connection of the BiGRU neural network model and the metabolic gray GM (1,1) model. The metabolic gray GM (1,1) model is suitable for small sample data of switchgear parameters, and the switchgear parameter samples do not need to be regularly distributed. It has its advantages in short-term and medium-term prediction of switchgear parameters. Its prediction principle is to add the latest switchgear parameter data predicted by the metabolic gray GM (1,1) model to the original data sequence of the switchgear parameters, and remove the first data in the old data of the original data of the switchgear parameters to keep the dimension of the switchgear parameter sequence unchanged; then use the latest switchgear data sequence to predict the next value with the conventional GM (1,1) model, add it to the switchgear data sequence and remove the second data, and so on..., predict one by one, replace them in turn, and continuously add new switchgear parameter information to gradually reduce the grayscale of the data sequence until the prediction target is reached.
[0078] 3) PSO recursive fuzzy neural network model - BiGRU neural network model
[0079] The recursive fuzzy neural network model of PSO-BiGRU neural network model is a series connection of the recursive fuzzy neural network model of PSO and the BiGRU neural network model. The main disadvantage of the existing fuzzy neural network is that its inherent feedforward network limits its application field to a static problem structure. In order to solve such problems, the recursive fuzzy neural network model has good approximation and online training capabilities. The core of the recursive fuzzy neural network model is to add a recursive link in the rule layer of the fuzzy neural network. Its function is to timely and dynamically feedback the switchgear parameter input information contained in the rule layer of the fuzzy neural network and save it, forming a recursive unit structure that effectively covers the fuzzy neural network. It can be seen that the output of the recursive fuzzy neural network model is jointly determined by the current and previous switchgear parameter input values of the recursive fuzzy neural network model and the previous recursive fuzzy neural network model output switchgear parameter values. Therefore, the recursive fuzzy neural network model can be used to deal with the problem of imprecise and uncertain switchgear parameters, and has good robustness. The basic idea of the recursive fuzzy neural network model is to transform the complex global nonlinear problem into a simple local switchgear parameter linear problem through the IF-THEN rule, and then use the Lyapunov stability theory to obtain the switchgear parameter output result.
[0080] The structure of the recursive fuzzy neural network model has four layers, namely: the input layer (i) is the original input switch cabinet parameter data; the membership layer (j) represents a membership function, and the Gaussian function is selected as the membership function in the embodiment of the present application; the rule layer (k) multiplies the input signals and designs the recursive weights in the rule layer; the output layer (o) sums and outputs all the switch cabinet parameter input signals.
[0081] The recursive fuzzy neural network model of PSO optimizes the parameters of the recursive fuzzy neural network model. The algorithm flow of the recursive fuzzy neural network model of PSO is as follows: Step 1: The number of iterations n = 1, initialize a group of particles (the group size is m), including random positions and speeds; Step 2: Use the position vector of each particle as the initialization value of the recursive fuzzy neural network model parameters, and use the recursive fuzzy neural network model to train the switch cabinet parameter input and output samples to evaluate the fitness of each particle; Step 3: For each particle, compare its fitness value with the best position it has experienced and the fitness value experienced globally, and make position adjustments; Step 4: Adjust the speed and position of the particle; Step 5: If the end condition is not met, return to Step 2.
[0082] 4) Elman neural network model of PSO
[0083] The Elman neural network model includes an input layer, a structural layer, a hidden layer and an output layer. w1, w2, w3 and w4 are the connection weight matrices from the structural unit to the hidden layer, from the input layer to the hidden layer, from the hidden layer to the output layer and from the structural layer to the output layer respectively. The Elman neural network model adds a connecting layer as a one-step delay operator in the hidden layer of the feedforward network to achieve the purpose of dynamic memory, so that the Elman neural network model has the ability to adapt to the time-varying characteristics of the predicted switchgear parameters, can directly reflect the dynamic system characteristics of the identified switchgear parameters, and can effectively improve the anti-disturbance ability and tracking accuracy of the predicted switchgear parameters.
[0084] The Elman neural network model of PSO is the PSO optimized Elman neural network model. The design steps of the Elman neural network model of PSO are as follows: Step 1: The number of iterations n = 1, initialize a group of particles (the group size is m), including random positions and speeds; Step 2: Use the position vector of each particle as the initialization value of the Elman neural network model parameters, and use the Elman neural network model to train the switch cabinet parameter input and output samples to evaluate the fitness of each particle; Step 3: For each particle, compare its fitness value with the best position it has experienced and the fitness value experienced globally, and make position adjustments; Step 4: Adjust the speed and position of the particle; Step 5: If the end condition is not met, return to Step 2.
[0085] 5) BiGRU neural network model of triangular fuzzy numbers-PSO recursive fuzzy neural network model
[0086] The BiGRU neural network model of triangular fuzzy numbers-PSO recursive fuzzy neural network model is a BiGRU neural network model connected in series with a PSO recursive fuzzy neural network model. The PSO recursive fuzzy neural network model outputs x, y and z to form triangular fuzzy values (x, y, z).
[0087] The design of the BiGRU neural network model refers to 1), and the design of the PSO recursive fuzzy neural network model refers to 3).
[0088] 2. Design of electrical switchgear detection model
[0089] 6) GCN graph convolutional network model
[0090] The basic framework of the GCN graph convolutional network model can be divided into input layer, convolution layer and output layer. The input layer is mainly responsible for generating the relevant graph structure data of the switchgear parameters. The convolution layer propagates the features of the switchgear parameter input information and continuously optimizes the feature representation of the switchgear parameter input information. The output layer aggregates the feature representations of the switchgear parameter input information obtained by different convolutional layers and predicts the predicted value of the switchgear parameter input information. The input layer is used to generate the relevant graph structure data of the switchgear parameters and initialize the feature representation of the input information of the switchgear parameters; the graph structure data mainly includes the feature vector of the node itself and the adjacency matrix and degree matrix of the graph. This layer converts each switchgear parameter input information into a vector representation. The adjacency matrix reflects the relationship between each node, which lays the foundation for propagating the features of the switchgear parameter input information in the convolution layer. The convolution layer mainly completes the task of propagating features and continuously improving the feature representation of the switchgear parameter input information. By stacking multiple graph convolutional network layers, the GCN graph convolutional network model can output the feature representation of the switchgear parameters of higher dimensions for each node. The feature representation of these switchgear parameters can be used to predict the switchgear parameters of subsequent nodes. The main task of the output layer is to use the convolutional layer to obtain the predicted value of the input information of the switchgear parameters.
[0091] 7) BiGRU neural network model for interval numbers - SOM neural network classifier
[0092] The BiGRU neural network model of interval number - SOM neural network classifier is a BiGRU neural network model connected in series with the SOM neural network classifier, and the SOM neural network classifier outputs the interval number; the SOM neural network classifier obtains the winning neuron through competition, and the winning neuron is updated by replacing the old weight. The excitement of the winning neuron will have an effect on the neighboring neurons, forming a winning neighborhood centered on the winning neuron. The neurons in the neighborhood adjust their weights according to the distance from the winning neuron. During training, the winning neuron will change with the change of the input mode of the switchgear parameters, and the weight vectors corresponding to all neurons in its winning neighborhood will also be adjusted accordingly. The network weights in each mode are adjusted through the training of a large number of switchgear parameters, so that the response area tends to be stable.
[0093] The working process of the SOM neural network classifier is as follows: A. Assign a small arbitrary value to the weight vector to obtain {W ij}, where i = 1, 2...N; j = 1, 2...M; satisfying the condition {W ij B. Randomly select one of the S learning patterns in the training set and perform normalization to obtain X k , where k = 1, 2...n, n is the total number of input layer nodes. C. Calculate X k With W ij The dot product ∑W ij X k , the node corresponding to the maximum dot product value is the winning neuron node. D. With the winning neuron node as the center point, the initial winning neighborhood should account for 50%-80% of the total node range of the output layer. As the number of training times increases, the neighborhood range will converge to the winning neuron node. E. Adjust the weights of all nodes in the winning neighborhood. The size of the output value of the SOM neural network classifier with interval number is shown in Table 1.
[0094] 8) GCN graph convolutional network model for interval numbers-SOM neural network classifier
[0095] The GCN graph convolutional network model of interval number-SOM neural network classifier is a GCN graph convolutional network model connected in series with the SOM neural network classifier, and the output of the SOM neural network classifier is an interval number.
[0096] The embodiment of the present application also provides an electrical switch cabinet detection device based on the Internet of Things, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electrical switch cabinet detection method described in the embodiment of the present application is implemented. The electrical switch cabinet detection device has the advantages of the electrical switch cabinet detection method.
[0097] like Figure 3, the embodiment of the present application also provides an electrical switch cabinet detection system based on the Internet of Things, including an electrical switch cabinet parameter collector 1-n, a switch cabinet information centralized controller, a switch cabinet monitoring terminal, a switch cabinet cloud server platform and a switch cabinet monitoring mobile phone APP, the electrical switch cabinet parameter collector and the switch cabinet information centralized controller form a self-organizing communication network through a 4G communication module. The switch cabinet information centralized controller realizes two-way information interaction between the electrical switch cabinet parameter collector, the switch cabinet monitoring terminal and the switch cabinet cloud server platform, and the switch cabinet monitoring mobile phone APP communicates two-way with the switch cabinet cloud server platform. The switch cabinet cloud server platform collects, stores and processes big data of the electrical switch cabinet, the switch cabinet monitoring terminal realizes the safety assessment of the electrical switch cabinet, the switch cabinet monitoring mobile phone APP communicates two-way with the switch cabinet information centralized controller through the switch cabinet cloud server platform, and the management personnel monitor the operating status of the electrical switch cabinet through the switch cabinet monitoring terminal and the switch cabinet monitoring mobile phone APP.
[0098] like Figure 4 As the parameter sensing terminal of the electrical switch cabinet, the electrical switch cabinet parameter collector includes environmental sensors, current sensors, voltage sensors, vibration sensors, smoke sensors, STM32 microprocessors, input and output interfaces, electric meters, cameras and 4G communication modules. Each sensor is connected to the STM32 microprocessor through the corresponding signal conditioning circuit; the input and output interface, electric meter, camera and 4G communication module are connected to the STM32 microprocessor respectively. The software of the electrical switch cabinet parameter collector mainly realizes the collection and preprocessing of 4G module communication and electrical switch cabinet parameters. The software adopts C language programming with high compatibility, which greatly improves the work efficiency of software design and development and enhances the reliability, readability and portability of program code.
[0099] like Figure 5 The switch cabinet information centralized controller includes environmental control equipment, fire fighting equipment, STM32 microprocessor, 4G communication module, NB-IoT module and USB interface. The environmental control equipment and fire fighting equipment are connected to the STM32 microprocessor through 2-way D / A conversion circuits, and the 4G communication module, NB-IoT module and USB interface are connected to the STM32 microprocessor respectively; the switch cabinet information centralized controller realizes two-way data interaction with the switch cabinet cloud server platform through the NB-IoT module. The power grid parameters of the electrical switch cabinet parameter collector are uploaded to the switch cabinet cloud server platform server through the switch cabinet information centralized controller to realize the monitoring of the power grid electrical switch cabinet.
[0100] The switch cabinet monitoring terminal uses an industrial control computer, which is connected to the switch cabinet information centralized controller through a USB interface to realize information interaction with the electrical switch cabinet parameter collector and the switch cabinet cloud server platform; the switch cabinet monitoring terminal functions include switch cabinet communication parameter setting, switch cabinet data analysis, switch cabinet data management and electrical switch cabinet detection model, such as Figure 6 shown.
[0101] The present invention aims at the potential safety hazards existing in the electric power Internet of Things, and by strengthening the safety monitoring and evaluation of the electrical switch cabinets of the Internet of Things, effectively enhances the ability of the electrical switch cabinets of the Internet of Things to resist risks, and improves the safety monitoring level of the electrical switch cabinets of the Internet of Things. The network security monitoring of the electrical switch cabinets of the Internet of Things can fill the gap in the current security perception of the electrical switch cabinets, and through the big data collection, big data processing and safety evaluation of the electrical switch cabinets of the Internet of Things, a safety monitoring and evaluation system for electrical switch cabinets with a wide coverage is formed.
Claims
1. An electrical switch cabinet detection method based on the Internet of Things, characterized in that: include: Obtain sensor outputs of the electrical switch cabinet, including camera outputs, temperature sensor outputs, current sensor outputs, and vibration sensor outputs, wherein there are multiple camera outputs; Build an electrical switchgear inspection model; The electrical switch cabinet detection model includes a switch cabinet parameter module 1-3, a GCN graph convolution network model 1-3, a BiGRU neural network model, an interval number BiGRU neural network model-SOM neural network classifier 1-3, an interval number GCN graph convolution network model-SOM neural network classifier 1-2 and a TDL beat delay 1-4; wherein the switch cabinet parameter module is used to obtain the triangular fuzzy number output by the sensor; The outputs of multiple cameras are used as inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1, and the outputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 1 are used as inputs of the BiGRU neural network model and the corresponding inputs of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2; The temperature sensor output is used as the input of the switch cabinet parameter module 1 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 1 is used as the input of the GCN graph convolution network model 1, the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2; The output of the current sensor is used as the input of the switch cabinet parameter module 2 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 2 is used as the corresponding input of the GCN graph convolution network model 2, the corresponding input of the GCN graph convolution network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2; The output of the vibration sensor is used as the input of the switch cabinet parameter module 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 3; the output of the switch cabinet parameter module 3 is used as the corresponding input of the GCN graph convolutional network model 3 and the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 2; The outputs of the BiGRU neural network model, the GCN graph convolutional network model 1, the GCN graph convolutional network model 2, and the GCN graph convolutional network model 3 are respectively used as the corresponding inputs of the interval number BiGRU neural network model-SOM neural network classifier 1; The output of the BiGRU neural network model of the interval number-SOM neural network classifier 1 is used as the input of the TDL beat delay device 1 and the corresponding input of the GCN graph convolutional network model of the interval number-SOM neural network classifier 2; the output of the TDL beat delay device 1 is used as the corresponding input of the BiGRU neural network model of the interval number-SOM neural network classifier 1; The output of the BiGRU neural network model-SOM neural network classifier 2 of the interval number is used as the input of the TDL beat delay device 2, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number, and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 2 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number; The outputs of the BiGRU neural network model-SOM neural network classifier 3 of the interval number are respectively used as the input of the TDL beat delay device 3, the corresponding input of the BiGRU neural network model-SOM neural network classifier 2 of the interval number, the corresponding input of the BiGRU neural network model-SOM neural network classifier 1 of the interval number and the corresponding input of the GCN graph convolution network model-SOM neural network classifier 2 of the interval number; the output of the TDL beat delay device 3 is used as the corresponding input of the BiGRU neural network model-SOM neural network classifier 3 of the interval number; The output of the interval-numbered GCN graph convolutional network model-SOM neural network classifier 2 is used as the input of the TDL beat delay device 4, and the output of the TDL beat delay device 4 is used as the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 1, the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 2, and the corresponding input of the interval-numbered BiGRU neural network model-SOM neural network classifier 3; GCN graph convolutional network model of interval number-SOM neural network classifier 2 outputs the interval number, which is used to evaluate the safety level of electrical switchgear.
2. The electrical switch cabinet detection method according to claim 1, characterized in that: The switchgear parameter module includes BiGRU neural network model 1-2, BiGRU neural network model-metabolic grey GM (1,1) model 1-2, PSO recursive fuzzy neural network model-BiGRU neural network model 1-2, PSO Elman neural network model 1-2 and triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model; The sensor outputs are respectively used as the input of BiGRU neural network model 1, the corresponding input of Elman neural network model 1 of PSO, the input of BiGRU neural network model-metabolism grey GM (1,1) model 1, the corresponding input of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 1 and the corresponding input of recursive fuzzy neural network model of PSO-BiGRU neural network model 2; The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 1 are respectively used as the corresponding inputs of BiGRU neural network model-metabolism grey GM (1,1) model 2, the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 1 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model; The outputs of BiGRU neural network model-metabolism grey GM (1,1) model 2 are respectively used as the corresponding inputs of PSO recursive fuzzy neural network model-BiGRU neural network model 2 and the corresponding inputs of triangular fuzzy number BiGRU neural network model-PSO recursive fuzzy neural network model; The outputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 1 are respectively used as the corresponding inputs of the recursive fuzzy neural network model of PSO-BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers-recursive fuzzy neural network model of PSO; The output of BiGRU neural network model 1 is used as the corresponding input of Elman neural network model 1 of PSO; the output of Elman neural network model 1 of PSO is used as the corresponding input of recursive fuzzy neural network model-BiGRU neural network model 1 of PSO, the input of BiGRU neural network model 2, the corresponding input of Elman neural network model 2 of PSO and the corresponding input of BiGRU neural network model of triangular fuzzy number-recursive fuzzy neural network model of PSO; the output of BiGRU neural network model 2 is used as the corresponding input of Elman neural network model 2 of PSO; The outputs of the Elman neural network model 2 of PSO are used as the corresponding inputs of the recursive fuzzy neural network model of PSO - BiGRU neural network model 2 and the corresponding inputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO; the outputs of the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO are used as the corresponding inputs of the Elman neural network model 2 of PSO and the BiGRU neural network model - metabolic grey GM (1,1) model 2; the x, y and z output by the BiGRU neural network model of triangular fuzzy numbers - the recursive fuzzy neural network model of PSO constitute the triangular fuzzy values (x, y, z).
3. The electrical switch cabinet detection method according to claim 1, characterized in that: The safety levels of electrical switchgear are divided into safe, relatively safe, general, dangerous and very dangerous.
4. The electrical switch cabinet detection method according to claim 3, characterized in that: The safety level of the electrical switchgear is determined according to this table.
5. An electrical switch cabinet detection device based on the Internet of Things, comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the computer program is executed by a processor, the electrical switch cabinet detection method according to any one of claims 1 to 4 is implemented.
6. An electrical switch cabinet detection system based on the Internet of Things, used to implement the electrical switch cabinet detection method according to any one of claims 1 to 4, characterized in that: It includes an electrical switch cabinet parameter collector 1-n, a switch cabinet information centralized controller, a switch cabinet monitoring terminal, a switch cabinet cloud server platform and a switch cabinet monitoring mobile phone APP. The switch cabinet information centralized controller realizes two-way information interaction between the electrical switch cabinet parameter collector, the switch cabinet monitoring terminal and the switch cabinet cloud server platform, and the switch cabinet monitoring mobile phone APP performs two-way communication with the switch cabinet cloud server platform; The switch cabinet cloud server platform collects, stores and processes big data of electrical switch cabinets. The switch cabinet monitoring terminal realizes the safety assessment of electrical switch cabinets and monitors the operating status of electrical switch cabinets through the switch cabinet monitoring terminal and the switch cabinet monitoring mobile phone APP. The switch cabinet monitoring terminal functions include electrical switch cabinet detection model.
7. The electrical switch cabinet detection system according to claim 6, characterized in that: The electrical switchgear parameter collector and the switchgear information centralized controller form a self-organizing communication network through the 4G communication module.
8. The electrical switch cabinet detection system according to claim 7, characterized in that: The electrical switch cabinet parameter collector includes environmental sensors, current sensors, voltage sensors, vibration sensors, smoke sensors, STM32 microprocessors, input and output interfaces, electric meters, cameras and 4G communication modules. Each sensor is connected to the STM32 microprocessor through the corresponding signal conditioning circuit; the input and output interface, electric meter, camera and 4G communication module are connected to the STM32 microprocessor respectively.
9. The electrical switch cabinet detection system according to claim 7, characterized in that: The switch cabinet information centralized controller includes environmental control equipment, fire-fighting equipment, STM32 microprocessor, 4G communication module, NB-IoT module and USB interface. The environmental control equipment and fire-fighting equipment are connected to the STM32 microprocessor through 2-way D / A conversion circuits, and the 4G communication module, NB-IoT module and USB interface are connected to the STM32 microprocessor respectively; the switch cabinet information centralized controller realizes two-way data interaction with the switch cabinet cloud server platform through the NB-IoT module.
10. The electrical switch cabinet detection system according to claim 9, characterized in that: The switch cabinet monitoring end uses an industrial control computer, which is connected to the switch cabinet information centralized controller through a USB interface to realize information interaction with the electrical switch cabinet parameter collector and the switch cabinet cloud server platform; the switch cabinet monitoring end functions also include switch cabinet communication parameter setting, switch cabinet data analysis and switch cabinet data management.
