One kind being based on wireless sensor network electricity exception data monitoring system
Technical field
The present invention relates to electric power monitoring application fields, and in particular to one kind being based on wireless sensor network electricity exception data
Monitoring system.
Background technology
In power system security monitoring, sensor is often distributed in the key point or weak spot of electric system.These are surveyed
Point layout is relatively disperseed, and since the type difference of electric system is often positioned in different positions.With monitoring time elapse with
And the growth of sensing data volume, sensor management, sensing the tissues of data, there are bigger difficulty, and for sensor
Network node collected data must be just significant in conjunction with its location information in measuring coordinate system.
In addition, working sensor energy consumption used in monitoring is big and is easy to be influenced by environment such as temperature, cause to sense
The data precision measured by device reduces, and further affects the precision and cost of monitoring.
Invention content
In view of the above-mentioned problems, the present invention provide it is a kind of can quick alignment sensor network node while to sensor
Expense and energy, which are constrained, accuracy is higher is based on wireless sensor network electricity exception data monitoring system.
The purpose of the present invention is realized using following technical scheme:
One kind be based on wireless sensor network electricity exception data monitoring system, including sensor network nodes, LAN,
Monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position and are serviced with monitoring center
Device is connected by LAN, and monitoring center's server provides data service to remote user or send out early warning by network to be believed
Breath, can also send out early warning short message by short message alarm module, characterized in that the sensor network nodes include:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
Beneficial effects of the present invention are:
1, the premise that positioning is accurate measurements is carried out to sensor network nodes, setting uses the sensor of oval positioning mode
Network location module simplifies location Calculation, accelerates the locating speed of sensor network nodes, sets up rapidly different to electric power
The monitoring system of regular data;
2, by setting sensor constraints module, for sensor expense and energy constrain, can be to electricity
Power abnormal data carries out saving monitoring cost to greatest extent under the premise of effectively monitoring;
3, general sensor node after a period of use, self-contained power depletion and fail, be arranged in illumination item
The coloring matter sensitization type photocell persistently energized to sensor under part, extends the service life of electricity exception data monitoring system;
4, the corrected data correction module of data for being acquired to sensor is set, improve based on wireless sensing
Device network electric power abnormal data monitors the monitoring accuracy of system.
Description of the drawings
Using attached drawing, the invention will be further described, but the embodiment in attached drawing does not constitute any limit to the present invention
System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings
Other attached drawings.
Fig. 1 is the connection diagram of each intermodule of the present invention.
Specific implementation mode
The invention will be further described with the following Examples.
Embodiment 1
Referring to Fig. 1, the present embodiment one kind being based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position
And be connected by LAN with monitoring center's server, monitoring center's server provides data to remote user by network and takes
It is engaged in or is sent out warning information, early warning short message can be also sent out by short message alarm module, characterized in that the sensor network nodes
Including:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
The present embodiment accelerates the locating speed of sensor network nodes, and setting persistently supplies under illumination condition to sensor
The coloring matter sensitization type photocell of energy extends the service life of monitoring system;Sensor network routing meets bandwidth, delay, delay
Shake, packet loss constraints, fb、fd、fdj、fplValue be all 1, monitoring cost relative reduction 10%;According to sensor
The correction factor m values that type selects are 0.01, and monitoring accuracy is opposite to improve 2%.
Embodiment 2
Referring to Fig. 1, the present embodiment one kind being based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position
And be connected by LAN with monitoring center's server, monitoring center's server provides data to remote user by network and takes
It is engaged in or is sent out warning information, early warning short message can be also sent out by short message alarm module, characterized in that the sensor network nodes
Including:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
The present embodiment accelerates the locating speed of sensor network nodes, and setting persistently supplies under illumination condition to sensor
The coloring matter sensitization type photocell of energy extends the service life of monitoring system;Sensor network routing is unsatisfactory for bandwidth, is delayed, prolongs
When shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.2, monitoring cost relative reduction 15%;According to biography
The correction factor m values that sensor type selects are 0.02, and monitoring accuracy is opposite to improve 3%.
Embodiment 3
Referring to Fig. 1, the present embodiment one kind being based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position
And be connected by LAN with monitoring center's server, monitoring center's server provides data to remote user by network and takes
It is engaged in or is sent out warning information, early warning short message can be also sent out by short message alarm module, characterized in that the sensor network nodes
Including:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
The present embodiment accelerates the locating speed of sensor network nodes, and setting persistently supplies under illumination condition to sensor
The coloring matter sensitization type photocell of energy extends the service life of monitoring system;Sensor network routing is unsatisfactory for bandwidth, is delayed, prolongs
When shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.4, monitoring cost relative reduction 8%;According to sensing
The correction factor m values that device type selects are 0.03, and monitoring accuracy is opposite to improve 5%.
Embodiment 4
Referring to Fig. 1, the present embodiment one kind being based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position
And be connected by LAN with monitoring center's server, monitoring center's server provides data to remote user by network and takes
It is engaged in or is sent out warning information, early warning short message can be also sent out by short message alarm module, characterized in that the sensor network nodes
Including:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
The present embodiment accelerates the locating speed of sensor network nodes, and setting persistently supplies under illumination condition to sensor
The coloring matter sensitization type photocell of energy extends the service life of monitoring system;Sensor network routing is unsatisfactory for bandwidth, is delayed, prolongs
When shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.6, monitoring cost relative reduction 15%;According to biography
The correction factor m values that sensor type selects are 0.04, and monitoring accuracy is opposite to improve 4%.
Embodiment 5
Referring to Fig. 1, the present embodiment one kind being based on wireless sensor network electricity exception data monitoring system, including sensor
Network node, LAN, monitoring center's server and short message alarm module, the sensor network nodes are arranged in tested position
And be connected by LAN with monitoring center's server, monitoring center's server provides data to remote user by network and takes
It is engaged in or is sent out warning information, early warning short message can be also sent out by short message alarm module, characterized in that the sensor network nodes
Including:
(1) location in sensors network module, for obtaining sensor network nodes own location information comprising connect successively
The task-driven submodule that connects, positioning submodule and signal processing submodule, the task-driven submodule by LAN with
Monitoring center's server connects, and task-driven submodule driving positioning submodule obtains itself position of ad-hoc network of sensors node
Confidence ceases, and the signal processing submodule is read self-position after the own location information of the ad-hoc network of sensors node
Information is sent to the monitoring center's server;The positioning submodule is positioned using oval positioning mode, when positioning setting pass
The coordinate of sensor network node is (x, y), and the coordinate of reference mode is (xn,yn), n=A, B, C, D, with (xA,yA) it is used as first
The coordinate of reference mode, with (xm,ym) coordinate as the second reference mode, positioning equation is:
Wherein, m=B, C, D, dAmFor sensor network nodes to the first reference mode, the second reference mode distance and,
It solves equation and obtains the position of sensor;
(2) sensor constraints module, for sensor expense and energy constrain, sensor network is expressed as
Undirected cum rights connection figure W=(N, L), N indicate that number of network node, L indicate that two-way link collection, constraint function are:
Wherein, fb、fd、fdj、fplRespectively bandwidth, delay, delay jitter, packet loss penalty, A, B, C, D are respectively
fb、fd、fdj、fplWeighting 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 routing meets bandwidth, delay, delay jitter, packet loss constraints, fb、fd、fdj、fpl's
Value is all 1, other situations fb、fd、fdj、fplValue all in (0,1) range, expense restriction and energy constraint should be full
Foot straps are wide, are delayed, are minimized under conditions of delay jitter and packet loss constraint;
(3) self-powered module, for being energized to sensor comprising can persistently be energized to sensor under illumination condition
Coloring matter sensitization type photocell;
Further, described based on wireless sensor network electricity exception data monitoring system further includes data correction module
The power detection module being connect with signal processing submodule;
The data that the data correction module is used to acquire sensor are corrected, and the data after correction are sent in monitoring
Correction factor is arranged in central serverWherein T0For local mean temperature, T is sensor gathered data
When real time temperature, m is the correction factor selected according to sensor type, the value of m is arranged in (0,0.05) range, then
T≥T0When, updating formula is:
T < T0When, updating formula is:
Wherein, Y is the one group of data acquired by sensor, YxFor corrected data;
The signal processing submodule reads the power information of the sensor network nodes of power detection module detection, in turn
The power information of sensor network nodes is sent to the monitoring center's server.
Further, before gathered data, realize that the clock of wireless sensor network synchronizes using TPSN algorithms, specifically
Clock jitter is added for the local clock at node to be synchronized, the clock for completing node synchronizes.
The present embodiment accelerates the locating speed of sensor network nodes, and setting persistently supplies under illumination condition to sensor
The coloring matter sensitization type photocell of energy extends the service life of monitoring system;Sensor network routing is unsatisfactory for bandwidth, is delayed, prolongs
When shake, packet loss constraints, fb、fd、fdj、fplValue be all 0.9, monitoring cost relative reduction 12%;According to biography
The correction factor m values that sensor type selects are 0.04, and monitoring accuracy is opposite to improve 4%.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although being explained in detail to the present invention with reference to preferred embodiment, those skilled in the art answer
Work as understanding, technical scheme of the present invention can be modified or replaced equivalently, without departing from the reality of technical solution of the present invention
Matter and range.