Next Article in Journal
Wavelet Analysis of Respiratory Muscle sEMG Signals during the Physiological Breakpoint of Static Dry End-Expiratory Breath-Holding in Naive Apneists: A Pilot Study
Next Article in Special Issue
Design of Acoustic Signal for Positioning of Smart Devices
Previous Article in Journal
Obstacle Detection in Infrared Navigation for Blind People and Mobile Robots
Previous Article in Special Issue
Indoor Visible Light Positioning System Based on Point Classification Using Artificial Intelligence Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Indoor Positioning System Based on Visible Light Communication and Bluetooth RSS Trilateration

Information Technology Department, College of Computer and Information Science, King Saud University, Riyadh 145111, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(16), 7199; https://doi.org/10.3390/s23167199
Submission received: 30 May 2023 / Revised: 15 July 2023 / Accepted: 17 July 2023 / Published: 16 August 2023
(This article belongs to the Special Issue Sensors and Techniques for Indoor Positioning and Localization)

Abstract

:
Indoor positioning has become an attractive research topic because of the drawbacks of the global navigation satellite system (GNSS), which cannot detect accurate locations within indoor areas. Radio-based positioning technologies are one major category of indoor positioning systems. Another major category consists of visible light communication-based solutions, as they have become a revolutionary technology for indoor positioning in recent years. The proposed study intends to make use of both technologies by creating a hybrid indoor positioning system that uses VLC and Bluetooth together. The system first collects the initial location information based on VLC proximity, then collects the strongest Bluetooth signals to determine the receiver’s location using Bluetooth RSS (received signal strength) trilateration. This has been inspired by the fact that there have not been any studies that make use of both technologies with the same positioning algorithm, which can lead to pretty high accuracy of up to 0.03 m.

1. Introduction

Localization is a very important asset for many individuals and organizations in today’s world, with numerous location-based applications for both outdoor and indoor communications being put into use. As a result of the diverse coverage and accuracy of these positioning systems, outdoor technology often relies on the Global Positioning System (GPS) or Global Navigation Satellite Systems (GNSS). However, due to the difficulty of the GPS and GNSS-born signals in penetrating walls and ceilings, they are not very reliable for indoor localization. Therefore, indoor localization systems are in development, which consist of a navigation system and tasks involving positioning, planning a feasible route, and guiding users through an indoor route to their desired destination. Indoor localization systems are classified into three categories based on their technology: computer vision-based systems, pedestrian dead reckoning systems (PDR), and communication-based technologies, which include the most commonly used indoor localization systems that exist today [1]. Examples include Wi-Fi, Bluetooth, radio-frequency identification (RFID), visible light communication, and ultra-wideband. These technologies are used for a lot of purposes, such as locating assets within a building or assisting visually impaired individuals [2]. Radio frequency-based technologies are popular for indoor localization but face some challenges when employed, such as high power consumption, security concerns, and low throughput [3].
Furthermore, positioning systems that utilize light sources have gained traction due to the great advantages they offer, such as high bandwidth, high security, low power consumption, a long lifetime, the ability to cover RF-restricted areas, and low cost [2]. These advantages have created the chance for visible light communication (VLC) to be a critical technology for use in indoor positioning systems [2]. VLC systems have seen reasonable advancements, such as the light fidelity (Li-Fi) technology, a VLC technology that fundamentally uses light-emitting diode (LED) bulbs for illumination and data transmission [4]. As mentioned, visible light-based systems offer great potential but still have some limitations, such as covering a relatively small area for each LED, light signal interference affecting signal strength, and connectivity loss due to obstructions [5]. Therefore, some research suggests combining VLC with radio-frequency-based technologies to overcome the drawbacks of using either of these technologies alone [4].
Different indoor positioning technologies use different positioning techniques based on their study goals and requirements. These techniques vary between range-based approaches, range-free approaches, and fingerprinting [6]. Each of these techniques calculates the location of the receiver differently. Range-based approaches provide high accuracy and utilize the geometric properties of triangles to calculate the location; these calculations can be conducted either through trilateration or triangulation [6]. In the trilateration technique, the distance is calculated through either received signal strength (RSS), time of arrival (TOA), or time difference of arrival (TDOA). A range-free approach, such as proximity, provides estimated location information [1]. Lastly, the fingerprinting approach compares the characteristics of the received signal with the previously collected fingerprint map of space, which requires complex computation [6].
As mentioned earlier, localization techniques such as GPS and GNSS are not able to detect locations within a building, which has created a gap that has since been filled with research on many technologies that aim for indoor localization [7]. However, accurate indoor localization is still a work in progress, especially with the rise of VLC in recent years as a new indoor localization technology that has proven to be a cheap and accurate localization method. A lot of research has been dedicated to this new technology, and many studies have explored different methodologies for using VLC [6]. However, after conducting the literature review, it was found that using VLC systems in collaboration with radio-frequency-based systems is a new and interesting area within indoor positioning that needs to be further exploited [2]. One proposed model suggests using a VLC system with Bluetooth [8]. The proposed model used VLC fingerprinting with a Bluetooth spring model; the system achieved high accuracy, but the fingerprinting technique needs high complexity to collect all the illumination information from the LEDs in the database, which can cause positioning delays. In addition, there is the potential challenge of the RSS information of LEDs being affected by reflection, diffraction, or overlapping in illumination [4]. The research concludes that using VLC localization based on proximity can achieve accurate positioning because the light signals are isolated within the room area, which means signals cannot be picked up through walls, unlike RF signals, which initially give accurate results because of the limited receivable area of LEDs. Meaning that a set LED with a known position and known identifier can only cover a small area; therefore, collecting the information of the location of the receiver in proximity to this LED gives an error margin within the coverage area of the LED [9]. Whereas using VLC localization based on RSS information from the light signal can be affected by problems mentioned earlier, such as reflection. Therefore, using the RSS information of an RF-based system such as Bluetooth can help collect the necessary RSS information for the system to calculate the receiver’s location. This is the main motivation behind this research, in which we propose the question: “Does using a hybrid of VLC proximity and Bluetooth using RSS-based trilateration produce accurate results for indoor positioning?” Our aim is that our paper will be a step closer to exploring the area of hybrid indoor positioning systems.
The aim of this paper is to discuss various approaches to Indoor positioning technologies and to propose a hybrid indoor positioning system that utilizes VLC with Bluetooth to locate a receiver via trilateration. This research aims to bridge a gap within indoor positioning systems by introducing a novel system that uses a hybrid of proximity-based VLC and Bluetooth RSS trilateration to localize the receiver. To achieve this goal, there are multiple objectives that need to be met, which are:
  • To investigate relevant studies that utilize hybrid technology for indoor localization;
  • To develop a novel system that uses a hybrid of a proximity-based VLC positioning system and a Bluetooth positioning system that uses RSS-based trilateration for localization;
  • To conduct an experiment to test and evaluate the accuracy of the system.
The remainder of this paper is structured as follows: Section 2 presents a background on light fidelity (Li-Fi) technology, including its architecture and modulation techniques. In Section 3, the literature review focuses on previous studies carried out using indoor localization technologies such as Wi-Fi localization, radio-frequency identification, Bluetooth, and VLC systems. Section 4 presents the proposed methodology, followed by details of the experiment and a discussion of the results in Section 5 and Section 6. In Section 7, an evaluation of the hybrid method is presented. Finally, Section 8 presents the conclusion and directions for future work.

2. Light Fidelity

Li-Fi was introduced by professor Harald Haas in 2011 as a wireless communication technology that utilizes visible light instead of radio frequencies for high-speed data communication [10]. Radio frequencies have a smaller range of up to 300 GHz compared to the optical frequency range, which starts at 300 GHz and goes up to 30 Peta Hertz, including infrared, visible, and ultraviolet bands [11]. Li-Fi can overcome the bandwidth limitations of technologies that use radio frequencies, such as Bluetooth and Wi-Fi. However, Li-Fi should be considered a complimentary solution, not just a replacement, for these technologies.

2.1. Li-Fi Architecture

The main components of a Li-Fi system are a transmitter (light source) of a light-emitting diode (LED) bulb and a receiver, usually a photodiode or a dongle, for bi-directional data communication.

2.1.1. Transmitter (LED)

The LED bulb is a semiconductor device that emits light when an electric current passes through it. In Li-Fi, the LED works as a data transmission medium [12]. Each LED serves as an access point or optical base since it is driven by a Li-Fi modem or chip. The flickering of the light source acts as a binary signal that is picked up by the receiver and translated into data [10].

2.1.2. Receiver

The receiver is usually a photodiode, a dongle, or a camera used to receive the light signal from the transmitter. The received signal is converted into binary using a signal demodulator. The demodulated signal is then used by the localization algorithm to determine the location [3].

2.2. Li-Fi Modulation Techniques

The common modulation techniques used for Li-Fi systems can be classified into two categories: single carrier and multiple carrier modulation. Single carrier modulation techniques such as on–off keying (OOK) and pulse position modulation (PPM) are the most common and are easier to apply in low-speed and low-complexity data transfer applications, such as localization systems [5]. Such modulation techniques usually work by the LED light being rapidly modulated, so that with human-level processing, it is not possible to detect the change in the state of the light [13]. OOK is a well-known and simple modulation scheme, and it offers a nice trade-off between system performance and implementation complexity [14]. In OOK modulation, a bit “1” is represented by an optical pulse, while a bit “0” is represented by the absence of an optical pulse. OOK can also work by varying the intensity, less than and greater than the standard intensity, as a transmission technique for bits “0” and “1”. Using this as a form of modulation appears effective in Li-Fi as it reduces the time for a status change between light intensities compared to switching the LED on and off [13].

3. Literature Review

This section focuses on discussing previous studies on communication-based indoor localization technologies. First, studies about indoor localization technologies are presented. Studies of radio frequency-based indoor positioning are presented as follows: Wi-Fi localization is discussed, followed by studies about radio-frequency identification and Bluetooth positioning. Studies about Visible Light Communication systems using different position estimation techniques are then discussed. This is followed by studies that use hybrid RF technologies with VLC. Lastly, a discussion and comparison of the technologies are presented.

3.1. Radio Frequency-Based Indoor Positioning Systems

