Operational amplifier as a comparator at high frequencyReasons not to use a 741 op-amp?Can I use LM324 as a Schmitt trigger?Simple op-amp differential amplifierOp amp has a biased outputReduced output of op amp peak detection and hold circuitHow to select the right Operational Amplifier as an impedance converter?Bias voltage of non-inverting op amplifier drops to 0 when input signal connectedHigh negative voltages with op-ampopamp output unstableComparator circuit undesirable fluctuations20kHz sine wave signal amplificationIf there exists a cascade of op amps, does the previous op amp's slew rate affect the later op amp's slew rates?

How do I deal with an unproductive colleague in a small company?

What does it mean to describe someone as a butt steak?

Character reincarnated...as a snail

dbcc cleantable batch size explanation

RSA: Danger of using p to create q

Can I make popcorn with any corn?

Perform and show arithmetic with LuaLaTeX

Arrow those variables!

How much of data wrangling is a data scientist's job?

Doing something right before you need it - expression for this?

A case of the sniffles

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

What is a clear way to write a bar that has an extra beat?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Is it legal for company to use my work email to pretend I still work there?

Replacing matching entries in one column of a file by another column from a different file

Important Resources for Dark Age Civilizations?

Paid for article while in US on F-1 visa?

Why can't I see bouncing of a switch on an oscilloscope?

Can a Cauchy sequence converge for one metric while not converging for another?

Why does Kotter return in Welcome Back Kotter?

Maximum likelihood parameters deviate from posterior distributions

Is it possible to run Internet Explorer on OS X El Capitan?

Codimension of non-flat locus



Operational amplifier as a comparator at high frequency


Reasons not to use a 741 op-amp?Can I use LM324 as a Schmitt trigger?Simple op-amp differential amplifierOp amp has a biased outputReduced output of op amp peak detection and hold circuitHow to select the right Operational Amplifier as an impedance converter?Bias voltage of non-inverting op amplifier drops to 0 when input signal connectedHigh negative voltages with op-ampopamp output unstableComparator circuit undesirable fluctuations20kHz sine wave signal amplificationIf there exists a cascade of op amps, does the previous op amp's slew rate affect the later op amp's slew rates?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5












$begingroup$


I am trying to generate a sinusoidal PWM signal using analog circuits.
I want to compare my sine wave and triangular wave using an operational amplifier (LM741) which has a rise time of 0.3 µs and slew rate 0.5 V/µs, which will good at 5 kHz theoretically. But I am not getting a good PWM output.



So I first tried to compare the sine wave with a reference voltage (2.2 volt). Sine wave amplitude = 2.5 volt (5 V peak to peak) and frequency 100 Hz and 5 kHz.



Enter image description here



  • At low frequency (say 100 Hz), the output is good

  • At high frequency (say 5 kHz), the output is too bad.

Enter image description here



Enter image description here



What will be the problem...



If the response is the problem of the comparator, but the slew rate is 0.5 V/µs.



Calculation of slew rate for a sinusoidal signal...



Slew rate= Vm * 2pi * Frequency



 = 5 V * 2pi* 5000 Hz

= 1570796 volt per second or 0.15 V/µs


Theoretically the slew rate of 0.5 V/µs will be OK for a sinusoidal signal of 5 kHz and 5 volt peak to peak. But in my case the signal is distorted.



Where am I wrong?










share|improve this question











$endgroup$











  • $begingroup$
    It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
    $endgroup$
    – JimmyB
    16 hours ago






  • 5




    $begingroup$
    Why you shouldn't use the 741.
    $endgroup$
    – JRE
    16 hours ago










  • $begingroup$
    For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
    $endgroup$
    – Nihal
    16 hours ago







  • 1




    $begingroup$
    You're latching up.
    $endgroup$
    – Scott Seidman
    14 hours ago






  • 1




    $begingroup$
    Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
    $endgroup$
    – pipe
    7 hours ago

















5












$begingroup$


I am trying to generate a sinusoidal PWM signal using analog circuits.
I want to compare my sine wave and triangular wave using an operational amplifier (LM741) which has a rise time of 0.3 µs and slew rate 0.5 V/µs, which will good at 5 kHz theoretically. But I am not getting a good PWM output.



So I first tried to compare the sine wave with a reference voltage (2.2 volt). Sine wave amplitude = 2.5 volt (5 V peak to peak) and frequency 100 Hz and 5 kHz.



Enter image description here



  • At low frequency (say 100 Hz), the output is good

  • At high frequency (say 5 kHz), the output is too bad.

Enter image description here



Enter image description here



What will be the problem...



If the response is the problem of the comparator, but the slew rate is 0.5 V/µs.



Calculation of slew rate for a sinusoidal signal...



Slew rate= Vm * 2pi * Frequency



 = 5 V * 2pi* 5000 Hz

= 1570796 volt per second or 0.15 V/µs


