Author Topic: TL072 - Microphone preamp (differential)  (Read 24133 times)

0 Members and 1 Guest are viewing this topic.

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
TL072 - Microphone preamp (differential)
« on: December 05, 2017, 08:36:17 pm »
Hello again,
  after the guitar amp this time I'm working on the microphone amplifier. I tried many schematics I found on the net, and the result is this attached. I'm using a dynamic mic, a shure SM57. My goal is to correclty transform the signal from balanced to unbalanced, pass it through some guitar effect pedal and back in balanced with a DI (not part of this project for now).

1-I noted that without R7 and R11 the circuit won't work.
2-Without C6 there is alot of noise, almost no noise with.
3-RV2 is to control the output volume, I would like to use before of the amp stage like I did in the guitar preamp, but I don't know why since I have 2 input line here.

What do you think?

thank you

Ale
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #1 on: December 05, 2017, 11:28:50 pm »
1) Of course, the input needs to be biased to half the supply rail, for it to work.
2) Yes, a capacitor is required for good supply rejection.
3) Add a buffer amplifier to reduce the output impedance.

To make it a truly differential amplifier,.there should be another 100k resistor between pin 5 and wheew R7, R11 and C6 join.

It's also a good idea to AC couple the microphone to the amplifier, rather than connect it directly, although you'll get away with DC coupling because you're using a J-FET input op-amp.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: TL072 - Microphone preamp (differential)
« Reply #2 on: December 05, 2017, 11:32:29 pm »
This datasheet a good ref for how to build a single OpAmp diff amp -


http://www.ti.com/lit/ds/symlink/ina152.pdf


http://www.cs.mun.ca/~paul/cs4723/material/single_supply_opamp.pdf



Regards, Dana.

Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 
The following users thanked this post: nugglix

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #3 on: December 06, 2017, 06:13:35 pm »
Wonderful, I read the Dana pdfs and I made some modifications. It works better than before. Anyway I think that with 100k is a little too much amplification and perhaps there is a little distortion when I sing loud, but I don't have an oscilloscope for now so I can't check (it will be one of my next purchases).

As far as I think there is no way to place a potentiometer between the XLR and the op-amp, so is it a bad idea to use 10k on R10 and R12 (or to use a unity gain with R8 and R9 also 10k), but place another stage after this?
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: TL072 - Microphone preamp (differential)
« Reply #4 on: December 07, 2017, 01:39:35 am »
Your last circuit is gone during my reply so I must go back and copy it then reply again.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: TL072 - Microphone preamp (differential)
« Reply #5 on: December 07, 2017, 01:48:56 am »
The last diagram needs a ~ 470nF on the wiper of the pot so that the pot doesn't short the +Ve input's bias to
GND.

Your last circuit is gone during my reply so I must go back and copy it then reply again.

When replying, I right-click anywhere over a Re: TL072 - Microphone preamp (differential) and open it in another tab so that I can see the images in the non-replying tab.
.  That took much longer than I thought it would.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: TL072 - Microphone preamp (differential)
« Reply #6 on: December 07, 2017, 01:52:27 am »
Your last circuit has a few problems:
1) Its differential input impedances are not balanced: Pin 5 is 11k ohms and pin 6 is 1k.
2) The 0.1uF input capacitor feeding the 1k of R9 cuts frequencies below 1600Hz.
3) The pot has the DC bias current in it so it will produce scratchy noises when turned and will mess up the DC bias of the 2nd opamp. Add a coupling capacitor between the pot slider and pin 10.
4) The bias of the 2nd opamp feeds half the power supply noise to the opamp input. Add a filter capacitor on the voltage divider then add a resistor from it to pin 10.

Why did you add the second opamp? 
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #7 on: December 07, 2017, 11:29:55 pm »
The additional op-amp is required to buffer the pot, to give a low output impedance.

The circuit can be simplified somewhat and will work better too.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: TL072 - Microphone preamp (differential)
« Reply #8 on: December 08, 2017, 01:09:39 am »
On the latest schematic, to make the inputs perfectly balanced, R8 should be replaced with wire and R12 should be 1k.
 

