element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
In Reach! – Ultrasonic Sensor Sensing Challenge
  • Challenges & Projects
  • Design Challenges
  • In Reach! – Ultrasonic Sensor Sensing Challenge
  • More
  • Cancel
In Reach! – Ultrasonic Sensor Sensing Challenge
Forum SwishMaster - #3 - Experimenting with the USSM
  • News
  • Forum
  • Projects
  • DC
  • Files
  • Members
  • More
  • Cancel
  • New
Join In Reach! – Ultrasonic Sensor Sensing Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 40 subscribers
  • Views 121 views
  • Users 0 members are here
  • ultrasonic sensor
  • design challenge
  • SwishMaster
  • tdk
  • TDK waterproof sensors
  • Ultrasonic Sensor Sensing Challenge
  • In Reach
  • TDK USSM Plus-FM
  • TDK USSM1.0 PLUS-FS
Related

SwishMaster - #3 - Experimenting with the USSM

amgalbu
amgalbu 9 days ago

In this post, I will talk about my experiments with the TDK USSM that are aimed at checking out how precisely and how far the ball position can be detected

Setup

To conduct the experiments, a reference line approximately 3 meters in length was drawn, with markings at 20-centimeter intervals. It is assumed that the sensor exhibits isotropic behavior, i.e., identical performance in all directions. However, to ensure consistency across trials, a reference mark was applied to the sensor to maintain the same orientation. The basketball was suspended from the ceiling, positioned directly above the center of the marked grid. The testbed is shown in picture below

image

I moved the USSM over the different positions on the grid. For each position, I took a screenshot of the envelop and took note of the detected distance. The test procedure is shown in the following flowchart

image

Results

Here is the result of the experiments

image

And here is the same diagram with the distances measured by the USSM

image

The area where the basketball is detected has approximately this shape

image

The sensors has a "field of view" of about 25 degrees on each side

image

So I think the optimal angle between the sensors is about 50 degrees

image

Given the shape of the covered area, I can also correct the distance measurement to take into account the horizontal offset of the ball. The algorithm I have in mind is quite simple (it applies to the two USSMs). 

  1. When all the samples have been collected, I calculate the average height of the basketball
  2. Given the average height, I can estimate the width of the covered area at that specific distance. I can simply store the width of the covered area at different heights, and interpolate to get an approximation of the area width
  3. The horizontal distance between samples (I will call it "step") can be calculated as the width of the covered area divided by the number of samples
  4. An horizontal position can now be assigned to each sample

Samples taken by the left USSM, will have negative values for the horizontal position

  1. 1st sample will have an horizontal position equal to  - step * (num samples - 1)
  2. 2nd sample will have an horizontal position equal to  - step * (num samples - 2)
  3. ...
  4. last sample will have an horizontal position equal to 0

Samples taken by the right USSM, will have positive values for the horizontal position

  1. 1st sample will have an horizontal position equal to 0
  2. 2nd sample will have an horizontal position equal to  + step * 1
  3. ...
  4. last sample will have an horizontal position equal to + step * (num samples - 1)

Now, with a known horizontal position, I can correct the measured distance using the Pitagora theorem

image

Next steps

With less than a month left and so much work to do, it's time to start writing code and see if I can interface with the USSM. Stay tuned!  

  • Sign in to reply
  • Cancel
Parents
  • Christopher678
    Christopher678 6 days ago

    Nice post

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Christopher678
    Christopher678 6 days ago

    Nice post

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube