Next Article in Journal
Cultivating Ensemble Diversity through Targeted Injection of Synthetic Data: Path Loss Prediction Examples
Previous Article in Journal
Multi-Fault Diagnosis of Electric Vehicle Power Battery Based on Double Fault Window Location and Fast Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Closed-Form Solutions for Visible Light Positioning in Low-Cost IoT Devices

1
Information and Educational Technology Center, Zhejiang A&F University, Hangzhou 311300, China
2
School of Information Engineering, Huzhou University, Huzhou 313000, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(3), 614; https://doi.org/10.3390/electronics13030614
Submission received: 5 December 2023 / Revised: 18 January 2024 / Accepted: 30 January 2024 / Published: 1 February 2024

Abstract

:
Visible light positioning (VLP) has drawn great attention in the field of indoor positioning as light communication has been popularized in low-cost Internet-of-Things (IOT) devices. In this paper, we investigate the VLP problem using the received signal strength (RSS) and by only considering the line-of-slight (LOS) propagation. The RSS-based VLP problem is highly nonlinear, and its solutions may be trapped in local optima without a good initial guess. To circumvent this difficulty, we propose closed-form solutions of the VLP problem considering a known or unknown user orientation. By applying the weighted least squares (WLS) method, the closed-form solutions are divided into two stages. In the stage-one WLS solution, the nonlinear VLP problem is transformed into a pseudo-linear form by introducing some auxiliary variables, which are considered to be independent of each other. The estimates of the stage-one WLS solution are further refined in the stage-two WLS solution by exploiting the constrained relationships among these defined variables. The simulation results show that the stage-two WLS solution provides good estimates for the user position and orientation. The proposed stage-two WLS solution outperforms the existing methods especially at a high signal-to-noise ratio (SNR).

1. Introduction

Indoor positioning has significant research value in Internet-of-Things (IOT) devices and potential application prospects in many public places such as parking areas, transport stations, shopping malls, etc. [1,2,3,4]. Traditional global positioning systems (GPSs) are mainly applicable for outdoor localization and are unable to provide accurate position information for indoor users due to signal blocking. Accordingly, all kinds of indoor positioning technologies have been proposed for IOT devices such as wireless signals [5,6,7], acoustic signals [8], radio frequency [9], etc. Some of them achieve a high positioning accuracy by installing various infrastructures and sensors. These different techniques provide feasible schemes for indoor positioning by trading off the cost and positioning accuracy.
Among these indoor positioning techniques, visible light positioning (VLP) has attracted a lot of research interest for popularized light communication [10,11,12]. In VLP systems, light-emitting diodes (LEDs) as luminaires play an important role in rate communications, and have a low cost and energy consumption. As a result, many VLP methods have been proposed by utilizing all kinds of range-based measurements, including time of arrival (TOA), angle of arrival (AOA) [13], received signal strength (RSS) [14], and their joint methods [15,16]. Owing to the high speed propagation of light signals, accurate range-based information is difficult to obtain for the TOA and AOA. Hence, the positioning accuracy is poor for TOA- and AOA-based methods. The RSS of a light signal is relatively easy to measure by equipping a photodiode (PD) to the user [17]. Moreover, the RSS value is used to accurately measure the ranging information of densely deployed LEDs in indoor environments [18]. As a result, the user’s position can be determined with a high accuracy from these RSS measurements.
In this paper, we focus on the VLP problem in line-of-slight (LOS) propagation by applying RSS measurements. To address the RSS-based VLP problem, we propose closed-form solutions by considering two different cases: a known user orientation (KUO) and an unknown user orientation (UUO). Designing the closed-form solutions has mainly several technical challenges:
  • The highly nonlinear nature of the VLP problem. The user position is highly nonlinear to the RSS value, and the VLP is itself a nonlinear and non-convex problem with lots of local optima.
  • A large number of variables are produced in the pseudo-linear process. To represent the nonlinear problem in a pseudo-linear form, there is a large number of variables that are coupled with each other.
  • The constraint of the user orientation vector. Obviously, the user orientation vector should satisfy the condition that its norm is equal to one.
To address the first challenge, we represent the nonlinear problem in a pseudo-linear form by introducing some auxiliary variables that are considered to be independent of the intended unknowns. According to the pseudo-linear equation, an initial solution is estimated by applying the stage-one WLS method. To deal with the second challenge, the constrained relationships among the variables are used to exploit the stage-two WLS solution. Thus, the estimate in the stage-one WLS solution is further refined, and the performance becomes better. To handle the third challenge, we formulate the stage-two WLS solution as a constrained WLS (CWLS) problem. As a result, the problem can be efficiently solved even if the norm constraint of the orientation vector is included.
This paper also addresses the RSS-based VLP problem by assuming the user orientation to be known or unknown, and we propose closed-form solutions to estimate the user position. The closed-form solutions are divided into two stages: stage-one WLS and stage-two WLS. In the stage-one WLS solution, the highly nonlinear VLP problem is transformed into a pseudo-linear form by assuming the introduced auxiliary variables to be independent of the intended unknowns. The stage-two WLS solution refines the solutions obtained from the stage-one WLS by making the constrained relationships among the defined variables available.
Our proposed VLP models are similar to the existing models in [19,20,21] due to consideration of a known or unknown user orientation. The contribution of this paper is mainly a closed-form solution for VLP problems. To our best knowledge, there is no closed-form solution for the VLP problem due to its highly nonlinear nature. The detailed contributions are summarized as follows:
  • We propose a closed-form solution to determine the user position for the RSS-based VLP problem when the user orientation is known, and the closed-form solution is divided into two stages.
  • The closed-form solution is also extended to the case of an unknown user orientation (UUO), in which the user position and orientation are jointly estimated by two stages.
  • We theoretically analyze the Cramér–Rao lower bound (CRB) of two cases: a KUO and a UUO. The solution complexity of the KUO and UUO cases is also compared.
This paper mainly presents the closed-form solutions for VLP problems considering a known or unknown user orientation in low-cost IOT devices. The rest of this paper is structured as follows. The related work is introduced in Section 2. In Section 3, the VLP problem is formulated. Section 4 describes the closed-form solutions of KUO and UUO cases in detail. In Section 5, the CRBs of the two cases are derived and the complexity is provided. The numerical simulations are analyzed in Section 6. The conclusion is presented in Section 7.
Following convention, the column vector is denoted by a bold lowercase letter and the matrix is represented by a bold uppercase letter. The notation ( ) 1 and ( ) T represents the matrix inverse and transpose operations. The notation a o represents the true value of a , and  Δ a is the noise or error part of a . diag ( a ) denotes a diagonal matrix formed by the vector a . diag ( A , k ) stands for a vector formed by the elements on the k-th diagonal of matrix A . denotes the 2 norm. [ a ] i is the i-th element of a , and  [ a ] i : j is the sub-vector formed by the i-th to the j-th element of a . [ A ] i , j is the ( i , j ) -th element of matrix A . 0 m stands for an all-zero column vector with length m. I m and 0 m × n represent m × m identity and m × n zero matrices, respectively.

2. Related Work

