This ultrasonic motion detector circuit project picks up movement of any object including human beings from a distance of 4 to 7 meters away. As soon as the motion is detected, the output of the circuit illuminates a red LED indicating the presence of an obstacle or an intruder.
However, using supplemental circuit stages connected to the output of the detector circuit, the device can be designed to switch on lamps, alarms, trigger a recording device, or maybe contact law enforcement. Furthermore, the circuit could be designed to play a message whenever a person or an intruder is detected moving across its range of detection.
The circuit diagram for the Ultrasonic Motion Detector can be witnessed in the following figure.
A 9 V PP3 battery, B1, instantly supplies electrical power for a few stages of the circuit. The battery can be also seen attached with a 78L05 regulator, IC3, that supplies a 5 V DC supply to various other stages of the circuit.
The transmitter stage is essentially a crystal controlled relaxation oscillator developed using a 4049 CMOS HEX inverter, IC2. One of the IC 4049 portions, IC2c, together with resistors R21 and R22, and capacitors C11 and C12, "strikes" the 40 kHz crystal to force it into a continuous oscillating state.
The rest of the IC 4049 sections behave like linear buffers to operate a 40 kHz, ultrasonic transducer device, BZ2.
The receiver stage consists of 4 AC coupled sections, each one constructed using one of the four op amps from the IC LM324. In the 1st stage, the input voltage created around R1 and R2 is modulated through a 40 kHz, ultrasonic receiver transducer, BZ1, and the modulated signal is subsequently sent to the IC1a, where the frequency is amplified.
The receiver transducer picks up any kind of reflected frequency generated by the transmitter transducer, BZ2.
In case there isn't any motion, the resulting envelope signal waveform is simply produced in the form of a straight line.
Diode D1 and resistor R8 work like a negative peak detector to extract the envelope signal.
The second stage is configured around the IC1b, which amplifies the extracted signal again. The IC1b time constant is pretty sluggish which ensures that the envelope signal can be easily tracked.
The output generated from the second stage is a voltage level which determines the strength of the envelope. In the presence of a movement in front of the transducers, the envelope reflects the signal through a positive or negative beams.
Differential Amplifier (Window Detector)
At the third stage input we can find a differential amplifier configured around the IC1c and using a couple of diodes, D2 and D3. This stage picks up each of those positive and negative pulses.
In the absence of a motion in front of the ultrasonic sensors, the pin 7 potential of IC1b is 50 percent of the supply voltage which prevents both the diodes D2 or D3 from conducting.
The pin 8 potential of IC1c is as a result remains low. In case the signal strength increases over +0.7 volt (breakdown voltage of a silicon diode), causes the diode D3 become forward biased and conduct, enabling pin 8 of ICc to go high.
If the reflected motion signal drops under -0.7 volt, D2 gets forward biased and begins conducting, which in turn results in the output going high. Thus, the configuration works like a window detector. It detects voltage levels of the reflected signals moving either below or over a specified range.
The Monostable Flip-Flop
The 4rth stage of this ultrasonic motion detector circuit is structured around IC1d. This stage is configured like a monostable flip-flop. This section of the circuit converts any signal which enters via the filter into a pulse, which is big enough to trigger ON transistor Q1.
As soon as the BJT Q1 activates, LED1 illuminates, and it also generates an output voltage which can be used to operate an attached relay stage or some other alarm device hooked up with the collector of Q1.
The time delay provided by this IC1d monostable flip-flop is approximately half a second which is determined by the capacitor C8 and the resistor R18. The role of the diode D4 is to separate the charge/discharge time constants. This allows the circuit to activate instantly as soon as a movement is detected in front of the ultrasonic transducers, and additionally ensures around a 1/2 second delay for the resetting action.
About 40 kHz Ultrasonic Transducers
In the first diagram for the ultrasonic motion detector, we can see two transducers with the symbols BZ1 and BZ2. Both are 40 kHz type ultrasonic transducers.
BZ1 is the receiver transducer, while the BZ2 is the transmitter transducer.
You must make sure that the two transducers are correctly matched, and therefore buy them only as a paired units. A matched transmitter/receiver 40 kHz transducer pair will have the respective initials printed on the back of their bodies, as shown in the following image.
The transmitter device will have the suffix T printed at the backside, while the receiver unit will have the suffix R printed on the pinout side of the body.
How to Set Up
Switch on ultrasonic motion detector circuit prferably through a fixed DC regulated power supply adapter. Install the circuit inside a noiseless room with nothing moving around in front of the sensors BZ1/BZ2.
Even warm air shuffling or, wind blowing, or amazingly, somebody chatting loudly could activate the motion detector, if the sensitivity adjustment is fixed to its maximum limit. After powering the circuit, allow the device to settle down for a minimum of 20 seconds to ensure the whole circuit will "calm down" electrically.
Adjust the 1M trimmer potentiometer to approximately 4 k ohms through your vision (put simply, assume the potentiometer is made up of settings starting from zero through ten, so now imagine setting it at the mark four).
At the downward adjustment of around 3 k ohms, the circuit will be most probably rendered too sensitive and might self-trigger. You may have to go through some experimentation to achieve the most appropriate setting for your specific motion detection requirements.
Once the ultrasonic motion is correctly set as described above, it is ready to detect motion in front of the transducers BZ1/BZ2 within a distance of 5 to 7 meters. You can test it by moving around the transducers within 7 meters and you will be surprised to see how well the unit detects the motion and triggers on the connected load which can be an alarm a relay or any desired load.
Using Ultrasonic Motion Detector as a Burglar Alarm
The best application of the above explained ultrasonic motion detector is probably in the form of a burglar alarm.
You just need to install the circuit in some corner of the area where an intrusion by a burglar is suspected.
Any burglar intruding or crossing the restricted area monitored by the ultrasonic motion detector will be instantly caught and the connected alarm will be sounded.
Simple Ultrasonic Proximity Detector using IC 555
The initial idea was to create the simplest possible ultrasonic detector. Therefore, systems with microprocessors or sequential logic were eliminated. The idea of emitting continuously and measuring the amplitude of the received signal was also discarded. As a result, it became impossible to measure distances, only detection in an all-or-nothing manner.
This means that if an object is at a distance below an adjustable threshold, it is detected. But once detected, it remains locked even if the object moves back slightly. There is a small hysteresis generated by the main idea of the circuit.
The chosen idea is to use the principle of the Larsen effect, well known in the musical field. The Larsen effect, or acoustic feedback, occurs when the sound emitted by the speaker returns to the microphone.
When a reflecting object is close enough to the ultrasonic receiver, it receives a weak ultrasonic signal generated by the transmitter.
This signal is immediately amplified and sent to the loudspeaker. The signal is sustained by the feedback and then shaped to be exploitable as an input compatible with logic circuits or other microprocessors.
This acoustic feedback is optimal at the frequency of ultrasonic waves, due to the presence of two elements: the transmitter and the receiver optimized for these frequencies.
This simplistic principle has some obvious drawbacks, the most important being the nature of the object to be detected, and another more insidious one is its sensitivity to excessively loud sounds.
How the Circuit Works
The diagram shows two parts: one is the amplification of ultrasonic signals, and the other is the signal shaping to obtain compatibility with other systems.
The ultrasonic receiver (US1) is amplified by a first bipolar transistor stage with adjustable gain via RV. This adjustable resistor allows the capture distance of obstacles to be adjusted.
The link between the two stages is made by a capacitive coupling. The alternating component of the signal is transmitted to the second stage by the capacitor C1.
This point is essential because the second stage is designed so that the voltage on the collector of T2 is just above the trigger threshold of the 555 monostable.
When the Larsen effect occurs, the voltage on the collector of T2 drops below 1/3 of Vcc and triggers the monostable circuit built around the classic 555.
The output of this circuit, which is in the low state at rest, switches to the high state for about 1 second. This duration is obtained by the choice of the two components R4 and C2.
The duration is equal to the product: 1.1 x R4 x C2.
To verify the proper functioning of the detector, a green LED has been added to the circuit. Let's not forget the big capacitor C4, essential in the presence of inductive loads such as the motors of a robot.
Have Questions? Please Comment below to Solve your Queries! Comments must be Related to the above Topic!!