Solid State Guitar Amp Forum | DIY Guitar Amplifiers

Solid State Amplifiers => The Newcomer's Forum => Topic started by: stormbringer on September 16, 2012, 07:20:53 PM

Title: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 16, 2012, 07:20:53 PM
Hi, in my preamp building adventure i'm building and trying out alot of distortion pedals right now to gain some inspiration and knowledge finding that "perfect" (for me) dist.

The latest build is (http://www.sabrotone.com/wp-content/uploads/2011/04/MarkIVLead.gif)

Problem is that i can't bias Q3 to anything near 5v, about 7 it stops oscillating, but then i got this bluesy crunch instead of the wanted raw distortion. Removed all the pots + wiring and resoldered them, using shielded cable for in/out atm. Also inspected tracks with magnifying glass, reheated just about every solder joint.

To get the oscillation to stop i can go about 2 ways.
1. Turn bias on Q3 to 7v or more
2. turn drive down VERY low.

Probing around i noticed that signal is fine At R5, and on lower side of R11. C9 is oscillating terribly, so is Q3 Gate, but i'm really having a hard time finding the culprit here.. Some of these Caps are Ceramic, as i did not find film capacitors of these values. Could these be the problem? (i read about microphonic effects etc while troubleshooting). i Feel kinda stuck here.

Checklist of what's done:
1, Short wires to pots, shielded and grounded at 1 point if crossing other cable, or board.
2. Shielded input and output Wires, not remotely near eachother.
3. Q3 is the only bias that makes the circuit oscillate, can bias the other FETS any value i want more or less without problems.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 17, 2012, 10:21:34 AM
Can you post an actual circuit/schematic of this layout please?
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 17, 2012, 11:45:48 AM
Absolutely, he has a schematic on the site aswell. Although Component Numbers do not match his vero layout. :/

(http://www.sabrotone.com/wp-content/uploads/2011/04/mark-iv-emulator-lead.png)

Did some more testing today, built a standard buffer and wired up before this circuit (read that it helped some people with DR Boogey oscillation issues, and this circuit not being miles away i figured i'd try the same thing, but no difference. I'm absolutely positive that the first 2 stages works perfectly, but somewhere between 2 and 3 or at stage 3 something goes terribly wrong.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Loudthud on September 17, 2012, 01:50:30 PM
I would first try removing C6 (layout numbers). If the sound is too buzzy, try installing C6 from gate to ground across R11.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: sowhat on September 17, 2012, 04:41:49 PM
Hi, I'm new to this forum but not new to FET preamps. From what you have said I suspect that Q3 is flakey or C17 is too large or a combination of both. If C19 shows strong oscillation (I'm using the schematic designations because the veloboard layout don't tell me much) then the problem indicates something amiss with the Q3 stage. These are cheap FET's and quality control may not be what you would expect with them even from reputable sources. C17 can really cause havoc if not sympatico with the FET. I have had to modify the cap values (usually making them lower) on similar stage before and this seems to stamp out oscillation problems... then again, who really knows until you really dig into things and do some "what if's".
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: sowhat on September 17, 2012, 04:53:03 PM
Oh yeah, I almost forgot. Changing the value of C17 will effect the biasing range as well and may bring you closer to the 5 volts you are looking for... all this stuff is interactive. If I got things confused with these reference designators, that's the same capacitor loudthud is talking about... he knows his stuff real good too and has helped me out of a tight spot on more than one occasion.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Loudthud on September 17, 2012, 05:57:40 PM
I don't really like Veroboards, I've never used one. That track that goes to Drive 2 goes half way across the board through the output section making it a good path for stray pickup and oscillation. If it's not too much trouble, cut that track around column 15 and attach the Drive 2 wire there.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 17, 2012, 11:55:04 PM
Um ... wat?

It isn't that surprising that you have oscillation problems since the circuit shows a positive feedback path via R12/C15.

First thing I'd try is disconnecting these components, i.e. breaking the +ve feedback path, and see it this stabilises the amplifier.

If so you need to consider the loop gain.  If the gain around the loop can be greater than the losses then the loop will take off at that frequency.  You can reduce the gain of the loop and/or alter the phase behaviour around the loop, but applying +ve feedback is inviting instability.

Concentrate on getting your DC conditions right first before moving on to your AC conditions.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: J M Fahey on September 18, 2012, 01:37:21 AM
Agree and add.
Didn't get into the Vero layout, but the schematic shows various errors, many of those show a beginner who copied what he *thought* he saw in the MK IV schematic.
Anybody can make mistakes, of course, but later common sense or experience make them stand out and beg to be corrected.
I have *big* doubts it's an acurate rendition of a MK IV, FET or otherwise.
1) as noted, the R12//C15 direct "clean" path makes no sense.
It stinks of the 3M3//20pF attenuator in a Twin  reverb channel, and maybe MB "borrowed" (to say it lightly) from that design, but there it has the useful purpose of mixing one channel with the other; here it's ridiculous and only offers an uncontrolled feedback path.
2) C16 and C25 are in parallel.
Whatever purpose in paralleling a 47pF cap with a 500pF one escapes me.
Also the C15 "brightness compensation" role loses meaning when said highs are grounded by huge 550 pF (combined) capacitance.
3) C2+R9 are *useless* being bypassed by R2/C1.
4) C24 is useless considering it then is grounded by much larger C25//C16.
5) C26/R22 are also useless.
6) Given the gross , still uncorrected errors shown here, I wouldn't trust Harald Sabro Bolstad instructions to make a cup of tea.
Sorry.
PS: won't even waste time checking the Vero layout.
I would only add that a very high gain preamp built in such a small board and without much consideration to grounding, layout and decoupling is a recipe for disaster.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 18, 2012, 04:31:44 AM
Thanx for your input. :)

