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
  • 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
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog TI Ultrasonic Sensor - Liquid Identification and Concentration
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: Jan Cumps
  • Date Created: 27 Dec 2015 6:28 PM Date Created
  • Views 3647 views
  • Likes 6 likes
  • Comments 11 comments
Related
Recommended
  • RoadTest
  • tdc1000-tdc7200evm
  • liquid_level_sensors
  • ultrasonic_sensor
  • steminc
  • texas_instruments
  • tdc1000

TI Ultrasonic Sensor - Liquid Identification and Concentration

Jan Cumps
Jan Cumps
27 Dec 2015

The  TDC1000-TDC7200EVMTDC1000-TDC7200EVM evaluation module has 4 main parts

The TDC1000 analog front-end and a pre-programmed MSP430 microcontroller on the board, a 1MHz Piezo Ceramic sensor that plugs into the board and a GUI client for on your PC.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

In this blog I measure the concentration of detergent in water.

 

Test Setup

 

The setup is almost the same as for level measurements. The only difference is that the sensor is placed at the side of the container, very close to the bottom of the receptacle.

That's done because that's an ideal location. When there's fluids in the container, the bottom is always going to be filled first, and will stay filled last when emptying.

And the distance of the liquid is also known. You know the distance between the side of the container where the sensor is glued, and the other side.

 

image

 

I've filled the container with tap water, and measured the time that one echo takes to go back and forth through the water. The time for the sonar signal to travel back and forth through the liquid is 79 068 ns.

image

 

When I enter this info, and the size of the container (5.8 cm) in a spreadsheet, I get this speed of sound for tap water in Schaarbeek, Belgium:

 

container width5.8cm0.058m
Distance = 2 * width0.116m
time of flight79068ns0.000079068s
speed of sound1467.091617342m/s

 

After putting 3 drpops of Ecover dishwasher liquid, and stirring, I get the following time of flight:

image

 

 

That gives me a speed of sound of:

 

container width5.8cm0.058m
Distance = 2 * width0.116m
time of flight79008ns0.000079008s
speed of sound1468.2057513163m/s

 

Real World Application

 

I've shown an example of how to measure the concentration of a liquid diluted in water.

I know that 0 drops of detergent in 13.5 ml (width * width of container * height of water level) of tap water gives a speed of sound of 1467 m/s, and 3 drops of detergent give 1468 m/s.

I can create a formula or a lookup table to derive the amount of detergent, and sample the concentration.

 

Another use case is to collect the speed of sound of a variety of liquids, and sample what liquid is inside the container without opening it.

 

 

I've attached the spreadsheet that I used for the calculations to this blog post.

 

Related Posts
RoadTest: Unboxing the TI Ultrasonic Sensing evaluation module
TI Ultrasonic Sensor - A Very First Trial of the GUI
TI Ultrasonic Sensor - Prepping the Transponder
TI Ultrasonic Sensor - First Measurements
TI Ultrasonic Sensor - Set the Parameters for Level Measurement and Content Identification
TI Ultrasonic Sensor - Show 3 Signals on a 2 Channel Oscilloscope (RIGOL DS1052E)
TI Ultrasonic Sensor - Liquid Identification and Concentration
TI Ultrasonic Sensor - Create a KiCad Part for the Sensor IC with KiPart
TI Ultrasonic Sensor - SPI Traffic Snooping

TI Ultrasonic Sensor - RoadTest Review

Attachments:
speedofsound.zip
  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 9 years ago in reply to Jan Cumps +2
    A better test would be with isoprophyl alcohol, because the change is more dramatic and it mixes way better than concentrated detergent. No stirring required. I hadn't actually thought about the density…
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to uludag2806 +2
    I never had that. I hope that clem57 's link solves it for you. If not, contact TI's e2e.ti.com forum. They support the evaluation kits.
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to dubbie +2
    There are two use cases that I like in particular: measuring the liquid level (easy, particular in a tank where the fluctuation isn't dramatic) measuring throughput in a utility line (more difficult -…
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to dubbie

    There are two use cases that I like in particular:

    • measuring the liquid level (easy, particular in a tank where the fluctuation isn't dramatic)
    • measuring throughput in a utility line (more difficult - and I only know the theory for that. I did not have enough setup to bring it in practice)

     

    These two are directly usable. The application is proven and has been implemented in practical applications.

    Detecting contamination, make of the fluid, etc.... is interesting, but I think it needs more than just ultrasonic sensors to make this scenario practical in even the simplest situations....

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to uludag2806

    uludag2806  wrote:

     

    But on the TDC1000-TDC7200EVM user guide there no such a info about labview. Should i have full version of this program.

    I did not need a full LabVIEW install. Just the software from TI.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 5 years ago

    This was very interesting. I have previously read about using ultrasonics to measure fluid characteristics but never seen it put so easily into practice. It was also interesting to see the 'speed' varying when the fluid is agitated as well.

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • uludag2806
    uludag2806 over 5 years ago in reply to clem57

    But on the TDC1000-TDC7200EVM user guide there no such a info about labview. Should i have full version of this program.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to uludag2806

    I never had that. I hope that clem57's link solves it for you.

    If not, contact TI's e2e.ti.com forum. They support the evaluation kits.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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