Offline vltr

  • Contributor
  • Posts: 22
  • Country: us
Re: TL072 - Microphone preamp (differential)
« Reply #9 on: December 08, 2017, 04:35:40 am »
I did this project a few months ago, but I cheated and used the instrumentation amplifier on page 48 from this book:  https://books.google.com/books?id=jeKejy1Bb-MC&pg=PA29&lpg=PA29&dq=tl074+amplifier+circuit&source=bl&ots=yU-c-TEvt8&sig=VAgpv12CvwQFyzns37wbRB07RSQ&hl=en&sa=X&ved=0ahUKEwjdppyAldrTAhVEQiYKHSl5CZYQ6AEIZDAN#v=onepage&q&f=false


It uses 3 op amps so I used a TL074.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #10 on: December 08, 2017, 10:39:40 am »
On the latest schematic, to make the inputs perfectly balanced, R8 should be replaced with wire and R12 should be 1k.
No, that would not do. Look at a schematic of a DC coupled differential amplifier.

On the previous schematic R8 is equivalent to R2 and R12 is equivalent to Rg on the circuit below. For optimal common mode rejection, Rg = Rf and R1 = R2.


 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: TL072 - Microphone preamp (differential)
« Reply #11 on: December 08, 2017, 10:42:32 am »
Here is a scope and sig gen and spectrum analyzer (free) that uses sound card in your PC -





https://www.zeitnitz.eu/scope_en


So you can stim your design with a tone and look at its distortion/spectral response. Note
it cannot do DC measurements however. It also will allow you to do common mode analysis,
eg. performance of the diff amp and matching Rs on CM response.


Protect your sound card inputs against damage (make sure you do this) -


http://www.pmillett.com/ATEST.htm


http://www.daqarta.com/dw_0all.htm


http://www.electro-tech-online.com/threads/soundcard-oscilloscope-protection.92122/


And some more sound card instruments (note the RLC meter link) -


http://www.radio.imradioha.org/PC_Based_Test_Gear.htm



Regards, Dana.
« Last Edit: December 08, 2017, 10:48:49 am by danadak »
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #12 on: December 08, 2017, 10:12:09 pm »
Awhile ago, audioguru did schematic showing the inverting and non-inverting op-amp configurations, both DC and AC coupled. Here's my version, showing the differential configuration too. The recommended resistor values are selected to ensure the DC impedance seen by the inputs are virtually equal and is important for a bipolar op-amp, with high bias currents. In this case a J-FET op-amp is used, so it's less critical the DC input impedances match.
« Last Edit: January 22, 2018, 06:37:27 pm by Hero999 »
 
The following users thanked this post: odessa, nugglix, HoracioDos

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #13 on: December 09, 2017, 06:57:29 am »
On Hero999 post I should set the resistors like this, because I'm in differential mode, single supply, right? so it's balanced.
« Last Edit: December 09, 2017, 06:59:14 am by Ale »
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #14 on: December 09, 2017, 02:22:48 pm »
On Hero999 post I should set the resistors like this, because I'm in differential mode, single supply, right? so it's balanced.
Those resistor values are fine, as long as you're happy with the gain being 100, rather than 10, as it was with the previous schematic. As I said previously, you're using a J-FET op-amp, so it's less critical to balance the DC input impedance.

Some of the AC coupling capacitor value are way off. C = 1/(2pi×FR).

Where R is the value of the resistor, F is the lower cut-off frequency, which can be 20Hz for audio and C is the capacitor value.

For example, to calculate the value of C4:
R = 100k = 100×103
F = 20

C = 1/(2pi×FR) = 1/(6.28×FR) = 1/(6.28×100×103×20) = 1/(6.28×2000×103) = 1/(12560×103) = 79.6×10-9F

100nF is the nearest value up. I also chose the incorrect value, on the previous schematic. I probably got the decimal point wrong.
 

Online nfmax

  • Super Contributor
  • ***
  • Posts: 1556
  • Country: gb
