12
\$\begingroup\$

Sorry for my ignorance but there's is immense effort in electrical engineering in the topic of amplification. I can understand the reason for circuits rejecting noise or filtering noise, but have difficulty to grasp the reason behind signal amplification such as a single ended input output amplifier.

If signal is amplified the noise is also amplified so SNR will remain the same. SNR might even be worse because of the amplifying active circuit will introduce extra noise.

Can you give me a reason to amplify let's say a 0-50mV noisy signal to 0-3.3V range by a single ended amplifier which is coupled to a 0-3.3V 12-bit ADC? Or another example that makes the linear amplification important`.

EDIT UPDATE:

After reading the answers especially Spehro Pefhany's answer and the comments sections, I tried to quantify the estimate SNRs for both cases. I ignored external interference or ADC inherent thermal noise, I also ignored amplifier noise. I only used the 1mV rms signal noise and the uncorrelated ADC quantization error for calculations.

Please see the following equations in the Python code and let me know if there's any mistake:

import numpy as np;

ADC_range = 3.3
ADC_resolution  = 12
ADC_quant_error = ADC_range / (2**ADC_resolution -1)

# Without amplification
V_input_sig_range = 0.05
V_input_sig_range_rms = 0.05 / np.sqrt(2)
V_noise_rms = 0.001
V_total_rms_noise = np.sqrt(V_noise_rms**2 + ADC_quant_error**2)
SNR = 20 * np.log10(V_input_sig_range_rms / V_total_rms_noise)

# With amplification
V_input_sig_range_amplified = 3.3
V_input_sig_range_amplified_rms = 3.3 / np.sqrt(2)
V_noise_rms_amplified = 0.066
V_total_rms_noise_amplified = np.sqrt(V_noise_rms_amplified**2 + ADC_quant_error**2)
SNR_amplified = 20 * np.log10(V_input_sig_range_amplified_rms / V_total_rms_noise_amplified)

print(SNR)
print(SNR_amplified)

The above results as:

SNR = 28.795 dB

SNR_amplified = 30.968 dB

The difference is 2.17 dB

\$\endgroup\$
14
  • 1
    \$\begingroup\$ oh good point. you mean the amplifier will provide a low output impedance buffer so we can filter correctly??? but then its not the amplification but buffering does the job here. \$\endgroup\$
    – user4444
    Commented Nov 24, 2023 at 23:46
  • 1
    \$\begingroup\$ Often you can't do anything the signal at all because it's so small until amplified. If you amplify the signal and the noise by the same amount, now you can do other stuff with it. You seem to be assuming all low amplitude signals have low SNR, which is not necessarily the case. \$\endgroup\$
    – DKNguyen
    Commented Nov 25, 2023 at 0:06
  • 1
    \$\begingroup\$ Also look into lock-in amplifiers. \$\endgroup\$
    – Hearth
    Commented Nov 25, 2023 at 0:32
  • 1
    \$\begingroup\$ @SpehroPefhany Exactly that made a huge difference. Thanks for the feedback! \$\endgroup\$
    – user4444
    Commented Nov 26, 2023 at 0:01
  • 7
    \$\begingroup\$ It's often because you're going to send the signal through another channel after you amplify it. You can't do anything about noise that's in the signal already, but amplifying will decrease the signal-to-noise ratio for any noise that gets added after the amplification. \$\endgroup\$
    – N. Virgo
    Commented Nov 26, 2023 at 2:35

12 Answers 12

11
\$\begingroup\$

In the case of the ADC you should consider the noise the ADC adds.

If it's an ideal 12-bit converter and you are using 0-50mV out of 0-3.3V full scale you effectively have a 6-bit converter (5.95 bits). The quantization noise (even for an ideal converter) is quite large. Reality will be worse than this.

