Indoor WiFi fingerprint map construction method based on ray tracing

The indoor WiFi fingerprint map construction method that combines ray tracing simulation and Gaussian process regression algorithm solves the problems in the existing technology that manual collection consumes a lot of manpower and material resources and the robot collection efficiency is low, and achieves high-precision and fast WiFi fingerprint map construction. Meets the needs of indoor positioning.

CN118706129APending Publication Date: 2024-09-27HARBIN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411001427.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing indoor WiFi fingerprint map construction method relies on manual collection, which consumes a lot of manpower and material resources, and there are dead ends and deviations in automatic collection using robots, which affects the collection efficiency and accuracy.

Method used

An indoor WiFi fingerprint map construction method based on ray tracing is adopted, WiFi signal propagation is simulated through modeling and simulation, and a mobile robot and Gaussian process regression algorithm are combined to correct the WiFi fingerprint map, improve accuracy and save manpower and material resources.

Benefits of technology

It achieves the construction of high-precision WiFi fingerprint maps, simplifies the indoor positioning process, increases the positioning speed, reduces the consumption of manpower and material resources, and meets the needs of high-precision indoor positioning and navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004961677850000021
    Figure HDA0004961677850000021
  • Figure BDA0004961677830000042
    Figure BDA0004961677830000042
  • Figure BDA0004961677830000041
    Figure BDA0004961677830000041
Patent Text Reader

Abstract

The invention discloses an indoor WiFi fingerprint map construction method based on ray tracing. The indoor WiFi fingerprint map construction method comprises the steps of performing modeling simulation on a target indoor environment, simulating propagation of WiFi signals in the indoor environment by using a ray tracing simulation algorithm, and constructing an indoor WiFi fingerprint simulation map. The method comprises the following steps: acquiring WiFi information by using a robot, processing an acquired WiFi sparse true value by using a Kalman filter, removing noise, and correcting a WiFi fingerprint simulation map by using a Gaussian process regression algorithm. According to the method, propagation of the WiFi signal in the indoor environment is simulated by using the ray tracing simulation algorithm, so that manpower and material resources for constructing the WiFi fingerprint map are greatly reduced, and the precision of constructing the WiFi fingerprint map in the indoor environment is improved to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of indoor positioning, and in particular relates to a method for constructing an indoor WiFi fingerprint map based on ray tracing. Background Art

[0002] In recent years, with the widespread popularity of mobile smart devices and the rapid development of indoor positioning technology, seeking a good indoor positioning method indoors meets people's life needs. The indoor positioning method based on location fingerprint is widely used because of its high applicability in indoor deployment, easy implementation, low cost, high accuracy and strong anti-interference ability. Indoor WiFi fingerprint map is the basis and key to achieve good positioning. Therefore, constructing a high-precision indoor WiFi fingerprint map is of great research significance for achieving high-precision indoor positioning and navigation.

[0003] At present, the construction of indoor WiFi fingerprint maps generally uses manual collection, which consumes a lot of manpower and material resources. The use of robots for automatic WiFi fingerprint collection has blind spots and deviations, which greatly affects the collection efficiency and accuracy of WiFi fingerprint maps. Summary of the invention

[0004] In view of the above problems, the present invention provides a method for constructing an indoor WiFi fingerprint map based on ray tracing. Through modeling and simulation, the propagation characteristics of light are used to simulate the propagation of WiFi wireless signals in an indoor environment, and the sparse true value of WiFi fingerprint is used to correct it. The method has the advantages of simple construction, fast positioning speed, saving manpower and material resources, and high accuracy.

[0005] Specifically, the purpose of the present invention is to provide a method for constructing an indoor WiFi fingerprint map based on ray tracing, the method comprising the following steps:

[0006] S1: Model and simulate the indoor scene that currently needs to build the indoor WiFi fingerprint map, including but not limited to indoor fixed facilities such as walls, furniture, obstacles, etc., and mark the indoor environment in the form of coordinates;

[0007] S2: Based on the actual scenario requirements, for different WiFi signal transmitting points and receiving points, use the ray tracing simulation algorithm to model the WiFi signal points and simulate the distribution of WiFi signals in the current indoor space;

[0008] S3: Build a robot that can move in a large indoor environment, which is used to collect WiFi information in the current indoor scene in real time and display the robot's current location information in real time. The functions that can be achieved after the mobile robot is built include:

[0009] S3.1: The mobile robot uses a crawler structure to facilitate autonomous movement in indoor environments, including forward, backward, left turn, right turn, etc.;

[0010] S3.2: The mobile robot has the function of autonomous obstacle avoidance, which is mainly realized by infrared detection module and camera. When obstacles such as walls and objects are detected or observed, the mobile robot can avoid them by itself.

[0011] S3.3: The mobile robot chassis is controlled using the STM32 development board;

[0012] S3.4: The embedded development board used by the mobile robot is NVDIA Jetson Xavier NX. The WiFi module equipped with the development board is used to scan and identify WiFi signals in the current indoor environment, and record the address of the WiFi transmission point, the WiFi signal strength value, and the current location information of the robot;

[0013] S4: Use a mobile robot to move in the target indoor space to collect indoor WiFi fingerprint information. The process of the mobile robot moving in the indoor space to collect information includes:

[0014] S4.1: When the indoor space allows and the robot can move normally, the collection command is executed when the forward movement distance reaches 0.9m, and the number of collections is 10;

[0015] S4.2: When the forward movement distance is less than 0.9m, the robot turns (left or right) through the camera and infrared sensor device, and performs the collection action again when the forward movement distance is met;

[0016] S4.3: The information collected by the mobile robot includes the address information of the WiFi signal transmission points that can be scanned at the current location, the signal strength of each transmission point, and the location information of the current indoor environment;

[0017] S5: Use a second-order Kalman filter to filter the strength value of each collected WiFi signal to make the obtained WiFi signal smoother;

[0018] S6: Using the pre-processed real value of the WiFi signal, the WiFi simulation fingerprint map is corrected using the Gaussian process regression algorithm. The correction of the WiFi fingerprint map specifically includes:

[0019] S6.1: In the Gaussian process regression algorithm, the kernel function is an exponential kernel function;

[0020] S6.2: The true value of the preprocessed WiFi signal accounts for 40% of the WiFi fingerprint map.

[0021] The beneficial effects of the present invention include:

[0022] The present invention discloses a method for constructing an indoor WiFi fingerprint map based on ray tracing, which uses a ray tracing simulation algorithm to simulate the propagation of WiFi signals in an indoor environment, and combines the true value of the sparse fingerprint with the simulated WiFi fingerprint map through a Gaussian process regression algorithm, thereby further improving the accuracy of the simulated fingerprint map, effectively replacing the manual collection of WiFi fingerprint maps, saving a lot of manpower and material resources, and making the accuracy of the WiFi fingerprint map more in line with the requirements of indoor positioning technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 is an overall block diagram of the present invention;

[0025] Figure 2 Simulate algorithm flow chart for ray tracing;

[0026] Figure 3 This is a schematic diagram of the refraction of wireless signals and obstacles in the ray tracing simulation algorithm in an indoor environment;

[0027] Figure 4 This is a hardware deployment structure diagram of the mobile robot used in the present invention. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] like Figure 1 As shown, a method for constructing an indoor WiFi fingerprint map based on ray tracing of the present invention comprises the following steps:

[0030] S1: For the indoor scene of the required indoor WiFi fingerprint map, large obstacles such as walls and furniture in the scene are modeled to obtain a map model of the indoor environment;

[0031] S2: Set signal transmission points and receiving points in the indoor environment map model, use the ray tracing simulation algorithm to simulate the propagation of WiFi wireless signals in the indoor environment, and obtain a WiFi fingerprint simulation map;

[0032] Furthermore, the flowchart of the ray tracing simulation algorithm in S2 is as follows Figure 2 As shown. First, according to the actual location of the actual WiFi signal emission point in the indoor environment, the AP point is set, and the signal emitted is simulated by using the properties of light. According to the specific conditions of the indoor environment, the indoor obstacles that the wireless signal contacts are detected by intersection, and the directions of refraction and reflection are calculated. The propagation of light is calculated. After that, the color and shadow of the wireless signal are further calculated, and it is determined whether the indoor obstacle is a mirror or a special material. Finally, based on the calculated information, the WiFi indoor fingerprint map is simulated by synthesizing ray tracing.

[0033] Based on the ray tracing simulation algorithm, the main light propagation method used for the materials in the indoor space is refraction. The schematic diagram of the refraction of light propagation in the indoor space is as follows: Figure 3 shown.

[0034] In the present invention, the refraction calculation between the wireless signal and the obstacle uses Snell's law, and the formula is as follows:

[0035] N1·sin(θ1)=N2·sin(θ2)

[0036] Among them, N1 and N2 are the refractive indices of the two materials, θ1 and θ2 are the angle of incidence and the angle of refraction respectively;

[0037] The diffuse reflection calculation between wireless signals and obstacles uses Lambert's diffuse reflection law, and the formula is as follows:

[0038] L d =K d I max(0,N L)

[0039] Among them, L d is the diffuse lighting color, K d is the diffuse reflectance, I is the light intensity, N is the surface normal, L is the light incident vector, and (N·L) is the dot product.

[0040] S3: Build a robot that can move autonomously in large indoor scenes, and use the WiFi module of NVDIA Jetson XavierNX to replace the complicated manual WiFi fingerprint information collection. The hardware structure of the mobile robot is as follows: Figure 4 As shown;

