{"id":12582,"date":"2016-11-16T22:57:27","date_gmt":"2016-11-17T03:57:27","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=12582"},"modified":"2016-11-16T22:57:43","modified_gmt":"2016-11-17T03:57:43","slug":"making-an-ultrasonic-anemometer","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/making-an-ultrasonic-anemometer\/","title":{"rendered":"Making an Ultrasonic Anemometer"},"content":{"rendered":"<p>An anemometer is a common instrument at a weather station. It is used to measure the wind speed and wind direction.\u00a0The most common type of anemometer uses mechanical sensors consisting of three or four hemispherical cups mounted on horizontal arms on a vertical rod. As the\u00a0wind blows, the cups are pushed causing the arms to rotate at a rate proportional to the wind speed. In addition, a wind vane connected to\u00a0the anemometer can give the direction measurements. While the cup and vane anemometers are very popular due to their very simple design, they\u00a0can be susceptible under cold and humid conditions because of their mechanical rotating parts, possibly causing the turbine to stop operating during extreme conditions. Designed without any moving parts, the ultrasonic anemometers are\u00a0more reliable, maintenance free, long-lasting, and can operate in challenging weather conditions. In this article, we will review the basic working principle of an ultrasonic anemometer, and discuss about some DIY versions of ultrasonic anemometers reported by makers on the internet.<\/p>\n<h3>Working principle of\u00a0ultrasonic\u00a0wind sensor<\/h3>\n<p>A typical ultrasonic anemometer consists of 2 pairs of ultrasonic transducers mounted at right angles to one another as shown in the figure below. Each sensor is capable to transmit and receive ultrasonic pulses. The physical distance between the opposite facing sensors is fixed and known. During operation, the time taken for an ultrasonic pulse of sound to travel from the North (N) transducer to the South (S) transducer\u00a0is compared to\u00a0the time for a pulse to travel from S to N transducer. If there were no wind blowing, the two times should exactly match. Otherwise, the sound wave traveling with the wind should arrive earlier than the sound traveling against it. For example, if there is a wind blowing to N, the N to S travel time would be more\u00a0compared to the S to N travel time. The difference in the time of flight can give the relative speed of wind along NS axis. Similarly, flight times are also compared along the\u00a0East-West and West-East directions to compute the wind velocity along the EW axis. The two rectangular velocity components of the wind are\u00a0then combined to compute the\u00a0wind vector with a resultant sum and an angle of wind velocity. The sensor arrangement shown below gives only the\u00a0horizontal wind speed. Measuring a\u00a0three dimensional wind speed requires sensor arrangements along the vertical direction too.<\/p>\n<div id=\"attachment_12590\" style=\"width: 641px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/UAlayout.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12590\" class=\"wp-image-12590 size-full\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/UAlayout.jpg\" alt=\"Basic layout of an ultrasonic anemometer\" width=\"631\" height=\"465\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/UAlayout.jpg 631w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/UAlayout-580x427.jpg 580w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><p id=\"caption-attachment-12590\" class=\"wp-caption-text\">Basic layout of an ultrasonic anemometer (Source: http:\/\/gillinstruments.com\/products\/anemometer\/principleofoperation2.html)<\/p><\/div>\n<h3>DIY Ultrasonic Wind Sensors<\/h3>\n<p>Among hobbyists and DIY community, the cup-based mechanical sensor\u00a0is the most popular choice for homemade anemometers. There are also a few resources available online to make ultrasonic anemometers. The oldest report that I could find on the internet is from <strong><a href=\"http:\/\/www.dl1glh.de\/ultrasonic-anemometer.html\" target=\"_blank\">Hardy Lau<\/a><\/strong> (Germany). He made two different prototypes of ultrasonic anemometers. His first design consist of four ultrasonic transducers arranged\u00a0to perform measurements along two orthogonal\u00a0directions, just like we discussed above. The distance between the opposite transducers is approximately 21 cm. It is capable to measure the horizontal\u00a0components of the wind speed (up to 45m\/sec with a resolution of\u00a00.05m\/sec) and the wind direction at 1\u00ba resolution. The design implements a heating mechanism utilizing four BD743 power transistors and dummy resistive loads to heat the sensors and the enclosing metallic body during extreme winter conditions\u00a0to ensure that the sensor operation is not affected by\u00a0snowfall and possible\u00a0ice formation. The\u00a0Microchip dsPIC 30F4012 processor is used to do all the control functions and computation tasks involved in processing the transducer outputs. The wind speed and direction data are available for data logging\u00a0through a serial interface.<\/p>\n<div id=\"attachment_12597\" style=\"width: 744px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/usa-usa2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12597\" class=\"size-full wp-image-12597\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/usa-usa2.jpg\" alt=\"Hardy Lau's homemade ultrasonic anemometers\" width=\"734\" height=\"509\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/usa-usa2.jpg 734w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/usa-usa2-580x402.jpg 580w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><p id=\"caption-attachment-12597\" class=\"wp-caption-text\">Hardy Lau&#8217;s homemade ultrasonic anemometers<\/p><\/div>\n<p>His second\u00a0prototype is a more advanced and\u00a0aerodynamically more favorable design with minimum interference with wind, thereby resulting in less turbulence. Opposite facing transducers alternately sends and receive ultrasonic pulses to each other via a top sound reflecting plate, and are processed by the\u00a0dsPIC33FJ128MC802 processor. For the full detail of the project, visit <strong><a href=\"http:\/\/www.dl1glh.de\/ultrasonic-anemometer.html\" target=\"_blank\">Hardy Lau&#8217;s anemometer page<\/a><\/strong>.<\/p>\n<div id=\"attachment_12602\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/ultraschall-anemometer-43.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12602\" class=\"size-full wp-image-12602\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/ultraschall-anemometer-43.jpg\" alt=\"Control circuit board\" width=\"800\" height=\"600\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/ultraschall-anemometer-43.jpg 800w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/ultraschall-anemometer-43-580x435.jpg 580w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><p id=\"caption-attachment-12602\" class=\"wp-caption-text\">Hardy Lou&#8217;s control circuit board<\/p><\/div>\n<p>Another successful DIY design of an ultrasonic anemometer is from\u00a0<a href=\"http:\/\/forum.arduino.cc\/index.php\/topic,8535.0.html\" target=\"_blank\">Carl47<\/a>. His design of the sensor is similar to Hardy Lou&#8217;s first version. Carl47\u00a0implemented the phase shift method for a precise measurement of the flight times, and uses Atmega328 for processing the sensor data. You can download the full project report from the following link.<\/p>\n<p><a href=\"https:\/\/mysudoku.googlecode.com\/files\/UltrasonicAnemometer.zip\" target=\"_blank\">https:\/\/mysudoku.googlecode.com\/files\/UltrasonicAnemometer.zip<\/a><\/p>\n<p>The most recent\u00a0design of a DIY ultrasonic anemometer published online is by\u00a0Lukas Fassler from\u00a0<strong><a href=\"https:\/\/soldernerd.com\/\" rel=\"home\">soldernerd<\/a><\/strong>. He has a series of posts about\u00a0his anemometer project that can be accessed\u00a0here:<\/p>\n<p><a href=\"https:\/\/soldernerd.com\/arduino-ultrasonic-anemometer\">https:\/\/soldernerd.com\/arduino-ultrasonic-anemometer<\/a><\/p>\n<p>The sensing part is pretty much similar to the earlier two designs we discussed. But Lukas has designed a couple of different varieties of control board for his setup. He has one in the form of an\u00a0Arduino shield and another one as a standalone board using a PIC32 processor. He even built a tiny wind tunnel using a brushless motor fan for testing his sensor. His series of tutorials on building an ultrasonic anemometer are worth reading.<\/p>\n<div id=\"attachment_12604\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160514_StandaloneAnemometer_045.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12604\" class=\"size-full wp-image-12604\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160514_StandaloneAnemometer_045.jpg\" alt=\"Lukas\" width=\"1024\" height=\"856\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160514_StandaloneAnemometer_045.jpg 1024w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160514_StandaloneAnemometer_045-580x485.jpg 580w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-12604\" class=\"wp-caption-text\">Lukas Fassler&#8217;s ultrasonic anemometer setup<\/p><\/div>\n<div id=\"attachment_12584\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160903_StandaloneAnemometer_001.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12584\" class=\"size-full wp-image-12584\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160903_StandaloneAnemometer_001.jpg\" alt=\"PIC32\" width=\"1024\" height=\"723\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160903_StandaloneAnemometer_001.jpg 1024w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/20160903_StandaloneAnemometer_001-580x410.jpg 580w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-12584\" class=\"wp-caption-text\">Lukas&#8217;s PIC32 based standalone ultrasonic anemometer controller<\/p><\/div>\n<p>If you know any other resources on DIY ultrasonic anemometers, please let us\u00a0know. You can email us\u00a0at admin\u00a0(at) embedded-lab.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An anemometer is a common instrument at a weather station. It is used to measure the wind speed and wind direction.\u00a0The most common type of anemometer uses mechanical sensors consisting of three or four hemispherical cups mounted on horizontal arms on a vertical rod. As the\u00a0wind blows, the cups are pushed causing the arms to rotate at a rate proportional to the wind speed. In addition, a wind vane connected to\u00a0the anemometer can give the direction measurements. While the cup and vane anemometers are very popular due to their very simple design, they\u00a0can be susceptible under cold and humid conditions<\/p>\n","protected":false},"author":1,"featured_media":12605,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150,1464,4],"tags":[1563,1562,1564],"class_list":["post-12582","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino-2","category-featured","category-pic-projects","tag-diy-wind-sensor","tag-ultrasonic-anemometer","tag-ultrasonic-wind-sensor"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=12582"}],"version-history":[{"count":18,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12582\/revisions"}],"predecessor-version":[{"id":12607,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12582\/revisions\/12607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/12605"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=12582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=12582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=12582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}