\$\endgroup\$
20
  • 1
    \$\begingroup\$ @user4444 You would have 3300-66=3234 quantization steps. This quantization error will be much smaller. \$\endgroup\$ Commented Nov 24, 2023 at 22:39
  • 1
    \$\begingroup\$ @user4444 Besides quantization noise, often an ADC will require driving by a low impedance source to obtain its theoretical performance. So for example you might take a 3.3v 12 bit ADC and try to drive it with a high impedance source producing 50mV and get no signal out at all if the source cannot drive the ADC. In this case an amplifier will enable you to obtain the expected 50:1 SNR. \$\endgroup\$ Commented Nov 24, 2023 at 22:51
  • 1
    \$\begingroup\$ @user4444 The ADC 's quantization error is unchanged, but since the signal is 66 times larger, the quantization noise limited SNR is 66 times larger. In your equation (for SNR not quantization error), you must count only levels used to quantize the signal, which is about 6 bits. The next 6 bits are always zero and thus unused. Probably many questions on this math here and on the DSP stack exchange if you would like to learn more. \$\endgroup\$ Commented Nov 24, 2023 at 23:50
  • 7
    \$\begingroup\$ The original signal-to-noise ratio will not be changed (or be made slightly worse) by analog amplification to match the ADC's full scale. The additional quant noise will however be minimized; the signal-to-quantization noise ratio is ≈ 6.02•Q dB where Q is the number of quantization bits. Amplifying the signal allows the use of more quantization bits. \$\endgroup\$
    – vir
    Commented Nov 25, 2023 at 0:51
  • 2
    \$\begingroup\$ Q is not 12 because the signal range is not equal to the full scale of the ADC input. A 12-bit ADC with 3.3V full scale is ≈0.8mV per step (3.3/4096). A 50mV signal would only use 62.5 steps (50/0.8), which can be represented with 6 bits (2^6). The rest are all zero and remain zero. Amplifying the input to match the full scale range uses all 12 bits and doubles your signal-to-quant-noise ratio [(6.02 • 12) / (6.02 • 6)] \$\endgroup\$
    – vir
    Commented Nov 25, 2023 at 20:17
41
\$\begingroup\$

Preamplification is an engineer's cavalry. You put your best forces in the most strategic place so that the infantry can do its job at their skill level.

Low-noise circuitry is expensive and tricky. The job is not done by just picking specific low-noise opamps: thermal noise is everywhere. If you throw your expertise and the expensive parts and the high power requirements of low-impedance circuitry into preamplification, the further processing has lots more leeway to admit more noise: those additional noise levels will then be dwarved by the amplified signal noise.

Without preamplification, the whole processing chain has to be ultra-low-noise rather than just the first stage. That's much more difficult and ultimately more expensive.

\$\endgroup\$
4
  • 2
    \$\begingroup\$ This is what immediately came to mind when reading the question. And here I find it down a ways. Oh, well. +1 for a boost. The point of first contact with a transducer matters. Afterwards it is just the usual trade-offs with bandwidth. \$\endgroup\$ Commented Nov 25, 2023 at 4:58
  • \$\begingroup\$ But (and this a key): pre-amplification, any kind of amplification for that matter, does nothing to improve the SNR of the signal coming into the amplifier. If the incoming signal is noisy, so will be the output of the amplifier. Something like a well designed microwave LNA just adds the smallest amount of noise to the amplified signal. \$\endgroup\$
    – SteveSh
    Commented Nov 26, 2023 at 0:09
  • 3
    \$\begingroup\$ The key point here is that you are anticipating the signal to incur constant amplitude additive noise downstream of the pre-amplifier. In this case the effect of the pre-amp is to guard against an anticipated DOWNSTREAM hit to SNR that would occur without the pre-amp. \$\endgroup\$
    – Jagerber48
    Commented Nov 26, 2023 at 5:12
  • \$\begingroup\$ A good way to see this in electronic applications is to look at wiring and PCB traces before and after preamplification. Before the amplifier, traces are typically rounded, bordered by stitching vias, are carefully routed away from components that might induce electrical noise and go out to grounded connectors with heavily shielded cables. After, it's pretty much the same as any other analogue signal. \$\endgroup\$ Commented Nov 27, 2023 at 21:49
11
\$\begingroup\$

Yes, analog design is kind of a lose-lose. Everything you do to a signal actually makes it worse (even filtering).

The goal is to make it better in the specific ways that your acquisition circuit needs.

Your ADC for example has a hard job of accurately digitizing a signal and it’s easiest to do on signals with certain properties - full scale voltage on the order of volts, and noise content below the sampling frequency.

Opamps on the other hand don’t mind tiny signals and with careful design your front end can condition a signal for accurate acquisition while losing less than you gain in the end.

\$\endgroup\$
9
\$\begingroup\$

There is a very obvious case where application is very useful: when your signal is going to be transmitted, whether over wires or wirelessly, where noise will be added during the transmission, so after the amplification.

Since the level of noise will not depend on the level of the original signal, your SNR at the other end will be greatly improved over a non-amplified signal.

50mV signal -> no amplicification -> transmission adds 50mV noise -> arg.
50mv signal -> amplification to 5V -> transmission adds 50mV noise -> yea!

While this is very true for transmission over longer distances, or over media prone to a lot of noise (e.g. wireless), this can be true over relatively short distances as well.

\$\endgroup\$
6
\$\begingroup\$

Can you give me a reason to amplify let's say a 0 - 50 mV noisy signal to 0 - 3.3V range by a single ended amplifier which is coupled to a 0 - 3.3V 12-bit ADC?

Sure: resolution.

A 12-bit ADC will have 4096 steps which, in the case of your 3.3 V ADC, will have a step size or resolution of 800 μV per step and a digital output of 0 to 4095. Ignoring noise that's a resolution of 0.025%.

The 50 mV signal, if unamplified, would only have a maximum of 0.050 / 3.3 × 4096 = 62 counts so the digital range would be 0 to 61. Ignoring noise, that's a resolution of 1.5%.

Or another example that makes the linear amplification important.

Audio amplification! The headphone output of your phone won't drive a large loudspeaker. An amplifier boosts the signal to a suitable level and power to put enough electrical energy into the speaker to put enough mechanical energy into the air.

If signal is amplified the noise is also amplified so SNR will remain the same.

And that's fine. If you're listening on headphones or on a large PA system the noise will be the same distance "below" the signal level.

SNR might even be worse because of the amplifying active circuit will introduce extra noise.

Yes, in general the signal degrades but high quality electronics can do a lot to keep the introduced noise and distortion low.

\$\endgroup\$
4
  • \$\begingroup\$ But Im taking about noisy signal. You example the signal has no noise. Imagine the noise is 1mV. In 0-50mV case I have 50 effective steps. And if I amplify the signal will be 0-3.3V but the noise will be 66mV. 3300/66 = 50 steps. So in both case I have 50 steps representation of the signal? \$\endgroup\$
    – user4444
    Commented Nov 24, 2023 at 22:42
  • \$\begingroup\$ In the 50 step mode your quantization noise makes the S/N ratio much worse. You are applying 50-step quantization to the desired signal as well as the noise. \$\endgroup\$
    – Transistor
    Commented Nov 24, 2023 at 22:54
  • \$\begingroup\$ Yes but you have less quantization noise and can now reduce the original noise in the digitized signal with DSP techniques after the ADC. \$\endgroup\$
    – vir
    Commented Nov 24, 2023 at 22:58
  • \$\begingroup\$ In both cases ADC is the same 12-bit ADC how come you say different quantization noise? SNR = 6.02N + 1.76dB and N is same in both cases. \$\endgroup\$
    – user4444
    Commented Nov 24, 2023 at 23:01
3
\$\begingroup\$

The point of amplifying analog 50mV signal to 3.3V to read the value with 12-bit MCU ADC is to use the full scale of the 12-bit range of 0..4096.

If you keep the value at 50mV, you have only range of 0..62 for the digital codes.

If you can work with 62 codes for the whole 50mV signal then that's fine, but 4096 codes for the 50mV signal may be better.

\$\endgroup\$
3
  • \$\begingroup\$ Imagine the noise is 1mV. In 0-50mV case I have 50 effective steps. And if I amplify the signal will be 0-3.3V but the noise will be 66mV. 3300/66 = 50 steps. So in both case I have 50 steps representation of the signal. Im sorry but Im stuck here. \$\endgroup\$
    – user4444
    Commented Nov 24, 2023 at 22:34
  • 1
    \$\begingroup\$ No, you're right. Amplifying a noisy signal does not help with the effective resolution of the ADC. What it does help with is with any additional noise added to the signal before the ADC, \$\endgroup\$
    – SteveSh
    Commented Nov 24, 2023 at 22:36
  • \$\begingroup\$ @user4444: Consider an ADC with fewer bits, or an even lower input signal level. In those cases, quantization noise could be more significant than the 1 part in 50 noise level of your input signal. \$\endgroup\$ Commented Nov 27, 2023 at 22:07
3
\$\begingroup\$

How noisy is your 0-50 mV signal? You didn't say, so I'll use a contrived example with some approximations for a back-of-the envelope analysis.

Case 1 - Apply The Signal+Noise Directly to the ADC

