In the rapidly evolving world of robotics and automation, electromagnets have emerged as a cornerstone technology, enabling significant advancements and innovations. These devices, which can be switched on and off to control magnetic force, play a critical role in various aspects of robotic systems, from actuation and manipulation to sensing and safety. This article explores