Shop OBEX P1 Docs P2 Docs Learn Events
Is PING sensor temperature compensated? — Parallax Forums

Is PING sensor temperature compensated?

nafisnafis Posts: 5
edited 2006-01-12 03:37 in BASIC Stamp
Does anyone know if the PING sensor is temperature compensated?
The spec. sheet for other ultrasonic sensors (eg. Senscomp·http://www.senscomp.com/specs/Mini-A%20PB%20spec.pdf)
state that they are.

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-10-07 19:54
    No, there is no temperature compensation on the Ping -- it is not designed for temperature extremes that would require compensation. And given the Ping's short range and ~1/2" accuracy, temperature compensation would just add cost and complication without benefit to the user.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Tracy AllenTracy Allen Posts: 6,656
    edited 2005-10-07 21:11
    The speed of sound depends on temperature. About 1120 feet per second at room temperature.

    Here is a calculator:
    hyperphysics.phy-astr.gsu.edu/hbase/sound/souspe.html

    If you measure temperature in your environment, you could do the temperature compensation yourself.

    There is also a complicated dependence of the speed of sound on altitude. The URL above has links to breaking the sound barrier, with fascinating photos of clouds that form around an aircraft.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • nafisnafis Posts: 5
    edited 2005-10-07 21:24
    Thanks for the feedback.

    I was trying to make an inexpensive snow depth sensor that would automatically post the data to the web (I thought it would be fun to add to the weather stations and lightning detectors that I've been building for the local schools).

    I did a quick experiment with a rabbit processor board from Imaginetools (boo hiss... I know this is a Stamp forum :-). I used a thermistor and a R/C to measure the temperature and the PING to measure the distance to the ground.

    I used the formula· 331.4 + 0.6 * (T -273.0) to calculate the speed of sound.

    Over a period of 24 hours I took data and I see a 0.5" drift without compensation and almost 0.8" drift with compensation. That's what made me think that the PING might have onboard compensation.

    There are other sensors... but the 5/$100 was in the right range for the school projects. I'm hoping to build something with 1/10th " accuracy.

    Last year I built some IR snow depth sensors (http://www.howmuchsnow.com/snow/), but thought I'd try out the PING because of it's price and increased range.
  • Tracy AllenTracy Allen Posts: 6,656
    edited 2005-10-08 16:19
    Hi Chris,

    Thanks for the link to your "cool" howmuchsnow URL.

    The sensor was solidly mounted and pointed at a solid flat ground surface, right? The echo signal from the PING))) should be longer duration at low temperatures, right?
    20 deg C, 1126.7 feet per second, 74.0 microseconds for 1" difference in go and return
    0 deg C, 1087.3 feet per second, 76.6 microseconds for 1" difference in go and return.
    That is not much difference, marginally detectable by the original BASIC Stamp, but easily detectable by the faster Stamps.
    I'm a little suspicious of the R/C measurement of temperature. I'd be more confident with something like an LM34 or a DS1620.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • nafisnafis Posts: 5
    edited 2005-11-02 18:10
    Here is an example of using the PING sensor (http://www.howmuchsnow.com/ping/) for snow depth measurement. Temperature compensation makes a big difference, but the sensor drift seems to be around +/- 0.3". I'm still waiting for some snow to test the accuracy on :-)
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-11 13:23
    Hi nafis,

    I notice you have the hotplates listed on your website. Do you have anything to do with these?
    We have a set running at the moment at one of our field sites (I work for Environment Canada)....and they seem to run quite well.
    We also have a POSS (Precipitation Occurance Sensing System) that is basically a police radar (bistatic) pointing straight up. It measures the reflected energy (for drop size/flake size) and also the rate of fall. When used with a temperature sensor, it does quite well to give us info on what kind of precip is falling.
    We've also got your a-typical 'weighing' gauge. Many exist...ours uses a vibrating wire and a bucket. As the bucket fills...more tension goes to the wire, which increases its vibrating frequency (like a guitar string). With a dose of anti-freeze (to melt snow) and transformer oil (to prevent evaporation), we do quite well for accumulation values.
    We've also got a tipping bucket gauge (calibrated see-saw with cups on the ends) that will tip for every Xmm of rain (only good in rain).
    We've also got a Capacitance plate that works well for moderate rain/snow...but seems to get swamped with heavy precips.

    I enjoyed reading your webpage and was also looking to use the PING as a snow depth sensor. We do have some ultrasonic snow sensors in teh field, but they cost WAY too much (IMHO). Haven't tested it just yet....too busy with the other gear.

    Another sensor we will be getting is a GPS rain sensor. I'm not entirely sure how it operates...but its something along the lines of measuring the GPS signal delay from each satellite and how it worsens in precip.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • nafisnafis Posts: 5
    edited 2006-01-11 15:28
    Hi Steve,

    Sounds like you have a lot of nice·tools to measure precipitation. I only have unheated rain gauges and several prototype snow sensors. I think the IR sensor (http://www.howmuchsnow.com/snow/) is more accurate for small snowfalls. I think I need to use a better temperature sensor·with the PING sensor.· The thermister is not tracking my other 1-wire temperature sensors. I may be reading it to often and heating it up?

    Take a look at Steinar's sensor (http://voksenlia.net/met/snow.php)

    ····························· Chris
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-11 17:08
    Have you thought about going with a larger onsite 'stevenson' screen with a "psychrometer motor"?
    Keeps a relative flow.
    Mostly used for Dry and Wet bulbs for Rh calculations....
    I have to try and find the calculation table....

    We've got a couple of the $30 thermistors and they seem fairly good. (part # YSI55006: glass thermistor).
    I'm just a tech here...not really in to the data side of it, so couldn't say for sure which ones work the best....I think our better temp sensors are the CAmpbell Scientific ones. The HMP35C (with Rh sensing) are popular with us on their dataloggers.

    Does blowing snow affect your readings much?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • Tracy AllenTracy Allen Posts: 6,656
    edited 2006-01-11 22:35
    Hi Chris, I'm interested in followup information too, about how well the PING)))-- How did it work when the snow started falling?

    Something like the DS1620 or SHT15 would probably better for the temperature compensation? I think the thermistor is plenty accurate, but RCtime has quite a drift.
    www.emesystems.com/BS2rct.htm#drift:

    A group from the geology dept. at UC had a data logger next to a standing snowfall gage with glycerin (I think it was glycerin) inside to melt the snow. That is, until a bear came along and thought it smelled pretty sweet. He took out the rain gage and knocked around all the other equipment too. The logger kept running, so at least we know when it happened!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • steve_bsteve_b Posts: 1,563
    edited 2006-01-12 03:37
    I think we use ethyl glycol to melt our snow.
    I see some other precip sensors use heaters....which isn't the way to go if you're a remote station on solar power.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Sign In or Register to comment.