DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: stonerbox on October 14, 2024, 04:00:47 PM

Title: Why the treble loss?
Post by: stonerbox on October 14, 2024, 04:00:47 PM
I get treble loss after the recovery stage, why is that? LTSpice says the impedance at 10kHZ is 1.6M and then gently sloping down to 800k at around 20kHz.
(https://i.postimg.cc/dDNtxywB/Dulloutput.png) (https://postimg.cc/dDNtxywB)
Title: Re: Why the treble loss?
Post by: Rob Strand on October 14, 2024, 04:05:29 PM
Quote from: stonerbox on October 14, 2024, 04:00:47 PMI get treble loss after the recovery stage, why is that? LTSpice says the impedance at 10kHZ is 1.6M (then gently sloping down to 600k at around 20kHz).

The 20k+80k+1n load on the 100k collector resistor will cause a low-pass shelf.  Perhaps that's what you are hearing/seeing.   I suspect that is unintentional as the 1n is probably added to *stop* HF roll-off.

The output impedance of the transistor stage needs to be low compared to the load to prevent the shelf effect.
Title: Re: Why the treble loss?
Post by: fryingpan on October 14, 2024, 04:50:51 PM
What are you trying to do? I see a HPF up top and a simple boost down below.
Title: Re: Why the treble loss?
Post by: stonerbox on October 14, 2024, 05:29:50 PM
Rob, thank you! Low it is then. Back to calculations.

Fryingpan, it is a frequency splitter / bass shelf boost + an output recovery stage + 100k pot (R42+R43) with a huge treble bleed (1nF).

Title: Re: Why the treble loss?
Post by: fryingpan on October 14, 2024, 05:32:12 PM
Quote from: stonerbox on October 14, 2024, 05:29:50 PMGentlemen, I am sorry for not fully explaining what is going on here. The 1N (treble bleed) + 100k Pot (R42+R43) was put in place in order to get some of the highs back on low volumes but I am hoping to remove that when the treble loss is fixed.




No matter if the output i hooked up to a Hi-z interface of an amp it looses a lot of top end. When I tap the audio directly from the filter everything sounds crips and clear.
If you take the signal out from the transistor's output, with just a blocking cap, what do you get?
Title: Re: Why the treble loss?
Post by: merlinb on October 16, 2024, 04:54:55 AM
Quote from: stonerbox on October 14, 2024, 04:00:47 PMLTSpice says the impedance at 10kHZ is 1.6M and then gently sloping down to 800k at around 20kHz.
The impedance of what? Those numbers don't make a whole lot of sense
Title: Re: Why the treble loss?
Post by: PRR on October 16, 2024, 04:59:39 PM
Quote from: merlinb on October 16, 2024, 04:54:55 AM
Quoteimpedance at 10kHZ is 1.6M and then gently sloping down to 800k at around 20kHz.
The impedance of what? Those numbers don't make a whole lot of sense

I dunno what SPICE is doing, but those numbers say "10pFd" to me.
Title: Re: Why the treble loss?
Post by: antonis on October 17, 2024, 05:10:31 AM
Quote from: PRR on October 16, 2024, 04:59:39 PMI dunno what SPICE is doing, but those numbers say "10pFd" to me.

Maybe SPICE simulates a pach cable..
Title: Re: Why the treble loss?
Post by: stonerbox on October 17, 2024, 11:19:30 AM
Quote from: PRR on October 16, 2024, 04:59:39 PM
Quote from: merlinb on October 16, 2024, 04:54:55 AM
Quoteimpedance at 10kHZ is 1.6M and then gently sloping down to 800k at around 20kHz.
The impedance of what? Those numbers don't make a whole lot of sense

I dunno what SPICE is doing, but those numbers say "10pFd" to me.

Currently sick and stuck in front of the tube a lot, hence the late response.

That is the output impedance of the last stage, measured at BC549c collector leg (R38/C29).
Upon running the same res. values again, LTspice first crashed, then gave me completely new results. First session must have bugged out completely and given me false readings. The fresh impedance sim reads 300k at 100Hz (big hump), 37k 10kHz then down to 9k at 20kHz.

(https://i.postimg.cc/fwqNdQ8z/Dulloutputold.png)

Updated with increased current. 550k at 100Hz (big hump) and 22k at 10kHz then down to 6.2k at 20kHz
(https://i.postimg.cc/8DDF4hHq/Dulloutput-Fixed.png)



Title: Re: Why the treble loss?
Post by: fryingpan on October 17, 2024, 11:35:14 AM
...that's not how you read output impedance.  :icon_smile:

To read output impedance, you need to turn off any voltage sources (LTSpice does this for you when it's DC, but you need to turn Vs off too) and actually feed a signal *after* the last stage to measure the output impedance, and measure the current.
Title: Re: Why the treble loss?
Post by: stonerbox on October 17, 2024, 12:39:19 PM
GET OUTTA HERE!  :o

(https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExN2s2b2ZrbGZ3b2VuOGtmNG1uZnhjeWExMGVrMTN1ZDlrbzR1cTF6ciZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/oZal60wTnRVK0meAcf/giphy.webp)

I was extremely suspicious to the results but wanted the jury's opinion before I went any further.
Title: Re: Why the treble loss?
Post by: fryingpan on October 17, 2024, 01:11:24 PM
Quote from: stonerbox on October 17, 2024, 12:39:19 PMGET OUTTA HERE!  :o

(https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExN2s2b2ZrbGZ3b2VuOGtmNG1uZnhjeWExMGVrMTN1ZDlrbzR1cTF6ciZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/oZal60wTnRVK0meAcf/giphy.webp)

I was extremely suspicious to the results but wanted the jury's opinion before I went any further.

Like so.

(https://i.postimg.cc/K4kvd1x5/immagine.png) (https://postimg.cc/K4kvd1x5)
Title: Re: Why the treble loss?
Post by: antonis on October 17, 2024, 01:55:56 PM
No need for precise measurements..

CE amp output impedance is roughly its Collector resistor value..
(actually, a bit less due to slight domination by parallel Collector internal resistance..)
Title: Re: Why the treble loss?
Post by: m4268588 on October 17, 2024, 09:25:11 PM
V(OUT)/I(C29)
It matches with @antonis

https://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws#Kirchhoff%27s_current_law
Title: Re: Why the treble loss?
Post by: m4268588 on October 17, 2024, 10:04:06 PM
Quote from: stonerbox on October 14, 2024, 04:00:47 PMI get treble loss after the recovery stage, why is that?

2nd order HPF
Title: Re: Why the treble loss?
Post by: Rob Strand on October 17, 2024, 10:08:28 PM
Quote from: fryingpan on October 17, 2024, 11:35:14 AMTo read output impedance, you need to turn off any voltage sources (LTSpice does this for you when it's DC, but you need to turn Vs off too) and actually feed a signal *after* the last stage to measure the output impedance, and measure the current.
I often inject a 1mA AC *current source* into the output then read the voltage off directly in kohm.

Not to detract from antonis's result.  When you have feedback biasing the output impedance is usually much lower than the collector resistor.

(https://www.eeeguide.com/wp-content/uploads/2022/11/Base-Bias-Circuit-With-Collector-and-Emitter-Feedback-Circuit-12.jpg)

Also the output impedance depends what what is at the input:  open, grounded, or a input series resistor (often used to set the gain) will change the output impedance.  A shorted input and no series resistor will make the output impedance equal the collector resistor (well that in parallel with the feedback resistor, but that's usually high).  A series input cap will make the output impedance change with frequency.



Here's an example: (image server was playing up)
(https://i.postimg.cc/21t4GGjx/BJT-CE-amp-with-feedback-output-impedance.png) (https://postimg.cc/21t4GGjx)

[repost]

(https://i.postimg.cc/mhV1Vj8F/BJT-CE-amp-with-feedback-output-impedance-repost.png) (https://postimg.cc/mhV1Vj8F)


Title: Re: Why the treble loss?
Post by: antonis on October 18, 2024, 04:09:03 AM
Quote from: Rob Strand on October 17, 2024, 10:08:28 PMWhen you have feedback biasing the output impedance is usually much lower than the collector resistor.

1+ agree..!!  :icon_wink:

Quote from: Rob Strand on October 17, 2024, 10:08:28 PMA shorted input and no series resistor will make the output impedance equal the collector resistor

On the other extreme, an open input makes Base considered virtual ground (well, hardly but let it be..) so output impedance is made equal the equivalent impedance of Collector resistor in parallel with feedback resistor divided with stage's gain plus unity..
(the later due to Miller's theorem)

 
Title: Re: Why the treble loss?
Post by: amptramp on October 18, 2024, 07:07:19 AM
The feedback resistor will also reduce the input impedance of the amplifier.  It has the opposite effect  to the rise in impedance from bootstrapping.  The input coupling capacitor should be increased accordingly.