Abstract

In the era of mobile Internet, the application of various positioning-based location service systems is becoming more and more common. In addition, the traditional radio positioning system is limited in the use of special environments such as mines, hospitals, and gas stations, and long-term electromagnetic radiation can cause potential damage to the human body. Compared with the traditional wireless positioning technology, VLC-based positioning technology has a good application prospect in the field of indoor wireless positioning. Compared with traditional radio positioning technology, the use of VLC technology to achieve indoor positioning is different in that the system design and layout need to consider the basic needs of indoor lighting; that is, the layout of multiple visible light sources in the room should meet the minimum illumination requirements of any area of the room. Since the layout structure of the light source that only considers the lighting requirements or only considers the positioning accuracy requirements is not the same, in the design process of the indoor visible light wireless positioning system, it is necessary to consider the overall optimization layout of multiple indoor visible light sources under the conditions of lighting and positioning constraints. This paper mainly optimizes indoor positioning from the aspects of light source layout, reflected light intensity distribution, and noise model.

1. Introduction of Characteristic Positioning Methods

1.1. Visible Light Communication (VLC)

Visible light communication (VLC), also known as nm-wave communication, is a communication technology that uses the visible light spectrum of 380∼740 nm as an information carrier. Because LED is highly efficient and has the characteristics of long life and fast response, it is more suitable for wireless communication than other visible light sources.

Compared with the traditional radio frequency (RF) wireless communication, VLC has the following advantages:(i)VLC has an unauthorized bandwidth of about 400 THz and abundant spectrum resources(ii)VLC is easy to implement, allowing just adding a microcontroller to build a network using existing LED devices(iii)VLC uses visible light as a carrier and does not cause electromagnetic interference to other electronic devices(iv)VLC links can easily set up high-speed communication links above 10 Gb/s

The RF, Bluetooth, and ultrasonic methods used in the indoor positioning system have problems such as low system stability, long response time, large electromagnetic interference, and low accuracy. The VLC is free from electromagnetic interference and can be achieved with fast and accurate positioning and navigation through the indoor fixed light source. In the future, large shopping malls, underground shopping centers, and other places can reduce the loss caused by customers being unable to find the specific location of the goods through the target positioning and guidance of the intelligent pedestrian automatic support system based on VLC. Similar applications can be extended to airports, museums, and other digital location locations and are also useful in the aerospace sector. Please refer to Figure 1.

The mathematical expression for the DC gain of the direct line-of-sight optical channel from the LED to the receiving end in the model iswhere is the photodetector detection area, is the distance between the transmitting end and the receiving end, is the angle of incidence, is the emission angle, is the optical filter gain, is the light concentrator gain, is the receiver perspective, and is the light source radiation mode, and its mathematical expression iswhere is the half angle of the luminous power of the light source; that is, the radiated power at this angle is half of the central power, and the value size determines the beam directionality, and the greater the value, the better the beam directionality (1).

1.2. Maximum Likelihood Estimation Method

If the population X is of the discrete type, the form of its distribution law is known, which is the parameter to be estimated, and it is the range of possible values. Let it be a sample form; then, the joint distribution law is .

Also let be a sample value of the corresponding sample. It is easy to know the probability that the sample will get the observed value; that is, the probability of the event occurring is .

This probability varies with the value, and it is a function called the likelihood function of the sample (note that here are the known sample values, which are all constants).

Regarding the maximum likelihood estimation method, we have the following intuitive idea: the sample value that is now known indicates that the probability of taking this sample value is relatively large, and we certainly do not consider the estimates of those that cannot make the sample appear; furthermore, if it is known that a large value is taken at that time and the other values are taken at a very small value, we naturally think that it is more reasonable to take the estimate as an unknown parameter. The maximum likelihood estimation method introduced by Fisher is to fix the sample observations and, within the possible range of values, select the parameter value that makes the likelihood function reach the maximum parameter value, and the most parameter estimate is taken as .