The position information of IOT devices is crucial for various applications, such as tracking, navigation, and other interactive services. The position information provided by a GPS is usually inaccurate and fails to fulfill the requirements of indoor positioning. Thus, some new indoor positioning techniques have been proposed to provide accurate position information for IOT devices [22,23,24]. Popular techniques include wireless radio strength, radio frequency identification, and acoustic-signal-based methods. Radio-based technologies, such as WiFi, are vulnerable to multipath propagation and their performance is poor. Acoustic-signal-based methods require additional hardware deployment which is costly.
Recently, visible light communication (VLC) has emerged as a promising technology for its high communication rates, long lifetime, and low fees. As a result, visible light positioning (VLP) has also attracted increasing research attention together with the emerging VLC using light-emitting diode (LED) luminaires [25,26,27]. For  widely deployed LEDs, the VLP technique is used to solve the indoor positioning problem in the final meter. By making use of VLC, the LED transmitter index can be identified. In addition to this, range-based information is required to determine the user position [28,29]. Typical range techniques include the time of arrival (TOA) [30,31], angle of arrival (AOA) [32], and received signal strength (RSS) [33]. TOA-based systems depend on the synchronization between the LED transmitter and the user. AOA-based measurements require extra hardware, and  accurate angle information is not easily obtained. Among these techniques, the RSS-based method is very attractive since RSS values are easily measured by equipping a photo-detector to the user [18,34].
RSS-based VLP is indeed a challenging problem since the measured RSS of a light signal is strongly nonlinear to the user’s position [33,35,36]. In addition, the orientations of LEDs and the user have a significant effect on the channel gains [37]. Hence, a large number of approaches have been proposed previously for the VLP problem. The trilateration-based method is very common for range-based positioning. However, obtaining ranging measurements requires the angle information between the LED and the PD in VLP systems. Without a good initial point, the solutions of many numerical methods may be trapped in local optima, such as nonlinear least square (NLS) [32], Maximum-Likelihood (ML), and the Newton–Raphson method. To reach a solution with a global optimum, these approaches always resort to the random selection of an initial point. As a result, the complexity is high due to a large number of random initializations.
For range-based positioning, the closed-form solution is very popular since it does not require any initialization [38,39,40,41]. In the closed-form solution, the nonlinear positioning problem is first formulated in pseudo-linear form by assuming the defined variables to be independent [42,43,44]. Subsequently, unknown parameters are estimated by applying the weighted least squares (WLS) method [45,46]. Since the defined variables are assumed to be independent of each other, the stage-one WLS solution performs poorly. Accordingly, the stage-two WLS solution is proposed to improve the performance by exploiting the constrained relationships among the defined variables. Thus, the solution obtained from stage-one WLS is further refined by the stage-two WLS solution. To the best of our knowledge, there is no closed-form solution that is used to accomplish RSS-based VLP.
The RSS received by a PD depends on not only the distance between the LED and the PD, but also the irradiance and incidence angles. By assuming the angles or orientations to be known [47], the position estimation problem is simplified and the user position can be derived from the geometric relation. Since the measured angles or orientations are also subject to error, the position estimation performance will degrade accordingly [14]. In addition, obtaining angle information requires extra equipment or sensors. Hence, the Simultaneous Position And Orientation (SPAO) method [48] was proposed by considering the user orientation to be unknown. In this case, the RSS-based VLP problem is more challenging since the user orientation is also a variable and required to be determined. In [20], the SPAO problem is solved using the successive linear least square (SLLS) method, in which the user orientation and position are separately estimated. In [21], the Gauss–Newton method (GNM) and interior point method (IPM) are proposed to determine the user orientation and position. Unfortunately, these proposed methods also require an initial guess, and the solutions may converge to local optima.
In this paper, we propose a closed-form solution to determine the user position for an RSS-based VLP system, where the user orientation is assumed to be known or unknown. The closed-form solution does not depend on the initialization and always converges to a global optimum. Thus, the proposed closed-form solution can be easily determined by low-cost IOT devices. By introducing some auxiliary variables, the nonlinear VLP problem is transformed into a pseudo-linear equation. As a result, a stage-one solution is obtained from the pseudo-linear equation by applying WLS minimization. The stage-two WLS solution is used to refine the stage-one solution by exploiting the constrained relationships among the introduced variables.

3. Problem Formulation

In a three-dimensional (3D) scenario, a VLP system composed of M LEDs is used to locate the user equipped with a photodiode (PD). We denote the position and orientation of the i-th LED as p i R 3 and v R 3 , which are known for i = 1 , 2 , , M . The position and orientation of the user need to be determined and are represented by x o R 3 and u o R 3 , where the 2 norm of vector u o is one, i.e.,  u o = 1 . As illustrated in Figure 1, the LEDs are always installed in the upper part of the room, and the user should be in the range of light illumination.
The LEDs are able to communicate with the user using the Visible Light Communication (VLC) technique. Thus, the user can acquire the LED IDs of the VLC signals, and the received signal strength (RSS) corresponding to each LED, under the line-of-slight (LOS) link, is modeled as
Φ i = Ψ i 2 π ( cos ( ϕ i ) ) r i cos ( θ i ) x o p i 2 ,
where Ψ i = ( r i + 1 ) Γ i G i P i A i , A i is the detection area of the PD and r i is Lambertian order of the i-th LED. For the Lambertian pattern of LED radiation, r i = ln 2 ln cos ( A 0.5 ) , where A 0.5 is the semi-angle at the half power of the LEDs. Typically, A 0.5 = π 3 , and  r i is equal to 1 [49]. Γ i , G i , and  P i represent the gain of the optical filter, the gain of the optical concentrator, and the optical power of the i-th LED, respectively. Detailed definitions of Γ i , G i , and  P i are given by [48,50], and they are generally available for a given LED and considered to be known. In addition, ϕ i and θ i represent the irradiance angle and incidence angle of the i-th LED, respectively. ϕ i and θ i should be within the field of view (FOV) angles ϕ F and θ F , i.e.,  | ϕ i |     | ϕ F | and | θ i |     | θ F | . From the geometry relationship shown in Figure 1, the irradiance angle ϕ i and incidence angle θ i are obtained by
cos ( ϕ i ) = ( x o p i ) T v x o p i ,
cos ( θ i ) = ( p i x o ) T u o x o p i .
Multiplying both sides by 2 π Ψ i and applying the definitions of (2a,b), we simplify (1) as
g i o = ( x o p i ) T v ( x o p i ) T u o x o p i 4 ,
where g i o = 2 π Φ i Ψ i and r i is considered to be one. The true g i o is unavailable, and its measurable version is expressed as
g i = g i o + Δ g i ,
where g i is a measured value of g i o and Δ g i is additive noise, i = 1 , 2 , , M . Stacking all measurements yields a vector form g = [ g 1 , g 2 , , g M ] T . Similarly, collecting all the Δ g i produces a vector Δ g , defined by Δ g = [ Δ g 1 , Δ g 2 , , Δ g M ] T . Δ g i mainly includes shot noise and thermal noise. As a result, the vector form Δ g obeys a zero-mean Gaussian distribution with covariance Σ = diag ( [ σ 1 2 , σ 2 2 , , σ M 2 ] T ) , where σ i 2 is the variance of the total noise, i = 1 , 2 , , M .
Considering the user orientation as known or unknown, we aim at estimating the position x o using the measured g in the VLP system, where the positions p i and the orientation v are known. In addition, u o should satisfy u o   = 1 . Note that all LED orientations are assumed to be the same. This assumption is reasonable since all installed LEDs always have the same orientation as the luminaires. In addition, in the proposed problem, the Lambertian order r i considered as one. If  r i is not equal to one and is near one, our proposed closed-form solution can be further refined using some numerical methods.

4. Closed-Form Solutions

In this section, we introduce the closed-form solutions in detail for the RSS-based VLP problem considering two cases: a known and unknown user orientation. For each case, the closed-form solution is divided into two stages. In  stage one, we establish the pseudo-linear equation in terms of unknown parameters using RSS measurements, and the user position is then estimated by applying the WLS method from the pseudo-linear equation. The stage-two solution refines the estimates obtained from the stage-one WLS solution. As a result, the performance of the stage-two solution becomes better than that of stage-one.

4.1. Known User Orientation