[0041] The robot is based on the NVDIA Jetson Xavier NX embedded development board, and uses its WiFi module to collect WiFi information. It is equipped with a tracked mechanical structure and uses cameras to enable the robot to achieve autonomous movement and obstacle avoidance in indoor environments. The connected display screen can display the robot's current location information, map collection information, etc. in real time.

[0042] S4: using a mobile robot to randomly collect and save received signal strength information and location information of some WiFi signals in a real indoor scene;

[0043] S5: Use the Kalman filter to denoise the signal strength value of the collected WiFi signal to make the obtained signal smoother. The filtering process is as follows:

[0044] x0=y1

[0045]

[0046] P k =AP k-1 A T +Q

[0047]

[0048] P k ′=(IK k H)P k

[0049] In the above derivation process, the first observation value of each set of data is y1, and the one-step prediction result of the state is A and B are the state transfer matrix and state control matrix respectively, u k-1 is the control variable, w k-1 is Gaussian white noise, P k express The estimated covariance of k ′ is the estimated coefficient, K k is the Kalman filter gain, H is the observation matrix, Q is the system process covariance, and R is the measurement noise covariance obtained through observation;

[0050] In this paper, the state vector x0 is set as follows:

[0051] x0=[x k1 ,x k2 ] T

[0052] Among them, x k1 is the current RSSI value, x k2is the rate of change of RSSI. First, the state transition matrix and process noise covariance are used for prediction. Control variable u k-1 With Gaussian white noise w k-1 is 0, define the initialization state transfer matrix A and process noise covariance matrix Q, and estimate the covariance P k as follows:

[0053]

[0054] After that, the measurement matrix and the measurement noise covariance are used for processing, and the measurement matrix H=[1,0] and the measurement noise covariance R=1 are defined.

[0055] S6: The real value of the preprocessed WiFi signal is corrected to the WiFi simulation fingerprint map using a Gaussian process regression algorithm with an exponential kernel function as the kernel function. The real value of the preprocessed WiFi signal accounts for 40% of the WiFi fingerprint map.

[0056] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for constructing an indoor WiFi fingerprint map based on ray tracing, characterized in that: The following steps are involved: S1: For the indoor scene where the fingerprint map needs to be constructed, including but not limited to indoor fixed facilities such as walls, furniture, obstacles, etc., the indoor environment is marked in the form of coordinates to obtain a map model of the indoor environment; S2: Set signal transmission points and receiving points in the indoor map model, use the ray tracing simulation algorithm to simulate the propagation of wireless signals in the indoor environment, and obtain the WiFi fingerprint simulation map. In the ray tracing simulation algorithm, the refraction of light is calculated using Snell's law, and the diffuse reflection of light is calculated using Lambert's diffuse reflection law. The number of signal transmission points is 24, and the number of signal receiving points is 1; S3: Build an autonomous mobile robot to collect WiFi information in the current indoor scene and display the robot's current location information in real time. The functions that can be achieved after the mobile robot is built include: S3.1: Using the embedded development board carried by the robot, randomly collect the received signal strength information and location information of some WiFi signals in the real indoor scene, and save them in the embedded development board; S3.2: The mobile robot uses a crawler structure, and the robot chassis is controlled by STM32; S3.3: The embedded development board used by the robot is NVDIA Jetson Xavier NX. The WiFi module equipped with the development board is used to scan and identify the WiFi signals in the current indoor environment, and record the address of the WiFi transmission point, the WiFi signal strength value, and the current location information of the robot; S3.4: The mobile robot has the function of autonomous obstacle avoidance, which is mainly realized by infrared detection module and camera. When obstacles such as walls and objects are detected or observed, the mobile robot can avoid them by itself. S4: Use a mobile robot to move in the target indoor space to collect indoor WiFi fingerprint information. The process of the mobile robot moving in the indoor space to collect information includes: S4.1: The mobile robot collection method is mobile collection. When the indoor environment permits, the collection point interval is 0.9m, and the number of collections at each collection point is 10 times; S4.2: When the movement distance is less than 0.9m, the robot turns (left or right) through the camera and infrared sensor device, and performs the collection action again when the forward distance is met; S4.3: The information collected by the mobile robot includes the address information of the WiFi signal transmission points that can be scanned at the current location, the signal strength of each transmission point, and the location information of the current indoor environment; S5: Using a second-order Kalman filter, the signal strength values ​​of different WiFi signal transmission points are denoised to make the obtained signal smoother; S6: Using the pre-processed real value of the WiFi signal, the WiFi simulation fingerprint map is corrected using the Gaussian process regression algorithm. The correction of the WiFi fingerprint map specifically includes: S6.1: In the Gaussian process regression algorithm, the kernel function is an exponential kernel function; S6.2: The true value of the preprocessed WiFi signal accounts for 40% of the WiFi fingerprint map.