The resulting sample value is often denoted as the maximum likelihood estimate called the parameter, and the corresponding statistic is called the maximum likelihood estimator of the parameter: .

If the population X is of the continuous type, the form of the probability density is known as the parameter to be estimated, and it is the possible value range. If it is a sample form, the joint probability density is .

If is a sample value corresponding to the sample, the probability that the random point falls in the field of points (the dimensional cube with the edge lengths are respectively) is approximately .

Its value varies with the value taken. As in the case of the discrete type, we take an estimate that maximizes the probability (7), but the factor does not change with it, so only the function is considered.

The maximum value, here called the likelihood function of the sample, if

The maximum likelihood estimate is called the maximum likelihood estimate .

Thus, the problem of determining the maximum likelihood estimator boils down to the problem of maximization in calculus.

In many cases and with respect to the microvariance, this is often available from the equation .

takes the extreme value at the same place, so the maximum likelihood estimate can also be derived from the equation .

It is often more convenient to solve from the latter equation called the logarithmic likelihood equation.

In practical applications, the power of a single LED is small, usually using led array layout, in order to facilitate calculations; each LED array is regarded as a point light source, and the channel noise model is Gaussian white noise. The simulation uses the typical simulation environment shown in Figure 2, with four light sources symmetrically distributed on the ceiling board. Based on the Lambert channel model, the distance between each light source and the PD can be calculated using the formula [1], and then the trilateral positioning method can be applied [2].

Now I discuss the positioning of PD. Under the condition of indoor multilight source, the point light source signal received by PD may be greater than 3, and a system of super determinantal equations can be established, and the maximum likelihood estimation method can be used to estimate the PD position and further improve the positioning accuracy [3].

1.3. CRB Derivation in Indoor Environment

Indoor lighting requires conditions.

Illuminance represents the degree of light and darkness on the receiving surface and is defined as the luminous flux received per unit area in lux (IX). The illuminance on the receiving surface may be expressed as

The luminous intensity of the LED center is used.

According to the relevant regulations of the International Organization for Standardization, the light intensity of ordinary indoors should generally be greater than 300 lx to meet indoor lighting requirements.

The location of the source installation will directly affect the illuminance distribution of the surface to be measured; here mainly consider whether the minimum illuminance of the surface to be measured meets the indoor lighting requirements (13), so the light source installation area that meets the indoor lighting requirements should first be calculated. The simulation parameters are shown in Table 1.

Because the four light sources are symmetrically distributed on the ceiling, their coordinate relationship is

Due to its symmetry, when is determined, the coordinates of the remaining three light sources are also determined, so only the position is discussed in this article .

Move diagonally, that is, from the ceiling edge position (0.i, 0.i) to the near-ceiling center position (2.4, 2.4), in steps of

0.1, the remaining 3 lights move synchronously. Analyze the change trend of the minimum illuminance of the surface to be measured, and the simulation results are shown in Figure 2.

As can be seen from the figure, when light source 1 is installed in the and area, the minimum illuminance of the surface to be measured is greater than 300 lx, which meets the indoor illuminance requirements [4].

The CRB of the plane is received.

For the parameter estimation problem, the CRB boundary establishes a lower bound on the variance of any unbiased estimator; that is, it is impossible to find an unbiased estimator whose variance is less than the lower limit, and it provides a criterion for comparing the performances of unbiased estimates. In the study of this paper, the performance limit of the positioning error distribution of the coordinates of the point to be measured is CRB, so, by deriving the CRB of the point to be measured, the best performance of the positioning theory under the current environmental parameters can be obtained, which has a very important guiding significance for the layout of the visible light source array. The following is a theoretical derivation of the CRB of the test point [5].

According to the simulation environment and the Lambert model formula [6], the transmitted power of each light source is set to , the received power corresponding to each light source at PD is , and the distance from the light source to the PD is projected on the surface to be measured when the PD is placed horizontally: . The noise distribution is Gaussian white noise , which can be obtained.