Wi-Fi is one of the most commonly used technologies for indoor localization, with many studies combining it with received signal strength-based techniques or fingerprinting. In [1], Kunhoth considered a Wi-Fi-based indoor navigation system. It was introduced because of the fluctuations in RSS, which caused positioning accuracy issues. A fingerprint spatial gradient (FSG) was introduced to overcome this problem. Kunhoth also noted that in the last 10 years, many machine learning algorithms, such as the support vector machine (SVM), k-nearest neighbor (KNN), and neural networks, have been used for pattern matching in radio fingerprint-based indoor localization methods [1]. Radio-frequency identification (RFID) technology is a popular technology for indoor localization and can be integrated into hybrid indoor positioning systems. Bouet et al. [15] explored RFID as one of the communication-oriented technologies for indoor localization. An RFID tag and RFID reader are needed for an RFID system to work. While there are both passive and active RFID tags, RFID deployed indoors can use passive tags, as an external source of power is not needed. For RFID to estimate the position in indoor positioning, it invokes range-based approaches such as AOA, RSS, TOA, and TDOA. Unlike other methods, RSS delivers an estimation of the position of the user even in non-line-of-sight contexts. Range-based location estimation is needed with RFID to correctly identify a particular object within an indoor positioning system [15]. Bluetooth technology has been a revolution within indoor localization methods, and a lot of research has been dedicated to this technology. In his survey, Kunhoth [1] reported that Bluetooth low-energy beacons function as radio frequency signal sources to help generate user positions and have similar accuracy to Wi-Fi-based systems.

3.2. VLC for Indoor Positioning

Recently, Visible Light Communication (VLC) has become a critical technology for navigating in physical spaces as well as for identifying objects in physically confined spaces in individual and industrial-scale applications, offering accurate indoor positioning with a relatively simple system configuration. Here, we considered studies that worked with modified and unmodified light sources to compare the advantages and disadvantages of each.
In [16], Zhang et al. proposed a VLC indoor localization system that takes into consideration sunlight exposure and uses an RSS-based triangulation method. The transmitters are modified LEDs that do not require synchronization, which means there are no connections needed between the transmitters. Therefore, the system is easy and cheap to deploy in indoor environments. However, because the system has multiple transmitters and one receiver, there is a channel multi-access problem that needs to be solved by using an asynchronous channel multiplexing method called basic framed slotted ALOHA (BFSA) to detect the light source. The system showed promising results, with a precision of 95% within 17.25 cm with direct sunlight exposure and a precision of 95% within 11.2 cm with indirect sunlight exposure.
A visible light localization system is presented by Li et al. in [17]. The system has two parts: an LED bulb and a receiving device, such as a smartphone. These parts consist of functional modules that work to achieve three key technical components: light beaconing, distance estimation, and localization. The light beaconing component works by using modified LED bulbs to broadcast the location to the receiver. The LED uses a binary frequency shift keying (BFSK) modulation module to encode the messages that are later demodulated at the receiver side. Meanwhile, the distance estimation component on the receiver side decodes the information embedded in the light beacons from multiple light sources and measures their RSS. The localization component locates the receiver using trilateration or multilateration, depending on the number of perceived light sources. This paper proves the great potential of using visual light for high-accuracy indoor localization.
Gu et al. [18] presented an indoor localization system using VLC where LEDs are employed as transmitters and photodiodes are used as receivers that obtain the RSS information from the transmitters based on a trilateration technique. The proposed system design consists of a room with at least four modified LED bulbs installed in a square shape on the ceiling and a receiver that is installed on a mobile device. On–off keying (OOK) is used to modulate the LEDs. The receiver obtains information from all four LED transmitters, which creates a channel multiaccess problem that is addressed by using an asynchronous protocol called a basic framed slotted ALOHA (BFSA) as a channel access method that enables asynchronous transmissions. After the signals are received, an RSS-based trilateration algorithm is applied to detect the receiver’s location. Then, to realize real-time tracking of the receiver, two filters are applied to the system: a Kalman filter and a sequential importance resampling (SIR) filter. Both improve localization accuracy.
A visible light localization system that uses unmodified light sources is proposed in [19] by Zhao et al. The system, “NaviLight”, uses existing lighting sources as transmitters and treats light intensity as the fingerprint, or “LightPrint”, of the light sources that are used to detect the user’s location. The system is inspired by Wi-Fi-based indoor localization systems, which use the Received Signal Strength Indicator (RSSI) fingerprint to detect the user’s location. However, using light intensity as a fingerprint is more challenging with a VLC system since light intensity is more coarse-grained and ambiguous over space compared to electronic signal strength. Additionally, there is no communication between the source and the receiver, unlike in Wi-Fi systems. Therefore, NaviLight uses a vector of multiple light intensity values in combination with the user’s walk or movement to determine location. Because this system utilizes existing lighting infrastructure, it is considered easy to deploy, low-cost, and of high accuracy. It is adaptive and compatible with various indoor environments. However, light intensity information can be insufficient because the light intensity of one location might be similar to another location, and matching the LightPrints to pre-trained data to find the position can be computationally expensive.
Lastly, in [20], Kuo et al. introduced a positioning method using LED lights and smartphones called “Luxapose”. In this method, the LEDs have been modified to emit optical pulses that contain unique location information that cannot be seen by the human eye. An unmodified smartphone camera captures images that detect the presence of the light source, decode the identifiers and positions, and estimate the smartphone’s position and direction relative to the LED lamp. The experimental results demonstrated that this method is capable of achieving localization errors on the decimeter level and a 3° orientation error when walking under overhead LED lights.

3.3. Hybrid Radio Frequency-Based Positioning with VLC

Hybrid positioning systems, as their name suggests, aim to combine two or more systems in order to improve the performance that each system provides alone [21]. As each system has its drawbacks, combining two or more technologies into a hybrid system could achieve promising results in indoor positioning. However, systems that propose using a hybrid of RF technologies with VLC have been understudied. The existing VLC hybrid positioning systems are coupled with vision-based or pedestrian dead reckoning systems [2]. Therefore, there is still room to explore and propose solutions to the shortcomings of the existing systems. For example, a solution for the labor-intensive approach of using Wi-Fi fingerprinting by leveraging the already existing Li-Fi infrastructure was proposed by Huang et al. in [22]. The theoretical system works by deriving the location of the receiver based on the Li-Fi signal identifier and then obtaining the distance between a Wi-Fi access point and the identified Li-Fi lamp using coefficient calibration with the RSSI values of Wi-Fi access points. However, this model has not yet been applied to obtain real-world results, although it shows promise as a solution for the complexity of the fingerprinting approach. Luo et al. [8] proposed an effective and low-cost way to deploy indoor positioning using Bluetooth with VLC. The visible light positioning system estimates the initial position information using fingerprinting, then uses a spring model to correct any positioning errors. There are two types of nodes in the spring model: Mobile devices (MD) and anchor points (AP). These nodes form a Bluetooth network of devices that can communicate with each other, where any unknown node (MD) broadcasts its position to a neighboring MD and known nodes (APs), resulting in the MDs and APs being able to obtain the distance between any pair of MDs and APs. Combining VLC and Bluetooth communication generates a hybrid positioning system that offers better trade-offs than using each of these technologies independently. Lastly, in [9], Ziyan Jia proposed a hybrid positioning system between VLC and a wireless sensor network. The system determines the initial position of the receiver using a LiFi-based proximity method, then uses the RSS of the RF signals from the WSN nodes to determine the specific position in the initial area. Minimum mean square error (MMSE) and maximum likelihood (ML) are used to calculate the accuracy of the RSS estimation. This system was able to keep the position estimation error within 20 cm.

3.4. Discussion

Indoor localization technology is a major research topic in many areas and has a variety of different types of applications. Many solutions have been proposed involving indoor localization, including visual impairment aids and navigation, wayfinding systems for indoor areas such as shopping malls, museums, and airports, and indoor positioning for assets in companies and warehouses [1]. However, Rahman et al. [3] identified high power consumption, security concerns, and low throughput as the major challenges of radio frequency-based indoor localization technologies. A comparison with VLC-based systems is presented in Table 1.
RFID and Bluetooth, as indoor positioning techniques, both have low power consumption. However, Bluetooth has a limited coverage range, while RFID’s constraints are the need for an RFID reader, the high response time, and limitations in user ability. Wi-Fi has a high level of power consumption and deployment costs for building databases when fingerprinting is used. VLC-based positioning systems have several advantages. They can be installed inexpensively since they utilize existing lighting systems with very few modifications required. Consequently, implementing VLC increases the chances of identifying objects in physical spaces.
Moreover, after reviewing the research on indoor localization using VLC, it is clear that VLC systems perform better with modified light sources since working with unmodified LEDs requires expensive computation [19]. Pairing a VLC system with a radio-based technology such as Bluetooth achieves higher accuracy than VLC alone (as shown in Table 1) [8]. This was supported by Luo et al. in [4], where they note that integrating VLC systems with wireless technologies such as Wi-Fi or Bluetooth can create a hybrid system that has the advantages of both technologies. Furthermore, position estimation techniques varied from study to study depending on the study goals; some presented certain challenges. For example, using fingerprinting as a positioning technique with light can be complex because of the similarity of light intensity levels between light sources as well as the computational complexity of matching a light intensity to a light map [19]. Computational complexity is a general setback of the fingerprinting technique in almost any system [4]. On the other hand, proximity is the simplest and fastest positioning technique, and it works best if the system needs a rough location, which is helpful in the case of VLC systems because of the limited receivable area of LEDs. When an LED is set in a location, the possible position area of the receiver will be small, creating a relatively accurate position decision for the receiver [2,18]. Triangulation-based positioning has been proven to work well with LED-based systems. However, it is sensitive to the external environment and requires a direct LOS from the source, and it is also not widely used in radio-based systems, which typically have no LOS, such as Wi-Fi and Bluetooth [2].
Lastly, trilateration-based positioning has achieved very accurate results, especially RSS-based trilateration, where the system calculates the location based on the strength of the transmitted signals. This works best with radio-based localization systems because they do not require direct LOS and there is no overlapping of the light intensities, like in VLC-based systems. On the other hand, TOA-based trilateration requires perfect synchronization between the sender and receiver [6].
Positioning with VLC varies in accuracy depending on the technique. Problems like light signal interference can affect the accuracy of an RSS-based approach because of the interference’s effect on the light intensity value [4]. This can be avoided with the integration of the VLC system with radio-based technology. The literature suggests that no studies have used a modified VLC source with Bluetooth using RSS-based trilateration as a positioning technique, which we cover in this paper.

