madbeanpedals::forum

General => Open Discussion => Topic started by: hammerheadmusicman on August 14, 2013, 11:01:08 PM

Title: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 14, 2013, 11:01:08 PM
So, in an effort to learn some more, i thought i'd try to hack a few things together. I had this idea of taking the fatpants v2, and feeding it in to an overdrive.

So.. i did it, it may be all kinds of wrong, hence posting it on here, constructive criticism/help/advice welcomed with open arms :).

So it's a fatpants, minus the volume control, i put a 50k resistor inline instead as that should be roughly around the 12 o'clock (maybe - no way to test things at the moment) as i want it as a preamp, with the fat control, but not the volume (and want it not to boost, or maybe a touch, depending on how it affects the overdrive circuit). Then it feeds in to a TS style dual op amp overdrive, the first half having diode clipping. The second half having one of Jack Orman's modded TS9 tone controls, and in the middle i put some mosfet clippers on a swicth before the tonestack.


This is really just an experiment, and to try and do some learnin' whilst i have the next two months away from building.

Thanks Dudes

George
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 14, 2013, 11:09:13 PM
Oh yeah, if there are any silly mistakes, it's because i am extremely tired as i was doing this, just couldn't put it down! Will check through it tomorrow.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: midwayfair on August 15, 2013, 03:42:40 AM
Your MOSFETs will clip as normal silicon diodes in that arrangement. You need a blocking diode on each one to prevent it from reverse conducting. (Yes, both. The full drive etc. do it wrong.)  I'm on a mobile so it's hard to link to the required reading, but if you take a look through my mossy Sloth build doc, I link to a thread explaining it in overwhelming detail.

I don't think you should omit the input buffer. You may get some unusual behavior from the Fatpants side of things, and you won't get any of the 'son of the screamer' benefits on the ts side.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 15, 2013, 08:37:15 AM
You don't need a DPDT for SW1. A SPDT on the path to the clippers is all you need.
But you could use a DPDT that way to switch between different clippers.

I think your TS has lost the mid hump. Is this intended?

If you use only the left MOSFET you get asymmetrical clipping to about -0.7V...2V depending on the type.
It clips harder at -0.7V and softer at 2V.

If you use both as in your drawing then you get a combined clipping to about -0.7V...0.7V much like two Si diodes but switching slower and having higher capacitance than your common 1N4148.
So this is not wrong per se if you're after that sound but not that much different from antiparallel 1N4148s.

You could use the two MOSFETs in (anti-)series to get high swing symmetrical soft clipping.

You could add diodes with low forward voltages (Ge, Schottky) in series with the MOSFETs as midwayfair suggested to stop them conducting in direction of the body diode. This would give you high swing symmetrical soft clipping, too.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 15, 2013, 08:48:04 AM
I will probably put a light on to indicate the MOSFET clipping mode being on. When you say diodes in series do you mean like the 8th example on this link?

http://www.muzique.com/lab/zenmos.htm

Thanks

George
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 15, 2013, 09:01:33 AM
Quote from: hammerheadmusicman on August 15, 2013, 08:48:04 AM
I will probably put a light on to indicate the MOSFET clipping mode being on. When you say diodes in series do you mean like the 8th example on this link?

http://www.muzique.com/lab/zenmos.htm

Well, no. That's for Zener diodes and is much like example 2 of that article (antiserial). But great Zener ideas here!

Here's how: http://www.muzique.com/schem/shaka5.gif i.e. the diodes need to point the other way round.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: marauder on August 15, 2013, 09:44:08 AM
RG Keen posted this on DIY.

"There are two ways to get "diode connected out of a MOSFET.

One is to use the substrate diode, which always allows current to flow backwards to the way it flows from drain to source. This diode is a normal silicon diode characteristic, consisting as it does of just the substrate isolation tubs.

The second is the one we usually want from MOSFETs. It consists of connecting the gate to the drain, and then using the drain-source as the diode in the normal current flow direction. Connecting the control node to the incoming power node (as in base to collector in bipolars) is the way to get the "diode characteristic" of the control node. It's done in bipolars to get a more-ideal diode characteristic than you get from either of the normal junctions. But this is the connection you want: gate to drain, then drain and source as the diode. Don't clip any leads off the MOSFET.

