Research on Electrical Equipment Monitoring and Early Warning System Based on Internet of Things Technology

With the rapid increase of global population, the power load increases rapidly, and the electrical equipment such as generator, transformer, and power line in the power system is an important basis for production and life. Its safe operation is of great significance because it is related to people’s economic development and life stability. In recent years, with the rapid development of Internet of (ings technology, the Internet of (ings and electrical equipment safety early warning are combined to use their respective advantages to provide a new way for electrical equipment monitoring and early warning system. (rough a variety of key technologies of the Internet of (ings, such as sensor technology, network communication technology, and cloud computing technology, data, information exchange, and communication between electrical equipment and Internet technology are carried out according to the agreed protocol, and the safety of the operation status of electrical equipment is monitored in real time, so as to prevent power equipment failure and other problems. Based on this background, this paper studies the Internet of (ings technology and electrical equipment monitoring and early warning system and analyzes its three-tier network architecture mode from the Internet of (ings technology, namely, perception layer, network layer, and application layer. (e combination of cloud computing and edge computing is studied and analyzed to provide theoretical support for the research of electrical equipment monitoring and safety early warning system. (e wireless sensor network equipment is also installed on the electrical equipment through the Internet of (ings technology to transmit data to the base station, so as to monitor whether the equipment operates safely. (e monitoring and early warning system of wireless sensor system based on Internet of (ings is given through case experiment. (is system realizes relevant intelligent application services, which can not only ensure the stability of information transportation but also real-time monitoring of electrical equipment, early warning, shorten troubleshooting time, reduce the workload of power station staff, and achieve the functions of safety early warning, emergency command, and control. It is of great significance to the monitoring and early warning system of electrical equipment.


Introduction
Nowadays, electric energy is very important to human beings. Now, most power systems adopt unmanned monitoring mode, so the safety of electrical equipment operation is very important. It plays a great role to put data in staff's mobile devices anytime and anywhere through Internet of ings technology.
has become a key research object at present. e smart grid constructed by applying Internet of ings technology to power system [6] and intelligent sensing technology [7] has the characteristics of more stable, faster, and more effective information transmission [8].
For the running electrical equipment [9], its temperature is a very important reference base. Its operating temperature, relative temperature rise, and periodic relative temperature difference [10] can reflect whether the equipment is running safely. Any too large or too small temperature may cause irreparable consequences. e equipment is overloaded under high voltage for a long time [11]. At present, most of the electrical equipment adopts the traditional closed structure, and the heat dissipation effect is not obvious, which is more likely to lead to the abnormal increase of its temperature. If it cannot be found and repaired in time, it will cause electrical equipment damage and even more serious power production accidents.
In the condition monitoring mode of electrical equipment based on Internet of ings technology, sensor monitoring network [12] adopts intelligent sensing technology [13], such as FBG sensor [14] and piezoelectric sensor [15] and location tracking technology [16], such as RFID technology [17] or WSN technology [18], for seamless integrated development [19]. Connect the electrical equipment with the Internet, create an intelligent cycle of safety monitoring, prediction, and control [20], and carry out intelligent identification, tracking, and monitoring. Digital wireless temperature monitoring [21] and other equipment are mainly used for real-time monitoring of electrical equipment, power cables, connectors, capacitors, reactors, and other equipment, abandoning the regular maintenance and traditional temperature measurement methods under the traditional mode, such as temperature indicator measurement [22] and infrared temperature measurement [23], monitoring the operation data of electrical equipment in real time through Internet of ings technology and intelligent technology, and evaluating the operation status of equipment, so as to provide decision-making basis for electrical equipment maintenance and ensure its safety and stability. Such a monitoring and early warning system not only saves a lot of human and material resources but also has the characteristics of fast response, high precision, real-time online early warning, rapid fault location, no omission, and strong anti-interference ability. erefore, the study of electrical equipment monitoring and early warning system on the Internet of ings is of great significance for people's production and life. Intelligent system [24], efficient management, and comfortable and fast electrical equipment monitoring will also bring significant economic benefits to the energy system. e application and development of Internet of ings technology in power system also has a great impact.

Development of Internet of ings.
e concept of the Internet of ings was first put forward by Bill Gates in 1995.
He repeatedly put forward the idea of "Internet of ings." Based on this, after formal and in-depth research by many scientists, the concept of the Internet of ings was obtained, that is, a new world of perception, interconnection, and intelligence of all things. So far, Internet of ings technology has become a major development strategy of countries all over the world. Figure 1 briefly describes the development background of the Internet of ings.
Internet of ings technology develops through three social backgrounds: IT technology and industry, management science, and economic and social development. IT technology and industry realize Internet of ings technology through seven aspects: automation, computer, and communication. Under the background of the development of management science, it is realized through e-commerce and modern logistics. Under the background of economic and social development, it is realized through industrial structure transformation, industrialization and information integration, production internationalization, and so on.
Under this development background, IOT technology is gradually applied to smart grid, digital ocean, satellite positioning, and other industries, especially in power system. Various key technologies of IOT technology will be used in IOT architecture. Its application technology is shown in Figure 2.
As can be seen from the figure, there are many key technologies in the Internet of ings technology, such as cloud computing technology, network communication technology, sensor technology, and other key technologies.

Intelligent Electrical Equipment Monitoring and Early
Warning System. Electrical equipment monitoring and early warning system is an important part of intelligent energy system and an important embodiment of intelligent energy system. By introducing a variety of advanced technologies such as Internet of ings technology, modern communication technology, visualization technology, and control technology, the system intuitively shows the operation safety of electrical equipment such as generators, the intelligent monitoring, and early warning of transformers and power lines in the energy system, as well as substations and power, so as to realize the integration with ERP infrastructure management and control module PMS information access, so as to realize the integrated automation system and provide important support for the safe operation, overhaul, and maintenance of the safety early warning system. e intelligent system takes the power architecture as the foundation, integrates the Internet of ings technology, and constructs the three-tier structure of the substation: process layer, bay layer, and station control layer. Data transmission through wireless communication provides support for intelligent power informatization, automation, and interaction. Figure 3 shows the overall structure of the intelligent control system for electrical equipment.
In the three-tier structure, the properties are different: the bay layer mainly refers to relay protection, measurement and control, wave recording, etc.; the station control layer mainly refers to plant level monitoring, and the process layer is the intelligent equipment in the exponential substation. e equipment at each level is different. e equipment at the station control level mainly refers to the monitoring master station, engineer station, information substation, etc. Process layer equipment includes intelligent circuit breaker replacement equipment, intelligent terminal, and electronic transformer merging unit.
Based on the analysis of the hierarchical structure model of the intelligent power system control system combining modern power system and Internet of ings technology,   Mathematical Problems in Engineering the process level of this system is like the state perception level of Internet of ings, and this level can best reflect the core technology of Internet of ings. is hierarchical structure collects the status signals of power equipment by means of wireless temperature sensor, wireless water intrusion sensor, RFID sensor, SF6 sensor, smoke sensor, and micro meteorological sensor and transmits the status data by means of Ethernet, wireless communication, and RS-485 bus. e second layer is the basic architecture connecting the station control layer and the process layer, which is equal to the network level in the Internet of ings. It can carry out information transmission such as online information monitoring data collection and control. All subsystems are interconnected through IEC61850 protocol. Finally, the station control layer is also equal to the application layer of the Internet of ings to control the whole system. e system workstation realizes the unified reception and analysis of signals for early warning and visual display. Unidirectional isolation equipment and integrated automatic control system can also be used to achieve the effect of big data interconnection.
Each subsystem in the whole system has different divisions of labor. According to different business functions, it is divided into three functional modules: power monitoring, environmental monitoring, and operation and maintenance. e main goal of the power monitoring module is to monitor the operation energy of intelligent primary and secondary equipment. It mainly collects the data of the substation integrated automation system for visual display, alarm threshold setting, and camera linkage. It realizes the real-time monitoring of battery voltage, current, and operation status. e environmental monitoring module monitors the buildings around the substation and the changes of the surrounding environment, including security monitoring, operation environment monitoring, and indoor intelligent management. e safe operation and maintenance of electrical equipment is the basic work to ensure the substation. e module automatically collects the RFID tag information of electrical equipment for intelligent inspection.

Collaboration between Cloud Computing and Edge
Computing. Cloud computing can be understood as a kind of distributed computing. rough the network "cloud," a large number of data computing and processing programs are decomposed into countless small processing programs, which are analyzed and processed through a system  composed of multiple servers. Cloud computing has the characteristics of large-scale, distributed, virtualization, high availability, high scalability, and more economic and security. Figure 4 reflects the Internet of ings architecture based on cloud computing. e network "cloud" connects users and sensing devices, receives data from sensing devices, calculates, and stores the received data of electrical equipment operation in cloud computing mode and finally transmits the structure of analysis and processing to terminal devices.
Edge computing is a computing mode for computing, processing, and analyzing at the edge of the network. An edge can be any resource between a data access point and a cloud. e principle of edge computing is to calculate and process in the accessories of the data access point, realize intelligence at the network edge, and provide intelligent services nearby.

Security Monitoring Based on Wireless Sensor Network (WSN) Technology.
Wireless sensor network technology is a network structure composed of a large number of intelligent sensor nodes deployed in the monitoring area. is structure integrates sensor technology, embedded computing, distributed information processing technology, and wireless communication technology for real-time monitoring, information perception and collection, data processing and analysis, and transmission to the terminal. e system based on wireless sensor technology has the characteristics of large capacity, low wiring cost, not affected by harsh environmental conditions and high monitoring accuracy. It is widely used in the safety early warning system of electrical equipment. It has strong ability to interfere with the environment and can realize wireless mode, which greatly reduces the space occupancy and system complexity. It has great advantages and functions in the power system, and its structure is shown in Figure 5.
Sensor nodes are distributed in the whole monitoring system to form a wireless network in the form of organization, transmit the collected data to the base station, analyze and process the data, then use it evenly on the Internet, transmit the mobile network or satellite to the pocket node, and finally configure it to manage and control the sensor network through the task node.

Safety Prediction of the System Based on Regression
Analysis. e so-called safety prediction of electrical equipment is to predict the data of operation status through scientific methods such as Internet of ings technology and judge the place and situation of possible failure, including cause, process, and severity.
rough the prediction of dangerous conditions, early warning, and corresponding safety measures for their occurrence, we can avoid risks, ensure safety, and save resources.
Regression analysis is to determine the relationship between independent variables and dependent variables according to the principle of mathematical statistics, establish a linear regression equation, and calculate the change trend of dependent variables through the equation. According to the model, the regression equation is determined according to the previous electrical equipment fault data, and the development trend of error is predicted.
Gauss Markov hypothesis: the vector composed of random variables has normal characteristics.
Mathematical expectation: Variance covariance matrix: e expected value of the random vector y condition obtained based on formula (1): Variance covariance matrix: Here, x j is a definite variable, there is no random component, and there is no correlation between its element components. Based on formula (1), the least-squares estimators of b 0 , b 1 , . . . , b k , where the sampling distribution obeys the positive distribution: where b i is an unbiased estimate of B i ; i.e., the variance is Among them, R 2 i is the negative correlation coefficient, and then the normal equation is established.
K factors are known in multiple linear regression, that is, k-ary linear regression. Sample data are ., x 1n , x 2n , . . . , x kn , y n .
To establish the regression model:
S ij � S ji , erefore, we can obtain Simplifying (b) and (S y ): we can obtain (S ij ) If it is reversible, the following solution can be obtained: So, we can obtain Finally, the regression equation is obtained:

Kalman Filtering Algorithm.
e algorithm estimates the real-time data and the corresponding state of the previous moment and recurses through the system state transition equation. For any dynamic system, Kalman filtering model can be divided into state and observation equations: where X k represents the n-1 order state vector at time k, L k represents the m-1 order state vector at time k, G k−1 represents the system time n×r dynamic noise matrix of order r, F (k/k−1) indicates that the system changes from time k-1 to time k n × n order state transition matrix, V k represents the observation noise of order m-1 at time k of the system, and H k represents system K time m×n order observation matrix. Setting W k as the dynamic noise and V k as the observation noise, which is a Gaussian white noise sequence, their statistical characteristics are where Q k and R k are the variance matrix of dynamic noise and observation noise and δ kj is the logic function.
X 0 is the initial state of the system, normal distribution, and W k , V k irrelevant: Set target initial state X 0 , P 0 to get the least square difference of X t .
Calculate the residual first: en calculate the residual covariance: Calculate the gain: Finally, update the status: erefore, the Kalman filtering algorithm is executed recursively after sampling in each cycle.

BP Neural Network
Algorithm. BP network can also be called backpropagation neural network. Its structure can be simply divided into three layers: feedforward, multilayer, and perceptron network. is algorithm repeatedly trains the collected sample data and constantly modifies the network weight and threshold to minimize the error and achieve the desired goal for the output data. BP generally includes input layer middle layer (hidden layer), and output layer. Each layer consists of several neuron groups and is fully connected with the previous layer by switching weights. In the input layer, when an input neuron receives a signal, it is transmitted to each neuron in the middle layer (hidden layer) (hidden layer), each neuron calculates the sum, and then the nonlinear activation function is used to generate the output signal and transmit it to the output layer. e processing of the last message transmitted to the output stage, that is, the subsequent upward increase, is considered to have been completed, and the starting layer is responsible for displaying the results to the outside world. In case of actual loss, if the output does not match the expected output, it is necessary to perform the error return multiplication procedure. Output error starts from the output, adjusts and updates the weight and threshold of each layer, and gradually converts the transmission to the middle layer and input layer. e process of repeated information forward expansion and error recovery is to adjust the weight of each layer of the whole neural network.
In the calculation process, only when the set training times or the calculated global network error is less than the general value, if the global error accuracy error is very small, the whole learning process of the algorithm ends. If you are not satisfied with the results, you must update the training mode. A round of learning process runs again until the final conditions are met, and the BP three-layer network model can meet the requirements of high precision.

Kalman-BP Neural Network
Algorithm. Kalman algorithm and BP algorithm have their own advantages. ey are widely used in many fields such as Internet of ings technology and have very high practical value. However, there are still some deficiencies in the application of these two algorithms to the field of equipment safety early warning. For example, Kalman algorithm must be based on the existing accurate model and existing data for calculation. For large and complex systems, the establishment of accurate model and data acquisition are not so easy, and the measurement accuracy cannot be realized. BP algorithm can meet the needs of high precision, but it has some problems, such as small part, slow speed, and weak ability to external interference. erefore, we can combine the two to form a new algorithm, namely, Kalman-BP neural network algorithm. is algorithm can combine the two algorithms to make up for the shortcomings of their algorithms and achieve the desired effect. is algorithm replaces the characteristics of adjusting and updating weights and thresholds in BP algorithm with Kalman filtering algorithm and uses Kalman algorithm to train adjusting and updating weights and thresholds. e filtering idea is mainly brought into the BP audit network and optimized after adjustment; that is, the mathematical model is where W k is the BP weight vector; ω k is the system process noise; I k is the state transition matrix; y k is the expected output value; and H k is the observation matrix.

Experimental Comparison and Analysis
We collected real data and compared three algorithms, Kalman algorithm, BP algorithm, and Kalman BP algorithm, taking the lightning protection safety facility SPD (surge protector) in electrical equipment as an example, the voltage and current state data of electrical equipment are verified. e voltage of surge protector is mainly affected by electric field voltage, current and temperature. e input data of three algorithms are compared and analyzed, respectively, to obtain the optimal algorithm.

For Prediction Error
Value. 12 groups of data are extracted from the data collected continuously for 45 days and 1080 hours for experimental analysis.
e predicted values are compared with the measured values by using Kalman algorithm, BP algorithm, and Kalman BP algorithm, and the error value is obtained. e optimal algorithm is the one with the smallest error, as shown in Table 1.
Comparison of 12 groups of data under phase A voltage and their relative error values are shown in Figures 6 and 7: It can be seen from the comparison diagram of the two experimental results that under the A-phase voltage, the Kalman-BP algorithm, a combination of BP algorithm and Kalman algorithm, is much better than the original single algorithm. e error value of this algorithm is less than 4%, and neither Kalman algorithm nor BP algorithm can achieve this effect. For the accuracy of the results, the comparison of error values under phase B voltage and phase C voltage is also carried out, as shown in Figures 8 and 9.
rough comparative experiments, for phase B and C voltages, the relative error of the prediction results of Kalman BP algorithm is still less than that of the traditional algorithm. erefore, the function of Kalman-BP algorithm for electrical equipment safety early warning system is greater than that of the traditional algorithm. It can be closer to the actual prediction value and achieve better prediction effect. It can be used for monitoring and prediction of surge protector and early warning of equipment operation state, which has great practical value.

Calculation Speed.
Finally, we also compare the operation speeds of the three algorithms under three voltages and calculate them in milliseconds (MS), as shown in  rough the experimental data, it is found that the speed of Kalman BP algorithm is obviously better than the other two algorithms.
is algorithm has obvious advantages under any voltage. It is also more helpful in practical application.
After the whole experiment, through the experimental data, it can be seen that this system realizes relevant intelligent application services, which can ensure not only the stability of information transportation but also real-time monitoring of electrical equipment, early warning, shorten the troubleshooting time, reduce the workload of power station staff, and achieve the role of safety early warning, emergency command, and control. It is of great significance to the monitoring and early warning system of electrical equipment.

Experimental Summary.
rough the comparison of several algorithms in the above experiments, it is not difficult to see that Kalman-BP algorithm is obviously superior to Kalman and BP algorithm in terms of computational efficiency and accuracy. is algorithm can verify the results more accurately under phase A, B, and C voltages. erefore, the algorithm based on Internet of ings technology for monitoring and early warning of electrical equipment is very important. is algorithm can reduce the amount of data calculation, improve efficiency, remove redundancy, and improve calculation accuracy. is system realizes relevant intelligent application services, which can not only ensure the stability of information transportation but also monitor the electrical equipment in real time, give early warning in advance, shorten the troubleshooting time, reduce the workload of power station staff, and achieve the role of safety early warning, emergency command and control. It is of great significance to the monitoring and early warning system of electrical equipment.
In the electrical equipment monitoring and early warning system, the Internet of ings technology must become the main research and development of today's society. Because in modern society, Internet technology basically occupies the whole life of human production and life, which is basically inseparable from the participation of the     Internet. erefore, the development and application of Internet of ings technology will bring great changes to our production and life.

Conclusion
At present, the monitoring and early warning system of electrical equipment is not perfect and is still in the early stage of construction. Technicians are also required to carry out experimental research and development. However, with the rapid development of modern Internet of ings technology, building large and complex systems with Internet of ings has become a basic trend. erefore, the construction of monitoring and early warning system for electrical equipment through Internet of ings technology is helpful to monitor the change trend of risk factors in real time and improve the sensitivity and reference of risk factors. In the case of no one on duty, it effectively solves the problem of no monitoring of power equipment in the parts prone to safety accidents, so as to achieve online and realtime monitoring, prevent equipment damage caused by various factors, and improve the reliability and safety of operation. erefore, the development and application of Internet of ings technology will bring great changes to our production and life and bring new vitality to all fields of life. As an important industry for global development, power industry is particularly important for power energy economy.
rough the research on power generation monitoring and early warning, we can find new and better methods to implement safety management and control, provide more opportunities to improve the internal safety of power grid, equipment, and personnel, improve performance, and improve people's happiness index.

Data Availability
e experimental data used to support the findings of this study are available from the corresponding author upon request.