In this case, the user orientation is assumed to be known and directly equal to u . Multiplying both sides of (3) by x o p i 4 and expanding and rearranging the expression yield the following
a i T x o + 4 g i ( p i T x o ) 2 x o T u v T x o + 2 g i p i T p i x o T x o 4 g i p i T ( x o T x o x o ) + g i ( x o T x o ) 2 + g i p i T p i p i T p i p i T v p i T u = x o p i 4 Δ g i ,
where a i = p i T u v + p i T v u 4 g i p i T p i p i , i = 1 , 2 , , M . The terms 4 g i ( p i T x o ) 2 and 2 g i p i T p i x o T x o can be grouped in a more compact form. Applying the vector multiplying formula, we arrive at
4 g i ( p i T x o ) 2 = b i , 1 T ρ o , x o T u v T x o = b i , 2 T ρ o , p i T p i x o T x o = b i , 3 T ρ o , ρ o = [ diag ( x o x o T ) T , diag ( x o x o T , 1 ) T , diag ( x o x o T , 2 ) T ] T , b i , 1 = 4 g i [ diag ( p i p i T ) T , 2 diag ( p i p i T , 1 ) T , 2 diag ( p i p i T , 2 ) T ] T , b i , 2 = [ diag ( v u T ) T , diag ( v u T , 1 ) T + diag ( v u T , 1 ) T , diag ( v u T , 2 ) T + diag ( v u T , 2 ) T ] T , b i , 3 = 2 g i p i T p i [ 1 3 T , 0 3 T ] T ,
where ρ o R 6 . As a result, (5) is also rewritten as
a i T x o + b i T ρ o 4 g i p i T ( x o T x o x o ) + g i ( x o T x o ) 2 + g i p i T p i p i T p i p i T v p i T u = x o p i 4 Δ g i ,
where b i = b i , 1 + b i , 2 + b i , 3 . Let the unknown vector be
φ o = [ x o T 3 , ρ o T 6 , x o T x o x o T 3 , ( x o T x o ) 2 1 ] T R 13 .
For our proposed problem, the intended unknown is only x o , and the other introduced auxiliary variables are determined by the intended unknown. When the defined variables are considered to be independent of each other, (8) is considered to be a linear expression. As a result, the linear matrix form of (5) is given by
G 1 φ o h 1 = α 1 ,
where α 1 is the noise term and is given by α 1 = B 1 Δ g , G 1 is an M × 13 matrix, and the i-th row of G 1 is defined by
[ G 1 ] i , : = [ a i T , b i T , 4 g i p i T , g i ] ,
where i = 1 , 2 , , M . In addition, the diagonal matrix B 1 R M × M and vector h 1 R M are defined by
[ h 1 ] i = g i p i T p i p i T p i + p i T v p i T u , [ B 1 ] i , i = x o p i 4 x p i 4 ,
where x o is approximated by its estimated value x . For the stage-one WLS solution, the estimate value φ of φ o is given by
φ = ( G 1 T W α 1 G 1 ) 1 G 1 T W α 1 h 1 ,
where W α 1 is called a weighting matrix and is approximately equal to the inverse of the covariance with respect to the noise term α 1 . As a result, W α 1 is obtained by
W α 1 = ( B 1 Σ B 1 T ) 1 .
To efficiently solve problem (9), the matrix G 1 needs to be full of rank. Thus, the number of measurements needs to be larger than that of the variables for the WLS solution (12). At least 13 non-collinear LEDs are required to uniquely locate the user when the user orientation is available and considered to be known.
Remark 1.
From (13), the solution of W α 1 depends on B 1 , which is unavailable at the beginning due to the unknown position x . It is known that the WLS solution is insensitive to the weighting matrix W α 1 . Initially, W α 1 is set to an identity to yield a coarse estimate φ, which is used to form W α 1 . Thus, forming W α 1 using a coarse estimate gives a better solution.
Extracting from the estimated φ , we can obtain the stage-one WLS solution of x o by x = [ φ ] 1 : 3 . When the RSS measurements are subject to noise, the estimate value φ also contains error. As a result, we have φ = φ o + Δ φ , where Δ φ is the estimation error included in φ . Since the noise term is B 1 Δ g in the linear Equation (10), the estimation error Δ φ is
Δ φ = ( G 1 T W α 1 G 1 ) 1 G 1 T W α 1 B 1 Δ g ,
where the noise in G 1 is considered to be insignificant. Although  G 1 also contains noise due to the inaccurate g i , it is negligible at low noise levels. As a result, the error Δ φ is zero-mean, and its covariance, denoted by cov ( Δ φ ) , is given by
cov ( Δ φ ) = ( G 1 T W α 1 G 1 ) 1 .
The variables defined in φ o are coupled with each other, and the constrained relationships are not considered in the stage-one solution. Hence, the stage-one WLS solution performs poorly. In the following, we further refine the stage-one solution by exploiting the constrained relationships among the variables.
According to the definition of φ o , applying φ = φ o + Δ φ directly produces
G 2 x o h 2 = α 2 ,
where α 2 = B 2 Δ φ . The detailed derivation and definition of (16) are provided in Appendix A. Accordingly, the accurate estimate in the stage-two WLS solution is
x = ( G 2 T W α 2 G 2 ) 1 G 2 T W α 2 h 2 ,
where W α 2 is also a weighting matrix, obtained by
W α 2 = ( B 2 cov ( Δ φ ) B 2 T ) 1 .

4.2. Unknown User Orientation

A small deviation in the user orientation will result in a large position estimation error. In this case, the user orientation u o is assumed to be unknown and needs to be estimated together with the user position. For this case, the definition of unknown variables is slightly different from that of a known user orientation. However, the derivation procedure of the closed-form solution is similar. By considering the user orientation as unknown, (5) is also represented as
4 g i p i T p i p i T x o p i T v p i T u o + 4 g i ( p i T x o ) 2 + 2 g i p i T p i x o T x o + p i T u o x o T v + p i T v x o T u o 4 g i p i T ( x o T x o x o ) + g i ( x o T x o ) 2 v T x o x o T u o + g i p i T p i p i T p i = x o p i 4 Δ g i .
Note that the term p i T u o x o T v should be integrated with p i T v x o T u o for the common variables. As a result, this yields
p i T u o x o T v + p i T v x o T u o = p i T τ o ,
where τ o = u o x o T v + u o T x o v . Thus, (19) is also rewritten as
4 g i p i T p i p i T x o p i T v p i T u o + ( b i , 1 T + b i , 3 T ) ρ o + p i T τ o 4 g i p i T ( x o T x o x o ) + g i ( x o T x o ) 2 v T x o x o T u o + g i p i T p i p i T p i = x o p i 4 Δ g i , i = 1 , 2 , , M .
Let the unknown vector be
η o = [ x o T 3 , u o T 3 , ρ o T 6 , τ o T 3 , x o T x o x o T 3 , ( x o T x o ) 2 1 , v T x o x o T u o 1 ] T R 20 .
Collecting all expressions in an ascending order of i produces a matrix form:
C 1 η o d 1 = β 1 ,
where the noise term β 1 is given by β 1 = α 1 and C 1 and d 1 are defined by
[ C 1 ] i , : = [ 4 g i p i T p i p i T , p i T v p i T , b i , 1 T + b i , 3 T , p i T , 4 g i p i T , g i , 1 ] T , [ d 1 ] i = g i p i T p i p i T p i , i = 1 , 2 , , M .
According to (23), we obtain the stage-one WLS solution η of η o by
η = ( C 1 T W β 1 C 1 ) 1 C 1 T W β 1 d 1 .
where W β 1 is equal to W α 1 for β 1 = α 1 .
Remark 2.
Similar to W α 1 , W β 1 is set to an identity to produce a preliminary estimate of x o . Then, the preliminary estimate is used to form W β 1 , which will yield an accurate solution for the unknowns.
According to the definition of η o , the estimate values are obtained by
x = [ η ] 1 : 3 , u = [ η ] 4 : 6 .
Similar to (14) and (15), the estimation error of η is denoted as Δ η , the covariance of which is given by
cov ( Δ η ) = ( C 1 T W β 1 C 1 ) 1 .
For the case of an unknown user orientation, the orientation is estimated together with the position. In addition to the two intended parameters, the others included in η o are auxiliary variables and used to assist in establishing the linear expression. The constrained relationships among these variables should be further exploited in the stage-two WLS solution. Let us define the intended unknown vector as
y o = [ x o T , u o T ] T .
The stage-two WLS solution is obtained by
C 2 y o d 2 = β 2 ,
where the error term β 2 is given by β 2 = D 2 Δ η , the detailed derivation and the definition of (29) are given in Appendix B. In addition, the user orientation should satisfy u o = 1 . Hence, the following constraint it yielded
y o T P y o = 1 ,
where the matrix P is defined by
[ P ] 4 : 6 = I 3 .
According to (29), the estimation problem can be represented as a constrained optimization problem
min y o ( C 2 y o d 2 ) T W β 2 ( C 2 y o d 2 ) s . t . y o T P y o = 1 ,
where W β 2 = ( D 2 cov ( Δ η ) D 2 T ) 1 . The optimal solution y should satisfy the Karush–Kuhn–Tucker (KKT) conditions,
y ( λ ) = ( C 2 T W β 2 C 2 + λ P ) 1 C 2 T W β 2 d 2 ,
y ( λ ) T P y ( λ ) = 1 .
λ is Lagrange coefficient, and its optimal value is determined by solving the six-root equation
i = 1 3 μ i ( 1 + γ i λ ) 2 = 1 ,
where μ i and γ i are defined in Appendix C. The desired λ is found from the roots of Equation (34) and the following procedure is then carried out:
(a)
Solve the six roots of Equation (34) and discard the complex roots.
(b)
Put the obtained roots in (33a) and estimate the user position and orientation from x = [ y ] 1 : 3 and u = [ y ] 4 : 6 .
(c)
Make the orientation sign consistent with that of the stage-one WLS solution as the final step.
The definition of matrix C 2 and vector d 2 requires the estimate obtained from the stage-one WLS solution of (25), in which the variables are considered to be independent of each other. To efficiently solve the WLS problem, the number of measurements needs to be greater than that of unknown variables. Accordingly, at least 20 non-collinear LEDs are required to uniquely determine the user position and orientation. The detailed closed-form solution for an unknown user orientation is illustrated in Algorithm 1.
Algorithm 1: Closed-form solution for an unknown user orientation
Input: p i , v , g i , Σ, i = 1 , 2 , , M
Output: x , u
  (1). Stage-one WLS solution:
  Create C 1 and d 1 using (24);
  Estimate η by (25) considering W β 1 as the identity;
  Extract the coarse estimate of the user position using (26);
  Generate W β 1 equal to W α 1 from (13);
  Estimate η with generated W β 1 by (25) again;
  Obtain the stage-one WLS solution by extracting from the new estimated η.
  (2). Stage-two WLS solution:
  Create C 2 , d 2 , and  D 2 using (A15) and (A16), where η is an estimate of the stage-one WLS solution;
  Generate W β 2 from the definition below (32);
  Solve the optimal y with (33), where λ is found from the six roots of Equation (34);
  Obtain the final stage-two WLS solution by checking the orientation sign.