Re: TL072 - Microphone preamp (differential)
« Reply #15 on: December 09, 2017, 02:28:51 pm »
A long time ago, a friend & I designed an opamp-based balanced-input microphone amplifier for professional broadcast radio use. It ran on a single 9V radio battery. It used an LT1028 for low noise and a MAX403 to boost the common-mode rejection with a minimal increase in battery drain. It was published in Electronics World & Wireless World (UK), October 1982 pp 811-816. I can't find a copy on line, but I've attached an image of the circuit diagram.

Have fun figuring out how it works!
« Last Edit: December 09, 2017, 02:47:19 pm by nfmax »
 
The following users thanked this post: Richard Crowley

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #16 on: December 09, 2017, 03:43:11 pm »
Well, I turn back to 10 of gain.
For studio audio is ok 20hz, but for live session in quite common to use the "low cut" button on the mixer which cuts the frequencies on 80hz, with the formula:

C = 1/(6.28 x 100000 x 80) = 1/50240000 = 1.99 x 10-8 = 20nF

I hope the math are right  ;D
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #17 on: December 09, 2017, 05:39:14 pm »
Well, I turn back to 10 of gain.
For studio audio is ok 20hz, but for live session in quite common to use the "low cut" button on the mixer which cuts the frequencies on 80hz, with the formula:

C = 1/(6.28 x 100000 x 80) = 1/50240000 = 1.99 x 10-8 = 20nF

I hope the math are right  ;D
That looks right to me. You may find it easier to get a 22nF capacitor, as it's a standard E6 value.

What's the microphone impedance? As drawn, the input impedance of the amplifier is 2k. The microphone should have a much lower impedance than that.
 

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #18 on: December 09, 2017, 05:57:29 pm »
Wonderful!  :D I'm using the shure sm57 by the way: http://cdn.shure.com/specification_sheet/upload/81/sm57-specification-sheet-english.pdf. The impedance is 150ohm to 310ohm which is quite lower than 2k, is that enough?

I post the updated schema with 22nF capacitor.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: TL072 - Microphone preamp (differential)
« Reply #19 on: December 10, 2017, 12:29:35 am »
Since the input impedance of the (-) opamp input is R9 (1k) but the input impedance at the (+) opamp input is R8 + R12= 11k and the coupling capacitors pass different low frequency levels then isn't the microphone not properly balanced like a transformer or instrumentation amplifier would do?

EDIT: Why are the values of R7 and R11 so low that they draw more current than the entire circuit and get almost smoking hot? They bias the Jfet inputs of the opamps with almost no current.
« Last Edit: December 10, 2017, 12:35:15 am by Audioguru »
 

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #20 on: December 10, 2017, 06:35:22 am »
Sorry Audioguru, I'm trying to follow the schema posted by Hero999. I'm in single supply differential mode so R7 and R11 should be 1/10 of R12 and R10. Moveover R8 and R9 also should be 1/10 of R12 and R10 to get 10 of gain amplification, what am I missing?

I raised the R7 R11 to 1M and the others to respect the schema balance (I think), I also changed the C8 C9 to cut under ~80Hz.

thank you
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #21 on: December 10, 2017, 10:28:04 pm »
Since the input impedance of the (-) opamp input is R9 (1k) but the input impedance at the (+) opamp input is R8 + R12= 11k and the coupling capacitors pass different low frequency levels then isn't the microphone not properly balanced like a transformer or instrumentation amplifier would do?
No.

The DC input impedances seen at the inputs are: 10k5 at the +input and 10k at the -input, a mismatch of only 5%, which won't matter much, especially as this is a JFET input op-amp, with tiny bias currents.

C6 (it should be bigger than 10µF) bypasses R11 to 0V, at AC, so the AC impedance of the mic. inputs should fairly closely match, giving roughtly 1k.

