A kind of raising is based on the method for the capacity of the wireless location system of the time of advent
Technical field
The invention belongs to the wireless location technology field, relate to more precisely improving one's methods of a kind of navigation system based on finding range the time of advent.
Background technology
As everyone knows, the demand of knowing the exact position of specific people and valuables is huge.The general method that addresses this problem is to utilize three-point fix, namely pass through the coordinate of known three points, and recording distance (namely adopt range finding) or the angle (namely adopting angle measurement) of target to three point, the recycling geometric algorithm can obtain the position coordinates of this target.But the angle measurement in the three-point fix (AOA) method needs expensive intelligent array antenna system, seldom uses in hi-Fix market.What generally use in the three-point fix is range finding.
Generally speaking, range finding has two kinds of methods, namely utilizes the mode of signal strength signal intensity (RSS) or utilizes the mode of the time of advent (TOA) of signal.But the RSS mode has its inherent defect, and is little such as the ratio of precision scope lower, that cover of location, can't work etc. under adverse circumstances.Adopt the TOA technology namely can overcome these shortcomings, its precision can be less than 1 meter.
Particularly, the TOA mode is the propagation time of measuring wireless signal, and multiply by the light velocity to obtain distance.The coverage that this mode has precision height, base station is large, be suitable for the advantage such as anti-adverse environment.In TOA the method, navigation system is comprised of parts such as server, base station and tag cards.The coordinate of base station is known, fixing, i.e. three points in the three-point fix.In plane positioning, three base stations to be arranged at least; Fix because of its position, also claim anchor point.Tag card is fixed on the people or article to be positioned.The distance that the function of server comprises the equipment control of finishing the backstage, shows map, snap into a plurality of base stations according to sign calculates the position coordinates of tag card and is presented on the map etc.
Yet although have the advantages such as high accuracy based on the wireless location system of the time of advent, the principle of TOA has determined to finish one-time positioning needs the repeatedly emission of wireless signal, and therefore its intrinsic shortcoming is also arranged.As shown in Figure 1, in the TOA system, every initiation is once found range, needing node A(is tag card, as follows) give Node B (being ordinary base station, as follows) emission a signal Message_1, send out a back-signalling Message_2 for immediately node A by Node B again.In this case, the T1 that records of node A sends wireless signal to the time delay of receiving response; The T2 that Node B records receives that Messags_1 is to the processing delay that sends message_2.Then, Node B also will be placed on T2 among the message_3, issues A, and node A just can obtain T2 like this.At last, according to T1 and T2, node A calculate between node A and the Node B apart from d=c * (T1 – T2)/2, c is the light velocity.
According to such process, once range finding needs the emission of 3 wireless signals, and one-time positioning then needs 3 range findings (finding range with 3 different base stations), and like this, one-time positioning just needs the emission of 9 wireless signals.The emission of these 9 wireless signals is called the one-time positioning affairs.
Consider that target to be positioned moves, so 3 range findings should be finished within the extremely short time.This if 1 emission is arranged because of the radio signal collision failure in the emission of 9 wireless signals, will cause this to locate unsuccessfully with regard to meaning.
On the one hand, the repeatedly communication in the one-time positioning affairs has increased the degree of crowding of channel; On the other hand, wherein once the skyborne collision probability of communication generation wireless signal improves greatly, the mortality of location also improves thereupon, experiment shows that the tag card in a locating area surpasses 10, and each tag card per second location once, the success rate of location is reduced to 60%, when the number of tag card reached 20, the success rate of location was reduced to 30%, and system has almost paralysed.And the frequency of the number of the target to be positioned that the same area holds and each target localization just, then represented the size of the capacity of navigation system.Therefore, in the present wireless location system based on the time of advent, for the success rate that guarantees to locate, it is very large that its capacity can not be done as can be known, otherwise the mortality of location will improve greatly.
Summary of the invention
For in the prior art based on the defective of the wireless location system off-capacity of the time of advent, the present invention proposes a kind of raising based on the method for the capacity of the wireless location system of the time of advent, the method can effectively reduce the probability that wireless signal collides aloft, thus the capacity that significantly improves navigation system in the success rate of assurance system location and deterministic while.
Specifically, the present invention takes following technical scheme to realize, comprises the following steps:
1) tag card periodic transmission broadcast singal after powering on; If tag card has entered locating area, ordinary base station is receiving that the broadcast singal that tag card is sent is transmitted to server by the route base station with broadcast singal, server distributes time slot and time slot allocation information is transmitted to ordinary base station through the route base station to tag card after receiving broadcast singal, and ordinary base station is transmitted to tag card with time slot allocation information after receiving time slot allocation information again;
2) tag card obtains oneself time slot according to the time slot allocation information received, and carries out synchronous with system clock;
3) when being in the time slot of oneself, tag card is initiated range finding and the ranging information that calculates is sent to ordinary base station; After finishing the transmission of range finding and ranging information, tag card enters dormancy until the time slot of the next one oneself is found range again and ranging information sends; Ordinary base station receives ranging information and by the route base station ranging information is transmitted to server, and server is received the position that calculates the tag card place after the ranging information according to ranging information, finishes the location.
Further aspect of the present invention is: also comprise clock synchronization information in the described time slot allocation information.
Further aspect of the present invention is: further comprising the steps of, if judging certain tag card, server left locating area, and then server is regained time slot corresponding to this tag card for distributing to other tag cards.
Further aspect of the present invention is: described server judges that certain tag card has left locating area, its method is, if server is not received the ranging information that certain tag card is sent again within the time of setting in advance, then server judges that this tag card has left locating area.
Further aspect of the present invention is: the time of described prior setting, be in the past server moment of receiving the ranging information of certain tag card begin again through the locating periodically of 100 these tag cards, described locating periodically is the time interval between adjacent twice time slot of this tag card.
Beneficial effect of the present invention is as follows: because of the present invention based in the time slot method in the wireless distance finding location of the time of advent, each tag card time slot wireless signal emission at oneself, so greatly reduce the probability of radio signal collision, thus the capacity that significantly improves navigation system in the success rate of assurance system location and deterministic while.After tested, adopt the present invention, even if the tag card quantity in a zone reaches 50, when location frequency is 1Hz, the success rate of its location still can reach more than 95%.Simultaneously, after finishing the transmission of range finding and ranging information, tag card can initiatively enter dormancy, has therefore also significantly reduced the tag card power consumption, has realized the target of low-power consumption.After tag card left locating area, the time slot of originally distributing to this tag card can be redistributed to other tag cards and use, thereby had effectively improved the utilance of time slot, had strengthened better the service behaviour of whole navigation system.
Description of drawings
Fig. 1 is based on the range measurement principle figure of the wireless location system of the time of advent.
Fig. 2 is the wireless location system composition frame chart based on the time of advent of the present invention.
Fig. 3 is tag card sends to ranging information server via the base station schematic diagram.
Embodiment
Below in conjunction with accompanying drawing, describe the present invention.
Fig. 2 has provided and has adopted the wireless location system based on the time of advent of the present invention to form situation.As shown in Figure 2, adopt the wireless location system based on the time of advent of the present invention to comprise server, base station and tag card.Tag card is fixed on the people or article to be positioned, and the distance that server then snaps into a plurality of base stations according to sign calculates the position coordinates of tag card to realize the location.
Step of the present invention is as follows:
1) tag card periodic transmission broadcast singal after powering on; If tag card has entered locating area, ordinary base station is receiving that the broadcast singal that tag card is sent is transmitted to server by the route base station with broadcast singal, server distributes time slot and time slot allocation information is transmitted to ordinary base station through the route base station to tag card after receiving broadcast singal, and ordinary base station is transmitted to tag card with time slot allocation information after receiving time slot allocation information again;
2) tag card obtains oneself time slot according to the time slot allocation information received, and carries out synchronous with system clock;
3) when being in the time slot of oneself, tag card is initiated range finding and the ranging information that calculates is sent to ordinary base station; After finishing the transmission of range finding and ranging information, tag card enters dormancy until the time slot of the next one oneself is found range again and ranging information sends; Ordinary base station receives ranging information and by the route base station ranging information is transmitted to server, and server is received the position that calculates the tag card place after the ranging information according to ranging information, finishes the location.
The message format of time slot allocation information of the present invention is as follows:
Field |
Synchronously |
Type of message |
Length |
Time slot |
The base station sequence |
Clock |
Octet |
2 |
1 |
1 |
2 |
4 |
4 |
As seen, in this time slot allocation information, not only there is gap information that clock synchronization information is also arranged.Therefore, after tag card is received this message, not only can obtain the time slot of oneself, but also can finish simultaneously with system clock synchronously.
Range finding of the present invention is initiated by tag card, and namely when being in the time slot of oneself, tag card is initiated range finding.After tag card was finished range finding and ranging information issued server, tag card can enter dormancy, until next own time slot re-starts the range finding activity, the activity time that can reduce like this tag card, thereby the low-power consumption of realization tag card when arriving again.
Base station in the native system comprises route base station and ordinary base station.By wired connection, be used for and server communication between route base station and the server.Ordinary base station is used for cooperating range finding with tag card and communicating by letter, between ordinary base station and the route base station by wireless connections.
Fig. 3 has provided and has adopted the process of transmitting based on ranging information in the wireless location system of the time of advent of the present invention.As shown in Figure 3, tag card sends to ordinary base station with ranging information first, and ordinary base station sends to the route base station with this information again, and the route base station sends to server with this information at last.
Server of the present invention has the function of reusing time slot for the management of time slot, namely in order to improve the utilance of time slot, when tag card enters locating area time-division timing crack, discharges time slot after tag card leaves locating area.
Particularly, tag card can periodically be launched broadcast singal before not obtaining time slot.If tag card has entered locating area, the broadcast singal of its transmission will be received and it is transmitted to server that server distributes time slot to tag card in the base station.If server is judged certain tag card and has left locating area that server can discharge time slot corresponding to this tag card, and this time slot allocation is entered the tag card in zone to the next one.
In the method, server can receive again that not the ranging information that certain tag card is sent judges whether this tag card has left locating area by judging to have within the time of setting in advance.Again do not receive the ranging information that certain tag card is sent such as server within the time of setting in advance, then server judges that this tag card has left locating area.This prior scheduled time can begin for the moment that in the past server receives the ranging information of certain tag card through the locating periodically of 100 these tag cards again, and locating periodically is the time interval between adjacent twice time slot of this tag card.This prior scheduled time also can be arranged according to the actual requirements voluntarily by the system manager.
Although the present invention is with preferred embodiment openly as above, embodiment be not limit of the present invention.Without departing from the spirit and scope of the invention, any equivalence of doing changes or retouching, belongs to equally the present invention's protection range.Therefore protection scope of the present invention should be take the application's the content that claim was defined as standard.