5. Performance Analysis

In this section, the CRBs of two cases are first derived. The CRB of a KUO is proven to be smaller than that of a UUO. In addition, we analyze the computational complexity of the proposed closed-form solutions.

5.1. CRB Derivation

In this subsection, the CRBs of the VLP estimation problem are first evaluated for two different cases: a KUO and a UUO. The CRB provides a lower bound for error variance based on the assumption of Gaussian noise, which is commonplace for VLP systems [20,32]. As a result, the CRB of the unknown parameters is equal to the inverse of the Fisher information matrix (FIM). When the user orientation is known, the only variable is the user position x o . For notation simplicity, we shall use the symbol a , b to denote the partial derivative, i.e.,
a = def g a T .
According to [51], the CRB of a known user orientation, denoted by CRB KUO ( x o ) , is given by
CRB KUO ( x o ) = ( x o T Σ 1 x o ) 1 .
x o is also defined by
[ x o ] i , 1 : 3 = L i s i x o p i 3
L i = [ e i , v , u o ] ,
s i = [ 4 e i T v e i T u o , e i T u o , e i T v ] T ,
where e i is called the incident vector and is given by e i = x o p i x o p i , i = 1 , 2 , , M . For the case of an unknown user orientation, the intended unknown parameters are y o = [ x o T , u o T ] T , in which u o = 1 . In [48], the CRB of unknown user orientation is given; however, the FIM may be deficient-rank due to the constrained condition. In the following, we apply the constrained CRB formulation to derive the CRB. Let F be the FIM corresponding to the unconstrained estimation problem. When the user orientation is unknown, F is obtained by
F = [ x o , u o ] T Σ 1 [ x o , u o ] .
where x o is the same as that in (36), and u o is defined by
[ u o ] i , 1 : 3 = e i T v e i T x o p i 2 .
Expression (38) is also expressed as
F = X Y Y T Z ,
where
X = x o T Σ 1 x o ,
Y = x o T Σ 1 u o ,
Z = u o T Σ 1 u o .
For the unconstrained estimation problem, the CRB of x o , denoted by CRB UUO ( x o ) , is the upper left 3 × 3 matrix of F 1 . Applying the partitioned matrix inversion formula produces
CRB UUO ( x o ) = ( X Y Z 1 Y T ) 1 .
According to (41a–c), (42) is also rewritten as
CRB UUO ( x o ) = ( x o T K x o ) 1 ,
where K is defined as
K = Σ 1 Σ 1 u o ( u o T Σ 1 u o ) 1 u o T Σ 1 .
Comparing (43) with (36), we arrive at
CRB KUO ( x o ) CRB UUO ( x o ) .
According to (44), the presence of an unknown user orientation is equivalent to increasing the noise covariance by an extra term that is determined by u o and the noise covariance Σ .
Our proposed problem includes the constraint u o = 1 . According to [52], the constrained CRB formulation of unknown parameter y o , denoted by CCRB UUO ( y o ) , is expressed as
CCRB UUO ( y o ) = F 1 F 1 q ( q T F 1 q ) 1 q T F 1 ,
where the vector q is caused by the constraint and given by
q = ( [ y o ] 4 : 6 T [ y o ] 4 : 6 1 ) y o = 2 [ y o ] 4 : 6 .
Apparently, we have
CCRB UUO ( x o ) CRB UUO ( x o ) .
The constraint u o = 1 indicates that there are two independent variables in the defined u . As a result, CCRB UUO ( x o ) is smaller than CRB UUO ( x o ) due to fewer independent variables.

5.2. Computational Complexity

In this subsection, the complexity of the closed-form solutions is provided. When the WLS solution includes m equations and n unknown variables, its complexity is equal to O ( 2 m 2 n + m n 2 + m n + n 3 + n 2 ) [53]. When the user orientation is known or unknown, the closed-form solutions are divided into two stages. For each case, the number of variables in the stage-two WLS solution is always irrelevant to M, and the complexity is mainly dominated by that of the stage-one WLS solution. Hence, we only compare the complexity of stage-one WLS solutions under the two different cases.
For the two different cases, the parameters of m and n are listed in Table 1, where KUO and UUO represent known user orientation and unknown user orientation, respectively. Using the parameters listed in Table 1, we further calculate the complexity of these proposed closed-form solutions,
Complexity in ( 12 ) O ( 26 M 2 + 182 M ) ,
Complexity in ( 25 ) O ( 40 M 2 + 420 M ) .
As a result, the complexity of a known user orientation is approximated by (49a). In contrast to the case of a known user orientation, the complexity of an unknown user orientation includes κ WLS solutions for the choice of the optimal Lagrange coefficient λ . The complexity of an unknown user orientation is approximately equal to O ( κ ( 40 M 2 + 420 M ) ) . Accordingly, the complexity of the UUO case is much greater than that of the KUO case. In contrast, we also derived the complexities of the trilateration-based method (denoted by “Trilateration”) [19], the NLS (denoted by “NLS”) [32], and the SLLS-SPAO [48], which are given by
Complexity of Trilateration O ( 13 M 2 ) ,
Complexity of NLS O ( M 2 log 1 ϵ ) ,
Complexity of SLLS - SPAO O ( 40 M 2 log 1 ϵ ) ,
where ϵ is the solution accuracy of the NLS and the SLLS-SPAO.

6. Evaluation

The performance of the closed-form solutions was evaluated using simulations. Unless noted otherwise, the LEDs were deployed in a room of size 9 m × 9 m × 5 m. The LED positions in the x-axis and y-axis directions were randomly generated in the deployed region, and the height of the LEDs was restricted to the range of (4, 5) m. For our proposed VLP problem, all LED orientations need to be the same, and they are assumed to be downward, i.e., v = [ 0 , 0 , 1 ] T . The user position is set at x o = [ 5 , 5 , 1 ] T m, and their orientation is considered to be upward, i.e., u o = [ 0 , 0 , 1 ] T . In addition, the other LED parameters are listed as follows, Γ i = 2.25 , G i = 1 , A i = 1   cm 2 , P i = 2.2 Watt, ϕ F = θ F = π 2 , which implies that the user is within the range of all LED illuminations. The performance was evaluated using root mean square error (RMSE), defined by
RMSE ( t ) = 1 G L g = 1 G l = 1 L x l g x o 2 ,
RMSE ( u ) = 1 G L g = 1 G l = 1 L u l g u o 2 ,
where x l g and u l g are the estimates of user position and orientation in the l-th MC run for the g-th LED geometry configuration and L = 500 and G = 20 in our simulations. The signal-to-noise ratio (SNR) is given by P r 2 R p 2 / σ i 2 , where R p is the photoelectric conversion efficiency of a PD and R p = 1 .
To the best of our knowledge, there are few solutions that do not require the initialization for the RSS-based VLP problem. For the KUO case, we will use the trilateration-based method (denoted by “Trilateration”) [19] as a baseline, and also compare the performance with that of the LS (denoted by “LS”) estimator [54] and the NLS (denoted by “NLS”) estimator [32], which employs the stage-one WLS solution as an initial guess. When the user orientation is unknown, the performance of the WLS solution is compared with that of the Gauss–Newton method (GNM) [21] and SLLS-SPAO [48], in which the stage-one WLS solution is regarded as the initial point. In addition, the CRB corresponding to two different cases is taken as a benchmark. The intention of the simulations is illustrated in Table 2.

6.1. CRB Comparison under Two Cases

Scenario 1: The number of LEDs is set at 30, and their positions are generated randomly in the deployed room. For two different cases of a KUO and a UUO, the CRBs of user position and orientation estimation are plotted in Figure 2 as the noise increases. It is shown that the CRB ( x o ) for a KUO is smaller than the CCRB ( x o ) for a UUO, since the user orientation is also a variable in the UUO case. Hence, the solution of a KUO will perform better than that of a UUO. However, an accurate determination of the user orientation is not easy for VLP systems. Compared with the CRB ( x o ) for a UUO, the CCRB ( x o ) for a UUO is slighted reduced, confirming the result in (48). Hence, the constrained condition in (32) should be considered. As a result, the performance will also be slightly improved.

