tir38

documenting the academic and personal life of….

Performance Testing NXT’s Ultrasonic Range Finder

posted on September 22, 2007 in in development

I have plans to utilize the Lego NXT system for several upcoming robotics projects. The success of these projects depends on the capabilities of the kit’s ultrasonic (US) range finder. I created a test rig with the US sensor and NXT brick and conducted several experiments in order to characterize the sensor.


Test rig: wood block, measuring tape, protractor, US sensor, NXT brick (from left to right).

Orthogonal Measurements (centimeter increments)
Error, Accuracy, and Linearity
This experiment used the test rig in which an obstacle was positioned directly in front of the the sensor (orthogonal to the sensor plane). The obstacle was repositioned in centimeter increments from two to 64 centimeters and readings were taken utilizing the built-in “View” ultrasonic reader. A wood block was used as the obstacle to reflect the ultrasonic signal back to the sensor.

The average error over the 63 sample distances is 1.079 cm and the root mean squared error is calculated as 1.662 cm. Figure 1 shows a plot of data points (black points) of perceived distance of the obstacle as a function of the actual distance of the obstacle. The equation of the linear fit (blue line) is y = 0.9757 x + 1.88.


Figure 1. Perceived distance as a function of actual distance.

As is evident from these statistics, a definite linear relationship exists between sensor output and input however an offset error of ~1 cm. This error is likely systematic but future tests will determine if this error is reproducible under varied conditions.

Long Distance Readings
Dynamic Range
Although the previous test concluded that the sensor operates correctly in the range from 8 to 64 cm, determining the dynamic range of the sensor required determining the upper bound of accurate distance readings. In this experiment, the woodblock was positioned at a distance that caused the NXT block to display “???”. This display indicates that the sensor can not observe any obstacle in front of it. The block was slowly moved closer toward the sensor until a reading was observed on the NXT brick. The sensor finally registered the woodblock at a distance of 207 cm.

As is shown in the first experiment, the sensor accuracy drastically dissintegrates at distances shorter than 8cm. Furthermore the sensor fails entirely at distances greater than 207cm. So, the US sensor has a dynamic range from 8 to 207 cm.

Orthogonal Measurements (milimeter increments)
Resolution and Sensitivity

Varying Width Obstacle
Sensitivity to object size

Side-to-Side Readings
Directionality

Researched Values
Bandwidth - how quickly can the sensor send out readings?
Wave frequency - what frequency sound wave is the sensor sending out?
Resolution - rounding? whole number output?

—————————————–

This entry is in development!

No Comments »

No comments yet. Be the first!

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Pages

  • my albums
  • my bike tools
  • my books
  • my calender
  • my movies
  • my pictures
  • my resume

Categories

  • adventures
  • engineering
    • CAD/CAE
    • lectures
    • robotics/controls/AI
  • miscellaneous
  • projects
    • DIY
    • in development

Archives

  • March 2009
  • January 2009
  • December 2008
  • October 2008
  • August 2008
  • July 2008
  • June 2008
  • March 2008
  • January 2008
  • November 2007
  • September 2007
  • August 2007
  • June 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006

Links

  • RIM @ GT
  • ATL Bikes To Rwanda

random image

thumb

contact



login