An indoor visible light vehicle positioning method based on improved unscented particle filter
By improving the collaborative work of the unscented particle filter algorithm and inertial sensors, combined with the visible light communication model, the problem of insufficient visible light indoor positioning accuracy in the existing technology is solved, and higher-precision vehicle positioning is achieved.
Patent Information
- Application Number
- CN202210072115.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-01-21
AI Technical Summary
Existing visible light indoor positioning technology is insufficiently accurate and cannot meet the needs of high-precision vehicle positioning.
Using an improved unscented particle filter algorithm combined with a visible light communication model and an inertial sensor, the distance from the vehicle to the LED light is calculated by constructing a visible light communication link in the parking lot, and the unscented Kalman filter is used to improve positioning accuracy.
The accuracy of visible light indoor vehicle positioning is improved. Through the collaborative work of the improved unscented particle filter algorithm and inertial sensors, the accuracy of position estimation and the reliability of positioning are enhanced.
Smart Images

Figure CN114428227B
Abstract
Description
Technical Field
[0001] The invention relates to a visible light communication positioning technology, in particular to an indoor visible light vehicle positioning method based on improved untraceable particle filtering. Background Art
[0002] With the development of Internet of Things technology, visible light indoor positioning technology has gradually been paid attention to. In indoor environments, the positioning signal of the global satellite positioning system is weak and is not suitable for indoor positioning. For this reason, a series of indoor positioning technologies other than the global navigation system have emerged.
[0003] At present, indoor positioning technology generally uses infrared (IR), ultrasonic, radio frequency identification (RFID), wireless local area network (WLAN), Bluetooth, etc., and visible light communication (VLC) is different from these traditional communication methods. The rich spectrum resources of visible light communication provide a new way for indoor communication. Recently, the use of LED visible light communication system is considered to be one of the most valuable solutions for indoor positioning methods. The commonly used visible light positioning algorithms are time of arrival (TOA), time difference of arrival (TDOA), angle of arrival (AOA) and received signal strength (RSS). However, the information of only one positioning method cannot meet the requirements of target positioning. How to better improve the accuracy of visible light positioning has become an important issue that needs to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide an indoor visible light vehicle positioning method based on improved untraceable particle filtering to improve the accuracy of visible light vehicle positioning.
[0005] The technical solution for achieving the purpose of the present invention is:
[0006] An indoor visible light vehicle positioning method based on improved unscented particle filtering comprises the following steps:
[0007] 1) Construct a visible light communication model in a parking lot: Assume that there are four LED lights on the ceiling of the parking lot that can be used as transmitters for emitting visible light information. The headlight source of each vehicle entering the parking lot is a sensor receiver that can receive visible light transmission signals. A transmission link is formed between the transmitter and the receiver.
[0008] 2) Set the parameters in the modeling and calculate the distance from the vehicle to each LED light: The visible light communication link is divided into visible light line-of-sight link and non-line-of-sight link. The line-of-sight channel link feature is the DC gain. The formula for calculating the visible light channel gain is:
[0009]
[0010] Where A is the effective area of the photodiode PD (Photo-Diode, PD for short), Ψ is the incident angle relative to the receiving end, c is the field of view (FOV) of the receiving PD, φ is the angle relative to the irradiation angle of the transmitting end, d is the distance between the transmitting end and the receiving end PD, and m is the Lambertian index, calculated as m = -ln 2 / ln(cosφ 1 / 2 ), φ 1 / 2 is the half-power angle, and the optical power in the entire system is expressed as:
[0011] in is the DC gain of the ith visible light channel, P tx is the transmitting power of the LED at the transmitting end. Visible light also has a diffuse reflection communication link from the transmitting end to the indoor wall reflection surface to the receiving end. In an environment, the entire surface area is S, and the light intensity of a diffuse reflection is I:
[0012]
[0013] ρ is the reflectivity of the surface, P totalLED is the total power of all LEDs. The photosensitive area of the PD surface is very small, and the received power is expressed as:
[0014] P NLOS =S rx I (4),
[0015] Combining formula (2), the received power at the receiving end is:
[0016] P rx =(P LOS +P NLOS )*T s (Ψ)*g(Ψ) (5),
[0017] Where T s (Ψ) is the optical filter gain, g(Ψ) is the gain of the optical concentrator:
[0018]
[0019] η c Represents the refractive index of the receiving end, and then after calculating the light intensity, the corresponding relationship between the transmitting end and the receiving end is established. The formula for the received signal strength of optical communication is:
[0020]
[0021] d rx P is the distance between the transmitter and the receiver.rx is the received signal power at the receiving end, n is the random error in signal power calculation, and the random error is set to have a mean of 0 and a variance of σ 2 Gaussian distribution of
[0022] 3) Estimate the vehicle coordinates based on the distance from the vehicle to each LED light: Calculate the distance d between the LED projection point and the vehicle on the LED projection plane rtf , the parking lot height is fixed at h, and d rx Substitution Calculate d rtf ,
[0023]
[0024] Where (x i ,y i ) is the coordinate of LED number i on the projection plane, (x, y) is the coordinate of the receiving end, and the position of the receiving end is calculated using the least squares method. The matrices H, Y and X are set as follows:
[0025]
[0026]
[0027]
[0028] Finally, the receiving end coordinates are calculated using the least squares method:
[0029] X=(H T H) -1 H T Y (12),
[0030] The positioning terminal uses an inertial sensor IMU (Inertial Measurement Unit, referred to as IMU) for positioning. Therefore, given the initial point (x 0 ,y 0 ), using the IMU positioning program equipped on the vehicle, the relative initial point of the vehicle (x 0 ,y 0 )'s position (x 1 ,y 1 )(x 2 ,y 2 )…(x n ,y n ) to achieve IMU positioning;
[0031] 4) Set the initial state of the vehicle and the initial covariance: Set the state to Where x and y represent the position of the vehicle on the ground plane of the parking lot, vx Expressed as the speed of the vehicle in the x direction on the parking lot ground plane, v y Represents the moving speed of the vehicle in the y direction of the parking lot ground plane, and sets the initial covariance matrix P 0 ;
[0032] 5) Use the Unscented Kalman Filter (UKF) to generate the proposed distribution: use the initial time and initial value to collect the sigma point set in the distribution, where initialization: at the initial time, with the initial state variable x 0 Based on the known initial distribution p(x 0 )=N(x 0 ,P 0 ) generates a particle set The weight of each particle is 1 / N, where N is the total number of particles. A symmetric sampling strategy is used to implement unscented transformation (UT). The sigma sampling point and corresponding weight of each particle are set as follows:
[0033]
[0034]
[0035]
[0036] n is the dimension of state variables, λ is the fine-tuning parameter, and the formula is λ=α 2 (n+κ)-n, α is the proportional correction factor, generally in the range of [10 -4 ,1],κ is the secondary sampling factor, usually 0,
[0037] represents the state corresponding to the i-th particle at time k-1, Represents the covariance matrix corresponding to the i-th particle at time k-1, and makes a one-step prediction on the sampled sigma point set to obtain the state prediction value and prediction covariance of each particle:
[0038]
[0039]
[0040]
[0041] The sigma point is sampled again according to the predicted value and covariance. The formula is as follows:
[0042]
[0043]
[0044]
[0045] Calculation of autocovariance and cross-covariance:
[0046]
[0047]
[0048] z is the position of the vehicle measured by inertial navigation, x is the position of the vehicle measured by visible light positioning,
[0049] Calculate the Kalman filter gain, update the particle with the latest measurement value, and generate the importance density function:
[0050]
[0051]
[0052]
[0053] Assume that the importance density function is Gaussian distribution
[0054] 6) The improved unscented particle filter is used to calculate the filtered position result:
[0055] Combined with the latest measurements and using the weight formula to calculate the importance weight of each particle:
[0056]
[0057]
[0058] Calculate the normalized weight of each particle In each resampling process, an influence factor α is added to the normalized weights to normalize the weights:
[0059]
[0060] Resampling: Calculate the effective number of particles and set a threshold N f ,The judgment basis is whether the number of effective particles is less than the threshold:
[0061]
[0062] The final filtering result is:
[0063]
[0064]
[0065] In step 5), the estimated vehicle position and the vehicle speed in the x and y directions are taken as the measurement value z, and the position estimation accuracy is continuously improved by iteration in the UKF algorithm. In step 6), the normalized weights are normalized by adding an influence factor α to the weights during each resampling process. The resampling stage will cause a loss in sample validity and diversity, resulting in sample depletion, thereby ensuring particle diversity and improving positioning accuracy. This method can improve the accuracy of visible light indoor vehicle positioning based on RSSI positioning.
[0066] This method can improve the accuracy of indoor vehicle positioning using visible light. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 Schematic diagram of a visible light indoor positioning model in an embodiment;
[0068] Figure 2 Schematic diagram of the method flow in the embodiment. DETAILED DESCRIPTION
[0069] The content of the present invention is further described below in conjunction with the drawings and embodiments, but the present invention is not limited thereto.
[0070] Example:
[0071] Reference Figure 2 , an indoor visible light vehicle positioning method based on improved unscented particle filtering, comprising the following steps:
[0072] 1) Constructing a parking lot indoor visible light communication model: Figure 1 As shown, it is assumed that there are four LED lights on the ceiling of the parking lot that can be used as transmitters for emitting visible light information, and the headlight source of each vehicle entering the parking lot is a sensor receiving end that receives visible light transmission signals, and a transmission link is formed between the transmitter and the receiver;
[0073] 2) Set the parameters in the modeling and calculate the distance from the vehicle to each LED light: The visible light communication link is divided into visible light line-of-sight link and non-line-of-sight link. The line-of-sight channel link feature is the DC gain. The formula for calculating the visible light channel gain is:
[0074]
[0075] Where A is the effective area of the photodiode PD, Ψ is the incident angle relative to the receiving end, c is the FOV of the receiving PD, φ is the angle relative to the irradiation angle of the transmitting end, d is the distance between the transmitting end and the receiving end PD, and m is the Lambertian index, calculated as m = -ln2 / ln(cosφ 1 / 2 ), φ 1 / 2is the half-power angle, and the optical power in the entire system is expressed as:
[0076] in is the DC gain of the ith visible light channel, P tx is the transmitting power of the LED at the transmitting end. Visible light also has a diffuse reflection communication link from the transmitting end to the indoor wall reflection surface to the receiving end. In an environment, the entire surface area is S, and the light intensity of a diffuse reflection is I:
[0077]
[0078] ρ is the reflectivity of the surface, P totalLED is the total power of all LEDs. The photosensitive area of the PD surface is very small, and the received power is expressed as:
[0079] P NLOS =S rx I (4),
[0080] Combining formula (2), the received power at the receiving end is:
[0081] P rx =(P LOS +P NLOS )*T s (Ψ)*g(Ψ) (5),
[0082] Where T s (Ψ) is the optical filter gain, g(Ψ) is the gain of the optical concentrator:
[0083]
[0084] η c Represents the refractive index of the receiving end, and then after calculating the light intensity, the corresponding relationship between the transmitting end and the receiving end is established. The formula for the received signal strength of optical communication is:
[0085]
[0086] d rx P is the distance between the transmitter and the receiver. rx is the received signal power at the receiving end, n is the random error in signal power calculation, and the random error is set to have a mean of 0 and a variance of σ 2 The Gaussian distribution of the random error is determined by the sensitivity of the PD at the receiving end;
[0087] 3) Estimate the vehicle coordinates based on the distance from the vehicle to each LED light: Calculate the distance d between the LED projection point and the vehicle on the LED projection plane rtf , the parking lot height is fixed at h, and drx Substitution Calculate d rtf ,
[0088]
[0089] Where (x i ,y i ) is the coordinate of LED number i on the projection plane, (x, y) is the coordinate of the receiving end, and the position of the receiving end is calculated using the least squares method. The matrices H, Y and X are set as follows:
[0090]
[0091]
[0092]
[0093] Finally, the receiving end coordinates are calculated using the least squares method:
[0094] X=(H T H) -1 H T Y (12),
[0095] The positioning terminal uses an inertial sensor IMU for positioning. Therefore, given the initial point (x 0 ,y 0 ), using the IMU positioning program equipped on the vehicle, the relative initial point of the vehicle (x 0 ,y 0 )'s position (x 1 ,y 1 )(x 2 ,y 2 )…(x n ,y n ) to achieve IMU positioning;
[0096] 4) Set the initial state of the vehicle and the initial covariance: Set the state to Where x and y represent the position of the vehicle on the ground plane of the parking lot, v x Expressed as the speed of the vehicle in the x direction on the parking lot surface, v y Represents the moving speed of the vehicle in the y direction of the parking lot ground plane, and sets the initial covariance matrix P 0 ;
[0097] 5) Use the unscented Kalman filter UKF to generate the proposed distribution: use the initial time and initial value to collect the sigma point set in the distribution, where initialization: at the initial time, with the initial state variable x 0Based on the known initial distribution p(x 0 )=N(x 0 ,P 0 ) generates a particle set The weight of each particle is 1 / N, where N is the total number of particles. A symmetric sampling strategy is used to implement the traceless transformation UT, and the sigma sampling point and corresponding weight of each particle are set:
[0098]
[0099]
[0100]
[0101] n is the dimension of state variables, λ is the fine-tuning parameter, and the formula is λ=α 2 (n+κ)-n, α is the proportional correction factor, in this case the range is [10 -4 ,1], κ is the secondary sampling factor, which is 0 in this example.
[0102] represents the state corresponding to the i-th particle at time k-1, Represents the covariance matrix corresponding to the i-th particle at time k-1, and makes a one-step prediction on the sampled sigma point set to obtain the state prediction value and prediction covariance of each particle:
[0103]
[0104]
[0105]
[0106] The sigma point is sampled again according to the predicted value and covariance. The formula is as follows:
[0107]
[0108]
[0109]
[0110] Calculation of autocovariance and cross-covariance:
[0111]
[0112]
[0113] z is the position of the vehicle measured by inertial navigation, x is the position of the vehicle measured by visible light positioning,
[0114] Calculate the Kalman filter gain, update the particle with the latest measurement value, and generate the importance density function:
[0115]
[0116]
[0117]
[0118] Assume that the importance density function is Gaussian distribution
[0119] 6) The improved unscented particle filter is used to calculate the filtered position result:
[0120] Combined with the latest measurements and using the weight formula to calculate the importance weight of each particle:
[0121]
[0122]
[0123] Calculate the normalized weight of each particle In each resampling process, an influence factor α is added to the normalized weights to normalize the weights:
[0124]
[0125] Resampling: Calculate the effective number of particles and set a threshold N f ,The judgment basis is whether the number of effective particles is less than the threshold:
[0126]
[0127] The final filtering result is:
[0128]
[0129]
Claims
1. An indoor visible light vehicle positioning method based on improved unscented particle filtering, characterized in that: The steps include: 1) Construct a visible light communication model in a parking lot: Assume that there are four LED lights on the ceiling of the parking lot as transmitters for emitting visible light information. The headlight source of each vehicle entering the parking lot is a sensor receiver that receives visible light transmission signals. A transmission link is formed between the transmitter and the receiver. 2) Set the parameters in the modeling and calculate the distance from the vehicle to each LED light: The visible light communication link is divided into visible light line-of-sight link and non-line-of-sight link. The line-of-sight channel link feature is the DC gain. The formula for calculating the visible light channel gain is: Where A is the effective area of the photodiode PD, Ψ is the incident angle relative to the receiving end, c is the FOV of the receiving PD, φ is the angle relative to the irradiation angle of the transmitting end, d is the distance between the transmitting end and the receiving end PD, and m is the Lambertian index, calculated as m = -ln2 / ln(cosφ 1 / 2 ), φ 1 / 2 is the half-power angle, and the optical power in the entire system is expressed as: in is the DC gain of the ith visible light channel, P tx is the transmitting power of the LED at the transmitting end. Visible light also has a diffuse reflection communication link from the transmitting end to the indoor wall reflection surface to the receiving end. In an environment, the entire surface area is S, and the light intensity of a diffuse reflection is I: ρ is the reflectivity of the surface, P totalLED is the total power of all LEDs, and the received power is expressed as: P NLOS =S rx I (4), Combining formula (2), the received power at the receiving end is: P rx =(P LOS +P NLOS )*T s (Ψ)*g(Ψ) (5), Where T s (Ψ) is the optical filter gain, g(Ψ) is the gain of the optical concentrator: η c represents the refractive index at the receiving end, The formula for receiving signal strength in optical communication is: d rx P is the distance between the transmitter and the receiver. rx is the received signal power at the receiving end, n is the random error in signal power calculation, and the random error is set to have a mean of 0 and a variance of σ 2 Gaussian distribution of 3) Estimate the vehicle coordinates based on the distance from the vehicle to each LED light: Calculate the distance d between the LED projection point and the vehicle on the LED projection plane rtf , the parking lot height is fixed at h, and d rx Substitution Calculate d rtf , Where (x i ,y i ) is the coordinate of LED number i on the projection plane, (x, y) is the coordinate of the receiving end, and the position of the receiving end is calculated using the least squares method. The matrices H, Y and X are set as follows: Finally, the receiving end coordinates are calculated using the least squares method: X=(H T H) -1 H T Y (12), The positioning terminal uses an inertial sensor IMU for positioning. Given the initial point (x0, y0) of the vehicle in the parking lot, the IMU positioning program equipped on the vehicle is used to obtain the position (x1, y1)(x2, y2)…(x n ,y n ) to achieve IMU positioning; 4) Set the initial state of the vehicle and the initial covariance: Set the state to Where x and y represent the position of the vehicle on the ground plane of the parking lot, v x Expressed as the speed of the vehicle in the x direction on the parking lot ground plane, v y Represents the moving speed of the vehicle in the y direction of the parking lot ground plane, and sets the initial covariance matrix P0; 5) Use the unscented Kalman filter UKF to generate the proposed distribution: use the initial time and initial value to collect the sigma point set in the distribution, where initialization: at the initial time, based on the initial state variable x0, generate a particle set from the known initial distribution p(x0) = N(x0, P0) The weight of each particle is 1 / N, where N is the total number of particles. A symmetric sampling strategy is used to implement the traceless transformation UT, and the sigma sampling point and corresponding weight of each particle are set: n is the dimension of state variables, λ is the fine-tuning parameter, and the formula is λ=α 2 (n+κ)-n, α is the proportional correction factor, the range is [10 -4 ,1],κ is the secondary sampling factor, usually 0, represents the state corresponding to the i-th particle at time k-1, Represents the covariance matrix corresponding to the i-th particle at time k-1, and makes a one-step prediction on the sampled sigma point set to obtain the state prediction value and prediction covariance of each particle: The sigma point is sampled again according to the predicted value and covariance. The formula is as follows: Calculation of autocovariance and cross-covariance: z is the position of the vehicle measured by inertial navigation, x is the position of the vehicle measured by visible light positioning, Calculate the Kalman filter gain, update the particle with the latest measurement value, and generate the importance density function: Assume that the importance density function is Gaussian distribution 6) Use the improved unscented particle filter to calculate the filtered position result: Combined with the latest measurements and using the weight formula to calculate the importance weight of each particle: Calculate the normalized weight of each particle In each resampling process, an influence factor α is added to the normalized weights to normalize the weights: Resampling: Calculate the effective number of particles and set a threshold N f ,The judgment basis is whether the number of effective particles is less than the threshold: The final filtering result is:
