The method that personnel's in-out management system and its boundary crossover judge
Technical field
The present invention relates to the communications field, a kind of personnel's in-out management system is particularly related to and its side that boundary crossover judges
Method.
Background technology
With the continuous renewal of the gradual perfection and rural IT application of intelligent management system, the energy of safety precaution and control
Power greatly enhances, for example, the disengaging of school, prison, government department, archives, large-scale plant area and intelligent residential district etc. for personnel
Management has larger demand.
Generally use radio-frequency technique RFID realizes the disengaging management of personnel in the prior art, wherein a kind of technical solution
Using active RFID product, active RFID product groundwork frequency uses RSSI using the simple 2.4GHz of microwave
(Received Signal Strength Indication, the instruction of received signal intensity) location technology realizes zone location,
The shortcomings that this kind of method is:1. field strength has environment extremely strong dependence, field intensity value to be easy to change with environmental change, this
Sample results in position inaccurate;2. the installation site of antenna, setting angle are required when installation and debugging it is relatively high, and will also be into
The debugging of row range of signal, use environment is different, and the parameter of debugging is also different, and ununified standard thus greatly increases
Quantities is added, has been unfavorable for the popularization in market, for school gate scheme, the gate size of each school is different from, institute
It is required for debugging with the project of each school.In order to which signal is not blocked, antenna is generally all mounted on above doorframe, thus can
It is that debugging signal is relatively difficult to lead to the width for being more than door when doorframe height, in debugging process if in order in the model of entire door
Enclose interior signal all standing, range of signal just has to be larger than doorframe width, and the aerial signal overlapping region in such door outdoors is compared
It is more, overlapping region position location will the external revolution of door inside door change, cause to judge by accident, if signal not all standing, can go out
Existing signal blind zone, blind area cannot correctly inlet/outlet interpretation, also will appear erroneous judgement.
The another technical solution of RFID technique is used to use semi-active RFID products, semi-active RFID productions in the prior art
Product allow microwave 2.4GHz to make the most of the advantage under the triggering of low frequency 125KHZ frequencies, wherein and 2.4GHz is used for wireless data transmission,
125KHz is used for positioning, and for realizing zone location, the shortcomings that this method is:It is only several since 125KHz communication distances are close
Rice, it is thus relatively high to installation site requirement, it is existing to be generally mounted to ground or roof, for beauty when being installed on ground
It needs to bury antenna to underground, communication distance of so not only having decayed also increases quantities, some ground are also inconvenient to dig
It opens, thus significantly limits application environment.
In addition to using other than above-mentioned RFID technique, the prior art also realizes the inlet/outlet pipe of personnel using GPS positioning technology
Reason, GPS signal positioning accuracy is relatively low, can only achieve meter level, cannot achieve the demand of high accuracy positioning.
In above-mentioned technical proposal, that there are stability is poor for the first technical solution, reproducibility is poor, so as to cause debugging engineering
Measure big disadvantage;Second of technical solution depends on construction environment, construction work amount big;The third technical solution positioning accuracy
It is low.
Invention content
That the technical problem to be solved in the present invention is to provide a kind of equipment costs is low, debugging quantities is small, easy construction, positioning
The method that personnel's in-out management system with high accuracy and its boundary crossover judge.
In order to solve the above technical problems, present invention offer technical solution is as follows:
A kind of personnel's in-out management system, including UWB anchor points and it is several can be with the UWB anchor points into row data communication
Label to be positioned, the UWB anchor points are connected with first antenna for being deployed in door and for being deployed in second day outdoors
Line, the first antenna and the second antenna symmetry are arranged inside and outside door.
The method that the boundary crossover of above-mentioned personnel's in-out management system judges, including:
Step 1:UWB anchor points obtain current location and the historical position of label to be positioned;
Step 2:Current location and historical position of the UWB anchor points according to label to be positioned, judge the disengaging of label to be positioned
Door action.
Further, the step 1 includes:
When distance of the label to be positioned away from first antenna be less than label to be positioned away from the second antenna apart from when, then UWB anchors
Point assert that the position of label to be positioned is located in door;
When distance of the label to be positioned away from first antenna be more than label to be positioned away from the second antenna apart from when, then UWB anchors
Point assert that the position of label to be positioned is located outside the door.
Further, the step 1 further includes:
Only when UWB anchor points assert that result is identical to the position of label to be positioned twice in succession, just the position is assert and is tied
Fruit is recorded as the current location of label to be positioned, otherwise, not records.
Further, the step 2 includes:
Step 21:Whether the current location and historical position for judging label to be positioned are located inside and outside door, if so,
Execute step 22;If not, executing step 23;
Step 22:When the historical position of label to be positioned is located at the outside of door, then UWB anchor points assert label to be positioned into
Door;When the historical position of label to be positioned is located at the inside of door, then UWB anchor points assert that label to be positioned is gone out, and terminate;
Step 23:UWB anchor points assert that inlet/outlet action does not occur for label to be positioned, terminate.
The invention has the advantages that:
In the present invention, realize that personnel pass in and out management using UWB technology, UWB technology is using skyborne by signal
Flight time carries out ranging, and range accuracy can reach 30cm, and the present invention is capable of detecting when label to be positioned and UWB anchor points
Accurate distance.
As long as one UWB anchor point with double antenna of the present invention, equipment cost are low.In the deployment of system, first
Allocating antenna is in door, and outdoors, first antenna and the second antenna symmetry are arranged inside and outside door the second allocating antenna.This
Sample, first antenna and the second antenna and the ranging length and first antenna of label to be positioned are formed at a distance from the second antenna
One triangle.Using first antenna as the bottom edge of the triangle at a distance from the second antenna, first antenna and the second antenna with
The ranging length of label to be positioned is two waist edges of triangle, is judged in Men Nei or door according to the length of two waist edges
Outside.When it is implemented, when the ranging length of label to be positioned and first antenna is less than the ranging of label to be positioned and the second antenna
Length, then UWB anchor points assert that label to be positioned is located in door;When the ranging length of label to be positioned and first antenna is more than undetermined
The ranging length of position label and the second antenna, then UWB anchor points identification label to be positioned is located outside the door.
The zone location of the present invention and RFID technique in the prior art make a big difference.Including:The present invention does not use
Field strength technology will not be influenced label to be positioned by environment, improve positioning accuracy;The present invention need not basis
The difference of use environment therefore, there is no need to the debugging for carrying out range of signal, to reduce the present invention to different parameter testings
Debugging quantities;Farther out, system components may be mounted at relatively far away from UWB technology longer communication distance in the present invention
Distance, the scalability of deployed position is big, and therefore, the present invention is of less demanding to antenna mounting locations, setting angle, only need to expire
The regulation deployed position of the foot present invention, easy construction.
In addition, the positioning accuracy in the present invention can reach 30cm, compared with the prior art in GPS location technologies, this
Invention can realize high accuracy positioning.
To sum up, compared with prior art, the present invention is low with equipment cost, debugs small quantities, easy construction and positioning
Feature with high accuracy.
Description of the drawings
Fig. 1 is the application principle figure of personnel's in-out management system of the present invention;
Fig. 2 is the flow diagram for the method that the boundary crossover of the present invention judges.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
On the one hand, the present invention provides a kind of personnel's in-out management system, as shown in Figure 1, including UWB anchor points and several energy
For enough and UWB anchor points into the label to be positioned 3 of row data communication, UWB anchor points are connected with 1 He of first antenna for being deployed in door
For being deployed in the second antenna 2 outdoors, first antenna 1 and the second antenna 2 are symmetricly set on inside and outside door.
In the present invention, realize that personnel pass in and out management using UWB (Ultra Wideband, ultra wide band) technology, UWB technology is adopted
It is that ranging is carried out by the signal skyborne flight time, range accuracy can reach 30cm, and the present invention uses UWB skills
Art is capable of detecting when the accurate distance of label 3 and UWB anchor points to be positioned.
As long as one UWB anchor point with double antenna of the present invention, equipment cost are low.In the deployment of system, UWB anchors
Point is connected with first antenna 1 and the second antenna 2, is not shown in UWB anchor points Fig. 1, need not have to UWB anchor points in the present invention
Body position is disposed, and need to only meet UWB anchor points can be with first antenna 1 and the second antenna 2 into row data communication, first day
Line 1 is deployed in door, and the second antenna 2 is deployed in outdoors, and first antenna 1 and the second antenna 2 are symmetricly set on inside and outside door.
In this way, first antenna 1 and the second antenna 2 and label 3 to be positioned ranging length and first antenna 1 and the second antenna 2 away from
From one triangle of formation.Using first antenna 1 as the bottom edge of the triangle, first antenna 1 and at a distance from the second antenna 2
The ranging length of two antennas 2 and label 3 to be positioned is two waist edges of triangle, is judged in door according to the length of two waist edges
Inside still outdoors.When it is implemented, when label 3 to be positioned and the ranging length of first antenna 1 are less than label 3 and second to be positioned
The ranging length of antenna 2, then UWB anchor points assert that label 3 to be positioned is located in door;When label 3 to be positioned and first antenna 1
Ranging length is more than the ranging length of 3 and second antenna 2 of label to be positioned, then UWB anchor points assert that label 3 to be positioned is located at door
Outside.
The zone location of the present invention and RFID technique in the prior art make a big difference.Including:The present invention does not use
Field strength technology will not be influenced label 3 to be positioned by environment, improve positioning accuracy;The present invention does not need root
According to the different to different parameter testings of use environment, it therefore, there is no need to the debugging for carrying out range of signal, to reduce this hair
Bright debugging quantities;Farther out, system components may be mounted at relatively UWB technology longer communication distance in the present invention
The scalability of remote distance, deployed position is big, and therefore, the present invention is of less demanding to antenna mounting locations, setting angle, only needs
Meet the regulation deployed position of the present invention, easy construction.
In addition, the positioning accuracy in the present invention can reach 30cm, compared with the prior art in GPS location technologies, this
Invention can realize high accuracy positioning.
To sum up, compared with prior art, the present invention is low with equipment cost, debugs small quantities, easy construction and positioning
Feature with high accuracy.
On the other hand, the present invention also provides a kind of boundary crossover of above-mentioned personnel's in-out management system judge method,
As shown in Fig. 2, including:
Step 1:UWB anchor points obtain current location and the historical position of label 3 to be positioned;
In this step, UWB anchor points obtain the current location of label 3 to be positioned, then obtain a position location, as
Historical position.If without historical position, UWB anchor points preserve the current location of label 3 to be positioned, then reacquire undetermined
The current location of position label 3.
Step 2:Current location and historical position of the UWB anchor points according to label 3 to be positioned, judge label 3 to be positioned into
It gos out action.
In this step, UWB anchor points are according to the comparison of the current location and historical position of label 3 to be positioned, it will be able to analyze
Obtain the change in location of label 3 to be positioned, specifically, if the current location of label to be positioned 3 is identical as historical position,
UWB anchor points assert label 3 to be positioned that position movement does not occur;If the current location of label 3 to be positioned and historical position point
Not Wei Yu door both sides, then UWB anchor points can assert that label 3 to be positioned has occurred action of entering and still gos out action.
Compared with prior art, the present invention has the characteristics that small debugging quantities, easy construction and positioning accuracy are high.
As an improvement of the present invention, step 1 may include:
When distance of the label 3 away from first antenna 1 to be positioned be less than label 3 to be positioned away from the second antenna 2 apart from when, then
UWB anchor points assert that the position of label 3 to be positioned is located in door;
When distance of the label 3 away from first antenna 1 to be positioned be more than label 3 to be positioned away from the second antenna 2 apart from when, then
UWB anchor points assert that the position of label 3 to be positioned is located outside the door.
In the present invention, a specific embodiment is provided for this improvement:
As shown in Fig. 1, the position of personnel's in-out management system is deployed as:First antenna 1 is 1 in door, and the second antenna 2 is
Outdoors 2, label 3 to be positioned is 3 in figure, and the vertical range of 2 range gate of first antenna 1 and the second antenna is respectively a, b,
One antenna 1 and the second antenna 2 are symmetricly set on inside and outside door, i.e. a=b, the measurement of first antenna 1 and label 3 to be positioned
Length is c, and the measurement length of the second antenna 2 and label 3 to be positioned is d.In this way, first antenna 1 and the second antenna 2 with it is to be positioned
The ranging length and first antenna 1 of label 3 form a triangle at a distance from the second antenna 2.With first antenna 1 and
The ranging length of bottom edge of the distance of two antennas 2 as the triangle, first antenna 1 and the second antenna 2 and label 3 to be positioned is
Two waist edges of triangle, according to the length of two waist edges come judge Men Nei still outdoors.
Location determination method:Work as c<When d, then UWB anchor points assert that label 3 to be positioned is located in door;Work as c>When d, then UWB anchors
Point assert that label 3 to be positioned is located outside the door, and label 3 to be positioned situation located outside the door is as shown in Figure 1.In addition, the present embodiment is also
The case where being likely to occur c=d, then UWB anchor points assert that label 3 to be positioned is located at doorway position.
As a further improvement on the present invention, step 1 can also include:
Only when UWB anchor points assert that result is identical to the position of label 3 to be positioned twice in succession, just the position is assert and is tied
Otherwise the current location that fruit is recorded as label 3 to be positioned not records.
In the present invention, if Men Nei is less than range accuracy with boundary outdoors, and the position of label to be positioned 3 is located at
In boundary in door and outdoors, then the testing result of UWB anchor points is susceptible to the case where external rebound of an inside door jumps, and thus can
The positioning accuracy of UWB anchor points is interfered, in order to ensure the accuracy judged, avoids the appearance of such case, the present invention
Just determination is condition in Men Nei or outdoors when continuously acquiring two or two or more same position information for middle addition, this
Sample, if UWB anchor points assert that result different situations occurs (as judged in door to the position of label 3 to be positioned twice in succession
Or result outdoors is jumped back and forth), then UWB anchor points assert that the position of label 3 to be positioned is located in Men Nei and boundary outdoors,
Then UWB anchor points not record.Therefore, in this improvement, the accuracy of position positioning of the present invention is improved.
In the present invention, step 2 may include:
Step 21:Whether the current location and historical position for judging label 3 to be positioned are located inside and outside door, if
It is to execute step 22;If not, executing step 23;
Step 22:When the historical position of label 3 to be positioned is located at the outside of door, then UWB anchor points assert label 3 to be positioned into
Door;When the historical position of label 3 to be positioned is located at the inside of door, then UWB anchor points assert that label 3 to be positioned is gone out, and terminate;
Step 23:UWB anchor points assert that inlet/outlet action does not occur for label 3 to be positioned, terminate.
In the present invention, it can judge whether label 3 to be positioned has inlet/outlet action with reference to above-mentioned step 21-23, with
And the generation of label 3 inlet/outlet to be positioned acts to belong to and enters or go out.The judgment method of the present invention is simple, easily realizes.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.