OP Amp not amplifying audio signal





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







5












$begingroup$


Two-stage audio amplifier as implemented



Hi, part of my project requires me to amplify an audio signal coming from an electret condenser microphone which outputs an average of 10mVpp to approximately 2.5Vpp. I Used two cascaded non-inverting TL071 OP-amps since one Op-amp doesn't have enough GBW. The output of the mic is low-pass filtered with a cut-off frequency of around 13kHz.



It works perfectly if I input a signal from the signal generator, the output is as required, however with the signal from the microphone there is no output, just a DC offset which is coupled by the capacitor at the end. I also tried buffering the output form the mic.
Any help would be much appreciated.



EDIT:
Didn't realize the error in the schematic, resistor 1k should be between mic and 5V.










share|improve this question











$endgroup$












  • $begingroup$
    Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
    $endgroup$
    – The Photon
    Apr 2 at 19:40










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    Apr 2 at 19:56










  • $begingroup$
    Shows why it's useful to use the internal schematics editor - could have edited it.
    $endgroup$
    – pipe
    2 days ago


















5












$begingroup$


Two-stage audio amplifier as implemented



Hi, part of my project requires me to amplify an audio signal coming from an electret condenser microphone which outputs an average of 10mVpp to approximately 2.5Vpp. I Used two cascaded non-inverting TL071 OP-amps since one Op-amp doesn't have enough GBW. The output of the mic is low-pass filtered with a cut-off frequency of around 13kHz.



It works perfectly if I input a signal from the signal generator, the output is as required, however with the signal from the microphone there is no output, just a DC offset which is coupled by the capacitor at the end. I also tried buffering the output form the mic.
Any help would be much appreciated.



EDIT:
Didn't realize the error in the schematic, resistor 1k should be between mic and 5V.










share|improve this question











$endgroup$












  • $begingroup$
    Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
    $endgroup$
    – The Photon
    Apr 2 at 19:40










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    Apr 2 at 19:56










  • $begingroup$
    Shows why it's useful to use the internal schematics editor - could have edited it.
    $endgroup$
    – pipe
    2 days ago














5












5








5





$begingroup$


Two-stage audio amplifier as implemented



Hi, part of my project requires me to amplify an audio signal coming from an electret condenser microphone which outputs an average of 10mVpp to approximately 2.5Vpp. I Used two cascaded non-inverting TL071 OP-amps since one Op-amp doesn't have enough GBW. The output of the mic is low-pass filtered with a cut-off frequency of around 13kHz.



It works perfectly if I input a signal from the signal generator, the output is as required, however with the signal from the microphone there is no output, just a DC offset which is coupled by the capacitor at the end. I also tried buffering the output form the mic.
Any help would be much appreciated.



EDIT:
Didn't realize the error in the schematic, resistor 1k should be between mic and 5V.










share|improve this question











$endgroup$




Two-stage audio amplifier as implemented



Hi, part of my project requires me to amplify an audio signal coming from an electret condenser microphone which outputs an average of 10mVpp to approximately 2.5Vpp. I Used two cascaded non-inverting TL071 OP-amps since one Op-amp doesn't have enough GBW. The output of the mic is low-pass filtered with a cut-off frequency of around 13kHz.



It works perfectly if I input a signal from the signal generator, the output is as required, however with the signal from the microphone there is no output, just a DC offset which is coupled by the capacitor at the end. I also tried buffering the output form the mic.
Any help would be much appreciated.



EDIT:
Didn't realize the error in the schematic, resistor 1k should be between mic and 5V.







operational-amplifier amplifier audio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago







Simon

















asked Apr 2 at 19:15









SimonSimon

355




355












  • $begingroup$
    Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
    $endgroup$
    – The Photon
    Apr 2 at 19:40










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    Apr 2 at 19:56










  • $begingroup$
    Shows why it's useful to use the internal schematics editor - could have edited it.
    $endgroup$
    – pipe
    2 days ago


















  • $begingroup$
    Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
    $endgroup$
    – The Photon
    Apr 2 at 19:40










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    Apr 2 at 19:56










  • $begingroup$
    Shows why it's useful to use the internal schematics editor - could have edited it.
    $endgroup$
    – pipe
    2 days ago
















