DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Mr. Lime on February 02, 2015, 04:48:34 AM

Title: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 02, 2015, 04:48:34 AM
I saw the schematic of a Rothwell Love Squeeze Compressor which is pretty much a TS circuit.
Now I'm wondering if it would be possible to tweak the values of the compressor to fit the TS circuit very close and switch the output and the added compressor path.

If we take a look at the Love Squeeze, the most difficult part seems to be the feedback of the first stage which is limited by the 5k1 resistor parallel to the 10k pot.
The common TS value is 1M.

I could switch a 5k1 // 10k pot into the feedback but I hope to find a more elegant solution using the orignal 1M pot and just have to switch in the path between R9 and R13.

Any ideas?


(http://2.bp.blogspot.com/-oBz_XMAZSd8/T-jvPvJdWTI/AAAAAAAABk0/pF9SOGcl8PI/s1600/ROTH.png)
Thanks
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: blackieNYC on February 02, 2015, 07:46:45 AM
If you reduce R16 a lot (10k?) can you get the gain of the TS but maintain your compression?  I don't know.
Title: Re:
Post by: slacker on February 02, 2015, 07:56:53 AM
The maximum gain of the IC1A stage is about 150. If you want to use a 1Meg pot then remove R15 and change R13 to 6k8 and you will have about the same gain.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: midwayfair on February 02, 2015, 08:01:29 AM
The LEDs are only there to clip transients. You CAN distort it by running up the gain, but here's the problem:

The gain pot is only 10K. You can drive the FET up to perhaps 25K (at least, that's about the most I get). To get it to distort, you're going to have to increase the gain pot. But giving it more gain will just trigger the envelope harder, so you have to keep turning the gain up. Eventually, though, your signal will be large enough that you're ALWAYS triggering the envelope, because you won't get any clipping until your signal is easily bigger than the 0.25V drop from the Schottky diodes.

To get around this, you need to move the compression control to be a threshold control, but it would be best to do it in such a way as to be able to reduce the envelope signal to less than unity.

You can also just build GrindCustom's Rotten Comp, which uses an overly large Attack control (100K pot in place of R9) in this same compressor to introduce clipping. Or simply put the compressor before a TS-style pedal.
Title: Re:
Post by: slacker on February 02, 2015, 10:09:17 AM
If the fet only goes up to 25k then what I suggested won't work, I hadn't thought about resistance range of the fet.
What you can do instead is flip the problem round and make the TS mode work with the current setup. There's already enough gain, if you just connect the bottom of C11 to ground you've got a TS but with more bottom end. In TS mode if you change C11 to 10uF you'll have the same bass cutoff frequency response as a standard TS.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: PRR on February 03, 2015, 01:11:42 PM
You can limit on the diodes, or in the linear limiter.

Trying to get it to do "both" may be really tricky.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: samhay on February 03, 2015, 01:35:01 PM
^ You can limit on the diodes, or in the linear limiter.
Trying to get it to do "both" may be really tricky.

Maybe worth trying a feed-forward approach?
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 03, 2015, 03:31:40 PM
Thanks for your interest, guys!

Well, I would like to add the compression circuit to my "Tiger Driver".
My priority is the overdrive sound, I just like the idea of changing the circuit to a compressor with a flip of a switch.
It's not necessary that the compressor works 100% in a useful range.
I would be very glad to see a schematic of your suggestions, maybe it helps other people too, which are interested in this topic..

Here's my TS alike circuit: (not the updated one, but pretty close.
(http://fs1.directupload.net/images/150203/temp/yz3p9hot.jpg) (http://www.directupload.net/file/d/3887/yz3p9hot_jpg.htm)


Thanks!!
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 06, 2015, 11:58:25 AM
How about switching R15 5k1 parallel with the 1M Gain pot and adding a 250k "Bloom/Attack" pot instead of R9?

The "compression" control in compressor mode would have a strange sweep but would it work so far?


Thanks
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 08, 2015, 11:49:01 AM
I decided to flip the problem and using the current setup.
The Tube Screamer has a gain of  1 + (551K/4.7K)= 107 at the first gain stage.

If I'm right, the gain on the Love Squeeze is 1 + (5000R/22R) = 228 which would mean that it's double the gain of the TS?

A 4PDT Switch would change the modes.
I am not sure about the second stage and it's tone control, how much would a tone control like a James tone stack influence the compression circuit?

Am I fine using a 100k Pot at the output for both modes?

(http://fs1.directupload.net/images/150208/syqlcuge.png) (http://www.directupload.net)
Thanks
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: slacker on February 08, 2015, 12:06:03 PM
The love squeeze schematic you posted has a 5.1k resistor in parallel with a 10k pot setting the gain so it's about 3.4k in total not 5k making the maximum gain about 150. A 5k pot should work fine though. Why do you have a 500k pot in there as well? the 5k will do the job for both modes.
You might not need to disconnect R9 from the opamp it will probably work if you leave it connected, that saves you a switch as you can just switch between the outputs.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 08, 2015, 01:59:30 PM
You have the right idea.  Really all you need to do is keep the original lovesqueeze circuit in tack, but change the 100 uF cap to 10 uF to match the TS 720 Hz cutoff.

In compression mode you switch in the FET, in TS mode you just short across the fet to ground or maybe reduce the mode switch to an SPST to do this and just leave the envelope detector active.

In either case you need the gain of the envelope detector so maybe you should replace the op amp with a common-emitter BJT gain stage with gain of ~4 or 5.

Then the only switch you need to change modes is to short the FET.

Having the high frequency boost of the TS will actually add a pre-emphasis curve not entirely unlike the JoeMeek compressor -- might be an improvement.

The TS tonestack de-emphasizes this, so it is in your best interest to just pull off the envelope detection with a BJT gain stage to control the FET, then just short the FET when you don't want compression.

I hope that makes sense.  If not I can sketch a schematic of what I mean.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 08, 2015, 03:41:10 PM
here's the idea:
(http://i1275.photobucket.com/albums/y449/ryjobil/LoveComp_zps942bb08f.png)

The 5k resistor is something you substitute with a pot.  Looks promising using an amplitude modulated 800 Hz tone in LTspice.  Adjust the .47u cap to taste for attack/release time.  The original 10u was pretty slow but then maybe it needs a bleed resistor.  The 0.47u simulated as still being nice and slow (like 100ms attack).
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 08, 2015, 04:24:32 PM
Hi Transmogrifox and thanks for yours suggestion!

Meanwhile I drew up a updated schematic.
I added the "attack" pot from the Rotten Komp and changed the switching.
As I am not a big fan of LEDs I would like to use 1N914 in pairs, not sure if they fit the compressor mode too?
Maybe it's worth switching them with the modes..

I always liked James tone stacks and the AMZ BMP TS does pretty much the same but has an additional mid control.
It's also possible to set that EQ flat.

If the BMP doesn't work so well with the compressor, I would wire a simply stupid tone control 2 infront of the output.

Your schematic looks impressive, maybe I should give this arrangement a shot!  ;D
I am a totally noob at compressor circuits but the idea of the BJT gain stage seems cool, if it really works well.
At which point would you short the FET to ground, at R2?

Here's what I came up with:
Maybe it's time to get the ideas together, I am glad for any suggestions!  :)
(http://fs1.directupload.net/images/150208/49qfxic6.png) (http://www.directupload.net)

R10 and C7 may be not needed, the Attack control in TS mode seems a bit strange too  :-\
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 08, 2015, 09:24:48 PM
*EDIT*

I originally marked up your schematic, but looking at it decided it easier to update mine to include your ideas.  This better explains what I am thinking about this:
(http://i1275.photobucket.com/albums/y449/ryjobil/LoveComp_TS_zps4dbbd36d.png)

Main points:
1/(2*pi*R2*C2) = 723 Hz, which is right around where the TS does the 720 Hz emphasis
1/(2*pi*R1*C1) = 6.77 kHz, which more closely matches the relationship between the 500k pot and 52 pF cap.
R21 and C11 added to de-emphasize the 720 Hz boost, in similar manner to how TS does this.  Otherwise you will find you keep the tonestack balanced toward the dark side all the time and lose some of its useful range.

Hopefully that all is helpful.  I ran a circuit simulation on this to make sure the compression range seems about right.  I think it's pretty good here -- I might actually mod my Vox V847 (TS work-alike) to implement this, or maybe just build this circuit with the BMP stack because it looks really useful to have a compressor and OD built into one box.  I can see myself rarely bypassing this and more frequently just switching the OD/Comp switch.  I love compression on clean guitar.

This is a really sweet idea.  I'm glad I tracked onto this thread.  Nice work!  ;D
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 09, 2015, 01:17:23 AM
Thanks a lot, Transmogrifox!

Over night I drew something similar based on your idea, now I updated it to your new schematic.
I like compression pedals for clean sounds too and think that this is going to be a really nice effect which is super versatile.
On my drawing, I added a boost trim to let the second op-amp gain stage act as a recovery stage after the BMP tone control, should be useful somehow.
Now it's got a variable gain boost from 2- 11.

I also thought about switching between 1N4148 and LEDs because I have something like the "son of a clay jones overdrive" in mind.
For additional Fuzz like sound I found the AMZ tone clipping circuit, maybe worth a try as it's switchable.

If everything seems alright I start to create a stripboard layout that I'll post here.
Please feel free to add any idea.

(http://fs2.directupload.net/images/150209/casftc22.png) (http://www.directupload.net)
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 09, 2015, 10:14:55 AM
Looks pretty good other than U2 needs an R + C going to ground off the inverting (-) input to make the boost/trim do something.  Maybe try something like a 22k + 100n.

The cap could be smaller, say, 4.7n to 10n if you wanted a treble boost.  Maybe even a switch to switch between "bright" and normal boost.

Nice idea on the tonestack clipping.  Have fun building this !
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 09, 2015, 11:05:48 AM
One thing I forgot to mention is add a 22k resistor in series with Q1.  I noticed in simulation when this goes saturated it may forward bias and put a low impedance load on the op-amp causing some distortion, muddy up the sound.  The 22k will keep load impedance to the op amp high enough to control this.

Also I did some .wav file simulations in LTSpice to listen to it.  The TS overdrive sound is spot on.

For the compressor .wav simulation, I noticed that even with 2x 1N4148's in series there was still some distortion on the compressor.  Removing them or adding an LED in series eliminated the distortion.  Maybe you would want to consider using a dpdt to remove the clipping diodes with the same action as shorting the FET.

Another trick would be to add back-to-back LED's in series with the diodes and use the switch to short them during overdrive mode.   

Either way, leave a jumper in your layout to play with this so you don't have to kludge it if you find the diodes give more distortion than you like during compression.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 09, 2015, 12:54:14 PM
Thanks for your great simulations, here's my idea for the diode problem.
It's an On-On-On switch, it allows TS mode operation with 1N4148, TS mode with LEDs in the middle position and Comp mode with the LEDs.

I think a treble boost switch would be nice but for my taste it's getting too much, we've already got 5 pots and 2 switches.
The modded BMP tone control can be adjusted to a treble boost too.

Now I'm thinking of a name for this pedal..  ;D
Maybe "Lovedrive", this would share a part of it's name with the circuit it's based on.
One of my favorite bands have a song called Lovedrive too  ::)
https://www.youtube.com/watch?v=itUkcJdQc8Q (https://www.youtube.com/watch?v=itUkcJdQc8Q)

Anyway, here's the schematic: (corrected)
(http://fs1.directupload.net/images/150210/dbbrv6c7.png) (http://www.directupload.net)

Well, if you enjoyed this circuit maybe my other thread could be interesting too.
It's a CMOS overdrive with octaver blend, also something new but it is in the middle of development.
http://www.diystompboxes.com/smfforum/index.php?topic=109817.msg1005230#msg1005230 (http://www.diystompboxes.com/smfforum/index.php?topic=109817.msg1005230#msg1005230)

Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 09, 2015, 10:33:56 PM
R18 (22k) should go at the base of the BJT.  In its present location it acts as a voltage divider with the downstream 10k and also doesn't entirely solve the problem.

Stick it right between where R2 and BJT base connect and you have a circuit that looks like it will do what you want.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 10, 2015, 11:30:21 AM
Alright, thanks!

I corrected the schematic above.
Looking at the comtrols, every knob is useful in the compression mode, but the attack control is unemployed in TS mode.
What about using a double gang pot and connect the additional pot to the 1N4148 diodes or something similar?
..for example the AMZ warp control?

Would be cool if every knob has something to do in every mode..
The Analogman KOT is using a resistor in series with the soft clipping diodes too.
But the 250k pot seems rather high for such a application.

Any suggestions for it?
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 10, 2015, 07:18:49 PM
Here's my idea for the 250k pot in TS mode:
(http://fs1.directupload.net/images/150211/ieatvapq.png) (http://www.directupload.net)

The 15k resistors parallel with the pot gives it a new range of ~ 27k which should be useful with the silicon diodes in series, right?
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 10, 2015, 11:28:34 PM
That configuration gives you essentially a resistance range of 14k to 27k.  One of those 15k should be a short circuit to get 0 ohms to 14k.   Note the useful range will be within the first 1/6th turn of the pot.  After 1/6th to 100% will not have much effect.

Probably worse with this circuit since the gain-setting resistor is 22 ohms.  Probably the 250k pot will have zero useful range.  You will either turn it to 0 or turn it a little -- after that there will be no difference between an infinitesimal change and 100% change in the pot setting.  It will be a binary 0 or 15k (or 27k whatever you put in parallel).

MIght be more useful to put this into the tonestack clipping diodes.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 11, 2015, 04:56:55 PM
Couldn't I just take a 250k dual gang pot and a 10k dual gang pot and change the bottom pots?

It's just an idea, I would be glad to get other suggestions too. :)
A bass boost or something would also be alright..

I'm looking for something that's just in the TS mode active..
Thanks
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Transmogrifox on February 12, 2015, 12:22:52 AM
Yeah, a dual gang pot hybridized would be a way to do it. 
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 13, 2015, 07:17:35 AM
If I receive help, I always want to give something back and here it is:

(http://fs2.directupload.net/images/150213/xj3k99jw.gif) (http://www.directupload.net)

Not sure about the transistor directions.
According to the schematic, I labeled the component numbers so it should be easy to modify.
Offboard diode switching allows you to experiment with different clippers, just keep the red LEDs as they are.
Make sure you wire the On-On-On Switch exactly like it's drawn.
I recommand building yourself a dual gang pot with 250k and 10k (for Attack and Clipping) if you want only 5 knobs on your pedal.

Thanks to Transmogrifox for his great help and thanks to Jack Orman's site where I got the AMZ warp control and the AMZ presence control from.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: duck_arse on February 13, 2015, 09:26:03 AM
boy, that's quite something. I can see a few things. your circuit J1 appears on the board as Q1, and your circuit Q1 appears on the board as Q2. Q1 on your board is, I'm pretty sure (datasheet!) backwards. the Q2 is oriented correctly.

with your 10k clipping pot: you could connect its wiper to C8, and one end to the leds, the other to the D8//D10 (and drop the switch? it's not clear on yr diagram if the "Mode" switch is commoned to the clipping pot switch or not.) then you can warp between leds and the string.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 13, 2015, 10:07:38 AM
Thanks, I corrected the layout above.

IMO it's better leaving the clipping pot on the silicon diodes because you need the LEDs as they are in the compression mode and I would'not want to deal the pot everytine when I want to change the mode..

Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: duck_arse on February 13, 2015, 10:17:37 AM
Q1 still backwards. refer:

http://pdf.datasheetcatalog.com/datasheet/nationalsemiconductor/DS013065.PDF
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 13, 2015, 10:36:03 AM
Now it should be fine, finally..

Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: duck_arse on February 14, 2015, 08:49:27 AM
mmm, apologies. I've been looking at that Q1, trying to make sense from just one lead. now I look closer, it seems to be layed source-gate-drain, like a K30A (and in that case, either direction would be correct). there will need to be a bit of shuffling of switch wires and resistors in that area to suit a gate-channel-channel type like 2N5485, or you could just change the spec to 2SK30A- O or Y.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 14, 2015, 12:27:03 PM
You are right, thank you very much.
Now Q1 should work as supposed to do.

I hate layouts with transistors cause I always fail at placing them..  ;D
It's everytime a pain in the ass rewire them correctly.


I also changed C8 and C10 to electrolyt capicators just like they are in the love squeeze.
Note that Jumper that shares a hole with the other one next to leg 4.

It will take me some time to get the parts together to verifie my layout but I'll try to solder it as soon as possible.

Here's the layout:
(http://fs2.directupload.net/images/150214/w6kc7uhw.gif) (http://www.directupload.net)
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: duck_arse on February 15, 2015, 08:47:58 AM
looks good, good luck.

if I may: I hate 2 wires to a hole, and long stretch caps. me, I would move the link at d8 across to d6, and the link at a6 across to a8 - j8. the j6 - k6 is hole per wire, and j8 moves down 1 to k8. as for C12, well, let's just look away.
Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: Mr. Lime on February 15, 2015, 12:49:30 PM
I know, it's not the most elegant layout, sure it could be smaller too. :P
I only had a practical offboard wiring in mind when I created the layout.


Maybe I'll do another one because of esthetic..


Title: Re: Adding a Compressor circuit to a TS overdrive?
Post by: duck_arse on February 16, 2015, 09:14:21 AM
I've recently switched from standing resistors and blizzards of flying links, to more elegant, better esthetic, all-flat 5 holes per (ok, some 4 hole, at a real pinch) resistor layouts, with flat links, and it's not much fun. then I add a size restriction, 10 holes in one direction.

I'd swear there must be 8 different ways to turn a resistor .......