Practical Training Using Simulation and Robotic Kits for Better Future Engineers

Ali Younes, Zain Alabedeen AliITM 2020

Abstract

Every engineering course has two main parts: theoretical and practical. In recent decades, the gap between various engineering institutions has been reduced by online resources, providing students and lecturers worldwide with access to technological advances. However, a significant difficulty remains in the practical component. To gain valuable engineering skills, students require hands-on experience implementing theoretical concepts and analyzing results. While top-tier institutions provide extensive equipment, many others—particularly in developing regions—struggle to fund high-end platforms. This paper proposes a cost-effective training package using simulation and Lego Mindstorms robotic kits for courses in mobile robotics and fuzzy logic, demonstrating that high-quality engineering education is achievable even with limited funding.

Introduction

In the modern engineering landscape, theoretical knowledge is more accessible than ever. However, a "practical gap" persists between well-funded universities and those in resource-constrained environments. High-end robotic platforms equipped with LIDAR and depth cameras are often prohibitively expensive. Consequently, many instructors are forced to omit practical implementation, leaving students to memorize algorithms without understanding their physical application.

To address this, we present a modular, affordable training package built on the Lego Mindstorms EV3 platform and MATLAB/Simulink. By implementing sophisticated algorithms like A* for pathfinding and Fuzzy Logic for control, we demonstrate that consumer-grade hardware can effectively teach high-level engineering competencies.

Methodology

The proposed system is divided into three functional pillars: perception, planning, and control.

Perception and Odometry

The robot determines its position relative to a global coordinate system using data from wheel encoders and a gyroscope. Kinematic equations are employed to calculate the robot's updated position ($x, y$) and orientation ($\theta$) in real-time. This odometry data is crucial for the robot to understand its state within the environment.

Path Planning

The planning phase is split into global and local components. The Global Planner utilizes the A* algorithm, computed offline on a host PC. It processes a discrete map—typically a PNG image converted into an occupancy grid—to generate a sequence of "critical points" or vertices that define the optimal path to the goal.

A* algorithm path visualization on a discrete occupancy grid map, showing the calculated route from start to goal.

The Local Planner runs on the EV3 brick in real-time. It uses an ultrasonic sensor to detect and avoid dynamic obstacles not present in the original global map, ensuring safe navigation.

Intelligent Control via Fuzzy Logic

Rather than employing a standard PID controller, which often requires complex mathematical tuning that can be daunting for students, we implemented a Fuzzy Logic Controller (FLC). The FLC uses "wordy paradigms" (e.g., "if distance is Near, then speed is Stop") to manage motor velocities based on the angle of deviation and distance to the next target point. This approach is more intuitive for students and proved highly robust during testing.

Implementation and Results

The system was implemented using a modular Simulink architecture, allowing students to easily swap algorithms or modify control rules. Despite the hardware constraints of the EV3 brick (ARM9 processor, 64MB RAM), the modular design ensured efficient execution.

The complete Simulink model architecture, integrating odometry, path planning, and the fuzzy logic control system for real-time execution on the LEGO EV3.

In real-world tests, the robot successfully navigated complex environments, following the A*-generated paths while avoiding obstacles. The system provides real-time visualization on a PC, allowing students to immediately compare theoretical models with physical performance. The FLC proved particularly effective, handling motor control without the constant re-tuning required by traditional methods.

Conclusion and Future Work

This training package demonstrates that affordable robotics kits can bridge the gap between theory and practice in engineering education. By focusing on modularity and intuitive control strategies like Fuzzy Logic, we empower students in low-resource settings to gain sophisticated robotics skills.

Future work will explore integrating smartphone sensors (accelerometers and cameras) to further enhance the robot's capabilities and using open-source simulators like Gazebo for large-scale machine learning experiments before physical deployment.

Summary updated

BibTeX
@inproceedings{younes2020practical,
  author = {Ali Younes and Zain Alabedeen Ali},
  title = {{Practical Training Using Simulation and Robotic Kits for Better Future Engineers}},
  booktitle = {ITM},
  year = {2020},
  doi = {10.1051/itmconf/20203504002},
}
Figure