There is a problem here; the reverse/substrate diode prevents this "diode" from blocking in the reverse direction. In one direction it electronically looks like the amplified-diode MOSFET you want, and in the other it's an ordinary silicon diode. You can use an external diode in series with the drain or source to block the substrate diode from conducting, or if you're using two MOSFETs, you can connect them so the substrate diodes themselves are what allow current flow in the "right" directions each way."

Found this when building a Zendrive, that didnt connect them correctly either, might as well use a silicon diode.

i need to try the real mosfet clipping method, it will clip at the mosfets gate threshold voltage, higher than a LED for some mosfets.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 15, 2013, 09:57:54 AM
Quote from: marauder on August 15, 2013, 09:44:08 AM
The second is the one we usually want from MOSFETs. It consists of connecting the gate to the drain, and then using the drain-source as the diode in the normal current flow direction.

Yep.

Quote from: marauder on August 15, 2013, 09:44:08 AM
In one direction it electronically looks like the amplified-diode MOSFET you want, and in the other it's an ordinary silicon diode.

That's why you get asymmetrical clipping to -0.7V...~2V on a single MOSFET with G+D connected.
(Or ~-2V...0.7V if you turn it around, of course.)

Quote from: marauder on August 15, 2013, 09:44:08 AM
You can use an external diode in series with the drain or source to block the substrate diode from conducting,

See the Shaka5.

Quote from: marauder on August 15, 2013, 09:44:08 AM
or if you're using two MOSFETs, you can connect them so the substrate diodes themselves are what allow current flow in the "right" directions each way."

That's putting them anti-serial (see ex. 2 of http://www.muzique.com/lab/zenmos.htm).

Quote from: marauder on August 15, 2013, 09:44:08 AM
Found this when building a Zendrive, that didnt connect them correctly either, might as well use a silicon diode.

Hm, every schematic I've seen so far the Zendrive does it right. My clone too.
But the OCD/EgoDriver look "wrong" with only one diode. Or is it intended?
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: midwayfair on August 15, 2013, 03:26:12 PM
That's the RG post I was referring to last night. Here's the whole thread (RG's original post is quoted, and then he goes into more detail later, plus discussion from others):
http://www.diystompboxes.com/smfforum/index.php?topic=90474.0

The Zen does it right, at least on the schematics I looked at.

The Fulldrive pedals don't. (They in fact waste two MOSFETs and a Germanium diode.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 15, 2013, 03:50:05 PM
Thanks dudes, will give it am in depth read, apart from the MOSFET clippers, what do you think to the rest of it, or even the concept as a whole..
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 15, 2013, 07:04:48 PM
VR=9V?
And shouldn't pin 3 get biased too? After a coupling cap?
And the clipping should go to VR, or you need decoupling here?
Not sure about this DC biasing business.

Edit: Don't have an opinion on the overall concept, yet.
But what are your design goals?
I remember you saying your Fatpants is always on?
So wouldn't is make sense to put it together with other always-on-stuff, say a noise gate?
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 15, 2013, 07:40:24 PM
Quote from: midwayfair on August 15, 2013, 03:26:12 PM
That's the RG post I was referring to last night. Here's the whole thread (RG's original post is quoted, and then he goes into more detail later, plus discussion from others):
http://www.diystompboxes.com/smfforum/index.php?topic=90474.0

The Zen does it right, at least on the schematics I looked at.

The Fulldrive pedals don't. (They in fact waste two MOSFETs and a Germanium diode.
Can you point me at the schematic of the Zen drive you have? Because, when I look at the schematics, they all look like they do it wrong to me. They all look to have the series diode with the cathode pointing in to the source of the MOSFET. But the body diode of the 2N7000 goes from source to drain and the MOSFET clipping should be D+G to S. So, you should need the series diode to block the body diode and let the signal through the D+G to S path. Right?

Moreover, when I breadboard what I see in the schematics, the clipping is always at the level of two series diodes and not the MOSFET plus a series diode. If I put the arrangement in the way that seems to follow from what Keen says, to me that goes with the cathode attached to the G+D connection and then the complete MOSFET diode would be anode of diode to source of the MOSFET. When I breadboard this arrangement I get what seems to me to be the clipping levels I would expect from the MOSFET clipper inline with a series diode 2.3V to 3.0V or so.

Given that, the arrangement of diagram 2 here http://www.muzique.com/lab/zenmos.htm (http://www.muzique.com/lab/zenmos.htm) would seem to be the most sensible assuming you didn't mind the slightly higher forward voltage that you get because of the 0.6V drop of the body diode. Has anyone actually tried this in a circuit?

Of course, this all assumes I understand the point of the MOSFET clipper and that's far from sure because all of the schematics/breadboarding have me confused.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: midwayfair on August 15, 2013, 09:14:38 PM
Quote from: RobA on August 15, 2013, 07:40:24 PM
Can you point me at the schematic of the Zen drive you have? Because, when I look at the schematics, they all look like they do it wrong to me.

The one here:
http://revolutiondeux.blogspot.com/2008/05/zendrive-project-at-fsborg.html

I'm pretty sure it's the same as Bean's schematic, too.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 05:47:56 AM
Quote from: RobA on August 15, 2013, 07:40:24 PM
They all look to have the series diode with the cathode pointing in to the source of the MOSFET.

...using a n-channel MOSFET like 2N7000 or BS170.

Quote from: RobA on August 15, 2013, 07:40:24 PM
But the body diode of the 2N7000 goes from source to drain and the MOSFET clipping should be D+G to S.

According to Jack Orman in http://www.muzique.com/news/mosfet-body-diodes/ it's the other way round:
Quote
The top body diode can now conduct from drain to source [...]

Now I'm curious. Need to read up more.

Edit: And I did.
R.G. Keen in http://www.diystompboxes.com/smfforum/index.php?topic=38581.0 :
Quote
One way it conducts from source to drain, and looks like an ordinary silicon diode; that's the substrate diode. The other way it conducts from drain to source, and is the "MOSFET diode" caused by the gate making the channel conduct.
and consequently:
Quote
N channels need the diode pointing (anode ->|- cathode) in the direction from drain to source.

Looks like R.G. Keen contradicts Orman, and your breadboard proves Keen.
So the Zen and Shaka5 only use the body diode in series with a Ge diode? Funny, I like my Zen as it is.
Maybe the higher forward voltages wouldn't work well in a 9V build with non-rail-to-rail op-amps anyway?
I'm far away (spatial and temporal) from my breadboard and mental gymnastics is hard in summer...

Edit2:
Quote from: RobA on August 15, 2013, 07:40:24 PM
Given that, the arrangement of diagram 2 here http://www.muzique.com/lab/zenmos.htm (http://www.muzique.com/lab/zenmos.htm) would seem to be the most sensible assuming you didn't mind the slightly higher forward voltage that you get because of the 0.6V drop of the body diode. Has anyone actually tried this in a circuit?

I've tried example 5 (two Zener in anti-series). That's the same idea. I tried 2.7V and 3V Zeners, not in a to-ground-distortion configuration but in a feedback-loop-overdrive manner, much like in a Tech21 character series pedal. You need a rail-to-rail opamp for this, or the opamp clips way before the diodes.

Anyway, the best thing is: using two MOSFETS or two Zeners in anti-series you don't have to think much...
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 16, 2013, 11:16:27 AM
Thanks for the link Jon. That does line up with all the others that I've seen.

Quote from: kothoma on August 16, 2013, 05:47:56 AM
...
According to Jack Orman in http://www.muzique.com/news/mosfet-body-diodes/ it's the other way round:
Quote
The top body diode can now conduct from drain to source [...]
...

I think he may just be using conduction in the inverted sense there. His diagram shows it the right way around (the bright red diode between body/source connection and the drain). Also, this aligns with the diagram of the body diode on the Fairchild 2N7000 spec sheet.

From there, just looking at the flow form the body diode indicates to me that the blocking diode has to be oriented the opposite direction to the body diode.

Quote
So the Zen and Shaka5 only use the body diode in series with a Ge diode? Funny, I like my Zen as it is.
Maybe the higher forward voltages wouldn't work well in a 9V build with non-rail-to-rail op-amps anyway?
Yep. The next step in looking at this is breadboarding a simple distortion to try it and the first thing I thought was that I'll have to go to more headroom to get past the distortion in the op-amp and to the clipping levels of the anti-series mosfets. So, I'm doing it as split-rail. It might even need a couple of gain stages to get it to the right level relatively clean before the clipping and then a stage to knock it back down to a reasonable level for output.

I'm fiddling with it now and I'll report back once I hear something. 
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 11:43:43 AM
Quote from: RobA on August 16, 2013, 11:16:27 AM
Quote from: kothoma on August 16, 2013, 05:47:56 AM
...
According to Jack Orman in http://www.muzique.com/news/mosfet-body-diodes/ it's the other way round:
Quote
The top body diode can now conduct from drain to source [...]
...

I think he may just be using conduction in the inverted sense there. His diagram shows it the right way around (the bright red diode between body/source connection and the drain). Also, this aligns with the diagram of the body diode on the Fairchild 2N7000 spec sheet.

From there, just looking at the flow form the body diode indicates to me that the blocking diode has to be oriented the opposite direction to the body diode.

Yeah, that makes perfect sense. So maybe Orman is talking of electron flow.
Need to think about it some more. But every time I do this nearly drives me crazy.

Quote from: RobA on August 16, 2013, 11:16:27 AM
I'm fiddling with it now and I'll report back once I hear something.  
Hey, that would be great!
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 01:34:53 PM
Quote from: kothoma on August 15, 2013, 09:01:33 AM
Quote from: hammerheadmusicman on August 15, 2013, 08:48:04 AM
I will probably put a light on to indicate the MOSFET clipping mode being on. When you say diodes in series do you mean like the 8th example on this link?

http://www.muzique.com/lab/zenmos.htm

Well, no. That's for Zener diodes and is much like example 2 of that article (antiserial).

OK, to make this clear. You can use any normal diode here for getting the high level soft clipping, but you also need a second anti-parallel branch, of course.

But referring to the Shaka5 was nonsense, I stand corrected. Sorry for the confusion.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 01:35:27 PM
The following three configurations have similar effects (especially with low voltage Zeners):
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 01:59:31 PM
So you need to do one of these to get maximum swing:
(That's missing in the otherwise great article http://www.muzique.com/lab/zenmos.htm)
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: midwayfair on August 16, 2013, 03:33:20 PM
Quote from: kothoma on August 16, 2013, 01:35:27 PM
The following three configurations have similar effects

Similar, but remember that, according to RG's description, the GD-S arrangement of the MOSFET has some very strange properties. It begins conducting at ~1.2v but doesn't seem to ever reach hard clipping, at least not with the signal levels we're playing with in a 9v circuit. As far as I know, no other diode will have this effect when crowbarred to ground (not sure about in a feedback loop, though) -- they'll all conduct when you reach their Fv (or voltage rating in the case of a 3v zener). Well, except germanium diodes to a much smaller extent. They have a softer knee and different types of germanium diodes can be harder or softer. I don't know the mechanism there but I suspect it's leakage.

AMZ's second example should indeed be another way to avoid body diode conduction with absolutely minimal parts. The conduction would begin around 2v (similar to LEDs) but have nice roundy edges in anything coming out of a 9v op amp. Personally I find that very attractive as a solution, but then again I have a thing about reducing the parts count in any design most of the time.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 16, 2013, 03:38:28 PM
So, I've built up a bit of a modified Distortion+ using a split rail (+/-9V) supply and using 2N7000's with Ge, 1N914, and BAT46 diodes as the blocking diode. My conclusion is that it if you want the MOSFET clipping, then it has to be done with the cathode of the blocking diode pointing in to the G+D connection on the MOSFET (or the equivalent of the anode attached to the source). This is consistent with the 2N7000 spec sheet showing the body diode with the cathode at the drain and the anode at the source (which is also what makes sense looking at the PN junctions between the body connection and the drain.

I then did the bit with the G+D - S<->S - G+D arrangement. Using this method, you get the MOSFET clipping, which is different and sounds nice too me, and it is a really simple arrangement. The only downside I see to this is not being able to use the Ge diode as the blocking diode (or a Schottky). But really, I've already gained the thing up to some pretty good levels to get the MOSFET clipping anyway, so it seems more sensible to use that extra gain to get something else out of it rather than just throw it away using a lower total forward voltage ;).

Given that I've already figured out what to do with that extra gain, I'm going to have to play with distortion circuits now, even though I promised myself I wouldn't do anymore distortion designs ;D -- just gotta figure out a tone control setup to use...
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 16, 2013, 03:41:08 PM
Quote from: midwayfair on August 16, 2013, 03:33:20 PM
...
AMZ's second example should indeed be another way to avoid body diode conduction with absolutely minimal parts. The conduction would begin around 2v (similar to LEDs) but have nice roundy edges in anything coming out of a 9v op amp. Personally I find that very attractive as a solution, but then again I have a thing about reducing the parts count in any design most of the time.

I was writing my last response as you posted this and was too lazy to change what I'd already written. But, this is just what I found when testing just now and I really liked the results. The solution is really elegant to me.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 03:50:49 PM
Quote from: midwayfair on August 16, 2013, 03:33:20 PM
Quote from: kothoma on August 16, 2013, 01:35:27 PM
The following three configurations have similar effects

Similar, but...

Sure, quite right! I only wanted to get the "arrows" right...

Quote from: midwayfair on August 16, 2013, 03:33:20 PM
AMZ's second example should indeed be another way to avoid body diode conduction with absolutely minimal parts. The conduction would begin around 2v (similar to LEDs) but have nice roundy edges in anything coming out of a 9v op amp.
Quote from: RobA on August 16, 2013, 03:38:28 PM
I then did the bit with the G+D - S<->S - G+D arrangement. Using this method, you get the MOSFET clipping, which is different and sounds nice too me, and it is a really simple arrangement.

I need to try this too. It is analogous to example 5, which I have tried and liked, it is the Zener analogue to example 2. But my Zeners started somewhere over 3V. (2.7+0.7 and 3.0+0.7).
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 16, 2013, 03:53:56 PM
Quote from: RobA on August 16, 2013, 03:41:08 PM
Quote from: midwayfair on August 16, 2013, 03:33:20 PM
...
AMZ's second example should indeed be another way to avoid body diode conduction with absolutely minimal parts. The conduction would begin around 2v (similar to LEDs) but have nice roundy edges in anything coming out of a 9v op amp. Personally I find that very attractive as a solution, but then again I have a thing about reducing the parts count in any design most of the time.

I was writing my last response as you posted this and was too lazy to change what I'd already written. But, this is just what I found when testing just now and I really liked the results. The solution is really elegant to me.

True, but with "doing it right"-diodes you could save some headroom, as Ge/Schottky diodes would have less forward voltage than the body diodes.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 16, 2013, 03:57:48 PM
You guys have gone on an absolute rampage! But, it is all relevant and super interesting information, so do continue :) i will change those mosfet clippers tonight, and make some amendments.


thanks again

George
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 16, 2013, 04:49:29 PM
Quote from: kothoma on August 16, 2013, 03:53:56 PM
...
True, but with "doing it right"-diodes you could save some headroom, as Ge/Schottky diodes would have less forward voltage than the body diodes.
Absolutely and in some cases I can see that as being a fairly critical difference.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: RobA on August 16, 2013, 04:51:34 PM
Quote from: hammerheadmusicman on August 16, 2013, 03:57:48 PM
You guys have gone on an absolute rampage! But, it is all relevant and super interesting information, so do continue :) i will change those mosfet clippers tonight, and make some amendments.


thanks again

George
Yeah, we've gone off a bit :D. Hopefully it'll be useful information. I'll be interested to hear what you think when you get a chance to test the MOSFET clipping.
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: hammerheadmusicman on August 16, 2013, 05:03:25 PM
Well, I'm away on a gig until around oct 31st, so I won't get a chance, i'm just going eagle crazy while i'm away and have loads of free time, Shed load of layouts being fabbed, and trying to cobble a few more designs together, maybe do some etch layouts and get on the case when i get home!!

All this stuff is super useful though! Keep it coming ;)

George
Title: Re: Basterdised Fatpants2/Overdrive w/ Mosfet clipping. What you guys think?
Post by: kothoma on August 19, 2013, 03:31:57 PM
Quote from: hammerheadmusicman on August 16, 2013, 03:57:48 PM
i will change those mosfet clippers tonight, and make some amendments.

Any progress?