LM339 problem, it does not work

Thread Starter

Suriyel

Joined Jul 13, 2017
16
I use LM339 to compare two voltage signal. Following is the schematic and the simulation. LM339notwork.png LM339sch.png
I use 10V Vcc, Icc is normal(0.3mA), I want to compare the green(green signal Vpp is 70mV, 20kHz) and blue signal, but LM339 is not working properly. Anyone familiar with LM339 circuit design, or I need another comparator(This circuit is low-voltage and high precision, so is LM339 suitable here?) ?
 

Papabravo

Joined Feb 24, 2006
22,058
The first problem I see is that an LM339 has an open collector output. You have the output connected to different voltage sources through R13 & R17. This cannot possibly be correct. How about telling us what you are trying to do.
 

Thread Starter

Suriyel

Joined Jul 13, 2017
16
The first problem I see is that an LM339 has an open collector output. You have the output connected to different voltage sources through R13 & R17. This cannot possibly be correct. How about telling us what you are trying to do.
I replace R17 with a small capacitor and shunt to ground, it does not seem to be correct either. What should be the typical circuit for LM339 comparing two voltage sources?
 

Thread Starter

Suriyel

Joined Jul 13, 2017
16
The first problem I see is that an LM339 has an open collector output. You have the output connected to different voltage sources through R13 & R17. This cannot possibly be correct. How about telling us what you are trying to do.
Thank you, I try really small response time, now it seems to be correct.
 

crutschow

Joined Mar 14, 2008
38,325
The first problem I see is that an LM339 has an open collector output. You have the output connected to different voltage sources through R13 & R17. This cannot possibly be correct. How about telling us what you are trying to do.
But it is correct.
R17 provides positive feedback for hysteresis.
 
Top