Is My Comparator Circuit Textbook Explanation Incorrect?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
Jimmy87
Messages
701
Reaction score
26

Homework Statement


We have to answer questions from a particular circuit (comparator) in our textbook for homework. The circuit is attached to this thread. I haven't started the questions yet as I don't even understand the circuit! Based on my notes I think my textbook is wrong and would appreciate it if someone could glance at the attachment and confirm or deny the case.


Homework Equations


Open loop gain = A (V+ - V-) where V+ is the non-inverting input, V- is the inverting input of the op-amp and A is the amplification factor.

The Attempt at a Solution


Where it says next to the diagram "suppose we want the reference voltage to be 4V. This would mean that the LED would light when the input voltage is equal to or greater than 4V". This is what I think is wrong:

This means V+ (non-inverting input) is fixed at 4V. If Vin (which is V-) is equal to or greater than this then according to the open loop gain equation, the output voltage would be negative. This means that the anode of the diode is negative which means no current will flow. From my class notes it says the anode must be positive for a diode to light.

So either my class notes are wrong or the textbook is wrong? Huge thanks to anyone that can help me with this!
 

Attachments

  • Comparator Circuit.png
    Comparator Circuit.png
    14.1 KB · Views: 586
Physics news on Phys.org
You are correct and the book is wrong. The comparator output goes high when the + input is higher than the - input. Or said differently, the output is high when the - input is below the + input.
 
  • Like
Likes   Reactions: 1 person
Phew! Thought I was missing something. Thank you berkeman!