Well thanks guys for your reply. I dont have the schematic though.
The time duration in which the output stays low is 100 micro seconds.
I got a idea but i need to check it out. If i connect the output to the base of the npn transistor with its emitter ground and connecting the one end of a 10K resistor to the collector of transistor and other end to 5V. I will take the output at the collector of transistor.
My thought is even if the output violates between 5 to 1.5V the output at the collector of transistor is 0V and when i get the proper zero signal during detection i will get 5V at the collector.
Will this work out?