Guess i got hooked by the big "Verified"-stamp and thought it might actually work, but seeing the problems you point out here i think i'll actually scrap this one. There's some good things in this experience anyway, as i understand way more after your comments. :) Money/components spent on learning = good investment in my book.

I'm quite new, and not ready to design my own amps yet, but i'm aiming to get there, so i'm building lots of stuff found online and trying to put the pieces together. Again, thanx for your help. MUCH appreciated!

Regards
Fredrik
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: J M Fahey on September 18, 2012, 04:44:09 AM
Dr Boogie has been built by many, so I trust it more.
Try it ;)
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 18, 2012, 05:15:07 AM
Have actually built 3 Dr Boogeys. ^^

One with spare/scrap parts to test it, and later 2 with quality parts (1 for me, 1 for the other guitarist in my band).
Really like them, although a bit tricky tonestack, but i like trying out different circuits, you never know when you might stumble upon something awesome. :)
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 18, 2012, 01:50:19 PM
Quote from: J M Fahey
:grr
...
I wouldn't trust Harald Sabro Bolstad instructions to make a cup of tea.

Quite right.  I am altogether too trusting.  I did notice some strange things there but I must have been asleep, concentrating on the +ve feedback path.
:embarassed:

I've just had a look at the original valve Mk4 circuit at;

http://www.freeinfosociety.com/electronics/schemview.php?id=287

...and some of the crazyness can be explained by leaving all the switching out!  For example the apparent idiocy in the cathode/source circuit of the first stage makes a lot more sense when the three missing switch contacts are replaced.  I haven't gone through it in detail, but the FET circuit is supposed to be an emulator of the original valve circuit, except that omitting all the switching (and there is quite a bit) has turned the FET version into a nonsense.

What we seem to have is a valve circuit that was a bit odd to start with, which has been translated into a FET version by somebody who didn't really understand the valve version (and hence all the trim pots).  Avoid.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: spud on September 19, 2012, 01:10:12 AM
Hey, try the Plexizer or Plexi-izer:

http://www.ssguitar.com/index.php?topic=2685.0 (http://www.ssguitar.com/index.php?topic=2685.0)

It's a Marshall Plexi (1959) emulator done in Jfets.  I built it on perf-board but I think someone's done a PCB template/mask for it.  Check DIYStompboxes, do a search for Plexizer and Mojotron (the user on that site that originally designed and built it). 

Jim
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 19, 2012, 10:32:12 AM
What is it with this reluctance to commit?  Another rank of trimpot drain loads (but at least this one doesn't seem to have a positive feedback loop  ::) ).

{I wonder if anybody would mind if I knocked out an atheist preamp, say for use by heavy metal and Alice Cooper cover bands?  8| }
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: J M Fahey on September 20, 2012, 06:00:47 PM
Roly, I'm sure you are not saying the heresy that these guys should .... *DESIGN* ?  :duh :duh :loco
Meaning they should grab their calculators, put new batteries in (the original ones must be flat from lack of use) and ... actually *calculate* some bias points ?  :o
What use would the trimmers be then?  8)
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 20, 2012, 06:11:09 PM
Now, getting rid of trimmers sounds interesting. I know i could use trimmers to bias and then replace with resistors, but actually solving the stuff with maths before my next build and modify the design accordingly sounds both interesting, meaningful and fun, and a good step on the way of actually learning to roll my own, instead of just building other peoples designs.