4. Proposed Methodology

4.1. Indoor Localization System

The aim behind this study was to develop a novel hybrid indoor positioning system that uses VLC with Bluetooth trilateration in order to achieve accurate indoor positioning. This section explains the steps taken to implement a system that used both technologies to achieve high-accuracy indoor positioning. The system consisted of a hybrid between a VLC-based positioning system and a Bluetooth-based positioning system. The system started with data acquisition from the VLC system and the BLE system. The VLC system estimated the location of the receiver based on modulated information sent by the light source, which was then picked up and demodulated at the receiver’s side as a distinct identifier code, and then the Bluetooth system detected the location of the receiver using an RSSI-based trilateration technique. After the results from both systems were calculated, the distance between the VLC and the BLE estimated position was calculated to be used as a fourth triangulation point to calculate the position. The exact steps for building the proposed system are presented below in Figure 1.

4.1.1. LiFi-Based Proximity

The VLC system consisted of a modified light source (LED light) and a receiver, which was a dongle on the mobile device. Each light source had its own distinct code; this information was modulated at the source, transmitted to the receiver in the modulated format, and then demodulated at the receiver’s side. The receiver’s location was initially estimated in proximity to this light source based on the transmitted information. This location was saved as (x0, y0) coordinates on the map. The LED code helped to distinguish which floor of the building and which room the light source was in, as well as the location inside the room within a proximate range, which fell within the coverage area of the LED. This initial position was later used to determine the position in collaboration with the Bluetooth-estimated position based on a calculated distance.

4.1.2. Bluetooth Distance Measurement

In order to estimate distance from the RSSI, many models might be used, such as the Log Distance Path Loss model, the International Telecommunication Union (ITU) model, and the empirical model mentioned in [23]. One model takes into consideration how different combinations of transmitters and receivers can affect the results of the RSSI data measurements: the Signal Propagation Model [24]. The Bluetooth system worked by picking up the three strongest Bluetooth signals from different beacons. Every Bluetooth beacon broadcasts its RSSI. The RSSI values were collected to compute the location of the mobile device via a trilateration algorithm. To predict distance from signal strength (RSSI), the Signal Propagation Model was used based on a power regression against a known table of distances/RSSI values. Distance was obtained from the Bluetooth beacons using the formula:
d = α × r t   β + C
where d is the distance in meters is, r is the RSSI measured by the device, and t is the reference RSSI at 1 m. α, β, and C are regression coefficients that are derived empirically by using RSSI measurements at multiple distances for different devices. To calculate the device’s location, Algorithm 1 was used.
Algorithm 1 Distance from Bluetooth using the propagation model
 Input: RSSI signal.
 Output: Distance.
 Calculate  α β , and  C .
 Calculate Ratio =  r t  
 If Ratio < 1.0,
    calculate  d = R a t i o 10  
Else,
    calculate  d = α × R a t i o β + C  
 Return  d .

4.1.3. Position Estimation via Trilateration

The RSSI signals from the Bluetooth beacons were converted into spatial distances, which were used as the radii of circles. The distance from each beacon was calculated. As shown in Figure 2, the trilateration algorithm calculated the coordinates of the intersection of those distances (circles) based on the received signal strength of each signal.
d C 2 = ( x b x C ) 2 + ( y b y C ) 2  
d D 2 = ( x b x D ) 2 + ( y b y D ) 2  
d E 2 = ( x b x E ) 2 + ( y b y E ) 2  
This formula, which is denoted above, is the traditional formula of the trilateration method, where all three circles intersect perfectly at one point. This does not occur in all cases, which means that there is a need for advanced algorithms to approximate the position and obtain better accuracy. An example of this is non-linear optimization algorithms, such as the Levenberg–Marquardt algorithm.

Levenberg–Marquardt Algorithm

To improve the accuracy of trilateration in scenarios where there might not be a perfect intersection, algorithms that solve non-linear least squares problems, such as the Levenberg–Marquardt algorithm, can be used. LM interchanges between two minimization methods: the Gauss–Newton and gradient descent methods to solve non-linear least squares problems. It acts more like the Gauss–Newton method when the damping parameter value is smaller and like the gradient descent method when the damping parameter value is larger. The input for this algorithm is a set of n pairs (xi, yi), and the goal is to obtain the parameter  p  of the model curve f( p ) to try and obtain an as small as possible sum of squares of deviations [25]. The simplest way to denote the linear approximation of the function is shown in Equation (5), where  p  is the parameter vector and  J  is the Jacobian matrix  f ( p ) p .
f p + δ p f p + J δ p
As with all non-linear optimization methods, LM is iterative, with the parameter vector initialized at  p 0 . LM carries out an iterative process to produce a series of vectors, aiming towards a local minimizer  p +  for the function [25]. This method is a direct interpolation between the Gauss–Newton algorithm and gradient descent, focusing on finding a local minimum rather than a global one.

4.1.4. Hybrid Position Estimation

The methodology of the hybrid system is presented here in detail. As shown in Figure 3, the initial estimated position (xi, yi) was estimated using VLC, and the (xb, yb) position was estimated using Bluetooth trilateration. A new position estimation method that used both technologies was created that worked by calculating the distance between (xi, yi) and (xb, yb), also known as  d 4  (the 4th distance), since we had three distances from the Bluetooth beacons using the trilateration system.  d 4  was an estimate of the position between the user’s BLE-based position and the center of the LED (xi, yi). This distance could be used as a notation to the system if the user was closer to the center, the edges, or the outside of the area covered by the LED. When  d 4  denoted that the user was estimated to be closer to the center of the LED, or in other words, the user was inside the inner radius area shown in Figure 4, then  d 4  was used for multilateration to assume a new position (xm, ym). In the case that  d 4  denoted that the user was inside the area covered by the LED but closer to the edges (or in the outer radius area), then the appropriate action was to take the estimated position from the BLE system. Lastly, when  d 4  denoted that the user was outside the coverage area of the LED even though the LED signal was picked up by the device, the BLE system assumed a position with a bigger error value than the coverage area of the LED, and the user was then assumed to be under the LED and given the value (xi, yi) of the center of the LED, which gave an error of the coverage area of the LED or less. These scenarios are presented in brief in Table 2 below.
As mentioned above, many techniques were considered for the proposed system, such as proximity, trilateration, and multilateration. The steps followed for this system are given in Figure 5, where the flow of the methodology is shown in detail.
In Equation (6), we present the scenarios in a mathematical format, where  d 4  represents the distance between the BLE-estimated position and the LED, where (xh, yh) is the hybrid position, (xi, yi) is the VLC-estimated position, (xb, yb) represents the position estimated by BLE, and (xm, ym) is the position estimated by multilateration.
f x h , y h = x m , y m ,   d 4 R i n   x b , y b ,   R i n < d 4 R o u t x i , y i ,   d 4 > R o u t
To estimate the threshold for the inner radius space, we used the formula proposed by Athanasios et al. [26], which they used to determine an inner radius for their LED coverage area. For this experiment, we wanted a smaller inner radius since our LEDs were at a lower height, so we decided to take a smaller value for the denominator to minimize the inner radius, according to the experiment parameters. Our modified formula is shown below:
R i n = A 6
where Rin is the inner radius of the LED and A is the coverage area of the LED, which is calculated using:  A = π r 2 .
To summarize, the hybrid algorithm is presented in sequence below in Algorithm 2.
Algorithm 2 Hybrid Algorithm
Input: VLC signal, RSSI signals, Rin, Rout
Output: position ( x h , y h )
1:
x i , y i = Determine the proximity-based location using VLC signal
2:
Get the three nearest RSSI signals from beacons
3:
Estimate distance from the three nearest beacons based on RSSI signals using power regression:
4:
d C = α × r t β + C
5:
d D = α × r t β + C
6:
d E = α × r t β + C
7:
Determine estimated position using trilateration of the three nearest Bluetooth beacons using the Levenberg–Marquardt algorithm
8:
x b , y b = T r i l a t e r a t i o n L e v e n b e r g M a r q u a r d t d C , d D , d E
9:
Measure distance between the VLC-estimated position and Bluetooth-estimated position:  d 4  =  ( y b y i ) 2 + ( x b x i ) 2
10:
If  d 4  > Rout
11:
x h , y h = x i , y i
12:
Else if Rin d 4    Rout
13:
x h , y h = x b , y b
14:
Else
15:
x m , y m = M u l t i a t e r a t i o n L e v e n b e r g M a r q u a r d t d C , d D , d E , d 4
16:
x h , y h = x m , y m

4.2. Performance Metrics of the Proposed System

4.2.1. Accuracy

In our research, accuracy was defined as the level of correctness when determining the location of the receiver via the positioning system versus the actual location of the receiver. To determine the level of accuracy, we used Euclidean distance error, which is a widely used metric for determining the accuracy of indoor positioning systems and works typically by comparing the predicted location with the actual location of the user’s device using the Euclidean distance error formula [27].
d x , y = i = 1 n ( y i x i ) 2
As shown in Equation (8), to determine the distance error, the predicted location of the user’s device was compared to the actual location, and the distance between them was calculated as the square root of the sum of the squared differences between the predicted and actual coordinates. In the case of our research, the dimensions were the (x, y) coordinates of the user’s device. This formula provided an accurate measure of the difference between the predicted and actual locations of the user’s device. A smaller distance error indicated a more accurate position, as it meant the predicted location was closer to the actual location. Conversely, a larger distance error indicated a less accurate position.
The Euclidean distance error is a valuable metric for evaluating the accuracy of indoor positioning systems. It provides a quantitative measure of the difference between the predicted and actual locations of a user’s device, which is essential for evaluating the performance of the positioning system [1].
In addition to calculating the error for each individual position using the Euclidean distance error, we took the mean value, which represents the average error, as well as the minimum and maximum values for error and the total error in distance units. Finally, we calculated the standard deviation and confidence interval for the samples.
Another method of error calculation in the literature was the root mean square error (RMSE), which we calculated in this experiment for evaluation and comparison purposes. The RMSE is calculated by taking the square root of the mean of the squared differences between the predicted and actual values. It is used to evaluate the accuracy of a prediction model by measuring the average magnitude of the error [28].
R M S E = 1 n i = 1 n [ ( x a x p ) 2 + ( y a y p ) 2 ]
where n is the total number of observations, xp and yp are the predicted values for the position, and xa and ya are the actual values for the position.

