1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Open-Collector Comparator

Discussion in 'General Electronics Chat' started by boro3, May 25, 2018.

  1. boro3

    boro3 Member

    Joined:
    Nov 26, 2017
    Messages:
    36
    Likes:
    0
    Hello to all,

    have the following question,
    many comperators has open collector ouput,
    im a bit confused about this,

    because i tought, open collector means, if the iput signal is high-the output is open and could be pulled up to lets say V+.
    And if the output is not pulled up to a Voltage, what happens then ?

    lets say wh have an open collector comparator, the positiv input has 5V and the negativ input has 3 V, and the ouput is not pulled up , what would be the output, 0V ?

    would it be better to use an cmos type?
    if i use a cmos type, then the output switches internaly from +V to 0V, right?

    Thankss
     
  2. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,626
    Likes:
    697
    Location:
    Derbyshire, UK
    If it's an open collector (or open drain) output then you MUST have some kind of pull-up, otherwise the output will always be zero.

    An open drain CMOS device would be no different, but in both cases you simply add a pull-up resistor.
     
    • Like Like x 1
  3. boro3

    boro3 Member

    Joined:
    Nov 26, 2017
    Messages:
    36
    Likes:
    0
    Thank you, and what about the lt1716 is it a open collector or cmos?
     
  4. dave miyares

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    2
    Likes:
    -10


     
  5. alec_t

    alec_t Well-Known Member Most Helpful Member

    Joined:
    Jul 10, 2011
    Messages:
    9,730
    Likes:
    1,277
    Location:
    Cardiff, Wales
    Yes.
    Better in what way? It depends what you want to do with the output.
    Almost 5V and almost 0V (depending on what the ouput load current is), if the supply rails are 5V and 0V.

    The LT1716 datasheet says :-
    "The output stage includes a class “B” pull-up current source, eliminating the need for an external resistive pull-up and saving power. Output voltage swings to within 35mV of the negative supply and 55mV of the positive supply, which makes the comparator a good choice for low voltage single supply operation. The output stage is also designed to drive loads connected to a higher supply than the LT1716"
     
    • Like Like x 1
  6. boro3

    boro3 Member

    Joined:
    Nov 26, 2017
    Messages:
    36
    Likes:
    0
    Thank you for your answer,
    Yeah and this is the part wich i could not understand well,
    it seems to work like a cmos type rigth?:D

    if i make the supply rail +5V and 0 V, it has on the output 5v and 0V without external pull up, because it has one internal, right?
     
    Last edited: May 25, 2018
  7. audioguru

    audioguru Well-Known Member Most Helpful Member

    Joined:
    Mar 16, 2004
    Messages:
    32,918
    Likes:
    986
    Location:
    Canada, of course!
    The datasheet for the LT1716 shows its schematic. Then you can see if it uses ordinary transistors or if it is Cmos.
     
    • Like Like x 1
  8. dave miyares

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    2
    Likes:
    -10


     
  9. Ylli

    Ylli Member

    Joined:
    Mar 18, 2018
    Messages:
    33
    Likes:
    2
    The advantage of open collector outputs is that the outputs of more than one comparator can be "wire or'ed".
     
    • Like Like x 1
  10. Beau Schwabe

    Beau Schwabe Member

    Joined:
    Jun 4, 2017
    Messages:
    107
    Likes:
    9
    Open collector allows you to use it in current mode and use it to drive one leg of a current mirror. In this configuration you would not want a pull-up resistor.
     
    • Like Like x 1
  11. eTech

    eTech Active Member

    Joined:
    Apr 25, 2012
    Messages:
    636
    Likes:
    72
    ONLINE
    Hi

    What everyone in this thread is implying is that an open collector device allows the output to be used anyway the designer wishes.
    It is a non-committed output, meaning it is not tied internally to the supply of the device. For example, in the case of comparator with an NPN open collector, the output could be pulled up thru a resistor to a different +V supply rail than the comparator +V supply rail.
    The non-committed CMOS devices work in a similar way except they are called open-drain output.

    Hope that helps..

    eT
     
    • Like Like x 1
  12. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,423
    Likes:
    600
    Location:
    AZ 86334
    An open-collector/open-drain output pin usually has its output driver transistor emitter/source internally connected to the device's Gnd pin, meaning that the voltage it pulls down to is pre-defined (near Vgnd), while the voltage it pulls-up to depends on whatever Voltage source the top of the external pull-up resistor is tied to.
     
    • Like Like x 1
  13. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    10,144
    Likes:
    1,123
    The hard part with any comparitor datasheet is figureing out how it functions. This https://datasheet.octopart.com/LT6700HS6-3#TR-Linear-Technology-datasheet-130860.pdf#page=1

    makes things very messy.

    I think it works this way:

    Make A, the inverting input and B the non-inverting input.

    the comparitors do an A-B (some big number). This is basically what an OP amp does. It subtracts (A-B)*G and multiples the result by the open loop gain

    (400 mV-A); the same is true fr both of these comparitors. This is (inverting input)-(the input)
    >400 mV; then the output is positive which is really an open. It can't be positive, but pretend it can be.
    if <400 mV, the output is negative or the open drain FET is ON.

    What's confusing me, is that I want to think of it as the output transistor/FET being on

    I think this is the way the logic works.

    it's not easy to figure out what the datasheet is trying to tell you.

    Anybody think this is a good way or have another way to help figure it out.

    if it were an OP amp as a comparitor, i think it would be easier to understand. The open collector and open drain just complicate things.

    No where in these datasheets do they make the operation clear IMHO

    Anybody else have any ideas?
     
    • Like Like x 1
  14. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,423
    Likes:
    600
    Location:
    AZ 86334
    Using the "test jig" for the LT6700 built right in to LTSpice:

    6700.png

    The built-in reference and trip point is 400mV. In this simple test, the pull-up resistor is returned to 5V, but it could be returned to other voltages (see data sheet). Here it is again, this time with the pull-up resistor returned to 3.2V instead of 5V:

    6700a.png
     
    Last edited: May 26, 2018
    • Like Like x 1
  15. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    10,144
    Likes:
    1,123
    Except you used the wrong part. It's an LT6700-3.

    See what i mean that this datasheet is HARD to understand.
     
    • Like Like x 1
  16. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,423
    Likes:
    600
    Location:
    AZ 86334
    Only difference is that the upper comparitor has its inputs swapped, so V(a) and V(b) are in-phase instead of out-of-phase.
     
    • Like Like x 1
  17. boro3

    boro3 Member

    Joined:
    Nov 26, 2017
    Messages:
    36
    Likes:
    0
    Thank you all for the answers,
    im comig from the software field so its a bit hard to understand the things for me..

    first, my question was about lt1716 ond not lt6700
    But you have used for the lt 6700 pull up resistor R1 and R2 and my question was if this is also neccesary for the lt1716 ?

    Lets say, i use a lt1716 with single supply (V+=5V and V-=0V), and on the positiv input is 8V and in the negative input is 3V, what is the output going to be?
     
  18. eTech

    eTech Active Member

    Joined:
    Apr 25, 2012
    Messages:
    636
    Likes:
    72
    ONLINE
    There are three different devices on that datasheet. Which one are you referring to?:D
     
  19. eTech

    eTech Active Member

    Joined:
    Apr 25, 2012
    Messages:
    636
    Likes:
    72
    ONLINE
    The output is internally referenced. Since, in your scenario, the -input voltage never exceeds the +input voltage the output will be within 55mv of 5V.

    eT
     
    • Like Like x 1
  20. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    10,144
    Likes:
    1,123
    I subtlety used the #PAGE=1 directive to open the PDF file to a specific page. https://datasheet.octopart.com/LT6700HS6-3%23TR-Linear-Technology-datasheet-130860.pdf#page=1 This https://datasheet.octopart.com/LT6700HS6-3#TR-Linear-Technology-datasheet-130860.pdf#page=3 will open to PDF page 3.

    But, your right, I was somewhat referring the the example of PDF page 1. I apologize for that.
     
  21. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,423
    Likes:
    600
    Location:
    AZ 86334
    1716.png 1716o.png

    Because the + input is more postive than the - input, the output will switch high. How high depends on the load, and if the 1716 is sinking current, or sourcing current, in which case you would have to refer to the graphs on Page 6 of the datasheet.

    If the load current is very small as it would be into a voltmeter or scope probe, then you will see just a few mV below whatever pin 5 (Vdd) is tied to.
     
    • Thanks Thanks x 1
  22. boro3

    boro3 Member

    Joined:
    Nov 26, 2017
    Messages:
    36
    Likes:
    0
    Ok thank you ,
    so even tough the lt1716 is an open collector output ist doesnt need an externel pull up resistor, right?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice