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.