Disclosure of Invention
In order to solve the above problems, the present invention provides a transformer monitoring system based on block chain storage.
The purpose of the invention is realized by adopting the following technical scheme:
the block chain storage-based transformer monitoring system comprises a data acquisition module, a block chain storage module and a monitoring module, wherein the data acquisition module is used for acquiring vibration signals and transformer temperature data at each measuring point on the surface of a transformer, storing the acquired data into the block chain storage module and sending the acquired data to the monitoring module; the monitoring module compares the received data with the corresponding standard data range, judges the data beyond the corresponding standard data range as abnormal data, and sends the abnormal data to the block chain storage module for storage.
In one implementation, the blockchain storage module includes:
the user account management unit is used for receiving the application information sent by the user terminal, generating an account and a password of the user terminal and feeding back the account and the password to the user terminal;
the block chain storage unit is used for storing the received data to a corresponding storage node of the block chain;
the access authority distribution unit is used for distributing access authority to the storage nodes in the block chain for the user terminal according to the application information of the user terminal;
and the interaction unit is used for calling out data corresponding to the identification information in the block chain according to the received identification information of the storage node input by the user terminal.
In an implementation manner, the monitoring module includes a data analysis processing unit and a sending unit, the data analysis processing unit is configured to compare the received data with a corresponding standard data range, and determine that data beyond the corresponding standard data range is abnormal data; the sending unit is used for sending the abnormal data to the corresponding storage node in the block chain storage unit.
In an implementation manner, the monitoring module is further configured to alarm a preset user terminal when abnormal data is found.
In an implementation manner, the data acquisition module includes a sensor node and a sink node, and the sink node sends data acquired by the sensor node to the block chain storage module and the monitoring module.
In a mode that can realize, every sensor node includes the sensor, the shell material of sensor is plastics, the both ends of sensor all have two round holes that are used for fixing, the sensor passes through the permanent magnet absorption to be fixed on transformer tank surface.
The invention has the beneficial effects that: the wireless real-time vibration monitoring of the power transformer is realized, the intelligent and convenient monitoring is realized, and the effective storage of monitoring data is realized by adopting a block chain technology.
Detailed Description
The invention is further described with reference to the following examples.
Referring to fig. 1, the transformer monitoring system based on block chain storage provided in this embodiment includes a data acquisition module 1, a block chain storage module 2, and a monitoring module 3, where the data acquisition module 1 is configured to acquire vibration signals and transformer temperature data at each measurement point on the surface of a transformer, store the acquired data in the block chain storage module 2, and send the acquired data to the monitoring module 3; the monitoring module 3 compares the received data with the corresponding standard data range, determines the data beyond the corresponding standard data range as abnormal data, and sends the abnormal data to the block chain storage module 2 for storage.
In one implementation, as shown in fig. 2, the blockchain storage module 2 includes:
the user account management unit 10 is configured to receive application information sent by a user terminal, generate an account and a password of the user terminal, and feed back the account and the password to the user terminal;
a blockchain storage unit 20 for storing the received data to a corresponding storage node of the blockchain;
an access right allocating unit 30, configured to allocate an access right to a storage node in a block chain for a user terminal according to application information of the user terminal;
and the interaction unit 40 is configured to call out data corresponding to the identification information in the block chain according to the received identification information of the storage node input by the user terminal.
In an implementation manner, the monitoring module 3 includes a data analysis processing unit and a sending unit, the data analysis processing unit is configured to compare the received data with a corresponding standard data range, and determine that the data beyond the corresponding standard data range is abnormal data; the sending unit is used for sending the abnormal data to the corresponding storage node in the block chain storage unit.
In an implementation manner, the monitoring module 3 is further configured to alarm a preset user terminal when abnormal data is found.
In an implementation manner, the data acquisition module 1 includes a sensor node and a sink node, and the sink node sends data acquired by the sensor node to the block chain storage module 2 and the monitoring module 3.
In a mode that can realize, every sensor node includes the sensor, the shell material of sensor is plastics, the both ends of sensor all have two round holes that are used for fixing, the sensor passes through the permanent magnet absorption to be fixed on transformer tank surface.
The embodiment of the invention realizes wireless real-time vibration monitoring of the power transformer, is intelligent and convenient, and realizes effective storage of monitoring data by adopting a block chain technology.
In an implementation mode, the initial energy of sensor nodes is different and not zero, the sensor nodes acquire neighbor node information through information interaction, and a neighbor node set is constructed, wherein the neighbor nodes are positioned in the communication range of the sensor nodes; in the data transmission stage, when the sensor node meets the direct communication condition, the sensor node directly sends the acquired data to the sink node, otherwise, the sensor node selects a neighbor node in the neighbor node set as a next hop node and sends the acquired data to the next hop node, wherein the direct communication condition is as follows:
in the formula, Qmin1For a predetermined minimum energy, Q, required to sustain the data acquisition operationmin2For a predetermined minimum energy, Q, required to transmit data to a node at a unit distancei0Is the initial energy of sensor node i, HimaxThe maximum communication distance which can be adjusted by the sensor node i, H (i, sink) is the distance from the sensor node i to the sink node, the sink represents the sink node, g is a preset energy-based influence coefficient, and the value range of g is [0.85,0.90 ]]。
In the embodiment, the direct communication condition is set based on the energy of the sensor node, and a better measurement standard is innovatively provided for the routing mode selection from the sensor node to the sink node, namely when the sensor node meets the direct communication condition, the sensor node directly sends the acquired data to the sink node, otherwise, the sensor node selects the neighbor node in the neighbor node set as the next hop node. The sensor nodes select a proper routing mode based on the direct communication condition, so that the flexibility of routing among the nodes is improved, the energy consumption of sending data by the sensor nodes is reduced, and the working time of the sensor nodes is prolonged.
In an implementation manner, before a sensor node constructs a neighbor node set, each sensor node calculates its own weight according to the following formula, and sends the weight to an interactive sensor node when information interaction is performed between the sensor nodes:
in the formula, SjRepresenting the weight of the sensor node j, H (j, sink) is the distance from the sensor node j to the sink node, HjmaxThe maximum communication distance which can be adjusted by the sensor node j, w is a set weight coefficient and is 0<w<0.5;
The sensor node i selects a neighbor node in the neighbor node set as a next hop node, and specifically comprises the following steps:
sensor node i sets its own direct communication distance HiComprises the following steps:
in the formula, QiIs the current remaining energy of the sensor node i;
the sensor node i is at a distance less than the direct communication distance HiAnd selecting the neighbor node corresponding to the maximum weight value as the next hop node.
The embodiment creatively sets a calculation formula of the weight of the sensor node, the calculation formula calculates the weight based on the maximum communication distance of the sensor node and the distance between the sensor node and the sink node, the position advantage condition of the sensor node when the sensor node forwards data can be better measured, the sensor node selects the neighbor node corresponding to the maximum weight as the next hop node from the neighbor nodes with the distance smaller than the direct communication distance, and the data forwarding efficiency is favorably improved on the premise of ensuring the reliable communication between the sensor node and the next hop node.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.