Theoretically the slew rate of 0.5 V/µs will be OK for a sinusoidal signal of 5 kHz and 5 volt peak to peak. But in my case the signal is distorted.



Where am I wrong?










share|improve this question











$endgroup$











  • $begingroup$
    It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
    $endgroup$
    – JimmyB
    16 hours ago






  • 5




    $begingroup$
    Why you shouldn't use the 741.
    $endgroup$
    – JRE
    16 hours ago










  • $begingroup$
    For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
    $endgroup$
    – Nihal
    16 hours ago







  • 1




    $begingroup$
    You're latching up.
    $endgroup$
    – Scott Seidman
    14 hours ago






  • 1




    $begingroup$
    Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
    $endgroup$
    – pipe
    7 hours ago













5












5








5





$begingroup$


I am trying to generate a sinusoidal PWM signal using analog circuits.
I want to compare my sine wave and triangular wave using an operational amplifier (LM741) which has a rise time of 0.3 µs and slew rate 0.5 V/µs, which will good at 5 kHz theoretically. But I am not getting a good PWM output.



So I first tried to compare the sine wave with a reference voltage (2.2 volt). Sine wave amplitude = 2.5 volt (5 V peak to peak) and frequency 100 Hz and 5 kHz.



Enter image description here



  • At low frequency (say 100 Hz), the output is good

  • At high frequency (say 5 kHz), the output is too bad.

Enter image description here



Enter image description here



What will be the problem...



If the response is the problem of the comparator, but the slew rate is 0.5 V/µs.



Calculation of slew rate for a sinusoidal signal...



Slew rate= Vm * 2pi * Frequency



 = 5 V * 2pi* 5000 Hz

= 1570796 volt per second or 0.15 V/µs


Theoretically the slew rate of 0.5 V/µs will be OK for a sinusoidal signal of 5 kHz and 5 volt peak to peak. But in my case the signal is distorted.



Where am I wrong?










share|improve this question











$endgroup$




I am trying to generate a sinusoidal PWM signal using analog circuits.
I want to compare my sine wave and triangular wave using an operational amplifier (LM741) which has a rise time of 0.3 µs and slew rate 0.5 V/µs, which will good at 5 kHz theoretically. But I am not getting a good PWM output.



So I first tried to compare the sine wave with a reference voltage (2.2 volt). Sine wave amplitude = 2.5 volt (5 V peak to peak) and frequency 100 Hz and 5 kHz.



Enter image description here



  • At low frequency (say 100 Hz), the output is good

  • At high frequency (say 5 kHz), the output is too bad.

Enter image description here



Enter image description here



What will be the problem...



If the response is the problem of the comparator, but the slew rate is 0.5 V/µs.



Calculation of slew rate for a sinusoidal signal...



Slew rate= Vm * 2pi * Frequency



 = 5 V * 2pi* 5000 Hz

= 1570796 volt per second or 0.15 V/µs


Theoretically the slew rate of 0.5 V/µs will be OK for a sinusoidal signal of 5 kHz and 5 volt peak to peak. But in my case the signal is distorted.



Where am I wrong?







operational-amplifier comparator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago









Peter Mortensen

1,60031422




1,60031422










asked 16 hours ago









NihalNihal

517




517











  • $begingroup$
    It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
    $endgroup$
    – JimmyB
    16 hours ago






  • 5




    $begingroup$
    Why you shouldn't use the 741.
    $endgroup$
    – JRE
    16 hours ago










  • $begingroup$
    For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
    $endgroup$
    – Nihal
    16 hours ago







  • 1




    $begingroup$
    You're latching up.
    $endgroup$
    – Scott Seidman
    14 hours ago






  • 1




    $begingroup$
    Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
    $endgroup$
    – pipe
    7 hours ago
















  • $begingroup$
    It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
    $endgroup$
    – JimmyB
    16 hours ago






  • 5




    $begingroup$
    Why you shouldn't use the 741.
    $endgroup$
    – JRE
    16 hours ago










  • $begingroup$
    For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
    $endgroup$
    – Nihal
    16 hours ago







  • 1




    $begingroup$
    You're latching up.
    $endgroup$
    – Scott Seidman
    14 hours ago






  • 1




    $begingroup$
    Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
    $endgroup$
    – pipe
    7 hours ago















$begingroup$
It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
$endgroup$
– JimmyB
16 hours ago




$begingroup$
It looks like there's a significant lag/delay in the output's response w.r.t. the input signal (~30µs?). What may be causing this? What's connected to the output? 'Scope probe only?
$endgroup$
– JimmyB
16 hours ago




5




5




$begingroup$
Why you shouldn't use the 741.
$endgroup$
– JRE
16 hours ago




$begingroup$
Why you shouldn't use the 741.
$endgroup$
– JRE
16 hours ago












$begingroup$
For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
$endgroup$
– Nihal
16 hours ago





