A kind of based on wireless sensor network electricity exception data monitoring system
Technical field
The present invention relates to electric power monitoring application, be specifically related to a kind of based on wireless sensor network electricity exception data
Monitoring system.
Background technology
In power system security is monitored, sensor is often distributed in key point or the weak spot of power system.These are surveyed
Point layout is relatively decentralized, and owing to the type difference of power system is often positioned in different positions.Along with monitoring the time passage with
And the growth of sensing data volume, there is bigger difficulty, and for sensor in management, the tissue of sensing data at sensor
The data that network node is collected must be the most meaningful in conjunction with its positional information in measuring coordinate system.
Additionally, the working sensor energy consumption that used of monitoring is big and is easily subject to the impact of the environment such as temperature, cause sensing
The data precision measured by device reduces, and have impact on precision and the cost of monitoring further.
Summary of the invention
For the problems referred to above, the present invention provide a kind of can quickly alignment sensor network node, simultaneously to sensor
Expense and energy carry out retraining, degree of accuracy is higher based on wireless sensor network electricity exception data monitoring system.
The purpose of the present invention realizes by the following technical solutions:
A kind of based on wireless sensor network electricity exception data monitoring system, including sensor network nodes, LAN,
Monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position and services with monitoring center
Device is connected by LAN, monitoring center's server by network to long-distance user provide data, services or send early warning believe
Breath, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes includes:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The invention have the benefit that
1, positioning sensor network nodes is the premise of accurate measurements, arranges the sensor using oval positioning mode
Network location module, simplifies location Calculation, accelerates the locating speed of sensor network nodes, sets up electric power rapidly different
The monitoring system of regular data;
2, by setting sensor constraints module, for expense and the energy of sensor are retrained, it is possible to electricity
Power abnormal data saves monitoring cost on the premise of effectively monitoring to greatest extent;
3, after general sensor node uses a period of time, self-contained power depletion and lost efficacy, be arranged on illumination bar
Continue the coloring matter sensitization type light cell of energy supply under part to sensor, extend the service life of electricity exception data monitoring system;
4, it is provided for the data correction module that the data of sensor acquisition are corrected, improves based on wireless sensing
The monitoring accuracy of device network electric power abnormal data monitoring system.
Accompanying drawing explanation
The invention will be further described to utilize accompanying drawing, but the embodiment in accompanying drawing does not constitute any limit to the present invention
System, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to the following drawings
Other accompanying drawing.
Fig. 1 is the connection diagram of each intermodule of the present invention.
Detailed description of the invention
The invention will be further described with the following Examples.
Embodiment 1
Seeing Fig. 1, the present embodiment is a kind of based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position
And be connected by LAN with monitoring center server, monitoring center's server provides data to take by network to long-distance user
It is engaged in or sends early warning information, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes
Including:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The present embodiment accelerates the locating speed of sensor network nodes, is arranged under illumination condition and persistently supplies to sensor
The coloring matter sensitization type light cell of energy extends the service life of monitoring system;Sensor network route meets bandwidth, time delay, time delay
Shake, packet loss constraints, fb、fd、fdj、fplValue be all 1, monitoring cost relative reduction 10%;According to sensor
The correction factor m value of type selecting is 0.01, and monitoring accuracy improves 2% relatively.
Embodiment 2
Seeing Fig. 1, the present embodiment is a kind of based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position
And be connected by LAN with monitoring center server, monitoring center's server provides data to take by network to long-distance user
It is engaged in or sends early warning information, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes
Including:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The present embodiment accelerates the locating speed of sensor network nodes, is arranged under illumination condition and persistently supplies to sensor
The coloring matter sensitization type light cell of energy extends the service life of monitoring system;Sensor network route is unsatisfactory for bandwidth, time delay, prolongs
Time shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.2, monitoring cost relative reduction 15%;According to biography
The correction factor m value of sensor type selecting is 0.02, and monitoring accuracy improves 3% relatively.
Embodiment 3
Seeing Fig. 1, the present embodiment is a kind of based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position
And be connected by LAN with monitoring center server, monitoring center's server provides data to take by network to long-distance user
It is engaged in or sends early warning information, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes
Including:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The present embodiment accelerates the locating speed of sensor network nodes, is arranged under illumination condition and persistently supplies to sensor
The coloring matter sensitization type light cell of energy extends the service life of monitoring system;Sensor network route is unsatisfactory for bandwidth, time delay, prolongs
Time shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.4, monitoring cost relative reduction 8%;According to sensing
The correction factor m value of device type selecting is 0.03, and monitoring accuracy improves 5% relatively.
Embodiment 4
Seeing Fig. 1, the present embodiment is a kind of based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position
And be connected by LAN with monitoring center server, monitoring center's server provides data to take by network to long-distance user
It is engaged in or sends early warning information, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes
Including:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The present embodiment accelerates the locating speed of sensor network nodes, is arranged under illumination condition and persistently supplies to sensor
The coloring matter sensitization type light cell of energy extends the service life of monitoring system;Sensor network route is unsatisfactory for bandwidth, time delay, prolongs
Time shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.6, monitoring cost relative reduction 15%;According to biography
The correction factor m value of sensor type selecting is 0.04, and monitoring accuracy improves 4% relatively.
Embodiment 5
Seeing Fig. 1, the present embodiment is a kind of based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, described sensor network nodes is arranged in tested position
And be connected by LAN with monitoring center server, monitoring center's server provides data to take by network to long-distance user
It is engaged in or sends early warning information, it is possible to sending early warning note by short message alarm module, it is characterized in that, described sensor network nodes
Including:
(1) location in sensors network module, is used for obtaining sensor network nodes own location information, and it includes connecting successively
Task-driven submodule, locator module and the signal processing submodule connect, described task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule drives locator module to obtain self position of ad-hoc network of sensors node
Confidence ceases, by self-position after the own location information of the described signal processing submodule described ad-hoc network of sensors node of reading
Information delivers to described monitoring center server;Described locator module uses oval positioning mode to position, and arranges biography during location
The coordinate of sensor network node is that (x, y), the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) as first
The coordinate of reference mode, with (xm,ym) as the coordinate of the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the distance of the second reference mode and,
Solving equation obtains the position of sensor;
(2) sensor constraints module, for retraining expense and the energy of sensor, is expressed as sensor network
Undirected cum rights connects figure W=(N, L), and N represents that number of network node, L represent two-way link collection, and constraint function is:
Wherein, fb、fd、fdj、fplBeing respectively bandwidth, time delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeight coefficient, [∑l∈Lc(l)+∑n∈NC (n)] it is expense restriction, [∑l∈Lp(l)+∑n∈NP (n)] it is energy
Amount constraint;
When sensor network route meets bandwidth, time delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in the range of (0,1), expense restriction and energy constraint should be full
Minima is taken under conditions of foot straps width, time delay, delay jitter and packet loss constraint;
(3) self-powered module, for sensor energy supply, it includes to continue energy supply to sensor under illumination condition
Coloring matter sensitization type light cell;
Further, described data correction module is also included based on wireless sensor network electricity exception data monitoring system
And the power detecting module being connected with signal processing submodule;
Described data correction module is for being corrected the data of sensor acquisition, and the data after correction are sent in monitoring
Central server, arranges correction factorWherein T0For local mean temperature, T is sensor acquisition data
Time real time temperature, m is the correction factor selected according to sensor type, arranges the value of m in the range of (0,0.05), then
T≥T0Time, updating formula is:
T < T0Time, updating formula is:
Wherein, Y is by the one of sensor acquisition group of data, YxFor data after correction;
Described signal processing submodule reads the power information of the sensor network nodes of power detecting module detection, and then
The power information of sensor network nodes is sent to described monitoring center server.
Further, before gathering data, the clock using TPSN algorithm to realize wireless sensor network synchronizes, specifically
Synchronize plus clock jitter, the clock completing node for the local clock at node to be synchronized.
The present embodiment accelerates the locating speed of sensor network nodes, is arranged under illumination condition and persistently supplies to sensor
The coloring matter sensitization type light cell of energy extends the service life of monitoring system;Sensor network route is unsatisfactory for bandwidth, time delay, prolongs
Time shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.9, monitoring cost relative reduction 12%;According to biography
The correction factor m value of sensor type selecting is 0.04, and monitoring accuracy improves 4% relatively.
Last it should be noted that, above example is only in order to illustrate technical scheme, rather than the present invention is protected
Protecting the restriction of scope, although having made to explain to the present invention with reference to preferred embodiment, those of ordinary skill in the art should
Work as understanding, technical scheme can be modified or equivalent, without deviating from the reality of technical solution of the present invention
Matter and scope.