Device-Based Barometric Pressure Sensor Calibration
The device-based calibration system addresses sensor inaccuracies and privacy concerns by using general location data to calibrate mobile device sensors locally, ensuring accurate altitude determination with reduced server load.
Patent Information
- Application Number
- JP2024516344
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-13
- Filing Date
- 2022-08-30
- Publication Date
- 2024-10-10
AI Technical Summary
Consumer barometric pressure sensors in mobile devices are often inaccurately calibrated and prone to drift, leading to unreliable altitude determination, and existing calibration methods that require precise location sharing with servers raise privacy and resource consumption concerns.
A device-based calibration system where mobile devices determine a general location and receive summary calibration data from a server, performing calculations locally to maintain privacy and reduce server load.
The system provides accurate sensor calibration while preserving user privacy and reducing computational and network resource demands on servers.
Smart Images

Figure 2024537002000001_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Patent Application No. 63 / 261,139, filed on September 13, 2021, and entitled "Device Based Barometric Pressure Sensor Calibration," the contents of which are incorporated herein by reference in their entirety. [Background technology]
[0002] Some mobile devices are part of a system that determines the altitude of the mobile device based on air pressure. In an air pressure-based positioning system, a calibrated air pressure sensor is used to calculate the altitude of the mobile device by correcting for weather effects using ambient pressure and temperature measurements from a calibrated network of sensors placed at known locations near the mobile device. Such a system necessarily relies on a well-calibrated air pressure sensor in the mobile device. Unfortunately, many consumer air pressure sensors are inexpensive sensors that may not be well calibrated. Furthermore, even if the air pressure sensor was once accurately calibrated, the calibration may drift over time and eventually become miscalibrated, rendering the altitude determination capabilities of the mobile device inaccurate, unreliable, or useless. Therefore, the mobile device must communicate with a system that calibrates the air pressure sensor.
[0003] In conventional calibration techniques, a server typically receives location and pressure information from the mobile device and performs the calibration calculations. The server also uses additional information from various databases for the calibration calculations. These databases can be very large and stored in a centralized location. Some such databases contain information that is typically static, such as altitude levels for various regions of the terrain, and height and floor data for buildings and structures. Other databases contain dynamic data that changes frequently, such as pressure, temperature, and humidity measurements from a network of reference weather stations with known locations and altitudes.
[0004] Conventional calibration techniques can also be performed by the mobile device by providing its location to a server, which then sends additional information to the mobile device, which can be used to query / derive additional information needed for calibration. Such "device-based" calibration techniques reduce the computational load on the server, allowing for reduced server costs.
[0005] However, traditional server-based and device-based techniques may be undesirable from a privacy perspective, because whether the calibration calculations are performed on the server or on the mobile device, the precise location of the mobile device must be provided to the server. In addition, traditional device-based techniques are less favored due to their high power consumption, storage consumption, and network bandwidth. Summary of the Invention
[0006] In some embodiments, a device-based barometric pressure sensor calibration system and method that does not require a server to provide a precise location of a mobile device includes the mobile device determining a specific location of the mobile device, determining a general location of the mobile device that encompasses and obscures the specific location of the mobile device, transmitting the general location to a server, receiving general calibration data related to the general location, determining specific calibration data based on the general calibration data and the specific location, determining a device barometric pressure based on barometric pressure measurements by a barometric pressure sensor of the mobile device, determining a calibration value for calibrating the barometric pressure sensor based on the specific calibration data and the device barometric pressure, and calculating an altitude of the mobile device using the calibration value and subsequent barometric pressure measurements by the barometric pressure sensor.
[0007] In some embodiments, the general location includes a bounded region, the specific location is any point within the bounded region, and the general calibration data includes a portion of the terrain and building data for the bounded region and reference pressure and temperature data for an area encompassing the bounded region. In some embodiments, the general location includes a plurality of locations including the specific location and other locations, the plurality of locations being within an area, the specific location being at any point within the area, and the general calibration data includes an assumed altitude for each of the plurality of locations, and a reference pressure and temperature for each of the plurality of locations.
[0008] In some embodiments, the mobile device includes determining a specific location and timestamp of the mobile device, determining a device air pressure at the specific location at the timestamp based on an air pressure measurement by an air pressure sensor of the mobile device, determining a number of locations including the specific location and a dummy location, determining a dummy device air pressure and a dummy timestamp for the dummy location, transmitting the specific location, the dummy location, the timestamp, the dummy timestamp, the device air pressure, and the dummy device air pressure to a server, receiving rough calibration data for the multiple locations from the server, determining specific calibration data for the specific location based on the rough calibration data, determining a calibration value for calibrating the air pressure sensor based on the specific calibration data, and calculating an altitude of the mobile device using the calibration value and subsequent air pressure measurements by the air pressure sensor. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a simplified schematic diagram of an example system for calibrating a barometric pressure sensor of a mobile device, according to some embodiments.
[0010] [Diagram 2]FIG. 2 illustrates a simplified environment in which a mobile device can be used to calibrate a barometric pressure sensor within the mobile device, according to some embodiments.
[0011] [Diagram 3] FIG. 3 is a simplified flowchart illustrating an example process of a mobile device for calibrating a barometric pressure sensor of the mobile device, according to some embodiments.
[0012] [Figure 4] FIG. 4 is a simplified flowchart illustrating an example process of a mobile device for determining necessary parameters for calibration of a barometric pressure sensor of the mobile device, according to some embodiments.
[0013] [Diagram 5] FIG. 5 is a simplified diagram of an area in which a mobile device may be located, according to some embodiments.
[0014] [Figure 6] FIG. 6 is a simplified flowchart illustrating another exemplary process of a mobile device for determining required parameters for calibration of a barometric pressure sensor of the mobile device, according to some embodiments.
[0015] [Figure 7] FIG. 7 is a simplified diagram of another area in which a mobile device may be located, according to some embodiments.
[0016] [Figure 8] FIG. 8 is a simplified flowchart illustrating another exemplary process of a mobile device for determining required parameters for calibration of a barometric pressure sensor of the mobile device, according to some embodiments.
[0017] [Figure 9]FIG. 9 is a simplified schematic diagram of a transmitter, a mobile device, and a server according to some embodiments. Detailed Description
[0018] The calibration system or method described herein allows a mobile device to calibrate the air pressure sensor by providing a vague general location of the mobile device to a server, rather than a precise, specific location of the mobile device (i.e., "device-based" calibration). The server then transmits general calibration data, rather than location-specific calibration data, to the mobile device based on the general location. The general calibration data includes different information depending on the embodiment, but typically includes more data than is required for the mobile device to perform calibration calculations. This is because the general calibration data is provided for a relatively large (but not too large) geographic area, rather than the precise, specific location of the mobile device. Thus, from the general calibration data, the mobile device determines the required location-specific calibration data (i.e., "reference data" or "auxiliary data"), such as a reference pressure, a reference temperature, a reference altitude, and an assumed altitude for the mobile device. Using the location-specific calibration data and the air pressure measurements from the air pressure sensor, the mobile device determines a calibration value for calibrating the air pressure sensor, as will be described in more detail below.
[0019] Since the mobile device performs the calibration calculations, the server is partially relieved of the computational load. In this way, distributing the computational load on both the server and the mobile device allows for a reduction in server costs. However, there is a trade-off in that the transmission bandwidth may be affected since the server transmits more data than is necessary to allow the mobile device to perform the calibration calculations. On the other hand, the mobile device transmits a vague general location of the mobile device to the server, obscuring its exact specific location. Thus, since the specific location of the mobile device is not revealed to the server, the privacy level of the mobile device user is maintained, albeit with the inability to transmit data from the server to the mobile device and the increased computational load to determine the necessary location-specific calibration data on the mobile device.
[0020] When calibrating the barometric pressure sensor on a mobile device, the barometric pressure measurements are adjusted to provide an accurate barometric pressure reading compared to a calibrated barometric pressure device. This can be achieved by adjusting the barometric pressure so that the altitude calculated from the barometric pressure measurements matches the expected or known altitude at the location of the mobile device. The quality of the altitude predicted by this calculation depends on the quality measurements of the mobile device, as the expected altitude lookup is very sensitive to the exact location due to various considerations such as building density and changes in terrain that can range from tens of meters in horizontal displacement. Conventional obfuscation techniques allow the privacy of users to be protected by making the mobile device's location uncertain by coarsening the horizontal location of the mobile device (e.g., by spreading the two-dimensional location out to 1-10 km). However, even a slight coarseness of the horizontal location of the mobile device (e.g., beyond 10 meters) can prevent reliable calibration information from the auxiliary database, such as the expected altitude. Therefore, in such a situation, the reliability of the calibration and altitude determination is very low. On the other hand, when retrieving auxiliary data from a file downloaded locally on the mobile device, it is not reasonable to transmit the entire auxiliary database to the mobile device due to storage issues, data bandwidth issues, and power consumption issues. Furthermore, in situations where there is limited network connectivity, calibration calculations are difficult because the assistance data is not yet available or downloaded. Thus, the present disclosure solves these problems by transmitting the approximate location of the mobile device to a server and receiving approximate calibration data at the mobile device that is small enough for efficient transmission and provides the information the mobile device needs to perform the calibration calculations.
[0021] 1 is a simplified schematic diagram of an exemplary device-based calibration system 100 for calibrating an air pressure sensor of a user's mobile device, according to some embodiments. In some embodiments, the calibration system 100 generally includes a server 102 and a number of user devices or mobile devices 104. The server 102 and the mobile devices 104 are typically in communication with each other via a network 106.
[0022] Server 102 generally represents one or more computerized devices such as a cloud computing system, a server farm, a cluster of computers, a desktop computer, a laptop, etc. Each mobile device 104 generally represents a mobile phone, a smart phone, a cellular phone, other wireless communication device, a handheld computer, a laptop, a personal computer, a portable computer, a navigation device, a tracking device, a receiver, a wearable computing device, etc. Network 106 generally represents any suitable combination of one or more communication systems such as the Internet, a cellular mobile phone communication system, a broadband cellular network, a wide area network (WAN), a local area network (LAN), a wireless network, a network based on the IEEE 802.11 family of standards (Wi-Fi networks), and other data communication networks.
[0023] In some embodiments, each mobile device 104 typically includes, among other hardware, software, and data, a position sensor 108, a movement sensor 110, an air pressure sensor 112, a device air pressure 114, a current calibration value 116 (with calibration volume, calibration confidence interval, and timestamp of when the calibration was performed), a specific location 118, a rough location 120, rough calibration data 122, and specific calibration data 124. The position sensor 108 typically represents one or more suitable sensor devices and associated software for detecting the location of the mobile device 104, such as a global navigation satellite system (GNSS, GPS, GLONASS, Galileo, Compass / Beidou, etc.), a terrestrial transmitter system, or a hybrid satellite / terrestrial system. The position data from the position sensor 108 is typically used by the mobile device 104 to determine a specific location 118. The specific location 118 represents an estimate of the horizontal location, e.g., latitude and longitude, of the mobile device at a given time (represented by an associated timestamp). Additionally, the particular location 118 may include a particular location region around a particular location point with a confidence interval value associated with the location data from the location sensor 108. Thus, the correct location of the mobile device 104 is likely to be within the particular location region and the particular location point is likely to be the correct location.
[0024] The motion sensor 110 may represent one or more suitable sensor devices and associated software, such as an accelerometer, a gyroscope, a magnetometer / compass, and / or a pedometer, among others, generally associated with detecting movement of the mobile device 104. The motion data from the motion sensor 110 may be used by the mobile device 104 to determine the movement of the mobile device 104. Additionally, the particular location 118 and / or movement may be used to determine the occurrence of a good opportunity to calibrate the mobile device 104.
[0025] The air pressure sensor 112 represents a suitable sensor device that generates air pressure measurements (i.e., device air pressure 114) that the mobile device 104 uses to determine altitude. The current calibration value 116 is used by the mobile device 104 or the air pressure sensor 112 to calibrate the air pressure sensor 112, i.e., to adjust the raw air pressure measurements to obtain accurate adjusted air pressure measurements for determining altitude.
[0026] In some embodiments, the mobile device 104 generates a general location 120 from the specific location 118 (with associated timestamp) and transmits the general location 120 in a request to the server 102. The general location 120 is selected to make it difficult to estimate the actual location of the mobile device in different ways depending on the embodiment. For example, in some embodiments, the general location 120 provides a boundary region that encompasses the specific location 118 and is larger than the specific location region if the specific location 118 includes the specific location region. Furthermore, the general location 120 is selected to obscure where the specific location 118 is within the boundary region, making it nearly impossible to determine the estimated location of the mobile device from the boundary region. In another embodiment, the general location 120 includes multiple locations, one of which is the specific location 118 and the others are randomly selected dummy locations in the same general region as the specific location 118. The specific location 118 can be any point or region within this general region. Since the other locations are selected randomly, it is nearly impossible to determine which of the multiple locations is a particular location 118.
[0027] In some embodiments, the server 102 typically includes, among other hardware, software, and data, the approximate location 120 (received from the mobile device 104), terrain and building data 126, terrain properties data 128, reference network weather station data 130, reference network weather station data samples ("reference data samples") 132, and approximate calibration data 122. The terrain properties data 128 typically includes terrain flatness data, which indicates how bumpy or smooth the terrain is for a given location and area, and terrain accuracy data, which indicates how accurate the underlying terrain database is relative to the actual terrain. The server 102 receives the approximate location 120 for each mobile device 104. Upon receiving the approximate location 120, the server 102 constructs the approximate calibration data 122 from the "auxiliary database" data 126-132 based on the approximate location 120, and transmits the approximate calibration data 122 to the mobile device 104. The auxiliary database typically includes two databases: a user altitude database of terrain and building data 126 and terrain property data 128, and a reference climate database of reference network weather station data 130 and reference network weather station data samples 132, which are relatively dynamic data. The approximate calibration data 122 is thus part of an auxiliary database for an area large enough to encompass the approximate location 120 (and thus the mobile device's correct location), yet small enough in size that it can be efficiently transmitted from the server 102 to the mobile device 104, queried reasonably quickly, and does not drain the mobile device's 104 battery or CPU resources.
[0028] In some embodiments, the server 102 can split or partition the auxiliary database into small batches for transmission to the mobile device 104 when a server-to-device connection is available, and the mobile device 104 can subsequently assemble the auxiliary database when calibration is required (e.g., after the data required for calibration is available). This can be beneficial when the connection or bandwidth between the mobile device 104 and the server 102 is limited.
[0029] In some embodiments, the server 102 maintains terrain and building data 126 in a terrain and building database. The terrain portion of this data generally indicates elevation levels throughout the broad terrain, for example as a geographic grid elevation, a topographical map, or other suitable technique. The building portion of this data generally indicates the locations of buildings and other structures within the same area, their heights, number of floors, and / or other information related to the buildings and structures. The terrain characteristics data 128 generally indicates the flatness or variation of the terrain within an area or sub-area, for example, the plus / minus elevation difference relative to the average elevation within the sub-area. Additionally, the terrain characteristics data 128 is included in or derived from the terrain and building data 126.
[0030] In some embodiments, processing using the terrain-related data 126 and 128 can be optimized by pre-computing the relevant statistics (e.g., the distribution of terrain and buildings for any latitude and longitude and their confidence level) and storing them in a single database and transmitting the terrain-related data 126 and 128 to the mobile device 104 as a modified form for a bounded area or multiple locations upon receiving the general location 120. This has the advantage of being smaller in size than the complete terrain-related data 126 and 128 and requiring fewer calibration calculations by the mobile device 104. In some embodiments, the terrain-related data 126 and 128 can be further optimized by returning a polynomial model fitted to the data that is even smaller in size than the pre-computed relevant statistics.
[0031] When the server 102 receives the general location 120 from the mobile device 104, the server 102 assembles a portion of the terrain-related data 126 and 128 for the general location 120, i.e., for a bounded region or multiple locations. In some embodiments where the general location 120 is a bounded region, the server 102 may, when receiving the general location 120, assemble the relevant portion of the terrain-related data 126 and 128 for a region that coincides with or completely encompasses the boundaries of the bounded region. Alternatively, since the terrain-related data 126 and 128 do not change frequently, the server 102 may pre-divide the terrain-related data 126 and 128 into multiple regions and retain the terrain-related data 126 and 128 for each predefined region until it is needed. When the server 102 receives the bounded region from the mobile device 104, the server 102 may determine whether the entire bounded region is encompassed in a single predefined region or in multiple regions. The server 102 may then assemble portions of the terrain-related data 126 and 128 by selecting one or more predetermined regions of the terrain-related data 126 and 128 that overlap and completely encompass the bounding region, thereby providing all of the terrain-related data 126 and 128 associated with at least the bounding region, and allowing for a faster response by the server 102. (Thus, the region that also encompasses the particular location 118 is covered by the portions of the terrain-related data 126 and 128.) In some embodiments where the general location 120 is multiple locations, the server 102 may assemble the associated portions of the terrain-related data 126 and 128 for each of the multiple locations. (In this case, the terrain-related data 126 and 128 portions may be simplified to include only the assumed altitude and its confidence or uncertainty for each individual location, which would necessarily include the assumed altitude and its confidence or uncertainty for the particular position 118.) Alternatively, the server 102 may previously store terrain-related data 126 and 128 for multiple predetermined areas, select terrain-related data 126 and 128 for one or more predetermined areas that encompass multiple locations of the approximate position 120, and assemble the terrain-related data 126 and 128.(Thus, the area that also encompasses the particular location 118 is covered by the selected terrain-related data 126 and 128.) The portions of the terrain-related data 126 and 128 that relate to the general location 120 are included as part of the general calibration data 122 that the server 102 sends to the mobile device 104.
[0032] In some embodiments, the terrain related data 126 and 128 may be a database (i.e., a user altitude database) that establishes the likelihood and confidence of the altitude distribution of the mobile device 104 given a particular location 118 (two-dimensional location) along with physical assumptions (e.g., the mobile device 104 cannot be airborne). The database of terrain related data 126 and 128 is considered "static" since it is a database that does not require frequent updates and only needs to be acquired by the mobile device 104 once for the relevant area (e.g., a bounded area or one or more areas encompassing multiple locations), but thereafter has the added advantage of only being updated by the mobile device 104 when the map is updated due to, for example, erosion, deposition, building construction, etc., and the underlying database on the server 102 is updated. In some embodiments, the mobile device 104 may query the user altitude database, which includes query inputs and response outputs such as: formula 1 JPEG2024537002000002.jpg31159Here, query F useralt provides the latitude, longitude, and two-dimensional location confidence interval (conf2D) of a particular location 118, for which a likely or expected elevation is provided for the particular location 118 along with a confidence in the elevation and terrain flatness of the area covered by the location confidence interval. Moreover, such a database can take the form of a lookup table, a deep learning model, etc.
[0033] In some embodiments, the server 102 maintains the reference network weather station data 130 in a relatively dynamic (periodically updated) reference pressure / temperature database (or climate measurement database). This database can take any suitable form, such as a look-up table. This database can also consist of an interpolated polynomial surface that indicates the reference pressure P or reference temperature T at a given location at a given time. For example, for coordinates X and Y, a time-dependent second-order, two-dimensional polynomial surface would have six parameters for each time slice, as described in piecewise function notation as follows: formula 2 JPEG2024537002000003.jpg32159 where A through F are fit parameters, X' and Y' are the centers of the regions of interest (but can be any positions), and t is the time corresponding to the A through F fit parameters. Other models can include 3rd order polynomials (using X, Y, t) or non-polynomial functions such as exponential functions or logistic functions.
[0034] The reference network weather station data 130 is received from a network of calibrated weather stations that periodically provide pressure, temperature, and humidity data, among other weather-related data. The server 102 generates reference network weather station data samples 132 from the reference network weather station data 130 for appropriate regions of a broad geographic region. The reference network weather station data samples 132 for any region or location may be pressure and temperature at a reference surface within the region, a geographic grid of pressure and temperature for the region, a topographical map of pressure and temperature for the region, pressure, temperature, and location data from one or more weather stations closest to the region or location, averaged pressure and temperature from multiple weather stations in the vicinity of the region or location, interpolated pressure and temperature based on a polynomial model of pressure and temperature fitted to measurements from a reference network of weather stations in the vicinity of the region or location, or a reference pressure and temperature for the region or location based on other methods. An embodiment that uses a pressure and temperature model may have the advantage of being small in size and requiring minimal calibration calculations by the mobile device 104 compared to other techniques.
[0035] Upon receiving the general location 120 from the mobile device 104, the server 102 assembles relevant data from the reference network weather station data 130 to generate a reference network weather station data sample 132 (i.e., the reference pressure data, the reference temperature data, and their confidence levels) and a time indicated by a time stamp for the general location 120 (or the area encompassing the general location 120, i.e., a boundary area or areas). In some embodiments where the general location 120 is a boundary area, a boundary area specific reference network weather station data sample 132 is assembled on-the-fly from the reference network weather station data 130 in the same general area as the boundary area. Alternatively, although the reference network station data 130 (and thus the reference network station data samples 132) may change periodically as the weather changes, the server 102 may pre-divide the reference network station data 130 and / or the reference network station data samples 132 into multiple predefined regions and simply retain the reference network station data 130 and / or the reference network station data samples 132 for each region, without regard for periodic updates, until needed. When the server 102 receives the boundary region from the mobile device 104, the server 102 may determine whether the entire boundary region is contained within a single predefined region or multiple regions. The server 102 may then assemble the reference network station data samples 132 by selecting reference network station data samples 132 for one or more predefined regions that overlap and completely contain the boundary region. This may speed up the response by the server 102. (Thus, the area encompassing the particular location 118 is covered by the reference network weather station data sample 132.) In some embodiments in which the general location 120 includes multiple locations, the server 102 may assemble a reference network weather station data sample 132 for each of the multiple locations.(In this case, the reference network station data sample 132 may include only the reference pressure and temperature specifically for each individual location, which would necessarily include the reference pressure and temperature for the particular location 118.) Alternatively, the server 102 may previously store reference network station data samples 132 for multiple predefined regions, select reference network station data samples 132 for one or more predefined regions that encompass the multiple locations of the general location 120, and assemble the reference network station data sample 132. (Thus, the region that encompasses the particular location 118 is covered by the selected reference network station data sample 132.) The reference network station data sample 132 and timestamp associated with the general location 120 are included as part of the general calibration data 122 that the server 102 sends to the mobile device 104.
[0036] Upon receiving the approximate calibration data 122 from the server 102, the mobile device 104 determines the specific calibration data 124 from the approximate calibration data 122 and the specific location 118. The specific calibration data 124 includes parameters and values required for performing the calibration calculations, such as, for example, the base pressure, base temperature, and the expected altitude of the mobile device 104, as well as confidence intervals for these values. These values are also referred to as "reference data" or "auxiliary data." Thus, the mobile device 104 determines the specific terrain and building data for the specific location from a portion of the terrain and building data 126, determines the expected altitude of the mobile device 104 based on the specific terrain and building data, and determines the specific base pressure and the specific base temperature for the specific location 118 from the base pressure data and base temperature data for the area or locations encompassing the bounded area.
[0037] The mobile device 104 determines the assumed altitude and its confidence or uncertainty of the mobile device 104 from the portion of the received terrain-related data 126 and 128 with reference to the particular location 118. In some embodiments where the area encompassing the particular location 118 is covered by the relevant portion of the terrain-related data 126 and 128, the mobile device 104 calculates the assumed altitude and its confidence or uncertainty for the particular location 118 from the portion of the terrain-related data 126 and 128 based on the particular location 118. In some embodiments where the portion of the terrain-related data 126 and 128 is simplified to include only the particular assumed altitude and its confidence or uncertainty for each individual location of the plurality of locations, the mobile device 104 determines the assumed altitude and its confidence or uncertainty by selecting only the assumed altitude and its confidence or uncertainty for the particular location 118 from the assumed altitudes and their confidence or uncertainty for all the plurality of locations and discarding the rest. The assumed altitude and its confidence or uncertainty for the particular location 118 thus forms part of the particular calibration data 124.
[0038] Furthermore, in some embodiments, the mobile device 104 caches or stores the received terrain-related data 126 and 128 in association with the geofence, and therefore the mobile device 104 does not delete the received portion of the terrain-related data 126 and 128 until the mobile device 104 detects that it has left the area covered by the received portion of the terrain-related data 126 and 128. In this manner, the mobile device 104 can perform new calibration calculations using newly collected pressure and position data on the same portion of the terrain-related data 126 and 128 as long as the mobile device 104 is in the same area, without the need to send a new request from the mobile device 104 to the server 102 in such cases.
[0039] The mobile device 104 determines the reference pressure, reference temperature, and confidence or uncertainty from the received reference network weather station data samples 132 with reference to the particular location 118. In some embodiments where the received reference network weather station data samples 132 are for an area encompassing the particular location 118, the mobile device 104 calculates the reference pressure, reference temperature, and confidence or uncertainty from the received reference network weather station data samples 132 based on the particular location 118. In some embodiments where the reference network weather station data samples 132 are simplified to include only the particular reference pressure and reference temperature for each individual location of the plurality of locations, the mobile device 104 determines the assumed altitude and its confidence or uncertainty by selecting only the reference pressure, reference temperature, and confidence or uncertainty for the particular location 118 from the data for all of the plurality of locations and discarding the rest. The reference pressure, reference temperature, and confidence or uncertainty for the particular location 118 thus form part of the particular calibration data 124.
[0040] The particular calibration data 124 includes the air pressure measurement (i.e., device air pressure) and its confidence or uncertainty from the air pressure sensor 112 of the mobile device 104, in addition to the data determined from the data obtained from the server 102. In this manner, the mobile device 104 assembles values needed to calculate a calibration quantity for the calibration value (e.g., the assumed altitude of the mobile device 104, the base air pressure, the base temperature, and the device air pressure for the particular location 118). The mobile device 104 also assembles values needed to calculate a calibration confidence interval for the calibration value (e.g., terrain flatness from the terrain property data 128, the assumed altitude confidence or uncertainty value, the base air pressure, the base temperature, and the device air pressure).
[0041] The mobile device 104 stores this calibration value in a "calibration table" along with other previously determined or future determined calibration values. Calibration values that are too old or too unreliable may be removed from the calibration table unless only one such calibration value is available. The mobile device 104 then selects from the calibration table what it considers to be the "best" calibration value. The best calibration value is stored in a "current calibration table" and is used to adjust raw barometric pressure measurements produced by the barometric pressure sensor 112 to obtain calibrated barometric pressure measurements. The calibrated barometric pressure measurements are used in determining the altitude of the mobile device 104.
[0042] 2 illustrates a simplified example environment 200 in which a mobile device 104 may be used to estimate the altitude of the mobile device 104 and calibrate the air pressure sensor 112 in the mobile device 104, according to some embodiments. The environment 200 includes an example weather station network 202, an example mobile device 104, and an example server 102. The server 102 may communicate with various devices, such as the mobile device 104. The example environment 200 also includes a terrain 204 having different heights (altitudes) above ground level, buildings 206, 208 at different elevations, and a power transmission tower 210.
[0043] The weather stations 202 form a network of ground transmitters located at different elevations, depths, outside or inside natural or man-made structures (e.g., buildings 206, 208 and transmission tower 210) for different elevations throughout the terrain 204, as shown in the example of FIG. 2. In some embodiments, the sensor measurements and positioning signals are transmitted from the weather stations 202 and received at the mobile device 104 and / or server 102 using known transmission techniques. Positioning signals may also be transmitted from transmitters (not weather stations, e.g., transmission tower 210) located throughout the exemplary environment 200, or from a satellite 212 above the exemplary environment 200. For example, the sensor measurements and positioning signals may be transmitted using one or more common multiplexing parameters utilizing time slots, pseudo-random sequences, frequency offsets, or other approaches as known in the art or as disclosed herein.
[0044] The mobile device 104 may be carried by a user 214 at different elevations, depths, outside or inside natural or man-made structures (e.g., buildings 206, 208) relative to different altitudes across a terrain 204, as shown in the example of Figure 2. The mobile device 104 may also be mounted on a vehicle 216 within the environment 200 or an aircraft 218 above the environment 200.
[0045] 1 and 8 illustrate example hardware, software, and data components of a contemplated weather station 202, mobile device 104, and server 102, as described herein. In particular, each weather station 202 and mobile device 104 may include appropriate atmospheric sensors (e.g., air pressure and temperature sensors) that generate measurements of atmospheric conditions (e.g., atmospheric pressure and temperature) to estimate the altitude of the mobile device 104, estimate the uncertainty in the altitude estimate, and calibrate the air pressure sensor 112.
[0046] As a person / user 214 moves with a mobile device 104 in such an environment 200, various opportunities may arise to calibrate the mobile device's air pressure sensor 112. For example, the mobile device 104 may encounter terrain for which the terrain and building data 126 provides known, accurate altitude information, or the terrain properties data 128 may indicate a change in altitude near a particular location 118 of the mobile device 104. Alternatively, the mobile device 104 may indicate that the particular location 118 of the mobile device 104 is approaching (e.g., within an acceptable threshold distance of) a known, accurate sensor device or a known geographic point (e.g., a monument or survey marker) whose altitude is well known. Other calibration opportunities may also occur.
[0047] FIG. 3 is a simplified flowchart of an example process 300 of a mobile device 104 for calibrating the air pressure sensor 112 using every calibration opportunity, according to some embodiments. The specific steps, combinations of steps, and order of steps in the process are provided for illustrative purposes only. The same results can be achieved by other processes with different steps, combinations of steps, or order of steps. Features or functions described in one of the steps performed by one of the components may be possible in different steps or components in some embodiments. Also, some steps may be performed before, after, or overlap with other steps, regardless of the order of the steps illustrated.
[0048] In step 302, the mobile device 104 collects barometric pressure data, location data, and associated timestamp data (when the mobile device 104 was at this location and when it collected the barometric pressure data). Typically, the mobile device 104 does this continuously based on a set of rules for data collection. Data may be collected actively or passively (i.e., in the background). The data collection rules typically define the preferred circumstances under which relevant data should be collected. Such rules are typically used to optimize data bandwidth and ensure that collected data is of the highest quality and usable for calibration. Data collection rules may include, but are not limited to, collecting data under the following conditions: 1) The user 214 is stationary or walking (not driving) while carrying the mobile device 104. This activity is determined from activity measurements or derived using sensor stability measurements from one or more of the location sensor 108, the movement sensor 110, and / or the air pressure sensor 112. 2) The mobile device 104 is outside the building, which may be determined from building footprint data in the terrain and building data 126, if available. 3) The mobile device 104 is on a flat slope. This may be determined from the terrain-related data 126 and 128, if available. 4) The mobile device 104 is on a known floor inside a building, which may be determined from building floor data in the terrain and building data 126, if available. 5) A user 214 with a mobile device stands still or walks through a perimeter with a known calibrated barometric instrument or calibrated device. If any one or more of these rules are met, then pressure and location data is preferably collected because data collected in such circumstances is deemed more useful and reliable. Furthermore, data collection may be more aggressive or more conservative depending on whether the mobile device 104 already has a recently determined calibration value that is deemed more reliable (i.e., depending on different thresholds for each of rules 1-5).
[0049] In step 304, the mobile device 104 determines whether its air pressure sensor 112 is already sufficiently calibrated. To this end, the mobile device 104 consults a calibration table to determine whether it contains sufficiently accurate and reliable calibration values. Depending on this determination, the calibration table may be examined in one or more different ways. 1. Determining whether there are any calibration values whose calibration confidence interval is below a confidence threshold NPa (eg, N=10 Pa). The confidence threshold can be based on drift modeling of a sensor comparable to the barometric pressure sensor 112. 2. Determining whether the calibration value was determined within a time threshold of T days in the past (eg, T=10 days). The time threshold can be established by drift modeling of a sensor comparable to the barometric pressure sensor 112. 3. Determine whether or not a calibration value for the preferred calibration type exists according to the prioritized list of calibration techniques listed below, from highest to lowest priority. a. Manual User Intervention Request b. Buildings and terrain c. Manufacturer and model of the pressure sensor d. Device make and model e. High-precision sensors in the vicinity f. Device ID g. Nearby known geographic points h. App Status i. Machine learning models If any of the above determinations are true, then the determination at step 304 is "Yes" and the mobile device's air pressure sensor 112 is already sufficiently calibrated, and process 300 returns to collecting air pressure and location data at step 302. Otherwise, the determination at step 304 is "No" and the mobile device's air pressure sensor 112 is not sufficiently calibrated, and therefore process 300 proceeds to step 306.
[0050] In step 306, the mobile device 104 determines whether the collected pressure and location data has been filtered. If yes, the process 300 proceeds to step 310. However, if step 306 determines that the collected pressure and location data has not been filtered, the mobile device 104 filters the data in step 308 and returns to step 306. This filtering typically involves discarding unreliable data according to a set of filtering rules. For example, filtering rules for discarding unreliable data include the following: 1) The activity conditions were inappropriate (e.g., data collection occurred while driving) or were too noisy (e.g., the mobile device 104 was changing altitude or data was collected during severe local weather). 2) Based on building data in terrain and building data 126 or GPS I / O information, if available, the mobile device 104 is not outside a building. 3) If terrain property data 128 is present, the mobile device 104 is not on a flat slope. 4) A location anomaly has been detected based on the freshness of the latitude and longitude and the speed or derived velocity of the mobile device 104. For example, the latitude and longitude values remain fixed for an extended period of time (e.g., more than an hour) or the latitude and longitude change in a short period of time that is physically impossible (e.g., 100 miles in 5 seconds). 5) The battery temperature of the mobile device 104 is not within the maximum and minimum allowable range (because some barometric pressure sensors have a temperature sensitive accuracy). For example, the battery temperature is 45° C. while the threshold range is 20° C. to 40° C. 6) Any of the measurements (e.g. latitude, longitude, pressure, etc.) are 0 or invalid. For collected pressure and location data, if any of the filtering rules mentioned above are true, the data set is discarded as being unreliable.
[0051] The data collection rules and filtering rules together can ensure that unreliable or questionable data is not used in calibrating the barometric pressure sensor 112. In some embodiments, the data collection rules and filtering rules can be applied together in either the data collection step 302 or the filtering of the data step 308.
[0052] In step 310, the mobile device 104 determines whether it is ready to perform the calibration calculation. In some embodiments, the mobile device 104 is ready whenever there is only one pressure and location data set after successfully applying the data collection and filtering rules. In other embodiments, the mobile device 104 is ready after one or more pressure and location data sets have been collected and filtered. This is because the more data sets and the more calibration values calculated, the more accurate and precise the calibration calculation will be. The best and most reliable calibration value, or an average of the calibration values, is then selected as the result of the calculation to be stored in the calibration table. Thus, in some embodiments, the mobile device 104 determines whether there are at least N data packets, each containing a collected pressure and location data set. Furthermore, N depends on the time since the last good calibration, calibrating with less data if the last good calibration was older and calibrating with more data if the last good calibration was not too old. For example, if the last good calibration was 5 days ago, N may be 10 data packets, and if the last good calibration was only 3 days ago, N may be 20 data packets. If the mobile device 104 is not ready to perform the calibration calculations, i.e., if the answer at step 310 is "No," the process 300 returns to step 302 and continues collecting pressure and location data. On the other hand, if the mobile device 104 is ready to perform the calibration calculations, i.e., if the answer at step 310 is "Yes," the process 300 proceeds to step 312.
[0053] In step 312, the mobile device 104 determines values required for calibration, including values required to calculate a calibration quantity of the calibration value (e.g., the assumed altitude of the mobile device 104, the reference pressure, the reference temperature, and the device pressure for the particular location 118) and values required to calculate a calibration confidence interval of the calibration value (e.g., terrain flatness, the assumed altitude confidence or uncertainty value, the reference pressure, the reference temperature, and the device pressure from the terrain property data 128). FIG. 4 illustrates an exemplary process 400, described below, for determining values or parameters required by the mobile device 104 to calibrate the air pressure sensor 112 in an embodiment in which the general location 120 includes a boundary region. Additionally, FIG. 6 and FIG. 8 illustrate exemplary processes 600 and 800, described below, respectively, for determining values or parameters required by the mobile device 104 to calibrate the air pressure sensor 112 in an embodiment in which the general location 120 includes multiple locations.
[0054] At step 314, the mobile device 104 calculates calibration values, including a calibration quantity and a calibration confidence interval, for each set of collected and filtered pressure-location data. In some embodiments, the mobile device 104 calculates the pressure-based altitude (h) of the mobile device 104 using the uncalibrated device pressure of the pressure sensor 112 from the following pressure equation: device ) to calculate formula 3 JPEG2024537002000004.jpg23159Here, P device is the uncalibrated estimate of air pressure at a particular location 118 of the mobile device 104 according to the air pressure sensor 112 of the mobile device 104, and P ref is the reference pressure at the reference surface, accurate within an acceptable pressure range from the true pressure (e.g., less than 5 Pa), and T ref is the reference temperature at the reference surface (e.g., in Kelvin), and h refis the altitude of the reference plane estimated within a desired altitude error range (e.g., less than 1.0 m), g is the acceleration due to gravity (e.g., −9.8 m / s2), R is the gas constant, and M is the molar mass of air (e.g., dry air, etc.). The minus sign (−) may be replaced with a plus sign (+) in Equation 1 in alternative embodiments, as will be understood by those skilled in the art (e.g., g=9.8 m / s2). 2 or when the natural logarithm operand is P device / P ref in the case of).
[0055] The mobile device 104 obtains the expected or likely altitude h of the mobile device 104 from the required value determined in step 312. The mobile device 104 then calculates the pressure-based altitude h device and the expected or probable altitude h likely The difference in altitude between likely -h device ) is determined. The altitude difference dh is converted to an air pressure difference dP based on the high and low pressure scale (h-to-Pa scale) and the formula dP = dh × h-to-Pa scale. Here, the h-to-Pa scale is approximated by RTP / gM (approximately 12 Pa / m) in typical conditions, but can range from 8 Pa / m to 15 Pa / m depending on environmental conditions. The resulting air pressure difference dP is the calibrated quantity for the calibrated value.
[0056] Alternatively, the mobile device 104 may use the pressure equation shown in Equation 3 to calculate the pressure-based altitude h device The expected or probable altitude h likely device pressure P device may be adjusted by the air pressure difference dP.
[0057] Additionally, the mobile device 104 may calculate an altitude confidence h according to, for example, the following formula: conf Calculate the calibration confidence interval for the calibration value, starting from formula 4 JPEG2024537002000005.jpg28159 where K is R / gM (i.e., approximately 30m / K) and σ T is the uncertainty of the measurement of the reference temperature T, and σ Pref is the reference pressure P ref is the uncertainty in the measurement of Pdevice is the device pressure P device is the uncertainty of the measurement of P ref can be selected as the pressure at the weather station, the topography of the market, 0mHAE, 0mMSL, etc. Therefore, the calibration confidence interval dP conf h conf ×h-to-Pa-scale.
[0058] In step 316, the mobile device 104 stores in a calibration table one or more calibration values obtained in step 314, along with a calibration quantity dp and a calibration confidence interval dP conf The calibration table is a database table that can be stored on the mobile device 104 and includes: 1) Calibration value of the barometric pressure sensor, 2) the calibration confidence interval of the barometric pressure sensor; 3) Calibration collection date (i.e., when were the pressure and position data used in the calibration calculations collected?), 4) Additional information (e.g., the number of corrections required for the calibration). Additionally, the positive or negative sign of the calibration quantity dP depends on whether the calibration quantity dP is added or subtracted from the device air pressure measurement to obtain the calibrated device air pressure.
[0059] Optionally, the calibration table may include information regarding the type of calibration technique performed (e.g., manual calibration performed by a user, calibration performed in the background, calibration performed at the factory, batch processing, single record (OD), etc.). U.S. Patent Application No. 17 / 303691, filed June 4, 2021 and entitled "Constraining Barometric Pressure Sensor Calibration with Sporadic Data Collection," discloses the types of calibration techniques that may be used herein. U.S. Patent Application No. 17 / 303691 is hereby incorporated by reference as if set forth in its entirety herein.
[0060] In step 318, the mobile device 104 compares the calibration values in the calibration table and selects the "best" one. The previously mentioned U.S. patent application Ser. No. 17 / 303,691 discloses techniques for selecting the best calibration value that may be used herein.
[0061] At step 320, the mobile device 104 stores the selected best calibration value in a current calibration table as the current calibration value 116, so that the mobile device 104 can use the current calibration value 116 to calibrate air pressure measurements made by the air pressure sensor 112.
[0062] FIG. 4 illustrates an exemplary process 400 for determining values or parameters required by the mobile device 104 to calibrate the air pressure sensor 112 in an embodiment where the general location 120 includes a boundary region. The specific steps, combinations of steps, and order of steps in this process are provided for illustrative purposes only. The same results can be achieved by other processes with different steps, combinations of steps, or order of steps. Features or functions described in one of the steps performed by one of the components may be possible in different steps or components in some embodiments. Also, some steps may be performed before, after, or overlap with other steps regardless of the order of the steps illustrated.
[0063] In step 402, the mobile device 104 determines the exact data packet to be sent to the server 102. The data packet includes a boundary region encompassing a particular location 118 of the mobile device 104 and a timestamp of the time the mobile device 104 was at that location. The time and location also apply to when and where the device air pressure measurement was made by the air pressure sensor 112. The particular location 118, the timestamp, and the device air pressure are thus the data set collected in step 302 of the process 300 described above. In some embodiments, the mobile device 104 collects multiple data sets prior to performing the calibration calculations. Each data set has a particular location 118, which may be different or the same as other data sets depending on whether the mobile device 104 moved (or returned to the same location) during the data collection. To accommodate all of the particular locations 118, the mobile device 104 generates one or more boundary regions encompassing one or more of the particular locations 118 depending on the spatial and / or temporal distribution of the particular locations 118. In other words, the particular locations 118 may be clustered in location and / or time to reduce redundant data requests. Thus, instead of generating a separate boundary region for each particular location 118, the mobile device 104 may suitably combine relatively close particular locations 118 (along with timestamps associated with the particular locations 118) into the same boundary region, thereby saving transmission bandwidth. Furthermore, the size of a given boundary region may also depend on the spatial distribution of the particular locations 118 included in the region. The size of the boundary region may also depend on the privacy requirement level of the mobile device 104, such that a larger boundary region may be selected when the privacy requirement is high, and a smaller boundary region may be selected when the privacy requirement is low. The level of privacy requirement may be set according to a received user input. Furthermore, the shape of each boundary region may be any suitable shape, such as a circle, an ellipse, a square, a rectangle, or any other suitable regular or irregular polygon.
[0064] 5 illustrates an example boundary region 502. The boundary region 502 is selected such that a particular location 118 of a mobile device 104 can be anywhere within the region, such as at or near the center (e.g., 504), at or near the periphery (e.g., 506), or anywhere in between (e.g., 508).
[0065] In step 404, the mobile device 104 transmits one or more boundary regions and timestamps (i.e., the general location 120) in one or more data packets as a request to the server 102. Each data packet includes one or more boundary regions and associated timestamps. Upon receiving the data packets including the boundary regions and timestamps (i.e., the general location 120), the server 102 constructs one or more general calibration data 122 for each combination of boundary region and associated timestamp and transmits the general calibration data 122 to the mobile device 104 as described above. The general calibration data 122 is for a region and time that encompasses the boundary region and associated timestamps. In some embodiments, one region may be used for the terrain-related data 126 and 128 and another region may be used for the reference network weather station data samples 132. FIG. 5 illustrates an example region 510 that encompasses a boundary region 502 and includes multiple sub-regions 512-518 maintained by the server 102.
[0066] In step 406, the mobile device 104 receives the approximate calibration data 122, which includes a portion of the terrain-related data 126 and 128 and the reference network weather station data sample 132. For each particular location 118 of the mobile device 104, the mobile device 104 performs steps 408-420. In step 408, the mobile device 104 determines an expected altitude based on the terrain and building data 126 and the particular location 118. In step 410, the mobile device 104 determines a reference pressure and a reference temperature for a reference surface based on the reference network weather station data sample 132 and the particular location 118. In step 412, the mobile device 104 determines a device pressure for the mobile device 104. At this time, the mobile device 104 aligns the values (e.g., the expected altitude of the mobile device 104, the reference pressure, the reference temperature, and the device pressure for the particular location 118) required to calculate a calibration amount for the calibration value. In step 414, the mobile device 104 determines an altitude confidence for the assumed altitude based on the terrain and building data 126 and the particular location 118. In step 416, the mobile device 104 determines a reference pressure confidence and a reference temperature confidence for the reference surface based on the reference network weather station data sample 132 and the particular location 118. In step 418, the mobile device 104 determines a device pressure confidence for the mobile device 104. In step 420, the mobile device 104 determines a terrain quality for the particular location 118 based on the terrain quality data 128. At this time, the mobile device 104 assembles the values (e.g., terrain flatness, confidence or uncertainty for the assumed altitude, reference pressure, reference temperature, and device pressure) required to calculate a calibration confidence interval for the calibration value. Thus, in step 422, the mobile device 104 returns the values required in step 312 of the process 300.
[0067] FIG. 6 illustrates an exemplary process 600 for determining values or parameters required by the mobile device 104 to calibrate the air pressure sensor 112 in an embodiment where the general location 120 includes multiple locations. The specific steps, combinations of steps, and order of steps in this process are provided for illustrative purposes only. Alternative processes with different steps, combinations of steps, or order of steps can achieve the same results. Features or functions described in one of the steps performed by one of the components may be possible in different steps or components in some embodiments. Also, some steps may be performed before, after, or overlap with other steps regardless of the order of the steps illustrated.
[0068] In step 602, the mobile device 104 determines the exact data packet to be sent to the server 102. The data packet includes a plurality of locations, including one or more specific locations 118 of the mobile device 104, and a timestamp(s) of the time(s) the mobile device 104 was at the location(s). Because the plurality of locations includes more locations than the specific location(s) 118, the remaining locations include additional dummy locations generated by the mobile device 104 in approximately the same general area as the specific location(s) 118. The data packet also includes a dummy timestamp (for the dummy locations) generated by the mobile device 104 in approximately the same time frame as the timestamp of the specific location(s) 118. The data packet further includes the device air pressure(s) measured by the air pressure sensor 112 at the specific location(s) 118 and a dummy device air pressure generated by the mobile device 104 for the dummy locations. The dummy device air pressure can be generated randomly to suit the dummy location or within a general range that includes the device air pressure(s), or the dummy device air pressure can simply be replicated from the device air pressure(s). The time and location also apply to the time and place at which the device air pressure measurement was made by the air pressure sensor 112. Thus, the specific location 118, the timestamp, and the device air pressure are the data set collected in step 302 of the process 300 described above. In some embodiments, the mobile device 104 collects multiple data sets prior to performing the calibration calculations. Each data set has a specific location 118, which may be different or the same as other data sets depending on whether the mobile device 104 has moved (or returned to the same location) during data collection. To accommodate all of the specific locations 118, the mobile device 104 can generate multiple locations that encompass one or more of the specific locations 118 along with additional dummy locations.In other words, instead of generating a separate set of locations for each specific location 118, the mobile device 104 may suitably include the specific location 118 (along with a timestamp associated with the specific location 118) in the same set of locations, thereby saving transmission bandwidth. Furthermore, the number of additional dummy locations may depend on the number deemed necessary to sufficiently obscure the specific location 118 or on the privacy requirement level of the mobile device 104, where a larger number may be selected when the privacy requirement is high and a smaller number may be selected when the privacy requirement is low (e.g., the number of dummy locations may be 10-100 times the number of specific locations 118). Furthermore, the distribution and location of the additional dummy locations should be within the same general area as the specific locations 118. Furthermore, if some of the specific locations 118 are widely separated from the other specific locations 118, it may be preferable to generate multiple sets of locations, each including a portion of the specific location 118.
[0069] 7 illustrates an example set of multiple locations within a region 702. The multiple locations include the specific locations 118 and a set of additional randomly generated dummy locations 704 (denoted by "X") The size of the region 702, or the spatial distribution of the specific locations 118 and the additional dummy locations 704, may also depend on the privacy requirement level of the mobile device 104, where a larger region may be selected for higher privacy requirements and a smaller region may be selected for lower privacy requirements.
[0070] In step 604, the mobile device 104 transmits the multiple locations and timestamps (i.e., the approximate locations 120) in one or more data packets as multiple requests to the server 102. Each data packet includes one or more locations of the multiple locations and an associated timestamp. Upon receiving the data packets with the respective locations and timestamps (i.e., the approximate locations 120), the server 102 constructs approximate calibration data 122 including an assumed or likely altitude (and a confidence level) for each location, a reference pressure and temperature (and a confidence level) for each location, and terrain property data 128 for each location. The server 102 transmits the approximate calibration data 122 in one or more packets to the mobile device 104 as described above.
[0071] In step 606, the mobile device 104 receives the general calibration data 122 including the data described above for each specific location 118 and each additional dummy location 704. The mobile device 104 deletes the data for each additional dummy location 704. For each specific location 118 of the mobile device 104, the mobile device 104 performs steps 608-620.
[0072] In step 608, the mobile device 104 determines an assumed altitude based on the data received from the server 102 for the specific location 118. In step 610, the mobile device 104 determines a reference pressure and a reference temperature of the reference surface based on the data received from the server 102 for the specific location 118. In step 612, the mobile device 104 determines a device pressure at the specific location 118 of the mobile device 104. At this time, the mobile device 104 assembles values (e.g., the assumed altitude of the mobile device 104, the reference pressure, the reference temperature, and the device pressure for the specific location 118) required to calculate the calibration quantity for the calibration value. In step 614, the mobile device 104 determines an altitude confidence of the assumed altitude based on the data received from the server 102 for the specific location 118. In step 616, the mobile device 104 determines a confidence of the reference pressure and a confidence of the reference temperature of the reference surface based on the data received from the server 102 for the specific location 118. In step 618, the mobile device 104 determines the confidence of the device pressure at the particular location 118 of the mobile device 104. In step 620, the mobile device 104 determines the terrain properties of the particular location 118 based on the terrain properties data 128. At this time, the mobile device 104 gathers the values (e.g., terrain flatness, assumed altitude confidence or uncertainty, reference pressure, reference temperature, and device pressure) required to calculate a calibration confidence interval for the calibration value. Thus, in step 622, the mobile device 104 returns the values required in step 312 of the process 300.
[0073] FIG. 8 illustrates another exemplary process 800 for determining values or parameters required by the mobile device 104 to calibrate the air pressure sensor 112 in an embodiment where the general location 120 includes multiple locations. In this process 800, some functions are performed by the server 102, but the final functions of the process 300 are still performed by the mobile device 104. The specific steps, combinations of steps, and order of steps in this process are provided for illustrative purposes only. The same results can be achieved by other processes with different steps, combinations of steps, or order of steps. Features or functions described in one of the steps performed by one of the components may be possible in different steps or components in some embodiments. Also, some steps may be performed before, after, or overlap with other steps, regardless of the order of the steps illustrated.
[0074] In step 802, the mobile device 104 determines the exact data packet to be sent to the server 102. The data packet includes a plurality of locations, including one or more specific locations 118 of the mobile device 104, and a timestamp(s) of the time(s) the mobile device 104 was at the location(s). Because the plurality of locations includes more locations than the specific location(s) 118, the remaining locations include additional dummy locations generated by the mobile device 104 within approximately the same general area as the specific location(s) 118. The data packet also includes a dummy timestamp (for the dummy locations) generated by the mobile device 104 in approximately the same time frame as the timestamp of the specific location(s) 118. The data packet further includes the device air pressure(s) measured by the air pressure sensor 112 at the specific location(s) 118 and a dummy device air pressure generated by the mobile device 104 for the dummy locations. The dummy device air pressure can be generated randomly to suit the dummy location or within a general range that includes the device air pressure(s), or the dummy device air pressure can simply be replicated from the device air pressure(s). The time and location also apply to the time and place at which the device air pressure measurement was made by the air pressure sensor 112. In some embodiments, the mobile device 104 collects multiple data sets prior to performing the calibration calculation. Each data set has a specific location 118, which may be different or the same as other data sets depending on whether the mobile device 104 moved (or returned to the same location) during data collection. To accommodate all of the specific locations 118, the mobile device 104 can generate multiple locations that include one or more of the specific locations 118 along with additional dummy locations. In other words, instead of generating a separate multiple location set for each specific location 118, the mobile device 104 can include the specific location 118 (along with a timestamp associated with the specific location 118) in the appropriate identical multiple location set, thereby conserving transmission bandwidth.Furthermore, the number of additional dummy locations may depend on the number deemed necessary to sufficiently obscure the specific locations 118 or on the privacy requirement level of the mobile device 104, where a larger number may be selected when the privacy requirement is high and a smaller number may be selected when the privacy requirement is low (e.g., the number of dummy locations may be 10-100 times the number of specific locations 118). Furthermore, the distribution and location of the additional dummy locations should be within the same general area as the specific locations 118. Furthermore, if some of the specific locations 118 are widely separated from the other specific locations 118, it may be preferable to generate multiple sets of locations, each including a portion of the specific locations 118.
[0075] The exemplary set of locations within region 702 shown in FIG. 7 and described above with respect to process 600 is also applicable to process 800.
[0076] At step 804, the mobile device 104 transmits the multiple locations and associated device pressure and timestamps (i.e., approximate locations 120) in one or more data packets as multiple requests to the server 102. Each data packet includes one or more of location data, pressure data, and timestamp data for the multiple locations. Upon receiving (at step 806) the data packets including each data set (i.e., approximate locations 120), the server 102 does not construct approximate calibration data 122 to transmit to the mobile device 104. Instead, the server 102 proceeds to determine values needed for each location. These values include the expected or likely altitude (and its confidence) for each location, the baseline pressure and temperature (and its confidence) for each location, and the terrain property data 128 for each location. Thus, for each location of the multiple locations received from the mobile device 104, the server 102 performs steps 808-820 to process the location data, pressure data, and timestamp data.
[0077] In step 808, the server 102 determines an assumed altitude based on the aiding data held by the server 102 and each location received from the mobile device 104. In step 810, the server 102 determines a reference pressure and a reference temperature based on the aiding data for each location. In step 812, the server 102 determines a device pressure of the mobile device 104 at each location. At this time, the server 102 has the values (e.g., the assumed altitude of the mobile device 104, the reference pressure, the reference temperature, and the device pressure for each location) required to calculate the calibration quantity for the calibration value. In step 814, the server 102 determines an altitude confidence of the assumed altitude based on the aiding data for each location. In step 816, the server 102 determines a confidence of the reference pressure and a confidence of the reference temperature based on the aiding data for each location. In step 818, the server 102 determines a confidence of the device pressure of the mobile device 104 at each location. In step 820, the server 102 determines the terrain properties for each location based on the terrain properties data 128. At this time, the server 102 gathers the values (e.g., terrain flatness, confidence or uncertainty of the assumed altitude, reference pressure, reference temperature, and device pressure) required to calculate the calibration confidence interval for the calibration value. In step 822, the server 102 processes the required values and returns the processed values to the mobile device 104 for use in step 312 of the process 300 (step 824). The processed values include data from which the mobile device 104 can directly calculate the calibration value. For example, the processed values may include the device altitude calculated by the pressure equation and / or the assumed altitude, or the difference between the calculated device altitude and the assumed altitude (see above). Thus, in this embodiment, the processed values can be considered as the approximate calibration data 122 sent by the server 102 and received by the mobile device 104. Thus, the mobile device 104 determines 314 a calibration value using the processed values (corresponding to the particular calibration data 124) for the particular location 118.This embodiment has the advantage of preserving user privacy while keeping the auxiliary data on the server 102, reducing the computational load on the mobile device 104.
[0078] The methods, techniques, processes, approaches, or combinations thereof described herein or enabled by the disclosure herein may be implemented by hardware components (e.g., devices), software modules (e.g., stored on a machine-readable medium), or combinations thereof. In particular, the methods or approaches described herein or enabled by the disclosure herein may be implemented by the tangible, tangible systems described herein. For example, the devices may include one or more computing units, processors, controllers, integrated circuits, chips, systems on chips, servers, programmable logic devices, field programmable gate arrays, electronic devices, special purpose circuits, and / or other suitable devices described herein or known in the art. Contemplated herein are one or more non-transitory machine-readable media embodying program instructions that, when executed by one or more devices, cause the one or more devices to perform or implement operations including steps of any of the methods described herein. As used herein, a machine-readable medium includes all forms of machine-readable media, including one or more non-volatile or volatile storage media, removable or non-removable media, integrated circuit media, magnetic storage media, optical storage media, or any other storage media that may be patented under the laws of the jurisdiction in which this application is filed, including RAM, ROM, and EEPROM, but does not include machine-readable media that may not be patented under the laws of the jurisdiction in which this application is filed (e.g., a transitory propagating signal). The methods disclosed herein provide a set of rules to be performed. Systems including one or more machines and one or more non-transitory machine-readable media for performing the methods described herein are also contemplated herein. One or more machines that perform or perform, or are configured, operable, or adapted to perform or perform operations including the steps of any of the methods described herein are also contemplated herein. Each non-prior art method described herein represents a particular set of rules within a process flow that provides significant advantages in the field of calibration and positioning.The steps of the methods described herein are not order dependent and may be performed in parallel, or in a different order than described, if possible. Different method steps described herein may be combined to form any number of methods, as will be understood by those skilled in the art. Any method step or feature disclosed herein may be omitted from the claims for any reason. Certain well-known structures and devices are not shown in the figures to avoid obscuring the concepts of the disclosure. When two objects are "coupled" to each other, the two objects may be directly connected or separated through one or more objects. When no line or intervening object connects two particular objects, their coupling is contemplated in at least one embodiment unless otherwise noted. When an output of one object and an input of another object are coupled to each other, information transmitted from the output is received by the input in its output form or a modified version thereof, even if the information passes through one or more intermediate objects. The transmission of information (e.g., data, commands, signals, bits, symbols, chips, etc.) disclosed herein may use known communication paths and protocols, unless otherwise noted. Words such as "comprise," "comprising," "include," "including," and the like are to be interpreted in an inclusive sense (i.e., not limited to), as opposed to an exclusive sense (i.e., consisting of only). Words using the singular or plural also include the plural or singular, respectively, unless specifically stated otherwise. The words "or" and "and" used in the detailed description refer to any and all of the items in a list, unless specifically stated otherwise. Words such as some, any, and at least one refer to one or more. In this specification, the terms "may" and "can" are used to indicate examples rather than requirements.For example, something that may perform or be capable of performing an action or may have or may have a characteristic need not perform that action or have that characteristic in every embodiment, but it does perform that action or have that characteristic in at least one embodiment.Unless an alternative approach is described, access to data from a data source may be achieved using known techniques (e.g., a requesting component requests the data from a data source via a query or other known approach, the data source searches and finds the data, the data source collects the data and sends it to the requesting component, or other known techniques).
[0079] An environment in which the processes described herein may be performed may include a network of weather stations or ground transmitters, at least one mobile device (e.g., a user device), and a server. The weather stations and the mobile device may each be located at different elevations and depths outside or inside a natural or man-made structure (e.g., a building). Position or navigation signals may be transmitted from the weather stations / transmitters and satellites, respectively, using known transmission techniques, and received by the mobile device. For example, the weather stations may transmit signals using one or more common multiplexing parameters utilizing time slots, pseudo-random sequences, frequency offsets, or other approaches, as known in the art or as disclosed herein. The mobile device may take different forms, such as a mobile phone, other wireless communication device, portable computer, navigation device, tracking device, receiver, or another suitable device capable of receiving the signals. Each weather station and mobile device may include suitable atmospheric sensors (e.g., air pressure and temperature sensors) that generate measurements of atmospheric conditions (e.g., atmospheric pressure and temperature) to estimate the unknown altitude of the mobile device. By way of example, the air pressure sensor of the mobile device may also be calibrated from time to time.
[0080] As an example of FIG. 8, a weather station 202 as described herein may include a mobile device interface 11 (e.g., antenna and RF front-end components known in the art or disclosed herein) that communicates with a mobile device 104, one or more processors 12, memory / data sources 13 that store and retrieve information and / or program instructions, air sensors 14 that measure environmental conditions (e.g., air pressure, temperature, humidity, etc.) at or near the weather station 202, a server interface 15 (e.g., antenna, network interface, etc.) that communicates with a server 102, and any other components known to those of skill in the art. The memory / data source 13 comprises a memory that stores software modules having executable instructions that the processor 12 may execute to perform different operations, including (i) performing some or all of the methods described herein or understood by one of ordinary skill in the art to be operable by the weather station 202, (ii) generating a positioning signal to transmit using a selected time, frequency, and / or phase, (iii) processing signals received from the mobile device 104 or other sources, or (iv) performing other necessary processing as described in this disclosure. The signals generated and transmitted by the weather station 202, as determined by the mobile device 104 or server 102, may include information identifying the weather station 202, its location, environmental conditions at or near the weather station 202, and / or other information known in the art. The atmospheric sensor 14 may be integrated into the weather station 202 or may be separate from the weather station 202 and may be located at the same location as the weather station 202 or in close proximity to the weather station 202 (e.g., within a threshold distance).
[0081] In the example shown in FIG. 8, the mobile device 104 may include a network interface 27 for communicating with the server 102 via a network 106 (e.g., wired and / or wireless interface ports, antennas, RF front-end components known in the art or disclosed herein), a weather station interface 21 for communicating with a weather station 202, one or more processors 22, a memory / data source 23 for storing and retrieving information and / or program instructions, atmospheric sensors 24 (including an air pressure sensor 112) for measuring environmental conditions of the mobile device 104 (e.g., air pressure, temperature, etc.), other sensors 25 for measuring other conditions (e.g., a compass, acceleration sensors, inertial sensors for measuring movement and orientation), a user interface 26 (e.g., a display, keyboard, microphone, speaker, etc.) for allowing a user of the mobile device 104 to provide input and receive output, and any other components known to those of skill in the art. A GNSS interface and processing unit (not shown) is contemplated, which may be integrated with other components or a standalone antenna, RF front end, and processor dedicated to receiving and processing GNSS signals. The memory / data source 23 may include memory that stores software modules having data and executable instructions, including a signal processing module, a signal-based position estimation module, a pressure-based altitude module, a movement determination module, current calibration values, data packets, a calibration module, and other modules.The processor 22 may perform different operations by executing instructions from modules such as: (i) performing some or all of the methods described herein or understood by one of ordinary skill in the art to be executable by the mobile device 104; (ii) estimating the altitude of the mobile device 104 (based on barometric pressure measurements from the mobile device 104 and the weather station 202, temperature measurements from the weather station 202 or another source, and other information necessary for the calculation); and (iii) processing received signals to derive location information or data (e.g., the time of arrival or travel of the signal, the pseudorange between the mobile device 104 and the weather station 202, the atmospheric conditions at the weather station, the weather station and / or its location, or other weather station information). ), (iv) using the location information to calculate an estimated position of the mobile device 104; (v) determining movement based on measurements from an inertial sensor of the mobile device 104; (vi) processing the GNSS signals; (vii) constructing and transmitting a general position 120; (viii) storing the current calibration value 116, the specific position 118, the general position 120, the general calibration data 122, and the specific calibration data 124; (ix) calibrating the barometric pressure sensor 112 based on the specific calibration data 124; (x) generating the specific calibration data 124 from the received general calibration data 122; and / or (xi) performing other necessary processing as described in this disclosure.
[0082] 8, server 102 may include a network interface 31 for exchanging information with mobile devices 104 and other data sources via a network 106 (e.g., wired and / or wireless interface ports, antennas, etc.), one or more processors 32, a memory / data source 33 for storing and retrieving information and / or program instructions, and any other components known to those of skill in the art. Memory / data source 33 may include memory for storing software modules having executable instructions for the methods and processes described above or portions / steps thereof, including a general calibration data construction module, a calibration technique module, a signal-based positioning module, a pressure-based altitude module, a calibration assistance module, and other modules. The processor 32 may perform different operations by executing instructions from modules such as: (i) performing some or all of the methods described herein or understood by one of ordinary skill in the art to be executable by the server 102, (ii) estimating the altitude of the mobile device 104, (iii) calculating an estimated location of the mobile device 104, (iv) performing calibration techniques, (v) calibrating the mobile device 104, (vi) determining calibration assistance for a calibration opportunity, (vii) constructing and transmitting approximate calibration data, and (xi) performing other necessary operations or processes described in this disclosure. The steps performed by the server 102 described herein may be performed by other equipment, including an enterprise computer or other suitable equipment, remote from the mobile device 104.
[0083] Reference has been made in detail to embodiments of the invention of this disclosure, one or more examples of which are illustrated in the accompanying drawings. Each example is provided for the purpose of illustrating the technology, and not as a limitation of the technology. Indeed, while specific embodiments of the invention have been described in detail herein, those skilled in the art will recognize that, upon understanding the foregoing, modifications, variations, and equivalents to these embodiments will readily occur to them. For example, features illustrated or described as part of one embodiment can be used with another embodiment to yield still further embodiments. Accordingly, the present subject matter is intended to include all modifications and variations that come within the scope of the appended claims and equivalents thereof. These and other modifications and variations of the invention may be implemented by those skilled in the art without departing from the spirit and scope of the invention, as more particularly described in the following claims. Moreover, those skilled in the art will recognize that the foregoing description is merely exemplary and is not intended to limit the invention.
Claims
1. determining a particular location of the mobile device; determining a general location of the mobile device that encompasses and obscures the specific location of the mobile device; the mobile device transmitting the general location to a server; receiving, by the mobile device, from the server, general calibration data relating to the general location; determining, by the mobile device, specific calibration data based on the general calibration data and the specific location; determining, by the mobile device, a device air pressure based on an air pressure measurement by an air pressure sensor on the mobile device; determining, by the mobile device, a calibration value for calibrating the air pressure sensor based on the particular calibration data and the device air pressure; calculating, by the mobile device, an altitude of the mobile device using the calibration value and subsequent barometric pressure measurements by the barometric pressure sensor; and
2. the general location includes a boundary area; the particular location is at any point within a boundary region; The method of claim 1.
3. Receiving the general calibration data further comprises: receiving a portion of terrain and building data relating to the boundary region; receiving reference pressure data and reference temperature data for an area encompassing the boundary area, the reference pressure data and the reference temperature data being based on pressure measurements and temperature measurements generated by a reference weather station; The method of claim 2.
4. Determining the particular calibration data further comprises: determining, from a portion of the terrain and building data, specific terrain and building data relating to the specific location; determining an expected altitude of the mobile device based on the particular terrain and building data; and determining from the reference pressure data and the reference temperature data a specific reference pressure and a specific reference temperature at the specific location for the region encompassing the boundary region.
5. The method of claim 3 , wherein the portion of terrain and building data comprises a portion of a terrain and building database.
6. The method of claim 3 , wherein the portion of the terrain and building data includes a distribution of terrain and buildings about latitude and longitude confidences surrounding the bounded region.
7. The method of claim 3 , wherein the portion of the terrain and building data includes a polynomial model fitted to data in a terrain and building database.
8. The method of claim 3 , wherein the reference pressure data and the reference temperature data comprise data from a reference pressure and temperature database.
9. The method of claim 3 , wherein the reference pressure data and the reference temperature data comprise a polynomial model fitted to data in a reference pressure and temperature database.
10. storing, on the mobile device, a portion of the terrain and building data, the reference pressure data, and the reference temperature data; 4. The method of claim 3, further comprising: if the mobile device determines that it is not in the boundary region, the mobile device deleting a portion of the terrain and building data, the baseline pressure data, and the baseline temperature data.
11. The method of claim 3 , wherein the portion of the terrain and building data includes terrain property data for the bounded region.
12. 3. The method of claim 2, wherein the size of the boundary region depends on a privacy requirement level of a mobile device, where a larger boundary region is selected when the privacy requirement is high and a smaller boundary region is selected when the privacy requirement is low.
13. the general location includes a plurality of locations including the specific location and other locations; the plurality of locations are within an area; The method of claim 1 , wherein the particular location is at any point within the region.
14. Receiving the general calibration data further comprises: receiving an estimated altitude for each of the plurality of locations; receiving a reference pressure and a reference temperature for each of the plurality of locations. The method of claim 13.
15. Determining the particular calibration data further comprises: determining a particular assumed altitude of the mobile device by selecting the assumed altitude received for the particular location; and determining a particular reference pressure and a particular reference temperature for the particular location by selecting, for the particular location, the received reference pressure and the received reference temperature.
16. The method of claim 14 , wherein receiving the general calibration data further comprises receiving terrain property data for each location of the plurality of locations.
17. The method of claim 13 , wherein the plurality of locations are selected to be arranged in a grid pattern in the region.
18. The method of claim 13 , wherein the locations are selected to be located at random latitude and longitude points within the region.
19. The method of claim 13, wherein the size of the region depends on a privacy requirement level of a mobile device, where a larger region is selected if the privacy requirement is high and a smaller boundary is selected if the privacy requirement is low.
20. 14. The method of claim 13, wherein the number of other locations depends on a privacy requirement level of the mobile device, where a larger number is selected when the privacy requirement is high and a smaller number is selected when the privacy requirement is low.
21. A mobile device determining a particular location and a timestamp of said mobile device; determining, by the mobile device, a device air pressure at the particular location for the time stamp based on an air pressure measurement by an air pressure sensor on the mobile device; determining, by the mobile device, a plurality of locations including the particular location and a dummy location; the mobile device determining a dummy device pressure and a dummy timestamp for the dummy location; the mobile device transmitting to a server the specific location, the dummy location, the timestamp, the dummy timestamp, the device air pressure, and the dummy device air pressure; receiving, by the mobile device, from the server, coarse calibration data for the plurality of locations; determining, by the mobile device, specific calibration data for the particular location based on the general calibration data; determining, by the mobile device, a calibration value for calibrating the air pressure sensor based on the particular calibration data; the mobile device using the calibration value and subsequent barometric pressure measurements by the barometric pressure sensor to calculate an altitude of the mobile device.
22. the server determining an assumed altitude for each location of the plurality of locations; the server determining a base pressure and a base temperature for each of the plurality of locations; 22. The method of claim 21, comprising: for each location of the plurality of locations, the server determining an altitude of the mobile device calculated based on the device pressure, the baseline pressure, and the baseline temperature.
23. 23. The method of claim 22, wherein the rough calibration data includes, for each of the plurality of locations, the calculated altitude and an assumed altitude, or a difference between the assumed altitude and a calculated altitude for each of the plurality of locations.
Citation Information
Patent Citations
Portable terminal device, method and program for measuring its altitude or the like, and recording medium storing the program
JP2008241467A
Mobile terminal estimating ground height at which it is positioned, program, and method
JP2016024041A
Access network node-based reference pressure network
JP2016512600A
Utilizing pressure profiles to determine location context identifiers
JP2016526151A
Electronic apparatus, altitude calculation program, and altitude calculation method
JP2017129441A
