1. Introduction
With the increasing shortage of radio frequency spectrum and the development of light-emitting diodes (LEDs), visible light communication (VLC) has attracted extensive attention from many scholars [
1,
2]. Compared to conventional wireless communications, VLC has higher rates, lower power consumption, and less electromagnetic interference [
3,
4,
5]. As a combination of communication and illumination, VLC achieves reliable communication and high-quality illumination through the fast response characteristic of LEDs. For convenience, VLC systems realize high-speed communication utilizing intensity modulation and direct detection (IM/DD). There is no doubt that VLC is a novel wireless communication mode with great potential. At the same time, illumination function plays an essential role in the indoor VLC system. Dimming control is one of the most crucial illumination functions that can adjust the brightness according to the users’ requirements under the condition of ensuring normal communication functions [
6]. However, the dimming control function may affect communication performance to some extent. Therefore, how to balance the dimming control function and the communication performance is a challenge for VLC systems. In order to meet this challenge, lots of researchers have proposed many dimming control schemes.
Variable on-off keying (VOOK) scheme and variable pulse position modulation (VPPM) scheme are two basic dimming control schemes proposed by the IEEE 802.15.7 task group [
7]. The frames of the VOOK scheme can be divided into data frames and free frames. Data frames are utilized to realize communication, while free frames are responsible for dimming control. VPPM scheme is the combination of 2-pulse position modulation (2-PPM) and pulse width modulation (PWM), in which 2-PPM is used to realize data transmission, and PWM realizes dimming control. Paper [
8] proposed multiple pulse position modulation (MPPM) scheme, which can further improve the spectral efficiency and error performance for dimmable indoor VLC systems. When
n approaches infinity, the MPPM scheme can reach the theoretical limit of transmission efficiency. Those modulation based schemes realize dimming control and data transmission through different modulation mode. A rate-compatible punctured code (RCPC) scheme has been proposed in [
9]. The RCPC scheme can provide a wide range of brightness and simple coding structure for all different rates. Paper [
10] provides a modified Reed-Muller (RM) code based scheme which utilizes a coset constructed from a bent function and RM codes for providing dimming control function. Paper [
11] proposed a dimming control scheme based on weight threshold check code (WTCC), which can achieve dimming control and improve spectral efficiency further. The scheme is proposed for binary data transmission but can not provide constant transmission efficiency. The transmission efficiency will change when the dimming factor varies. Those coding-based schemes realize dimming control and data transmission by different encoding/decoding constructions. A dimming control scheme based on multilevel parity check codes (ML-PCC) proposed in paper [
12], and paper [
13] introduced a dimming control scheme based on multilevel incremental constant weight codes (ML-ICWC). Both of the two schemes are proposed for multilevel transmission and can not provide constant transmission efficiency. Significantly, the ML-PCC scheme can provide better error performance than the ML-ICWC scheme, but the dimming factor of ML-PCC can not cover the whole range.
However, all the dimming control schemes we mentioned above have the same problem: The transmission efficiency is not constant when the dimming factors are different. To solve this problem, paper [
14] presents a block coding-based dimming control scheme that can provide constant transmission efficiency. Nevertheless, the dimming range and the error performance of the block coding-based scheme still has room for improvement. In this paper, we propose a dimming control scheme based on extensional constant weight codeword sets (ECWCS) to realize dimming control with constant transmission efficiency. The simulation results show that when the transmission efficiency and dimming factor are both the same, the error performance of the proposed scheme is better than that of the block coding scheme. We can also conclude that the proposed scheme has a wider dimming range than the block coding scheme. The ECWCS scheme can provide constant transmission efficiency, a wider dimming range, and a lower division value of the dimming factor. Therefore, the ECWCS scheme is a better choice for the indoor scene with variable brightness, such as office, conference room, classroom, and movie theater.
The rest of this paper can be settled as follows:
Section 2 proposes the system model of the proposed ECWCS scheme. In
Section 3, the motivation, codeword construction, and the encoding/decoding procedure of the proposed scheme are given.
Section 4 shows the simulation results of the proposed scheme and the contrast scheme. The conclusion of the whole paper is shown in
Section 6.
2. System Model
The system model of the proposed ECWCS scheme will be presented in this section. In this paper, the scheme is proposed for the single-input single-output VLC system, which contains a single LED and a single photodetector (PD). The system model is shown as
Figure 1. First, the codeword set is constructed according to the dimming factor. After generated by the massage generator, the binary data is encoded by the dimming encoder. Then the coded binary data are modulated by the OOK modulator to the LED. After passing through the optical channel with additive white Gaussian noise (AWGN), the received signals are detected by the PD and then decoded by the dimming decoder. There is a point that should be noted: This scheme can not only be applied to OOK modulation but also pulse amplitude modulation (PAM) and multi-carrier modulation (MCM).
Figure 1 is just an example of the ECWCS scheme applied to OOK modulation for the convenience of understanding. When the algorithm is applied to PAM, we should also adjust the average code weight of the codeword set to realize dimming control. Because PAM has a higher modulation order, the codeword set will be further expanded, and the spectral efficiency will be further increased. However, the corresponding error performance will have a certain amount of loss. When the algorithm is applied to MCM, we should ensure the average code weight of the codeword set for every subcarrier is constant and adjust it to realize dimming control. When MCM is utilized in the proposed ECWCS scheme, the throughput will be increased, and the resistance to interference will be enhanced. However, the implementation complexity and cost will also be significantly increased. Modern Discrete Multi-Tone (DMT) modulation is a kind of MCM and can be utilized in the proposed scheme. Paper [
15] reported the first visible light link based on WDM and DMT modulation of a single RGB-type white LED, and paper [
16] proposed 1-Gb/s VLC systems using a white LED and the DMT signal. Both of the two schemes improved the throughput to a large extent. However, the implementation complexity and the cost of the electronic devices are weaknesses for the DMT modulation.
At last, the message will be output to the users. In this system model, there are a few assumptions that should be noted:
- a.
The channel state information (CSI) is available both at the receiver and the transmitter.
- b.
Compared with the direct light, the reflected light is much weaker in the indoor VLC systems [
1,
17]. For the convenience of computer analysis, we only consider the LOS path. Therefore, the multipath influence may not be considered in the proposed indoor dimmable VLC system.
- c.
A static link should be supposed in the proposed scheme because the channel is slow time-varying.
From
Figure 1 and the assumptions we mentioned before, we can conclude that the received signal can be expressed as
where
y represents the received signal,
x denotes the transmitted signal,
is the photoelectric conversion factor which can be normalized as
,
h is the channel gain we will introduce in this section, and
n is the additive white Gaussian noise of which the mean is 0 and the variance is
.
From the contents in [
1], the channel can be modeled as the Lambertian model, and the channel can be calculated by:
where
h is the channel gain between the receiver and the transmitter,
D is the distance from the LED to the PD,
u is the order of the Lambertian model, and
A represents the physical area. The other physical quantities are about illumination.
is the incidence angle, and
denotes the irradiance angle.
represents the optical filter gain of the LED,
is the concentrator gain of the LED, and the field of view (FOV) of the PD can be represented by
[
1].
For the dimmable VLC systems, there are two crucial constraints. The first constraint is the peak power constraint. The LEDs utilized for the VLC system have the optimal operating range due to the characteristics of nonlinear. We should also take the eye safety of the users into account [
18]. Therefore, the peak power constraint is necessary, and it can be expressed as
, where
is the peak power. In this paper, we can normalize the peak power without loss of generality, which can be expressed as
. So the normalized power limitation is
The other constraint is the dimming control constraint. In essence, the dimming control function of the peak power limited VLC systems is to adjust the average power when the peak power is fixed. The dimming factor is the ratio of the average power to peak power. We adjust the average power to meet the requirements of the users by communication technologies [
9]. Therefore, the dimming control constraint can be expressed as
where
denotes the dimming factor of the dimmable VLC systems with the range
.
3. The Proposed Dimming Control Scheme
This paper introduces the motivation, the codeword set construction, and the encoding/decoding procedure of the proposed ECWCS scheme.
3.1. Motivation of the ECWCS Scheme
In order to realize dimming control for VLC systems with constant transmission efficiency, paper [
14] proposed a scheme based on block coding via the bitwise AND operation. The error performance and spectral efficiency still have room for improvement. Motivated by the works in [
12,
13], we propose a dimming control scheme for VLC systems with constant transmission efficiency. In the proposed scheme, the code weight of the codewords in a set are all odd or all even. Therefore, the minimum Hamming distance of a codeword set is 2, which can improve the error performance to a certain extent. Meanwhile, the extensional constant weight codeword set scheme can achieve arbitrary dimming control within a wide range.
3.2. Construction of the Codeword Set
In this subsection, we provide the construction of the codeword set. Firstly, some notations should be defined. In the proposed ECWCS scheme, the transmitted binary data should be divided into several binary data sequences with the same length. We define the length of the original binary sequence is k, thus the original binary sequence can be expressed as . The length of the dimming coded binary sequence is defined as n, thus the coded binary sequence is represented by . From the definitions provided above, it is not difficult to know that the most important point of the proposed scheme is to find the proper value of n and construct the codeword set when k is known.
We know that when
i is a positive integer and
, the combinatorial number have the relationship as follows:
, where
represents the combinatorial number of selecting
m elements from
n elements. The essence of the proposed scheme’s codeword set construction is to increase the number of codewords available while keeping the transmission efficiency constant and dimming control function. In order to ensure the dimming control function, the average code weight of a codeword set should be fixed. In order to obtain a constant transmission efficiency, the ratio of
k to
n should be a constant when the dimming factor
varies. Based on the above two points, when the length of the original binary sequence
k is fixed, the length of the coded binary sequence need to satisfy the condition:
We define
is the codeword set constructed by the proposed scheme, and
m represents the total number of bit ‘1’ of all elements in set
. Thus the dimming factor can be expressed as
From Equation (
6) and the analyses in this subsection, we know that the dimming range of the proposed dimming control scheme is
and the division value of the dimming factor is
. The reason for the division value is
rather than
is as follows: In order to improve the error performance, we make all the code weight of the codewords in the codeword set odd or even to ensure the Hamming distance of the codewords in the codeword set is 2. For example, if 111000 is a codeword in the codeword set
, the code weight of the rest codewords in
are all odd. Meanwhile,
is an even, and
m is the total number of bit ‘1’ of all elements in set
. In other words, it represents the total code weight of codewords in
. The summation of
odd numbers (or even numbers) is an even number, thus the division value of the dimming factor is
. For the sake of calculation, in the rest of this paper, the dimming factor
, where
a is an even integer with
. According to the value of the dimming factor, the encoding procedure can be divided into two cases:
For the convenience of expression, we define i is a positive integer and .
- (1)
When the dimming factor , the code weight of every codeword in the codeword set is i. Therefore, we can not only guarantee the dimming factor but also ensure the Hamming distance of the codewords in the codeword set is 2 to improve the error performance.
- (2)
When the dimming factor and , the construction of the codeword set is more complicated. First we find the range . Then we encode the original binary codes like the last case which makes all the code weight of every codeword in set is i. At last, we calculate , , select q codewords in and replace two bit ‘0’ with two bit ‘1’ of the q codewords respectively.
To make it easier to understand, we fix
provide two examples for the two cases. When
, we can calculate
from Equation (
5), thus we fix
. The examples are as follows:
Example 1. When the dimming factor , . Therefore, the mapping between the original binary sequence and the dimming coded binary sequence is shown in Table 1. Example 2. When the dimming factor , we firstly find the range and conclude that . Then we construct a codeword set with like the last example and calculate that , . Thus we select 2 codewords in and replace two bit ‘0’ with two bit ‘1’ of the 2 codewords respectively. Therefore, the mapping between the original binary sequence and the dimming coded binary sequence is shown in Table 2. The construction of the codeword set can be summarized in Algorithm 1.
Algorithm 1: Construction of the Codeword Set. |
Input: The dimming factor , the length of original binary sequence k and the original binary signal Fix proper the length of the coded binary sequence n by the constraint: . If , where i is a positive integer and Construct the codeword set in which the code weight of every codeword is i. Else If and Find the range Construct the codeword set in which the code weight of every codeword is i. Calculate and Select q codewords in and replace two bit ‘0’ with two bit ‘1’ of the q codewords respectively. End End Output: The codeword set |
3.3. Encoding/Decoding Procedure the ECWCS Scheme
In the last subsection, the codeword set
is constructed by Algorithm 1. By the construction of the codeword set, we can obtain the mapping relation between the original binary sequence and the dimming coded binary sequence from the table like
Table 1 and
Table 2. In this subsection, the encoding/decoding procedure will be introduced.
For the encoding procedure, we first divide the original binary signal into several length-k binary sequences. Then we map the binary sequence to the length-n dimming coded binary sequence . In the end, we can obtain the transmitted binary signal x.
For the decoding procedure, paper [
19] provide a fast decoding algorithm. Motivated by the contents in paper [
19], we provide a decoding algorithm to decrease complexity. We know that the traditional Maximum Likelihood (ML) decoding algorithm is to compare the probability density function of the received sequence
conditioned on the coded binary sequence
when the system is a single-input single-output system, which is expressed as [
20]:
The decoder can be simplified as:
In order to decrease the complexity of the decoding procedure, the decoder can also be given as:
When the received signal is the same one and the code weight is a constant, the decoder is represented by:
Due to the coded sequence
is a binary sequence, we should only find the position of bit ‘1’ in
and sum the elements at the same position in
. For example, when
and
, the summation is
. After we get the estimated sequence
of
, we can recover the original binary data by looking up from the table like
Table 1 and
Table 2.
The proposed decoding algorithm is for the constant weight codes. Therefore, according to the two cases in the last subsection, there are two cases for the decoding algorithm. The two cases are as follows:
- (1)
When the dimming factor , the code weight of every codeword in the codeword set is i. Thus we can utilize the proposed decoding algorithm directly.
- (2)
When the dimming factor and , the code weight of every codeword in set is not a constant. First we find the range and calculate , . Then we find the q codewords the code weight of which is not i in . At last, replace two bit ‘1’ with two bit ‘0’ of the q codewords respectively. That is the inverse process of the codeword set construction and requires the decoder to know the details of the construction process. In this way, we can utilize the proposed decoding algorithm.
The decoding algorithm can be summarized in Alogrithm 2.
Algorithm 2: Decoding Procedure. |
Input: The dimming factor , the length of original binary sequence k, the length of received binary sequence n, and the received sequence If and Find the range Calculate and calculate Replace two bit ‘1’ with two bit ‘0’ of the q codewords respectively. Else If , where i is a positive integer and End End Find the position of bit ‘1’ in , sum the elements at the same position in , and obtain the estimated sequence of . Recover the original binary data by looking up from the table like Table 1 and Table 2. Output: The estimated signal of the original binary signal . |
4. Simulation Results
In this subsection, we will provide the simulation results, including dimming range, error performance, and spectral efficiency. The analysis will be provided at last.
4.1. Dimming Range
Dimming range is the range that can be achieved by a dimming control scheme, which can be expressed as:
where
is the minimum dimming factor,
represents the maximum dimming factor, and
is the dimming range.
For both the two dimming control schemes with constant transmission efficiency, including the block coding scheme and the proposed ECWCS scheme, the dimming range depends on the value of
n and the value of
n is affected by the value of
k. Thus we provide the relationship between
k and the dimming range
. What needs illustration is that the length of the coded binary sequence
n of the proposed ECWCS scheme is not unique when
k is fixed. For convenience, we utilize
. In paper [
14], the dimming range of the block coding dimming control scheme can be summarized as
Table 3, and the dimming factor’s division value of the block coding scheme is
.
The dimming range of the proposed ECWCS dimming control scheme is shown in
Table 4.
Figure 2 shows the dimming range under different
k. From
Table 3 and
Table 4 and
Figure 2, we can know that the proposed ECWCS scheme has a wider dimming range and a lower division value compared with the block coding scheme. We can also see that under the condition of
, the dimming range is nearly all covered when the ECWCS scheme is utilized.
4.2. Error Performance
Error performance is another essential index for VLC systems. It is represented by curves of the bit error rate (BER). The curves describe the relationship between the signal-to-noise ratio (SNR) and BER. The SNR can be expressed as [
21]:
where
is the code rate.
In this paper, we compare the block coding dimming control scheme and the proposed scheme. From the discussion before and the contents in the last subsection, we know that the length of the coded binary sequence
n of the proposed ECWCS scheme is not unique when
k is fixed. As shown in Equation (
5), for the proposed scheme
. While for the block coding scheme,
. Therefore, we fix the value of
n,
k, and
to compare the error performance of the two schemes for fairness.
From
Figure 3, we can conclude that when the value of
n,
k, and
are the same, the error performance of the ECWCS scheme is better than that of the block coding scheme. That is because the minimum Hamming distance between the codewords of the ECWCS scheme is larger than that of the block coding scheme. We can also see that for the proposed ECWCS scheme, the error performance with
outperformed
under the same dimming factor.
For clarity, we demonstrate the adaptability of this system in terms of provided illuminance. First, we introduce the relationship between the dimming factor and illuminance. We know that the dimming factor is the ratio of the average power to peak power, and the range of dimming factor is
. The value of the dimming factor reflects the illuminance of the LED. With the increase of the dimming factor, the illuminance of the LED increases gradually. Then we demonstrate the relationship between BER and illuminance. We can assume a set
consists of the Euclidean distance between any two distinct received signals. The minimum Euclidean distance (MED) of the received signals can be defined as the minimum of the elements in set
. Therefore, the MED of the received signals can be expressed as:
where
and
are two distinct received signals.
Similarly, the MED of the transmitted signals is:
where
and
are two distinct transmitted signals.
We know that the received signal can be expressed as Equation (
1) in
Section 2. We substitute Equation (
1) into Equation (
13) and the MED of the received signals can be also expressed as
There is a point that should be noted: In terms of sequences, the received signal is the received sequence
and the transmitted signal is the coded binary sequence
. The distance between the signals means the distance between the sequences, and the numbers in the sequence represent the intensity level of the optical signal. From the contents in paper [
22], we know that the BER curve can represent the error performance, and the error performance is determined by the MED of the received signals when the SNR is fixed. Therefore, in the proposed system model of this paper, the error performance is determined by the MED of the transmitted signals when the SNR is fixed. The way we explain the BER metric according to minimum Euclidean distance is not only for OOK modulation but also for pulse amplitude modulation. In this paper, we provide OOK modulation as an example to introduce the ECWCS scheme. For the proposed ECWCS scheme, the MED of the transmitted signals is constant when the dimming factor varies. Therefore, the BER curves are the same with different dimming factors. However, when the dimming factor varies, the average power of the transmitted signals changes. The SNR will be affected by the change of the average power of the transmitted signals. With the increase of the average power, SNR increases gradually. Therefore, the error performance will be affected by the dimming factor. From the above reasoning and the BER curves provided in
Figure 3, we can conclude that with the increase of the dimming factor, the error performance gets better gradually.
4.3. Spectral Efficiency
The dimming control scheme based on extensional constant weight codeword sets is proposed for indoor VLC systems with constant transmission efficiency in this paper. The other dimming control schemes widely utilized can not realize constant transmission efficiency when the dimming factor varies. Spectral efficiency indicates the effective bit rate
can be realized when the bandwidth
B is fixed and can be expressed as:
When the bandwidth B is fixed, the spectral efficiency is only related to the effective bit rate . Therefore, the spectral efficiency can reflect the transmission efficiency and the effective throughput. The proposed ECWCS scheme guarantee that the spectral efficiency is not affected by the variation of the dimming factor through the unique way of encoding. Therefore, we can say that the proposed ECWCS scheme realizes constant spectral efficiency.
Figure 4 shows the spectral efficiency comparison between the proposed ECWCS scheme and other dimming control schemes without constant transmission efficiency when the length of the coded binary sequence
.
We can see from
Figure 4 that the spectral efficiency of the VOOK scheme and the VPPM scheme is greater than that of the ECWCS scheme within a specific dimming range. However, when the dimming factor is close to 0 or 1, the spectral efficiency of the ECWCS scheme is greater than that of the VOOK scheme and the VPPM scheme. It can be construed that the constant transmission efficiency is guaranteed by reducing the spectral efficiency within a specific dimming range.
We can assume a scenario that the users need to change the dimming factor of the indoor VLC system from
to
. When we utilize the VOOK scheme or the VPPM scheme, the transmission efficiency varies according to the value of the dimming factor, and the communication quality would be influenced. On the other hand, for example, when the length of the coded binary sequence
, the dimming factor’s division value of the VOOK scheme and the VPPM scheme is
. From the contents in
Section 3, we know that the dimming factor’s division value of the proposed ECWCS scheme is
. Therefore, based on the above two points, the proposed ECWCS scheme is a better choice for the indoor scene with variable brightness.
4.4. Analysis
In this section, we have provided a comparison to the currently existing variable-weight coding scheme, which is called block coding dimming control scheme [
14]. The code weight of the block coding dimming control scheme is variable when the dimming factor is fixed. Thus we can classify it as the variable-weight coding scheme. We can know that compared with the block coding dimming control scheme, the ECWCS scheme has a wider dimming range, a smaller division value, and better error performance.
The currently existing constant-weight schemes can not provide a constant transmission. All of those schemes have the same code weight when the dimming factor is fixed. However, when the dimming factor varies, the code weight and transmission efficiency will change. Thus it is unfair to compare those schemes with the proposed ECWCS scheme. When we utilize constant-weight codes to realize dimming control with constant transmission efficiency, it will add redundancy compared with the ECWCS scheme. For example, we fix the dimming factor is and the length of the original binary sequence is . The length of the coded binary sequence is when the ECWCS scheme is utilized, and the length of the coded binary sequence is when utilizing constant-weight codes.