Because , one has

Then ; let , and the vector ; then

According to (15), and ; therefore, diagonal matrix is

On the surface to be measured, one has

Set ; then one has

According to the Cramero-Rao boundary formula, one haswhere is the covariance matrix of noise: . According to the matrix differentiation formula, one has .

Combining formulas (18) and (20), one obtainswhere can be obtained by formula (10). Replace formula (22) with formula (21) to obtain .

1.4. Comprehensive and Best Performing Light Source Layout

According to the above derivation, for a given light source layout (i.e., given four light source coordinates), a CRB of any point to be measured can be obtained, and finally a CRB of the entire surface to be measured is obtained [7]. The lower the CRB, the higher the estimation accuracy that can be achieved. Therefore, it is hoped that, for the simulated indoor environment shown in Figure 2, under the premise of meeting the indoor lighting conditions, by adjusting the different light source positions [8], the CRB of the surface to be measured is as small as possible, and then the position of the light source corresponding to the smallest CRB is found, that is [9], the light source layout with the best positioning performance [10].

Taking as an example, the sum is moved from 0.1 to 2.4 respectively , with a step size of 0.1, and the other three light sources move synchronously, and the signal-to-noise ratio at the receiving end is transmitted. The ratio is 30 dB, and the simulation results are shown in Figure 3.

2. MATLAB's Simulation of the Nearest Point Search Method

2.1. Matlab Simulation Positioning Scene

First of all, you need to build a 100 m100 m coordinate map, and the sampling point is 10 m in the map in step M. Take 5 points to be the AP point. Five actual position points were taken from the top, bottom, left, right, and middle of these 5 AP points. This is the result of the nearest point search method under the Matlab simulation [11], where the point represents the sample point taken, the five-pointed star represents the wireless access point, that is, the AP point, the difference indicates the actual location, and the point surrounded by the black triangle is the result of the nearest point search method.

2.2. Relationship between Step Length and Error

In general, as the step size decreases, the positioning will become more and more accurate, and the error will become smaller and smaller. In the nearest point search algorithm, the selection of the step size affects the size of the positioning result error; Table 1 is to select the coordinates of the 5 actual positions in the upper and lower left and right of the 5 AP points and then show the results and errors of their positioning under different steps. It specifically shows the results of positioning results and errors in different positions with the change of step size. As can be seen from the table, there is no error in positioning when the step size is 1, but the workload is too large when the step size is taken as 1, and it is impossible to imagine, so the step size of 1 is only an ideal value. According to several other zero errors, it can be concluded that there will be no errors only if the step size can be divisible by the horizontal ordinate coordinates of the actual position [12].

A plot of the step size and error of each point is given in the following. The relationship can be more directly observed through the graph.

As can be seen from the first 5 figures, the error generally shows an upward trend as the step size increases, and it can be seen that when the horizontal ordinate coordinates of the actual position are divided by the step length, the smaller the remainder, the more accurate the positioning, and in the cae of the integer division, the positioning is most accurate. Figure 4 is a plot of five position steps versus error. This graph also reflects that the error generally increases with the increase in step length.

3. Channel Characteristics and Received Power Distribution

Use several criteria such as luminous flux, luminous intensity, emission power, and illuminance to measure the luminous capacity of LED light sources.

Luminous flux is the export of radiation flux evaluated according to the international standard human eye visual characteristics, which can be multiplied by the radiation energy of a certain band per unit of time and the relative visual rate of this band, even if the radiation power of different wavelengths of light is equal [13]; due to the visual rate of human beings for different wavelengths of light, the luminous flux is also different. Representation of the relationship between luminous flux and radiant flux is as follows:

In the above formula, is the maximum value of spectral photovisual performance, generally 6831 m/W, indicates the standard spectral optometry efficiency function curve specified by the International Commission on Illumination (CIE), and indicates the spectral density of the radiation flux.