4.2.2. Capability of Producing an Optimal Solution

The proposed hybrid was intended to select either VLC proximity or BLE trilateration or combine both technologies using multilateration based on the value of  d 4 . In addition to evaluating accuracy, we must also ensure that the hybrid system performs in an optimal manner. We achieved this by measuring the ability of the hybrid system to obtain the optimal method to find an accurate position and evaluating the individual cases to see if the hybrid system selected the technology with the lowest error in every case. This measure is represented by the number of cases where the system performed optimally and is given as a percentage.
o p t i m a l   s o l u t i o n   p e r c e n t a g e = o p t i m a l   p o s i t i o n s a l l   p o s i t i o n s × 100

5. Experimental Studies

This chapter presents the experimental studies conducted to evaluate the performance of the proposed system in a specific experiment testbed. The general design of the experiments is presented first in Section 5.1, then the hardware used in the experiments is described in detail in Section 5.2, while Section 5.3 focuses on the software used for the experiments.

5.1. Experiment Testbed

In this experiment, two test spaces were used in order to evaluate the performance of Bluetooth positioning in both smaller and larger areas. Both spaces had almost no interference for either Bluetooth or VLC. Based on the tools available as well as the layout of the available spaces, while trying to ensure feasibility and practicality, we designed the experiment as follows: Two LEDs at a height of 1.5 m covered a diameter of about 1 m and an area of about 0.79 m2. The LEDs did not intersect in any scenario since they were placed more than 1 m apart, with three BLE beacons in fixed placements. As shown in Figure 6, the use of these fixed placements allowed for a more controlled testing environment, ensuring that any variations in the results could be attributed to factors such as the size of the testing environment and not obstacles or changes in equipment. Overall, the similarity in design between the two testing environments provided a comprehensive platform for evaluating the performance of the positioning system, particularly in scenarios where the size of the testing environment varied.

5.1.1. First Environment Parameters

In the first space, two light fixtures labeled A and B were set up to send VLC signals, and three Bluetooth beacons were distributed in the 3.7 × 3.3 × 3 m room. The three Bluetooth beacons, labeled C, D, and E, were placed in fixed locations within the room. Similarly, the two LEDs were also placed in fixed locations. This setup allowed for reliable experimental conditions and data collection. To act as the user’s device in the experiment, an Android mobile phone named River 1, provided by the Saudi company Azom [29], was used. The dimensions of the area and the distribution of the equipment in the first environment are shown in Figure 7. The parameters of the experiment are displayed in Table 3. A detailed explanation of the hardware and software specifications used in the experiment is given in the following sections: By meticulously designing the experiment space with specific hardware and software components, we were able to create a controlled environment for the experiments and obtain reliable data.

5.1.2. Second Environment Parameters

The second experiment space was similar to the first, with the same two LEDs and three Bluetooth beacons. However, the dimensions of this room were slightly different, measuring 6.7 × 5.4 × 3 m. Like in the first experiment space, the two LEDs in the second room were fixed in their locations at the same height as in the first environment. This allowed for consistent lighting conditions throughout the room during the experiments. In addition, the three Bluetooth beacons in the second room were also fixed in their locations. The locations of these beacons are shown in Table 4. Overall, the second experiment space was designed to be as similar as possible to the first room, with the same equipment and setup. This allowed for greater consistency and accuracy in the experimental results and made it easier to compare the data collected in the two spaces. The mapping of the area, space, and placement of equipment in the second testing environment is shown in Figure 8.

5.2. Hardware

5.2.1. LED Lamps

For the VLC source, GEOLiFi LED kits were used to carry out the experiment. The pre-modulated kit consisted of an LED Lamp powered by an LED driver that uses a router to send the LiFi signals through the lamp and a dongle to receive the light signals on the mobile device. The kit was compatible with mobile cameras using an SDK for iOS, but as this experiment was carried out with an Android, the dongle was used alongside the appropriate software. This kit was powered by Oledcomm [30], which is a French-based company that offers a large range of LiFi solutions, such as modems, dongles, and dedicated SDKs. Device specifications are given in Table 5 and shown in Figure 9 and Figure 10.

5.2.2. Bluetooth Beacons

Bluetooth low energy, also known as BLE, is a form of wireless communication technology that became popular after the introduction of the Bluetooth 4.0 BLE Standard in 2009. BLE is widely used in various indoor environments. The specifications of the standard have allowed more advanced use of the technology for localization purposes by introducing a new type of device called “Bluetooth beacons”. Unlike devices that used the previous standards, the new devices have the option of transmitting at set intervals, which contributes significantly to the energy efficiency of the system. The positioning algorithms are mainly divided into two categories: the received signal strength indication (RSSI) distance method and wireless fingerprint positioning technology. Generally, the RSSI distance method acquires the received signal strength (RSS) from the Bluetooth anchor point to determine the distance-loss model and then estimates the user’s position through different algorithms, such as trilateration. Estimote Inc. [31] is a company that provides different types of beacons, including the BLE beacons that were used in this experiment. Three location beacons were used in this experiment with a broadcasting power of 4 dBm, a 70 m range, and a 200 ms advertising interval.
The location beacons provided by Estimote were designed specifically for indoor location tracking and positioning. They incorporate a range of technical specifications that enable them to deliver precise and reliable indoor positioning, such as having a range of up to 70 m in open spaces, although the range may be shorter in indoor environments with obstacles such as walls or furniture. They have a broadcasting power of 4 dBm, which allows for strong signal transmission without compromising the battery life too much. In addition, their advertising interval provides a balance between accuracy and battery life. Finally, Estimote Location Beacons support both the iBeacon and Eddystone protocols, which are the most commonly used protocols for beacon technology. These specifications are given in Table 6 below.

5.3. Software

5.3.1. LiFi Proximity

The GEOLiFi kit comes with a software development kit that is programmed to be able to read the LiFi signal through the dongle and identify the ID of the lamp whenever the device is within the range of the light signal coverage area. The ID is transmitted using Li-Fi and received through a dongle to be demodulated and then displayed on the device, as shown in Figure 11. If the signal is too weak or if the device is out of the LED signal range, the appropriate message is displayed on the screen, as shown in Figure 12.

5.3.2. Bluetooth Distance

Since Estimote beacons support the iBeacon protocol, Estimote Inc. has released an SDK for iOS devices to read distance from their distance beacons. For an Android device, we built a simple Android application using the AltBeacon Android library [32], which allowed Android devices to use beacons much like iOS devices do. Each beacon’s distance was measured based on their RSSI using the power regression model mentioned in Equation (1). An overview of the application is shown in Figure 13.

5.3.3. Trilateration

When three Bluetooth distances were obtained, the location was calculated using the trilateration algorithm provided by LemmingApex’s Trilateration Library [24]. This library has been extensively used for computing the user’s position using trilateration from the distances of multiple Bluetooth signals. We calculated the estimated position using a non-linear least squares optimization algorithm. After taking this information, necessary calculations using LM were performed, and the estimated position is displayed as the position (x, y) in Figure 13.

5.3.4. The Hybrid Technique

Hybrid positioning systems, as their name suggests, are meant to be able to combine two or more systems in order to improve the performance that each system provides alone. To achieve higher accuracy in the hybrid technique, a threshold was introduced to select the points closer to the center of the LED for the multilateration. This threshold was evaluated by calculating the coverage area of the light source using  A = π r 2 . Then, we set up the threshold value for the smaller radius to be accepted for  d 4 , as shown in Figure 5. The value of the inner radius was calculated for this experiment as follows:
The coverage area of the LED is  A = π 0.5 2  = 0.7854 m2.
The inner radius based on Equation (7) is  r i n n e r = A 6  =  0.7854 6  =  0.8862 6  = 0.15 m.
This means that the threshold where  d 4  was used in multilateration was 0.15 m. When the value of  d 4  was less than 0.15, the user’s position was calculated based on multilateration. Any value of  d 4  that was larger than 0.15 but less than 0.50 meant the user’s position was based on the Bluetooth system. Lastly, whenever the value of  d 4  was greater than 0.50, it meant the user’s position was based on the VLC system. The cases for the used equipment are shown in the following equation:
x h ,   y h = x m ,   y m ,   d 4 0.15 x b ,   y b ,   0.15 < d 4 0.50 x i ,   y i ,     d 4 > 0.50

6. Results and Discussion

6.1. First Experiment Environment

