<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><description>I was tempted not to post this project because it didn&amp;#39;t turn out how I wanted. So what changed my mind? I was reading some older posts and one of the community veterans had commented that projects don&amp;#39;t always turn out right. Yup...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Fri, 13 Mar 2020 21:46:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>kmikemoo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:43d2c3e8825e4123967cacd2bb7a769b:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; The 15kHz makes sense.&amp;nbsp; I hooked up my audio generator last night to half of my H-Bridge - which I think is an A-B Amplifier.&amp;nbsp; I could hear the pitch rise up to around 15kHz to 17kHz according to the scope.&amp;nbsp; Oddly enough, I believe the tone then started to decrease - slightly - as I continued up to around 30kHz.&amp;nbsp; I feel &lt;span&gt;[mention:ef601b47037147bfb9b0b4a3ab63026a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; hit the nail on the head with intermodulation distortion, electrical and mechanical.&lt;/p&gt;&lt;p&gt;It took me a bit to catch on, but I like your microphone suggestion.&amp;nbsp; Just because I &lt;strong&gt;think&lt;/strong&gt; I&amp;#39;m putting 30kHz into the piezo doesn&amp;#39;t mean that&amp;#39;s what I&amp;#39;m getting out of it.&amp;nbsp; I abandoned my detector because the transmitter still had audible noise.&amp;nbsp; I should pursue it still.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Fri, 13 Mar 2020 10:38:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;If you want to see how you&amp;#39;re torturing the power supply, you could place a small value resistor in series with one of the supply lines and look at the voltage across it with your &amp;#39;scope. That would then show you the current it&amp;#39;s supplying and how it varies. Pick a low value, so that the supply voltage doesn&amp;#39;t vary too much, but high enough that you get reasonable resolution on the &amp;#39;scope. For instance, something like 100mOhm would give you 100mV per amp and not impact the supply voltage too much on a 12V circuit. Try to go for a non-wirewound one if you can. Don&amp;#39;t run it for too long if you see a high current and the resistor wattage isn&amp;#39;t quite up to the job.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Be careful if you want to measure voltages on a second channel at the same time. One way to arrange that would be to put the resistor in the ground return to the supply like this so that the &amp;#39;scope grounds were common (that will lead to the current trace being upside-down but, if you&amp;#39;re not comfortable with that, &amp;#39;scopes usually have the means to invert a channel):&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/600x450/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-71354a4a-3333-4e02-bb39-30c55358d501/contentimage_5F00_206289.jpg:600:450]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Fri, 13 Mar 2020 00:13:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;That cheap tweeter may not be rated for 30kHz operation. Looking at the spec on this one:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://cpc.farnell.com/pulse/pls00307/tweeter-piezo-horn-188x80mm/dp/LS03583" target="_blank" title="https://cpc.farnell.com/pulse/pls00307/tweeter-piezo-horn-188x80mm/dp/LS03583"&gt;https://cpc.farnell.com/pulse/pls00307/tweeter-piezo-horn-188x80mm/dp/LS03583&lt;/a&gt;&lt;/p&gt;&lt;p&gt;it suggests 3-20kHz frequency response.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Similar with this one:&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-nNsdcIbG-linked"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2827735&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=2827735&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;3&amp;quot; x 7&amp;quot; Piezo Horn Tweeter&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-nNsdcIbG-unlinked"&gt;3&amp;quot; x 7&amp;quot; Piezo Horn Tweeter&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;May be an interesting experiment to use a microphone connected to the scope and see what happens as you increase from say 10kHz (still audible I hope) past 20kHz on the input.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Thu, 12 Mar 2020 12:39:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Did the original circuit have the collectors of Q3 and Q4 connected to ground, by any chance? As you&amp;#39;ve drawn it, on the low side of the bridge you&amp;#39;ll have a diode path emitter-to-base to whichever 555 output is low.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Thu, 12 Mar 2020 10:21:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>dubbie</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is an interesting idea which looks like it should work (I&amp;#39;m not analogue electronics expert so who knows!). I&amp;#39;ve done a fair bit of ultrasonics and never thought of using a simple ultrasonic receiver to check for proper operation. I will have to remember that. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dubbie&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Disappointing Ultrasonic Dog Deterrent (DUDD)</title><link>https://community.element14.com/challenges-projects/project14/acoustics/b/blog/posts/disappointing-ultrasonic-dog-deterrent-dudd</link><pubDate>Thu, 12 Mar 2020 06:47:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:71354a4a-3333-4e02-bb39-30c55358d501</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I suppose this is a good exploration into getting some sort of power into a signal - it can be a little tricky and I&amp;#39;m definitely no expert. That being said, hot transistors normally mean one of a few things - the transistors are not being driven fully hard on/off, the switching transition is happening too slowly so the transistor is spending part of its time acting as a &amp;quot;resistor&amp;quot;, the transistors themselves are reaching their current limits (due to internal resistance limitations) or you&amp;#39;re somehow trying to switch them very quickly and they just can&amp;#39;t cope. It did get me thinking ... they&amp;#39;re using the BJTs in a way which MOSFETs may be a better choice if you can find one with the proper gate voltage properties.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I suspect that the original H-bridge style circuit was used to ensure that the waveform on the piezo was a nice true AC waveform. Feeding the piezo directly is likely to make this a pulsed DC waveform instead, so in terms of a speaker cone, one can imagine it going from equilibrium to forwards and back to equilibrium rather than back-and-forth of the equilibrium, which is likely to cause limitations in drive power and possible distortion. I suppose you could try adding a DC-blocking capacitor in series with the piezo to try and transform the pulsed DC into something more like AC, so as to reduce the chances for distortion (noting that the capacitor is likely to result in changes to frequency response). It might also result in a reduction in the current draw but I can&amp;#39;t be sure ... haven&amp;#39;t played with piezos in a long while.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wonder whether the noise you were hearing audibly was a result of distortion causing intermodulation of frequency components which have a product in the audible frequency range. It definitely could happen due to physical material properties of the piezo and not necessarily at the electrical level. In fact, this does have some similarity to a mosquito repellent type device that I&amp;#39;ve seen in my distant past ... but I never actually built it, so nice to see your write-up!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Gough&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8779&amp;AppID=251&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>