Amplifier Comparator LM311P Using Problem

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
Markkim
Posts: 28
Joined: Wed Apr 22, 2020 7:17 pm
Contact:

Amplifier Comparator LM311P Using Problem

Post by Markkim »

Hello, all
For this little project, I'm using an analog differential comparator LM311P(parameter source: blog. It is has a collector/emitter output. Because my circuit didn't function the way it should, I started debugging.
With the collector unconnected the emitter (pin 1) still sinks (11mA) and sources (20mA) current, when applying a square wave input. I measured mean dc amperage to either rail, so the max is higher. I cannot explain this behavior.
Doing the current measurement on the collector (pin 7) with an unconnected emitter I get 14mA when sinking, and none when sourcing. But not following the input signal.

Is there any suggestions of this? Many thanks.
Attachments
schematic diagram.png
UhClem
Posts: 13
Joined: Fri Dec 28, 2012 4:19 pm
Contact:

Re: Amplifier Comparator LM311P Using Problem

Post by UhClem »

The TI data sheet includes a schematic which shows that the output is not simply the bare emitter and collector of a transistor. There are other things connected to those pins.
David Schultz
User avatar
haklesup
Posts: 3136
Joined: Thu Aug 01, 2002 1:01 am
Location: San Jose CA
Contact:

Re: Amplifier Comparator LM311P Using Problem

Post by haklesup »

I suppose you are looking at the current path R6 thru D1 thru pin 7 to pin 1 of U2 to ground. Since this is used as a comparator, we can assume it is either fully on or off and not in any active region

Since the CE configuration acts more like a switch it kind of acts like an Inverter. When the transistor is off the "Source" current is limited by the supply voltage/R6 and when the transistor is on you should design R6 to limit the current to the max Sink current of the device. with it on you will need to subtract VCE from your calculation such that Isink=(5V-VCE-Vdiode)/R6 or something like that. maybe I flipped your meaning of source and sink but I hope this follows ok.

If you want the op amp to directly source and sink current from its output pin, you should look for one with a CMOS output stage and bipolar supply that can source from VCC or VEE

With pin 1 open, I think this is not a normal thing, you could be looking at Current flowing through B-C junction or at a parasitic current path resulting from the process the IC was made from (an unexpected PN junction not on the schematic often the Collector Substrate junction which should always be reverse biased, when you float the Emitter, the substrate may be at a different voltage.

To put it another way, with pin 1 open, you have opened the path to the "sourcing" supply which is ground, current can only flow one way through the transistor from C to E (if you see B to E current it is an improper application), the parameter that the op amp is controlling is VCE and its either close to 0V (on) or VCC (off) (idealizing). VCE is also U2 pin 7 to pin 1
Markkim
Posts: 28
Joined: Wed Apr 22, 2020 7:17 pm
Contact:

Re: Amplifier Comparator LM311P Using Problem

Post by Markkim »

Thank you for you all replies.
I checked the internal schematic of the LM311.
The LM311 is not designed to work with only one of the collector or emitter outputs connected. If the collector is connected to a positive supply, then the emitter output can pull up. If the emitter is connected to a negative supply, then the collector output can pull down.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests