Erlen Primer · all experiments

Electrical · Core · Investigate

Setting a gain with two resistors

What sets an op-amp amplifier's gain, and what does the microphone driving it add?

Setting a gain with two resistors: the bench

The bench

A microphone preamp's first stage, on an analogue trainer at ±15 V. An electret capsule sits in a sound calibrator giving 94.0 dB at 1 kHz, which is 1 Pa. Its datasheet circuit is on the board: 2.2 kΩ from the supply to the capsule, and 1 µF out. A link joins it to the amplifier: a TL071 or an LM741 in a socket, with R1 and R2 from a drawer of 1 kΩ to 1 MΩ. Inverting, the capsule goes through R1 to the − input and the + input is on 0 V. Non-inverting, the capsule goes to the + input, with 1 MΩ from there to 0 V, and R1 runs from the − input to 0 V. R2 runs from the output back to the − input in both. The scope's CH1 probe goes on the capsule's output, the − input or the + input; CH2 is on the output.

What you do

Controls

  • Trainer: Off or On
  • Calibrator, 94 dB: Off or On
  • Capsule to amplifier: Unlinked or Linked

Buttons

  • Record the scope

Stockroom

  • Circuit: Inverting: the capsule through R1 to the − input · Non-inverting: the capsule to the + input, R1 to 0 V
  • R1: 1 kΩ, metal film, 1 % · 2.2 kΩ, metal film, 1 % · 4.7 kΩ, metal film, 1 % · 10 kΩ, metal film, 1 % · 22 kΩ, metal film, 1 % · 47 kΩ, metal film, 1 % · 100 kΩ, metal film, 1 % · 220 kΩ, metal film, 1 % · 470 kΩ, metal film, 1 % · 1 MΩ, metal film, 1 %
  • R2, output to − input: 1 kΩ, metal film, 1 % · 2.2 kΩ, metal film, 1 % · 4.7 kΩ, metal film, 1 % · 10 kΩ, metal film, 1 % · 22 kΩ, metal film, 1 % · 47 kΩ, metal film, 1 % · 100 kΩ, metal film, 1 % · 220 kΩ, metal film, 1 % · 470 kΩ, metal film, 1 % · 1 MΩ, metal film, 1 %
  • Op-amp: LM741 · TL071
  • Pins 2 and 3: As drawn: 2 is −, 3 is + · Swapped
  • CH1 probe on: The capsule's output · The − input · The + input

Unknown

  • Capsule: its sensitivity

Predictions

  • Inverting, the − input is joined to the capsule through R1 and to the output through R2, and to nothing else. With the calibrator on, the − input will carry…
  • Inverting, R1 = 10 kΩ and R2 = 100 kΩ, so R2 ÷ R1 = 10. Linked, the output against the capsule's own voltage, unlinked, will be…

To work out

  • Inverting, R1 = 10 kΩ and R2 = 100 kΩ, linked: what gain does the amplifier give the capsule's own voltage? Work it out from your rows, to three significant figures.
  • From how far the capsule's voltage drops when it is linked, what resistance does the inverting amplifier with R1 = 10 kΩ present to it? The capsule has 2.2 kΩ behind it. Three significant figures. (kΩ)
  • What is this capsule's sensitivity, in mV per pascal? The calibrator gives 94.0 dB, which is 1.002 Pa. Three significant figures. (mV/Pa)

Results kept

  • Scope: Circuit, R1, R2, Op-amp, Capsule, CH1 on, CH1, rms (mV), CH2, output, rms (mV)

What you find

  • The inverting amplifier's − input sits within microvolts of 0 V, though nothing but R1 and R2 joins it to anything: the op-amp moves its output until it does. It is a virtual earth.
  • Non-inverting, the − input follows the + input up and down, to within microvolts: the op-amp moves its output until its two inputs agree.
  • Inverting, the gain is −R2 ÷ R1: the current R1 brings to the virtual earth can only go on through R2, so the output swings R2 ÷ R1 times as far the other way.
  • Non-inverting, the gain is 1 + R2 ÷ R1, the right way up: R2 and R1 divide the output down to the − input, and the op-amp makes that match the + input.
  • The capsule's 2.2 kΩ is in series with R1, so from its own voltage the inverting gain is R2 ÷ (2.2 kΩ + R1), not R2 ÷ R1. A bigger R1, or the non-inverting amplifier, leaves it out.

What is simplified

The calibrator is exactly 94.0 dB and a pure sine, and the capsule sits in it through a sleeve, as a 9.7 mm capsule does not fit its adaptors. The capsule is its own voltage behind 2.2 kΩ and 1 µF; it is flat at 1 kHz and makes no noise. The op-amp has one pole, no offset, bias current or noise, and its output is stiff. The resistors are exactly their marking. The scope reads the 1 kHz only.

Topics

op-amp, operational amplifier, gain, feedback, negative feedback, inverting amplifier, non-inverting amplifier, virtual earth, input resistance, source resistance, loading, microphone, electret, preamp, sound calibrator, sensitivity, decibel, oscilloscope, electronics