$begingroup$
Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
$endgroup$
– The Photon
Apr 2 at 19:40




$begingroup$
Is the 1 kohm part at the left of the diagram part of your circuit or part of your model for the microphone? Is it also used when you connect the function generator?
$endgroup$
– The Photon
Apr 2 at 19:40












$begingroup$
JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
$endgroup$
– Simon
Apr 2 at 19:56




$begingroup$
JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
$endgroup$
– Simon
Apr 2 at 19:56












$begingroup$
Shows why it's useful to use the internal schematics editor - could have edited it.
$endgroup$
– pipe
2 days ago




$begingroup$
Shows why it's useful to use the internal schematics editor - could have edited it.
$endgroup$
– pipe
2 days ago










3 Answers
3






active

oldest

votes


















10












$begingroup$

Put a large resistor from the + input of the left opamp to ground. Say, like 470kohm.



The DC bias from the microphone is getting through to the opamp. The TL071 has very high impedance inputs. The tiny bit of DC that leaks through the first capacitor is enough to push that input away from 0V. The amplification then drives the output to one of the rails.





Just noticed something else.



The microphone bias is messed up.



You need that 1k resistor between the microphone and 5V



As you've got it, the microphone is trying to pull the 5V source up and down in response to the sound.



Best case, it doesn't work.



Worst case, you've killed the microphone.






share|improve this answer











$endgroup$









  • 2




    $begingroup$
    Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
    $endgroup$
    – Scott Seidman
    Apr 2 at 19:36










  • $begingroup$
    Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
    $endgroup$
    – Simon
    Apr 2 at 19:52












  • $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    Apr 2 at 19:54



















0












$begingroup$

Of course the + input of the first opamp must have a DC bias of 0V.



IF the mic has an output impedance of ZERO ohms then the 120 ohms resistor and the second 0.1uF capacitor produce a cutoff frequency of about 13kHz. But the mic output impedance is about 2.7k ohms and is in parallel with the 1k resistor powering it so the cutoff frequency (without the 120 ohms resistor) is actually 2192Hz which is very muffled.



The value of the 1k resistor powering the mic should be half the supply voltage (2.5V) divided by the mic current (0.5mA)= 5k ohms. Use 5.1k then re-calculate the lowpass filter capacitor value with the 2.7k resistance of the mic parallel with the 5.1k resistor.






share|improve this answer









$endgroup$





















    0












    $begingroup$

    Just add a resistor between mic and +5v






    share|improve this answer








    New contributor




    jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    $endgroup$









    • 1




      $begingroup$
      Can you explain why this would fix it so that OP can learn?
      $endgroup$
      – Puffafish
      2 days ago












    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%2f430375%2fop-amp-not-amplifying-audio-signal%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    10












    $begingroup$

    Put a large resistor from the + input of the left opamp to ground. Say, like 470kohm.



    The DC bias from the microphone is getting through to the opamp. The TL071 has very high impedance inputs. The tiny bit of DC that leaks through the first capacitor is enough to push that input away from 0V. The amplification then drives the output to one of the rails.





    Just noticed something else.



    The microphone bias is messed up.



    You need that 1k resistor between the microphone and 5V



    As you've got it, the microphone is trying to pull the 5V source up and down in response to the sound.



    Best case, it doesn't work.



    Worst case, you've killed the microphone.






    share|improve this answer











    $endgroup$









    • 2




      $begingroup$
      Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
      $endgroup$
      – Scott Seidman
      Apr 2 at 19:36










    • $begingroup$
      Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
      $endgroup$
      – Simon
      Apr 2 at 19:52












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      Apr 2 at 19:54
















    10












    $begingroup$

    Put a large resistor from the + input of the left opamp to ground. Say, like 470kohm.



    The DC bias from the microphone is getting through to the opamp. The TL071 has very high impedance inputs. The tiny bit of DC that leaks through the first capacitor is enough to push that input away from 0V. The amplification then drives the output to one of the rails.





    Just noticed something else.



    The microphone bias is messed up.



    You need that 1k resistor between the microphone and 5V



    As you've got it, the microphone is trying to pull the 5V source up and down in response to the sound.



    Best case, it doesn't work.



    Worst case, you've killed the microphone.






    share|improve this answer











    $endgroup$









    • 2




      $begingroup$
      Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
      $endgroup$
      – Scott Seidman
      Apr 2 at 19:36










    • $begingroup$
      Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
      $endgroup$
      – Simon
      Apr 2 at 19:52












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      Apr 2 at 19:54














    10












    10








    10





    $begingroup$

    Put a large resistor from the + input of the left opamp to ground. Say, like 470kohm.



    The DC bias from the microphone is getting through to the opamp. The TL071 has very high impedance inputs. The tiny bit of DC that leaks through the first capacitor is enough to push that input away from 0V. The amplification then drives the output to one of the rails.





    Just noticed something else.



    The microphone bias is messed up.



    You need that 1k resistor between the microphone and 5V



    As you've got it, the microphone is trying to pull the 5V source up and down in response to the sound.



    Best case, it doesn't work.



    Worst case, you've killed the microphone.






    share|improve this answer











    $endgroup$



    Put a large resistor from the + input of the left opamp to ground. Say, like 470kohm.



    The DC bias from the microphone is getting through to the opamp. The TL071 has very high impedance inputs. The tiny bit of DC that leaks through the first capacitor is enough to push that input away from 0V. The amplification then drives the output to one of the rails.





    Just noticed something else.



    The microphone bias is messed up.



    You need that 1k resistor between the microphone and 5V



    As you've got it, the microphone is trying to pull the 5V source up and down in response to the sound.



    Best case, it doesn't work.



    Worst case, you've killed the microphone.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 2 at 19:37

























    answered Apr 2 at 19:34









    JREJRE

    23.2k54178




    23.2k54178








    • 2




      $begingroup$
      Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
      $endgroup$
      – Scott Seidman
      Apr 2 at 19:36










    • $begingroup$
      Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
      $endgroup$
      – Simon
      Apr 2 at 19:52












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      Apr 2 at 19:54














    • 2




      $begingroup$
      Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
      $endgroup$
      – Scott Seidman
      Apr 2 at 19:36










    • $begingroup$
      Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
      $endgroup$
      – Simon
      Apr 2 at 19:52












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      Apr 2 at 19:54








    2




    2




    $begingroup$
    Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
    $endgroup$
    – Scott Seidman
    Apr 2 at 19:36




    $begingroup$
    Could be bias current from the op amp itself that saturates the caps -- there is no DC path for the bias current. This is less likely, as it works with a function generator.
    $endgroup$
    – Scott Seidman
    Apr 2 at 19:36












    $begingroup$
    Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
    $endgroup$
    – Simon
    Apr 2 at 19:52






    $begingroup$
    Thank you so much! I realized there was a problem with the small dc leak from the beginning, I couldn't figure out a way to eliminate it completely. Now it works !!
    $endgroup$
    – Simon
    Apr 2 at 19:52














    $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    Apr 2 at 19:54




    $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    Apr 2 at 19:54













    0












    $begingroup$

    Of course the + input of the first opamp must have a DC bias of 0V.



    IF the mic has an output impedance of ZERO ohms then the 120 ohms resistor and the second 0.1uF capacitor produce a cutoff frequency of about 13kHz. But the mic output impedance is about 2.7k ohms and is in parallel with the 1k resistor powering it so the cutoff frequency (without the 120 ohms resistor) is actually 2192Hz which is very muffled.



    The value of the 1k resistor powering the mic should be half the supply voltage (2.5V) divided by the mic current (0.5mA)= 5k ohms. Use 5.1k then re-calculate the lowpass filter capacitor value with the 2.7k resistance of the mic parallel with the 5.1k resistor.






    share|improve this answer









    $endgroup$


















      0












      $begingroup$

      Of course the + input of the first opamp must have a DC bias of 0V.



      IF the mic has an output impedance of ZERO ohms then the 120 ohms resistor and the second 0.1uF capacitor produce a cutoff frequency of about 13kHz. But the mic output impedance is about 2.7k ohms and is in parallel with the 1k resistor powering it so the cutoff frequency (without the 120 ohms resistor) is actually 2192Hz which is very muffled.



      The value of the 1k resistor powering the mic should be half the supply voltage (2.5V) divided by the mic current (0.5mA)= 5k ohms. Use 5.1k then re-calculate the lowpass filter capacitor value with the 2.7k resistance of the mic parallel with the 5.1k resistor.






      share|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Of course the + input of the first opamp must have a DC bias of 0V.



        IF the mic has an output impedance of ZERO ohms then the 120 ohms resistor and the second 0.1uF capacitor produce a cutoff frequency of about 13kHz. But the mic output impedance is about 2.7k ohms and is in parallel with the 1k resistor powering it so the cutoff frequency (without the 120 ohms resistor) is actually 2192Hz which is very muffled.



        The value of the 1k resistor powering the mic should be half the supply voltage (2.5V) divided by the mic current (0.5mA)= 5k ohms. Use 5.1k then re-calculate the lowpass filter capacitor value with the 2.7k resistance of the mic parallel with the 5.1k resistor.






        share|improve this answer









        $endgroup$



        Of course the + input of the first opamp must have a DC bias of 0V.



        IF the mic has an output impedance of ZERO ohms then the 120 ohms resistor and the second 0.1uF capacitor produce a cutoff frequency of about 13kHz. But the mic output impedance is about 2.7k ohms and is in parallel with the 1k resistor powering it so the cutoff frequency (without the 120 ohms resistor) is actually 2192Hz which is very muffled.



        The value of the 1k resistor powering the mic should be half the supply voltage (2.5V) divided by the mic current (0.5mA)= 5k ohms. Use 5.1k then re-calculate the lowpass filter capacitor value with the 2.7k resistance of the mic parallel with the 5.1k resistor.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 3 at 3:30









        AudioguruAudioguru

        48913




        48913























            0












            $begingroup$

            Just add a resistor between mic and +5v






            share|improve this answer








            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$









            • 1




              $begingroup$
              Can you explain why this would fix it so that OP can learn?
              $endgroup$
              – Puffafish
              2 days ago
















            0












            $begingroup$

            Just add a resistor between mic and +5v






            share|improve this answer








            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$









            • 1




              $begingroup$
              Can you explain why this would fix it so that OP can learn?
              $endgroup$
              – Puffafish
              2 days ago














            0












            0








            0





            $begingroup$

            Just add a resistor between mic and +5v






            share|improve this answer








            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$



            Just add a resistor between mic and +5v







            share|improve this answer








            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 2 days ago









            jickson johnjickson john

            1




            1




            New contributor




            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            jickson john is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.








            • 1




              $begingroup$
              Can you explain why this would fix it so that OP can learn?
              $endgroup$
              – Puffafish
              2 days ago














            • 1




              $begingroup$
              Can you explain why this would fix it so that OP can learn?
              $endgroup$
              – Puffafish
              2 days ago








            1




            1




            $begingroup$
            Can you explain why this would fix it so that OP can learn?
            $endgroup$
            – Puffafish
            2 days ago




            $begingroup$
            Can you explain why this would fix it so that OP can learn?
            $endgroup$
            – Puffafish
            2 days ago


















            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%2f430375%2fop-amp-not-amplifying-audio-signal%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

            數位音樂下載

            格利澤436b

            When can things happen in Etherscan, such as the picture below?