2025 ASEE Annual Conference & Exposition

Introducing Angle Sensors into Robot Block Teaching Kits Using Non-Contact Magnetic Rotary Encoder

Presented at Multidisciplinary Engineering Division (MULTI) Technical Session 2

Title:
Introducing Angle Sensors into Robot Block Teaching Kits Using Non-Contact Magnetic Rotary Encoder

Abstract:
Rotary encoders are integral components in mechatronics and are widely used to measure shaft angles across various systems. However, integrating them into educational robot block kits poses several challenges. Conventional rotary encoders are costly ($100–$140), bulky due to precision mechanical components and optical systems, and require high torque to rotate their shafts. These characteristics make them unsuitable for educational environments, where simplicity, affordability, and low mechanical load are essential. Furthermore, incremental encoders produce pulse signals that are difficult for beginners to interpret, limiting their educational utility.

This study presents a practical and cost-effective alternative by incorporating a non-contact magnetic rotary encoder into robot block kits. The AS5048B encoder from ams-OSRAM AG was selected for its compact surface-mount design, high angular resolution (14-bit; 0.022° per step), and affordability (approximately $10). Unlike traditional encoders, the AS5048B measures angular position through magnetic field detection without physical contact, and outputs angle data via either I2C digital communication or a PWM signal. Since typical educational kits lack a general I2C interface, the PWM output (1 kHz, 4119 steps) was converted into an analog voltage using a custom-designed RC low-pass filter, ensuring compatibility with conventional analog input systems. The filter was optimized to balance measurement accuracy and response time.

A prototype sensor block was integrated into a robot block kit and tested in an inverted pendulum experiment. The system exhibited stable analog output, with a maximum angular error of ±4.5°, occurring at a 50% PWM duty cycle. These results demonstrate that the proposed encoder solution maintains high precision and reliability while substantially reducing both cost and system complexity. This approach supports real-time feedback control exercises using affordable, beginner-friendly components, thereby enhancing accessibility to hands-on robotics education.

Authors
  1. Prof. Hatsuko Yoshikubo Ph.D. SHIBAURA INSTITUTE OF TECHNOLOGY [biography]
Note

The full paper will be available to logged in and registered conference attendees once the conference starts on June 22, 2025, and to all visitors after the conference ends on June 25, 2025

« View session

For those interested in:

  • computer science
  • engineering
  • engineering technology
  • information technology
  • Pre-College
  • undergraduate