Design and Simulation of a Lightweight All-Digital Clock Recovery Algorithm for Low-Speed Optical Communications
Main Article Content
Keywords
all-digital clock and data recovery (CDR), microcontroller, low-speed optical communication, gardner algorithm, fixed-point design
Abstract
Aiming at the asynchronous clock skew and computational power bottlenecks faced by resource-constrained microcontrollers in short-reach optical communications, this paper proposes a lightweight all-digital clock and data recovery (CDR) algorithm specifically designed for platforms lacking a hardware floating-point unit (FPU). Traditional hardware transceiver mechanisms are highly sensitive to sampling frequency offsets (SFO). Conversely, conventional software synchronization algorithms, while robust in degraded channels, are computationally complex and exceed the carrying capacity of low-power cores. To bridge this gap, this study proposes a second-order all-digital phase-locked loop (ADPLL) architecture based on fixed-point Gardner timing error extraction. The proposed architecture employs a physical oversampling strategy to trade memory bus bandwidth for core computational power. Simulation results demonstrate that at a baud rate of 115.2 kbps, a single closed-loop execution of the proposed algorithm consumes only about 40 processor clock cycles, maintaining a theoretical CPU load below 12.8%. Under extreme initial frequency offsets up to 5,000 ppm and Additive White Gaussian Noise (AWGN) channels, traditional hardware mechanisms fail. In stark contrast, the proposed algorithm exhibits excellent phase-tracking and noise-resilience capabilities, achieving an error-free transmission (Bit Error Rate < 10^-4) at a Signal-to-Noise Ratio (SNR) of 12 dB.
References
- [1] Fan, C., & Cao, L. (2012). Communication principles (7th ed.). National Defense Industry Press.
- [2] STMicroelectronics. (2021). RM0008 Reference manual: STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx advanced ARM®-based 32-bit MCUs (Rev 21).
- [3] Maxim Integrated. (2003). Determining clock accuracy requirements for UART communications (Application Note 2141).
- [4] Proakis, J. G., & Salehi, M. (2008). Digital communications (5th ed.). McGraw-Hill Education.
- [5] Zhou, X., Chen, X., & Fan, Y. (2010). All-digital clock recovery scheme for high-speed coherent optical receivers. Journal of Beijing University of Posts and Telecommunications, 33(5), 11-16.
- [6] Gardner, F. M. (1986). A BPSK/QPSK timing-error detector for sampled receivers. IEEE Transactions on Communications, 34(5), 423-429. https://doi.org/10.1109/TCOM.1986.1096561
- [7] Rice, M. (2009). Digital communications: A discrete-time approach. Pearson Prentice Hall.
- [8] Oppenheim, A. V., & Schafer, R. W. (2009). Discrete-time signal processing (3rd ed.). Pearson Education.
- [9] Du, Y. (2015). MATLAB and FPGA implementation of digital modulation and demodulation techniques. Publishing House of Electronics Industry.
