CN106131797B - A kind of water-saving irrigation monitoring network localization method based on RSSI ranging - Google Patents

A kind of water-saving irrigation monitoring network localization method based on RSSI ranging Download PDF

Info

Publication number
CN106131797B
CN106131797B CN201610415896.9A CN201610415896A CN106131797B CN 106131797 B CN106131797 B CN 106131797B CN 201610415896 A CN201610415896 A CN 201610415896A CN 106131797 B CN106131797 B CN 106131797B
Authority
CN
China
Prior art keywords
node
anchor node
monitoring
error
rssi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610415896.9A
Other languages
Chinese (zh)
Other versions
CN106131797A (en
Inventor
张新荣
常波
徐保国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaiyin Institute of Technology
Original Assignee
Huaiyin Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaiyin Institute of Technology filed Critical Huaiyin Institute of Technology
Priority to CN201610415896.9A priority Critical patent/CN106131797B/en
Publication of CN106131797A publication Critical patent/CN106131797A/en
Application granted granted Critical
Publication of CN106131797B publication Critical patent/CN106131797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04W4/04
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0205Details
    • G01S5/021Calibration, monitoring or correction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/10Position of receiver fixed by co-ordinating a plurality of position lines defined by path-difference measurements, e.g. omega or decca systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A kind of water-saving irrigation monitoring network localization method based on RSSI ranging, including following methods: step 1: propagating the range information that modeling obtains rapidly monitoring node using signal;Step 2: by comparing the difference for measuring distance and actual range between anchor node, obtaining the relative error coefficient of each anchor node, communicates with measurement distance in range between anchor node to be used to correct monitoring node;Step 3: the coordinate of monitoring section is calculated using ranging weighted mass center location algorithm;Step 4: the coordinates correction of monitoring node.This method fully considers the influence to positioning accuracy such as RSSI range error and anchor node quantity, good locating effect can be obtained, it can satisfy network environment badly and position the location requirement that the limited large-scale field irrigation area soil moisture content of cost monitors system, this method has higher positioning accuracy and lower computation complexity compared with common L basic fixed position algorithm.

Description

A kind of water-saving irrigation monitoring network localization method based on RSSI ranging
Technical field
The present invention relates to the water-saving irrigation monitoring network localization methods based on RSSI ranging.
Background technique
In order to understand farmland irrigated area ambient soil soil moisture content situation at any time, the quality of production is improved, is filled based on farmland automatic water-saving The actual demand of monitoring system is irrigate, and for the actual demand of water-saving irrigation monitoring node positioning, needs to save farmland automatically The monitoring node that water is irrigated in monitoring wireless sensor network is positioned.
Wireless sensor network (wireless sensor networks, WSN) is by a large amount of miniature low-power consumption sensor sections Point takes self-organizing and multi-hop mode to form, and can monitoring region inner ring border information be perceived, acquired and is wirelessly transferred, and With cooperation distributed treatment ability, becomes one of the data processing platform (DPP) of current great development and application potentiality, be mainly used in The various fields such as defense military, space exploration and Agricultural Environmental Monitoring and water-saving irrigation.In practical applications, monitoring node Position coordinates are the important features of sensor acquisition information, therefore monitoring node positioning is very necessary.Expansion is rapid, fault-tolerance is strong Wireless sensor network is made to monitor the application development in field very in water-saving irrigation and soil moisture content with characteristics such as long working lifes Fastly, the direct method for obtaining monitoring node position at present is using global positioning system (global positioning System, GPS) Lai Shixian, but the restriction by cost and environmental condition, in water-saving irrigation monitoring wireless sensor network It cannot achieve.
Location mechanism generally can be divided into the positioning based on ranging (Range-Based) and be not necessarily to ranging (Range- at present Free two class of positioning).Range-Free mechanism without measuring distance or angle, but because error it is larger without be able to satisfy precision compared with High application demand.Range-Based mechanism need to measure distance or or information, the common location algorithm such as angle orientation have Received signal strength indicator (RSSI), arrival time (TOA), step-out time (TDOA) and angle of arrival (AOA) etc., latter three need It is additional to increase equipment, higher cost.
RSSI location algorithm is without increasing additional measuring device, but the shadow by environmental signal decaying and multipath effect It rings, range accuracy is barely satisfactory, needs to reduce range error with the use of the methods of repeatedly measurement, circulation refinement.RSSI is surveyed Away from modeling is propagated using RF signal, by the relationship established between received signal strength decaying and communication distance, by signal strength It is converted into the distance of transmitting terminal and receiving end.Different zones or different directions in environment can not make RSSI value not Together, this adverse effect is mainly reflected on path-loss factor, and uses fixed path loss empirical value that can pass because of signal It broadcasts the variation in region and reduces range accuracy.
Summary of the invention
It is fixed that in view of the above existing problems in the prior art, the present invention provides the water-saving irrigation monitoring networks based on RSSI ranging Position method, this method fully consider the influence to positioning accuracy such as RSSI range error and anchor node quantity, can obtain good Locating effect, can satisfy network environment badly and the limited large-scale field irrigation area soil moisture content monitoring system of positioning cost Location requirement, this method compared with common LS basic fixed position algorithm have higher positioning accuracy and lower calculatings complexity Degree.
To achieve the goals above, the present invention provides a kind of water-saving irrigation monitoring network positioning side based on RSSI ranging Method, comprising the following steps:
Step 1: the range information that modeling obtains rapidly monitoring node is propagated using signal;
Using logarithm-normal distribution model, RSSI value is expressed as
PR (d)=P+G-PL(d) (1)
Wherein, P and G is transmission power and antenna gain respectively, and PL (d) is the path loss after distance d, because having
Wherein, PL(d0) it is signal by reference distance d0When power loss, n is path loss index, d0For with reference to away from From being generally taken as 1m, therefore have
Wherein, PR (d0) it is distance d0The received signal strength at place, XσFor the Gauss that average value is 0, standard deviation is 4~10 Random noise, PR (d) value that monitoring node measures is bigger, illustrates that distance is closer, the error generated by PR (d) deviation is smaller, nothing Line signal passes through reference distance d0Path loss P afterwardsL(d0) be expressed as
In formula, GtAnd GrRespectively transmitter antenna gain (dBi) and receiving antenna gain, unit dBi;L is system loss coefficient; λ is RF wireless signal wavelength, unit m, then PR (d0) can be calculated by following formula
PR(d0)=P+G-PL(d0) (4)
The monitoring node to be positioned uniformly random deployment in wireless monitor region is set, the monitoring node possesses phase Same communication radius, and communication range can be expressed as a regular circle shapes region, by formula (2), if d0=1m, then have
PR (d)=PR (1) -10nlgd+Xσ (5)
If uniformly random in monitoring node communication range deploy enough monitoring nodes, according to PR (d) The relationship being inversely proportional with distance d, it can be assumed that the smallest received signal strength PRminCorresponding maximum distance is dmax, then have
PRmin=PR (1) -10nlgdmax+Xσ (6)
Therefore have
Wherein, dmaxIt is considered communication radius r herein;
In multiple RSSI values that unknown node obtains, taking the smallest RSSI value is PRmin, corresponding dmax=r can be obtained Unknown node to anchor node d value;
Step 2: it by comparing the difference for measuring distance and actual range between anchor node, obtains the opposite of each anchor node and misses Poor coefficient communicates with measurement distance in range between anchor node to be used to correct monitoring node;
If anchor node is Ai(xi, yi), i=1,2 ..., n, wherein n is the anchor node number for participating in correction and calculating;A0(x0, y0) it is anchor node to be corrected, A0(x0, y0) arrive Ai(xi, yi) actual range be respectively ri, i=1,2 ..., n pass through PR (d) Measuring obtained distance is respectively di, i=1,2 ..., n;
RSSI ranging relative error is denoted as
Then anchor node Ai(xi, yi) at weighting ranging relative error correction coefficient be
μwThe rssi measurement error of anchor node is reflected, it is considered herein that weight shared by different PR (d), between monitoring node Distance is bigger, and the range error as caused by the deviation of PR (d) is bigger, then considers the weight to correction coefficient with regard to smaller;
Then anchor node correction distance expression formula is
In formula, duiIt is monitoring node and anchor node RiBetween measurement distance, unit m;It is monitoring node and anchor section Point RiBetween corrected range, unit m;μwFor anchor node RiWeighting ranging relative error correction coefficient;
Step 3: the coordinate of monitoring node is calculated using ranging weighted mass center location algorithm;
Set the monitoring node B of unknown position1Receive 3 anchor node A in its communication range1, A2And A3RSSI value according to It is secondary to be denoted as RSSI1, RSSI2And RSSI3, and obtained monitoring node B1The path loss index n under region is monitored, is considered RSSI value information and ranging weighted factor, then unknown position monitoring node B1Coordinate (x, y) calculation formula can be expressed as are as follows:
Wherein, d1, d2And d3Respectively B1To A1, A2And A3Measurement distance, a1, a2And a3Respectively with corresponding ranging The weighting coefficient being inversely proportional, has
K is weighting adjustment factor, when practical application, by controlling the degree of the adjustable weighted correction of k value, so that positioning System can reach optimum state, obtain optimal locating effect;In addition, considering further that angle information when selecting anchor node, formed Weighting can further save computing resource, reduce position error;ForEach of kind anchor node combination is closed, if it is set Reliability is CDABC(i), have
Wherein, αA, αBAnd αCThree interior angles of triangle are made of three anchor nodes, and
αmax=max { αA, αB, αC}
αmin=min { αA, αB, αC}
Then weight the coordinate of posterior nodal point MCalculation formula are as follows:
Step 4: the coordinates correction of monitoring node;
If thering is anchor node to be denoted as A in network0(x0, y0), it is assumed that its Location-Unknown, other anchor nodes are denoted as Ai(xi, yi), Middle i=1,2 ..., n utilize Ai(xi, yi) arrive A0(x0, y0) distance, A can be calculated by the weighting location algorithm of this paper0's Position Ac0(xc0, yc0), it is compared with its actual coordinate, can be obtained error of coordinate, then anchor node A0(x0, y0) coordinate miss Difference is
ex0=x0-xc0 (15)
ey0=y0-yc0 (16)
Being write as i-th of anchor node error of coordinate canonical form is
exi=xi-xci (17)
eyi=yi-yci (18)
Therefore, monitoring sub-region right error of coordinate is
In formula: N is the anchor node number for participating in network positions error calculation;For the correction distance of i-th of anchor node;
Monitor sub-region right error of coordinate ewxAnd ewyFor the weighted average of anchor node error of coordinate, system is reflected Zone location ability, so, the coordinate after unknown node is corrected by zone location error coefficient in positioning system is
X=xc+ewx (21)
Y=yc+ew0 (22)
X in formulac, ycFor the calculated coordinate value of unknown node weighted mass center location algorithm.
PR in the step 1minThe acquisition of value can be obtained by searching method, i.e., in monitoring node institute to be positioned After all RSSI values that all RSSI values and its neighbor node received are received, puts together, sorts from large to small, Taking a smallest RSSI value is PRmin
Compared with prior art, this method fully considers RSSI range error and anchor node quantity etc. to positioning accuracy It influences, preferable locating effect can be obtained, can satisfy the large-scale farmland irrigated area that network environment is badly limited with positioning cost The location requirement of soil moisture content monitoring system.The characteristics of algorithm is that calculation amount is small, does not increase additional communication overhead, is reduced The adverse effect of random noise in RF signal modeling, thus improve the positioning accuracy of monitoring node.By this method and commonly LS basic fixed position algorithm is compared, and the position error mean value of two kinds of algorithms is respectively 2.1425m and 2.9251m, location algorithm Average operating time is respectively 0.2372s and 1.2163s, shows that this method has higher positioning accuracy and lower calculating multiple Miscellaneous degree.Actual demand of this method based on farmland automatic water-saving irrigation monitoring system, and it is fixed for water-saving irrigation monitoring node The actual demand of position can significantly improve the quality of production convenient for the soil moisture content situation of understanding farmland irrigated area ambient soil at any time.
Specific embodiment
The invention will be further described below.
A kind of water-saving irrigation monitoring network localization method based on RSSI ranging, comprising the following steps:
Step 1: the range information that modeling obtains rapidly monitoring node is propagated using signal;
In soil environment using water-saving irrigation monitoring system, internal various soil soil properties are different and other biological is close Collection, and exist and be unevenly distributed situation, cause multipath, diffraction and barrier to block, so that RF wireless signal propagation model becomes multiple It is miscellaneous.Monitoring node itself is capable of providing the measurement of RSSI, without additional addition hardware device.The path loss of radio signal propagation It is affected to rssi measurement precision, using logarithm-normal distribution model, RSSI value is expressed as
PR (d)=P+G-PL(d) (1)
Wherein, P and G is transmission power and antenna gain respectively, and PL (d) is the path loss after distance d, because having
Wherein, PL(d0) it is signal by reference distance d0When power loss, n is path loss index, d0For with reference to away from From being generally taken as 1m, therefore have
Wherein, PR (d0) it is distance d0The received signal strength at place, XσFor the Gauss that average value is 0, standard deviation is 4~10 Random noise, PR (d) value that monitoring node measures is bigger, illustrates that distance is closer, the error generated by PR (d) deviation is smaller, nothing Line signal passes through reference distance d0Path loss P afterwardsL(d0) be expressed as
In formula, GtAnd GrRespectively transmitter antenna gain (dBi) and receiving antenna gain, unit dBi;L is system loss coefficient; λ is RF wireless signal wavelength, unit m, then PR (d0) can be calculated by following formula
PR(d0)=P+G-PL(d0) (4)
The monitoring node to be positioned uniformly random deployment in wireless monitor region is set, the monitoring node possesses phase Same communication radius, and communication range can be expressed as a regular circle shapes region, by formula (2), if d0=1m, then have
PR (d)=PR (1) -10nlgd+Xσ (5)
If uniformly random in monitoring node communication range deploy enough monitoring nodes, according to PR (d) The relationship being inversely proportional with distance d, it can be assumed that the smallest received signal strength PRminCorresponding maximum distance is dmax, then have
PRmin=PR (1) -10nlgdmax+Xσ (6)
Therefore have
Wherein, dmaxIt is considered communication radius r herein;
In multiple RSSI values that unknown node obtains, taking the smallest RSSI value is PRmin, corresponding dmax=r can be obtained Unknown node to anchor node d value;PRminThe acquisition of value can be obtained by searching method, i.e., in monitoring node to be positioned After all RSSI values that all RSSI values and its neighbor node received are received, puts together, arrange from big to small Sequence, taking a smallest RSSI value is PRmin
Step 2: it by comparing the difference for measuring distance and actual range between anchor node, obtains the opposite of each anchor node and misses Poor coefficient communicates with measurement distance in range between anchor node to be used to correct monitoring node;
In order to obtain RSSI value measurement error information, anchor node situation known to position is considered, by measurement network Anchor node PR (d) value known to position goes out to measure distance value, then according to anchor node reality with RF signal decaying Modeling Calculation Coordinate calculates the actual range between anchor node, measurement distance and actual range is compared, to obtain anchor node PR (d) The measurement error of measured value, when to unknown monitoring node ranging, it is contemplated that this PR (d) value measurement error can then reduce Adverse effect of the various enchancement factors to RSSI distance measurement result in monitoring network;
Two-dimensional case is considered, if anchor node is Ai(xi, yi), i=1,2 ..., n, wherein n is the anchor section for participating in correction and calculating Point number;A0(x0, y0) it is anchor node to be corrected, A0(x0, y0) arrive Ai(xi, yi) actual range be respectively ri, i=1, 2 ..., n are respectively d by the distance that PR (d) measurement obtainsi, i=1,2 ..., n;
RSSI ranging relative error is denoted as
Then anchor node Ai(xi, yi) at weighting ranging relative error correction coefficient be
μwThe rssi measurement error of anchor node is reflected, it is considered herein that weight shared by different PR (d), between monitoring node Distance is bigger, and the range error as caused by the deviation of PR (d) is bigger, then considers the weight to correction coefficient with regard to smaller;
Then anchor node correction distance expression formula is
In formula, duiIt is monitoring node and anchor node RiBetween measurement distance, unit m;It is monitoring node and anchor section Point RiBetween corrected range, unit m;μwFor anchor node RiWeighting ranging relative error correction coefficient.
Step 3: the coordinate of monitoring node is calculated using ranging weighted mass center location algorithm;
Modeling is propagated it is found that RSSI value is bigger by the RF signal of front, then the distance between monitoring node is closer, on the contrary then get over Far;Closer apart from anchor node, range accuracy caused by measured RSSI value is higher, i.e., confidence level is higher, and when distance is greater than After a certain threshold value, the range error as caused by RSSI value can be increased, and the confidence level of RSSI value at this time just reduces, therefore be proposed Centroid localization algorithm based on RSSI ranging weighting is that comparison is reasonable;
The algorithm realizes each anchor node by weighting coefficient size to the weight of center-of-mass coordinate, and RSSI value is bigger, then saves Distance between point is smaller, and the confidence level of RSSI value at this time is higher, also bigger to the weights influence of center-of-mass coordinate, therefore chooses suitable When weighting coefficient can be carried out RSSI weighted calculation, to improve positioning accuracy;
Set the monitoring node B of unknown position1Receive 3 anchor node A in its communication range1, A2And A3RSSI value according to It is secondary to be denoted as RSSI1, RSSI2And RSSI3, and obtained monitoring node B1The path loss index n under region is monitored, is considered RSSI value information and ranging weighted factor, then unknown position monitoring node B1Coordinate (x, y) calculation formula can be expressed as are as follows:
Wherein, d1, d2And d3Respectively B1To A1, A2And A3Measurement distance, a1, a2And a3Respectively with corresponding ranging The weighting coefficient being inversely proportional, has
K is weighting adjustment factor, when practical application, by controlling the degree of the adjustable weighted correction of k value, so that positioning System can reach optimum state, obtain optimal locating effect;The characteristics of algorithm is that calculation amount is small, is not increased additional Communication overhead, reduces the adverse effect of random noise in RF signal modeling, thus improves the positioning accuracy of monitoring node;Separately Outside, it considers further that angle information when selecting anchor node, forms weighting, computing resource can be further saved, reduce position error;ForEach of kind anchor node combination is closed, if its confidence level is CDABC(i), have
Wherein, αA, αBAnd αCThree interior angles of triangle are made of three anchor nodes, and
αmax=max { αA, αB, αC}
αmin=min { αA, αB, αC}
Then weight the coordinate of posterior nodal point MCalculation formula are as follows:
Step 4: the coordinates correction of monitoring node;
Ranging correction coefficient μwCan be improved the precision of anchor node RSSI ranging, but in monitoring network because of measuring device and Error of coordinate caused by the various enchancement factors such as emergency situations is helpless, therefore should also make full use of anchor node Know that location information is corrected node locating coordinate, to further increase positioning accuracy;Positioning coordinates correction to be considered Be to factor, it is assumed that anchor node Location-Unknown, using this paper mention determine aggregative weighted centroid localization algorithm calculate anchor node seat Mark, by seeking difference with anchor node actual coordinate, that is, obtains anchor node error of coordinate information;It is being monitored node locating When, it should also be taken into account that such error of coordinate information, so that various enchancement factors pair in monitoring network can be further reduced The influence of positioning accuracy;
If thering is anchor node to be denoted as A in network0(x0, y0), it is assumed that its Location-Unknown, other anchor nodes are denoted as Ai(xi, yi), Middle i=1,2 ..., n utilize Ai(xi, yi) arrive A0(x0, y0) distance, A can be calculated by the weighting location algorithm of this paper0's Position Ac0(xc0, yc0), it is compared with its actual coordinate, can be obtained error of coordinate, then anchor node A0(x0, y0) coordinate miss Difference is
ex0=x0-xc0 (15)
ey0=y0-yc0 (16)
Being write as i-th of anchor node error of coordinate canonical form is
exi=xi-xci (17)
eyi=yi-yci (18)
Therefore, monitoring sub-region right error of coordinate is
In formula: N is the anchor node number for participating in network positions error calculation;For the correction distance of i-th of anchor node;
Monitor sub-region right error of coordinate ewxAnd ewyFor the weighted average of anchor node error of coordinate, system is reflected Zone location ability, so, the coordinate after unknown node is corrected by zone location error coefficient in positioning system is
X=xc+ewx (21)
Y=yc+ewy (22)
X in formulac, ycFor the calculated coordinate value of unknown node weighted mass center location algorithm.
Experiment simulation verifying:
In experimental study and its analytic process, in order to embody sensor node with anchor node quantity and density and communication radius Influence to position error, in location algorithm implementation procedure, using the average localization error of node as main evaluation criterion.
The position error for defining nodes i is Eai, i.e.,
Wherein, i=1,2 ..., N, N are unknown node number in network, communication radius R.Wherein pi=[xci yci]TFor The final estimated position of node i, zi=[xi yi]TFor the actual position of node i.
Then the average localization error of nodes is Ea, i.e.,
Average localization error EaSmaller, positioning accuracy is higher.
Simulated environment setting, selects Matlab as simulation test platform.Simulated environment is set as the square of 100m × 100m Shape region.Select lognormal model as the RF communication distance measuring model between node herein, shown in expression formula such as formula (2).? In observation model, RSSI value and distance d are outputting and inputting for model respectively.It is various random dry in actual monitoring environment It disturbs and results in certain range error.In order to simulate random range error, the section that will be calculated by monitoring node actual coordinate It is σ that distance, which is superimposed with standard deviation, between pointfGaussian noise, in this, as RF propagate traffic model in RSSI input for emulating mould It is quasi-.Standard deviation sigmafExpression formula such as formula (25) shown in:
Wherein, R indicates the maximum communication radius of monitoring node, RiIndicate the logical communication distance of monitoring node, μiIndicate that ranging misses Difference then controls μiValue can simulate different range error and carry out emulation experiment.
As a result middle algorithm A represents this paper algorithm, and algorithm B indicates that least square (LS) location algorithm, algorithm C indicate common matter Heart location algorithm.Simulation comparison analyzes 3 kinds of algorithms in different range errors, different anchor node numbers and different node communications half Positioning accuracy under diameter.
Influence of the measuring distance measurement error to positioning accuracy: setting anchor node quantity is n=20, and number of nodes is 400.Emulation obtains as shown in the results summarized in table 1.
Table 1:
By above-mentioned data it is found that range error is affected to algorithm C, when the variance of range measurement error is larger, Positioning accuracy decline is more.Algorithm B is influenced smaller by range error, and in contrast, mentioned algorithm A inhibits well herein Range error, therefore obtain higher positioning accuracy.
When the variance of range errorWhen, the positioning accuracy of B algorithm be about the positioning accuracy of 0.23, C algorithm about It is 0.26;When the variance of range errorWhen increase, the positioning accuracy of three kinds of algorithms is begun to decline, but the positioning of algorithm A Precision is always above other two kinds of algorithms.The reason is that working as the variance of range errorWhen, position error is mainly by ranging Error draws composition, and after using ranging correction, node locating precision has bigger raising, when the variance of range errorWhen increase, the variance of range errorHave to positioning accuracy and significantly slackens effect.The ranging correction of algorithm A plays suppression The effect of error processed, so that being significantly improved to positioning accuracy.
Test influence of the anchor node number to positioning accuracy: setting emulation experiment environment: 100 nodes are randomly dispersed in In the region 100m × 100m, the communication radius of node is 40m.Obtain result as shown in table 2.
Table 2:
By above-mentioned data it is found that the position error of algorithm B and algorithm C when anchor node number is little is larger.Analyze reason It can be used to calculate distance mainly when anchor node number is smaller, in network and the information of position is reduced, unknown node and anchor Range error between node becomes larger.Since the correction coefficient that multiple anchor nodes are utilized in A algorithm is corrected measurement distance, institute Can reduce by the less caused position error of anchor node number.
The relationship of test node communication radius and positioning accuracy: setting emulation experiment environment: 100 nodes are randomly dispersed in In the region 100m × 100m, anchor node quantity is n=10.Obtain result as shown in table 3.
Table 3:
From the above data, it can be seen that positioning accuracy is also gradually increasing with the increase of node communication radius.Because of section When point communication distance is bigger, the information content between unknown node and anchor node increases, so the distance of unknown node to anchor node is missed Difference is reduced, simultaneously as node communication distance increases, the anchor node around unknown node also starts to increase, so unknown node More anchor node distances be can use to correct the distance that itself arrives anchor node.Therefore, with the increase of node communication distance, Positioning accuracy can be gradually increased.It follows that the positioning accuracy of A algorithm is higher than other two kinds of algorithms under the conditions of equivalent network.
Experimental result and analysis: in order to use the locating effect of the mentioned algorithm of experimental verification this paper, in the experiment of classroom building In the region 20m × 20m of room, small wireless sensor Network Experiment System is constructed using CC2530 node.The system is provided with 6 A anchor node, is uniformly deployed in inside test zone, and in addition artificial bit selecting sets 10 unknown nodes of deployment and 1 aggregation node. Node communication distance is 15m, and nodal distance ground level is about 0.5m, every 20s transmission primaries data, and 50 tests are taken in experiment Mean value as experimental result.
After the specific location that node to be positioned is arranged in deployment, it is believed that be unknown node, measure, position.According to reality Data are tested, obtaining ranging localization, the results are shown in Table 4.
Table 4:
Node serial number to be positioned Node physical location Position location after measurement Distance between two positions Position error Eai
01 (3.0,3.0) (4.5,3.9) 1.75 0.12
02 (3.0,9.0) (3.6,7.7) 1.43 0.10
03 (3.0,12.0) (5.1,11.7) 2.12 0.14
04 (6.0,6.0) (6.6,7.8) 1.90 0.13
05 (6.0,9.0) (7.4,10.2) 1.84 0.12
06 (9.0,6.0) (8.5,7.6) 1.68 0.11
07 (9.0,9.0) (10.4,9.7) 1.57 0.10
08 (12.0,3.0) (11.3,3.9) 1.14 0.08
09 (12.0,9.0) (10.8,9.5) 1.21 0.08
10 (15.0,9.0) (12.2,10.2) 3.04 0.20
As shown in Table 4, the position error of algorithm A is 0.20 in actual monitoring environment, and minimum position error is 0.08, mean value It is 0.118.Through comparing, under equal conditions, the position error mean value that emulation experiment obtains is 0.102, it can be seen that A algorithm Actual location result be slightly below simulation result.It analyzes the reason is that the RF signal of actual environment is by indoor wall, tables and chairs and electricity Device equipment etc. blocks influence, and thus caused signal propagation losses and multipath reduce the measurement accuracy of RSSI, thus increase Position error, and these disturbing factors are not accounted in emulating.In a word in an experiment, algorithm A has basically reached expected fixed Its feasibility in experiment test is also verified in position required precision.
16 groups of test datas are analyzed using location algorithm proposed in this paper, set Gaussian random variable as Xσ(0, 10), 100 nodes are randomly dispersed in the region 100m × 100m, and the communication radius of node is 40m, anchor joint number mesh n=20.For Reduction network random distribution bring error, below under the conditions of gained location data is identical parameters, emulate 100 gained Position error to the average value of data, test data is as shown in table 5.
Table 5:
Analysis: position error E in above-mentioned dataaiMaximum value be 0.35, minimum value 0.19, since 6 anchor nodes are equal Even to be deployed in laboratory test region, whole locating effect is preferable, and only the position error of edges of regions is slightly bigger than normal.If More anchor node is disposed in laboratory test edges of regions, locating effect can make moderate progress.
L-G simulation test shows that the algorithm calculation amount and communication overhead are smaller, can effectively inhibit Gaussian noise, positioning accurate Degree can satisfy most of water-saving irrigation monitoring systematic difference requirements, obtain the more accurate coordinate bit of network monitor node Confidence breath.This paper algorithm is compared with common LS location algorithm, the position error mean value of two kinds of algorithms be respectively 2.1425m and 2.9251m, and algorithm average operating time is respectively 0.2372s and 1.2163s, and the algorithm can be illustrated in positioning accuracy and meter Bigger advantage is all had in terms of calculation amount.

Claims (2)

1. a kind of water-saving irrigation monitoring network localization method based on RSSI ranging, which comprises the following steps:
Step 1: the range information that modeling obtains rapidly monitoring node is propagated using signal;
Using logarithm-normal distribution model, RSSI value is expressed as
PR (d)=P+G-PL(d) (1)
Wherein, P and G is transmission power and antenna gain, P respectivelyLIt (d) is the path loss after distance d, because having
Wherein, PL(d0) it is signal by reference distance d0When power loss, n is path loss index, d0For reference distance, one As be taken as 1m, therefore have
Wherein, PR (d0) it is distance d0The received signal strength at place, XσFor the gaussian random that average value is 0, standard deviation is 4~10 Noise, PR (d) value that monitoring node measures is bigger, illustrates that distance is closer, the error generated by PR (d) deviation is smaller, wireless communication Number pass through reference distance d0Path loss P afterwardsL(d0) be expressed as
In formula, GtAnd GrRespectively transmitter antenna gain (dBi) and receiving antenna gain, unit dBi;L is system loss coefficient;λ is RF wireless signal wavelength, unit m, then PR (d0) can be calculated by following formula
PR(d0)=P+G-PL(d0) (4)
The monitoring node to be positioned uniformly random deployment in wireless monitor region is set, the monitoring node possesses identical Communication radius, and communication range can be expressed as a regular circle shapes region, by formula (2), if d0=1m, then have
PR (d)=PR (1) -10nlgd+Xσ (5)
If uniformly random in monitoring node communication range deploy enough monitoring nodes, according to PR (d) with away from The relationship being inversely proportional from d, it can be assumed that the smallest received signal strength PRminCorresponding maximum distance is dmax, then have
PRmin=PR (1) -10nlgdmax+Xσ (6)
Therefore have
Wherein, dmaxIt is considered communication radius r herein;
In multiple RSSI values that unknown node obtains, taking the smallest RSSI value is PRmin, corresponding dmax=r, can be obtained not Know node to anchor node d value;
Step 2: by comparing the difference for measuring distance and actual range between anchor node, the relative error system of each anchor node is obtained Number communicates with measurement distance in range between anchor node to be used to correct monitoring node;
If anchor node is Ai(xi, yi), i=1,2 ..., n, wherein n is the anchor node number for participating in correction and calculating;A0(x0, y0) be Anchor node to be corrected, A0(x0, y0) arrive Ai(xi, yi) actual range be respectively ri, i=1,2 ..., n are measured by PR (d) Obtained distance is respectively di, i=1,2 ..., n;
RSSI ranging relative error is denoted as
Then anchor node Ai(xi, yi) at weighting ranging relative error correction coefficient be
μwThe rssi measurement error of anchor node is reflected, it is considered herein that weight shared by different PR (d), distance between monitoring node Bigger, the range error as caused by the deviation of PR (d) is bigger, then considers the weight to correction coefficient with regard to smaller;
Then anchor node correction distance expression formula is
In formula, duiIt is monitoring node and anchor node RiBetween measurement distance, unit m;It is monitoring node and anchor node Ri Between corrected range, unit m;μwFor anchor node RiWeighting ranging relative error correction coefficient;
Step 3: the coordinate of monitoring node is calculated using ranging weighted mass center location algorithm;
Set the monitoring node B of unknown position1Receive 3 anchor node A in its communication range1, A2And A3RSSI value successively remember For RSSI1, RSSI2And RSSI3, and obtained monitoring node B1The path loss index n under region is monitored, considers RSSI value Information and ranging weighted factor, then unknown position monitoring node B1Coordinate (x, y) calculation formula can be expressed as are as follows:
Wherein, d1, d2And d3Respectively B1To A1, A2And A3Measurement distance, a1, a2And a3Respectively it is inversely proportional with corresponding ranging Weighting coefficient, have
K is weighting adjustment factor, when practical application, by controlling the degree of the adjustable weighted correction of k value, so that positioning system Optimum state can be reached, obtain optimal locating effect;In addition, considering further that angle information when selecting anchor node, weighting is formed, Computing resource can be further saved, position error is reduced;ForEach of kind anchor node combination is closed, if its confidence level is CDABC(i), have
Wherein, αA, αBAnd αCThree interior angles of triangle are made of three anchor nodes, and
αmax=max { αA, αB, αC}
αmin=min { αA, αB, αC}
Then weight the coordinate of posterior nodal point MCalculation formula are as follows:
Step 4: the coordinates correction of monitoring node;
If thering is anchor node to be denoted as A in network0(x0, y0), it is assumed that its Location-Unknown, other anchor nodes are denoted as Ai(xi, yi), wherein i =1,2 ..., n utilize Ai(xi, yi) arrive A0(x0, y0) distance, A can be calculated by the weighting location algorithm of this paper0Position Set Ac0(xc0, yc0), it is compared with its actual coordinate, can be obtained error of coordinate, then anchor node A0(x0, y0) error of coordinate For
ex0=x0-xc0 (15)
ey0=y0-yc0 (16)
Being write as i-th of anchor node error of coordinate canonical form is
exi=xi-xci (17)
eyi=yi-yci (18)
Therefore, monitoring sub-region right error of coordinate is
In formula: N is the anchor node number for participating in network positions error calculation;For the correction distance of i-th of anchor node;
Monitor sub-region right error of coordinate ewxAnd ewyFor the weighted average of anchor node error of coordinate, the region for reflecting system is fixed Capability, so, the coordinate after unknown node is corrected by zone location error coefficient in positioning system is
X=xc+ewx (21)
Y=yc+ewy (22)
X in formulac, ycFor the calculated coordinate value of unknown node weighted mass center location algorithm.
2. a kind of water-saving irrigation monitoring network localization method based on RSSI ranging according to claim 1, feature exist In PR in the step 1minThe acquisition of value can be obtained by searching method, i.e., received in monitoring node to be positioned All RSSI values and all RSSI values for being received of its neighbor node after, put together, sort from large to small, take most A small RSSI value is PRmin
CN201610415896.9A 2016-06-14 2016-06-14 A kind of water-saving irrigation monitoring network localization method based on RSSI ranging Active CN106131797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610415896.9A CN106131797B (en) 2016-06-14 2016-06-14 A kind of water-saving irrigation monitoring network localization method based on RSSI ranging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610415896.9A CN106131797B (en) 2016-06-14 2016-06-14 A kind of water-saving irrigation monitoring network localization method based on RSSI ranging

Publications (2)

Publication Number Publication Date
CN106131797A CN106131797A (en) 2016-11-16
CN106131797B true CN106131797B (en) 2019-05-21

Family

ID=57270609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610415896.9A Active CN106131797B (en) 2016-06-14 2016-06-14 A kind of water-saving irrigation monitoring network localization method based on RSSI ranging

Country Status (1)

Country Link
CN (1) CN106131797B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919213A (en) * 2017-02-27 2017-07-04 华南农业大学 A kind of output control device and method for improving hillside orchard radio transmission performance
CN107422316A (en) * 2017-04-10 2017-12-01 东南大学 A kind of wireless object localization method based on multifrequency point signal intensity
CN108061874A (en) * 2017-12-28 2018-05-22 中国联合网络通信集团有限公司 Node positioning method and node positioning system
CN108363036B (en) * 2018-02-10 2021-10-08 沈阳理工大学 Node distributed positioning system and method based on error compensation strategy in WSN (wireless sensor network)
CN108234221A (en) * 2018-03-15 2018-06-29 广州杰赛科技股份有限公司 Wireless network node localization method, device and Prison staff alignment system
CN108810819B (en) * 2018-05-25 2021-05-14 厦门华方软件科技有限公司 Earth surface positioning method and medium based on network communication
CN109100683A (en) * 2018-06-29 2018-12-28 福州大学 Chan- weighted mass center indoor orientation method based on Kalman filtering
CN109375168B (en) * 2018-11-16 2023-06-16 华南理工大学 RSSI-based low-speed moving vehicle positioning method
CN109451425B (en) * 2018-12-06 2021-01-01 奇点新源国际技术开发(北京)有限公司 Positioning method and device based on single anchor point
CN109798917B (en) * 2018-12-19 2021-05-28 如皋市勘测院有限公司 Positioning precision inspection method
CN110136468B (en) * 2019-04-18 2022-02-25 太原理工大学 Vehicle searching device and method for large parking lot
CN110072283B (en) * 2019-04-28 2020-10-20 新华三技术有限公司 Bluetooth positioning method, device, positioning server and machine readable storage medium
CN110662164A (en) * 2019-09-25 2020-01-07 太原科技大学 Wireless sensor network accurate positioning algorithm based on E-RSSI
CN110850368B (en) * 2019-11-14 2024-01-23 南京邮电大学 Method for measuring error coefficient in positioning system and applying to distance measurement
CN114148534A (en) * 2021-11-22 2022-03-08 国网山东省电力公司泰安供电公司 Patrol and examine unmanned aerial vehicle with indoor location structure

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123495A (en) * 2011-01-13 2011-07-13 山东大学 Centroid location algorithm based on RSSI (Received Signal Strength Indication) correction for wireless sensor network
CN105025572A (en) * 2015-07-01 2015-11-04 太原科技大学 Improved method for positioning underground staff based on RSSI range finding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201116374D0 (en) * 2011-09-22 2011-11-02 Sensewhere Ltd Positioning method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123495A (en) * 2011-01-13 2011-07-13 山东大学 Centroid location algorithm based on RSSI (Received Signal Strength Indication) correction for wireless sensor network
CN105025572A (en) * 2015-07-01 2015-11-04 太原科技大学 Improved method for positioning underground staff based on RSSI range finding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于RSSI测距的无线传感器网络定位算法;吴君钦;《微电子学与计算机》;20140531;第31卷(第5期);全文

Also Published As

Publication number Publication date
CN106131797A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131797B (en) A kind of water-saving irrigation monitoring network localization method based on RSSI ranging
Papamanthou et al. Algorithms for location estimation based on rssi sampling
CN105554873B (en) A kind of Wireless Sensor Network Located Algorithm based on PSO-GA-RBF-HOP
CN102123495A (en) Centroid location algorithm based on RSSI (Received Signal Strength Indication) correction for wireless sensor network
CN105491661B (en) Indoor locating system and method based on improved Kalman filter algorithm
CN103747419B (en) A kind of indoor orientation method based on signal strength difference and dynamic linear interpolation
Chagas et al. An approach to localization scheme of wireless sensor networks based on artificial neural networks and genetic algorithms
CN104965189B (en) Indoor occupant localization method based on maximal possibility estimation
CN104902567A (en) Centroid localization method based on maximum likelihood estimation
CN108919177A (en) A kind of positioning map construction method based on virtual information source estimation and trajectory corrector
CN108650706A (en) Sensor node positioning method based on second order Taylors approximation
CN106102162B (en) A kind of iterative estimate method for wireless sensor network three-dimensional localization
Mahfouz et al. Kernel-based localization using fingerprinting in wireless sensor networks
CN109547929A (en) Distributed sensor node positioning method based on conjugate gradient method
Sharma et al. Localization in wireless sensor networks for accurate event detection
Chagas et al. Genetic algorithms and simulated annealing optimization methods in wireless sensor networks localization using artificial neural networks
CN104050254B (en) The method that feature database in 3D rooms is built using house data
Goonjur et al. Enhanced the weighted centroid localization algorithm based on received strength signal in indoor wireless sensor network
Çavdar et al. An Optimal Anchor Placement Method for Localization in Large-Scale Wireless Sensor Networks.
Hu et al. Research on centroid localization algorithm in wireless sensor networks
CN110234072B (en) Improved weighted centroid positioning method based on fingerprint quantization
CN110297212B (en) Outdoor grouping test positioning method and system based on Voronoi diagram
CN107801168A (en) A kind of localization method of the adaptive passive type target in outdoor
Ahmad et al. Towards probabilistic localization using airborne mobile anchors
Chang et al. Localization in wireless rechargeable sensor networks using mobile directional charger

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 223400 Eighth Floor, Andong Building, No. 10 Haian Road, Lianshui County, Huaian City, Jiangsu Province

Patentee after: HUAIYIN INSTITUTE OF TECHNOLOGY

Address before: 223001, No. 89 Beijing North Road, Qinghe District, Jiangsu, Huaian

Patentee before: HUAIYIN INSTITUTE OF TECHNOLOGY

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20161116

Assignee: Jiangsu XuBen Information Technology Co.,Ltd.

Assignor: HUAIYIN INSTITUTE OF TECHNOLOGY

Contract record no.: X2023980034138

Denomination of invention: A Water Saving Irrigation Monitoring Network Location Method Based on RSSI Ranging

Granted publication date: 20190521

License type: Common License

Record date: 20230328