The emitted optical power represents the total energy of the light emitted by the light-emitting diode, expressed as follows: where and are the maximum and minimum values of the emitted light wavelength, determined by the sensitivity of the LED. The emission diagram of the LED light source is shown in (23).

Luminous intensity, also known as light intensity, indicates the brightness of the LED emitted light, and the unit is candela (cd); LED luminous intensity refers to the luminous flux emitted by the monochromatic light source in the unit stereo angle, which can be expressed as follows:where the luminous flux is represented as and the solid angle is represented as .

As a reference point emitting light source, LED lamp is generally selected in line with Lambertian radiation model of the light source; its luminous model light intensity distribution is shown in Figure 4.

In the above formula, the emission angle of the LED light source is represented by , and the radiation order representing the directionality of the light beam can be calculated according to the emission half power angle [14].

3.1. Direct Model, the Emitter LED

The linear baseband signal transmission model of the visible light positioning communication system is shown in Figure 3.

In the direct model, the emitter LED emits light with a modulated signal to the receiving end of the photometric PD, and the direct path channel gain between the two can be expressed as follows [14]:

In the above formula, is the receiving area of the light detector, FOV is the field of view of the light receiver, is the radiation angle, is the receiving angle, is the gain of the receiving optical filter, and is the gain of the photopolymer, which can be expressed as follows, where the refractive index is represented by [15].

In the above model, the signal strength received by the receiving end PD from the transmitting source LED lamp can be described in signal power, so the strength of the received signal may be expressed as follows:

In theabove formula, the transmit power represents the optical power, and, correspondingly, the received power represents the received optical power, as noted herein . In the positioning system model, the receiving portion of the photodetector first converts the received optical power into the form of a current, and the conversion coefficient is , represented by the following formula [16]:

Then the corresponding received electrical signal power can be expressed as follows:

This paper comprehensively considers the positioning of LED lamps as light sources for lighting, and the positioning system parameters based on MATLAB simulation are given in Table 2.

3.2. RSS Value Method for Ranging

In this article, the first use of RSS value method for ranging, for the Lambert order, will be discussed in the following. In this simulation, we looked at the more common LED lamp data on the market, we can see that most of the LED lamps of the Lambert order is used. The distribution map of the intensity of the optical signal detected by the time detector at each point in the room emitted by the light source is shown in the MATLAB software simulation [17].

Regarding the reflection model, there are two more ideal models, which are specular reflection and complete diffuse reflection; the mirror reflection in the process of light in the transmission process touches a completely smooth nontransparent object and then reflects along the reflection angle exactly the same as the angle of incidence light; this process will form a very bright area, and the smoother the surface of the nontransparent object, the smaller the highlight area. Correspondingly, there is a special nontransparent object, generally made of high-purity technetium sulfate or magnesium oxide material; ideally its surface can absorb light from any direction and emit it in all directions, while the light intensity received in all directions is still the same [18]. The incident light under this fully diffuse mode is incident from one position, but the reflected light is emitted from any direction on the surface of the nontransparent object and can be evenly emitted. The above reflection model is a reflection of two extreme cases, and, in reality, the possibility of existing under the condition of ordinary latex paint wall or wooden floor and ceiling as reflective surfaces is not very likely. Therefore, in this paper, the reflection is simulated using the Phong lighting model, which is more classic in real graphics, not only considering the ideal specular and fully diffuse models but also combining the two in proportion. The ideal specular reflection is mainly to consider that the photon emitted by the LED lamp at the emitter end is incident on an ideal smooth plane at a certain angle and then reflected at the same angle as the angle of incidence, so the reflected light of the ideal smooth surface can only be seen in the direction of reflection. The full diffuse reflection model mainly considers that the photons are emitted from the emitting source and then transmitted again after receiving through the wall, and the photons are uniformly emitted in all directions with the wall receiving point as the center, so the reflected light can be observed at every angle near the wall [19].

