{"id":37,"date":"2023-12-29T09:27:25","date_gmt":"2023-12-29T09:27:25","guid":{"rendered":"https:\/\/blog.kkaragoz.com\/?p=37"},"modified":"2023-12-29T09:31:21","modified_gmt":"2023-12-29T09:31:21","slug":"ultrasonic-transducer-transmitter-receiver","status":"publish","type":"post","link":"https:\/\/blog.kkaragoz.com\/index.php\/2023\/12\/29\/ultrasonic-transducer-transmitter-receiver\/","title":{"rendered":"Ultrasonic Transducer &#8211; Transmitter &#038; Receiver"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Ultrasonic Transducer<\/h1>\n\n\n\n<p>Ultrasonics sensors are used for anti-collision safety, object detection, park sensors and more. For developing special kind of ultrasonic system to solve a problem, we should understand the working, driving and receiving principle of the ultrasonic transducers first.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Brief Introduction for HC-SR04 Ultrasonic Sensor and Ultrasonic Transducers<\/h4>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"900\" src=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1.jpg\" alt=\"\" class=\"wp-image-44\" style=\"width:456px;height:auto\" srcset=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1.jpg 900w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-300x300.jpg 300w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-150x150.jpg 150w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-768x768.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figcaption class=\"wp-element-caption\"><strong>Figure &#8211; 1: <\/strong><em>A pair of ultrasonic transducer<\/em><\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Ultrasonic transducers converts the electrical energy into ultrasonic vibrations or ultrasonic vibrations into electrical energy. In this article, I will examine ultrasonic transducers that work with ultrasonic sound waves.<\/p>\n\n\n\n<p>As shown in the <em>Figure-1<\/em> there is one receiver and one transmitter exists. There is no driver or amplifier circuit connected to them. To be able drive this transducers, we should examine the principles of the receiver and transducers separately. <\/p>\n\n\n\n<p>By reviewing a device that already exists, we can more easily understand how to use them and get a clean start. Let&#8217;s examine the HC-SR04 physically.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p>As shown in the Figure-2 and Figure-3, same transducers used for HC-SR04 module. When we examine the pin structures, we see VCC, GND, Trig and Echo pins. The supply voltage of the module is 5V. Let&#8217;s examine backside of the HC-SR04 module. Back view of the module shown in the Figure-3. There are two nameless integrated circuit and one LM324 IC. LM324 is a single supply quad operational amplifier integrated circuit. For technical information you can examine the related <a href=\"https:\/\/www.onsemi.com\/pdf\/datasheet\/lm324-d.pdf\">data-sheet<\/a>.<\/p>\n\n\n\n<p>For more information: <a href=\"https:\/\/www.onsemi.com\/pdf\/datasheet\/lm324-d.pdf\">the data sheet of LM324<\/a><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View-1024x1024.jpg\" alt=\"HC-SR04 front view\" class=\"wp-image-50\" srcset=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View-1024x1024.jpg 1024w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View-300x300.jpg 300w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View-150x150.jpg 150w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View-768x768.jpg 768w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Front-View.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Figure &#8211; 2:<\/strong> HC-SR04 Front View<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View-1024x1024.jpg\" alt=\"HC-SR04 Back View\" class=\"wp-image-49\" srcset=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View-1024x1024.jpg 1024w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View-300x300.jpg 300w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View-150x150.jpg 150w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View-768x768.jpg 768w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/HC-SR04-Back-View.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Figure &#8211; 3:<\/strong> HC-SR04 Back View<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Transmitter of the HC-SR04 module generates 40kHz ultrasonic sound wave and receiver of the module detects reflected sound waves. Sound wave propagates in air medium. After generating the sound wave, the signal propagates until collides with any object then reflects from the object. Receiver of the HC-SR04 module detects the reflected sound waves. When we want to determine how far is the collided object is, we should apply the following basic physics formula:<\/p>\n\n\n\n<div class=\"wp-block-mathml-mathmlblock\">\\[distance = \\frac{velocity}{time}\\]\n<script src=\"https:\/\/blog.kkaragoz.com\/wp-includes\/js\/dist\/hooks.min.js?ver=dd5603f07f9220ed27f1\" id=\"wp-hooks-js\"><\/script>\n<script src=\"https:\/\/blog.kkaragoz.com\/wp-includes\/js\/dist\/i18n.min.js?ver=c26c3dc7bed366793375\" id=\"wp-i18n-js\"><\/script>\n<script id=\"wp-i18n-js-after\">\nwp.i18n.setLocaleData( { 'text direction\\u0004ltr': [ 'ltr' ] } );\n\/\/# sourceURL=wp-i18n-js-after\n<\/script>\n<script  async src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/2.7.7\/MathJax.js?config=TeX-MML-AM_CHTML\" id=\"mathjax-js\"><\/script>\n<\/div>\n\n\n\n<p>We know the speed of the sound in air medium. To determine time, we can easily calculate the duration between trigger time of transmitter and receiver. This duration will give us the propagated distance of generated and reflected sound wave signal. To calculate the distance between module and object, we should divide the distance with two. Because the sound wave first propagates towards the object and then hits the object and is reflected back. It makes the propagated path two times longer. This is the fundamental of distance measurement with ultrasonics sound waves. <\/p>\n\n\n\n<p>The LM324 IC (integrated circuit) could be used as filter or instrumentation amplifier. To be able to understand logic of this module, we can examine the related papers. First, let&#8217;s examine how the transmitter works.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Fundamentals of Transmitter<\/h4>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>When we examine the HC-SR04 ultrasonic sensor module, there is a 40 kHz crystal exists on the front side of it. To generate a sound wave, we should apply a signal to the input of the transducer. Crystal can generate a square-wave to drive the transmitter.<\/p>\n\n\n\n<p>There is a black ring on one of the sensor legs. It would be logical to use this ringed lead as a signal leg. It would be more logical to select the other leg as GND, as it would also ground the chassis. This small ring may allow the signal to have less noise. These small rings shown clearly in the Figure-4.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"900\" src=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer4-e1702819913184-1.jpg\" alt=\"\" class=\"wp-image-58\" srcset=\"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer4-e1702819913184-1.jpg 900w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer4-e1702819913184-1-300x300.jpg 300w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer4-e1702819913184-1-150x150.jpg 150w, https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer4-e1702819913184-1-768x768.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figcaption class=\"wp-element-caption\"><strong>Figure &#8211; 4:<\/strong> A pair of ultrasonic transducers<\/figcaption><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ultrasonic Transducer Ultrasonics sensors are used for anti-collision safety, object detection, park sensors and more. For developing special kind of ultrasonic system to solve a problem, we should understand the working, driving and receiving principle of the ultrasonic transducers first. Brief Introduction for HC-SR04 Ultrasonic Sensor and Ultrasonic Transducers Ultrasonic transducers converts the electrical energy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":44,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[10,14,9,12,13,11],"class_list":["post-37","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-antenna","tag-antenna","tag-receiver","tag-sensor","tag-transducer","tag-transmitter","tag-ultrasonic"],"better_featured_image":{"id":44,"alt_text":"a pair of transducers","caption":"a pair of transducers","description":"a pair of transducers","media_type":"image","media_details":{"width":900,"height":900,"file":"2023\/12\/transducer3-e1702819889407-1.jpg","filesize":44242,"sizes":{"medium":{"file":"transducer3-e1702819889407-1-300x300.jpg","width":300,"height":300,"mime-type":"image\/jpeg","filesize":6271,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-300x300.jpg"},"thumbnail":{"file":"transducer3-e1702819889407-1-150x150.jpg","width":150,"height":150,"mime-type":"image\/jpeg","filesize":2334,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-150x150.jpg"},"medium_large":{"file":"transducer3-e1702819889407-1-768x768.jpg","width":768,"height":768,"mime-type":"image\/jpeg","filesize":31424,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-768x768.jpg"},"post-thumbnail":{"file":"transducer3-e1702819889407-1-300x300.jpg","width":300,"height":300,"mime-type":"image\/jpeg","filesize":6271,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-300x300.jpg"},"bravada-featured":{"file":"transducer3-e1702819889407-1-421x300.jpg","width":421,"height":300,"mime-type":"image\/jpeg","filesize":8366,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-421x300.jpg"},"bravada-featured-lp":{"file":"transducer3-e1702819889407-1-620x300.jpg","width":620,"height":300,"mime-type":"image\/jpeg","filesize":12864,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-620x300.jpg"},"bravada-featured-half":{"file":"transducer3-e1702819889407-1-800x300.jpg","width":800,"height":300,"mime-type":"image\/jpeg","filesize":17679,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-800x300.jpg"},"bravada-featured-third":{"file":"transducer3-e1702819889407-1-512x300.jpg","width":512,"height":300,"mime-type":"image\/jpeg","filesize":10280,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-512x300.jpg"},"bravada-lpbox-1":{"file":"transducer3-e1702819889407-1-310x250.jpg","width":310,"height":250,"mime-type":"image\/jpeg","filesize":5562,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-310x250.jpg"},"bravada-lpbox-2":{"file":"transducer3-e1702819889407-1-413x300.jpg","width":413,"height":300,"mime-type":"image\/jpeg","filesize":8188,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1-413x300.jpg"}},"image_meta":{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0","keywords":[]}},"post":37,"source_url":"https:\/\/blog.kkaragoz.com\/wp-content\/uploads\/2023\/12\/transducer3-e1702819889407-1.jpg"},"_links":{"self":[{"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":18,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/posts\/37\/revisions\/65"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/media\/44"}],"wp:attachment":[{"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kkaragoz.com\/index.php\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}