Got any link with information about bias point calculations off the top of your head? Although i'm quite sure i will spend the next few hours googling anyway. :)
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 20, 2012, 11:48:40 PM
Quote from: J M Fahey on September 20, 2012, 06:00:47 PM
Roly, I'm sure you are not saying the heresy that these guys should .... *DESIGN* ?  :duh :duh :loco
Meaning they should grab their calculators, put new batteries in (the original ones must be flat from lack of use) and ... actually *calculate* some bias points ?  :o
What use would the trimmers be then?  8)

Weeel hush mah mouth!   :duh


Okay @stormbringer, find, download and install LTSpice; join the Yahoo LTSpice group, find the model for your favorite FET (MPF102's happen to be very available where I am).

Take a sheet of paper (you remember paper, don't you?) and draw two lines across it, one representing ground, the other representing a +ve supply voltage.  Mark the latter "+18 volts" to give yourself a flying start.

Draw a jack socket symbol between the lines far left.  Draw a resistor from the socket hot to ground and mark 1 to 10Meg.  Draw a cap in series with the input and mark it 0.1uF.

Now it gets complicated.

Draw an N-channel FET.  Connect the 0.1uF to the Gate, and add a resistor from Gate to ground and mark it 1 to 10Meg.  Add a resistor and electro cap in parallel to ground from the Source.  Add another resistor from Drain to +ve supply.

Now at this point the designing starts, and it starts by guessing the stage current is going to be 1mA.  You now compute using Ohm's Law the value of the Source resistor to give you the desired bias voltage for the FET (obtained from the datasheet), which we will guess as being about 4 volts.  So we can write next to the source resistor 3k9 to 4k7.

Now given an 18 volt supply and the desire to have the largest possible swing before clipping, and accounting for the fact that we have just given up 4 volts biassing the FET, the available swing at the Drain will be 18-4 = 14 / 2 = 7 volts, but since it is sitting on top of the bias voltage the target resting Source voltage is 7 + 4 = 11 volts.  11 volts below the supply of 18 is 7 volt drop across the Drain resistor, and at 1mA this suggests a 6k8 Drain resistor.

Either in LTSpice or on the bench we can now knock up our first stage and see if we get the desired 11 volts on the drain, or something near it.  If we don't, we need to change something in the right direction, more sums, more measurements.

Finally we have the DC conditions where we want them and it's time to look at the AC conditions.

We can check that the reactance of the input blocking cap is small compared to the surrounding resistances so the low frequency cutoff is acceptable (Xc = 1/(2 Pi f C), Xc should be less than one tenth the surrounding resistances).

Now what about the Source bias resistor bypass cap?  How big should that be?  On the face of it you would do the same thing using the source bias resistor which might give you a few microfarads, but when you try it you find the low frequency rolloff is unacceptably too high, so what is going on?

The impedance in the Source circuit is actually a lot lower that it looks, in fact about the Source resistor divided by the gain of the FET, perhaps a hundred times lower than expected.  Simple, bump the bypass cap up by a factor of one hundred to say 100uF or 220uF 6.3V.

Next we generally go in to a tonestack.  Do you want to include a "follower" stage to drive it at very low impedance?  Simply rip off the Fender tonestack from somewhere, and the best place is to download Duncan's Tone Stack Calculator which will model it for you allowing you to play with the values and see what they do, and have a lot of fun in the process.

The recovery stage after the tonestack?  Well why not simply copy the first stage you just designed?

So, brick by brick you move down the signal chain until you have a complete preamp, then a whole amplifier.


Some instruments are very handy, and In Ye Olde Days of Yore an early and important task was to build your own audio oscillator and audio millivoltmeter (and perhaps even oscilloscope).  These days such stuff is pretty damn cheap, and you can also get software for an old clunker computer to provide signals, look at waveforms, and even do spectrum analysis.  But which ever way you go some instruments are vital to extend your senses past just your ears (which are vital too, but not enough on their own).

So how did this work out?  LTSpice result appended.  Not perfect and need tweeking, but not too far off the mark for a first stab.

HTH
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 21, 2012, 06:34:47 AM
Wow Roly, that was more than i could ever hope for! Thank you for taking time explaining and doing this!

Will start experimenting right away :D

An oscilloscope is high on the wish list, been reading about different DIY variants lately, even though buying good tools is important, i love building, You learn so much more that way. :)

Again, i feel incredibly grateful!
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 21, 2012, 10:06:17 AM
Well, now it's up to you to kick it along by lashing this stage up, birdsnest/"aeroboard", strip or dab board, or even my least favorite protoboard, record the initial voltages at Source and Drain, then tweek the Source resistor to make the Drain voltage rest in the middle of its available swing range, and let us know what you found, how one build reality compares to guesswork and a Spice model.

Once the DC conditions are right you can try feeding some signals through it, maybe from guitar to an amp, and confirm that it amplifies (about 20dB, in voltage terms);

dB = 20*log10(Vout/Vin),

20/20 = 1

log(x) = 1, therefore x=10, so it should have a voltage gain of ten times.

If we assume a peak signal from a guitar of about 1 volt you can see why I started with a much higher supply voltage than the original circuit, but anything from 12 to 24 volts would be reasonable.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: J M Fahey on September 21, 2012, 06:56:24 PM
Roly , congratulations.
Excellent explanation and design.
Plus values found are confirmed by *real World" testing.
My typical FET stage (which is roughly similar to the one above) gets 20X gain, but is fed around 30V and uses a correspondingly higher load resistor.
Just for kicks, redo calculations/simulation with only 9V supply available and check the *dismal* performance available.
Even more because instead of a rational, calculated "cathode"(source) biasing resistor, they use "the same value as in a Marshall or Fender"  :duh :lmao:
WHY, oh WHY!! Is there some Magic involved?
So in practice *all* those "converted from tubes" circuits are *terribly* UNDERbiased.
Of course, "trimmers solve it all", don't they?  :grr
I'll never understand how somebody "clones" a 50x gain stage (12AX7) , which has actual 3x to 5x (no kidding) signal gain, which clips (ugly) with 1/10th what a guitar pickup provides, and feels happy because he "built a Twin in a matchbox" or some similar nonsense.
Oh well.

NOTE: not forgetting the 3:1 spread in FET parameters, even if pulled from the same box.  ;)
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 22, 2012, 12:24:04 PM
Aww shucks.  :crazy2:   It's just something I knocked up out of some old fruit crate I had kicking around.   ;)

