It is currently 06 Feb 2012, 05:07





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
 op-amp comparator 
Author Message
Post op-amp comparator
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.


29 Dec 2007, 16:09
Post Re: op-amp comparator
nag wrote:
> 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.

Have you looked at the data sheet for the comparator?
http://www.onsemi.com/pub/Collateral/LM339-D.PDF

The absolute maximum input common mode range is -.3 volts
with respect to the negative supply rail (zero volts, in
this case) to the positive supply. The functional common
mode range is 0 to Vcc-1.5 volts.

There is an internal diode junction between the inputs and
the negative supply pin that turns on and conducts if the
inputs are driven negative. Look at the internal schematic
and see the base to collector junctions of the input
transistors.

When this diode turns on, lots of internal functions go to
hell, including the high impedance between the two inputs.

To make your system work, you will have to add resistance
between your +- 10 volt signal and the input and clamp that
input with a diode that conducts before the voltage reaches
-.3 volts. This would take a germanium or Schottky diode.

Of you change the negative supply rail to -10 volts or more
negative.


29 Dec 2007, 16:09
Post Re: op-amp comparator
John Popelish <jpopelish@rica.net> writes:
> Of you change the negative supply rail to -10 volts or more negative.

Or use a resistor network to change the input signal to be in the
right range. Perhaps a 10k between signal and input, and another 10k
between input and +10v, giving you a 0-10v sine centered at 5v? You'd
need to adjust the IN- reference too.


29 Dec 2007, 16:09
Post Re: op-amp comparator
On Wed, 08 Aug 2007 04:21:46 -0000, nag <naga.deer@gmail.com> wrote:

>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.

If you drive either input of the 339 below its ground voltage,
internal substrate diodes conduct, spray charge everywhere, and all
sorts of very strange things happen.

John


29 Dec 2007, 16:09
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.