Indoor positioning method, system, device and storage medium
By using UWB signals and inertial navigation track data combined with visual positioning information to perform error estimation and fused positioning calculations, it solves the problem of low positioning accuracy in existing indoor positioning technology and achieves higher-precision and stable indoor positioning effects.
Patent Information
- Application Number
- CN202410387293.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-04-01
AI Technical Summary
Among existing indoor positioning technologies, the WIFI-based triangulation positioning method is difficult to achieve dense deployment in complex environments, resulting in low positioning accuracy and inability to effectively perform indoor positioning.
The RSSI data of UWB signals are used for sorting and ranging calculations, combined with inertial navigation track data and visual positioning information, to improve the accuracy of indoor positioning through error estimation models and fused positioning calculations.
The accuracy and stability of indoor positioning are improved, mobile terminals can be positioned more accurately in complex environments, and the reliability of the positioning system is enhanced.
Smart Images

Figure CN118310523B
Abstract
Description
Technical Field
[0001] The present application relates to the field of indoor positioning technology, and in particular to an indoor positioning method, system, device and storage medium. Background Art
[0002] With the rapid increase of digital services and multimedia services, people's demand for positioning technology is gradually increasing, especially in complex indoor environments such as airports and underground parking lots.
[0003] Among the current indoor positioning technologies, the indoor positioning technologies based on WIFI ranging mainly include triangulation (TRI). In practical applications, the triangulation positioning algorithm cannot realize dense deployment of WIFI in many real scenarios, and can only be deployed sparsely, resulting in the distance between two adjacent WIFI being too far, and the positioning accuracy will be affected by environmental changes, and the triangulation positioning algorithm cannot be used well for positioning, so there is a defect of low positioning accuracy, and there is room for improvement. Summary of the invention
[0004] In order to improve the positioning accuracy of indoor positioning, the present application provides an indoor positioning method, system, device and storage medium.
[0005] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions:
[0006] An indoor positioning method, comprising:
[0007] In the target positioning scenario, the RSSI data of UWB at different positions of the mobile terminal to be positioned are collected, and the corresponding ranging positioning result is obtained by sorting and ranging calculation based on the RSSI data of several UWBs;
[0008] Acquire inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned;
[0009] Inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result;
[0010] When a certain ranging positioning result is not within the corresponding error estimation interval, a timestamp corresponding to the ranging positioning result is obtained; fusion positioning is performed based on the real-time position coordinate data, the visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0011] By adopting the above technical solution, a plurality of UWB signal data of the mobile terminal to be located in the target positioning scene are collected according to the positioning base stations at different positions. The UWB signal data is UWB technology is a wireless carrier communication technology using a frequency bandwidth of more than 1GHz, and UWB (Ultra Wideband) signal has stronger time and space resolution than WIFI signal, is insensitive to channel attenuation, has strong anti-attenuation ability, and is convenient for indoor ranging and positioning calculation of the mobile terminal; based on a plurality of UWB data, its RSSI value (Received Signal Strength Indication, received signal strength) is used as the RSSI data of UWB, and the RSSI data of several UWBs are sorted, and RSSI ranging is performed to obtain the corresponding ranging positioning result, in order to further improve the positioning accuracy of the indoor positioning result; the inertial navigation track data and visual positioning information of the mobile terminal to be positioned in the target positioning scene are obtained, and the real-time position coordinate data of the corresponding mobile terminal to be positioned is determined, and the ranging positioning result and the visual positioning information are input into the error estimation model to obtain the corresponding error estimation interval. The error estimation interval is the normal distance difference between the ranging positioning result calculated by the error evaluation algorithm and the positioning base station in the nearby area. When a certain ranging positioning result is not in the corresponding error estimation interval, it indicates that the error corresponding to the ranging positioning result is large. At this time, the timestamp corresponding to the ranging positioning result is obtained, and the real-time position coordinate data and the visual positioning data are fused and positioned to obtain a more accurate and stable fused positioning coordinate, thereby improving the positioning accuracy of indoor positioning.
[0012] In a preferred example of the present application, a plurality of infrared sensing devices for sensing the mobile terminal to be located are arranged at intervals in the positioning area in the target positioning scene; the acquisition of the inertial navigation track data and visual positioning information of the mobile terminal to be located, and the determination of the real-time position coordinate data of the mobile terminal to be located specifically include:
[0013] When the mobile terminal to be located moves, acquiring inertial navigation track data of the mobile terminal to be located, and the mobile terminal to be located collects infrared sensing signals of the infrared sensing device;
[0014] When receiving the infrared sensing signal of the infrared sensing device, obtaining the spatial visual feature information collected by the mobile terminal to be positioned, and determining the corresponding visual positioning information based on the inertial navigation track data of the mobile terminal to be positioned and the installation position of the infrared sensing device;
[0015] The inertial navigation track data and the corresponding visual positioning information are fused to obtain the real-time position coordinate data of the mobile terminal to be positioned.
[0016] By adopting the above technical solution, the infrared sensing device is used to sense the real-time moving direction of the mobile terminal to be located based on the inertial navigation track data and the area where the mobile terminal to be located is located; specifically, a collection device for collecting spatial visual feature information is provided on the mobile terminal to be located. In order to save the energy consumption of the collection device and reduce the data calculation amount of the visual positioning information, when the mobile terminal to be located receives the infrared sensing signal of the infrared sensing device, the collection device for obtaining the spatial visual feature information is awakened by the infrared sensing signal to immediately obtain the spatial visual feature information collected by the mobile terminal to be located; in order to further improve the calculation precision and calculation accuracy of the real-time position coordinate data of the mobile terminal to be located, the present application fuses the inertial navigation track data with the corresponding visual positioning information for positioning calculation to obtain the real-time position coordinate data of the mobile terminal to be located.
[0017] In a preferred example of the present application, the inputting of the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain the error estimation interval corresponding to the ranging positioning result specifically includes:
[0018] Using a preset error evaluation algorithm to perform error estimation on the ranging positioning result and the corresponding visual positioning information, respectively, to obtain corresponding first error estimation values and second error estimation values;
[0019] The error estimation interval corresponding to the ranging and positioning result is calculated and obtained according to the first error estimation value, the second error estimation value and a preset error linear function.
[0020] By adopting the above technical scheme, positioning error estimation calculations are performed on the ranging positioning result and the visual positioning information according to the error evaluation algorithm to obtain the corresponding first error estimation value and the second error estimation value respectively. Then, error estimation is performed according to the first error estimation value and the second error estimation value to obtain the error estimation interval corresponding to the ranging positioning result corresponding to the current UWB data. The error estimation interval is a normal error estimation range based on UWB data. Calculating the error estimation interval corresponding to the ranging positioning result is beneficial to analyzing the uncertainty of the ranging positioning result, and is beneficial to tracking and troubleshooting the cause of the error when performing positioning measurement on the mobile terminal to be positioned.
[0021] In a preferred example of the present application, the preset error evaluation algorithm is used to perform error estimation on the ranging positioning result and the corresponding visual positioning information to obtain the corresponding first error estimation value and second error estimation value, which specifically includes: the error evaluation algorithm is shown in formulas (1) and (2):
[0022]
[0023] Where R is the first error estimation value or the second error estimation value, and the base station coordinates are (x n ,y n ), n is a positive integer greater than or equal to 1, and the ranging positioning result is The visual positioning information is i and j are positive integers greater than or equal to 1; D i , D j is the measured distance from the mobile terminal to be located to the i-th base station, D′ i , D′ j is the distance between the positioning point and the base station.
[0024] By adopting the above technical solution, formula (1) is used to facilitate the calculation of the first error estimation value of the ranging positioning result and the second error estimation value of the visual positioning information, wherein the first error estimation value and the second error estimation value can be calculated according to formula (2), which is conducive to the subsequent adjustment of data fusion parameters according to the first error estimation value and the second error estimation value.
[0025] In a preferred example of the present application, the RSSI data of UWBs at different positions of the mobile terminal to be located are collected in the target positioning scenario, and the corresponding ranging positioning results are obtained by sorting and ranging calculation based on the RSSI data of several UWBs, specifically including:
[0026] Based on the RSSI data of UWB at different locations, the corresponding RSSI values are obtained from a preset database, and the mean and variance of the RSSI values of UWB at different locations are calculated;
[0027] Determine the corresponding RSSI value filtering range and multiple sliding filtering windows according to the mean and variance of the RSSI values at different positions; filter the RSSI values of the UWB in each sliding filtering window respectively, and sort the RSSI values after filtering;
[0028] The UWB with the largest RSSI value is selected, and the ranging and positioning result between the mobile terminal to be located and the UWB is calculated according to a preset RSSI ranging formula.
[0029] By adopting the above technical solution, the preset database stores the optimal RSSI value obtained by statistical analysis based on different UWBs, and the mean and variance of the corresponding RSSI value are determined based on the RSSI data of the UWBs at different locations. After the corresponding filtering range and the size of the sliding filtering window are determined according to the mean and variance of the RSSI value, the filtering operation is performed according to the sliding filtering window, and the RSSI values of the filtered UWBs are sorted by digital size. Then, the UWB with the largest RSSI value is selected and substituted into the preset RSSI ranging formula to calculate the ranging and positioning result of the mobile terminal to be located and the UWB, which is beneficial to improve the accuracy of the calculation result of the RSSI ranging formula.
[0030] In a preferred example of the present application: the preset RSSI ranging formula is shown in formula (3):
[0031]
[0032] Among them, d mp is the ranging positioning result, RSSI ca P is the received power at the reference point when the reference point is 1 meter away from the transmitting antenna of the positioning base station. r The distance d between the mobile terminal to be located and the transmitting antenna mp is the received power at , and δ is the path loss factor in the target positioning scenario.
[0033] By adopting the above technical solution, the ranging positioning result d is calculated using formula (3) and the received power of the reference point and the received power of the mobile terminal to be positioned. mp , the operation is more convenient.
[0034] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions:
[0035] An indoor positioning system, characterized in that it is used to execute the indoor positioning method as described above, and the system comprises:
[0036] The first data collection and ranging module is used to collect RSSI data of UWB at different positions of the mobile terminal to be located in the target positioning scene, and to obtain corresponding ranging and positioning results based on sorting and ranging calculation of several RSSI data of the UWB;
[0037] A real-time coordinate acquisition module, used to acquire the inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned;
[0038] An error estimation module is used to input the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result;
[0039] The fusion positioning calculation module is used to obtain the timestamp corresponding to a certain ranging positioning result when the ranging positioning result is not in the corresponding error estimation interval; perform fusion positioning based on the real-time position coordinate data, the visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0040] By adopting the above technical scheme, several UWB data of the mobile terminal to be located in the target positioning scene are collected according to the positioning base station at different positions, and its RSSI value is determined based on the several UWB data as the RSSI data of the UWB, and the RSSI data of the several UWBs are sorted, and RSSI ranging is performed to obtain the corresponding ranging positioning result, so as to further improve the positioning accuracy of the indoor positioning result; the inertial navigation track data and visual positioning information of the mobile terminal to be located in the target positioning scene are obtained, and the real-time position coordinate data of the mobile terminal to be located is determined, and the ranging positioning result and the visual positioning information are input into the error estimation model to obtain the corresponding error estimation interval. The error estimation interval is the normal distance difference between the ranging positioning result calculated by the error evaluation algorithm and the positioning base station in the nearby area. When a certain ranging positioning result is not in the corresponding error estimation interval, it indicates that the error corresponding to the ranging positioning result is large. At this time, the timestamp corresponding to the ranging positioning result is obtained, and the real-time position coordinate data and the visual positioning data are fused and calculated to obtain a more accurate and stable fused positioning coordinate, thereby improving the positioning accuracy of indoor positioning.
[0041] In the third aspect, the invention objective of the present application is achieved by adopting the following technical solutions:
[0042] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned indoor positioning method when executing the computer program.
[0043] In a fourth aspect, the invention objective of the present application is achieved by adopting the following technical solutions:
[0044] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the indoor positioning method are implemented.
[0045] In summary, the present application includes at least one of the following beneficial technical effects:
[0046] 1. According to the positioning base station at different positions, several UWB data of the mobile terminal to be positioned in the target positioning scene are collected, and its RSSI value is determined based on the several UWB data as the RSSI data of the UWB. The RSSI data of the several UWBs are sorted, and RSSI ranging is performed to obtain the corresponding ranging positioning result, so as to further improve the positioning accuracy of the indoor positioning result; the inertial navigation track data and visual positioning information of the mobile terminal to be positioned in the target positioning scene are obtained, and the real-time position coordinate data of the mobile terminal to be positioned is determined, and the ranging positioning result and the visual positioning information are input into the error estimation model to obtain the corresponding error estimation interval. The error estimation interval is the normal distance difference between the ranging positioning result calculated by the error evaluation algorithm and the positioning base station in the nearby area. When a certain ranging positioning result is not in the corresponding error estimation interval, it indicates that the error corresponding to the ranging positioning result is large. At this time, the timestamp corresponding to the ranging positioning result is obtained, and the real-time position coordinate data and the visual positioning data are fused and calculated to obtain a more accurate and stable fused positioning coordinate, thereby improving the positioning accuracy of indoor positioning;
[0047] 2. The infrared sensing device is used to sense the real-time moving direction of the mobile terminal to be positioned based on the inertial navigation track data and sense the area where the mobile terminal to be positioned is located; specifically, a collection device for collecting spatial visual feature information is provided on the mobile terminal to be positioned. In order to save energy consumption of the collection device and reduce the amount of data calculation of the visual positioning information, when the mobile terminal to be positioned receives the infrared sensing signal of the infrared sensing device, the collection device for obtaining the spatial visual feature information is awakened by the infrared sensing signal to immediately obtain the spatial visual feature information collected by the mobile terminal to be positioned; in order to further improve the calculation precision and calculation accuracy of the real-time position coordinate data of the mobile terminal to be positioned, the present application fuses the inertial navigation track data with the corresponding visual positioning information for positioning calculation to obtain the real-time position coordinate data of the mobile terminal to be positioned;
[0048] 3. According to the error evaluation algorithm, the ranging positioning result and the visual positioning information are respectively calculated for positioning error estimation to obtain the corresponding first error estimation value and second error estimation value, and then error estimation is performed based on the first error estimation value and the second error estimation value to obtain the error estimation interval corresponding to the ranging positioning result corresponding to the current UWB data. The error estimation interval is a normal error estimation range based on UWB data. Calculating the error estimation interval corresponding to the ranging positioning result is helpful for analyzing the uncertainty of the ranging positioning result, and is helpful for tracking and troubleshooting the cause of the error when performing positioning measurement on the mobile terminal to be positioned. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a flow chart of an indoor positioning method in an embodiment of the present application;
[0050] Figure 2 is a flowchart of step S2 in an indoor positioning method in one embodiment of the present application;
[0051] Figure 3 This is a flowchart of step S1 in an indoor positioning method in one embodiment of the present application;
[0052] Figure 4 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The present application is further described in detail below in conjunction with the accompanying drawings.
[0054] In one embodiment, if Figure 1 As shown, the present application discloses an indoor positioning method, which specifically includes the following steps: S1: collecting UWB RSSI data of different positions of the mobile terminal to be positioned in the target positioning scenario, and sorting and ranging calculation based on several UWB RSSI data to obtain corresponding ranging positioning results.
[0055] In this embodiment, the target positioning scene is an indoor scene where the mobile terminal to be positioned is located; the RSSI data of UWB is the signal strength value of the UWB data.
[0056] Specifically, positioning base stations at different locations collect several UWB data of the mobile terminal to be positioned in the target positioning scene, determine its RSSI value based on the several UWB data as the RSSI data of the UWB, sort the RSSI data of the several UWBs, perform RSSI ranging, and obtain the corresponding ranging positioning result.
[0057] S2: Obtain inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned.
[0058] In this embodiment, a positioning server and an inertial sensor are installed on the mobile terminal to be positioned. The positioning server detects the real-time position coordinate data of the mobile terminal to be positioned in real time. The inertial sensor is used to detect the movement acceleration, tilt, etc. of the mobile terminal to be positioned in real time and output inertial sensor data; the inertial navigation track data is the inertial navigation track data determined based on the real-time position coordinates and inertial sensor data sent by the positioning server; the mobile terminal to be positioned is also provided with a camera acquisition device for taking an azimuth image of the position of the mobile device to be positioned.
[0059] Specifically, an indoor server is set up for the mobile terminal to be positioned, and the indoor server has pre-built an indoor positioning database, which pre-stores visual feature information based on different indoor location scenes; the orientation image taken by the camera acquisition device is input into the indoor positioning database to quickly obtain the corresponding visual positioning information.
[0060] S3: Inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result.
[0061] In this embodiment, the error estimation interval is the normal distance difference between the ranging positioning result calculated by the error evaluation algorithm and the positioning base station in the nearby area; in order to further improve the positioning accuracy of the indoor positioning result; the inertial navigation track data and visual positioning information of the mobile terminal to be positioned in the target positioning scene are obtained, and the real-time position coordinate data of the corresponding mobile terminal to be positioned is determined, and the ranging positioning result and the visual positioning information are input into the error estimation model to obtain the corresponding error estimation interval.
[0062] S4: When a certain ranging positioning result is not within the corresponding error estimation interval, obtain the timestamp corresponding to the ranging positioning result; perform fusion positioning based on the real-time position coordinate data, visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0063] In this embodiment, when a certain ranging positioning result is not in the corresponding error estimation interval, it indicates that the error corresponding to the ranging positioning result is large. At this time, the timestamp corresponding to the ranging positioning result is obtained, and the real-time position coordinate data and the visual positioning data are fused and calculated to obtain a more accurate and stable fused positioning coordinate, thereby improving the positioning accuracy of indoor positioning.
[0064] Specifically, the PDR fusion algorithm is used to fuse the real-time position coordinate data and visual positioning data for positioning calculation.
[0065] In one embodiment, if Figure 2 As shown, in step S2, a plurality of infrared sensing devices for sensing the mobile terminal to be located are arranged at intervals in the positioning area in the target positioning scene; the inertial navigation track data and visual positioning information of the mobile terminal to be located are obtained, and the real-time position coordinate data of the mobile terminal to be located is determined; specifically including:
[0066] S21: When the mobile terminal to be positioned moves, the inertial navigation track data of the mobile terminal to be positioned is obtained, and the mobile terminal to be positioned collects infrared sensing signals from the infrared sensing device.
[0067] In this embodiment, the infrared sensing device is an infrared sensor, and a moving channel capable of detecting a person or a mobile terminal to be located is installed on the wall or person in the target positioning scene, or the side wall of the moving channel of the mobile terminal to be located, so as to be applicable to the indoor positioning scene where a person holds a mobile terminal or an automatic mobile device is waiting for the positioning of the mobile terminal. The infrared sensing device is used to sense the real-time moving direction of the mobile terminal to be located based on the inertial navigation track data and sense the area where the mobile terminal to be located is located.
[0068] Specifically, the detection end of the infrared sensing device outputs infrared light, and outputs an infrared sensing signal when the mobile terminal to be located is detected.
[0069] S22: upon receiving the infrared sensing signal from the infrared sensing device, obtaining the spatial visual feature information collected by the mobile terminal to be positioned, and determining the corresponding visual positioning information based on the inertial navigation track data of the mobile terminal to be positioned and the installation position of the infrared sensing device.
[0070] In this embodiment, a collection device for collecting spatial visual feature information is provided on the mobile terminal to be located. In order to save energy consumption of the collection device and reduce the amount of data calculation of the visual positioning information, when the mobile terminal to be located receives an infrared sensing signal from the infrared sensing device, the collection device for obtaining the spatial visual feature information is awakened by the infrared sensing signal to immediately obtain the spatial visual feature information collected by the mobile terminal to be located.
[0071] S23: Fusing the inertial navigation track data and the corresponding visual positioning information to obtain real-time position coordinate data of the mobile terminal to be positioned.
[0072] In this embodiment, in order to further improve the calculation precision and accuracy of the real-time position coordinate data of the mobile terminal to be located, the present application fuses the inertial navigation track data with the corresponding visual positioning information to perform positioning calculation to obtain the real-time position coordinate data of the mobile terminal to be located.
[0073] In one embodiment, in step S3, the ranging positioning result and the corresponding visual positioning information are input into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result, specifically including:
[0074] S31: Use a preset error evaluation algorithm to perform error estimation on the ranging positioning result and the corresponding visual positioning information, respectively, to obtain a corresponding first error estimation value and a second error estimation value.
[0075] S32: Calculate and obtain an error estimation interval corresponding to the ranging and positioning result according to the first error estimation value, the second error estimation value and a preset error linear function.
[0076] Specifically, according to the error evaluation algorithm, positioning error estimation calculations are performed on the ranging positioning result and the visual positioning information respectively to obtain corresponding first error estimation values and second error estimation values, and then error estimation is performed based on the first error estimation value and the second error estimation value to obtain an error estimation interval corresponding to the ranging positioning result corresponding to the current UWB data. The error estimation interval is a normal error estimation range based on UWB data. Calculating the error estimation interval corresponding to the ranging positioning result is beneficial to analyzing the uncertainty of the ranging positioning result, and is beneficial to tracking and troubleshooting the cause of the error when performing positioning measurement on the mobile terminal to be positioned.
[0077] In one embodiment, in step S31, a preset error evaluation algorithm is used to perform error estimation on the ranging positioning result and the corresponding visual positioning information to obtain a corresponding first error estimation value and a second error estimation value, specifically including: the error evaluation algorithm is shown in formulas (1) and (2):
[0078]
[0079] Where R is the first error estimation value or the second error estimation value, and the base station coordinates are (x n ,y n ), n is a positive integer greater than or equal to 1, and the ranging positioning result is The visual positioning information is i and j are positive integers greater than or equal to 1; D i , D j is the measured distance from the mobile terminal to be located to the i-th base station, D′ i , D′ j is the distance between the positioning point and the base station.
[0080] In this embodiment, formula (1) is used to calculate the first error estimate of the ranging positioning result and the second error estimate of the visual positioning information, wherein the first error estimate and the second error estimate can be calculated according to formula (2), which is conducive to the subsequent adjustment of data fusion parameters according to the first error estimate and the second error estimate.
[0081] In one embodiment, if Figure 3 As shown, in step S1: collecting RSSI data of UWB at different positions of the mobile terminal to be located in the target positioning scene, sorting and ranging calculation are performed based on the RSSI data of several UWBs to obtain the corresponding ranging positioning result, which specifically includes:
[0082] S11: Based on the RSSI data of the UWB at different locations, the corresponding RSSI value is obtained from a preset database, and the mean and variance of the RSSI values of the UWB at different locations are calculated.
[0083] In this embodiment, the preset database is an indoor positioning database.
[0084] Specifically, the preset database stores the optimal RSSI values obtained by statistical analysis based on different UWBs, and the mean and variance of the corresponding RSSI values are determined based on the collected RSSI data of UWBs at different locations.
[0085] S12: Determine a corresponding RSSI value filtering range and a plurality of sliding filtering windows according to the mean and variance of the RSSI values at different positions.
[0086] Specifically, after determining the corresponding filtering range and the size of the sliding filtering window according to the mean and variance of the RSSI value, the filtering operation is performed according to the sliding filtering window.
[0087] S13: filtering the RSSI values of the UWBs in the sliding filter windows respectively, and sorting the RSSI values after filtering.
[0088] S14: Select the UWB with the largest RSSI value, and calculate the ranging and positioning result between the mobile terminal to be located and the UWB according to a preset RSSI ranging formula.
[0089] In this embodiment, the RSSI values of the filtered UWBs are sorted by digital size, and then the UWB with the largest RSSI value is selected and substituted into the preset RSSI ranging formula to calculate the ranging positioning result between the mobile terminal to be located and the UWB, which is beneficial to improve the accuracy of the calculation result of the RSSI ranging formula.
[0090] In one embodiment, in step S14, an indoor positioning method further includes:
[0091] The preset RSSI ranging formula is shown in formula (3):
[0092]
[0093] Among them, d mp is the ranging positioning result, RSSI ca P is the received power at the reference point when the reference point is 1 meter away from the transmitting antenna of the positioning base station. r The distance d between the mobile terminal to be located and the transmitting antenna mp is the received power at , and δ is the path loss factor in the target positioning scenario.
[0094] In this embodiment, the ranging positioning result d is calculated using formula (3) and the received power of the reference point and the received power of the mobile terminal to be positioned. mp , the operation is more convenient.
[0095] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0096] In one embodiment, an indoor positioning system is provided, and the indoor positioning system corresponds to an indoor positioning method in the above embodiment.
[0097] An indoor positioning system includes a first data acquisition and ranging module, a real-time coordinate acquisition module, an error estimation module and a fusion positioning calculation module. The detailed description of each functional module is as follows:
[0098] A real-time coordinate acquisition module, used to acquire the inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned;
[0099] An error estimation module is used to input the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result;
[0100] The fusion positioning calculation module is used to obtain the timestamp corresponding to a certain ranging positioning result when the ranging positioning result is not in the corresponding error estimation interval; perform fusion positioning based on the real-time position coordinate data, the visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0101] For the specific limitations of the indoor positioning system, please refer to the limitations of the indoor positioning method in the above text, which will not be repeated here; each module in the above-mentioned indoor positioning system can be implemented in whole or in part through software, hardware and their combination; each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0102] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store error estimation models, real-time position coordinate data and fused positioning coordinates, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an indoor positioning method is implemented.
[0103] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0104] S1: Collect UWB RSSI data of different positions of the mobile terminal to be located in the target positioning scenario, sort and calculate the distance based on several UWB RSSI data to obtain the corresponding ranging positioning result;
[0105] S2: Acquire inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned;
[0106] S3: inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result;
[0107] S4: When a certain ranging positioning result is not within the corresponding error estimation interval, obtain the timestamp corresponding to the ranging positioning result; perform fusion positioning based on the real-time position coordinate data, visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0108] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0109] S1: Collect UWB RSSI data of different positions of the mobile terminal to be located in the target positioning scenario, sort and calculate the distance based on several UWB RSSI data to obtain the corresponding ranging positioning result;
[0110] S2: Acquire inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned;
[0111] S3: inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result;
[0112] S4: When a certain ranging positioning result is not within the corresponding error estimation interval, obtain the timestamp corresponding to the ranging positioning result; perform fusion positioning based on the real-time position coordinate data, visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0114] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0115] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An indoor positioning method, characterized in that: include: In the target positioning scenario, the RSSI data of UWB at different positions of the mobile terminal to be positioned are collected, and the corresponding ranging positioning result is obtained by sorting and ranging calculation based on the RSSI data of several UWBs; Acquire inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned; Inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result; When a certain ranging positioning result is not within the corresponding error estimation interval, obtaining a timestamp corresponding to the ranging positioning result; performing fusion positioning based on the real-time position coordinate data, the visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned; The step of inputting the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result specifically includes: Using a preset error evaluation algorithm to perform error estimation on the ranging positioning result and the corresponding visual positioning information, respectively, to obtain a corresponding first error estimation value and a second error estimation value; adjusting data fusion parameters according to the first error estimation value and the second error estimation value; Calculate and obtain the error estimation interval corresponding to the ranging positioning result according to the first error estimation value, the second error estimation value and a preset error linear function; The method of using a preset error evaluation algorithm to respectively perform error estimation on the ranging positioning result and the corresponding visual positioning information to obtain corresponding first error estimation values and second error estimation values specifically includes: The error evaluation algorithm is shown in formulas (1) and (2): Where R is the first error estimation value or the second error estimation value, and the base station coordinates are (x n ,y n ), n is a positive integer greater than or equal to 1, and the ranging positioning result is The visual positioning result is i and j are positive integers greater than or equal to 1; D i , D j is the measured distance from the mobile terminal to be located to the i-th base station, D′ i , D′ j is the distance between the positioning point and the base station.
2. An indoor positioning method according to claim 1, characterized in that: A plurality of infrared sensing devices for sensing the mobile terminal to be positioned are arranged at intervals in the positioning area in the target positioning scene; the acquiring of the inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determining the real-time position coordinate data of the mobile terminal to be positioned specifically comprises: when the mobile terminal to be positioned moves, acquiring the inertial navigation track data of the mobile terminal to be positioned, and the mobile terminal to be positioned collecting the infrared sensing signal of the infrared sensing device; When receiving the infrared sensing signal of the infrared sensing device, obtaining the spatial visual feature information collected by the mobile terminal to be positioned, and determining the corresponding visual positioning information based on the inertial navigation track data of the mobile terminal to be positioned and the installation position of the infrared sensing device; The inertial navigation track data and the corresponding visual positioning information are fused to obtain the real-time position coordinate data of the mobile terminal to be positioned.
3. The indoor positioning method according to claim 1, characterized in that: The RSSI data of UWBs at different positions of the mobile terminal to be located are collected in the target positioning scenario, and the corresponding ranging positioning results are obtained by sorting and ranging calculation based on the RSSI data of several UWBs, specifically including: Based on the RSSI data of UWB at different locations, the corresponding RSSI values are obtained from a preset database, and the mean and variance of the RSSI values of UWB at different locations are calculated; Determine the corresponding RSSI value filtering range and multiple sliding filtering windows according to the mean and variance of the RSSI values at different positions; filter the RSSI values of the UWB in each sliding filtering window respectively, and sort the RSSI values after filtering; The UWB with the largest RSSI value is selected, and the ranging and positioning result between the mobile terminal to be located and the UWB is calculated according to a preset RSSI ranging formula.
4. The indoor positioning method according to claim 3, characterized in that: The preset RSSI ranging formula is shown in formula (3): Among them, d mp is the ranging positioning result, RSSI ca P is the received power at the reference point when the reference point is 1 meter away from the transmitting antenna of the positioning base station. r The distance d between the mobile terminal to be located and the transmitting antenna mp is the received power at , and δ is the path loss factor in the target positioning scenario.
5. An indoor positioning system, characterized in that: For executing an indoor positioning method as described in any one of claims 1 to 4 above, the system comprises: The first data collection and ranging module is used to collect RSSI data of UWB at different positions of the mobile terminal to be located in the target positioning scene, and to obtain corresponding ranging and positioning results based on sorting and ranging calculation of several RSSI data of the UWB; A real-time coordinate acquisition module, used to acquire the inertial navigation track data and visual positioning information of the mobile terminal to be positioned, and determine the real-time position coordinate data of the mobile terminal to be positioned; An error estimation module is used to input the ranging positioning result and the corresponding visual positioning information into a preset error estimation model to obtain an error estimation interval corresponding to the ranging positioning result; The fusion positioning calculation module is used to obtain the timestamp corresponding to a certain ranging positioning result when the ranging positioning result is not in the corresponding error estimation interval; perform fusion positioning based on the real-time position coordinate data, the visual positioning information and the corresponding timestamp to determine the fusion positioning coordinates of the mobile terminal to be positioned.
6. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the indoor positioning method as described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of an indoor positioning method as claimed in any one of claims 1 to 4 are implemented.