What am I trying to say?  You can take a highly math-y approach with hybrid-y parameters and all, grind a lot of numbers, but back in the real world we have the spread of FET characteristics (MPF102 Idss spread is 10:1 IIRC) which tend to laugh at our spurious accuracy.

The seat of the pants "design" above might be a bit dubious for production, but if it's going to be reproduced in ones by individual builders who can easily tweek source resistor values (or try a different FET) if required, then "near enough is good enough" (and the operational quality of the final hand-crafted product may well be better than one off a production line).

The 18 volt supply assumes a mains powered amp, and with the MPF102 I think you could even take that up to 24 odd volts to good effect.  But if you really must operate from 9 volts then just grab a suitable op-amp (but yeah, we are back into having to actually design something, do a couple of multiplications and divisions  ::) ).

I really can't see a valid excuse for all those trim pots when it is so easy to mock up something on the bench and try some different values - and hopefully recognise the basic problem is not enough supply voltage.  And it's even easier now we have things line LTSpice free for the downloading - no more burnt fingers.  :)

The initial preamp above is not just lazy, it's failing to learn by doing - and then you publish your "design" on the net!  It's not that there weren't some terrible bloopers in the days of paper magazines, it's just that it is so much easier these days to stamp something "verified" while bypassing any sort of error checking.

Personally I'd be thrilled if a credible "StormBringer" preamp design emerged from this - great name.   :dbtu:
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 23, 2012, 04:30:30 PM
Yes, the stormbringer amp will see the light of day some day. :) That's the goal.

Currently experimenting with that one gain stage with the 3 different jfets i got a bunch of in stock, j201, 2N5457 and MPF102. Drawing it and tuning in LTspice, then mirroring the changes on breadboard listening and recording. as i dont have a scope at the moment, I simply record through a Zoom R16 and comparing waveform amplitude in audio editing software. This is really interesting!
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: joecool85 on September 24, 2012, 02:17:26 PM
Quote from: Roly on September 22, 2012, 12:24:04 PM
Personally I'd be thrilled if a credible "StormBringer" preamp design emerged from this - great name.   :dbtu:

