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
  • Gough Lui
    Gough Lui over 5 years ago

    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 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 "resistor", the transistors themselves are reaching their current limits (due to internal resistance limitations) or you're somehow trying to switch them very quickly and they just can't cope. It did get me thinking ... they'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.

     

    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't be sure ... haven't played with piezos in a long while.

     

    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've seen in my distant past ... but I never actually built it, so nice to see your write-up!

     

    - Gough

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

    Gough Lui The original circuit actually had Darlingtons.  Would that make a difference?  I also suspected what I would call harmonics.  My electrical power background is stronger than my radio background. image  The intermodulation of the noise from the power supply - then amplified - certainly could yield something close to what I saw.

    I'll try the cap.  It's a better direction than the "Uh... I dunno." I had.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 5 years ago in reply to kmikemoo

    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. Using ordinary transistors instead of a Darlington might not work well if the circuit is expecting the high gain, as the single BJT would not be biased as "hard on" by that current. But I don't know enough to know whether this applies to your particular circuit.

     

    Indeed, mains noise leaking through could be one thing, but there could also be a subharmonic resonance mechanically in the unit, or some other modulating effect at play (e.g. microphonics, magnetostriction). It's always fascinating to hear something when you didn't expect to ... it even happens in optics (e.g. UV-C LEDs outside the visible range do appear a very dull pale blue due to optical noise emission and sometimes other colours when reflected off objects due to fluorescence - don't try this at home!).

     

    - Gough

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

    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. Using ordinary transistors instead of a Darlington might not work well if the circuit is expecting the high gain, as the single BJT would not be biased as "hard on" by that current. But I don't know enough to know whether this applies to your particular circuit.

     

    Indeed, mains noise leaking through could be one thing, but there could also be a subharmonic resonance mechanically in the unit, or some other modulating effect at play (e.g. microphonics, magnetostriction). It's always fascinating to hear something when you didn't expect to ... it even happens in optics (e.g. UV-C LEDs outside the visible range do appear a very dull pale blue due to optical noise emission and sometimes other colours when reflected off objects due to fluorescence - don't try this at home!).

     

    - Gough

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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