The experiment was carried out initially in a smaller testing area, as shown in Figure 14. The dimensions of the room were 3.7 × 3.3 × 3 m3, and over 50 estimations were taken in variable positions around each light fixture. In each estimation, the initial position was detected using VLC, and after that, the other position from the Bluetooth system was detected via trilateration. To ensure accuracy against variations in the Bluetooth signals caused by any disturbance, such as a change in height or direction or signal interference, 10 Bluetooth readings were taken for each position and averaged. This value was considered to be the BLE reading for this position. After that, the position between the VLC center and the estimated BLE position was calculated to detect if the user was standing in close proximity to the center of the LED or the edges. This value, which was called  d 4 , or fourth distance, was used as a fourth distance value in the multilateration, where the LED position was the center and  d 4  was the radius.
The experiment was carried out in 52 positions around each LED. These positions were marked on the floor in order to ensure the user was standing in the same position for each reading. Ten readings for each position were taken and averaged to create a BLE estimated position, for a total of 520 readings. Then, the error of the distance in Bluetooth, VLC, and hybrid systems was calculated using the Euclidian distance error mentioned in Section 4 of Chapter 4.
Table 7 shows the error measured in Euclidian distance to estimate the position accuracy using VLC technology, Bluetooth trilateration, and the hybrid technique.
From Table 7, we can see that the majority of the cases chose the positions estimated by Bluetooth based on the value of  d 4 . Only 4 values out of 26 under this position were either in the inner radius or outside the area based on  d 4 .  In position 5, the hybrid method favored the multilateration approach, which proved to be better than both BLE and VLC. However, when multilateration was used for positions 8 and 9, it did not achieve the lowest error rate, even though they had low errors of 0.19 and 0.16, respectively. Additionally, in position 15, the VLC approach was used because the value of  d 4  was larger than the threshold and it achieved a lower error than BLE and multilateration. Lastly, positions 6, 14, 18, 21, and 26 favored the BLE estimated position, despite it not being the most accurate position in these cases. Again, this was because the value of  d 4  depends on the accuracy of BLE and does not always reflect an accurate estimation of the position between the device and the LED. Regardless, the optimal solution percentage for the hybrid algorithm under the first LED was 73.1%, where 19 out of 26 positions achieved the best possible accuracy.
To visualize the positioning errors presented in Table 7 for VLC proximity vs. BLE trilateration, the chart in Figure 15 displays a comparison of the error in distance for positions under the first LED using both technologies. The results indicated that BLE trilateration achieved lower error rates than VLC under the first LED in the first environment. This observation can be attributed to the size of the testing area, suggesting that BLE technology may be better suited for smaller spaces.
After adding the results obtained from the hybrid system to the chart, we can see in Figure 16, where the green points represent the hybrid system, that it leaned towards the Bluetooth system in regard to positioning since the Bluetooth system performed very well in this area.
Similar to the first LED, we estimated 26 positions under the second LED using the same method. The results from this test contributed to a comprehensive overview of the positioning accuracy of each technology. The experiment involved testing various positions around each LED within its coverage area. To qualify for testing in this experiment, a position had to pick up at least three Bluetooth signals as well as the LED ID.
Table 7 presents the chosen testing positions. Once readings were taken for each position, the results obtained from the LED system and the BLE system were compared. After calculating  d 4  for each position and comparing it against the inner radius threshold, the hybrid technique was implemented. When a position was within the outer radius area, the value of the BLE position was used. However, when a position was estimated to be within the inner radius area, multilateration was used. The positions estimated using this technique are depicted in Figure 17.
As demonstrated in Figure 17, the hybrid positions were closely aligned to the BLE estimated positions because of the small difference in error margin between the two technologies, since BLE achieved a low error margin in this small environment due to the small distance between the beacons and the user’s device, which meant the BLE estimated positions were less affected by signal disturbance. The position of the LEDs in this area was also closer to the beacon positions, leading to the majority of the BLE estimated positions giving a value of  d 4  within the coverage area of the LED. After applying the scenarios from Equation (6), the system leaned towards the use of BLE technology in this experiment.
Figure 18 displays the Euclidean distance error values for each technology used in the experiment. As the experiment was carried out in a small area, the Bluetooth system exhibited a high level of accuracy, leading to the hybrid method achieving a high degree of accuracy. As previously mentioned, the results obtained from the VLC system were reasonably accurate. However, given the exceptional performance exhibited by the BLE system within the limited testing space, it was favored by the hybrid system for position estimation based on the values of  d 4 . In regards to the optimal solution percentage for the hybrid algorithm in this environment, 14 out of 52 total positions did not achieve optimal positioning, which put the optimal solution percentage for the hybrid system at 73.1%. The individual cases were discussed previously.
Table 8 presents a comparison of the Euclidean Distance Error values for the first space, including metrics such as the mean, minimum, maximum, total distance, standard deviation, and 95% confidence interval.
From Table 8, it is noted that the mean distance estimated by VLC was 0.28 m, by BLE was 0.15 m, and by hybrid was 0.14 m. This means that in this experiment, on average, VLC estimated the distance to be greater than the BLE and hybrid methods. The total distance estimated by VLC was 14.73 m, by BLE was 7.85 m, and by hybrid was 7.46 m. This indicates that VLC measured the longest total distance in the smaller area. In addition, the standard deviation of distance measurements by VLC was 0.10 m, by BLE was 0.084 m, and by hybrid was 0.078 m. This means that the distance measurements by VLC were more spread out as compared to BLE and hybrid. This is because the maximum distance estimated by VLC can be as large as the diameter of the coverage area of the LED. The maximum error for the BLE estimated positions was 0.41 m for this environment, which was smaller than the diameter of the coverage area of the LED. This was caused by the fact that Bluetooth RSS-based systems work very well in small areas due to the shorter distance that the Bluetooth signal needs to travel to reach the receiver, leading to better positioning accuracy. Moreover, because multilateration takes three distances from the Bluetooth system and the  d 4  is also estimated using the Bluetooth system, the hybrid multilateration method is very dependent on the accuracy of the Bluetooth estimation. As shown in Table 7, these results suggest that the VLC method tended to estimate distances in a further position than estimated by BLE and hybrid methods in the smaller space. However, the confidence interval for all three methods was relatively narrow, indicating a high degree of confidence in the estimated distances and satisfactory overall positioning accuracy.

6.2. Second Experiment Environment

We decided to extend the experiment into a larger scene to examine it further under more realistic conditions. Similar to the first experiment, 52 positions were marked to be estimated in a larger room where the same environment was duplicated to ensure the experiment had the same parameters and setup in regards to LED heights, beacon placement, and physical obstacles. The only difference was the size of the room, which was 6.7 × 5.4 × 3 m3. Similar to the first experiment, each of the 52 positions had 10 readings for Bluetooth and was under the coverage of the LED.
Following the same steps as in the first experiment, the positions to be estimated were marked on the floor. Ten readings were taken and averaged for each position. This was to ensure that any change in the vertical position or height of the device at the time of the reading did not affect positioning accuracy. However, results from the Bluetooth system showed lower accuracy in the larger space. Most of the positions were picked up outside of the coverage area of the LED, even though they picked up the signal from the light source. Therefore, it assumed the position of the center of the LED whenever the value of  d 4  was larger than the outer radius of the LED while picking up the LED ID, giving an error value of 0.5 m or less for each position. The results of the experiments are shown below in Table 9.
Figure 19 shows the difference in error between VLC and BLE under the first LED in the second environment. It is clear that BLE performed with a higher error rate than the error rate in the smaller environment. This can be attributed to the change in quality of the RSS signal in the larger area, and this is where the hybrid system came into play, choosing the optimal solution in 26 out of 26 cases under the first LED and giving an optimal solution percentage of 100%.
Figure 20 shows the positioning error for the hybrid system in comparison to BLE and VLC. As shown, the hybrid system favored the VLC technology due to the higher error rate in BLE in the larger environment.
Unfortunately, the limitations of RSS-based techniques can be seen in the second experiment, as the error was significantly higher for BLE. This is because the signal strength of Bluetooth decreases as the distance between the transmitter and receiver increases. Fortunately, the hybrid system was designed to lean towards either the VLC or BLE systems based on the performance of both systems, comparing them against a dedicated threshold.
As shown by the graph below, the Bluetooth-estimated positions assumed the user stood in positions outside the coverage area of the LED, even though the device picked up the LED ID, indicating that it was indeed within the coverage area of that LED. Therefore, in these cases, the position was assumed to be equal to the value of the center of the LED, and in the rest of the cases, which were inside the coverage area of the LED but exceeded the value of the threshold for the inner radius, the position of the Bluetooth position was assumed to be similar to the first experiment.
As can be seen here, BLE-estimated positions were far from the center of the LED for both LEDs and the actual positions. This can be attributed to the variations in the RSSI signal resulting from the larger environment. VLC played a significant role in improving the positioning error for the radio frequency-based technology under these conditions. The hybrid system was designed to prioritize the system that performed optimally in a specific environment.
Looking at Figure 21 and Figure 22, it can be deduced that the BLE readings in the new environment had higher error rates than in the smaller environment. After taking the BLE-estimated positions and comparing the values of  d 4  against the threshold of the LED coverage, the positions that were estimated to be outside the coverage area of the LED while picking up the LED signal were assumed to have, as their initial value, the value of the center of the LED, such as positions (1–26) in Table 9. This improved the performance of the system, and it also demonstrated how VLC is able to support BLE-based positioning due to the LED’s limited coverage area. In regards to the hybrid algorithm in the second environment, only 2 out of 52 total positions did not achieve the optimal solution, achieving a percentage of optimal solutions for the hybrid system of 96.2% in the second environment. The hybrid mostly relied on VLC positioning since most of the BLE positions were estimated to be outside the coverage area of the LED, making their error rate higher than the value of the radius for the coverage area.
Table 10 shows that the VLC and hybrid positioning systems were more accurate and precise than the BLE system. The mean error for the VLC system was 0.29 m, which was lower than the BLE system’s mean error of 0.86 m. The hybrid system’s mean error was only slightly higher than the VLC system’s at 0.30 m. The minimum and maximum errors for the VLC and hybrid systems were also lower than those for the BLE system, indicating better accuracy and precision. The sum of errors for the VLC and hybrid systems was also much lower than the BLE system, indicating better overall performance. Additionally, the standard deviation and 95% confidence interval were also smaller for the VLC and hybrid systems compared to the BLE system, indicating greater precision in the measurements. Overall, based on the provided data, it appears that the VLC and hybrid positioning systems outperformed the BLE system in terms of accuracy and precision in the larger testing environment, with the hybrid system addressing the limitation of BLE’s accuracy, which is impacted by changes in the quality of RSS signals in the larger environment. The hybrid system appears to be a good compromise between the VLC and BLE systems, with a similar mean error and sum of errors as the VLC system but with the added benefit of BLE’s longer range.
These are the findings based on our observations:
  • Within the first environment, the BLE system was able to achieve high positioning accuracy due to the higher quality of RSS signals, and the hybrid system achieved the optimal solution in 73.1% of the positions. The cases where the hybrid was not able to achieve the optimal solution were due to the quality of  d 4 , as it depended on the quality of the BLE-estimated position. Since most cases in this environment fell within the coverage area of the LED, the error in BLE positions was lower than the coverage area of the LED, which meant the hybrid did not lean towards the VLC in this area.
  • In the second environment, the room was larger, which caused more fluctuations in RSS signals and less accurate BLE positioning. The hybrid system leaned towards VLC positioning because of the higher error value in positioning, which led to larger values of  d 4 . The hybrid system achieved the optimal solution in 96.2% of the positions in this area.
  • The hybrid system worked by using either VLC proximity or BLE trilateration or a multilateration of both, depending on the value of the distance between the estimated position of the user’s device and the LED ( d 4 ). This meant that in the worst case, accuracy would be limited by the value of the outer radius of the coverage area of the LED, which was 0.50 m.
  • Taking the value of  d 4  based on the BLE-estimated position gave the optimal solutions for more than 70% of cases in both environments. However, we believe that there is more to explore here regarding how to obtain the value of  d 4  using different techniques, such as RSSI from the LED.
  • Using VLC alone in the first environment would have achieved a higher error than using the hybrid, and using BLE alone in the second environment would have achieved a higher error than the hybrid system. The hybrid system helped lower the error whenever one of the systems gave less accurate results.

