Home > Published Issues > 2026 > Volume 15, No. 1, January 2026 >
IJEETC 2026 Vol.15(1): 421-427
doi: 10.5281/zenodo.18140087

Hardware-in-the-Loop (HIL) Simulation of a Sobel Edge Detection Algorithm for Real-Time Image Processing

Majed Mohammed Alzouri1,* and Mohammed Gronfula2
1College of Engineering, Alasala Colleges, Dammam 31435, Eastern Province, Saudi Arabia
2College of Engineering, Alasala Colleges, Dammam 31435, Eastern Province, Saudi Arabia
Email: 11800001@alasala.edu.sa (M.M.A.), mohammed.gronfula@alasala.edu.sa (M.G.)
*Corresponding author

Manuscript received November 28, 2025; accepted December 29, 2025

Abstract—This paper presents a comprehensive Hardware-in-the-Loop (HIL) simulation framework for developing and verifying a real-time Sobel edge detection system. Modern image processing applications, such as surveillance and autonomous vehicles, require high-speed edge detection capable of processing video streams in real time. Traditional software implementations often fail to meet strict timing constraints. To address this, we propose a simulation-based design methodology using MATLAB and Simulink to model hardware behavior and verify performance without the immediate need for physical hardware. The study implements an optimized Sobel algorithm using an absolute sum approximation method, which replaces computationally expensive square root operations. We developed a Simulink model with a pipelined architecture to mimic hardware parallelism. The system was validated through HIL simulation, processing video streams with an average processing time of 39.95 milliseconds per frame, achieving a frame rate of 25.03 frames per second. The optimized algorithm achieved a speedup factor of up to 1.46× compared to the standard implementation while maintaining structural similarity above 96%. The results demonstrate that the proposed simulation framework provides an accurate and efficient method for validating real-time image processing systems.

 

Index Terms—Real-time systems, Sobel edge detection, HIL simulation, FPGA, Simulink, Image processing, Hardware modeling

Cite: Alzouri, M., & Gronfula, M., "Hardware-in-the-Loop (HIL) Simulation of a Sobel Edge Detection Algorithm for Real-Time Image Processing," International Journal of Electrical and Electronic Engineering & Telecommunications, Vol. 15, No. 1, pp. 421-427, 2026. doi: 10.5281/zenodo.18140087

Copyright © 2026 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.

Article Metrics in Dimensions