Secondly, the photon emitted from the LED end, after a certain distance of attenuation, is received by a micrometer surface on the wall; at this time the attenuated power is expressed as follows:

In the above formula, is the gain in the DC channel in the upper section direct injection model, is the transmitted power of the LED lamp, and is the signal power received by the wall [20].

Then, each microelement surface on the wall can be regarded as a point light source in line with the Lambert model, and the signal power emitted outward needs to be absorbed by the wall in combination with the actual situation of the wall, so the power emitted outward can be expressed as follows: where is the reflection coefficient caused by wall absorption.

Incident light is partially absorbed by the wall, and then, according to the Phong model, the ideal specular reflection is achieved at the probability , and the diffuse reflection is carried out at the probability, as shown in the following formula:

Then, after a reflection, the optical signal power received by the PD on the ground is

3.3. Noise Model

In the visible light positioning system, the noise in the link has a great influence on the positioning accuracy, and the noise described in this section is the interference caused by other factors in removing the reflected light part of the wall received by the receiving end PD, which is defined as narrow noise [21].

In order to simplify the model, the noise is mainly considered to be a Gaussian noise model that obeys the mean value of zero and the variance, and the specific parameters are shown in Table 3. The power of the thermal noise is

The power of the shot noise is expressed as follows:

3.4. Light Intensity Distribution of Reflection and Noise Models

This section gives a simulation of the distribution of reflected light and background noise other than reflected light in the indoor space; the power of the reflected light at the edge of the interior near the four walls is relatively small, but the power of the reflected light in the middle of the room is relatively small. There is direct radiation to the electrical signal intensity distribution chart; it can be seen that the maximum value of the signal intensity reaching the photo detector after a reflection is about 1/3 of the maximum value of the direct radiation reaching the signal intensity, so the impact of the reflected light on the positioning accuracy cannot be ignored, and, correspondingly [22], the intensity of the reflected light relative to the noise power after this reflection is used to achieve positioning under non-line-of-sight conditions. As can be seen from the signal power distribution of the reflected light such as the background light [23], since the shot noise dominates the noise model, it can be seen that the noise power and the power distribution in the direct beam case are in the same shape, and the noise power under the noise model is two orders of magnitude different from the direct signal power received in the line-of-sight link under the direct injection model, although there is no power of the reflected signal, but because the above is only to simplify the probability distribution assumed in the indoor environment given by the calculation, the distribution of the actual noise power is random, so the noise is still not negligible [24].

4. Visible Light Positioning Methods and Common Positioning Algorithms

4.1. Visible Light Indoor Positioning Method

The LED array located in a fixed position as a known reference point, LED in the illumination at the same time [25], will transmit out optical signal carrying the position information, as the unknown position of the receiving end of the optical detector for receiving the optical signal and detection and demodulation, while according to the received signal transmission time, angle of arrival or intensity, and then estimate the location of the specific moving target [26].

The positioning methods of LED indoor visible light positioning system are mainly divided into the following types: geometric measurement method, scenario analysis method, approximate perception method, and image sensor imaging method [27].

4.2. Geometric Surveys

The geometric measurement method is mainly on the two-dimensional plane, placing three LED lights on at least three known vertices as known position points and then estimating the distance between the LED at the transmitter end and that at the receiving end according to the time of receiving the signal [5], the signal strength, and the signal angle, and the commonly used positioning algorithms are RSS algorithm, TOA Algorithm, TDOA algorithm column, AOA algorithm, and negative and mixed localization algorithm [28].

4.2.1. RSS Positioning Algorithm

RSS positioning is mainly by measuring the received signal strength to estimate the distance between the transceiver and sender ends, so as to estimate the location of the target point to be measured, which is a more common method of measuring the distance between the transceiver ends [29]. In the LED lamp-based visible light positioning system, when the position of the LED installed on the ceiling is determined, the LED is measured by emitting light with a signal, and the photodetector carried at the target position is moved to measure the intensity of the received light into a current intensity to measure the intensity of the light signal, using its own theoretical model to estimate the distance between the LED and the PD [30].

In the two-dimensional plane, at least three known position points are required as reference points, and these three known reference points are used as the center point, and the distance between the LED and PD obtained under the above received signal strength RSS attenuation is used as a half diameter to draw an arc; then the intersection of the three arcs is the estimated position of the target unknown point [31]. As shown in Figure 5, points A, B, and C are the positions of the three LED lights, X are the coordinate positions of the moving target points., According to the received signal strength, RSS measures the distance between the three LEDs and the PD, respectively is the sum of squares of , and so that the intersection of the three circles is ideally the moving target position [11].

Based on RSS, the trilateral measurement of the value is mainly based on three known reference points A, Please refer to Figures 3 and 5.

Respectively, can be used to find the coordinates of the moving target [32]:

The above gives four common LED indoor visible light positioning basic algorithms and gives the comparison of these algorithms [33]; each algorithm can be positioned separately on the basis of sufficient reference points and measurement conditions, but it is often said in the real environment that some of these algorithms are mixed to achieve the purpose of amplifying advantages and reducing disadvantages. Compared to TOA and TDOA, the RSS and AOA methods achieve localization without full synchronization of time. Compared with RSS, TOA, and TDOA, AOA requires fewer reference points, but it requires relatively more hardware conditions and higher positioning costs [34]. Please refer to Table 4.

In order to build an indoor visible light communication system with considerable accuracy, this paper proposes an RSS positioning algorithm based on fingerprint data, which is a hybrid algorithm of RSS positioning algorithm and fingerprint library algorithm, to optimize the establishment of illumination model.

As described in equation (39), the optical power of order can be expressed by the following equation:

In the above formula, A is the photosensitive area, and Ts is the filter gain [12]. is the light concentrating gain; it is the property of the photodetector itself; the transmitter power Pt is determined by the LED drive circuit and the LED itself; all of these parameters are unrelated to the external environment, LED layout, and other influencing factors, so the only vulnerable factor in equation (39) is the Lambert radiation coefficient m. In addition, in the physical sense, the Lambert radiation coefficient represents the directionality of luminescence, and its value is related to the half power angle, so if the illumination model does not match that shown in Figures 31, that is, the upper half power angles along different directions, the Lambert radiation coefficient m will also deviate. Repeated experimental measurements show that the LED contains more than one lamp bead, and the vertical distance between the LED and the light surface is not far in the order of magnitude greater than the lamp bead spacing. To sum up, how to accurately estimate the Lambert radiation coefficient m is the key to build the actual VLC indoor positioning system [35].

5. Conclusion

LED lamp green environmental protection pollution-free, high efficiency and energy saving safety, signal transmission speed, can provide considerable modulation bandwidth and other advantages. The LED light emitting system realizes the light emitting communication function and provides an opportunity for the rapid development of visible light communication technology. As the most important branch of visible light indoor communication applications, visible light positioning system has been concerned by many scholars and researchers at home and abroad because of its simple equipment and low system price [32].

In this paper, the reflection model of the wall surface is first proposed on the basis of the ideal direct beam model, and considering its impact on the indoor positioning effect, the Taylor series expansion iterative positioning algorithm and the classical least squares algorithm are used to achieve indoor positioning. On the basis of the original ideal classical least squares method, the improvement is proposed, taking into account the coefficients caused by the artificial arrangement of the transmitter [15]. Maximum likelihood estimation method is used to optimize the indoor positioning. RSS positioning algorithm and noise model are simultaneously mentioned in the article. Meanwhile, the author also provides detailed explanations regarding these problems. There are also errors in the matrix using the idea of the overall least squares to optimize the positioning algorithm, and finally the implementation of a variety of algorithms is compared and analyzed, and it is found that the new algorithm has achieved a relatively good positioning effect [36].

Data Availability

Data cannot be shared without permission.

Conflicts of Interest

The author declares that there are no conflicts of interest.