3.1. Height Estimation
As can be seen from Equation (
9), when only the received power intensity is obtained, the distance calculation requires the height difference between the LED light source plane and the PD plane to be known. However, in three-dimensional positioning, the height of the PD, namely the value of coordinate z, is unknown, which means the distance cannot be directly calculated by the Equation (
9). Therefore, we considered using an artificial intelligence algorithm to explore the internal relationship between the PD height value and the RSSI from different LEDs received by the PD, and generated the height estimation model for the subsequent distance calculation process.
Figure 4 shows the flow chart of training process of height estimation model proposed in this paper.
Firstly, the system model is built, the appropriate data composition is designed and selected, and the data set is generated. After the data set is normalized, it is put into the appropriate artificial intelligence algorithm for training. According to the test set results and errors, the height estimation model with the best performance is output for the overall positioning process.
The height range of the positioning area is , dividing the height range evenly into parts according to the interval of , that is . The height plane set is , where , and the corresponding height label set is . Since the height is a continuous value, this paper considers using artificial intelligence algorithms such as regression algorithm.
3.2. Point Classification
In visible light communication, visible light signals are easily reflected by walls, floors and ceilings, leading to obvious multi-path effects in the room. The influence of multi-path effect differs across varying positions of the indoor area.
Figure 5 shows the channel response ratio distribution of first-order reflection to the LOS link on the indoor 0.85 m height plane. The colder the color of the color block, the lower the ratio, indicating that the first-order reflection at this position has less influence on the LOS link, that is, a weaker multi-path effect. On the contrary, if the color block is warmer, the ratio is higher, indicating that the first-order reflection at this position has a greater influence on the LOS link, which means the multi-path effect is stronger. It can be clearly seen from
Figure 5 that the multi-path effect is strong at the four corners of the room and the area near the wall. The closer the area to the center of the room is, the weaker the multi-path effect is. Based on this, this paper considers that different positions in the room can be divided into ordinary points and edge points. At the same time, due to the hardware limitations of LED and PD, some areas of the room can not receive LOS signal from some LED light sources, so this part of the area is classified as a blind area. To sum up, this paper divides the indoor area into three categories: ordinary points, edge points and blind points, so that different data processing methods can be carried out for different types of position points in the next step to effectively reduce the multi-path effect.
The flow chart of training process of the point classification model proposed in this study is shown in
Figure 6. Firstly, the system model is built, the appropriate data composition is designed and selected, and the data set is generated. After the data set is normalized, it is put into the appropriate artificial intelligence algorithm for training. According to the test set results and errors, the point classification model with the best performance is the output for the overall positioning process.
The specific criteria for point classification proposed in this paper are as follows:
The receiver coordinate is , the angles between the receiver and N LED light sources are , then
(1) When the receiver is located near the wall, that is or or or , or located at four corners of the room, that is or or or , this receiver point is the edge point, and the label is set to 2;
(2) When , the receiver is the blind point, and the label is set as 3;
(3) If the above criteria are not met, this receiver point is an ordinary point and the label is set as 1.
Among them, the blind point classification has the highest priority. In other words, if the receiver meet criteria (1) and (2) at the same time, this receiver point is categorized as a blind point and the label is set as 3.
Where is the wall edge interval, is the corner edge interval. Since the point type label values are discrete values, artificial intelligence algorithms such as classification algorithms are considered in this paper.
3.4. Complete Process
A novel visible light positioning system based on point classification using artificial intelligence algorithms is proposed in this paper, and its overall process is shown in
Figure 8. There are six steps involved as follows:
Step 1: Obtain the total received power data of LED light sources received by receiver points to be positioned. The total received power refers to the sum of the received power from the LOS link and NLOS link of one single LED light source received by one single receiver to be positioned.
Step 2: Put the total received power data into the height estimation model to obtain the height value of the points to be positioned.
Step 3: Put the total received power data into the point classification model to obtain the label value of points to be positioned.
Step 4: According to the labels of the points to be positioned obtained in step 3, put the total received power data of the points to be positioned into the corresponding mapping model to obtain the LOS link received power of the points to be positioned.
Step 5: Calculate the distances between the points and different light sources according to the height value obtained in step 2 and the LOS receiving power obtained in step 4.
Step 6: According to the distances obtained in step 5, the least square method is used to calculate the coordinates of points to be positioned.
Where height estimation model, point classification model and received power mapping model are obtained by the aforementioned processes.