This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No. 103104965 filed in Taiwan, R.O.C. on Feb. 14, 2014, the entire contents of which are hereby incorporated by reference.
The present disclosure relates to an indoor positioning method and an indoor positioning system providing fingerprint-based positioning service where a signal source is of variable transmit power.
To provide fingerprint-based indoor positioning as an application of, say, a wireless local area network consisting of access points installed in an indoor environment, one must first measure at various coordinates of the indoor environment the received signal strength (RSS) from each access point in order to create a “radio map.” Thereafter, when a user enters the indoor environment and wants to know where they are, they take their own RSS measurements of the access points and pattern-match the measurements against the radio map. The coordinates on the radio map having characteristics identical or similar to those received by the user indicate their current location.
The transmit power of each access point, however, often experiences dynamic and independent adjustments during the operation of the wireless local area network, whether the adjustments are manually done by an administrator or are an automation prescribed in IEEE 802.11h. Because the adjusted power is different from that when the radio map is created, insisting on performing pattern matching with RSS and the radio map will obviously result in serious mismatch and positioning error. An intuitive solution is to measure the RSS of all the access points under all their possible transmit powers and create a multitude of radio maps, a labor- and time-intensive proposition impractical even for a building of moderate dimensions.
The present disclosure provides a method and a system of indoor positioning, wherein mismatch and positioning error in fingerprinting are reduced by adapting the radio map with scalable measurements to reflect the current transmit power of a signal source used in positioning.
The indoor positioning method, according to this disclosure, provides positioning service for an indoor environment. The indoor environment has a plurality of training points and is disposed with at least one signal source. The signal source has a plurality of power levels. The indoor positioning method comprises: obtaining, during a first time interval, a current signal strength based on a wireless signal, the wireless signal transmitted by the signal source and received at a current location of the indoor environment; obtaining a current power level based on which the signal source transmits the wireless signal during the first time interval, the current power level being among the power levels; obtaining a first signal strength of each training point, the first signal strength associated with a first power level among the power levels; obtaining a second signal strength of at least one adaptation point among the training points, the second signal strength associated with a second power level among the power levels; calculating a third signal strength for each training point based on the first, second, and current power levels and the first and second signal strengths; and comparing the current signal strength with the third signal strength so as to estimate the current location based on the indoor environment.
Also disclosed herein is a computer-readable medium having computer program code for causing a processor to perform a plurality of instructions for processing a positioning request with regard to an indoor environment. The indoor environment has a plurality of training points and is disposed with at least one signal source. The signal source has a plurality of power levels. The instructions comprise: obtaining a current signal strength based on a wireless signal, the wireless signal transmitted by the signal source and received at a current location of the indoor environment; obtaining a current power level based on which the signal source transmits the wireless signal, the current power level being among the power levels; obtaining a first signal strength of each training point, the first signal strength associated with a first power level among the power levels; obtaining a second signal strength of at least one adaptation point among the training points, the second signal strength associated with a second power level among the power levels; calculating a third signal strength for each training point based on the first, second, and current power levels and the first and second signal strengths; and comparing the current signal strength with the third signal strength so as to estimate the current location based on the indoor environment.
The indoor positioning system, according to this disclosure, provides positioning service for an indoor environment. The indoor environment has a plurality of training points. The indoor positioning system comprises at least one signal source, a storage device, and a positioning device. The signal source, disposed in the indoor environment and having a plurality of power levels, transmits a wireless signal based on one of the power levels. The storage device stores a first signal strength for each of the training points and stores a second signal strength for at least one adaptation point among the training points. The first and second signal strengths are respectively associated with a first and a second power level among the power levels. The positioning device is coupled with the storage device. The positioning device obtains a current signal strength based on a current wireless signal, the current wireless signal transmitted by the signal source and received at a current location of the indoor environment. The positioning device obtains a current power level based on which the signal source transmits the current wireless signal, the current power level being among the power levels. The positioning device calculates a third signal strength for each of the training points based on the first, second, and current power levels and the first and second signal strengths. The positioning device compares the current signal strength with the third signal strength so as to estimate the current location based on the indoor environment.
In short, the present disclosure enables the dynamic generation of a radio map under any current power level using the overall radio map under the first power level and the RSS at a minority of the training points (the adaptation point) under the second power level, taking advantage of the linear relationship between the power levels. When there is more than one signal source in the indoor environment, on the radio map there will be more characteristics with which the current signal strength can be compared, increasing the accuracy in estimating the current location.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
The positioning device 15 is coupled with the storage device. The positioning device 15 obtains a current signal strength based on a current wireless signal, the current wireless signal transmitted by the signal source 11 and received at a current location of the indoor environment. The positioning device 15 obtains a current power level based on which the signal source 11 transmits the current wireless signal, the current power level being among the power levels. The positioning device 15 calculates a third signal strength for each of the training points based on the first, second, and current power levels and the first and second signal strengths. The positioning device 15 compares the current signal strength with the third signal strength so as to estimate the current location based on the indoor environment. In the present embodiment, the positioning device 15 obtains the current power level from or through the management device 13.
With regard to
The offline stage is the steps required to create a basic radio map and adaptation data. As shown in the flowchart, the wireless signal that the signal source 11a transmits based on the first power level is first received S301 at all the training points 21 to 26. The first power level may be a default of the signal source 11a, or a common or mandatory value set manually or by the management device 13 for the indoor environment 2.
Recording for all the training points 21 to 26 the first signal strengths thereat yields a radio map under the first power level. The signal source 11a is then configured S303 to transmit the wireless signal based on the second power level. The wireless signal is again received S305 at the training (adaptation) points 23 and 25 so that the second signal strengths are recorded. The second signal strengths, as the adaptation data, can be employed to adapt the radio map which is based on the first signal strengths. The said radio map and adaptation data may be kept in the storage device 17. This disclosure is suitable for indoor environments of diverse dimensions because of the freedom in the selection of adaptation points, bringing spatial scalability to fingerprint-based positioning.
With regard to
Given the limited amount of power levels in the signal sources 11a to 11c, at the offline stage different “third power levels” may be assumed and signal strengths automatically generated for these power levels for all the training points 21 to 26. Based on the current power level, the positioning device 15 retrieves the corresponding values at the online stage to generate the radio map.
The adapted radio map includes the third signal strengths of the training points 21 to 26 and simulates the values measured respectively at the training points 21 to 26 if the wireless signal were transmitted based on the current power level at the offline stage. In one embodiment, a third signal strength is a first signal strength added with an adaptation term. In another embodiment, the adaptation term is expressed as
where w is a weight between 0 and 1, s is a difference in power between two adjacent power levels among the power levels, l3 is the current power level, l1 is the first power level, a2 is the second signal strength, o1 is the first signal strength, and l2 is the second power level. In terms of the aforesaid exemplary specification of the signal source 11a, assume that the first power level is level 1, the second power level is level 7, and the current power level is level 6, then s=3 dBm, l3=6, l1=1, l2=7, whereas the unit of a2 and o1 can be converted to dBm. It is evident in the expression that the adaptation term includes a theoretical value (related to s) and a measured value (related to a2 and o1), the two values added together based on a determined ratio.
When there are a plurality of adaptation points, the third signal strength is calculated for each of the training points based on the second signal strength of one of the adaptation points, that adaptation point being the nearest adaptation point to the training point. In one embodiment, w is set based on a distance between that adaptation point and the training point, or based on a variance of the second signal strength with regard to time.
Specifically, when calculating the third signal strength for a training point, the second signal strength of the most suitable adaptation point is employed. “Most suitable” generally means the nearest; if the training point happens to be an adaptation point, obviously it is most suitable to employ its own second signal strength. The weight w may be solved using simple optimization at the offline or online stage based on the spatial relationship between the training point and the most suitable adaptation point. During the optimization, the objective function may be a cross-validated average positioning error. If the weight is calculated at the offline stage, an optimal solution may be approached using gradient descent, Newton's method, or even heuristic search. The weight may be any reasonable value between 0 and 1. A large w signifies that more trust is given to the second signal strength, which is actually measured, during the adaptation. This may simply indicate that the training point and the chosen adaptation point are relatively close in distance, or it may indicate that the signal strengths under different power levels are relatively not linearly related due to unpredictability in the indoor environment. A small w, besides signifying the opposite of the above, may also represent that the second signal strength is unstable when measured at the offline stage and thus should not be unduly trusted. In the indoor environment 2, for instance, the adaptation points paired with the training points 22 and 24 may be one training point 23. If w is set as 0.6 when calculating the third signal strength of the training point 24, w may be 0.4 for the training point 22 to reflect the fact that it is farther from the adaptation point 23 than the training point 24 is.
The present disclosure also provides a computer-readable medium having computer program code for causing a processor to perform a plurality of instructions for processing a positioning request with regard to an indoor environment. The indoor environment has a plurality of training points and is disposed with at least one signal source. The signal source has a plurality of power levels. The instructions comprise: obtaining a current signal strength based on a wireless signal, the wireless signal transmitted by the signal source and received at a current location of the indoor environment; obtaining a current power level based on which the signal source transmits the wireless signal, the current power level being among the power levels; obtaining a first signal strength of each training point, the first signal strength associated with a first power level among the power levels; obtaining a second signal strength of at least one adaptation point among the training points, the second signal strength associated with a second power level among the power levels; calculating a third signal strength for each training point based on the first, second, and current power levels and the first and second signal strengths; and comparing the current signal strength with the third signal strength so as to estimate the current location based on the indoor environment.
In one embodiment, after obtaining the first signal strength of each of the training points, the said instructions further comprise determining whether the current power level is the same as the first power level. The second signal strength of the at least one adaptation point is obtained if the current power level is not the same as the first power level. The current signal strength is compared with the third signal strength if the current power level is the same as the first power level.
In one embodiment, the third signal strength is the first signal strength added with an adaptation term. In one embodiment, the adaptation term is obtained based on the expression
where w is a weight between 0 and 1, s is a difference in power between two adjacent power levels among the power levels, l3 is the current power level, l1 is the first power level, a2 is the second signal strength, o1 is the first signal strength, and l2 is the second power level.
When there are a plurality of adaptation points, the third signal strength is calculated for each of the training points based on the second signal strength of one of the adaptation points, that adaptation point being the nearest adaptation point to the training point. In one embodiment, w is set based on a distance between that adaptation point and the training point, or based on a variance of the second signal strength with regard to time.
To summarize, the present disclosure provides an indoor positioning system comprising a signal source, a positioning device, a storage device, and an optional management device, and an indoor positioning method consisting of an offline stage and an online stage. Based on the overall radio map under the first power level, the RSS at a minority of the training points under the second power level, and the linear relationship between the power levels, the main steps of adapting the radio map can be performed at the offline or the online stage to reflect the current transmit power of a signal source used in positioning and to reduce mismatch and positioning error in fingerprinting. In particular, the adaptation is the calculation of the third signal strength from the first signal strength for each training point, taking into account the spatial relationship between the training and adaptation points, the stability of the second signal strength at the adaptation point, and the overall trust given to the second signal strength.
The foregoing description has been presented for purposes of illustration. It is not exhaustive and does not limit this disclosure to the precise forms or embodiments described. Modifications and adaptations will be apparent to those skilled in the art from consideration of the specification and practice of the disclosed embodiments. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit of this disclosure being indicated by the following claims and their full scope of equivalents.
Number | Date | Country | Kind |
---|---|---|---|
103104965 | Feb 2014 | TW | national |