7. Evaluation of the Proposed System

To evaluate the quality of accuracy in the proposed system, we compared it against the existing literature for Bluetooth, VLC, and hybrid systems. Therefore, we calculated the positioning error using Euclidian distance, the average error, and the maximum and minimum error, as shown in Table 8 and Table 10, along with the Root Mean Square Error of each technology for each environment, as shown in Table 11.
In the first smaller environment, the performance of the Bluetooth system achieved highly accurate positioning, leading the hybrid system to achieve very similar accuracy since it performed better than the VLC system. However, in the second environment, the RMSE of the hybrid system was 0.31 m, showing how much VLC improved the performance of the Bluetooth system in the larger environment and achieving similar accuracy to the VLC system since it performed better in the second environment. This showed that the hybrid system was able to lean towards the system with higher accuracy depending on its performance and take advantage of it.
Within the literature, various studies have suggested using VLC for positioning. Ref. [8] proposed a collaborative indoor visible light positioning (VLP) system that uses a BLE-improved spring model to enhance accuracy. This system can be combined with the fingerprinting technique without the need for additional sensors by utilizing neighboring mobile devices. The simulation results indicated an average accuracy of 6.0 cm [8]. Moreover, Zhang et al. [16] used VLC triangulation and achieved a precision of 95% within 17.25 cm with direct sunlight exposure and a precision of 95% within 11.2 cm with indirect sunlight exposure. Li et al. [17] achieved an error of less than 1 m in a large indoor space using VLC trilateration. Gu et al. [18] achieved a localization accuracy of 0.10–0.09 cm using VLC trilateration, with the Kalman filter and SIR filter improving the accuracy further. Zhao et al. [19] reported that their system achieved an average accuracy of 0.50, 0.50, and 1.60 m in three different test environments using LightPrint. Table 11 presents a comparison between this work and other literature in regards to design and accuracy. This work achieved a high level of accuracy with a minimum error of 0.03 m using Euclidean distance and an average error of 0.14–0.30 m for Euclidean distance in the smaller environment and the larger environment, respectively. It also achieved an error of 0.16 m using RMSE in the smaller environment and 0.31 m using RMSE in the larger environment. The maximum error was 0.52 m, which was measured in the larger environment, while the maximum error in the smaller environment was 0.41 m. Overall, the results suggest that the current work performed very well against the other systems evaluated in terms of accuracy, with a minimum error and a low average error.
Comparing this work to the literature helps us answer the research questions that motivated this research.
Q1. Does VLC proximity provide accurate results for indoor positioning?
A1. Despite the simplicity of the proximity algorithm, the VLC system achieved accurate results for both experiments. As shown in Figure 23, the system obtained a mean error of 0.28 m in the first environment, a minimum error of 0.10 m, and a maximum error of 0.46 m. For the second environment, it achieved a mean error of 0.29 m, a minimum of 0.10 m, and a maximum of 0.41 m. An overall RMSE of 0.30 m was found for both environments. This showed that proximity can achieve accurate results for indoor positioning in comparison to other complex approaches mentioned in Table 12, such as triangulation [16], where the device needs at least three signals to achieve similar results. The same was true for the system proposed by Li et al. in [17], where they achieved an RMSE of 0.40 m for a VLC trilateration/multilateration-based system, while our study achieved an RMSE of 0.30 m using proximity alone. In [18], Gu et al. proposed three-dimensional positioning using VLC trilateration with two filter improvements to achieve an RMSE of 0.09 m, which indicated that the use of trilateration alone can be improved with the use of filtering techniques. Other papers addressed the accuracy issue by using different approaches, such as fingerprinting in [19], where they used Light Intensity Field maps to match the LightPrint. They achieved an accuracy of 0.50 to 1.60 m, although their system demanded huge computational complexity due to a curve-surface matching problem. Another approach, AoA, was used in [20], where they achieved an error rate of around 0.10 m despite many challenges and limitations in using this technique, such as camera resolution affecting the quality of the signals and the image quality requiring filtering. However, this does not mean VLC proximity is the most accurate technique of VLC-based positioning; rather, we showed that despite the simplicity and low complexity of this approach, it is still able to achieve accurate indoor positioning since the error rate is limited by the coverage area of the LED used in the experiment and it is not subject to signal interference like radio-based technologies, enabling it to achieve real-time positioning that could be helpful for many applications, such as exploring exhibits and galleries, or for manufacturing purposes and goods placement. Overall, based on our observations, we suggest that accuracy could be improved by combining VLC proximity with other techniques or technologies.
Q2. Does Bluetooth trilateration provide accurate results for indoor positioning?
A2. As proved by the literature and shown in Figure 24, BLE trilateration does provide accurate results for indoor positioning. It was shown in [23] by Paterna et al. that a system that uses Bluetooth trilateration with frequency diversity and Kalman filtering was able to achieve an average error of 1.82 m in a 9.19 m × 6.18 m room. Moreover, in [28], Huang et al. achieved an accuracy of 0.76 m using a hybrid method of trilateration and dead reckoning.
In this work, the Bluetooth system achieved accurate results for both environments, with a mean of 0.15 m and 0.86 m for the first and second environments, respectively. It achieved a minimum of 0.03 m of positioning error in the first environment. However, some limitations in this technology became apparent in the second environment, as the quality of the positioning was affected by the change in RSS. Even though the BLE system achieved a minimum error of 0.19 m in the second environment, the maximum was 1.37 m, which was still considered good for indoor positioning but was not as accurate as the positions obtained in the smaller area. The use of hybrid positioning shows promise in these situations. Looking at both the literature and this work, we can conclude that although Bluetooth trilateration achieves accurate results, in almost all of the mentioned studies there was an improvement factor used to achieve better accuracy, whether a filtering technique or a hybrid with another positioning technique, showing that Bluetooth trilateration can work well with other positioning techniques and technologies.
Q3. Does combining VLC proximity with RSS-based Bluetooth trilateration in a hybrid system achieve accurate results for indoor positioning?
A3. As shown in Table 11 and Figure 25, the results suggested that the current work performed very well against the other systems evaluated in terms of accuracy, with a low minimum error and a low average error. In the first experiment, even though the BLE error rates were low, VLC still managed to lower the error by multilateration in some cases. Additionally, the hybrid algorithm helped to improve the error in BLE positioning in the larger environment by limiting the error within the coverage area of the LED whenever the user was assumed to be outside of it. We can deduce from the experiment that the hybrid system provided accurate results for indoor positioning. Using both had the advantage of overcoming the limited coverage area of the LED for VLC proximity when the BLE system was performing with a higher error margin than that coverage area. Taking advantage of the BLE system whenever the quality of the RSS signals from the Bluetooth beacons required it, we achieved high accuracy using trilateration. The minimum error for the first environment of the hybrid system was 0.03 m, while for the second environment it was 0.10 m. The mean errors for the first and second environments were 0.14 m and 0.30 m, respectively. The RMSEs for the first and second environments were 0.16 m and 0.31 m, respectively. As suggested in [8], the collaboration between a VLC positioning system and a Bluetooth-based system improved the positioning error, achieving an accuracy of 0.06 m. However, computational complexity is a general setback of the fingerprinting technique in almost any system [4]. Overall, we deduced from the literature that the combination of positioning techniques and technologies in hybrid systems shows promising results for indoor positioning.

8. Conclusions

The main aim of this paper was to explore and navigate the gaps within indoor positioning, especially within the field of VLC, which is a promising technology with high accuracy and low interference. It has the potential to revolutionize indoor navigation. This paper investigated a novel hybrid indoor positioning system that uses Visible Light Communication (VLC) proximity with Bluetooth trilateration technology to offer a robust and accurate solution for indoor positioning. By combining the simplicity of VLC proximity with the complexity of Bluetooth trilateration, the system provided a highly accurate and reliable indoor positioning solution.
In conclusion, this paper presented a hybrid methodology to calculate a user’s position in an indoor environment using VLC proximity, Bluetooth trilateration, and a hybrid of both methods. Carrying out the experiment in two different-sized environments gave an advantage to either the BLE or VLC technology in terms of accurate results; therefore, the hybrid method was presented in order to take advantage of both technologies as best as possible.
In the future, we would like to explore the system in more environments and with different settings with respect to the equipment to investigate the effects of these changes on the system’s performance. Regarding the Bluetooth system, we may experiment with altering the height and placement of the beacons to examine their impact on the RSS signals, and we may also explore RSS filtering techniques, such as Kalman filtering [23], to see how they affect the system’s accuracy. For the VLC system, we could investigate the use of RSS measurement techniques, such as a luxmeter, to determine the precise position between the user’s location and the VLC LED.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s23167199/s1.

Author Contributions

