Hi,
I was doing the sine to square converter with op-amp comparator LM339. During the course i was stuck with a problem. The configuration of the circuit is the sine wave (+/- 10V) was given to the inv. i/p and the reference voltage of around 0 V was given to non-inv, i/p. To bring the hysterisis option i have added feed back resistor to the non.inv input. The op-amp was powered with +10V and Ground.
When i was checking the input signals at inv and non.inv i/p through CRO, the observation was my reference signal was also follows the input sine wave during the negative signal period of the input sine wave. Also my -10V sine wave was clamped to around -0.5V automatically. Also i have got the high and low transition two times per cycle of the input sine wave meaning that my square wave output frequency was also double that of the input sine wave frequency.
Here my doubts are 1. Why was the clamping at the input sine wave had happened during -ve period? 2. Why was my ref. input followed the input sine wave during the -ve period alone. 3. Also why was the double the time frequency have come?
I hope this is general basics of op-amp itself. Could any one please clarify my basics.
Thanks in advance.
Regards, M.Nagarajan.