Your 12-bit ADC has an LSB of about 800 uV. Your 0-50 mV signal is about 6 bits (62 quanta), the lower 6 bits of this ADC (50 mV/800 uV about 62).

Now if your noise is 10 mV, that will affect/corrupt, 12 quanta of the ADC's output or a bit less than 4 bits. The information you care about will only be contained in 2 bits.

Case 2 - Amplify the Signal+Noise, Then Input to the ADC

Now say you amplify the signal so that your 50 mV, plus noise, signal uses the full range of the ADC. You would have to amplify that signal, and its noise, by 66. In this case, the 2 MSB's of the ADC's output would contain the information, and the lower 10 bits would just represent amplified noise.

So in both case you only have 2 bits (or a little more) of information content in the output of the ADC. The only difference is in which bits that information is contained.

\$\endgroup\$
4
  • \$\begingroup\$ please have a look at my update in question. let me know if something is wrong \$\endgroup\$
    – user4444
    Commented Nov 25, 2023 at 23:36
  • \$\begingroup\$ That looks reasonable, though I am not at all familiar with Python. The improvement in SNR in the amplified case is due to the reduced effects of quantization noise on the AD'd value. But that's slightly different from your original question, which had to do with the effects on SNR on amplifying a signal. \$\endgroup\$
    – SteveSh
    Commented Nov 26, 2023 at 0:35
  • \$\begingroup\$ And yes, my contrived example ignored ADC quantization effects. \$\endgroup\$
    – SteveSh
    Commented Nov 26, 2023 at 0:36
  • \$\begingroup\$ You changed reasoning between Case 1 and Case 2. For signal processing, it is very important difference when useful information is in 50=62-12 quanta (Case 1) and when it is in 62*66 - 12*66 = 50*66 = 3300 quanta (Case 2). Underutilization of ADC's FS, just worsening SNR!!! \$\endgroup\$ Commented Nov 28, 2023 at 0:18
1
\$\begingroup\$

There are many reasons to amplify a signal even if the S/N ratio becomes worse afterwards. For example, if your signal is a square wave 0-50mV and you want to drive a TTL circuit you need to amplify it otherwise you won't be able to trigger the input of a TTL chip as it requires much higher threshold input voltage to change its state. If your signal is an audio signal 0-50mV and you want to drive a speaker, then without amplification you won't be able to move the speker's diaphrame enough to produce sufficiently audible signal. If your signal comes from an output of a high impedance source and you want to drive with it a low impedance device you need to use impedance matching amplifier (or another impedance conversion device) to be able to do that. And many other reasons.

\$\endgroup\$
0
\$\begingroup\$

The amplifiers are used not to improve you SNR but for signal conditioning so you can use this signal on a way you want to use it. At first place, almost never your "load" impedance match your source impedance, and when saying match this no meen is the same, but is suitable for. An example, an ADC input is usually around 10 k , but there are many sources wit similar and impedance, as a result you signal will be attenuated, an in some case this can be also non linear attenuation. Having on mind that the input resistance ma depend on multiple factors, it's virtually impossible to compensate for that. Another good reason is to match the amplitude/current. If you drive a load that requires high current, or in case wit the ADC have predefined range this must be matched as well. If you have 100 mV pp signal you will never get the full ADC resolution, unless your reference is not 100 mV but that's not the case. To get the maximum from the ADC you want your max signal to be close to your Vref as amplitude. The amplifiers not only didn't change SNR but since they have theirs own noise they reduce it, but still are required. p.s And your calculation is not correct at all. What if you have a 10 bit ADC, 1.2 V reference and 1 mV signal ?