6.2. Performance Comparison with a Varying SNR

For the KUO and UUO cases, we also demonstrate the performance of the proposed solutions when the SNR varies.
Scenario 2: In this scenario, the performance of a KUO is examined with different solutions. M, the number of LEDs, is set to 30. Figure 3a shows the RMSE performance as the SNR is varied from −10 to 70. The trilateration-based method performs worst among these solutions, although it also does not require initialization. Based on the initial solution of stage-one WLS, the NLS method performs better due to its iterative refinements. However, the NLS performance still has a big gap regarding the CRB accuracy. Our proposed stage-two WLS solution performs well, especially at a large SNR. When the SNR is larger than 40, the performance of the stage-two WLS solution is close to the CRB accuracy.
In addition, the cumulative distributed function (CDF) of the positioning error was used to better assess the variability and reliability, and the results of these solutions are plotted in Figure 3b, where the SNR is kept at 30. It is shown that the 90% positioning error is less than 0.02 m for the stage-two WLS, 0.06 m for the NLS, 0.36 m for the stage-one WLS, 0.42 m for the LS, and 0.58 m for the trilateration method.
Scenario 3: The performance of a UUO is examined with our proposed solutions. Owing to more variables, the minimum number of LEDs needed for the UUO is increased compared with the KUO. Hence, the number of LEDs is set at 40 in this scenario. Figure 4a,b show the RMSE performance in the estimation of user position and orientation, respectively. Using the stage-one WLS solution as an initial guess, the GNM solution performs well. Unfortunately, its performance is still worse than that of the stage-two WLS solution. As is known, the SLLS-SPAO estimates the user position and orientation separately and does not consider the weighting matrix. Hence, the SLLS-SPAO provides a worse solution than our proposed stage-two WLS solution.

6.3. Performance with a Varying Number of LEDs

In this subsection, we also examine the performance of these solutions by varying M, the number of LEDs. Similarly, KUO and UUO cases are used to examine the performance.
Scenario 4: At an SNR from −10 to 20, our proposed solutions perform poorly. Hence, the SNR is set at 40 in this simulation. Figure 5 shows the RMSE performance in the estimation of the user position as M is varied from 15 to 60. As expected, the performance of these proposed solutions becomes better when the number of LEDs increases. Among the proposed solutions, the stage-two WLS solution performs best, and the performance comparison of these solutions is similar to the observations in Figure 3. When the number of LEDs is less than 30, the stage-one WLS solution has a big gap with the CRB accuracy. However, the performance becomes almost stable when the number of LEDs is larger than 30.
Scenario 5: Similar to the case of a KUO, the SNR is set to 40 for a UUO. Thus, the stage-one WLS solution can provide a reliable estimate and perform stably. The RMSE performance of user position and orientation estimation is shown in Figure 6a,b as the number of LEDs is increased from 25 to 70. As the number of LEDs increases, the performance of these solutions becomes better. The stage-one WLS provides a solution that does not require any initialization, although it performs poorly. The GNM and SLLS-SPAO perform well based on the initial solution of the stage-one WLS. However, they are still unable to provide a solution, the performance of which is sufficiently close to the CRB accuracy. In comparison, the performance of the stage-two WLS solution is closest to the CRB accuracy, which is consistent with the above observations.

6.4. Performance with a Varying Room Size

In the above simulations, the dimensions of the room were set at 9 m × 9 m. In this subsection, we examine the performance of these solutions with a varying room size. Similarly, we consider two different cases: a KUO and a UUO.
Scenario 6: The performance of the KUO case was investigated as the room size varies. The number of LEDs and the SNR are set at 30 and 40, respectively. Both the length and the width of room are varied from 10 m to 100 m, and the height of the LEDs is also randomly generated from (4, 5) m. The RMSE of the estimated user position is plotted in Figure 7. As shown in the figure, the RMSE performance degrades as the length of the room increases. The trilateration-based method performs worst among these solution due to its inaccurate ranging information, although it also does not require an initial guess for the solution. Compared with the stage-one WLS solution, our proposed stage-two WLS solution performs better by exploiting the constrained relationships among the variables.
Scenario 7: Similar to scenario 6, the room size was varied, and the performance of a UUO was examined. Both the number of LEDs and the SNR are set at 40. Figure 8 shows the RMSE of the user position as the length of the room was varied from 10 m to 100 m. As shown, the stage-two WLS solution still performs well even if the length of the room is increased to 100 m, and the RMSE of stage-two WLS solution is closest to the CRB accuracy among these solutions. The disadvantage of the GNM and SLLS-SPAO is that they require an initial guess. If the initial guess is not near the truth, the solutions may be trapped in local optima. In comparison, our proposed stage-one WLS can provide a solution that does not require initialization. In addition, the proposed stage-two WLS refines the estimates obtained from the stage-one WLS.

6.5. Performance with a Varying User Height

In the above simulations, the user height was kept at 1 m. As is known, the user height can be adjusted. In this subsection, we also examine the performance with a varying user height.
Scenario 8: We considered the KUO case, where the number of LEDs and the SNR are set at 30 and 40, respectively. The user position in the x-axis and y-axis direction is kept at (5, 5), and the user height is varied from 0.5 m to 5.0 m. Figure 9 illustrates the RMSE performance in the user position estimation as the user height increases. As shown in the figure, the RMSE is reduced with the increase in user height. When the user height is increased, the range between the user and LEDs becomes smaller. As a result, the measured RSS is accurate, and the performance improves. The height of the LEDs is also restricted to the range of (4, 5) m. Hence, the performance is stable when the user height is larger than 4.0 m. The gap between stage-two WLS solution and the CRB accuracy is the lowest among these solutions, indicating the advantage of stage-two WLS solution in the estimation of user position.

7. Conclusions and Future Works

Closed-form solutions are proposed to estimate the user position and orientation of IOT devices for the RSS-based VLP problem when the user orientation is assumed to be known or unknown. In the closed-form solutions, the user position and orientation are jointly estimated in two stages. The stage-two WLS solution refines the estimates obtained from the stage-one WLS. As a result, the performance becomes better by making use of the constrained relationships among the variables. When the SNR is larger than 40, the proposed closed-form solutions are able to accurately estimate the unknown parameters.
In the proposed problem, the user height is randomly generated from a specific range of rooms. In many situations, LEDs are always installed on the ceiling of a room, and the heights of all LEDs are the same. For this case, the unknown variables in the pseudo-linear form need to be redefined, and the dimensions of the variables can be further reduced. As a result, the required minimum number of LEDs is less than that of our VLP problem. In future work, the proposed closed-form solution will be further extended in new scenarios, such as LEDs with different orientations and users with known heights.

Author Contributions

Conceptualization, X.Z. and X.W.; methodology, X.W.; software, L.M.; validation, X.Z. and L.M.; formal analysis, X.W.; investigation, X.Z.; resources, X.Z.; data curation, L.M.; writing—original draft preparation, X.Z.; writing—review and editing, X.Z.; visualization, X.Z. and X.W.; supervision, X.W.; project administration, X.W.; funding acquisition, X.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by YunZhong University Foundation under Grant 2022MU079, Zhejiang Provincial Natural Science Foundation under Grant LY22F010016, and the Zhejiang Province Key Laboratory of Smart Management and Application of Modern Agricultural Resources under Grant 2020E10017.

Data Availability Statement

Data are contained within the article.

Acknowledgments

These research activities are currently supported by Zhejiang A&F University as well as Huzhou University. The authors of this manuscript would like to thank their colleagues from the above-mentioned institutions, who have greatly contributed to the success of this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Detailed Derivation for (16)

The definition of φ o gives x o = [ φ o ] 1 : 3 . Thus, we arrive at
x o [ φ ] 1 : 3 = [ Δ φ ] 1 : 3 .
From ρ o = [ φ o ] 4 : 9 , the definition of ρ o gives
[ φ ] j [ x o ] j [ φ ] j + 3 = [ x o ] j [ Δ φ ] j [ Δ φ ] j + 3 , j = 1 , 2 , 3 , [ φ ] k [ x o ] j + [ φ ] j [ x o ] k 2 [ φ ] j + 6 [ x o ] j [ Δ φ ] k + [ x o ] k [ Δ φ ] j 2 [ Δ φ ] j + 6 , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) .
Note that x o T x o = [ φ o ] 4 + [ φ o ] 5 + [ φ o ] 6 . Applying the definition of [ φ o ] 10 : 12 = x o T x o x o produces
( [ φ ] 4 + [ φ ] 5 + [ φ ] 6 ) [ x o ] j [ φ ] 9 + j = [ Δ φ ] 9 + j [ x o ] j ( [ Δ φ ] 4 + [ Δ φ ] 5 + [ Δ φ ] 6 ) , j = 1 , 2 , 3 .
Applying [ φ o ] 13 = [ φ o ] 10 : 12 T x o , we arrive at
[ φ ] 10 : 12 T x o [ φ ] 13 = x o T [ Δ φ ] 10 : 12 [ Δ φ ] 13 .
According to (A1)–(A4), the linear form with respect to x o is represented as (16), where G 2 and h 2 are defined by
[ G 2 ] 1 : 3 , 1 : 3 = I 3 , [ G 2 ] 3 + j , j = [ φ ] j , j = 1 , 2 , 3 , [ G 2 ] 6 + j , j = 0.5 [ φ ] k , [ G 2 ] 6 + j , k = 0.5 [ φ ] j , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) , [ G 2 ] j + 9 , j = [ φ ] 4 + [ φ ] 5 + [ φ ] 6 , j = 1 , 2 , 3 , [ G 2 ] 13 , 1 : 3 = [ φ ] 10 : 12 T , h 2 = φ .
In addition, B 2 is obtained by
[ B 2 ] 1 : 3 , 1 : 3 = I 3 , [ B 2 ] j + 3 , j = [ x o ] j [ φ ] j , [ B 2 ] j + 3 , j + 3 = 1 , j = 1 , 2 , 3 , [ B 2 ] 6 + j , j = 0.5 [ x o ] k 0.5 [ φ ] k , [ B 2 ] 6 + j , 6 + j = 1 , [ B 2 ] 6 + j , k = 0.5 [ x o ] j 0.5 [ φ ] j , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) , [ B 2 ] 9 + j , 4 : 6 = [ x o ] j 1 3 [ φ ] j 1 3 , [ B 2 ] 9 + j , 9 + j = 1 , j = 1 , 2 , 3 , [ B 2 ] 13 , 10 : 12 = x o T [ φ ] 1 : 3 , [ B 2 ] 13 , 13 = 1 ,
where the elements in x o are replaced by the estimated φ of the stage-one WLS solution.

Appendix B. Detailed Derivation of (29)

Since x o and u o are included in η o , we have
x o [ η ] 1 : 3 = [ Δ η ] 1 : 3 , u o [ η ] 4 : 6 = [ Δ η ] 4 : 6 .
The definition of ρ o is similar to (6). Hence, the refinement expression, derived from the definition of ρ o , is given by
[ η ] j [ x o ] j [ η ] j + 6 = [ x o ] j [ Δ η ] j [ Δ η ] j + 6 , j = 1 , 2 , 3 , [ η ] k [ x o ] j + [ η ] j [ x o ] k 2 [ η ] j + 9 = [ x o ] j [ Δ η ] k + [ x o ] k [ Δ η ] j 2 [ Δ η ] j + 9 , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) .
The definition of τ o gives
[ η ] 4 : 6 v T x o + v [ η ] 4 : 6 T x o [ η ] 13 : 15 = v T x o [ Δ η ] 4 : 6 + v x o T [ Δ η ] 4 : 6 [ Δ η ] 13 : 15 .
Similar to (18), applying the definition of the term x o T x o x o yields
( [ η ] 7 + [ η ] 8 + [ η ] 9 ) [ x o ] j [ η ] 15 + j = [ Δ η ] 15 + j + [ x o ] j ( [ Δ η ] 7 + [ Δ η ] 8 + [ Δ η ] 9 ) , j = 1 , 2 , 3 .
From [ η o ] 19 = [ η o ] 16 : 18 T x o , this produces
[ η ] 16 : 18 T x o [ η ] 19 = x o T [ Δ η ] 16 : 18 [ Δ η ] 19 .
The final term v T x o x o T u o in the defined vector gives
[ η ] 1 : 3 T [ η ] 4 : 6 v T x o [ η ] 20 = v T x o [ η ] 4 : 6 T [ Δ η ] 1 : 3 + v T x o [ η ] 1 : 3 T [ Δ η ] 4 : 6 [ Δ η ] 20 .
Let us define the intended unknown vector by
y o = [ x o T , u o T ] T .
Accordingly, the linear form with respect to x o , derived from (A7)–(A12), is
C 2 y o d 2 = β 2 ,
where β 2 = D 2 Δ η , C 2 and d 2 are given by
[ C 2 ] 1 : 6 , 1 : 6 = I 6 , [ C 2 ] 6 + j , j = [ η ] j , j = 1 , 2 , 3 , [ C 2 ] 9 + j , j = 0.5 [ η ] k , [ C 2 ] 9 + j , k = 0.5 [ η ] j , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) , [ C 2 ] 13 : 15 , 1 : 3 = [ η ] 4 : 6 v T + v [ η ] 4 : 6 T , [ C 2 ] 15 + j , j = [ η ] 7 + [ η ] 8 + [ η ] 9 , j = 1 , 2 , 3 , [ C 2 ] 19 , 1 : 3 = [ η ] 16 : 18 T , [ C 2 ] 20 , 1 : 3 = [ η ] 1 : 3 T [ η ] 4 : 6 v T , d 2 = η .
Moreover, D 2 is obtained by
[ D 2 ] 1 : 6 , 1 : 6 = I 6 , [ D 2 ] j + 6 , j = [ x o ] j [ η ] j , [ D 2 ] j + 6 , j + 6 = 1 , j = 1 , 2 , 3 , [ D 2 ] 9 + j , j = 0.5 [ x o ] k 0.5 [ η ] k , [ D 2 ] 9 + j , 9 + j = 1 , [ D 2 ] 9 + j , k = 0.5 [ x o ] j 0.5 [ η ] j , ( j , k ) = ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 1 ) , [ D 2 ] 13 : 15 , 4 : 6 v T [ η ] 1 : 3 I 3 + v [ η ] 1 : 3 T , [ D 2 ] 13 : 15 , 13 : 15 = I 3 , [ D 2 ] 15 + j , 7 : 9 [ η ] j 1 3 , [ D 2 ] 15 + j , 15 + j = 1 , j = 1 , 2 , 3 , [ D 2 ] 19 , 16 : 18 = x o T [ η ] 1 : 3 , [ D 2 ] 19 , 19 = 1 , [ D 2 ] 20 , 1 : 3 v T [ η ] 1 : 3 [ η ] 4 : 6 T , [ D 2 ] 20 , 4 : 6 = v T [ η ] 1 : 3 [ η ] 4 : 6 T , [ D 2 ] 20 , 20 = 1 ,
where x o and u o are approximated by the estimated values [ η ] 1 : 3 and [ η ] 4 : 6 .

Appendix C. Definitions of μi and γi

Inserting (33a) into (33b) results in
d 2 T W β 2 C 2 ( C 2 T W β 2 C 2 + λ P ) 1 P ( C 2 T W β 2 C 2 + λ P ) 1 C 2 T W β 2 d 2 = 1 .
Let ( C 2 T W β 2 C 2 ) 1 P = U Λ U 1 , where Λ is a diagonal matrix. The definition gives
( C 2 T W β 2 C 2 + λ P ) 1 = U ( I + λ Λ ) 1 U 1 ( C 2 T W β 2 C 2 ) 1 ,
Applying the definition of (A18) to (A17) yields
c T ( I + λ Λ ) 1 Λ ( I + λ Λ ) 1 f = 1 , c = d 2 T W β 2 C 2 U , f = U 1 ( C 2 T W β 2 C 2 ) 1 C 2 T W 2 d 2 .
From the definition of P , the front three eigenvalues of ( C 2 T W β 2 C 2 ) 1 P are equal to zero. Thus, we define μ i and γ i by
μ i = [ c ] i + 3 [ f ] i + 3 [ Λ ] i + 3 , i + 3 , γ i = [ Λ ] i + 3 , i + 3 , i = 1 , 2 , 3 .
As a result, (A20) can be simplified to (34).