:tu:

**edit**
Oh, also I would suggest starting a new thread if this StormBringer continues in development.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 26, 2012, 02:53:32 PM
Quote from: joecool85 on September 24, 2012, 02:17:26 PM
Quote from: Roly on September 22, 2012, 12:24:04 PM
Personally I'd be thrilled if a credible "StormBringer" preamp design emerged from this - great name.   :dbtu:

:tu:

**edit**
Oh, also I would suggest starting a new thread if this StormBringer continues in development.

:dbtu:
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: stormbringer on September 26, 2012, 07:02:44 PM
Yeah, i figured when i get started in a proper way that i should create a development thread, where i write some kind of "diary"-like thing about the development process.

I have been reading alot, experimenting and learning. and the fetzer valve over at runoffgroove had lots of equations (as i'm working as a programmer, i love equations :P), and analyzing that got me started writing a piece of software to aid me in the biasing quest.

Right now the app works like this:
you enter min Idss and vgs_off, and max Idss/vgs_off found in the datasheet, the application then plots a chart with the selected amount of curve points for minimum, maximum and estimated intermediate values using shockley's equation.

And then it also calculates optimal bias resistor values and voltages according to the formulas on that page. Now, i'm not entirely sure how accurate those equations are, but it's really helping me understand. I'm also making a small USB HID device using a PIC18F2550 (which i have previously used to make a gameport/midi to USB-adapter). The device will be controlled from the software and read actual Idss/Vp from the socketed Jfet and draw the graph + calculate the estimated numbers.

So just insert the fet, press a button, and bam - charts and numbers based on actual values appear. :)

Now this might seem like quite an overkill for doing something as simple as a gain stage, and it probably is. But i love exploring ideas and experimenting. and with a little luck, it might actually help my designs in the future. if not.. Well.i had lots of fun making it.

But i will most likely start a new thread shortly, with that development diary from a novice's perspective.

Thanx again for your help and interest!
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 27, 2012, 11:46:01 AM
 :dbtu:

The three phases of a new idea;

1. "That will never work."

2. "It's a good idea, but impractical/expensive/unpopular."

3. "I always thought so myself."

In my early 20's (in the days of two step wet photocopies) I invented the office fax machine; called it the Remote Photocopier.  My boss told me I was nuts, nobody needed such a thing.  {That's how I lost my first million bucks}.
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: joecool85 on September 28, 2012, 03:10:52 PM
Quote from: Roly on September 27, 2012, 11:46:01 AM
:dbtu:

The three phases of a new idea;

1. "That will never work."

2. "It's a good idea, but impractical/expensive/unpopular."

3. "I always thought so myself."

In my early 20's (in the days of two step wet photocopies) I invented the office fax machine; called it the Remote Photocopier.  My boss told me I was nuts, nobody needed such a thing.  {That's how I lost my first million bucks}.

Did you mean 60's?  For you to be old enough to do it in the 20's would mean you would have to be like...110.  How old are you?
Title: Re: Boogie MKIV Lead channel JFET version, Oscillating like mad
Post by: Roly on September 29, 2012, 08:45:54 AM
Quote from: joecool85 on September 28, 2012, 03:10:52 PM
Quote from: Roly on September 27, 2012, 11:46:01 AM
:dbtu:

The three phases of a new idea;

1. "That will never work."

2. "It's a good idea, but impractical/expensive/unpopular."

3. "I always thought so myself."

In my early 20's (in the days of two step wet photocopies) I invented the office fax machine; called it the Remote Photocopier.  My boss told me I was nuts, nobody needed such a thing.  {That's how I lost my first million bucks}.

Did you mean 60's?  For you to be old enough to do it in the 20's would mean you would have to be like...110.  How old are you?

Egad - MY early 20's, not THE early 20's - I'm 63 and nominally retired (with a pile of organs and valve amps awaiting my attention  ::) ).  Yes, THE 60's before office fax machines and dry copiers arrived, and modems ran at 300 Baud.  {TTL was still replacing DTL, the microprocessor had yet to be created, and my first computer build with a whole kilobyte of memory was still in the future.  These days I still pull out a mini SD or flash drive and just look at it in wonder; picked up some 4Gb flash drives at a local shop for two dollars each!!!}