An Open-Source QAM MODEM for Visible Light Communication in FPGA for Real-Time Applications
Abstract
1. Introduction
1.1. Related Works
1.2. Our Contribution
2. The QAM
2.1. Fundamentals of QAM
2.1.1. The Transmitter
2.1.2. The Receiver
2.1.3. Synchronization
2.2. Limits of the Standard QAM MODEM
3. The Proposed Approach to QAM
3.1. The Transmitter
3.2. The Receiver
3.3. The Synchronization
3.3.1. Amplitude Correction
| Algorithm 1: Amplitude Correction |
| x = 0.25 LOOP for each symbol: If > = Else if < = Else If > = − x Else if < = + x Else = End If x > MinRes x = x/2; End End END LOOP |
3.3.2. Phase Correction
| Algorithm 2: Phase correction |
| LOOP for each symbol: If and are in different quadrants Else if and are in different octants Else If > Else End End END LOOP |
3.4. Performance and Limitations of the Proposed Methodology
4. FPGA Implementation
4.1. Parameters and Mathematical Limitations
4.2. Simulations of the Mathematical Performance
4.3. FPGA Resources and Comparison to Other Approaches
5. Experiments and Results
5.1. Experimental Set-Up
5.2. Measurements
5.3. Data Analysis and Comparison to Digital Twin Model
5.4. Latency and Throughput
6. Discussion and Conclusions
- -
- Simplification of the standard approach (based on Table 1) allows a low FPGA use of resources;
- -
- Complete and ready to use, open-source QAM code with modulator, demodulator, and synchronization;
- -
- Flexible parameters (4-16-64-256 QAM, different frequencies, symbol rates, etc.);
- -
- Very low latency.
- The limitations and possible improvements are as follows:
- -
- The maximum data rate is limited to , , and M = 64 for ISI;
- -
- The addition of channel equalization and/or better anti-ISI filters would improve the performance.
- In conclusion, this work proposes a simple, complete, and low-latency QAM method, available for the research community, for real-time VLC experiments. In the authors’ vision, this method can help to fill the void in the current literature of the real-time experimentation of new VLC methods.
Supplementary Materials
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Khan, L.U. Visible Light Communication: Applications, Architecture, Standardization and Research Challenges. Digit. Commun. Netw. 2017, 3, 78–88. [Google Scholar] [CrossRef]
- Rehman, S.; Ullah, S.; Chong, P.; Yongchareon, S.; Komosny, D. Visible Light Communication: A System Perspective—Overview and Challenges. Sensors 2019, 19, 1153. [Google Scholar] [CrossRef]
- Schubert, E.F. Light-Emitting Diodes, 3rd ed.; Cambridge University Press: Cambridge, UK, 2018. [Google Scholar]
- Caputo, S.; Mucchi, L.; Cataliotti, F.; Seminara, M.; Nawaz, T.; Catani, J. Measurement-based VLC channel characterization for I2V communications in a real urban scenario. Veh. Commun. 2021, 28, 100305. [Google Scholar] [CrossRef]
- Cailean, A.-M.; Dimian, M. Current Challenges for Visible Light Communications Usage in Vehicle Applications: A Survey. IEEE Commun. Surv. Tutor. 2017, 19, 2681–2703. [Google Scholar] [CrossRef]
- Nour, M.; Zaki, M.H.; Abdel-Aty, M. Assessing the Impact of Vehicle-to-Vehicle Communication on Lane Change Safety in Work Zones. IEEE Open J. Intell. Transp. Syst. 2025, 6, 832–847. [Google Scholar] [CrossRef]
- Galvão, G.; Vieira, M.; Vieira, M.A.; Véstias, M.; Louro, P. Intelligent Traffic Control Strategies for VLC-Connected Vehicles and Pedestrian Flow Management. Sensors 2025, 25, 6843. [Google Scholar] [CrossRef]
- Cordoș, N.; Duma, I.; Moldovanu, D.; Todoruț, A.; Barabás, I. An Overview of Intelligent Transportation Systems in Europe. World Electr. Veh. J. 2025, 16, 387. [Google Scholar] [CrossRef]
- IEEE 802.15.7-2018; IEEE Standard for Local and Metropolitan Area Networks—Part 15.7: Short-Range Optical Wireless Communications. IEEE: New York, NY, USA, 2019. Available online: https://standards.ieee.org/ieee/802.15.7/6820/ (accessed on 25 January 2026).
- Teixeira, L.; Loose, F.; Alonso, J.M.; Barriquello, C.H.; Reguera, V.A.; Costa, M.A.D. A review of visible light communication LED drivers. IEEE J. Emerg. Sel. Top. Power Electron. 2022, 10, 919–933. [Google Scholar] [CrossRef]
- Nawaz, T.; Seminara, M.; Caputo, S.; Mucchi, L.; Cataliotti, F.S.; Catani, J. IEEE 802.15.7-Compliant Ultra-Low Latency Relaying VLC System for Safety-Critical ITS. IEEE Trans. Veh. Technol. 2019, 68, 12040–12051. [Google Scholar] [CrossRef]
- Ricci, S.; Caputo, S. Transmitter for Visible Light Communications Based on FPGA’s Output Buffers. IEEE Commun. Lett. 2024, 28, 2116–2120. [Google Scholar] [CrossRef]
- Gil-Jiménez, V.P.; Caputo, S.; Mucchi, L.; Maturo, N. High Data Rate and Low-latency Vehicular Visible Light Communications Implementing Blind Interference Alignment. IEEE Veh. Technol. Mag. 2023, 18, 64–73. [Google Scholar] [CrossRef]
- Ryu, H.-Y.; Ryu, G.-H. Small signal analysis of the modulation bandwidth of light-emitting diodes for visible light communication. Opt. Laser Technol. 2022, 152, 108170. [Google Scholar] [CrossRef]
- Grubor, J.; Lee, S.C.J.; Conway, T.; Randel, S.; Walewski, J.W. Bandwidth-efficient indoor optical wireless communications with white light-emitting diodes. In Proceedings of the 2008 6th International Symposium on Communication Systems, Networks and Digital Signal Processing, Graz, Austria, 25 July 2008. [Google Scholar]
- Rice, M. Digital Communications: A Discrete-Time Approach, 1st ed.; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2009. [Google Scholar]
- Zhou, S.; Du, W.; Li, C.; Liu, S.; Li, R. Research Progress on Modulation Format Recognition Technology for Visible Light Communication. Photonics 2025, 12, 512. [Google Scholar] [CrossRef]
- Caputo, S.; Mucchi, L.; Catani, J.; Meucci, M.; Seminara, M.; Nawaz, T. The Role of Bidirectional VLC Systems in Low-Latency 6G Vehicular Networks and Comparison with IEEE802.11p and LTE/5G C-V2X. Sensors 2022, 22, 8618. [Google Scholar] [CrossRef]
- Levent, V.E.; Arslan, H.; Baykas, N. FPGA Based DCO-OFDM PHY Transceiver for VLC Systems. In Proceedings of the 2019 11th International Conference on Electrical and Electronics Engineering (ELECO), Bursa, Turkey, 28–30 November 2019; pp. 418–421. [Google Scholar] [CrossRef]
- Danys, L.; Martinek, R.; Jaros, R.; Baros, J.; Simonik, P.; Snasel, V. Enhancements of SDR-Based FPGA System for V2X-VLC Communications. Comput. Mater. Contin. 2021, 68, 3629–3652. [Google Scholar] [CrossRef]
- Aboutabikh, K.; Shokyfeh, A.; Garib, A. Design and Implementation of a Digital Quadrature Amplitude Modulator QAM-16 using FPGA. Int. Multidiscip. Res. J. Rev. 2024, 1, 1–7. [Google Scholar] [CrossRef]
- Ma, S.; Chen, Y. FPGA Implementation of High-Throughput Complex Adaptive Equalizer for QAM Receiver. In Proceedings of the 2012 8th International Conference on Wireless Communications, Networking and Mobile Computing, Shanghai, China, 21–23 September 2012; pp. 1–4. [Google Scholar] [CrossRef]
- Dick, C.; Harris, F.; Rice, M. FPGA Implementation of Carrier Synchronization for QAM Receivers. J. VLSI Signal Process. Syst. Signal Image Video Technol. 2004, 36, 57–71. [Google Scholar] [CrossRef]
- Fuada, S.; Pradana, A.; Adiono, T.; Popoola, W.O. Demonstrating a real–time QAM–16 visible light communications utilizing off-the-shelf hardware. Results Opt. 2023, 10, 100348. [Google Scholar] [CrossRef]
- Dick, C.; Harris, F. FPGA QAM Demodulator Design. In Field-Programmable Logic and Applications: Reconfigurable Computing is Going Mainstream; Glesner, M., Zipf, P., Renovell, M., Eds.; Lecture Notes in Computer Science, 2438; Springer: Berlin/Heidelberg, Germany, 2002; pp. 129–138. [Google Scholar] [CrossRef]
- Dally, W.J.; Harting, R.C.; Aamodt, T.M. Digital Design Using VHDL: A Systems Approach; Cambridge University Press: Cambridge, UK, 2015; ISBN 978-1107098862. [Google Scholar]
- Hanzo, L.; Ng, S.X.; Keller, T.; Webb, W. Quadrature Amplitude Modulation: From Basics to Adaptive Trellis-Coded, Turbo-Equalised and Space-Time Coded OFDM, CDMA and MC-CDMA Systems, 2nd ed.; Wiley-IEEE Press: West Sussex, UK, 2004. [Google Scholar]
- Alagha, N.S.; Kabal, P. Generalized raised-cosine filters. IEEE Trans. Commun. 1999, 47, 989–997. [Google Scholar] [CrossRef]
- Caputo, S.; Ricci, S.; Mucchi, L. IEEE 802.15.7-Compliant Full Duplex Visible Light Communication: Interference Analysis and Experimentation. IEEE Open J. Veh. Technol. 2024, 5, 1242–1255. [Google Scholar] [CrossRef]
- Meyr, H.; Moeneclaey, M.; Fechtel, S.A. Digital Communication Receivers: Synchronization, Channel Estimation, and Signal Processing; Wiley: New York, NY, USA, 1997. [Google Scholar]
- Benammar, M.; Alassi, A.; Gastli, A.; Ben-Brahim, L.; Touati, F. New Fast Arctangent Approximation Algorithm for Generic Real-Time Embedded Applications. Sensors 2019, 19, 5148. [Google Scholar] [CrossRef]
- Ricci, S.; Meacci, V. Data-Adaptive Coherent Demodulator for High Dynamics Pulse-Wave Ultrasound Applications. Electronics 2018, 7, 434. [Google Scholar] [CrossRef]
- Baldman, A. Bit Error Ratio Testing: How Many Bits Are Enough? Technical Report; UNH InterOperability Lab: Durham, NH, USA, 2003. [Google Scholar]
- Meacci, V.; Dallai, A.; Ricci, S.; Boni, E.; Tortoli, P.; Ramalli, A. Hardware description language versus high-level synthesis for the FPGA implementation of ultrasound beamformers: A comparative analysis. In Proceedings of the 2024 IEEE Ultrasonics, Ferroelectrics, and Frequency Control Joint Symposium (UFFC-JS), Taipei, Taiwan, 22–26 September 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–4. [Google Scholar] [CrossRef]
- Ricci, S.; Caputo, S.; Mucchi, L. FPGA-based visible light communications instrument for implementation and testing of ultralow latency applications. IEEE Trans. Instrum. Meas. 2023, 72, 2004811. [Google Scholar] [CrossRef]
- Ricci, S.; Caputo, S.; Mucchi, L. FPGA-Based Pulse Compressor for Ultra Low Latency Visible Light Communications. Electronics 2023, 12, 364. [Google Scholar] [CrossRef]
- Ricci, S. Switching Power Suppliers Noise Reduction in Ultrasound Doppler Fluid Measurements. Electronics 2019, 8, 421. [Google Scholar] [CrossRef]
- Zhang, L.; Wang, Z.; Zheng, G. OF-FSE: An Efficient Adaptive Equalization for QAM-Based UAV Modulation Systems. Drones 2023, 7, 525. [Google Scholar] [CrossRef]
- Luise, M.; Marselli, M.; Reggiannini, R. Low-complexity blind carrier frequency recovery for OFDM signals over frequency-selective radio channels. IEEE Trans. Commun. 2002, 50, 1182–1188. [Google Scholar] [CrossRef]
- Marquez-Viloria, D.; Solarte-Sanchez, M.; Castro-Ospina, A.E.; Guerrero-Gonzalez, N.; Marinov, M.B. FPGA Spectral Clustering Receiver for Phase-Noise-Affected Channels. Appl. Sci. 2025, 15, 10818. [Google Scholar] [CrossRef]