References

  1. Ganti, D.; Zhang, W.; Kavehrad, M. VLC-based Indoor Positioning System with Tracking Capability Using Kalman and Particle Filters. In Proceedings of the 2014 IEEE International Conference on Consumer Electronics (ICCE), Las Vegas, NV, USA, 10–13 January 2014; pp. 476–477. [Google Scholar] [CrossRef]
  2. Zhang, C.; Zhang, X. Visible light localization using conventional light fixtures and smartphones. IEEE Trans. Mob. Comput. 2019, 18, 2968–2983. [Google Scholar] [CrossRef]
  3. Qi, H.; Wu, X.; Jia, L. Semidefinite programming for unified TDOA-based localization under unknown propagation speed. IEEE Commun. Lett. 2020, 24, 1971–1975. [Google Scholar] [CrossRef]
  4. Fang, X.; Xie, L.; Li, X. Distributed localization in dynamic networks via complex laplacian. Automatica 2023, 151, 110915. [Google Scholar] [CrossRef]
  5. Chen, P.; Zheng, X.; Gu, F.; Shang, J. Path distance-based map matching for Wi-Fi fingerprinting positioning. Future Gener. Comput. Syst. 2020, 107, 82–94. [Google Scholar] [CrossRef]
  6. Zhang, H.; Zhang, H.; Di, B.; Bian, K.; Han, Z.; Song, L. Metalocalization: Reconfigurable intelligent surface aided multi-user wireless indoor localization. IEEE Trans. Wirel. Commun. 2021, 20, 7743–7757. [Google Scholar] [CrossRef]
  7. Wu, X.; Mao, X.; Qi, H. Semidefinite Relaxation for Moving Target Localization in Asynchronous MIMO Systems. IEEE Trans. Commun. 2023. [Google Scholar] [CrossRef]
  8. Choi, J.; Kim, J.; Kim, N.S. Robust time-delay estimation for acoustic indoor localization in reverberant environments. IEEE Signal Process. Lett. 2017, 24, 226–230. [Google Scholar] [CrossRef]
  9. Jagadeesan, N.A.; Krishnamachari, B. Distributionally robust radio frequency localization. IEEE Trans. Signal Inf. Process. Netw. 2019, 5, 390–403. [Google Scholar] [CrossRef]
  10. Zhuang, Y.; Hua, L.; Wang, Q.; Cao, Y.; Gao, Z.; Qi, L.; Yang, J.; Thompson, J. Visible light positioning and navigation using noise measurement and mitigation. IEEE Trans. Veh. Technol. 2019, 68, 11094–11106. [Google Scholar] [CrossRef]
  11. Keskin, M.F.; Sezer, A.D.; Gezici, S. Optimal and robust power allocation for visible light positioning systems under illumination constraints. IEEE Trans. Commun. 2019, 67, 527–542. [Google Scholar] [CrossRef]
  12. Wang, Y.; Chen, M.; Yang, Z.; Luo, T.; Saad, W. Deep learning for optimal deployment of UAVs with visible light communications. IEEE Trans. Wirel. Commun. 2020, 19, 7049–7063. [Google Scholar] [CrossRef]
  13. Fang, X.; Li, X.; Xie, L. Angle-displacement rigidity theory with application to distributed network localization. IEEE Trans. Autom. Control 2021, 66, 2574–2587. [Google Scholar] [CrossRef]
  14. Menendez, J.M.; Steendam, H. Influence of the aperture-based receiver orientation on RSS-based VLP performance. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–7. [Google Scholar]
  15. Kazikli, E.; Gezici, S. Hybrid TDOA/RSS based localization for visible lightsystems. Digit. Signal Process. 2019, 86, 19–28. [Google Scholar] [CrossRef]
  16. Bai, L.; Yang, Y.; Guo, C.; Xu, X.; Feng, C. Camera assisted received signal strength ratio algorithm for indoor visible light positioning. IEEE Commun. Lett. 2019, 23, 2022–2025. [Google Scholar] [CrossRef]
  17. Bakar, A.H.A.; Glass, T.; Tee, H.Y.; Alam, F.; Legg, M. Accurate visible light positioning using multiple photodiode receiver and machine learning. IEEE Trans. Instrum. Meas. 2020, 70, 1–12. [Google Scholar] [CrossRef]
  18. Li, Z.; Qiu, G.; Zhao, L.; Jiang, M. Dual-mode LED aided visible light positioning system under multi-path propagation: Design and demonstration. IEEE Trans. Wirel. Commun. 2021, 20, 5986–6003. [Google Scholar] [CrossRef]
  19. Zhang, W.; Chowdhury, M.I.S.; Kavehrad, M. Asynchronous indoor positioning system based on visible light communications. Opt. Eng. 2014, 53, 1–9. [Google Scholar] [CrossRef]
  20. Zhou, B.; Liu, A.; Lau, V. Joint user location and orientation estimation for visible light communication systems with unknown power emission. IEEE Trans. Wirel. Commun. 2019, 18, 5181–5195. [Google Scholar] [CrossRef]
  21. Shen, S.; Li, S.; Steendam, H. Simultaneous position and orientation estimation for visible lightsystems with multiple LEDs and multiple PDs. IEEE J. Sel. Areas Commun. 2020, 38, 1866–1879. [Google Scholar] [CrossRef]
  22. Liu, X.; Guo, L.; Yang, H.; Wei, X. Visible light positioning based on collaborative LEDs and edge computing. IEEE Trans. Comput. Soc. Syst. 2022, 9, 324–335. [Google Scholar] [CrossRef]
  23. Fang, X.; Xie, L.; Li, X. 3-D distributed localization with mixed local relative measurements. IEEE Trans. Signal Process. 2020, 68, 5869–5881. [Google Scholar] [CrossRef]
  24. Wu, X.; Qi, H. Motion parameter estimation for mobile sources using semidefinite programming. IEEE Trans. Mob. Comput. 2023, 22, 1066–1080. [Google Scholar] [CrossRef]
  25. Shawky, S.; El-Shimy, M.A.; El-Sahn, Z.A.; Rizk, M.R.M.; Aly, M.H. Improved VLC-based indoor positioning system using a regression approach with conventional RSS techniques. In Proceedings of the 13th International Wireless Communication and Mobile Computing, Valencia, Spain, 26–30 June 2017; pp. 904–909. [Google Scholar] [CrossRef]
  26. Liu, X.; Wei, X.; Guo, L. DIMLOC: Enabling high-precision visible light localization under dimmable LEDs in smart buildings. IEEE Internet Things J. 2019, 6, 3912–3924. [Google Scholar] [CrossRef]
  27. Yang, H.; Zhong, W.D.; Chen, C.; Alphones, A.; Du, P. QoS-driven optimized design-based integrated visible light communication and positioning for indoor IoT networks. IEEE Internet Things J. 2020, 7, 269–283. [Google Scholar] [CrossRef]
  28. Li, Y.; Yang, P.; Renzo, M.D.; Xiao, Y.; Xiao, M.; Xiang, W. Precoded optical spatial modulation for indoor visible light communications. IEEE Trans. Commun. 2021, 69, 2518–2531. [Google Scholar] [CrossRef]
  29. Wu, X.; Li, Y.; Shen, Y.; Zhu, X. Efficient solutions for target localization in asynchronous MIMO networks. J. Netw. Comput. Appl. 2022, 205, 103441. [Google Scholar] [CrossRef]
  30. Wang, T.Q.; Sekercioglu, Y.A.; Neild, A.; Armstrong, J. Position accuracy of time-of-arrival based ranging using visible light with application in indoor localization systems. J. Light. Technol. 2013, 31, 3302–3308. [Google Scholar] [CrossRef]
  31. Noroozi, A.; Sebt, M.A.; Hosseini, S.M.; Amiri, R.; Nayebi, M.M. Closed-Form solution for elliptic localization in distributed MIMO radar systems with minimum number of sensors. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 3123–3133. [Google Scholar] [CrossRef]
  32. Sahin, A.; Eroglu, Y.S.; Güvenç, I.; Pala, N.; Yuksel, M. Accuracy of AOA-based and RSS-based 3D localization for visible light communications. In Proceedings of the 82nd IEEE Vehicular Technology Conference Fall 2015, Boston, MA, USA, 6–9 September 2015; pp. 1–5. [Google Scholar]
  33. Majeed, K.; Hranilovic, S. Passive indoor visible light positioning system using deep learning. IEEE Internet Things J. 2021, 8, 14810–14821. [Google Scholar] [CrossRef]
  34. Herrnsdorf, J.; Dawson, M.D.; Strain, M.J. Positioning and data broadcasting using illumination pattern sequences displayed by LED arrays. IEEE Trans. Commun. 2018, 66, 2582–5592. [Google Scholar] [CrossRef]
  35. Bastiaens, S.; Goudos, S.K.; Joseph, W.; Plets, D. Metaheuristic optimization of LED locations for visible light positioning network planning. IEEE Trans. Broadcast. 2021, 67, 894–908. [Google Scholar] [CrossRef]
  36. Chen, F.; Huang, N.; Gong, C. RSS-based visible light positioning with unknown receiver tilting angle: Robust design and experimental demonstration. Opt. Express 2022, 30, 39775–39793. [Google Scholar] [CrossRef]
  37. Sharifi, H.; Kumar, A.; Alam, F.; Arif, K.M. Indoor localization of mobile robot with visible light communication. In Proceedings of the 2016 12th IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications (MESA), Auckland, New Zealand, 29–31 August 2016. [Google Scholar]
  38. Le, T.; Ono, N. Closed-form and near closed-form solutions for TOA-based joint source and sensor localization. IEEE Trans. Signal Process. 2016, 64, 4751–4766. [Google Scholar] [CrossRef]
  39. Shao, H.; Zhang, X.; Wang, Z. Efficient closed-form algorithms for AOA based self-localization of sensor nodes using auxiliary variables. IEEE Trans. Signal Process. 2014, 62, 2580–2594. [Google Scholar] [CrossRef]
  40. Zhao, S.; Zhang, X.P.; Cui, X.; Lu, M. A closed-form localizationmethod utilizing pseudorange measurements from two nonsynchronized positioning systems. IEEE Internet Things J. 2021, 8, 1082–1094. [Google Scholar] [CrossRef]
  41. Wu, X.; Liu, Y.; Zhu, X.; Mo, L. Efficient solutions for MIMO radar localization under unknown transmitter positions and offsets. IEEE Trans. Wirel. Commun. 2022, 21, 505–518. [Google Scholar] [CrossRef]
  42. Wang, Y.; Ho, K.C. An asymptotically efficient estimator in closed-form for 3-D AOA localization using a sensor network. IEEE Trans. Wirel. Commun. 2015, 14, 6524–6535. [Google Scholar] [CrossRef]
  43. Nguyen, N.H.; Dogancay, K. Closed-form algebraic solutions for 3-D Doppler-only source localization. IEEE Trans. Wirel. Commun. 2018, 17, 6822–6836. [Google Scholar] [CrossRef]
  44. Wu, X.; Qi, H.; Xiong, N. Rank-one semidefinite programming solutions for mobile source localization in sensor networks. IEEE Trans. Netw. Sci. Eng. 2021, 8, 638–650. [Google Scholar] [CrossRef]
  45. Wang, W.; Wang, G.; Zhang, J.; Li, Y. Robust weighted least squares method for TOA-based localization under mixed LOS/NLOS conditions. IEEE Commun. Lett. 2017, 21, 2226–2229. [Google Scholar] [CrossRef]
  46. Amiri, R.; Behnia, F. An efficient weighted least squares estimator for elliptic localization in distributed MIMO radars. IEEE Signal Process. Lett. 2017, 24, 902–906. [Google Scholar] [CrossRef]
  47. Zhou, Z.; Kavehrad, M.; Deng, P. Indoor positioning algorithm using light-emitting diode visible light communications. Opt. Eng. 2012, 51, 5009. [Google Scholar] [CrossRef]
  48. Zhou, B.; Lau, V.; Chen, Q.; Cao, Y. Simultaneous positioning and orientating (SPAO) for visible light communications: Algorithm design and performance analysis. IEEE Trans. Veh. Technol. 2018, 67, 11790–11804. [Google Scholar] [CrossRef]
  49. Wu, C.; Yi, X.; Wang, W.; You, L.; Huang, Q.; Gao, X.; Liu, Q. Learning to Localize: A 3D CNN Approach to User Positioning in Massive MIMO-OFDM Systems. IEEE Trans. Wirel. Commun. 2020, 20, 4556–4570. [Google Scholar] [CrossRef]
  50. Bai, L.; Yang, Y.; Zhang, Z.; Feng, C.; Guo, C.; Cheng, J. A high-coverage camera assisted received signal strength ratio algorithm for indoor visible light positioning. IEEE Trans. Wirel. Commun. 2021, 20, 5703–5743. [Google Scholar] [CrossRef]
  51. Zhang, X.; Duan, J.; Fu, Y.; Shi, A. Theoretical accuracy analysis of indoor visible light communication positioning system based on received signal strength indicator. J. Light. Technol. 2014, 32, 4180–4186. [Google Scholar] [CrossRef]
  52. Stoica, P.; Ng, B.C. On the cramér-rao bound under parametric constraints. IEEE Signal Process. Lett. 1998, 5, 177–179. [Google Scholar] [CrossRef]
  53. Arora, S.; Barak, B. Computational Complexity: A Modern Approach; Cambridge University Press: Cambridge, UK, 2009. [Google Scholar]
  54. Wang, K.; Liu, Y.; Hong, Z. RSS-based visible light positioning based on channel state information. Opt. Express 2022, 30, 5683–5699. [Google Scholar] [CrossRef]
