- #1
Jimmy87
- 686
- 17
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!