element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Acoustics
  • Challenges & Projects
  • Project14
  • Acoustics
  • More
  • Cancel
Acoustics
Blog Disappointing Ultrasonic Dog Deterrent (DUDD)
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Acoustics to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: kmikemoo
  • Date Created: 12 Mar 2020 3:56 AM Date Created
  • Views 6744 views
  • Likes 14 likes
  • Comments 11 comments
  • p14acousticsch
Related
Recommended

Disappointing Ultrasonic Dog Deterrent (DUDD)

kmikemoo
kmikemoo
12 Mar 2020

I was tempted not to post this project because it didn'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't always turn out right. Yup.  So I'll share what I learned along the way and maybe someone else will build the better mouse trap - or dog yap trap and I can sleep past 6am on a Saturday.

 

Like many a tinkerer, the 555 has a special place in my heart.  It's one of those MacGyver chips that seems to have endless uses.  Okay, not endless - but A LOT.  When I saw a 555 H-Bridge Push-Pull dog deterrent circuit, I had to try it.  The original circuit used BD679 and BD680 Darlington transistors.  I ordered some from China but... I may see them in April.  Maybe.  I substituted TIP41's and TIP42's because I could get them.

image

Schematic corrected March 12, 2020.

For a speaker, I chose some cheap piezo horns and modified one.  I removed the horn and adapted a 1" PVC coupler in its place.  The plan is to connect a 24" barrel and make the sound as directional as possible.

imageimageimage

Since 30kHz is outside of the human hearing band, one of the piezo speakers was to be used as a receiver to test the output.  A multimeter connected to the receiver piezo does respond to varying sound levels.  Since I was going for an elevated output... I was okay with the test system not being all that sensitive.

 

So... I breadboarded the circuit and this is what it sounded like...

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Needless to say, this was not what I expected.  I played with the potentiometer initially - until I noticed the smell of wires getting really, really warm.  I'm not audio expert, but I'm going to say that buzz is that the speaker can't respond to whats going into it.  Playing with the potentiometer didn't seem to affect the output sound.

 

I let the circuit cool and played with it a bit more.  The output frequency is not stable at all and pretty much runs away (escalates) as the transistors get hot.  I could heat sink them, but I don't have faith that it will change much.

 

So I tried to go a different direction.  I connected a standard 555 circuit up and connected it to the piezo.  My Fluke says that it starts at 29.3kHz and climbs slowly.  The major issue?  I can hear it.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

imageimage

I shouldn't be able to hear it.

Thanks to the timely arrival of my new tool, I was able to grab this screen shot.  Thank you again to element14 and the judges.

This also allowed me to check my original circuit.  I substituted the trigger circuit from the simple 555 circuit in for the original 1k / 100k circuit.

image

While I was expecting the amplitude, I wasn't expecting the frequency.  Time to heat sink the TIPs and slow the initial 555 by a factor of 10.

 

Yup.  Heat sinks didn't really change anything.  How can the transistors get that hot that quickly with only a 2 amp power supply?

I have rebuilt the circuit for 20kHz, 15kHz, 10kHz and 3kHz a couple of times each with inconsistent output results.  Why?  Well...

1.  One of the things I discovered was that my wall wart makes noise - enough on the last build that with one power lead (either one) disconnected I was still getting audible output on the piezo.  I measured about 5mV peak to peak at an unstable 210kHz-ish.  At the piezo, it was a clear 60.0Hz.  A filter cap on the power input didn't clean it up.

2.  On the original circuit, Pin 5 on the 555's floated.  I could get variations in output frequency just by getting a finger or wire near the pin.  A 100pF capacitor acted more like an antenna than anything else.  A 1nF capacitor tying the pin to ground made the 555 output consistent.

3.  Maybe it was the breadboard, but the wave forms became more distorted the more times I rebuild the circuit.  The hiss from the video was always present.  I did go back to the single 555 output just to make sure that I hadn't damaged the piezo.  I didn't beak it - but I could also still hear it at 33kHz.  That ain't right.

4.  A few times, I did get input frequency as output frequency so the concept is functional.  I never saw another smooth waveform like in the picture above.  More often, I saw rail to rail with a leading spike - and lots of harmonics.

 

I'm going to call this one BUSTED.  I do believe that the switching noise from the power supply created some of the hiss.  If ultrasonic was happening, it didn't matter because the audible noise was also present.  I guess I'll keep looking for a better dog yap trap.

  • Sign in to reply

Top Comments

  • Gough Lui
    Gough Lui over 5 years ago +5
    I suppose this is a good exploration into getting some sort of power into a signal - it can be a little tricky and I'm definitely no expert. That being said, hot transistors normally mean one of a few…
  • Gough Lui
    Gough Lui over 5 years ago in reply to kmikemoo +5
    A Darlington Pair is a classic BJT arrangement that results in a gain multiplication across the stages. Because of this, a Darlington would require less base current to achieve the same collector current…
  • jc2048
    jc2048 over 5 years ago +4
    Did the original circuit have the collectors of Q3 and Q4 connected to ground, by any chance? As you've drawn it, on the low side of the bridge you'll have a diode path emitter-to-base to whichever 555…
Parents
  • beacon_dave
    beacon_dave over 5 years ago

    That cheap tweeter may not be rated for 30kHz operation. Looking at the spec on this one:

    https://cpc.farnell.com/pulse/pls00307/tweeter-piezo-horn-188x80mm/dp/LS03583

    it suggests 3-20kHz frequency response.

     

    Similar with this one:

    3" x 7" Piezo Horn Tweeter3" x 7" Piezo Horn Tweeter

     

    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.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 5 years ago in reply to beacon_dave

    beacon_dave It's supposed to. imageimage  It is cheap so the rating could be... theoretical (aka marketing hype).

    imageimage

    When I hook it up to my audio generator, it does decent enough.  The sound level falls off as I approach 30kHz - which I assume is my hearing.

    Based on Gough Lui's reply and yours, I may try the audio generator into the H-bridge.  I really need to study up on these amplifiers.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • kmikemoo
    kmikemoo over 5 years ago in reply to beacon_dave

    beacon_dave It's supposed to. imageimage  It is cheap so the rating could be... theoretical (aka marketing hype).

    imageimage

    When I hook it up to my audio generator, it does decent enough.  The sound level falls off as I approach 30kHz - which I assume is my hearing.

    Based on Gough Lui's reply and yours, I may try the audio generator into the H-bridge.  I really need to study up on these amplifiers.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • beacon_dave
    beacon_dave over 5 years ago in reply to kmikemoo

    "...The sound level falls off as I approach 30kHz - which I assume is my hearing..."

     

    You will be lucky to hear anything above 15kHz with your adult ears.

    Young children can hear up to about 22kHz but few adults can.

     

    Hence the suggestion of using a microphone to see what frequencies are actually coming out of the tweeter unit for a given input signal.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • 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