Comparator Explained (Inverting Comparator, Non-Inverting Comparator and Window Comparator)

Поділитися
Вставка
  • Опубліковано 9 лют 2018
  • In this video, the Comparator circuit and its different configurations like inverting comparator, Non-Inverting Comparator, and window comparator have been explained.
    What is Comparator:
    A comparator is a device which compares the two analog inputs and gives the digital output depending upon which input is higher.
    The comparator has two analog inputs (Inverting and Non-inverting Input) and it has one digital output (In some IC's complementary outputs are also available)
    Inverting Comparator:
    If the input signal is applied to the inverting terminal of the comparator then it is known as the inverting comparator. Because in this configuration, the output will be low when the input is greater than the reference voltage at the other terminal.
    Non-Inverting Comparator:
    If the input signal is applied to the Non-inverting terminal of the comparator then it is known as the Non-inverting comparator. Because in this configuration, the output will be High when the input is greater than the reference voltage at the other terminal.
    Window Comparator:
    In some applications, when it is required to have a high or low output when the input is within a specific band (of voltages) then window comparator is used. And it can be designed by combining the inverting and non-inverting comparators.
    Op-Amp vs Comparator:
    Schematically, Op-amp and comparators look identical. In fact, in their internal structure also they are almost identical except the final stage. Op-amps are designed to use for linear applications while comparators are designed to use specifically for operating it in the saturation region.
    In open loop configuration, op-amp can be used as a comparator, but in general, the response of the op-amp will not be as fast as a comparator. (Because of Slew Rate)
    Comparators are compatible with different logic families like TTL, RTL (Because of open collector output), and output of the comparator can be used as input to the logic gates. While in case of op-amp as a comparator, it is required to limit the output using the external circuit.
    Application of Comparator:
    Comparators are used as waveform converter, zero crossing detector, analog to digital converters (ADC), and in the applications where two input levels need to be compared.
    Timestamps for the different topics covered in the video:
    0:18 Introduction to Comparator
    1:32 Op-Amp vs Comparator
    4:41 Inverting and Non-Inverting Comparator
    7:12 Window Comparator
    10:15 Limitation of Comparator
    This video will be helpful to all student of science and engineering in understanding the comparator circuit and its different configuration.
    Follow me on UA-cam:
    / allaboutelectronics
    Follow me on Facebook:
    / allaboutelecronics
    Follow me on Instagram:
    / all_about.electronics
    Music Credit:
    www.bensound.com/
  • Наука та технологія

КОМЕНТАРІ • 247

  • @ALLABOUTELECTRONICS
    @ALLABOUTELECTRONICS  6 років тому +38

    Timestamps for the different topics covered in the video:
    0:18 Introduction to Comparator
    1:32 Op-Amp vs Comparator
    4:41 Inverting and Non-Inverting Comparator
    7:12 Window Comparator
    10:15 Limitation of Comparator

    • @shashanktiwari980
      @shashanktiwari980 3 роки тому +1

      If both the inverting and non inverting terminal voltages of comparator are same then what will be the output of comparator

  • @guilhermelopes7809
    @guilhermelopes7809 6 років тому +23

    Aewsome stuff!!!! Keep up with the excellent work! It helped me a lot. Thanks, man :D

  • @redwez1982
    @redwez1982 3 роки тому +2

    Awesome video! I have an analog signal which I need to convert to a digital high/low voltage. I now know I need to use a window comparator!

  • @toryvaughan4940
    @toryvaughan4940 6 років тому +2

    Great video! Thanks for explaining the op amp comparator circuit .

  • @toxicintrovert
    @toxicintrovert Рік тому +1

    In electronics, a comparator is an electronic circuit that compares the voltage level of two input signals and outputs a binary signal indicating which input signal is greater. It is a type of operational amplifier (op-amp) circuit that has a very high gain and is designed to operate in its linear region.
    The comparator has two input terminals, one positive (+) and one negative (-), and one output terminal. The input signals are connected to the positive and negative input terminals, and the output signal is a binary signal that indicates whether the positive input is greater than or less than the negative input.
    When the voltage level of the positive input is greater than the negative input, the output of the comparator is high (logic level 1). When the voltage level of the negative input is greater than the positive input, the output of the comparator is low (logic level 0).
    Comparators are used in a wide range of electronic circuits, such as voltage level detectors, oscillators, and digital-to-analog converters. They are also commonly used in analog-to-digital converters (ADCs) to convert analog signals into digital signals.

  • @palashmalakar2810
    @palashmalakar2810 5 років тому +1

    Great explanation. You made it too easy to understand. Thanks...

  • @monjurulislam1872
    @monjurulislam1872 4 роки тому +1

    I have gathered lots of knowledge and learn so many things about comparator from this video, thanks 👍✌️❣️❣️🙏
    Make more and more videos,,

  • @KreyNeeUhm
    @KreyNeeUhm 5 років тому +2

    Thank you!!! I have a way better understanding now. 👍

  • @LabArlyn
    @LabArlyn 3 роки тому

    Thank you bro, this was very useful. Now I understand how to bulid an inverting comparator circuit.

  • @samarpreetsingh5318
    @samarpreetsingh5318 4 роки тому +3

    Great video. I enjoyed watching this video!👍

  • @wubetayalew7728
    @wubetayalew7728 3 роки тому +5

    the concept was easy but you make it big ....................5 min video will be enough for this video.............but it is good explanation

  • @kartiksuman9814
    @kartiksuman9814 4 роки тому +1

    Very well explained,thank you

  • @bluesunflower2007
    @bluesunflower2007 2 роки тому +1

    Have to point out in the window comparator, the circuit works only when the op-amp has open collector output stage. It won't work if it has push-pull output, which is what many modern IC uses nowadays.

  • @venkatasivakumarnallala946
    @venkatasivakumarnallala946 2 роки тому

    Thank you for the detailed video

  • @varadhardikar9837
    @varadhardikar9837 5 років тому +8

    You are best teacher... ❤️❤️

  • @electrowizards1355
    @electrowizards1355 5 років тому +1

    Kya explanation hai sir , tagraaaaa..,...

  • @learnerrahat5320
    @learnerrahat5320 2 роки тому +1

    your explaination is so awesome.

  • @nassional
    @nassional Рік тому

    Great video. Thanks for explain.

  • @syedsajjadali4220
    @syedsajjadali4220 3 роки тому

    you made it so easy to understand

  • @rituarya5815
    @rituarya5815 5 років тому +2

    It's a very helpful video thank u sir

  • @RahulGupta-yp7ii
    @RahulGupta-yp7ii 5 років тому +1

    thanks bhai hope u do more videos in the near future

  • @Tejas.Lipare
    @Tejas.Lipare 6 років тому +1

    Excellent it helped me a lot...

  • @ShahadatHossain-oz2gu
    @ShahadatHossain-oz2gu Рік тому +3

    At 6:16 , when Vin < Vref the output should be negative saturation voltage, dont you think? but you showed zero level in the output graph . Plz clarify my doubt, if i'm missing the point?

  • @arpitgupta942
    @arpitgupta942 5 років тому +1

    Very nice explanation. 👍👍

  • @_azeem_muzammil
    @_azeem_muzammil 5 років тому +1

    Hello, In my campus I am asked to do a project, I have to do a comparator circuit which detects whether the battery is below or higher a predetermined level. We have to Op-Amp comparator circuit, and also comparator circuit should be powered using the battery under test. Can you help on this, ​please?

  • @mnada72
    @mnada72 4 роки тому +8

    Here is a suggestion for a topic : Different ways of connection between electronics circuits like open collector , compatibility between different logic families , wired and connection etc.
    Thanks

  • @gowsalyakrishnan799
    @gowsalyakrishnan799 2 роки тому +4

    Excellent explaination sir 👏
    Can you explain what is latched comparator?

  • @akashbaptist3535
    @akashbaptist3535 6 років тому +2

    Your videos are great, upload the videos for the whole portion covering comparator and waveform generators,,please

  • @prernasaharan4551
    @prernasaharan4551 5 років тому +4

    The video is really good. Thank u for ur time and efforts.
    Can u pls explain : 1. the use of external pull up resistor ? 2. the reason for connecting Vcc of upper OP AMP to Vout of lower one ?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 років тому +3

      The pull-up resistor ensures the output of the comparator is indeed logic high when both comparator output is high.
      If comparators are directly connected then it may happen that the overall output is less than the logic high value. And there might be ambiguity about the output.
      Using the pull-up resistor that uncertainty can be eliminated.
      For the second question, Vcc of the first op-amp is not connected to the output op-amp. Vcc is used for the pull-up resistor. And the pull-up resistor is connected to the output.
      And similarly, the output of the second comparator is connected to the overall output.
      I hope it will clear your doubt.

  • @ramshatariq3796
    @ramshatariq3796 2 роки тому +1

    Awesome explanation

  • @jatinjain850
    @jatinjain850 4 роки тому +1

    Amazing video sir 👍👍👌👌

  • @deetchu9998
    @deetchu9998 5 років тому +1

    Excellent sir....

  • @apna_niser
    @apna_niser Рік тому +1

    Great video sir..

  • @priyanshukumar5544
    @priyanshukumar5544 2 роки тому

    Good explanation sir... Happy teacher day ❤

  • @juanalvares11
    @juanalvares11 5 років тому

    very well explained

  • @kavyaraghunathan2684
    @kavyaraghunathan2684 3 роки тому +1

    Thank you!

  • @zunairakhalid7358
    @zunairakhalid7358 3 роки тому

    Consider you have a sensor which may be taking values of photoresistor and converting
    them into voltage. Assume that sensor is recording the following values.
    Max Value (Bright Light) ≈ 12 V (10% tolerance level)
    Min Value (Dark) ≈ -2V (10% tolerance level)
    Whenever the sensor reaches the value of ≈ 5V (10% tolerance level) a BlueLED must
    be ON and when it drops from 5V it should be OFF.
    The circuit is implemented using an amplifier which vaguely follows the idea of converting
    analog input into digital by using it as a comparator.

  • @cnavirajprabha4387
    @cnavirajprabha4387 6 років тому +1

    Your great bro satellite communications gurinchi tutorial s cheyandi

  • @ezzeldin101
    @ezzeldin101 2 роки тому

    Huge Thanks to U Dude

  • @alejandrogomezcadavid4612
    @alejandrogomezcadavid4612 4 роки тому +1

    In minute 8:11 why does that configuration work as an AND? If one is at HIGH and the other at LOW why doesn't it blow up or something? Can someone explain me, please? thanks :)

  • @yogeshposnak7147
    @yogeshposnak7147 3 роки тому

    nicely explained Sir

  • @mayurshah9131
    @mayurshah9131 6 років тому +5

    Just Superb!!

  • @equity709
    @equity709 6 років тому +1

    Thanks for it

  • @mulatumashile5538
    @mulatumashile5538 5 років тому +1

    IT IS VARY GOOD VIDEO,COULD YOU SEND TO ME HOW IT OPERA TO CONTROL THE THREE PHASE LOAD BALANCING

  • @wildergomez9181
    @wildergomez9181 2 роки тому +2

    Thank you for this video, can I compare 10v and 1.5 while rail sources v-=-3.3 and v+3.3? or I can only compare values less than or equal to the rail sources ?

  • @abhaykondru3570
    @abhaykondru3570 4 роки тому +1

    At 4.00 what is open collecter configuration

  • @karanreddy6658
    @karanreddy6658 3 роки тому +1

    In window comparator why resistor Rl is connected?

  • @prakashsharma6186
    @prakashsharma6186 3 роки тому

    What type of comparators are used in 555ic.

  • @kautilyabhardwaj6570
    @kautilyabhardwaj6570 5 років тому

    You didn't explain about the clamp diodes we use to protect the op amp against damage to excessive input voltage?!

  • @hussainn.al-saeed4971
    @hussainn.al-saeed4971 3 роки тому +2

    great explanation, thank you!
    i have one question, i've been looking for a book that talks about this subject and some other subjects but couldn't find a good one yet.
    can you suggest me some good books that explains microelectronics well?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 роки тому +3

      For basic electronics : electronics principles by malvino and electronic devices and circuit theory by Robert boylstead are good books. You can refer these books.

  • @dutch759
    @dutch759 4 роки тому

    THANKS SIR FOR THIS VIDEO!!!!!!!!!!!!!!!!!!!!! IT IS A GREAT HELP TO ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! THANKS SIR!!!!!!!!!!!!!!!!!!!!!!!!

    • @dutch759
      @dutch759 4 роки тому

      SIR PLEASE KEEP MAKING MORE VIDEOS... YOU ARE THE ONLY ONE I LOOK UP TO WHEN I NEED HELP!

  • @UECAshutoshKumar
    @UECAshutoshKumar Рік тому +1

    Thank you sir

  • @DownhillAllTheWay
    @DownhillAllTheWay 2 роки тому

    Is it possible for a quad op-amp to generate 3 window comparators. Specifically, if an RGB LED is used, how can I have ...
    Input (In) Comp-A (R) Comp-B (G) Comp-C (B) Colour
    In < 2.4V Low Low Low -
    2.4V < In < 2.6V Hi Low Low R
    2.6V < In < 2.8V Low Hi Low G
    2.8V < In < 3.0C Low Low Hi B
    In > 3.0 Low Low Low -

  • @akshaybhagaur8025
    @akshaybhagaur8025 3 роки тому

    if the input to a comparator is a sine wave the output is a?

  • @jaythakkar3451
    @jaythakkar3451 9 місяців тому

    Sir but how can I get 0& 5 volts only neither -ve nor any positive if I just want 0 or 5

  • @mehaksaini5331
    @mehaksaini5331 5 років тому

    But how is it acting as an AND gate connection?

  • @priyanshuranjansahoo
    @priyanshuranjansahoo Рік тому

    Thank you

  • @ianlouzada
    @ianlouzada 4 роки тому +2

    thank you very much. Namastê

  • @michaelr6205
    @michaelr6205 3 роки тому +2

    Really learn a lot from your channel. But you spoke about "open-loop configuration", could you please explain this concept/ circuit? Thanks

  • @akshayjayan205
    @akshayjayan205 4 роки тому +4

    Excellent sir!

  • @thrishikkosuru6461
    @thrishikkosuru6461 6 років тому +2

    Nice video

  • @justchill4873
    @justchill4873 4 роки тому +1

    Plz cover all 1st year topics..

  • @vivekchauhan4053
    @vivekchauhan4053 3 роки тому

    Can PLD and NLD be used as Comparator??

  • @umargul5644
    @umargul5644 3 роки тому +1

    Well done

  • @ensiyeghorbanpour2498
    @ensiyeghorbanpour2498 2 роки тому

    Would you please clarify that from the circuit perspective, what would be the difference between an op-amp and a comparator? how are comparators faster than op-amps? Also, can you please explain the reason of adding the resistor?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 роки тому +2

      op amp is optimized to provide accuracy and stability (both dc and dynamic) for a specified linear range of output values in precision closed-loop (feedback) circuits. It is achieved through internal compensation capacitor. But when the same op-amp is used in the open loop configuration as a comparator, then due to its internal compensation capacitor, its output cannot change very fast. On the other end, the comparators are meant to be operated in the open loop configuration. So, they do not require internal compensation capacitor. And because of that they are quite fast. I hope, it will clear your doubt.

  • @darshitvachhani9790
    @darshitvachhani9790 5 років тому +2

    Fantastic

  • @avirupkar7596
    @avirupkar7596 4 роки тому

    why in output voltage , vo= 0 V when vin < vref , it should have been -vsat

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 роки тому

      It depends on type of comparator. Some comparators are single supply comparators. In such comparators the output will vary between Vaat and 0. In dual supply comparators the output varies between Vaat and - Vsat.
      I hope it will clear your doubt.

    • @avirupkar7596
      @avirupkar7596 4 роки тому +1

      @@ALLABOUTELECTRONICS Thank you very much

  • @entertainmentzone3216
    @entertainmentzone3216 4 роки тому +2

    Please provide notes PDF along with lecture 🙏🙏🙏

  • @shuvodas2
    @shuvodas2 4 роки тому +4

    I think you mixed up Beyond with Above..

  • @kickbutoowski2406
    @kickbutoowski2406 6 років тому

    please explain the function of RL resistor in this circuit,and please make a video explaining pull up resistors.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому +1

      I think you are talking about resistor RL in window comparator right?
      It serves two purposes. First, when the output of the comparator is low, it will restrict the sink current of the comparator. Second, when the output of a comparator is high, it will provide the strong logic high.
      I hope it will clear your doubt.
      And yes, at some time I will make a video on external pull up resistor.

  • @guruprasadhiremath9182
    @guruprasadhiremath9182 6 років тому

    Bro upload modified schmitt trigger with different utp and ltp's

  • @priyankasiwach5066
    @priyankasiwach5066 3 роки тому

    Sir, what about the case when output is in between Vsat and -Vsat (means if open loop gain*(Vin-Vref) donot reach Vsat)

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 роки тому

      If it does not go into the saturation then op-amp is operating in the linear region and it will work as linear amplifier. That is means vout = open loop gain* ( vin1 - Vin2)
      But for that input should be very small. Typically in uV.

  • @user-zv1wm7ry2s
    @user-zv1wm7ry2s 4 роки тому +1

    Great

  • @inzanity490
    @inzanity490 3 місяці тому

    For the window comparator, why is it that if one op-amp goes low then Vo goes low automatically, but needs both op-amps to be high for Vo to go high?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 місяці тому +1

      Because in the window comparator, the output of the two op-amps are connected together using the pull-up resistor. So, their outputs will act as a wired AND connection. That means if any one of the op-amp output is low, then overall output will become low and the output of the window comparator is high when both the outputs are high.

  • @alfredmukengere7749
    @alfredmukengere7749 3 роки тому

    Thanks

  • @mr.yashpatel1844
    @mr.yashpatel1844 6 років тому +1

    So I request that can u show videos electronic topics of diploma (ECE) many of our frnds subscribers of ur channel

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      Please let me know here the topics which you want me to cover on the channel.

  • @anjalianand9359
    @anjalianand9359 2 роки тому

    Wht if both inputs are equal?

  • @salveruajay9553
    @salveruajay9553 4 роки тому

    Internal circuit?

  • @HakunaMatata-NoWorries143
    @HakunaMatata-NoWorries143 4 роки тому

    Pls continue the remaining topics of comparator and wave form

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 роки тому

      I have already made videos on them. If you go through the op-amp playlist, you will get it.

  • @user-cw1xq1yw8p
    @user-cw1xq1yw8p 4 місяці тому +1

    Op amp act as an amplifier comes under non linear application

  • @uzairwajeeh1737
    @uzairwajeeh1737 Рік тому

    At 9:04 iam confused that in window comparator why overall voltage is low if vin is less than either lower threshold voltage or upper threshold voltage

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Рік тому

      The output of the two compactors are connected. So, if any one of the output is low, then overall output will remain low.
      The output of the window comparator high, when both comparators outputs are high. In this case, it will happen when Vin >VL and Vin < Vh.
      So, basically, when the input voltage is within certain voltage band, then only the output of the comparator will become high.
      I hope, it will clear your doubt.

  • @mortimersnead5821
    @mortimersnead5821 Рік тому

    If you run the output of an op-amp through a diode, would that give you a comparator?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Рік тому

      If you use opamp in the open loop configuration ( without any feedback) then that itself will act as an amplifier. If you use opamp at the output of the opamp ( without feedback) then it will rectify the output.

  • @nitinbramhane5641
    @nitinbramhane5641 Рік тому +1

    SUPER

  • @Omkarrupeja
    @Omkarrupeja 4 місяці тому

    Please make video's in hindi as they will be easy to understand and clear's concept.....

  • @aurobindobc5798
    @aurobindobc5798 3 роки тому

    sir, in 6:12 , the output waveform should give a negative saturation for all input less than reference voltage , i am confused by the way u have given only one side positive saturations. should the low outputs ought to be below axis ??.can u help me out

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 роки тому +1

      Many comparators are single supply, where the negative supply pin is grounded. In that case, the output will vary between Vsat and 0.
      When the comparator is biased with dual supply, (Positive and negative) then, in that case, the output will vary between +Vsat and - Vsat.
      Here the comparator is biased with the single supply.
      That's why the output is zero instead of negative Vsat.
      I hope it will clear your doubt.

    • @aurobindobc5798
      @aurobindobc5798 3 роки тому +1

      @@ALLABOUTELECTRONICS thank u sir

  • @jeelpatel4712
    @jeelpatel4712 6 років тому

    can you explain why one is high and other is low,overall output is zero in window comparator?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому +3

      Let's take the case when Vin is less than VL. In this case, the first comparator output will be high and the second comparator output will be low. And if you observe the output of both comparators are tied to gather. (Wired AND connection). So, even if first comparator output is high, it will be pulled down to a low voltage by the second comparator. And in this way, overall output will be low.
      I hope, it will clear your doubt.

  • @hasibuddin2437
    @hasibuddin2437 3 роки тому

    Joss video sir... Carry on

  • @vman049
    @vman049 6 років тому +2

    For the window comparator please note that if you connect the negative rail to ground, you will not output zero volts but rather a small positive voltage when the input is outside the range of the window. Further, the load in that circuit is drawn very poorly. The outputs of the two comparators should be joined into a single node which feeds one terminal of the resistor while the other terminal should be grounded.

    • @yoosn911
      @yoosn911 2 роки тому +1

      Thanks Vivek, i was wondering how to interprete the RL. U made a good video into a better one.

  • @thediamondnightingales9623
    @thediamondnightingales9623 3 роки тому

    good information but i find it difficult to focus on whats being said because of the constant pauses as if hes asking questions

  • @joyguha1735
    @joyguha1735 9 місяців тому

    When the inverting terminal voltage and non-inverting terminal voltage are same, how will it work then?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  9 місяців тому

      In ideal case, the output of the comparator will be zero. But in reality due to different bias currents at both inverting and non inverting terminal, the voltage at the two terminals will be slightly different. And because of that the output of the comparator will be either +Vsat or - Vsat.

  • @shivcharanmeena8214
    @shivcharanmeena8214 6 років тому

    how we can check stability of op-amp during frequency response

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      Stability of the op-amp can be checked using the gain margin and phase margin.
      In simple terms, if I say, for the stability of the op-amp, when the gain of the op-amp reaches 1 (0 dB) at that frequency, phase should be less than -180 degree.
      And when phase angle reaches the -180 degree, at that frequency, the product of open loop gain and feedback factor should be less than 1.

    • @shivcharanmeena8214
      @shivcharanmeena8214 6 років тому

      and how we can remove unstability

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      try to follow the above mentioned two criteria.
      If you find that at your operating frequency the product of gain and feedback factor is greater than 1 and phase angle is less than 180 then change the feedback factor by adjusting the component values. Or if you use that circuit below the frequency where circuit becomes unstable, then you can avoid the instability.

  • @deepakjha7189
    @deepakjha7189 6 років тому +1

    when first one is low and second is high ,how output is low? when Vin >VH

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      when Vin > VH at that time the output of the first comparator will be low and the output of the second comparator will be high. So, overall output will be low.

  • @anshumankumar6099
    @anshumankumar6099 4 роки тому

    actually your graphs are wrong for inverting and non inverting comparator because in case of non inverting comparator when Vin < reference then Vout = -Vsaturation not 0 and similar for inverting comparator , by the way your explanation is awesome :)

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 роки тому +1

      It actually depends on the comparator supply voltages. There are some comparators, where positive supply voltage is Vcc and negative supply voltage is 0. In some comparator its -VCC.
      For single supply comparators, the output will be zero, for the dual supply comparators, it will be -Vsat.
      I hope it will clear your doubt.

  • @shiftanimations1557
    @shiftanimations1557 5 років тому +1

    What happens when you have the same input?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 років тому +1

      Ideally, if both inputs are same then output should be zero. But practically that isn't the case. And even if you apply the same input to both input terminals, still you will see either +Vcc or -Vcc/ or 0V at the output (due to noise, offset voltage etc.)

  • @punitakumari187
    @punitakumari187 4 роки тому

    Sir,in window comparator ,if input is less than low threshold value ,then comp1(upper comparator) should give high according to ur circuit design ?..u should keep the input on non inverting terminal of upper comparator (comp1) and modify the circuit ,if I m not wrong 🤔

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 роки тому

      When Vin is less than VL, then the output of the first comparator is high, but the second comparator is low. (ideally, the output of the second comparator is zero).
      So, it will pull down the overall output voltage to zero. (even though the output of 1st comparator is high)
      It acts like a wired-AND gate. That means the output will be high when both comparator output is high.
      I hope it will clear your doubt.

    • @punitakumari187
      @punitakumari187 4 роки тому

      Thanku sir😊

  • @satishkumarmunagala8125
    @satishkumarmunagala8125 6 років тому

    Bro can u please explain about. What is the use of not gate in 1bit comparator please answer me bro

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      You are talking about the digital 1 bit comparator right?
      The one which is discussed here is the analog comparator.
      In 1 bit comparator there are three conditions.
      Let's say A and B are the inputs.
      1) A=B (It can be determined using XOR operation)
      2) A>B (AB')
      3) A

    • @sachinmente907
      @sachinmente907 5 років тому

      Bro write truth table for all three conditions obtain expression by k map technique..K map technique can be used to analyze any ic

  • @hinasamal1711
    @hinasamal1711 6 років тому

    can 741 be used for searching comparing

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  6 років тому

      Yes, It can be used as a comparator. But the response time of the 741 will not be that fast. Still for lab testing and prototyping, it can be used.

  • @amruthas6974
    @amruthas6974 5 років тому +1

    Sir, can you plz explain "why in window comparator, the output is low when any of the comparator output is low..?
    I didn't understand it.. plz help sir

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 років тому +1

      when any of the comparator output is low, the output of both comparators will be pull down to zero volt or low voltage. (Becuase it's wired and connection). That means the one terminal of the resistor (which is the output of the window comaprator ) will be at a low voltage. And the entire voltage will get dropped across the RL.
      I hope it will clear your doubt.

    • @amruthas6974
      @amruthas6974 5 років тому

      @@ALLABOUTELECTRONICS sir can you explain the significance of that pull up resistor too? What really happens when the output of both comparators are high... How we determine the overall output..
      Plz help sir

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 років тому

      The pull-up resistor ensures the logic high at the output. If you see, every circuit or every IC has limited output current capacity. That means the maximum current it can deliver. If more current is drawn then the output voltage reduces.
      And it might happen that the output voltage would become lower than the logic high value.
      This pull-up resistor maintain the logic high value when the output of the comparator is high.
      I hope it will clear your doubt.

  • @X_is_learning
    @X_is_learning 10 місяців тому +1

    I thought op amp always try to make V- = V+. When ap-amp is used as comparator, it seems the rule is obeyed?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  10 місяців тому +1

      No, V- = V+, when the opamp is used with negative feedback ( in the linear region). When the opamp is used as a comparator then it is used in the open loop configuration. Therefore, it is not applicable.

    • @X_is_learning
      @X_is_learning 10 місяців тому

      @@ALLABOUTELECTRONICS Thank you so much for confirming this information.

    • @X_is_learning
      @X_is_learning 10 місяців тому

      Sorry, violated.

  • @argkmr
    @argkmr 4 роки тому +1

    Sir why in the waveform of non inverting comparator you made the output signal zero .....will that not be equal to -Vsat ??
    In books it's given -Vsat
    Plzzzz help sir this is creating confusion in my concepts!

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 роки тому +2

      See, that depends on whether the comparator is a single supply or dual supply. In a single supply comparator, when the output of the comparator is high, then it will go towards the +Vsat, and when it is low, the output is zero.
      In dual supply comparator, there will be +Vsat and -Vsat.
      Here I am assuming its single supply comparator. In the book, it might be a dual supply comparator. (The biasing voltage to the comparator will be +Vcc and -Vcc)
      I hope it will clear your doubt.

    • @argkmr
      @argkmr 4 роки тому +2

      @@ALLABOUTELECTRONICS ohh okay .....thank you so VERY much sir ....now m fine with the concept 😄