LiFi Tutorial : Understanding LiFi Protocol, its Working and Applications
LiFi (Light Fidelity) is a cutting-edge wireless communication technology that uses visible light to transmit data at high speeds. With the growing demand for faster, more secure and efficient communication systems, LiFi is emerging as a powerful alternative to traditional radio-frequency-based systems like WiFi. This LiFi tutorial describes LiFi protocol layers, how Lifi works and its various applications.
Introduction : LiFi is the short form of "Light Fidelity". It works on the principle of Visible Light Communication (i.e. VLC). The network is also referred as VPAN or VLC Personal Area Network. The VLC transmits data by intensity modulation. It uses LEDs and Laser diodes (or photo detectors) at transmit and receive ends respectively. It works in 380 nm to 780 nm optical band which is visible light and hence the name VLC.
The VLC standard or VPAN standard defines three classes of devices viz. infrastructure, mobile and vehicle. These devices operate in one of the three topologies mentioned below. The different device has different coverage range, data rate and other requirements.
It works in three modes as mentioned above in figure-1. In star topology, communication is established between central controller (i.e. coordinator) and devices. In peer to peer topology, one of the device should become coordinator at the time of establishing association.
Each device or coordinator has unique 64 bit address. Device can use 16 bit address also upon request at the time of establishing association with coordinator.
How LiFi Works
LiFi (Light Fidelity) is a wireless communication technology that uses visible light,
infrared, or ultraviolet light to transmit data between devices. Instead of using radio waves
like WiFi, LiFi relies on modulating the intensity of light emitted by a light source
such as an LED (Light Emitting Diode). The data is transmitted through variations in
light intensity that are too rapid for the human eye to detect.
A photodetector on the receiving device captures these changes in light and converts
them back into electronic data.
Key Steps in How LiFi Works are as follows.
➨LED Light Source: LiFi communication begins with an LED light source that emits visible light.
These LEDs can quickly modulate light at extremely high speeds, encoding binary data (1s and 0s)
through light intensity variations.
➨Modulation: The light emitted by the LED is modulated, meaning its intensity is varied in a way
that carries information. This can be done in millions of cycles per second (high frequencies),
allowing the transmission of large amounts of data.
➨Transmission: The modulated light beam is then sent from the LED light source to the receiving device.
The changes in light intensity represent the binary data being transmitted.
➨Photodetector: The receiving device is equipped with a photodetector that captures the modulated light.
The photodetector senses the rapid changes in light intensity and converts these changes back
into electronic signals.
➨Decoding: The electronic signals are then decoded into digital data (1s and 0s) by the receiver. This
data can be in the form of text, images, or video, depending on the application.
➨Data Processing: Finally, the received data is processed and used by the end device, such as a smartphone,
laptop, or IoT device.
➨LiFi can be used for two-way communication, meaning that both the transmitter (LED)
and receiver (photodetector) can exchange data simultaneously.
LiFi Protocol Stack
LiFi (Light Fidelity) technology uses visible light for wireless communication and has a layered protocol structure similar to traditional wireless communication systems.
The figure-2 depicts protocol stack used in a typical VPAN device.
As shown protocol stack consists of PHY, MAC and upper layers.
Physical layer houses light transceiver. PHY switch housed in PHY layer interfaces with optical SAP which connects
it to the optical medium. The optical medium composed of one or multiple optical sources or
optical detectors (e.g. laser diodes or photodiodes).
MAC layer provides channel access for all types of data and control message transmissions.
Upper layer consists of network layer and application layer.
Network layer takes care of providing network configuration, network manipulation, message routing etc.
Application layer takes care of providing intended functionality as needed by the VPAN or LiFi
device.
DME (Device Management Entity) is also supported by LiFi or VPAN network architecture.
It makes interfacing between dimmer and PHY/MAC a reality.
LiFi Physical layer
The physical layer in LiFi handles the modulation and transmission of data using light waves.
It is responsible for following.
• Modulation Techniques: Transforming digital data into a modulated signal for transmission using light.
• LED Transmitter and Photodetector Receiver: LEDs are used to emit modulated light, and photodetectors
receive and convert this light back into electrical signals.
• Line-of-Sight Communication: The physical layer also manages the line-of-sight nature of the
communication, ensuring that light signals are properly transmitted and received.
In LiFi, three major modulation techniques are used in the physical layer namely OOK (On-Off Keying), VPPM (Variable Pulse Position Modulation) and CSK (Color Shift Keying).
There are three types of physical layer configurations supported in VLC or LiFi System Viz. PHY-I, PHY-II, PHY-III.
Different rates can be achieved in different configurations. They can be used indoor or outdoor.
Refer LiFi PHYSICAL LAYER >>.
LiFi MAC layer
The MAC layer in LiFi is responsible for controlling how multiple devices share the same light medium and ensuring
that data is transmitted efficiently without collisions. Its key roles include following.
• Frame Control: The MAC layer divides data into frames for transmission and manages retransmission in case of errors.
• Channel Access: It controls when devices can transmit, preventing collisions between multiple devices attempting to send data simultaneously.
• Error Detection: It ensures that any errors in transmission are detected, and corrupted frames are retransmitted.
LiFi’s MAC layer is similar to the MAC layers used in wireless communication technologies like WiFi but is optimized
for light-based transmission, where factors such as interference from ambient light and line-of-sight conditions are considered.
MAC layer takes care of resource management i.e. allocation of channels, IDs as well as entire network management.
Refer LiFi MAC LAYER >>.
LiFi Modulation Types : OOK, VPPM, CSK
As mentioned, there are different modulation schemes used in different physical layer modes. OOK stands for On Off Keying, VPPM stands for Variable Pulse Position Modulation and CSK stands for Color Shift Keying.
On-Off Keying (OOK):
Working: Uses binary signals where 1 is represented by the LED being ON and 0 by it being OFF.
Advantage: Simple, low-power consumption.
Disadvantage: Limited data rate due to the binary nature of the signaling.
Variable Pulse Position Modulation (VPPM):
Working: Uses variable timing of light pulses to encode data, which can be combined with dimming.
Advantage: Allows simultaneous data transmission and light dimming control.
Disadvantage: More complex than OOK.
Color Shift Keying (CSK):
Working: Uses different colors (wavelengths) to represent different symbols. A combination of red, green,
and blue LEDs is used for higher data rates.
Advantage: High data rates due to color multiplexing.
Disadvantage: Requires more complex hardware and LED systems.
Together, these layers and modulation schemes make LiFi a powerful technology for high-speed, light-based wireless
communication.
➨Refer KiFi modulation types >>.
Applications of LiFi or VLC system
There are many applications of LiFi or VLC system as lighting and data communications.
Typical among them are lighting, signboards, street lights, vehicles and traffic signals or lights.
The figure mentions emerging application of LiFi for internet data communication.
It has also become popular due to wide adoption of IoT based technologies.
➨Refer LiFi internet vs wifi internet >>.
Benefits of LiFi System
Following are the benefits of LiFi system:
• It transfers data very rapidly.
• It transfers data securely as it can be used in Line of Sight mode of
optical signal. It does not pierce through the walls and hence it can not be easily intruded by hackers.
• It uses much low power for transmission compare to other systems such as WiFi.
Conclusion
LiFi offers a unique blend of speed, security, and efficiency, positioning it as a game changing technology for the future of wireless communication. Its use of light instead of radio waves opens up new possibilities for applications in smart homes, healthcare, underwater communication, and more. As LiFi continues to evolve, its potential to complement and even surpass traditional wireless technologies becomes more apparent. This LiFi tutorial is very useful for beginners who would like to understand basic concepts of lifi technology, its features, working operation and LiFi network architecture components.
Similar posts on LiFi technology
Data Over Light basics
What is Solar LiFi?
Difference between LiFi Internet and WiFi Internet