| N. | Brief Description | Applies to |
|---|---|---|
| 1 | Introducing constraints among the symbol rate, the carrier frequency, and the sampling frequency | TX/RX |
| 2 | Constraining the length of the pulse-shaping function to the symbol time | TX |
| 3 | Substituting the quadrature demodulator tuned at and the following low-pass filter with a demodulator tuned at followed by an integrator | RX |
| VHDL Parameter | Value | Parameters for = 40 MHz | Description |
|---|---|---|---|
| Transmitter/Receiver | |||
| M | 4, 16, 64 | - | Constellation points |
| Transmitter | |||
| Nb | 10 | - | TX constellation number of bits |
| Nwin | 10 | - | Number of bits for Tabc/Tabs tables |
| TABLEP | 40 | ||
| - | - | Hann | Hann pulse-shaping function |
| Receiver | |||
| Nb | 10 | - | RX constellation number of bits |
| Ncs | 10 | - | Number of bits of cos/sin tables |
| NCSX | 40 | Carrier frequency | |
| Data Divisor | 1 | = 40 MHz | Sampling frequency |
| CSTAB | 1000 | = 0.36° | Resolution in phase correction |
| - | - | AmpMinRes = 0.1% | Resolution in amplitude correction |
| Modulator | Demodulator | Synchronization | TOT | |||||
|---|---|---|---|---|---|---|---|---|
| M-QAM | 16 | 64 | 16 | 64 | 16 | 64 | 16 | 64 |
| ALM | 141 | 147 | 269 | 276 | 390 | 395 | 800 | 818 |
| Reg | 57 | 61 | 140 | 131 | 136 | 138 | 276 | 330 |
| Multipliers (DSP) | 4 (2) | 4 (2) | 8 (4) | 8 (4) | 2 (1) | 2 (1) | 14 (7) | 14 (7) |
| Memory bit (M9K) | 0 | 0 | 10 kb (2) | 10 kb (2) | - | - | 10 kb (2) | 10 kb (2) |
| Description | FPGA Resources | Target Rate | Paper Ref. |
|---|---|---|---|
| HW: Intel Arria 10 SOC + AD-FMCDAQ2-EBZ 256-QAM OFDM receiver, 32-bit architecture with channel equalization and data correction | TX: ALM → 26,313; RAM → 18,191; DSP → 70 RX: ALM → 19,139; RAM → 45,654; DSP → 48 | 1 Gb/s | [19] |
| HW: NI USRP 2921 SDR + PDA36A-EC 4–1024 QAM with equalization realized through high-level synthesis | Resources are not declared | - | [20] |
| HW: Intel EP2C20F484C7 Fixed 16-QAM, modulator only | Resources are not declared | - | [21] |
| HW: Xilinx Virtex 4 XC4VSX55 Adaptive equalizer for 16–256 QAM receiver | ALM → 9488; DSP → 74; RAM → not declared | 6.9 MS/s | [22] |
| HW: Xilinx Virtex-II Carrier synchronization block for 16 QAM | Memory-based version: ALM → 254; DSP → 16; RAM → 6 blocks CORDIC-based version: ALM → 413; DSP → 8; RAM → 1 blocks | 90 Mb/s | [23] |
| HW: STM32F4 16-QAM receiver | Microcontroller-based | 40 kb/s | [24] |
| Latency in CLK | = 40 | |
|---|---|---|
| TX | 4 CLK | 100 ns |
| RX | + 7 CLK | 1175 ns |
| TOT | + 11 CLK | 1275 ns |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ricci, S. An Open-Source QAM MODEM for Visible Light Communication in FPGA for Real-Time Applications. Sensors 2026, 26, 992. https://doi.org/10.3390/s26030992
Ricci S. An Open-Source QAM MODEM for Visible Light Communication in FPGA for Real-Time Applications. Sensors. 2026; 26(3):992. https://doi.org/10.3390/s26030992
Chicago/Turabian StyleRicci, Stefano. 2026. "An Open-Source QAM MODEM for Visible Light Communication in FPGA for Real-Time Applications" Sensors 26, no. 3: 992. https://doi.org/10.3390/s26030992
APA StyleRicci, S. (2026). An Open-Source QAM MODEM for Visible Light Communication in FPGA for Real-Time Applications. Sensors, 26(3), 992. https://doi.org/10.3390/s26030992

