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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum bubble detecting sensor.
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 306 subscribers
  • Views 1699 views
  • Users 0 members are here
  • liquid
  • switch
  • sensor
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

bubble detecting sensor.

kurtisja
kurtisja over 11 years ago

Im looking for a sensor which can detect the presence of gas in a liquid line.

 

The scope of the sensor is to be used in a wine dispensing system. My hope is when the sensor detects a gas bubble in the line, it can shut off the flow, or lack thereof, of liquid.

 

Do you stock anything which may be able to achieve this desired outcome?

 

Ive been led to believe some type of optical or proximity sensor may be able to achieve this.

 

Thanks for your time.

  • Sign in to reply
  • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    Red wine or white?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kurtisja
    0 kurtisja over 11 years ago in reply to D_Hersey

    Idealy it would work with both, but at the moment that isn't a huge concern. More interested in the type of sensor required. So doesn't really matter whether red or white. I would assume white wine would be harder though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 11 years ago

    You could try using a laser pointer shining through your clear tube at an angle, onto a surface a few inches away. See if the spot on the surface shifts when a bubble is in the laser beam. If it does shift, then a simple light detector at the spot location will detect the bubble.

    Another method is to put small metal plates on each side of the tube - the capacitance between the plates will change when there is a bubble between the plates. You can buy commercial sensors that use this principle.

    Newark/element14 carry several Optek optical sensors that can detect liquids in tubes for $5 - $8.

    such as:

    OPB350 OPTEK TECHNOLOGY Liquid Level Sensors - Optical | 73H3201 | Newark element14 Canada

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 11 years ago

    Starting out, let's freely ideate:  Aluminum foil is dynamically gauged by using radiation.  We could put a Geiger/Muller counter/detector on one side of your tube and a source on the other. . .

    Actually not being silly, this works great and isn't that hazardous because the detector is so sensitive.

     

    I wouldn't write an acoustic sensor off the table.  The tube may be less rigid when empty.  This would lower its resonant frequency, for example.

     

    Presuming your tubing is clear, we can differentiate between white wine and air using the difference in refractive index, probably.

     

    We need data my friend.  One thing is if white wine isn't clear in the near IR or near UV we are home free.

     

    I would take Douglas's sensor and hook up a good amplifier to it.  The sensor, IIRC has a logarithmic characteristic and may need to be linearized with an antilog amplifier for greatest sensitivity.  The loss characteristics might be different enough to reliably detect in the case of white wine versus air.

     

    Why are you getting bubbles?  Are you using a siphon?  Peristaltic pump?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago

    Hi Kurtis  You might want to consider using a sensor that puts a  light signal on one side of a clear line and an analog light sensor on the other side of the line. A few inches down the hose you put a second identical light and sensor. The outputs of the two sensors are then subtracted from each other. This will give us zero output whenever the solution is consistent. It will not matter if the solution is red or white as long as it is transparent or translucent. When an air bubble comes along there will be a difference in the two sensors and the subtraction will no longer equal zero. This will be your trigger to indicate an air bubble. If the sensors mentioned by Doug, with the link, are available in the hose size that you use they may work well for this technique with the right circuitry. If the hose size is different you could make some custom sensors. I suspect that you could use Infra Red sensors as typically there is less absorption of long wave lengths in a medium but I am not sure. I understand the physics of this approach but I do not have enough specific electronics experience to give you good guidance on the selection of components or circuits. If I were to try to design this sensor I would have to get some LEDs and a variety of sensors and start experimenting to see if I could produce a measurable sensor event with bubbles. I will continue to think about this problem and post again if any other ideas come to mind.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kurtisja
    0 kurtisja over 11 years ago

    Thanks for all the input guys! what an awesome community this seems to be!

     

    There are bubbles in the line because we are using nitrogen to displace wine in a bottle (to avoid oxidisation) however when the wine bottle empties the gas is pumped through the line and heart exchange. Hence we want to minimise gas in the line.

     

    The solution I've been experimenting with today involves two electrodes either side of the line immersed in the wine. When there is wine flowing through, the circuit is complete, when there is no liquid, no circuit. Then we just need a relay or something which can activate the gas on/off switch.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hi Kurtis.

     

    You could also consider using an ultrasonic sensor. An ultrasonic sensor working in the 1MHz to 5 MHz range would be good at detecting bubbles. The acoustic impedance mismatch between the bubbles and the surrounding liquid (wine) will ensure good reflectivity.

     

    Regards

    John Norman

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to kurtisja

    Hi Kurtis - You may want to consider that if you put over 1.23 volts of voltage across the wine you will electrolyse the water molecules and create a bubble of hydrogen and oxygen at your sensor site. This process will be accelerated if you are trying to run a relay directly as the current involved to close a relay is fairly high. If you can use the electrode sensor to control an E MOSFET or an OP amp that in turn controls the relay at least your hydrogen and oxygen production at the site will be held low. From a stand point of not messing electrochemically with your product a non-invasive processes of sensing the bubble as mentioned by Don or Doug or John's ultrasonic might be preferred.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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