OP Amp not amplifying audio signal












4












$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
    9 hours ago










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    9 hours ago
















4












$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
    9 hours ago










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    9 hours ago














4












4








4





$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 8 hours ago







Simon

















asked 9 hours ago









SimonSimon

304




304












  • $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
    9 hours ago










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    9 hours 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
    9 hours ago










  • $begingroup$
    JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
    $endgroup$
    – Simon
    9 hours 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
9 hours 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
9 hours ago












$begingroup$
JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
$endgroup$
– Simon
9 hours ago




$begingroup$
JRE's answer was the solution. You're right about the 1k, my mistake. I edited it
$endgroup$
– Simon
9 hours ago










2 Answers
2






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
    9 hours ago










  • $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
    9 hours ago












  • $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    9 hours ago



















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$














    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

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    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
      9 hours ago










    • $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
      9 hours ago












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      9 hours ago
















    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
      9 hours ago










    • $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
      9 hours ago












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      9 hours ago














    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 9 hours ago

























    answered 9 hours ago









    JREJRE

    22.9k53875




    22.9k53875








    • 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
      9 hours ago










    • $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
      9 hours ago












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      9 hours ago














    • 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
      9 hours ago










    • $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
      9 hours ago












    • $begingroup$
      Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
      $endgroup$
      – Simon
      9 hours ago








    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
    9 hours ago




    $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
    9 hours ago












    $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
    9 hours ago






    $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
    9 hours ago














    $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    9 hours ago




    $begingroup$
    Thanks for pointing out the error on the schematic, it was correctly implemented on the breadboard
    $endgroup$
    – Simon
    9 hours ago













    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 1 hour ago









        AudioguruAudioguru

        48913




        48913






























            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

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)