Understanding analog signal levels - RMS, P-P, SE, and Balanced

You missed one:

Switch 2 and 3 closed: Rin = 4k99 || 2k49 || 1k24 = 1000 * 1/((1/4.99)+(1/2.49)+(1/1.24)) = 0k71

Gain (lin) = 2.49/Rin, so...

Switch 2 and 3 closed: 2k49/0k71 = 3.51x -> 10.9 dB

Looks good otherwise. I'd double-check stability at the various gain settings, especially -6 dB and around +10 dB. Just feed the circuit a 10 kHz square wave and look at the ringing, if there is any. This can be done pretty easily in the simulator and the OPA1632 model should be plenty good for this.

Tom
 
  • Like
Reactions: DannerD3H
Noting as always, the media you then play, limits the level , to 0.316v RMS aka consumer line level. In the case of streaming most providers abide by -14LUFS which is almost identical to consumer line level
Just to understand what you mean. I'm aware that if I boost the input beyond the voltage rails I will get clipping. And if the input is too weak I wont reach full output.

Basically the main goal is to be able to output anyting between 2Vrms and 4Vrms from an input between 1Vrms and 4Vrms.
Thats because I will be using this board as an input buffer for different amplifier moduels which work in this range.
 
But you will always reach full output without a buffer, as well as lessening distortion. when your amplifier sensitivity is the same or nominal consumer line level. Is that a better solution ? Like this one https://www.hifiengine.com/manual_library/quad/306.shtml

If you have special needs that are not analog audio signals, ie that are not CD, DVD, or streaming sources then, it would be interesting to know what such sources are. Presently I think you are making the mistake of attributing 0DbFS Full Scale as what consumer audio source equipment normally outputs , when they output 6.32 times less level, because the media contains the level. Seen as RMS here in light blue, the reason for this is to preserve dynamics and not have any possibility of distortion presented in consumer media.

The wise approach, where you are always in good hands, is to always do your best to match amplifier sensitivity to be close to consumer line level. Otherwise you are seemingly paying for output power that needs to have amplification to go from consumer line level to a greater level, when that is unnecessary and only adds distortion. That said here are occasional exceptions at each end like with tuners a Quad FM3 tuner with miserable 100mv output vs a Marantz ST50 with exceptional 940mv. But if its CD DVD or streaming service replay then they all stick to 0.316V nominal RMS. From that you can ascertain Voltage Peak (Vpk) as 0.447V and Voltage Peak to Peak (Vpp )as 0.894V
 

Attachments

  • Consumer line level .png
    Consumer line level .png
    129.5 KB · Views: 2
But you will always reach full output without a buffer
Okay to clarify my use case:

I like to build active speakers and have made a few. Some of them require a lot of power for the bottom end.
Now I am working on my own DSP for future projects. The DSP started mostly just for fun, but also because there is currently no product out there that can do what I want it to. Its progressing fine, but is currently using cheap aliexpress dac's until I finish the design of my own DAC modules.

These china DAC modules output 2Vrms SE signal directly from the pcm5102. When i finished my own DACS I'm shooting for Balanced output with 4Vrms.

I am also experimenting with different amplifier modules. Right now I have:
  • MA5532 amp wich requires a 2Vrms SE input to reach full scale
  • 3E TPA3255 amp which requires 4Vrms Bal input to reach full scale (I tried converting it to SE but got really loud pops and clicks on power up/down)
  • IcePower 200AS2 which require 1.7Vrms Bal/SE input to reach full scale
  • IcePower 1200AS2 whic require 3.5Vrms Bal7SE input to reach full scale.

So to make my life easier I wanted to build a input buffer (inspired by XRK's BTSB buffers) that I can put in front of these amps. This way I can set the buffers to ensure a 2Vrms SE input (which is what I have right now from my DSP) will give me full scale output of the amps without overloading the inputs. Then when I have finished my own dacs all I need to do is set the Gain correctly for 4Vrms bal input and all is good to go for a direct AB comparison.

I also had issues with my 3E amp. I can input v+ and gnd v- from my focusrite 2i2 with no problems, but when I use my china DACs i get random crackling noise which I was hoping this input buffer could get rid of (Pretty sure its not a GND loop issue).


Hope this clarifies why I am designing this buffer. Add to that that this is my first time designing anything with opamps, so thought this was a good exercise project before starting on my DAC's.
 
If you have special needs that are not analog audio signals, ie that are not CD, DVD, or streaming sources then, it would be interesting to know what such sources are. Presently I think you are making the mistake of attributing 0DbFS Full Scale as what consumer audio source equipment normally outputs , when they output 6.32 times less level, because the media contains the level. Seen as RMS here in light blue, the reason for this is to preserve dynamics and not have any possibility of distortion presented in consumer media.
To understand this..
So you are saying if I buy lets say a wiim pro which has 2Vrms RCA outputs. at 0dB volume playing music it will only output 0.3Vrms? Or am I completely wrong here?


So I assume the y scale on those blue graphs are V? so the music signal does not go beyound 1V in each directions, but that would be 2Vp-p/0.7Vrms?
Is this at 0dBFS? This is soooo confusing xD
 
Reading the datasheet on page 4 www.ti.com/lit/ds/symlink/pcm5102a.pdf their output is 2.1V full scale , and its these last two words that are so important , that is being glossed over. Full Scale means there is only ONE circumstance in which full scale is reached which is with a Test CD that has copious warning if such a disc is owned or played. Normal CD's are 6.64 times less level than 2.1V RMS and 6.32 times less than 2V RMS . You needed to understand analog line levels before purchasing amplifiers that are as high as 11.07 times out of spec, but there is always opportunity to do so: https://en.wikipedia.org/wiki/Line_level

What to do, it suggests you need to add a power amplifier for voltage sake to make up this drastic mismatch, cough OMG just to feed the inputs , rather than only a buffer which is normally attending to current , and put up with the distortion it produces that can be very low , but never the less, there will be distortion added. A future project might approach amplifier sensitivity to always be consumer line level , where I think you should head toward.
 
Last edited:
To understand this..
So you are saying if I buy lets say a wiim pro which has 2Vrms RCA outputs. at 0dB volume playing music it will only output 0.3Vrms? Or am I completely wrong here?


So I assume the y scale on those blue graphs are V? so the music signal does not go beyound 1V in each directions, but that would be 2Vp-p/0.7Vrms?
Is this at 0dBFS? This is soooo confusing xD
The 2V RMS only occurs with what is 0DbFS Full Scale , and streaming services would have no customers very quickly if they transmitted 0DbFs
The Wiim Pro is a streaming device it will comply with streaming service criteria called Loudness Units Full Scale , and to a degree you might be able to increase the providers level slightly , but levels are usually -14 LUFS , which is almost the same as 0.316V RMS.

With the level image Audacity explain it here: https://manual.audacityteam.org/man/audacity_waveform.html It describes to show wave forms that are RMS and the loudest sample in the group. It's indeed tempting to be automatically additive for the RMS figure as lower and upper portions, rather than what a negative duration attaining, being separate to a positive duration attaining is doing. I think the latter clarity, we can appreciate, as being the level in this case.