Conceptualization, L.A.; formal analysis, L.A. and S.A.; funding acquisition, L.A.; methodology, L.A. and S.A.; project administration, L.A.; resources, L.A. and S.A.; software, S.A.; supervision, L.A.; validation, S.A.; writing—original draft, S.A.; writing—review and editing, L.A. and S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research project was supported by a grant from the “Research Center of the Female Scientific and Medical Colleges”, Deanship of Scientific Research, King Saud University.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in the Supplementary Material.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kunhoth, J.; Karkar, A.; Al-Maadeed, S.; Al-Ali, A. Indoor positioning and wayfinding systems: A survey. Hum. Cent. Comput. Inf. Sci. 2020, 10, 18. [Google Scholar] [CrossRef]
  2. Zhuang, Y.; Hua, L.; Qi, L.; Yang, J.; Cao, P.; Cao, Y.; Wu, Y.; Thompson, J.; Haas, H. A Survey of Positioning Systems Using Visible LED Lights. IEEE Commun. Surv. Tutor. 2018, 20, 1963–1988. [Google Scholar] [CrossRef]
  3. Rahman, A.B.M.M.; Li, T.; Wang, Y. Recent Advances in Indoor Localization via Visible Lights: A Survey. Sensors 2020, 20, 1382. [Google Scholar] [CrossRef] [PubMed]
  4. Luo, J.; Fan, L.; Li, H. Indoor Positioning Systems Based on Visible Light Communication: State of the Art. IEEE Commun. Surv. Tutor. 2017, 19, 2871–2893. [Google Scholar] [CrossRef]
  5. Wu, X.; Soltani, M.D.; Zhou, L.; Safari, M.; Haas, H. Hybrid LiFi and WiFi Networks: A Survey. arXiv 2021, arXiv:2001.04840. [Google Scholar] [CrossRef]
  6. Afzalan, M.; Jazizadeh, F. Indoor Positioning Based on Visible Light Communication: A Performance-based Survey of Real-world Prototypes. ACM Comput. Surv. 2019, 52, 1–36. [Google Scholar] [CrossRef]
  7. Lovisolo, L.; Tcheou, M.P.; Aacutevila, F.R. Visible Light-Based Communication and Localization. In Handbook of Position Location; Zekavat, S.A.R., Buehrer, R.M., Eds.; Wiley: Hoboken, NJ, USA, 2019; pp. 1121–1164. [Google Scholar] [CrossRef]
  8. Luo, Z.; Zhang, W.; Zhou, G. Improved spring model-based collaborative indoor visible light positioning. Opt. Rev. 2016, 23, 479–486. [Google Scholar] [CrossRef]
  9. Jia, Z. A Visible Light Communication Based Hybrid Positioning Method for Wireless Sensor Networks. In Proceedings of the 2012 Second International Conference on Intelligent System Design and Engineering Application, Sanya, China, 6–7 January 2012; pp. 1367–1370. [Google Scholar] [CrossRef]
  10. Haas, H. LiFi is a paradigm-shifting 5G technology. Rev. Phys. 2018, 3, 26–31. [Google Scholar] [CrossRef]
  11. Leba, M.; Riurean, S.; Lonica, A. LiFi—The path to a new way of communication. In Proceedings of the 2017 12th Iberian Conference on Information Systems and Technologies (CISTI), Lisbon, Portugal, 21–24 June 2017; pp. 1–6. [Google Scholar] [CrossRef]
  12. Siddique, I.; Awan, M.Z.; Khan, M.Y.; Mazhar, A. Li-Fi the Next Generation of Wireless Communication through Visible Light Communication (VLC) Technology. Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol. 2019, 5, 30–37. [Google Scholar] [CrossRef]
  13. Panda, B.; Beria, H.; Pradhan, C. Deployment of Li-Fi in indoor positioning systems. Int. J. Inf. Tecnol. 2020, 13, 123–130. [Google Scholar] [CrossRef]
  14. Haas, H.; Yin, L.; Wang, Y.; Chen, C. What is LiFi? J. Light. Technol. 2016, 34, 1533–1544. [Google Scholar] [CrossRef]
  15. Bouet, M.; dos Santos, A.L. RFID tags: Positioning principles and localization techniques. In Proceedings of the 2008 1st IFIP Wireless Days, Dubai, United Arab Emirates, 24–27 November 2008; pp. 1–5. [Google Scholar] [CrossRef]
  16. Zhang, W.; Chowdhury, M.I.S.; Kavehrad, M. Asynchronous indoor positioning system based on visible light communications. Opt. Eng. 2014, 53, 045105. [Google Scholar] [CrossRef]
  17. Li, L.; Hu, P.; Peng, C.; Shen, G.; Zhao, F. Epsilon: A Visible Light Based Positioning System. In Proceedings of the USENIX Symposium on Networked Systems Design and Implementation, Seattle, WA, USA, 2–4 April 2014; p. 14. [Google Scholar]
  18. Gu, W.; Zhang, W.; Kavehrad, M.; Feng, L. Three-dimensional light positioning algorithm with filtering techniques for indoor environments. Opt. Eng. 2014, 53, 107107. [Google Scholar] [CrossRef]
  19. Zhao, Z.; Wang, J.; Zhao, X.; Peng, C.; Guo, Q.; Wu, B. NaviLight: Indoor localization and navigation under arbitrary lights. In Proceedings of the IEEE INFOCOM 2017—IEEE Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar] [CrossRef]
  20. Kuo, Y.-S.; Pannuto, P.; Hsiao, K.-J.; Dutta, P. Luxapose: Indoor positioning with mobile phones and visible light. In Proceedings of the 20th Annual International Conference on Mobile Computing and Networking, Maui, HI, USA, 7–11 September 2014; pp. 447–458. [Google Scholar] [CrossRef]
  21. Correa, A.; Barcelo, M.; Morell, A.; Vicario, J. A Review of Pedestrian Indoor Positioning Systems for Mass Market Applications. Sensors 2017, 17, 1927. [Google Scholar] [CrossRef]
  22. Huang, Q.; Zhang, Y.; Ge, Z.; Lu, C. Refining Wi-Fi based indoor localization with Li-Fi assisted model calibration in smart buildings. In Proceedings of the International Conference on Computing in Civil and Building Engineering, Osaka, Japan, 6–8 July 2016; p. 9. [Google Scholar]
  23. Paterna, V.C.; Augé, A.C.; Aspas, J.P.; Bullones, M.P. A Bluetooth Low Energy Indoor Positioning System with Channel Diversity, Weighted Trilateration and Kalman Filtering. Sensors 2017, 17, 2927. [Google Scholar] [CrossRef]
  24. Ramirez, R.; Huang, C.-Y.; Liao, C.-A.; Lin, P.-T.; Lin, H.-W.; Liang, S.-H. A Practice of BLE RSSI Measurement for Indoor Positioning. Sensors 2021, 21, 5181. [Google Scholar] [CrossRef] [PubMed]
  25. Lourakis, M.I.A. A Brief Description of the Levenberg-Marquardt Algorithm Implemened by levmar. Found. Res. Technol. 2005, 4, 7. [Google Scholar]
  26. Kyritsis, A.I.; Kostopoulos, P.; Deriaz, M.; Konstantas, D. A BLE-based probabilistic room-level localization method. In Proceedings of the 2016 International Conference on Localization and GNSS (ICL-GNSS), Barcelona, Spain, 28–30 June 2016; pp. 1–6. [Google Scholar] [CrossRef]
  27. Yang, J.; Deng, S.; Lin, M.; Xu, L. An Adaptive Calibration Algorithm Based on RSSI and LDPLM for Indoor Ranging and Positioning. Sensors 2022, 22, 5689. [Google Scholar] [CrossRef] [PubMed]
  28. Huang, K.; He, K.; Du, X. A Hybrid Method to Improve the BLE-Based Indoor Positioning in a Dense Bluetooth Environment. Sensors 2019, 19, 424. [Google Scholar] [CrossRef] [PubMed]
  29. Azom River 1. Available online: https://www.azom.co/en/products/azom-river (accessed on 27 November 2022).
  30. Oledcomm. LiFi, High-Speed Internet through Invisible Light—Oledcomm. Available online: https://www.oledcomm.net/ (accessed on 24 September 2021).
  31. Estimote. Available online: https://estimote.com/ (accessed on 22 September 2021).
  32. Android Beacon Library. Available online: https://github.com/AltBeacon/android-beacon-library (accessed on 2 March 2022).