Figure 1. VLP in an indoor environment.
Figure 1. VLP in an indoor environment.
Electronics 13 00614 g001
Figure 2. CRB comparison for user position and orientation estimations in scenario 1 as the SNR varies, M = 30 .
Figure 2. CRB comparison for user position and orientation estimations in scenario 1 as the SNR varies, M = 30 .
Electronics 13 00614 g002
Figure 3. Performance comparison in scenario 2, M = 30 . (a) RMSE comparison for user position estimation as SNR varies. (b) CDF of positioning error, SNR = 30.
Figure 3. Performance comparison in scenario 2, M = 30 . (a) RMSE comparison for user position estimation as SNR varies. (b) CDF of positioning error, SNR = 30.
Electronics 13 00614 g003
Figure 4. RMSE comparison in scenario 3 as SNR varies, M = 40 .
Figure 4. RMSE comparison in scenario 3 as SNR varies, M = 40 .
Electronics 13 00614 g004
Figure 5. RMSE comparison for user position estimation in scenario 4 as M varies, SNR = 40.
Figure 5. RMSE comparison for user position estimation in scenario 4 as M varies, SNR = 40.
Electronics 13 00614 g005
Figure 6. RMSE comparison in scenario 5 as M varies, SNR = 40.
Figure 6. RMSE comparison in scenario 5 as M varies, SNR = 40.
Electronics 13 00614 g006
Figure 7. RMSE comparison for user position estimation in scenario 6 as room size varies, M = 30 , SNR = 40.
Figure 7. RMSE comparison for user position estimation in scenario 6 as room size varies, M = 30 , SNR = 40.
Electronics 13 00614 g007
Figure 8. RMSE comparison for user position estimation in scenario 7 as room size varies, M = 40 , SNR = 40.
Figure 8. RMSE comparison for user position estimation in scenario 7 as room size varies, M = 40 , SNR = 40.
Electronics 13 00614 g008
Figure 9. RMSE comparison for user position estimation in scenario 8 as user height varies, M = 30 , SNR = 40.
Figure 9. RMSE comparison for user position estimation in scenario 8 as user height varies, M = 30 , SNR = 40.
Electronics 13 00614 g009
Table 1. Parameters in computing the complexity of closed-form solutions.
Table 1. Parameters in computing the complexity of closed-form solutions.
Solutionmn
WLS for KUO in (12)M13
WLS for UUO in (25)M20
Table 2. Intention of simulations in eight scenarios.
Table 2. Intention of simulations in eight scenarios.
ScenarioVaried ParameterExamined Performance
1SNRCRB for KUO and UUO
2SNRRMSE of different solutions for the KUO case
3SNRRMSE of different solutions for the UUO case
4number of LEDsRMSE of different solutions for the KUO case
5number of LEDsRMSE of different solutions for the UUO case
6room sizeRMSE of different solutions for the KUO case
7room sizeRMSE of different solutions for the UUO case
8user heightRMSE of different solutions for the KUO case
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhu, X.; Mo, L.; Wu, X. Efficient Closed-Form Solutions for Visible Light Positioning in Low-Cost IoT Devices. Electronics 2024, 13, 614. https://doi.org/10.3390/electronics13030614

AMA Style

Zhu X, Mo L, Wu X. Efficient Closed-Form Solutions for Visible Light Positioning in Low-Cost IoT Devices. Electronics. 2024; 13(3):614. https://doi.org/10.3390/electronics13030614

Chicago/Turabian Style

Zhu, Xuefen, Lufeng Mo, and Xiaoping Wu. 2024. "Efficient Closed-Form Solutions for Visible Light Positioning in Low-Cost IoT Devices" Electronics 13, no. 3: 614. https://doi.org/10.3390/electronics13030614

APA Style

Zhu, X., Mo, L., & Wu, X. (2024). Efficient Closed-Form Solutions for Visible Light Positioning in Low-Cost IoT Devices. Electronics, 13(3), 614. https://doi.org/10.3390/electronics13030614

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop