VLC Based Mtion Detection
VLC Based Mtion Detection
motion detection
Atul Sewaiwar, Samrat Vikramaditya Tiwari, and Yeon-Ho Chung∗
Department of Information and Communications Engineering, Pukyong National University,
South Korea
∗ yhchung@pknu.ac.kr
1. Introduction
Radio frequency (RF) based wireless communication networks are in constant search for high
speed, high efficiency and wide frequency spectrum to cope with an ever-increasing volume
of data traffic. As an alternative to this RF based wireless communications, visible light com-
munication (VLC) has been emerged over the last decade [1–5]. Up until now, VLC has been
conceived a transmission technology providing illumination plus communication in an indoor
environment.
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18769
We propose motion detection as another paradigm of functionality in VLC that can effi-
ciently be used to control smart devices in conjunction with emerging VLC based smart home
environments [5]. Motion detection techniques have been studied in terms of optical motion
detection or motion gesture control (MGC) using infrared (IR) [6, 7] and optical cameras [6].
The drawback of the IR based motion detection techniques is that the techniques need extra
hardware and circuitry to transmit the detected motion information. Moreover, it is certain that
it cannot be used for illumination. On the other hand, the optical camera based motion detection
can cause an intrusion of privacy and requires more complex processing circuitry and high pro-
cessing power. As an additional functionality to the existing VLC links, the VLC based motion
detection is considered. This technique offers low-cost and efficient motion detection and thus
will exhibit great potential in indoor VLC smart devices environments.
In the proposed technique, we present a unique and novel motion detection using VLC;
therefore, three independent functionalities are provided from the existing VLC links, i.e. il-
lumination, communication and motion detection. Based on an array of photodetectors (PDs),
which is used for communication and motion detection, the motion is detected by observing
the pattern created by intentional obstruction of the VLC link. We also propose an algorithm
to identify the motion created by the user. Experimental and simulation results demonstrate the
validity of the proposed VLC based motion detection technique.
Section 2 provides details of the proposed motion detection technique. Experimental setup
is explained in Section 3 and results are discussed and analyzed in Section 4. Conclusions are
drawn in Section 5.
Fig. 1. Principle of motion detection (a) Array of PDs. (b) Thresholds for data detection.
(c) “On” condition. (d) “Off” condition.
The basic principle behind the proposed technique is to utilize an array of PDs for the de-
tection of the pattern created by intentional obstruction in the established VLC link. This array
also contributes to enhanced VLC performance via receiver diversity obtainable from multiple
PDs. Without loss of generality, we assume a total of 9 PDs employed in the present motion de-
tection. Figure 1 shows the principle of the proposed motion detection technique. For the data
detection, we define two threshold levels, Th1 and Th0 . That is, the intensity detected above
Th1 is considered “1” and the intensity detected between Th1 and Th0 is deemed “0”. If the
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18770
intensity goes below Th0 , it is “No data” (ND) condition.
This ND condition occurs when the obstruction is intentionally created in the VLC link.
In other words, the ND detection for a period of time in a predefined fashion provides the
exact detection of the pattern created by the motion. As an example, the pattern for “ON”
command can be created by intentionally making a straight line over any of the three sets of
PDs. Likewise, the pattern for “OFF” command can be created by making a circle. Figures 1(c)
and 1(d) show these patterns. The detailed algorithm for the detection of these command signals
is explained in the subsequent section. Note that with the present PD array, we can create not
only the basic motion control signals, i.e. “ON” and “OFF”, but also advanced control signals
such as “Increase” and “Decrease”. Figure 2(b) shows these motion control signals.
(a) (b)
Fig. 2. Motion control signal (a) Basic control (ON and OFF). (b) Advanced control (In-
crease and Decrease).
As noted earlier, the array of PDs acts as the VLC receiver as well as the motion sensor.
Figure 3 shows the structure of the proposed VLC based motion detection technique where
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18771
there are two paths, i.e. the VLC data transmission and the motion detection. For the data
transmission, we have the three groups formed from all PDs with each group having three PDs.
This grouping will facilitate efficient decoding of the transmitted data from the PDs, even when
the motion detection technique is in operation. The received signals from the three groups
of the PDs are first fed into the threshold detector and demodulator (TDD). The TDD block
estimates the received intensity, detects the transmitted symbols, and converts the symbol into
a bit stream. Since we employ the OOK modulation, symbols are interchangeable with bits. The
binary data from each PD through the TDD block is then passed to the selection combining (SC)
blocks where the most probable bit is detected [8]. The detected bits from the three different
blocks are provided to the decision circuit to accurately decide whether the bits are either “0” or
“1”. Finally, the line decoding is performed to recover the transmitted bits. Note that when the
obstruction occurs, the detected bits from one or two particular SC blocks may not be accurate.
Therefore, the decision circuit is employed for further reliability of the data detection.
On the other hand, for the motion detection, the signals from all PDs are fed into the motion
detection circuit so as to detect the pattern created by the user as shown in Fig. 3. The mo-
tion detection circuit detects the ND condition as mentioned in Section 2.1 and subsequently
identifies the pattern created by the user. Then, this detected motion will eventually initiate the
intended control of the devices.
The algorithm for the motion detection is illustrated in Fig. 4. It is important to note that the
user is assumed to create the predefined patterns and the algorithm detects the patterns over the
VLC link. The proposed algorithm is designed to provide a degree of flexibility. For example,
the pattern for the “ON” signal can be drawn, starting from either PD 1 or PD 2 or PD 3, not in
the reverse order. Similarly, for the pattern of the “OFF” signal, the user can start from any of
PD 2, 4, 6 and 8.
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18772
Figure 5(a) shows the pattern detection starting from any of the three PDs, i.e. PD 1, 2 or 3
for the “ON” condition. It can be observed that the obstruction occurs at the designated PDs
after an interval of Δt. Likewise, Fig. 5(b) shows the circular pattern for the “OFF” condition
with the assumption that the pattern begins at PD 2. It also shows flexible pattern detection
capability for the “OFF” signal when the user does not complete a full circle or the user starts
from PD 6. For the “ON” signal, the detection algorithm is also flexible that it can be designed
to detect from PD 7 or 8 or 9. It was found, however, that the “ON” signal requires at least 3
PDs for accuracy and reliability of the motion detection.
(a)
(b)
It should be noted that the present study focuses on the validity of the proposed motion
detection technique while providing an efficient VLC link. For this reason, we employ the sim-
plest modulation scheme of OOK to demonstrate the effectiveness of the proposed technique.
Nevertheless, the proposed technique can readily be extended simply by defining the minimum
threshold (Th0 ) for the ND condition, to accommodate other modulation schemes such as or-
thogonal frequency division multiplexing (OFDM) [2], pulse position modulation (PPM) [4],
pulse width modulation (PWM) [4] etc.
3. Experimental setup
In order to verify its effectiveness, we performed experiments with an array of LEDs comprised
of 20 RGB LEDs having a modulation bandwidth of 120 MHz with an optical output power
of 60mW each . This optical output power is considered adequate in fulfilling the need of
illumination. We used the NRZ OOK modulation scheme as described previously. In addition,
prior to the modulation, a line encoding scheme mentioned in [4] was employed to remove a
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18773
long trail of 1 and 0 from the data. The data transmission was performed at a data rate of 10
kbps, based on Arduino ATMEGA 2560.
(a) (b)
Fig. 6. Experimental setup (a) LEDs and PD array. (b) Enlarged view of PD Array.
The experimental setup for the demonstration of the proposed motion detection is shown in
Fig. 6(a). Figure 6(b) shows an array of 9 PDs in a more detail at the receiver side with a field
of view of (FOV) of 60◦ , a physical area of 1.0 cm2 and responsitivity equal to 1. Along with
the PD array, Arduino ATMEGA 2560 board was also utilized at the receiver end.
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18774
(a)
(b)
For more advanced motion gestures in addition to the present gestures considered, the pro-
posed detection technique can further be extended by defining the patterns and subsequently the
detection algorithm with a denser PD array having a large number of PDs or the use of imaging
receivers. This denser PD array or imaging receivers can also enhance detection accuracy for
the advanced motion gestures at the expense of more complex detection algorithm.
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18775
Fig. 8. BER performance comparison.
5. Conclusion
A unique and novel technique for the VLC based motion detection is presented. The proposed
technique is found to provide accurate detection of the motion while satisfying illumination
requirement. The detection algorithm is also presented on the basis of the obstruction duration
(Δt) created by the user. The experiments and simulation results show that the proposed tech-
nique is able to accurately detect the motion using an array of PDs and also does not affect
existing VLC link performance. The proposed VLC based motion detection can be considered
an additional functionality of emerging VLC systems and is envisioned to perform a relatively
basic control of present or future smart devices in environments such as VLC based smart
homes where the device control via motion detection can aptly be facilitated.
Acknowledgment
This research was supported by Basic Science Research Program through the National Research
Foundation of Korea (NRF) funded by the Ministry of Education (2015R1D1A3A01017713).
#241351 Received 25 May 2015; revised 3 Jul 2015; accepted 7 Jul 2015; published 10 Jul 2015
© 2015 OSA 13 Jul 2015 | Vol. 23, No. 14 | DOI:10.1364/OE.23.018769 | OPTICS EXPRESS 18776