$begingroup$
For 5Khz i thought 741 will be ok, for what i calculated .Orelse sure i will change the opp amp which having high slew rate and i will update it.......@JRE
$endgroup$
– Nihal
16 hours ago





1




1




$begingroup$
You're latching up.
$endgroup$
– Scott Seidman
14 hours ago




$begingroup$
You're latching up.
$endgroup$
– Scott Seidman
14 hours ago




1




1




$begingroup$
Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
$endgroup$
– pipe
7 hours ago




$begingroup$
Note that this question is about the theory behind the calculations. Telling OP to change his OP-amp does nothing to answer the question. It just solves the problem without OP knowing why.
$endgroup$
– pipe
7 hours ago










5 Answers
5






active

oldest

votes


















8












$begingroup$

The recommendations for you are very simple.



  1. Use a comparator for this application instead of an opamp.


  2. Select a newer part that operates with orders of magnitude faster response time.


It would be the very best thing if the 741 could be eradicated from face of the earth.



Here is what can be achieved with the venerable LM393 at 5kHz. The shown circuit will work even up to about 50kHz before the delay of the LM393 starts to distort the PWM duty cycle.



enter image description here



enter image description here






share|improve this answer











$endgroup$












  • $begingroup$
    Sure friend i will change the opp amp or by using comparator, i will update the data soon.
    $endgroup$
    – Nihal
    15 hours ago






  • 1




    $begingroup$
    @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
    $endgroup$
    – Michael Karas
    15 hours ago






  • 1




    $begingroup$
    "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
    $endgroup$
    – UKMonkey
    11 hours ago






  • 2




    $begingroup$
    @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
    $endgroup$
    – CurtisHx
    11 hours ago










  • $begingroup$
    LM741 might still be in the textbooks...
    $endgroup$
    – Peter Mortensen
    11 hours ago


















3












$begingroup$

Opamps work slowly with low power supply voltages. In addition they are designed to work in linear region. As saturated, like in your application, the response has an unpredictable dead time. before the internal saturation is vanished.



I can only repeat what's already said: Get a comparator. 741 was a remarkable step forward half a century ago, but things have developed better since those days.






share|improve this answer









$endgroup$












  • $begingroup$
    Thank you for your response friend, i will update it after changing the opp amp.
    $endgroup$
    – Nihal
    16 hours ago






  • 2




    $begingroup$
    @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
    $endgroup$
    – user287001
    15 hours ago










  • $begingroup$
    Ok friend I will even buy a comparator and I will check with it.
    $endgroup$
    – Nihal
    8 hours ago


















1












$begingroup$

Op-amps are susceptible to latch-up. Recovering from saturation at the rails is not an automatic thing. The ratings you are reading a for the op amp working in a feedback mode, not an open loop mode. You would need to find an op amp designed to minimize latch-up, or better yet, when you need a comparator, buy a comparator.






share|improve this answer









$endgroup$








  • 1




    $begingroup$
    Yes, and/or phase inversion, depending on the op-amp type.
    $endgroup$
    – Peter Mortensen
    10 hours ago



















1












$begingroup$

You may try this, if you want a discrete solution





schematic





simulate this circuit – Schematic created using CircuitLab






share|improve this answer









$endgroup$












  • $begingroup$
    What is it? A Schmitt trigger?
    $endgroup$
    – Peter Mortensen
    11 hours ago










  • $begingroup$
    The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
    $endgroup$
    – analogsystemsrf
    2 mins ago


















0












$begingroup$

Most garden variety op-amps have internal compensation in the form of a chip capacitor.



This makes them very slow, but more stable in analog circuits.



Why not use a cheap comparator like LM393?






share|improve this answer











