Electronic – How to avoid false detection when using IR object detection circuit

demodulationdetectionfilter

I have a circuit to demodulate 2KHz Infrared pulsed light which is generated by 555 timer IC and its output drives an IR transmitter circuit, which is received by IR receiver located 10 cm apart which amplify the signal with a transistor and then the output signal from it goes to missing pulse detector circuit based on 555 IC. Because I need a high pulse when an object block the IR light path between transmitter and receiver, I have used Schmitt trigger Hex inverter to invert the signal after the missing pulse detector circuit. Please see the attached schematic.
IR Detector with missing pulse detector

This circuit works well except on the power on and power off conditions, where there are unwanted pulses on both the instances without any object blocking the iR light path. I am trying to find a way to avoid or remove those pulses without losing out the circuit above-mentioned ability. I have tried LM393 based comparator but it didn't help. I also tried RC filter to replace 555 missing pulse circuit but it only detect bigger object and does not solve the problem.

The unwanted pulses on power on and power off looks like as in screenshot below.

Unwanted pulse at power on and power off

The zoom in of power on unwanted pulse is, Power on Pulse

And the power off unwanted pulses in zoom in looks like,
Power off unwanted pulse

What modification can I do to avoid these unwanted pulses? Or should I try a different circuit altogether?

Best Answer

Take advantage of the reset pin to delay turn-ON time until Vcc is stable. It is the initial rising of Vcc 5 volts that causes glitches. With the values shown there is a turn-on delay of about 100 ms. The diode discharges C1 instantly so a quick power-up is still delayed.

Also, use CMOS TLC555 which does not have giant glitches at the outputs when changing states. Each 555 must have a 100 nF decoupling capacitor across its power and GND pins.

NOTE: Because the output is inverted, so are the problems. Remove any time delay at the 555 and use it to delay the output going high by using a AND gate and spare inverter gates. This way only the final output signal is blocked until glitches settle down. I understand why you had to invert the output, so it is best to block it until power is stable.

schematic

simulate this circuit – Schematic created using CircuitLab

Related Topic