\$\endgroup\$
4
  • \$\begingroup\$ I'm not following you here At first place, almost never your "load" impedance match your source impedance, and when saying match this no meen is the same, but is suitable for. Do you mean "this does not mean it is the same"? And "but is suitable for" - suitable for what? \$\endgroup\$
    – MiNiMe
    Commented Nov 26, 2023 at 14:55
  • \$\begingroup\$ 10 bit ADC, 1.2 V reference and 1 mV signal I still get better SNR in amplified case \$\endgroup\$
    – user4444
    Commented Nov 26, 2023 at 17:18
  • \$\begingroup\$ With 10 bit ADC, 1 mV signal and 1.2 V reference you will not get a signal at all, simply because the signal is smaller than your ADC LSB. Your ADC is not able to read anything below 1.5/1024 or approx 1.46 mv, and you have a signal with amplitude 1 mV. You won't be able even to detect is there is a signal or not. And this is very optimistic, because with a normal 10 bit ADC, I mean like those in most uC the best you will get is around 8.5 bits, that will render it useless even for a 10 mV signal. So on the digital side you will not have any signal at all, only noise. \$\endgroup\$ Commented Nov 27, 2023 at 16:35
  • \$\begingroup\$ And on the first comment, when you say matched impedances usually that mean exactly that, you have 50 ohm source and 50 ohm load, they are matched. In that case matched =suitable, with other words suitable to be acquired by the ADC. Imagine you have high impedance source let say 100k and a standard uC ADC with impedance around 10 kOm. If simplified this is a voltage divider, you will get 1/11 of the signal. Unfortunately is not so simple and is very hard to say what you will measure. Besides that, your ADC may start bussing the source, that also becomes an issue. \$\endgroup\$ Commented Nov 27, 2023 at 16:45
0
\$\begingroup\$

You are completely right. If you have an ADC with 0-50 mV input range, there is no need to amplify your 0-50 mV signal. However, you will need amplification if the input of the receiving device needs a larger voltage. Examples are: ADC with 3.3 V input range, a loudspeaker (think of several Watt), or a radio transmitter antenna (think of watts to kilowatts).

Just another detail: impedance. Even if the ADC is 0-50 mV, you will need an amplifier if the input impedance of the ADC is too low. The voltage amplification may be just the factor of one. The 'amplifier' is then called 'buffer'.

\$\endgroup\$
0
\$\begingroup\$

If signal is amplified the noise is also amplified so SNR will remain the same

No, it will not. If a signal is passed through an amplifier with power gain P, then the noise is amplified P times while the signal power is amplified \$P^2\$ times. Overall, the SNR is improved P times. But as you said, the amplifier will also add noise of its own so the improvement will be less than P.

\$\endgroup\$
0
\$\begingroup\$

Other than noise considerations, a further good reason to not only pre-amplify but pre-condition signals is that it enables good system design. I am going to use the example of an analogue audio mixer here.

The job of such a mixer is to take many audio signals from different sources, and enable them to be manipulated in all kinds of ways and then combined into any number of outputs. On a system level this is pretty complex; standardising on signal levels in the system makes things much easier.

Sources include:

  • microphones with all kinds of varying senstitivities and of different types (some need DC phantom power, some don't). Always balanced, levels between about -60 and -10dBu.
  • various "line" sources (e.g. playback devices, outputs from musical equipment such as guitar amps or "outboard" effects) which also have quite varied signal levels, between roughly -10 and +10dBu, some balanced, some not.

Within the console, there is a plethora of ways to filter these disparate sources and combine them into various outputs. Within the console, pretty much everything runs on (unbalanced) amp circuits, and generally power rails of +/-17VDC or so. Given that we generally want at LEAST 20dB of headroom to avoid clipping, it is usual to define an "internal operating level" which is typically around 0dBu (more or less).

So in practice we end up with a general purpose preamp which does the following:

  • allow line or mic signals to be connected.
  • for mic signals, allow switchable phantom power for mics.
  • give a range of variable gain to allow external signals to be bought up to the internal operating level.
  • give some sort of visible metering to show when signal level is "OK" or "too close to clipping" (at least a green/red LED).
  • fery often , other useful features such as a dedicated filter to remove bothersome low frequency compenents ("plosives"), or to reverse the phase of a signal (useful when many mics are used together).
  • providing good immunity to RFI or EMC
  • giving some frequency tailoring ("DC to light" is NOT desirable), typically a gentle rolloff at 20Hz and 40kHz or so.

It's pretty hard to see how such a system would be usable without these preamps. An internal circuit such as an equaliser would still work at (say) -30dBu but the practical business of mixing would be just unmanageable.

The qualities of low noise and distortion are still very important and highly valued in this environment - but the preamp has a lot of other functions other than that.

Even in a more modern system (say a PC based system where signals are captured through a soundcard and then manipulated digitally) - we STILL care a lot about that preamp. Your internal processing might all be 32 bit floating point - but if you didn't first condition the signal well for the ADC, you are not getting the best results, because you are introducing more conversion noise or artefacts than you need to.

In summary : preamps are there to interface, amplify and condition external signals so that the system can be designed to work under known, controlled conditions.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.