[EDIT]
Sorry, for my snappy response. I see what you mean, after reading this post, years later, after searing for the attachment to use. Someone might refer back to this thread, so I through I'd edit it. The inputs will have different cut-off frequencies, when they're left floating. As you correctly stated, there's 11k on the +input and 1k on the -input, but that's no longer an issue, with the microphone connected. If the circuit is designed properly, the microphone will have a much lower impedance than the input resistors, thus connecting them together at a relatively low impedance, so any differences in cut-off frequency won't matter.

[/EDIT]

Quote
EDIT: Why are the values of R7 and R11 so low that they draw more current than the entire circuit and get almost smoking hot? They bias the Jfet inputs of the opamps with almost no current.
Yes, they should be higher, but the power dissipation is only 288mW, hardly smoking hot, unless tiny resistors are used.

Sorry Audioguru, I'm trying to follow the schema posted by Hero999. I'm in single supply differential mode so R7 and R11 should be 1/10 of R12 and R10. Moveover R8 and R9 also should be 1/10 of R12 and R10 to get 10 of gain amplification, what am I missing?

I raised the R7 R11 to 1M and the others to respect the schema balance (I think), I also changed the C8 C9 to cut under ~80Hz.

thank you
The schematic I posted shows best general practise. It's good to follow it but is far more important to understand why, then you can know when it's important and when it doesn't apply.

The reason for recommending that the DC impedances seen by the op-amp inputs is equal, is because the voltages generated by the bias currents will equal one another and get cancelled out by the op-amp. This is the reason for the 1/10RF rule of thumb: it ensures the DC impedance mismatch is no more than 5%. The question is, whether the bias currents are high enough to cause a significant offset? In the case of a bipolar op-amp, such as the NE5532, the input bias currents are typically 200nA, so with an amplifier with gain of 100 and a 600k input impedance at one input and only 100k at the other input, a difference of 500k, as in the second circuit, the input offset voltage will be 200×10-9×500×103 = 0.1V. This will be multiplied by the gain of the amplifier, 100 in this case, 0.1×100 = 10V on the output which will cause it to saturate, near one of the power rails.
http://www.ti.com/lit/ds/symlink/ne5532.pdf

Now look at the above situation, but using a J-FET input, such as the TL072. The input bias currents are only 65pA. If the above calculation is repeated 65×10-12×500×103×100 = 3.25mV, which won't make any difference, especially as the output has a capacitor in series with it, which blocks the DC voltage.

Dave made a video about this awhile ago. Please make time to watch it, as it explains everything.

EDIT:
I've just realised, this isn't as bad as I first thought, even with a bipolar op-amp, the DC gain of the circuit is only 1, so the offset voltages will be 1/100 of the previously calculated values, which shouldn't be an issue.



Sorry Audioguru, I'm trying to follow the schema posted by Hero999. I'm in single supply differential mode so R7 and R11 should be 1/10 of R12 and R10. Moveover R8 and R9 also should be 1/10 of R12 and R10 to get 10 of gain amplification, what am I missing?

I raised the R7 R11 to 1M and the others to respect the schema balance (I think), I also changed the C8 C9 to cut under ~80Hz.

thank you
Should be fine. You need to decide what gain you need. This circuit has a gain of 10. Some of the other circuits had a gain of 100.
« Last Edit: January 29, 2021, 04:45:08 pm by Zero999 »
 

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #22 on: December 12, 2017, 02:00:28 pm »
If I need to connect an electet microhone, is it correct to add the phantom power between the xlr line 2 and C8 like this?
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: TL072 - Microphone preamp (differential)
« Reply #23 on: December 12, 2017, 02:14:30 pm »
If I need to connect an electet microhone, is it correct to add the phantom power between the xlr line 2 and C8 like this?
No, that's not right at all.

Is it an electrect mic or condenser mic? There's a big difference between the two. An electrect mic doesn't need 48V. It only needs 1.5V to 5V, a 1k to 10k resistor and coupling capacitor.
 

Offline AleTopic starter

  • Contributor
  • Posts: 48
  • Country: it
Re: TL072 - Microphone preamp (differential)
« Reply #24 on: December 12, 2017, 02:15:19 pm »
I meant condenser sorry :p
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf