How to Make Dog Barking Preventer using High Frequency Deterance

The discussed circuit is designed to discourage dogs from barking in the selected zone by the generation of a synchronized ultrasonic sound waves in response to a few initial barking of a particular dog.

The circuit when correctly optimized will produce a high pitched ultra sonic sound each time it senses a dog bark. Since the sound is in the ultrasonic range will be inaudible to humans, and audible to only dogs present in the vicinity.

How the Dog Bark Terminator Works 




Referring to the above shown dog bark inhibitor circuit, we can see three distinct stages involved, the sound sensor and preamplifier circuit using the Q1 and the electret MIC stage, the monostable stage using IC1 and the associated parts and the ultrasonic sound generator stage using the IC2 and the speaker driver stage.

Whenever a dog barks, the Mic detects it causing a sequential low and high pulse at the base of T1. T1 responds to this and produces an equivalent amplified signal across C2, which in turn triggers the pin#2 of the monostable IC1.

The above action forces IC1 to produce a high at its pin#3 for a period determined by the values of  R5/C3.

This high at pin#3 of IC1 enables the reset pin#4 of IC2 to become active thereby allowing the astable IC2 to supply the ultrasonic pulse at its pin#3, which is appropriately amplified by the associated TIP122 transistor, driving the connected speaker.

The speaker vibrates at the specified amplified level throwing the ultrasonic sound in the direction where the dogs need to be driven away.

The above sound waves is supposed to fluster the dogs and cause a lot of disturbance in their ears due to its high pitched sound, and also due to its synchronized effect with the dog's own barking sequence.

Actually the above dog barking stopping device might respond to all types of high dB sound levels, however since it won't be audible to a human ear this will never be an issue, and may be ignored.

Making the Circuit more Sensitive


If you find the above dog barking prohibitor circuit not responding to barking signals or any sound distant signals correctly, then you must try upgrading the MIC stage with an IC based MIC amplifier stage as shown in the following image:



 

Once you build the above circuit, you can eliminate or remove R1, R2, C1 from the first circuit, and replace it with the mentioned opamp based MIC amplifier circuit and configure the C3 output from the opamp with the base of Q1.

This upgrade will ensure that the circuit responds appropriately even to weak sound signals, specifically dog barking sound during night time, and trigger the IC 555 stages for the intended results.

Increasing the Range over 50 Meters


To make the above design respond to dog barks at distances over 50 meters, the following modified idea could be tried.

However this circuit being extremely sensitive could get triggered by other forms of sounds in the vicinity.

 



 

Need Help? Please send your queries through Comments for quick replies!




Comments

sharaf said…
Hi swagatam,
Can you explain the circuit with PIR sensor instead of electret MIC.
Swagatam said…
Hi Sharaf, for what application do you intend to use it? please provide with more details so that I can understand it better.
sharaf said…
Hi Swagatam,
If any dogs are enter to the coverage area immediatly trigger and generate ultrasonic sound to repel the dogs.
Swagatam said…
Hi Sharaf,

a PIR will detect all types of living beings including human beings, so that will not work....
Swagatam said…
...warm blooded living beings
sharaf said…
Hi Swagatam,
We are facing lot of problem with street dogs and those are tresspasses to the residence area, especially in night time.
So, if we use PIR the device can work only the particlar time instead of full time.
Swagatam said…
OK in that case you can use the following circuit

https://homemade-circuits.com/2014/09/automatic-pir-controlled-fan-circuit.html

remove the relay, we don't want it here, also disconnect the emitter of the transistor from its ground position and connect it with the IC2 pin#4 from the circuit explained in the above article.

so we'll require only the IC2 stage from the above article circuit and integrate it with the PIR circuit from the given link, as explained.
sharaf said…
Thanks a lot for your support and help..........
Ashok Dhenge said…
what is electrec mic? How to test this circuit? When mic detect dog sound at what time waves are generated?
Swagatam said…
electret mic is small mic which are commonly used in amplifiers and FM hand held transmitters,

connect an LED in series with the TIP122 base whenever it lights will indicate the working of the speaker.

clapping near the mic should initiate the triggering process....
dear do you have a ultrasonic circuit for elephant. in our country daily one or two people are get dead due to wild elephant. request help. i noted that elephant hearing frequency is 16-12000hz.
Swagatam said…
You can easily make it by using a 555 IC along with a speaker amplifier stage, quite identical to the IC2 stage as indicated in the above article.

the frequency can be set by suitably adjusting the values of R7 and C5 ...until the effective note is achieved for driving of the animals.

the range will depend on the power of the selected transistor and the wattage of the speaker, higher wattage will enable longer ranges.
Ashok Dhenge said…
in above circuit what is range of sound will be heard by dogs? also what is effect on another animal? is this circuit activate for all sound? means human noise also activate this circuit? How to make possible range?
As in our farms there is lots of peacock wonder at the time of harvesting can this circuit is applicable for this condition?
Swagatam said…
the range will be around 10 meters, other animals may not be affected because they may not possess high sensitivity to sound frequencies as dogs normally have.

peacock cannot be driven using this circuit because the hearing range of birds are quite similar to the human beings except bats
Lee said…
Is the IC555 is LM555?
Sarah said…
Can you please provide more info about the MIC and Speaker? any part number?
Thanks,
Swagatam said…
any 555 will work
Swagatam said…
you can see the pics below:

MIC
reviseomatic.org/help/e-components/Electret-mic.jpg

Speaker (tweeter)

img.weiku.com/a/001/812/KTV_tweeter_speaker_T031402__3659_7.jpg
Ashok Dhenge said…
Sir, i made this circuit but i am facing some problems. When power supply is on speaker get some vibration continuous, no any sound but feels vibration. When i remove mike speaker vibration stop. Please help me for this. Is this vibration is capable for generating sounds for keep away dogs.
Swagatam said…
Ashok, the response that you are getting from the speaker looks OK, but it should not happen continuously...rather only when a sound hits the MIC.

I think the sensitivity of the mIC circuit could be too high. try reducing C1 to 0.01uF or 0.001uF and check the response
Ashok Dhenge said…
Sir, i changed C1 0.1 to 0.01uf, this time no vibration sense in speaker. When i clap for sound then nothing happen with speaker.I inspect the circuit carefully i found one short connection at IC1 3 pin to IC2 pin3 which is directly activate base of TIP122. I made correction but after that circuit is not work.
Swagatam said…
Ashok, a short circuit of any kind across the ICs can damage the devices...so better change the ICs again and test.

this time do not connect the MIC stage, rather initially test by manually shorting the pin#2 of the IC to ground (momentarily) and see the response on the speaker...
Swagatam said…
...sorry, correction: test by shorting R3/C2 junction of IC1 with ground
Swagatam said…
Hi, That probably means that the MIC stage is not powerful enough and needs to be upgraded so that it becomes more sensitive for converting the sound signals into triggering signals for the IC 555, I will try to update the above article with the mentioned improvements soon.
Swagatam said…
you are welcome, actually any opamp will work here, you can easily replace it with an ordinary IC 741
Swagatam said…
that's great, now you can confirm the final results with an actual dog barking
Swagatam said…
yes that's possible, you can use a pot in place of R2 and tweak to keep the opamp at the verge of conduction and make the circuit very sensitive.

additionally you can use a Darlington transistor for Q1 for enhancing the sensitivity of the unit
Swagatam said…
you can use 9V instead of 12V without any modifications, but make sure the current is sufficiently high so that the speaker can be driven with the required amount of power...a 9V PP3 battery will not work.
Swagatam said…
click the images to enlarge them
Swagatam said…
The degradation could be due to a slow internet connections, anyway glad to know it has been rectified now and the image is now clearly visible to you.
Jan Van Vuuren said…
Hi Swagatam,

I would like this unit to have a range of 50 meters. What modification should I make to achieve this. Also can I use a Compression driver instead of a speaker as it appears that Compression drivers are much more efficient.

Regards
Jan
Swagatam said…
Hi Jan, you can try the LM386 based last circuit from this article, to enhance the sensitivity of the entire design:

https://homemade-circuits.com/2012/08/ic-lm-386-datasheet-explained-in-simple.html

use the R1/C1, and the MIC network which is shown in the last circuit from the above "DOG Barking" article, and connect the C1 end with the volume control of the linked LM386 circuit.

The speaker point outputs from the LM386 modified design can be finally integrated with the base of Q1 as presented in the first circuit diagram of this particular page
Jan Van Vuuren said…
Hi Swagatam,

Thank you for your reply. Does this mean that the speaker range will also be 50 meters.I read some were that the current design is effective for approx. 10 meters. I need to increase this to 50 meters.
Regards
Jan
Swagatam said…
Hi jan, according to me the amplification power could be increased by replacing the speaker transistor with a 2N3055 transistor and using a small value base resistor of around 100 ohms...this will hopefully make the output strong enough to carry it up to 50 meters
Jan Van Vuuren said…
Hi Swagatam,
I am a bit confused. In your explanation you say “ use the R1/C1, and the MIC network which is shown in the last circuit from the above “DOG Barking” article, and connect the C1 end with the volume control of the linked LM386 circuit. Is this pin 3 or 5 on the LM386? Does Last cct refer to the “Making the cct more sensitive OR the main cct with the two 555 timers.
Your assistance will be much appreciated.
Regards
Jan
Swagatam said…
Hi ajn, I have updated the required diagram at the end of the post, please check it out.
Swagatam said…
...you ca use BC547 for Q1
Jan Van Vuuren said…
Hi Swagatam,
Thank you for the revised CCT.
Regards
Jan
Swagatam said…
You are welcome Jan!
Swagatam said…
Hi, yes a tweeter would respond better than an ordinary speaker, however I was expecting an almost inaudible output from the speaker, because the IC2 is set at around 13kHz which can be hardly heard by an human, I think you might want to adjust the R/C components of the IC2 a little more to make sure that humans do not hear it but dogs do.

yes if it's a normal beep then your dog will not be impressed, it has to be something more irritating. Actually the dog will get surprised only when the sound from the speaker responds and coincides with its own barking, that's exactly when the dog might start getting too nervous :)
Yousef said…
Hi Swagtam

How can i make this circuit work permanent without sensing the dog's bark ?
Swag said…
Good question Yousef,

you can do it simply by using only the IC2 stage, that's all....
Jan Van Vuuren said…
Hi Swagatam,

I know very little about piezo disc transducers
I was wondering if the speaker can be replaced by a transducer. Do you think this can work?
Your opinion will be much appreciated.
Regards
Jan
Swag said…
Hi Jan , yes definitely the speaker can be replaced with a transducer, however it will need to be complemented with a matching parallel inductor so that the oscillations can be optimally amplified.
Jan Van Vuuren said…
Thank you for your reply. So how do I calculate the value of the inductor?

Regards
Jan
Swag said…
You can purchase it readymade from your local electronic dealer...or from any online store, you just have to mention "piezo buzzer coil" and you will able to easily find it
Rick said…
Hi Swagatam, I have finally put this circuit together & seems to be working, but I can hear the sound although quite high in pitch, also I will need to build the additional Mic amp circuit as the current one seem not very sensitive.
I would like to ask for your help as to some mods I would like to make to change its operational characteristics.
I have noticed that when activated the sounds is on for a short time period which can be adjusted by changing R5 & C3, is there a change that can be made to have it operate for as long as it is powered on? also I need to be able to have its frequency adjustable, your help would be much appreciated, Regard Rick
Swag said…
Rick, you can do it by adding the following latch circuit between IC1 and IC2.

https://homemade-circuits.com/2011/12/simple-and-useful-transistor-latch.html

you can remove the relay from the design.

in the dog barking circuit disconnect pin#4 of IC2 from IC1, and connect it with the collector of the PNP.

connect the base of T1 in the latch circuit with pin#3 of IC1.

in the latch circuit preferably remove C1 from the shown positive and place it across base/emitter of T1.
Rick said…
Hi Swagatam
Thank you for the info on the Latching circuit, I will give that a try, If I may ask how the frequency output can be adjusted/variable to a higher pitch as I can hear it so I figure it may not be high enough to do its job.
Swag said…
Hi Rick, to increase the output frequency you can decrease the value of C5 to some lower value.... You can try reducing it to 470pF or 330pF and see the effect.

for getting a variable option you can use a pot for R7, but make sure to add a 1K resistor in series with this pot.
Rick said…
Hi Swagatam
Thank you very much for your quick reply, will give all your suggestions a go, thank you once again, great wed site, Rick
Swag said…
You are most welcome Rick!
Rick said…
Hi Swagatam
I have been reading the request from Jan on how to increase the output for a 50 meter range using a 2n3055 & 100 ohm resistor, I have tried this but i think its over loading my 50 watt piezo speaker, would I be correct in thinking this? if so what do you think the output is with that setup & what size piezo would be needed? thanks for your help, Rick
Swag said…
Hi Rick, By overloading do you mean your speaker is warming up or is the sound quality breaking of?

Anyway, you can control it by increasing the 100 Ohm base resistor of 2N3055 to some higher value, may be upto 1K or even 4k7 etc until the current is no longer able to increase beyond the specified safe limit.
Rick said…
Wow, thank you for your super quick reply, will try with different value resisters & see what happens, thanks again for your excellent support to the electronically challenged like me, Rick.
Swag said…
Sure, please go ahead Mr. Electronically Challenged, I liked this phrase :)
Wish you all the best...
James said…
dO YOU HAVE THE DESIGN IN eAGLE
Swag said…
sorry, I don't have it...
dominic said…
Good morning,
Please provide a detailed parts list or the price for a completed kit. Dog Bark Terminator.
Thank you, dominic.
Swag said…
Hi, you will find all the parts given in the diagram itself, here all resistors are 1/4 watt rated and all the capacitors can be 25V rated
Dominic said…
Thank you for your help. Dominic

Contact me for Customized Circuits

Name

Email *

Message *


 Follow on G+  Follow on Facebook   Follow on Tweeter  Follow on G+  Follow on G+