Figure 1. Proposed system architecture.
Figure 1. Proposed system architecture.
Sensors 23 07199 g001
Figure 2. Trilateration function.
Figure 2. Trilateration function.
Sensors 23 07199 g002
Figure 3. Hybrid system design.
Figure 3. Hybrid system design.
Sensors 23 07199 g003
Figure 4. Inner and outer radius of the VLC coverage area.
Figure 4. Inner and outer radius of the VLC coverage area.
Sensors 23 07199 g004
Figure 5. The system methodology flowchart.
Figure 5. The system methodology flowchart.
Sensors 23 07199 g005
Figure 6. Experiment design.
Figure 6. Experiment design.
Sensors 23 07199 g006
Figure 7. Two-dimensional design of the first space.
Figure 7. Two-dimensional design of the first space.
Sensors 23 07199 g007
Figure 8. Two-dimensional design of the second space.
Figure 8. Two-dimensional design of the second space.
Sensors 23 07199 g008
Figure 9. GeoLiFi development kit.
Figure 9. GeoLiFi development kit.
Sensors 23 07199 g009
Figure 10. GeoLiFi dongle.
Figure 10. GeoLiFi dongle.
Sensors 23 07199 g010
Figure 11. When the signal is detected.
Figure 11. When the signal is detected.
Sensors 23 07199 g011
Figure 12. No signal is detected.
Figure 12. No signal is detected.
Sensors 23 07199 g012
Figure 13. Trilateration Bluetooth.
Figure 13. Trilateration Bluetooth.
Sensors 23 07199 g013
Figure 14. First experiment environment.
Figure 14. First experiment environment.
Sensors 23 07199 g014
Figure 15. Positioning error under LED #1 for BLE and VLC in the first environment.
Figure 15. Positioning error under LED #1 for BLE and VLC in the first environment.
Sensors 23 07199 g015
Figure 16. Positioning error under LED #1 for all technologies in the first environment.
Figure 16. Positioning error under LED #1 for all technologies in the first environment.
Sensors 23 07199 g016
Figure 17. Actual vs. detected positions in the first experiment.
Figure 17. Actual vs. detected positions in the first experiment.
Sensors 23 07199 g017
Figure 18. Error using different technologies in the first experiment.
Figure 18. Error using different technologies in the first experiment.
Sensors 23 07199 g018
Figure 19. Positioning error under LED #1 for BLE and VLC in the second environment.
Figure 19. Positioning error under LED #1 for BLE and VLC in the second environment.
Sensors 23 07199 g019
Figure 20. Positioning error under LED #1 for all technologies in the second environment.
Figure 20. Positioning error under LED #1 for all technologies in the second environment.
Sensors 23 07199 g020
Figure 21. Actual vs. detected positions in the second experiment.
Figure 21. Actual vs. detected positions in the second experiment.
Sensors 23 07199 g021
Figure 22. Error using different technologies in the second experiment.
Figure 22. Error using different technologies in the second experiment.
Sensors 23 07199 g022
Figure 23. Comparison of the localization accuracy of different VLC systems [16,17,18,19,20].
Figure 23. Comparison of the localization accuracy of different VLC systems [16,17,18,19,20].
Sensors 23 07199 g023
Figure 24. Comparison of the localization accuracy of different BLE systems [23,28].
Figure 24. Comparison of the localization accuracy of different BLE systems [23,28].
Sensors 23 07199 g024
Figure 25. Comparison of positioning accuracy of hybrid systems [8].
Figure 25. Comparison of positioning accuracy of hybrid systems [8].
Sensors 23 07199 g025
Table 1. Comparison between VLC-based systems.
Table 1. Comparison between VLC-based systems.
SystemTechnologyModulation TechniqueReceiver TypePositioning TechniqueReal-Time AbilityAccuracy
(m)
[8]BLE + VLCNot mentionedSmart MobileFingerprinting + Spring modelYes0.06 m
[16]VLCOn–Off Keying (OOK)Optical ReceiverTriangulationNo0.17–0.11 m
[17]VLCBinary Frequency Shift Keying (BFSK)Smart MobileTrilaterationNo0.4 m
[18]VLCOn–Off Keying (OOK)PhotodiodesTrilaterationNo~0.10–0.09 m
[19]VLC-Smart MobileFingerprintingNo0.50 m, 0.50 m
1.60 m
[20]VLCOn–Off Keying (OOK)Smart MobileAngel of Arrival (AoA)No~0.1 m
Table 2. The positioning scenarios of the proposed system.
Table 2. The positioning scenarios of the proposed system.
CaseCondition StatementAction
If the distance between the BLE estimated position (xb, yb) and the LED (xi, yi) is within the inner radius d 4  ≤  R i n  → MultilaterationUse Multilateration of all four distances
If the distance between the BLE estimated position (xb, yb) and the LED (xi, yi) is smaller than the outer radius but larger than the inner radius R i n  <  d 4  ≤  R o u t  → BLEUse the BLE estimated position
If the distance between the BLE estimated position (xb, yb) and the LED (xi, yi) is larger than the outer radius, meaning that it is outside the coverage area of the LED d 4  >  R o u t  → VLCUse the VLC estimated position
Table 3. Environment parameters of the first space.
Table 3. Environment parameters of the first space.
ParametersValue
Room size3.7 × 3.3 × 3 m3
Number of LEDs2
Coordinates of LEDsA (1.2, 1.7)
B (2.5, 1.7)
LED height1.5 m
Number of beacons3
Coordinates of beaconsC (0.5, 0.5)
D (3.2, 0.5)
E (1.9, 2.8)
Table 4. Environment parameters of the second space.
Table 4. Environment parameters of the second space.
ParametersValue
Room size6.7 × 5.4 × 3 m3
Number of LEDs2
Coordinates of LEDsA (2.2, 2.7)
B (4.5, 2.7)
LED height1.5 m
Number of beacons3
Coordinates of beaconsC (0.6, 4.8)
D (6.1, 4.8)
E (3.35, 0.6)
Table 5. LED specifications.
Table 5. LED specifications.
LED Specifications
StandardIEEE 802.15
Height1.5 m
Coverage Radius0.50 m
Power14.8 W
Voltage234.7 V AC
Table 6. Beacon specifications.
Table 6. Beacon specifications.
Range~70 m
Broadcasting power4 dBm
Advertising interval200 ms
Supported protocolsiBeacon, Eddystone
Table 7. Positioning results for the first LED.
Table 7. Positioning results for the first LED.
#LED #0x270fD4 ValueError
Actual PositionVLCBLEHybrid
10.9, 1.50.420.360.130.13
20.9, 1.70.190.300.150.15
30.9, 1.90.190.360.310.31
41.0, 1.50.250.460.060.06
51.0, 1.70.110.200.090.08
61.0, 1.90.200.280.090.09
71.1, 1.30.360.410.120.12
81.1, 1.50.090.220.150.19
91.1, 1.70.120.100.180.16
101.1, 1.90.360.220.150.15
111.1, 2.10.180.410.230.23
121.2, 1.30.450.400.090.09
131.2, 1.50.250.200.220.22
141.2, 1.90.230.230.200.20
151.2, 2.10.580.400.410.41
161.3, 1.30.390.410.040.04
171.3, 1.50.230.220.130.13
181.3, 1.70.290.100.190.19
191.3, 1.90.320.220.140.14
201.3, 2.10.450.410.240.24
211.4, 1.50.260.280.040.04
221.4, 1.70.270.200.090.09
231.4, 1.90.450.280.220.22
241.5, 1.50.450.360.100.10
251.5, 1.70.240.300.110.11
261.5, 1.90.470.360.110.11
Table 8. Error using Euclidian distance in the first experiment.
Table 8. Error using Euclidian distance in the first experiment.
VLCBLEHybrid
Mean0.28 m0.15 m0.14 m
Minimum0.10 m0.03 m0.03 m
Maximum0.46 m0.41 m0.41 m
Total distance (Sum)14.73 m7.85 m7.46 m
Standard deviation0.10 m0.084 m0.078 m
Confidence interval 95%0.027 m0.023 m0.021 m
Table 9. Distance error for each position for the first LED.
Table 9. Distance error for each position for the first LED.
#LED #0x270fD4 ValueError
Actual PositionVLCBLEHybrid
11.9, 2.50.900.3611.9, 2.5
21.9, 2.71.050.3021.9, 2.7
31.9, 2.91.160.3631.9, 2.9
42.0, 2.51.110.2842.0, 2.5
52.0, 2.71.130.2052.0, 2.7
62.0, 2.90.840.2862.0, 2.9
72.1, 2.30.980.4172.1, 2.3
82.1, 2.50.830.2282.1, 2.5
92.1, 2.71.140.1092.1, 2.7
102.1, 2.90.800.22102.1, 2.9
112.1, 3.10.960.41112.1, 3.1
122.2, 2.30.640.41122.2, 2.3
132.2, 2.51.170.20132.2, 2.5
142.2, 2.90.840.20142.2, 2.9
152.2, 3.11.090.40152.2, 3.1
162.3, 2.30.920.41162.3, 2.3
172.3, 2.50.700.22172.3, 2.5
182.3, 2.71.170.10182.3, 2.7
192.3, 2.91.200.22192.3, 2.9
202.3, 3.11.300.41202.3, 3.1
212.4, 2.51.000.28212.4, 2.5
222.4, 2.70.830.20222.4, 2.7
232.4, 2.91.340.28232.4, 2.9
242.5, 2.50.920.36242.5, 2.5
252.5, 2.71.190.30252.5, 2.7
262.5, 2.90.960.36262.5, 2.9
Table 10. Error using Euclidian distance.
Table 10. Error using Euclidian distance.
VLCBLEHybrid
Mean0.29 m0.86 m0.30 m
Minimum0.10 m0.19 m0.10 m
Maximum0.41 m1.37 m0.52 m
Sum14.97 m44.83 m15.39 m
Standard deviation0.09 m0.28 m0.10 m
Confidence interval 95%0.025 m0.076 m0.027 m
Table 11. RMSE Error for all technologies in both testing environments.
Table 11. RMSE Error for all technologies in both testing environments.
VLCBLEHybrid
RMSE for the 1st Environment0.30 m0.16 m0.16 m
RMSE for the 2nd Environment0.30 m0.91 m0.31 m
Table 12. Evaluation of the proposed system.
Table 12. Evaluation of the proposed system.
SystemTechnologyPositioning TechniqueDeployment AreaDeployment DensityAccuracy (m)Evaluation MethodType
[8]BLE + VLCFingerprinting + Spring model5 × 5 × 3 m34 LEDs0.06 mEuclidean distanceMinimum Error
[16]VLCTriangulation6 × 6 × 4 m34 LEDs0.17–0.11 mEuclidean distanceAverage Error
[17]VLCTrilateration(a) 5 × 8 m2
(b) 2 × 12 m2
(c) 3.5 × 6.5 m2
5 LEDs0.40 mRMSEAverage Error
[18]VLC3D Trilateration 6 × 6 × 4.2 m34 LEDs~0.10–0.09 mRMSEAverage Error
[19]VLCFingerprinting(a) 625 m3
(b) 148 m3
(c) 260 m3
130 LEDs
38 LEDs
20 LEDs
0.50 m
0.50 m
1.60 m
Euclidean distanceAverage Error
[20]VLCAngel of Arrival (AoA)0.711 × 0.737 m25 LEDs~0.10 mEuclidean distanceAverage Error
This workVLC + BLEProximity + Trilateration(a) 3.7 × 3.3 × 3 m3
(b) 6.7 × 5.4 × 3 m3
2 LEDs0.03 m
0.52 m
0.14–0.30 m
0.16–0.31 m
Euclidean distance
+ RMSE
Minimum Error
Maximum Error
Average Error ED
Average Error RMSE
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

Albraheem, L.; Alawad, S. A Hybrid Indoor Positioning System Based on Visible Light Communication and Bluetooth RSS Trilateration. Sensors 2023, 23, 7199. https://doi.org/10.3390/s23167199

AMA Style

Albraheem L, Alawad S. A Hybrid Indoor Positioning System Based on Visible Light Communication and Bluetooth RSS Trilateration. Sensors. 2023; 23(16):7199. https://doi.org/10.3390/s23167199

Chicago/Turabian Style

Albraheem, Lamya, and Sarah Alawad. 2023. "A Hybrid Indoor Positioning System Based on Visible Light Communication and Bluetooth RSS Trilateration" Sensors 23, no. 16: 7199. https://doi.org/10.3390/s23167199

APA Style

Albraheem, L., & Alawad, S. (2023). A Hybrid Indoor Positioning System Based on Visible Light Communication and Bluetooth RSS Trilateration. Sensors, 23(16), 7199. https://doi.org/10.3390/s23167199

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