$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("schematics", function ()
    StackExchange.schematics.init();
    );
    , "cicuitlab");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "135"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f430885%2foperational-amplifier-as-a-comparator-at-high-frequency%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    5 Answers
    5






    active

    oldest

    votes








    5 Answers
    5






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    8












    $begingroup$

    The recommendations for you are very simple.



    1. Use a comparator for this application instead of an opamp.


    2. Select a newer part that operates with orders of magnitude faster response time.


    It would be the very best thing if the 741 could be eradicated from face of the earth.



    Here is what can be achieved with the venerable LM393 at 5kHz. The shown circuit will work even up to about 50kHz before the delay of the LM393 starts to distort the PWM duty cycle.



    enter image description here



    enter image description here






    share|improve this answer











    $endgroup$












    • $begingroup$
      Sure friend i will change the opp amp or by using comparator, i will update the data soon.
      $endgroup$
      – Nihal
      15 hours ago






    • 1




      $begingroup$
      @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
      $endgroup$
      – Michael Karas
      15 hours ago






    • 1




      $begingroup$
      "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
      $endgroup$
      – UKMonkey
      11 hours ago






    • 2




      $begingroup$
      @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
      $endgroup$
      – CurtisHx
      11 hours ago










    • $begingroup$
      LM741 might still be in the textbooks...
      $endgroup$
      – Peter Mortensen
      11 hours ago















    8












    $begingroup$

    The recommendations for you are very simple.



    1. Use a comparator for this application instead of an opamp.


    2. Select a newer part that operates with orders of magnitude faster response time.


    It would be the very best thing if the 741 could be eradicated from face of the earth.



    Here is what can be achieved with the venerable LM393 at 5kHz. The shown circuit will work even up to about 50kHz before the delay of the LM393 starts to distort the PWM duty cycle.



    enter image description here



    enter image description here






    share|improve this answer











    $endgroup$












    • $begingroup$
      Sure friend i will change the opp amp or by using comparator, i will update the data soon.
      $endgroup$
      – Nihal
      15 hours ago






    • 1




      $begingroup$
      @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
      $endgroup$
      – Michael Karas
      15 hours ago






    • 1




      $begingroup$
      "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
      $endgroup$
      – UKMonkey
      11 hours ago






    • 2




      $begingroup$
      @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
      $endgroup$
      – CurtisHx
      11 hours ago










    • $begingroup$
      LM741 might still be in the textbooks...
      $endgroup$
      – Peter Mortensen
      11 hours ago













    8












    8








    8





    $begingroup$

    The recommendations for you are very simple.



    1. Use a comparator for this application instead of an opamp.


    2. Select a newer part that operates with orders of magnitude faster response time.


    It would be the very best thing if the 741 could be eradicated from face of the earth.



    Here is what can be achieved with the venerable LM393 at 5kHz. The shown circuit will work even up to about 50kHz before the delay of the LM393 starts to distort the PWM duty cycle.



    enter image description here



    enter image description here






    share|improve this answer











    $endgroup$



    The recommendations for you are very simple.



    1. Use a comparator for this application instead of an opamp.


    2. Select a newer part that operates with orders of magnitude faster response time.


    It would be the very best thing if the 741 could be eradicated from face of the earth.



    Here is what can be achieved with the venerable LM393 at 5kHz. The shown circuit will work even up to about 50kHz before the delay of the LM393 starts to distort the PWM duty cycle.



    enter image description here



    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 15 hours ago

























    answered 16 hours ago









    Michael KarasMichael Karas

    45.2k348105




    45.2k348105











    • $begingroup$
      Sure friend i will change the opp amp or by using comparator, i will update the data soon.
      $endgroup$
      – Nihal
      15 hours ago






    • 1




      $begingroup$
      @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
      $endgroup$
      – Michael Karas
      15 hours ago






    • 1




      $begingroup$
      "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
      $endgroup$
      – UKMonkey
      11 hours ago






    • 2




      $begingroup$
      @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
      $endgroup$
      – CurtisHx
      11 hours ago










    • $begingroup$
      LM741 might still be in the textbooks...
      $endgroup$
      – Peter Mortensen
      11 hours ago
















    • $begingroup$
      Sure friend i will change the opp amp or by using comparator, i will update the data soon.
      $endgroup$
      – Nihal
      15 hours ago






    • 1




      $begingroup$
      @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
      $endgroup$
      – Michael Karas
      15 hours ago






    • 1




      $begingroup$
      "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
      $endgroup$
      – UKMonkey
      11 hours ago






    • 2




      $begingroup$
      @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
      $endgroup$
      – CurtisHx
      11 hours ago










    • $begingroup$
      LM741 might still be in the textbooks...
      $endgroup$
      – Peter Mortensen
      11 hours ago















    $begingroup$
    Sure friend i will change the opp amp or by using comparator, i will update the data soon.
    $endgroup$
    – Nihal
    15 hours ago




    $begingroup$
    Sure friend i will change the opp amp or by using comparator, i will update the data soon.
    $endgroup$
    – Nihal
    15 hours ago




    1




    1




    $begingroup$
    @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
    $endgroup$
    – Michael Karas
    15 hours ago




    $begingroup$
    @Nihal - If you show some new results in the question do not delete your original material, Instead add it as an update at the end. The reason for this is that hopefully this question can be a reference to future readers that are looking for information as being discussed here. If you delete the original material the answers here would no longer make much sense to a future reader.
    $endgroup$
    – Michael Karas
    15 hours ago




    1




    1




    $begingroup$
    "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
    $endgroup$
    – UKMonkey
    11 hours ago




    $begingroup$
    "It would be the very best thing if the 741 could be eradicated from face of the earth." ok - I'll bite. what's your reasons?
    $endgroup$
    – UKMonkey
    11 hours ago




    2




    2




    $begingroup$
    @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
    $endgroup$
    – CurtisHx
    11 hours ago




    $begingroup$
    @UKMonkey the 741 was first released in 1968. And while it was a fantastic IC at the time, there are vastly superior op-amps available with lower input offset voltage, higher bandwidth, higher input impedance, etc. Most people lean the "ideal op-amp" first, and then immediately jump to one of the most non-ideal op-amps in practice, and wonder why their design doesn't work.
    $endgroup$
    – CurtisHx
    11 hours ago












    $begingroup$
    LM741 might still be in the textbooks...
    $endgroup$
    – Peter Mortensen
    11 hours ago




    $begingroup$
    LM741 might still be in the textbooks...
    $endgroup$
    – Peter Mortensen
    11 hours ago













    3












    $begingroup$

    Opamps work slowly with low power supply voltages. In addition they are designed to work in linear region. As saturated, like in your application, the response has an unpredictable dead time. before the internal saturation is vanished.



    I can only repeat what's already said: Get a comparator. 741 was a remarkable step forward half a century ago, but things have developed better since those days.






    share|improve this answer









    $endgroup$












    • $begingroup$
      Thank you for your response friend, i will update it after changing the opp amp.
      $endgroup$
      – Nihal
      16 hours ago






    • 2




      $begingroup$
      @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
      $endgroup$
      – user287001
      15 hours ago










    • $begingroup$
      Ok friend I will even buy a comparator and I will check with it.
      $endgroup$
      – Nihal
      8 hours ago















    3












    $begingroup$

    Opamps work slowly with low power supply voltages. In addition they are designed to work in linear region. As saturated, like in your application, the response has an unpredictable dead time. before the internal saturation is vanished.



    I can only repeat what's already said: Get a comparator. 741 was a remarkable step forward half a century ago, but things have developed better since those days.






    share|improve this answer









    $endgroup$












    • $begingroup$
      Thank you for your response friend, i will update it after changing the opp amp.
      $endgroup$
      – Nihal
      16 hours ago






    • 2




      $begingroup$
      @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
      $endgroup$
      – user287001
      15 hours ago










    • $begingroup$
      Ok friend I will even buy a comparator and I will check with it.
      $endgroup$
      – Nihal
      8 hours ago













    3












    3








    3





    $begingroup$

    Opamps work slowly with low power supply voltages. In addition they are designed to work in linear region. As saturated, like in your application, the response has an unpredictable dead time. before the internal saturation is vanished.



    I can only repeat what's already said: Get a comparator. 741 was a remarkable step forward half a century ago, but things have developed better since those days.






    share|improve this answer









    $endgroup$



    Opamps work slowly with low power supply voltages. In addition they are designed to work in linear region. As saturated, like in your application, the response has an unpredictable dead time. before the internal saturation is vanished.



    I can only repeat what's already said: Get a comparator. 741 was a remarkable step forward half a century ago, but things have developed better since those days.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 16 hours ago









    user287001user287001

    9,6541517




    9,6541517











    • $begingroup$
      Thank you for your response friend, i will update it after changing the opp amp.
      $endgroup$
      – Nihal
      16 hours ago






    • 2




      $begingroup$
      @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
      $endgroup$
      – user287001
      15 hours ago










    • $begingroup$
      Ok friend I will even buy a comparator and I will check with it.
      $endgroup$
      – Nihal
      8 hours ago
















    • $begingroup$
      Thank you for your response friend, i will update it after changing the opp amp.
      $endgroup$
      – Nihal
      16 hours ago






    • 2




      $begingroup$
      @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
      $endgroup$
      – user287001
      15 hours ago










    • $begingroup$
      Ok friend I will even buy a comparator and I will check with it.
      $endgroup$
      – Nihal
      8 hours ago















    $begingroup$
    Thank you for your response friend, i will update it after changing the opp amp.
    $endgroup$
    – Nihal
    16 hours ago




    $begingroup$
    Thank you for your response friend, i will update it after changing the opp amp.
    $endgroup$
    – Nihal
    16 hours ago




    2




    2




    $begingroup$
    @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
    $endgroup$
    – user287001
    15 hours ago




    $begingroup$
    @Nihal Comparators have other precautions. They are high speed circuits like logic parts. You must have acceptably short wires and coupling capacitors between supply voltage inputs. Making the circuit with 0,5 meter long wires onto a breadboard without coupling caps (I have seen those attempts) will be useless.
    $endgroup$
    – user287001
    15 hours ago












    $begingroup$
    Ok friend I will even buy a comparator and I will check with it.
    $endgroup$
    – Nihal
    8 hours ago




    $begingroup$
    Ok friend I will even buy a comparator and I will check with it.
    $endgroup$
    – Nihal
    8 hours ago











    1












    $begingroup$

    Op-amps are susceptible to latch-up. Recovering from saturation at the rails is not an automatic thing. The ratings you are reading a for the op amp working in a feedback mode, not an open loop mode. You would need to find an op amp designed to minimize latch-up, or better yet, when you need a comparator, buy a comparator.






    share|improve this answer









    $endgroup$








    • 1




      $begingroup$
      Yes, and/or phase inversion, depending on the op-amp type.
      $endgroup$
      – Peter Mortensen
      10 hours ago
















    1












    $begingroup$

    Op-amps are susceptible to latch-up. Recovering from saturation at the rails is not an automatic thing. The ratings you are reading a for the op amp working in a feedback mode, not an open loop mode. You would need to find an op amp designed to minimize latch-up, or better yet, when you need a comparator, buy a comparator.






    share|improve this answer









    $endgroup$








    • 1




      $begingroup$
      Yes, and/or phase inversion, depending on the op-amp type.
      $endgroup$
      – Peter Mortensen
      10 hours ago














    1












    1








    1





    $begingroup$

    Op-amps are susceptible to latch-up. Recovering from saturation at the rails is not an automatic thing. The ratings you are reading a for the op amp working in a feedback mode, not an open loop mode. You would need to find an op amp designed to minimize latch-up, or better yet, when you need a comparator, buy a comparator.






    share|improve this answer









    $endgroup$



    Op-amps are susceptible to latch-up. Recovering from saturation at the rails is not an automatic thing. The ratings you are reading a for the op amp working in a feedback mode, not an open loop mode. You would need to find an op amp designed to minimize latch-up, or better yet, when you need a comparator, buy a comparator.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 14 hours ago









    Scott SeidmanScott Seidman

    22.7k43286




    22.7k43286







    • 1




      $begingroup$
      Yes, and/or phase inversion, depending on the op-amp type.
      $endgroup$
      – Peter Mortensen
      10 hours ago













    • 1




      $begingroup$
      Yes, and/or phase inversion, depending on the op-amp type.
      $endgroup$
      – Peter Mortensen
      10 hours ago








    1




    1




    $begingroup$
    Yes, and/or phase inversion, depending on the op-amp type.
    $endgroup$
    – Peter Mortensen
    10 hours ago





    $begingroup$
    Yes, and/or phase inversion, depending on the op-amp type.
    $endgroup$
    – Peter Mortensen
    10 hours ago












    1












    $begingroup$

    You may try this, if you want a discrete solution





    schematic





    simulate this circuit – Schematic created using CircuitLab






    share|improve this answer









    $endgroup$












    • $begingroup$
      What is it? A Schmitt trigger?
      $endgroup$
      – Peter Mortensen
      11 hours ago










    • $begingroup$
      The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
      $endgroup$
      – analogsystemsrf
      2 mins ago















    1












    $begingroup$

    You may try this, if you want a discrete solution





    schematic





    simulate this circuit – Schematic created using CircuitLab






    share|improve this answer









    $endgroup$












    • $begingroup$
      What is it? A Schmitt trigger?
      $endgroup$
      – Peter Mortensen
      11 hours ago










    • $begingroup$
      The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
      $endgroup$
      – analogsystemsrf
      2 mins ago













    1












    1








    1





    $begingroup$

    You may try this, if you want a discrete solution





    schematic





    simulate this circuit – Schematic created using CircuitLab






    share|improve this answer









    $endgroup$



    You may try this, if you want a discrete solution





    schematic





    simulate this circuit – Schematic created using CircuitLab







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 11 hours ago









    analogsystemsrfanalogsystemsrf

    16k2822




    16k2822











    • $begingroup$
      What is it? A Schmitt trigger?
      $endgroup$
      – Peter Mortensen
      11 hours ago










    • $begingroup$
      The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
      $endgroup$
      – analogsystemsrf
      2 mins ago
















    • $begingroup$
      What is it? A Schmitt trigger?
      $endgroup$
      – Peter Mortensen
      11 hours ago










    • $begingroup$
      The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
      $endgroup$
      – analogsystemsrf
      2 mins ago















    $begingroup$
    What is it? A Schmitt trigger?
    $endgroup$
    – Peter Mortensen
    11 hours ago




    $begingroup$
    What is it? A Schmitt trigger?
    $endgroup$
    – Peter Mortensen
    11 hours ago












    $begingroup$
    The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
    $endgroup$
    – analogsystemsrf
    2 mins ago




    $begingroup$
    The differential pair is biased at VDD/2. R8 does provide 1% positive feedback, to reduce the risk of oscillation during the linear region. Notice I included over-voltage protection.
    $endgroup$
    – analogsystemsrf
    2 mins ago











    0












    $begingroup$

    Most garden variety op-amps have internal compensation in the form of a chip capacitor.



    This makes them very slow, but more stable in analog circuits.



    Why not use a cheap comparator like LM393?






    share|improve this answer











    $endgroup$

















      0












      $begingroup$

      Most garden variety op-amps have internal compensation in the form of a chip capacitor.



      This makes them very slow, but more stable in analog circuits.



      Why not use a cheap comparator like LM393?






      share|improve this answer











      $endgroup$















        0












        0








        0





        $begingroup$

        Most garden variety op-amps have internal compensation in the form of a chip capacitor.



        This makes them very slow, but more stable in analog circuits.



        Why not use a cheap comparator like LM393?






        share|improve this answer











        $endgroup$



        Most garden variety op-amps have internal compensation in the form of a chip capacitor.



        This makes them very slow, but more stable in analog circuits.



        Why not use a cheap comparator like LM393?







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 13 hours ago









        Renan

        4,32222244




        4,32222244










        answered 16 hours ago









        AutisticAutistic

        7,49921633




        7,49921633



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Electrical Engineering Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f430885%2foperational-amplifier-as-a-comparator-at-high-frequency%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Францішак Багушэвіч Змест Сям'я | Біяграфія | Творчасць | Мова Багушэвіча | Ацэнкі дзейнасці | Цікавыя факты | Спадчына | Выбраная бібліяграфія | Ушанаванне памяці | У філатэліі | Зноскі | Літаратура | Спасылкі | НавігацыяЛяхоўскі У. Рупіўся дзеля Бога і людзей: Жыццёвы шлях Лявона Вітан-Дубейкаўскага // Вольскі і Памідораў з песняй пра немца Адвакат, паэт, народны заступнік Ашмянскі веснікВ Минске появится площадь Богушевича и улица Сырокомли, Белорусская деловая газета, 19 июля 2001 г.Айцец беларускай нацыянальнай ідэі паўстаў у бронзе Сяргей Аляксандравіч Адашкевіч (1918, Мінск). 80-я гады. Бюст «Францішак Багушэвіч».Яўген Мікалаевіч Ціхановіч. «Партрэт Францішка Багушэвіча»Мікола Мікалаевіч Купава. «Партрэт зачынальніка новай беларускай літаратуры Францішка Багушэвіча»Уладзімір Іванавіч Мелехаў. На помніку «Змагарам за родную мову» Барэльеф «Францішак Багушэвіч»Памяць пра Багушэвіча на Віленшчыне Страчаная сталіца. Беларускія шыльды на вуліцах Вільні«Krynica». Ideologia i przywódcy białoruskiego katolicyzmuФранцішак БагушэвічТворы на knihi.comТворы Францішка Багушэвіча на bellib.byСодаль Уладзімір. Францішак Багушэвіч на Лідчыне;Луцкевіч Антон. Жыцьцё і творчасьць Фр. Багушэвіча ў успамінах ягоных сучасьнікаў // Запісы Беларускага Навуковага таварыства. Вільня, 1938. Сшытак 1. С. 16-34.Большая российская1188761710000 0000 5537 633Xn9209310021619551927869394п

            Беларусь Змест Назва Гісторыя Геаграфія Сімволіка Дзяржаўны лад Палітычныя партыі Міжнароднае становішча і знешняя палітыка Адміністрацыйны падзел Насельніцтва Эканоміка Культура і грамадства Сацыяльная сфера Узброеныя сілы Заўвагі Літаратура Спасылкі НавігацыяHGЯOiТоп-2011 г. (па версіі ej.by)Топ-2013 г. (па версіі ej.by)Топ-2016 г. (па версіі ej.by)Топ-2017 г. (па версіі ej.by)Нацыянальны статыстычны камітэт Рэспублікі БеларусьШчыльнасць насельніцтва па краінахhttp://naviny.by/rubrics/society/2011/09/16/ic_articles_116_175144/А. Калечыц, У. Ксяндзоў. Спробы засялення краю неандэртальскім чалавекам.І ў Менску былі мамантыА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіГ. Штыхаў. Балты і славяне ў VI—VIII стст.М. Клімаў. Полацкае княства ў IX—XI стст.Г. Штыхаў, В. Ляўко. Палітычная гісторыя Полацкай зямліГ. Штыхаў. Дзяржаўны лад у землях-княствахГ. Штыхаў. Дзяржаўны лад у землях-княствахБеларускія землі ў складзе Вялікага Княства ЛітоўскагаЛюблінская унія 1569 г."The Early Stages of Independence"Zapomniane prawdy25 гадоў таму было аб'яўлена, што Язэп Пілсудскі — беларус (фота)Наша вадаДакументы ЧАЭС: Забруджванне тэрыторыі Беларусі « ЧАЭС Зона адчужэнняСведения о политических партиях, зарегистрированных в Республике Беларусь // Министерство юстиции Республики БеларусьСтатыстычны бюлетэнь „Полаўзроставая структура насельніцтва Рэспублікі Беларусь на 1 студзеня 2012 года і сярэднегадовая колькасць насельніцтва за 2011 год“Индекс человеческого развития Беларуси — не было бы нижеБеларусь занимает первое место в СНГ по индексу развития с учетом гендерного факцёраНацыянальны статыстычны камітэт Рэспублікі БеларусьКанстытуцыя РБ. Артыкул 17Трансфармацыйныя задачы БеларусіВыйсце з крызісу — далейшае рэфармаванне Беларускі рубель — сусветны лідар па дэвальвацыяхПра змену коштаў у кастрычніку 2011 г.Бядней за беларусаў у СНД толькі таджыкіСярэдні заробак у верасні дасягнуў 2,26 мільёна рублёўЭканомікаГаласуем за ТОП-100 беларускай прозыСучасныя беларускія мастакіАрхитектура Беларуси BELARUS.BYА. Каханоўскі. Культура Беларусі ўсярэдзіне XVII—XVIII ст.Анталогія беларускай народнай песні, гуказапісы спеваўБеларускія Музычныя IнструментыБеларускі рок, які мы страцілі. Топ-10 гуртоў«Мясцовы час» — нязгаслая легенда беларускай рок-музыкіСЯРГЕЙ БУДКІН. МЫ НЯ ЗНАЕМ СВАЁЙ МУЗЫКІМ. А. Каладзінскі. НАРОДНЫ ТЭАТРМагнацкія культурныя цэнтрыПублічная дыскусія «Беларуская новая пьеса: без беларускай мовы ці беларуская?»Беларускія драматургі па-ранейшаму лепш ставяцца за мяжой, чым на радзіме«Працэс незалежнага кіно пайшоў, і дзяржаву турбуе яго непадкантрольнасць»Беларускія філосафы ў пошуках прасторыВсе идём в библиотекуАрхіваванаАб Нацыянальнай праграме даследавання і выкарыстання касмічнай прасторы ў мірных мэтах на 2008—2012 гадыУ космас — разам.У суседнім з Барысаўскім раёне пабудуюць Камандна-вымяральны пунктСвяты і абрады беларусаў«Мірныя бульбашы з малой краіны» — 5 непраўдзівых стэрэатыпаў пра БеларусьМ. Раманюк. Беларускае народнае адзеннеУ Беларусі скарачаецца колькасць злачынстваўЛукашэнка незадаволены мінскімі ўладамі Крадзяжы складаюць у Мінску каля 70% злачынстваў Узровень злачыннасці ў Мінскай вобласці — адзін з самых высокіх у краіне Генпракуратура аналізуе стан са злачыннасцю ў Беларусі па каэфіцыенце злачыннасці У Беларусі стабілізавалася крымінагеннае становішча, лічыць генпракурорЗамежнікі сталі здзяйсняць у Беларусі больш злачынстваўМУС Беларусі турбуе рост рэцыдыўнай злачыннасціЯ з ЖЭСа. Дазволіце вас абкрасці! Рэйтынг усіх службаў і падраздзяленняў ГУУС Мінгарвыканкама вырасАб КДБ РБГісторыя Аператыўна-аналітычнага цэнтра РБГісторыя ДКФРТаможняagentura.ruБеларусьBelarus.by — Афіцыйны сайт Рэспублікі БеларусьСайт урада БеларусіRadzima.org — Збор архітэктурных помнікаў, гісторыя Беларусі«Глобус Беларуси»Гербы и флаги БеларусиАсаблівасці каменнага веку на БеларусіА. Калечыц, У. Ксяндзоў. Старажытны каменны век (палеаліт). Першапачатковае засяленне тэрыторыіУ. Ксяндзоў. Сярэдні каменны век (мезаліт). Засяленне краю плямёнамі паляўнічых, рыбакоў і збіральнікаўА. Калечыц, М. Чарняўскі. Плямёны на тэрыторыі Беларусі ў новым каменным веку (неаліце)А. Калечыц, У. Ксяндзоў, М. Чарняўскі. Гаспадарчыя заняткі ў каменным векуЭ. Зайкоўскі. Духоўная культура ў каменным векуАсаблівасці бронзавага веку на БеларусіФарміраванне супольнасцей ранняга перыяду бронзавага векуФотографии БеларусиРоля беларускіх зямель ва ўтварэнні і ўмацаванні ВКЛВ. Фадзеева. З гісторыі развіцця беларускай народнай вышыўкіDMOZGran catalanaБольшая российскаяBritannica (анлайн)Швейцарскі гістарычны15325917611952699xDA123282154079143-90000 0001 2171 2080n9112870100577502ge128882171858027501086026362074122714179пппппп

            ValueError: Expected n_neighbors <= n_samples, but n_samples = 1, n_neighbors = 6 (SMOTE) The 2019 Stack Overflow Developer Survey Results Are InCan SMOTE be applied over sequence of words (sentences)?ValueError when doing validation with random forestsSMOTE and multi class oversamplingLogic behind SMOTE-NC?ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)SmoteBoost: Should SMOTE be ran individually for each iteration/tree in the boosting?solving multi-class imbalance classification using smote and OSSUsing SMOTE for Synthetic Data generation to improve performance on unbalanced dataproblem of entry format for a simple model in KerasSVM SMOTE fit_resample() function runs forever with no result