Simulation and Comparative Analysis of Error Detection Techniques in UART Communication Systems
Keywords:
Data integrity, Embedded systems, Error detection, Parity, Stochastic modeling, UART, CRC, ChecksumAbstract
Reliable data communication is essential in embedded systems, where transmission errors caused by environmental noise can significantly affect data integrity and system performance. This study presents a software-based simulation of Universal Asynchronous Receiver-Transmitter (UART) communication enhanced with three error detection techniques, namely parity checking, checksum verification, and Cyclic Redundancy Check (CRC). To emulate realistic communication disturbances, a probabilistic Bernoulli noise model is employed, introducing random bit errors during data transmission. The proposed framework evaluates the effectiveness of each error detection method under varying noise conditions using key performance metrics, including error detection rate, reliability, and computational overhead. A comparative analysis is conducted to examine the trade-offs between detection accuracy and processing complexity. The results indicate that parity checking offers the lowest computational cost but has limited capability in detecting multiple-bit errors. Checksum-based detection provides improved performance and reliability, making it suitable for moderate-noise environments. Among the evaluated techniques, CRC demonstrates the highest level of robustness, consistently achieving superior error detection rates even under severe noise conditions. The findings highlight the importance of selecting appropriate error detection mechanisms based on system requirements and communication reliability constraints.
References
J.-P. Signoret and A. Leroy, “Functional safety related modelling and calculations,” in Reliability Assessment of Safety and Production Systems: Analysis, Modelling, Calculations and Case Studies. Cham, Switzerland: Springer International Publishing, 2021, pp. 749–825.
P. Madhumathy, R. Saravanakumar, R. Umamaheswari, A. Juliette Albert, and D. Devasenapathy, “Optimizing design and manufacturing processes with an effective algorithm using anti-collision enabled robot processor,” International Journal on Interactive Design and Manufacturing (IJIDeM), vol. 18, no. 8, pp. 5469–5477, Jan. 2024.
P. Koopman and T. Chakravarty, “Cyclic redundancy code (CRC) polynomial selection for embedded networks,” International Conference on Dependable Systems and Networks, 2004, Florence, Italy, 2004, pp. 145–154.
P. Madhumathy and D. Sivakumar, “Mobile sink based reliable and energy efficient data gathering technique for WSN,” Journal of theoretical and applied information technology, vol. 61, no. 1, 2014.
S. Sivasankar, D. Devasenapathy, G. Kaur, Y. Sharma, and P. Rana, “Design and modeling of graph theory approach based routing algorithm,” International Journal on Interactive Design and Manufacturing (IJIDeM), vol. 18, pp. 6013–6021, Aug. 2023.
M. R. Suma and P. Madhumathy, “Acquisition and mining of agricultural data using ubiquitous sensors with Internet of Things,” in International Conference on Computer Networks and Communication Technologies, Springer International Publishing, Sep. 2018, pp. 249–261.
M. Perumal and S. Dhandapani, “Modeling and simulation of a novel relay node based secure routing protocol using multiple mobile sink for wireless sensor networks,” The Scientific World Journal, vol. 2015, no. 1, pp. 1–9, Jan. 2015.
R. L. Alena, J. P. Ossenfort, K. I. Laws, A. Goforth and F. Figueroa, “Communications for integrated modular avionics,” 2007 IEEE Aerospace Conference, Big Sky, MT, USA, 2007, pp. 1–18.
A. Das and N. A. Touba, “Selective checksum based on-line error correction for RRAM based matrix operations,” 2020 IEEE 38th VLSI Test Symposium (VTS), San Diego, CA, USA, 2020, pp. 1–6.
M. Gianioudis et al., “Low-latency communication in RISC-V clusters,” in Proceedings of the International Conference on High Performance Computing in Asia-Pacific Region, New York, NY, USA: Association for Computing Machinery, Jan. 2024, pp. 73–83.
D. Gündüz et al., “Beyond transmitting bits: Context, semantics, and task-oriented communications,” in IEEE Journal on Selected Areas in Communications, vol. 41, no. 1, pp. 5–41, Jan. 2023.
A. H. Saleh and M. S. Mohammed, “Enhancing data security through hybrid error detection: combining cyclic redundancy check (CRC) and checksum techniques,” IJEER, vol. 12, no. 3, pp. 813–826, 2024.
I. Häring, “Error detecting and correcting codes,” in Technical Safety, Reliability and Resilience: Methods and Processes, Singapore: Springer Singapore, 2021, pp. 287–302.
I. Häring, “The Standard IEC 61508 and Its Safety Life Cycle,” in Technical Safety, Reliability and Resilience: Methods and Processes. Singapore: Springer Singapore, 2021, pp. 193–207.
Y. Chinniah et al. “Safety of machinery: significant differences in two widely used international standards for the design of safety-related control systems.” Safety, vol. 5, no. 4, 2019.