Solid State Guitar Amp Forum | DIY Guitar Amplifiers

Solid State Amplifiers => Amplifier Discussion => Topic started by: SurreyNick on January 07, 2015, 12:22:04 PM

Title: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 07, 2015, 12:22:04 PM
As the topic title says, is there anyone out there who can help me design a circuit and schematic for a 10W+ stereo portable mini amp?

I am new to solid state circuitry, but I have a good working knowledge of vintage valve radios, so I can follow a schematic, assemble a unit etc. etc. I have just finished making my son a 'toy' 0.5W 'baccy-tin' amp and now want to make him a decent portable amp, still battery powered though (12v 4.5Ah sealed lead-acid), with optional DC adapter also used to charge the battery. This will be for practice play and for taking to the park/camping etc. He could easily buy himself a commercial unit, but I like making things and want to have a go as a surprise gift. Oh, I should mention he's a pretty good player and into heavy metal in a big way.

I'm not aiming to make anything fancy, no special effects required, just one 6.5mm input, volume, tone and gain controls, with the option to listen via the speakers or switch to headphone socket. For the speakers I was planning on two Jensen MOD5-30's. I have designed the cabinet which is 7" cuboid and the sides open out to create two wings, each of which will hold a speaker. I have attached a rough CAD drawing to give an idea and an image to show what it could look like when closed (I would use a different leather so it doesn't look so old-man!).

So, is there anyone who can help me with a circuit?

Thanks

Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 07, 2015, 08:06:27 PM
Excellent design and idea.  :dbtu:

Just one suggestion, of course you decide: in your design each speaker wing is smaller than possible, because you have a relatively large back section holding the battery, and a bottom one holding amp and controls.

I would split your 7x7x7 cube in just 2  7x7x3.5 sections, one containing battery and amp (and which in extreme cases could work on its own) and the other just the speaker.

In fact, and being democratic, the battery/amp one might be slightly deeper than the other, so internal effective volume is the same.

In any case, I suggest using 2 car type bridged chipamps , each providing some 16W RMS into 4 ohms, or a single stereo one with one channel driving each 4 ohms speaker, in which case you would get some 5+5 W RMS.

I'm old style and still use TDA2005, of which I still have a few, but there are more modern ones, usually TDAxxxx which are more available (I fear mine are obsolete) , typically are simpler to use (already have the gain and feedback internal and fixed, say, 40X gain) .
I'm certain younger members can suggest a popular one.

As a preamp I suggest you straight build a distortion pedal, for 4 basic reasons:

1) they can sound clean if you wish ;)  , just use low gain "distortion" and high output volume.
And you can add a small switch which puts clipping diodes out of circuit, in which case pedal becomes a Clean Boost.

Compare MXR Distortion+ with same brand clean booster (don't remember the name) which is the exact same thing without diodes and set up for somewhat lower gain ... what can be accomplished with the other half of the Clean/Dist switch.

2) they are already designed to work with 9V single supply, easy to get from a 12V battery ... in fact most are happy to get straight 12V , go figure.

3) they match your 2 knob requirements ;)

4) suggested PCBs or even stripboard or perfboard layouts are available.

And you can splurge and decide on a 3 knob one  :o , with gain, volume and tone controls.

But 2 knob is fine, I have built many amps similar to what you need.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 08, 2015, 07:05:57 AM
Excellent advice JM, thank you :)

I will give serious consideration to your suggestion of dividing the cabinet into two and dedicating just one side to the speakers. My normal practice when designing, be it a homebrew valve radio or other project, is to first mock-up the unit from an old thick cardboard box. It's usually rigid enough to support the weight of the internals and all the design impediments can be overcome before the real build begins.

I have seen the quality of your work JM, and I know you make and sell professionally. At the risk of being too cheeky I note you say you have built many amps similar to what I need. I don't suppose you have a schematic you could share with me do you? Although I understood everything you proposed I have insufficient knowledge of solid state circuitry and guitar amps to design one myself from scratch.

Thanks

Nick 
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 08, 2015, 02:32:38 PM
Thanks :)

As said before, I use the TDA2005
http://www.st.com/web/en/resource/technical/document/datasheet/CD00000124.pdf
and the circuit is that suggested in the datasheet, it works well and found no need to modify it.
As you see, it can be configured as a 2 x 10W amp or bridged 20W
It's still available but "not recommended for new designs" because there are more modern and simpler versions, I'm certain somebody living in USA can suggest what's today's amp-of-the-day .

Or search EBay, I'm certain there must be a ton of "12V 15/20W amp" kits (or ready built) for peanuts, which save you the hassle of designing and making "just one" PCB

As of the distortion/preamp search GGG (general guitar gadgets) or a couple other pedal builders sites, which offer PCB designs or the PCB themselves.

Just stay clear from Runoffgroove (I guess it's them; if not, sorry) which have a fixed idea about "cloning tube amps using Fets", not bad in theory, horribly implemented.

So in a nutshell you need an MXR Distortion Plus as preamp and a 12V 15/20W àmp (or two) 2 speakers  and a battery.

No need to design individual modules from scratch.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 09, 2015, 10:15:47 AM
Ah, now that makes a lot of sense. I have found the relevant circuits and it seems pretty straightforward too.
Thanks JM, much appreciated.
Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 09, 2015, 02:24:02 PM
FWIW here's Pignose Hog 20  schematic.

http://www.ssguitar.com/index.php?action=dlattach;topic=1166.0;attach=3301

Just as a guide, because it has some issues.

1) good: it uses a TDA7240 which seems to be the modern incarnation of TDA2005: much simpler to use , needs just 2 resistors and 5 capacitors to work, is already bridged internally, etc.

2) bad: Pignose implementation is wrong.
I have the schematic because somebody posted it while trying to solve an instability problem.
They *should*  have used the datasheet example, period.

(http://circuits.datasheetdir.com/344/TDA7240A-pinout.jpg)

3) the Hog preamp is very poor and the "squeal" (distortion)  is a joke ; the MXR is MUCH better , so go for it.

4) you may read this as a reference:
http://www.ssguitar.com/index.php?topic=1166.0

although your implementation will be much better, plus it will have 2 real speakers instead of the skimpy one used by Pignose ... for obvious $$$$ reasons of course.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: JHow on January 09, 2015, 11:01:08 PM
I like the 'suit case' design here.  It has given me ideas for an old coronet case I have.   :dbtu:
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 10, 2015, 03:29:26 AM
Welcome SurreyNick.


Quote from: SurreyNickI have a good working knowledge of vintage valve radios

In which case you are going to find this one a doddle.

You are in excellent hands with JMF here, so I just have an incidental question and a couple of general observations.


JMF's point 2).  The data sheet shows two Zoble stability networks, R1 & C6 and R2 & C7, one on each of the two outputs.  Pignose economised by using only one between the outputs.  This caused generic stability problems that require a mod back to the data sheet.


You said "stereo", and I'm a bit confused.  There are actual stereo guitar amps, two channels from inputs to speakers (and I guess these would be most useful with Chorus pedals that have a stereo output), but to me the word "stereo" means an amp with two identical channels with coupled controls and source selectors for domestic Hi-Fi use.

{my homebrew Twin-50 keyboard amp is actually fully stereo capable, but with independent controls}

 
Just as a radio is a collection of stages, RF, mixer, IF, detector, audio, so is a guitar amp, only simpler.  And just as you can Lego(tm)brick different kinds of each stage together to build a radio, so you can Lego(tm)brick guitar preamp stages, Fx stages and output stages together.

As always the main things to take care of are the signal level and relative impedances where these stages join.

Chip amps are high gain and wide bandwidth, so like radio stages they like to be bypassed "VHF-style", as close as possible to the chip pins with the shortest loop possible, C5 in particular.

And I really like the steampunk opening case idea.   :dbtu:

Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 10, 2015, 04:09:35 AM
I guess he used the word stereo because from the beginning he decided on 2 speakers into 2 identical cabinets and would probably need to use a "stereo" chipamp or buy one so labelled module on EBay.

Of course, both fed the same (mono)  signal.

But I bet google turns far more results using stereo than dual mono.   :o

Just a guess of course.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 13, 2015, 10:21:04 AM
Thanks for the compliments regarding the enclosure design, but I can't take all the credit for it. I came across the case being used for something else and I thought it could be nicely adapted for use as a portable amp. As far as stereo is concerned, at the time I did the first post of this thread I did have a vague idea of designing an amp that could also double as a stereo amp for an alternative audio source (iPod etc.), but I abandoned that idea pretty quickly. No, it's going to be a mono amp with dual speakers for guitar only.

With this in mind I have adopted JMF's suggestion of the MXR+ and TDA2005 and have drawn the attached schematic. However, I do have this nagging feeling I have got something wrong, but for looking I can't put my finger on it. Perhaps someone could enlighten me? I have also added a circuit for the purpose of charging the battery from a 12v wal-wart with automatic cut-off. Once I get the circuit sorted out I can then get building .

Thanks

Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: g1 on January 13, 2015, 12:10:20 PM
  The only thing immediately jumping out at me right now is that the volume pot wiper is drawn going straight to ground.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 13, 2015, 06:24:20 PM
Thorts:

Your DC charging cutoff appears to be sensing the charging supply rather than the voltage across the battery.  Even then the idea is a bit of a concern because the voltage rise at the end of charge that you are looking for is about the same time a lead-acid cell starts gassing, and gassing is something to be seriously avoided with SLA's; they vent the gas and you lose electrolyte.

The charging socket is shown "upside down".  I can think of a couple of reasons for you doing this, but you might like to check and confirm.

Me, I'd put the fuse in series with the battery (and on the +ve end 'coz I'm conventional).  The real risk with any battery like this is that if you get a short somewhere it can deliver a very large amount of current and cause a lot of damage, melted tracks and wires, and maybe damage the battery as well.  Doesn't matter which end, but the fuse should go between the SLA and everything else.

You really should have some sort of limiting resistor in the charging current path otherwise the charging current will be whatever your supply can deliver, again, not healthy for a SLA.

I used to work on solar systems with hunking 1000A/Hr led-acid sets but I'm not really up with the care and feeding of SLA's, just know that they are a bit picky, so I suggest you have a sniff around and see what the common charge control practice is.

The input jack could be a shorting type to silence the amp when the guitar is unplugged.

The 1nF right across the input will have a serious dampening effect on a passive guitar and clobber your high end response.  100pF maybe, against RF pickup.

There are op-amps with lower noise than the 4558, but that's a matter of taste.  Put it in a socket and you can try others.

Again the 1nF across the volume control seems a bit large.  In conjunction with the 10k output series resistor this will give a top cut hinge at;

1nF and 10k

Xc = 1/2 Pi f C

f = 1/2 Pi Xc C

1/(2*Pi* 10e3 * 10e-9)=1591.54943092

...only 1.5kHz.  This might be okay for bass but I think it may be a bit excessive for tenor guitar.  This partly depends on how it sounds when the preamp is overdriven, but you may need to tweek this value down a bit (lot).

I haven't checked the power stage, but a couple of points about your headphone output; again you can use a socket with a contact to do the speaker/headphone switching, and it is normal to put some sort of resistive limitation in the headphone path so you can't accidentally blow out your headphones and ear drums if they are low impedance type - twenty watts right in your lughole ain't good.

4 ohm // 4 ohms = 2 ohms load - will the TDA2005 be happy with that low load? (check the datasheet (http://www.digchip.com/datasheets/search.php?pn=TDA2005).  It implies that each amp can drive a 2 ohm load, but in bridge I think the minimum will be 4 ohms)

HTH
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 13, 2015, 08:04:08 PM
Agree.
Basically the same but seen with other eyes and worded differently ... can't hurt ;)

1) the power in jack is upside down.
Its ground contact should be ... ground and the tip should be +V .

For power supply you will use hollow plugs and jacks there, not regular 1/4"or 1/8" ones which short themselves by design    :duh

2) you will need to limit battery loading current; simplest is adding in series a plain vanilla 12V 15W`car lamp, kludge a car type lamp holder there or simply scratch bulb base and solder it in place, a few mm away from PCB to help ventilation.

3) your overvoltage limiter is fine, but once triggered (or if you turn it on with battery disconnected) it will latch off and stay there until you unplug it.

The good thing is that on barely reaching a little over 14VDC it will latch off for good, protecting battery.

To make operation point more defined, add, say, 4k7 to ground from node 1N4001/4k7 at 2N4400 base.

Now that we are at it, label all parts, such as R1/... R10/... C1/ ... etc. for reference.

4) 
Quoteput the fuse in series with the battery (and on the +ve end 'coz I'm conventional).  The real risk with any battery like this is that if you get a short somewhere it can deliver a very large amount of current

5)
QuoteThe input jack could be a shorting type to silence the amp when the guitar is unplugged.

6)
QuoteThe 1nF right across the input will have a serious dampening effect on a passive guitar and clobber your high end response.  100pF maybe, against RF pickup.
True, but that's MXR original design.

A`plain 100pF is not enough, but I've had good results splitting the difference:  220pF from Op Amp input to ground.
Yes, on the other end of input 10K resistor.
I tried that (and many other values) and is inaudible, switched in/out .

7) original is single 741 op amp.
RC4558 is fine, but is double.
You have to use a single there (TL071 is fine) or neutralize unused Op Amp which otherwise will introduce unexplained instability.
Best is to short Out to -In and connect +In to C ..... ok .... I'll wait until you label parts ;)

8) the gain pot is actually Reverse Audio (C3 curve) 500K .

I've successfully modded the circuit to use a much easier to find Audio pot by shorting gain pot shown (so that leg of NFB is just 4k7 in series with 4n7) and replace 1M feedback resistor with a 1M audio pot.

Works like a charm and silky smooth control range.

9) 1nF in series with 10K means 16KHz , quite acceptable :)
Doublecheck at: http://www.sengpielaudio.com/calculator-RCpad.htm

10)
Quotebut a couple of points about your headphone output; again you can use a socket with a contact to do the speaker/headphone switching, and it is normal to put some sort of resistive limitation in the headphone path so you can't accidentally blow out your headphones and ear drums if they are low impedance type - twenty watts right in your lughole ain't good.
Agree.
a) connect the headphone jack with both hot contacts tied together (L+R) to one TDA2005 out, adding in series a 100uF cap to stop DC (there's +6VDC present) plus 100 to 470 ohms (your choice)  to pad earphone out somewhat and not blow a hole between your ears (where the brain usually resides) ;)
The other headphone out should be grounded and nothing else.
As shown you are shorting, both DC and AC, the lower TDA2005 vpower amp.
Remember it's a floating bridge output, none is Ground.

11) the load should be 4 ohms total for each TDA2005 involved, so you either use 2 8 ohm speakers, or just a single 4 ohms one, or my favorite weapon: I use TWO TDA2005 , each driving its own (ejem, FAHEY brand ;) ) 4 ohms speaker .... the loudest kid on the block .

Of course, it runs the battery down twice as fast, so it's not always the best choice.
But it'ss FUN  :lmao:

12) now to the unspeakable : you would need to design and make a PCB for this amp, but for a single one (or a couple) you can very well build it on perfboard.

13) almost forgot: you may add a spdt switch which both lifts diodes out of circuit and adds a fixed, say, 10k resistor in parallel with my suggested gain pot so Op Amp becomes a very clean 3X gain preamp.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 14, 2015, 04:57:49 AM
9) OOPS, yep, it would be helpful if my help was actually right.  :-[

That line should read;

f = 1/(2 * Pi * 10e3 * 1e-9) = 15915.4943092

My bad - sorry.  No problem there.


11) Might as well go full stereo then.  8|





Some general guidelines for lead-acid batteries.

The capacity of a battery, C, is given in amp/hours, AHr.  A battery with a rating of 8AHr means that it can (theoretically) deliver 8 amps for one hour from full charge to "flat" (which is about 11.5V for a nominal 12V battery, not zero), or 0.8A for 10 hours, or 0.08A for 100 hours, etc.

For best life a L-A battery should never be charged or discharged at more than the ten hour rate, i.e. one-tenth of its AHr rating.  So an 8AHr battery should not be charged or discharged at a current greater than 0.8A, 800mA.  {While this is also true for most battery types such as Ni-Cd batteries, Lithium batteries are a whole other thing.}

Most L-A batteries will tolerate a continuous charge of 1/100th C.

Batteries are not 100% efficient, so they require more charge put in than you can get out, and generally this means 14 hours of charge for 10 hours of discharge.  SLA's are more efficient than typical "flooded" batteries (e.g. car batteries) so they require less overcharge, perhaps only 12 hours. 

The full charge end point is defined as a terminal voltage of between 14.1V to 14.7V for a 12V battery, but this must then be reduced to around 13V or gassing and loss of electrolyte will occur. 

A L-A battery should never be discharged below half its operating voltage.

Unfortunately all voltages around L-A batteries are somewhat temperature dependent, so the ideal charger will take account of the battery temperature, but in typical domestic applications at 25ºC simple voltage limits will suffice.  Operation above about 40ºC or near freezing are to be avoided.  The freezing point of battery electrolyte depends on the state of charge, and a fully charged battery will freeze at a much lower temperature than a discharged one.  {Temperature with Lithium batteries is much more critical, which is why they almost always have an embedded temperature sensor, and hence more than just two terminals to connect to the charger.}

L-A batteries should be fully charged before storage, and topped up every month or two (due to self-discharge).

All of the above is general and approximate and the actual manufacturers recommendations should be followed.  Batteries are a whole area of study in their own right, but if you observe the voltage and current limits that will normally be enough to give good battery life.

{You may observe that some batteries in some applications, such as power tools, violate some of these rules, in particular fast charging at a one hour rate or even greater.  What they don't tell you is that this is flogging the daylights out of the battery and accounts for why so many fail after a fairly short working life.}

Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 14, 2015, 03:48:00 PM
Thank you each of you for the guidance, it is really appreciated.

OK. I have numbered all the components, which I should have done from the outset, so my apologies there and I have attached an updated schematic. In the process I tried to address each of the points made by 'g1', 'Roly' and 'JM Fahey' but I confess I haven't succeeded entirely so if I could ask your indulgence again to correct any omissions and mistakes I would be most grateful. I have followed the numbering convention in JMF's post for continuity.

(0)    "the volume pot wiper is drawn going straight to ground"
I have checked a number of schematics employing the TDA2005 and each show a path to ground on the input line. I have amended the schematic to show a direct path from the volume pot (VR2) to pin 1 of the TDA2005 via capacitor C9, but should I retain a path to ground too, as highlighted on the schematic?

(1)    "the power in jack is upside down"
I have checked the schematic I was using for this part of the circuit and I am pretty sure I have connected the power in jack as was shown. It came from this YouTube video (https://www.youtube.com/watch?v=c_XkuKeSLGs) and I have attached a picture of the circuit too. Am I being dumb?

(2)    "you will need to limit battery loading current; simplest is adding in series a plain vanilla 12V 15W`car lamp"
OK, I think I have done that correctly. See L1 as highlighted on schematic.

(3)    "To make operation point more defined, add, say, 4k7 to ground from node 1N4001/4k7 at 2N4400 base"
OK, I hope I have done that correctly. See R19 as highlighted on schematic.

(4)    "put the fuse in series with the battery (and on the +ve end 'coz I'm conventional)"
I have added a fuse as I believe has been suggested. See F2 as highlighted on the schematic. The original idea was to have a fuse in the charging circuit to protect the battery in case of adaptor and/or circuit failure. Not sure if that was or was not required or done correctly. In one or both cases I was thinking of a 1amp fuse, but can I get away with less?

(5)    "The input jack could be a shorting type"
Thanks for the suggestion, I may well switch to one when I order the components for the build.

(6)    "The 1nF right across the input will have a serious dampening effect on a passive guitar"
I am assuming you are referring to the capacitor now labelled C3 on the schematic attached. Is that right? As JMF says, it is the MXR original design. Are you recommending changing it (C3) to 220pF instead?

(7)    "original is single 741 op amp. RC4558 is fine, but is double. You have to use a single there (TL071 is fine) or neutralize unused Op Amp"
I have used the attached schematic for the MXR+ which recommends the RC4558 but it didn't mention neutralising the unused Op-Amp. It would be most helpful if you could describe how to do so now I have labelled the components. Thanks.

(8)    "I've successfully modded the circuit to use a much easier to find Audio pot by shorting gain pot shown (so that leg of NFB is just 4k7 in series with 4n7) and replace 1M feedback resistor with a 1M audio pot"
Sorry, I don't understand

(9)    "1nF in series with 10K means 16KHz , quite acceptable"
So no change to circuit made.

(10)    "connect the headphone jack with both hot contacts tied together (L+R) to one TDA2005 out, adding in series a 100uF cap to stop DC (there's +6VDC present) plus 100 to 470 ohms (your choice)...and... The other headphone out should be grounded and nothing else. As shown you are shorting, both DC and AC, the lower TDA2005 vpower amp."
I confess the connection of the speaker(s) to the dual outputs of the TDA2005 completely confused me. The bridged application schematic (attached) shows a single speaker of which one terminal is connected to pin 10 (output 1) and the other terminal to pin 8 (output 2), whereas I would have expected either pin 10 or pin 8 to go to the positive terminal of the speaker and negative straight to earth (-). I'm afraid I still don't understand how to wire this correctly for two speakers plus optional (switched) headphones in spite of your explanations! Sorry.   

(11)    "either use 2 8 ohm speakers, or just a single 4 ohms one, or my favourite weapon: I use TWO TDA2005 , each driving its own (ejem, FAHEY brand ;) ) 4 ohms speaker"
In light of item (10) above I'm undecided how to proceed (2x8ohm, 1 larger 4ohm, or 2xTDA2005 and 2x4ohm).

(12)    "you would need to design and make a PCB for this amp, but for a single one (or a couple) you can very well build it on perfboard"
Yep, as it's a one-off I plan to do it on perfboard or prototyping board.

(13)    "you may add a spdt switch which both lifts diodes out of circuit and adds a fixed, say, 10k resistor in parallel with my suggested gain pot so Op Amp becomes a very clean 3X gain preamp"
Sorry, call me thick but I don't understand.

Attachments:
1. Revised schematic
2. Circuit I adopted for the MXR+
3. Circuit for TDA2005 for bridged application

Thanks

Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 14, 2015, 08:21:47 PM
"An image is worth 1000 words"  ;)

Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: J M Fahey on January 14, 2015, 09:06:34 PM
Quote from: SurreyNick on January 14, 2015, 03:48:00 PM
Thank you each of you for the guidance, it is really appreciated.
You're welcoms  <3)

QuoteOK. I have numbered all the components, which I should have done from the outset, so my apologies there and I have attached an updated schematic. In the process I tried to address each of the points made by 'g1', 'Roly' and 'JM Fahey' but I confess I haven't succeeded entirely so if I could ask your indulgence
Indulgence ???????????
oh well .....   :cheesy:

Quote"the volume pot wiper is drawn going straight to ground"
I have checked a number of schematics employing the TDA2005 and each show a path to ground on the input line. I have amended the schematic to show a direct path from the volume pot (VR2) to pin 1 of the TDA2005 via capacitor C9, but should I retain a path to ground too, as highlighted on the schematic?
See corrected schematic.

Quote(1)    "the power in jack is upside down"
I have checked the schematic I was using for this part of the circuit and I am pretty sure I have connected the power in jack as was shown. It came from this YouTube video (https://www.youtube.com/watch?v=c_XkuKeSLGs) and I have attached a picture of the circuit too. Am I being dumb?
Now it's acceptable, because this is the hollow plug connector ... your first one was a conventional 1/8" plug/jack (not recommended for power supplies) and it was wired inverted.

Quote(2)    "you will need to limit battery loading current; simplest is adding in series a plain vanilla 12V 15W`car lamp"
OK, I think I have done that correctly. See L1 as highlighted on schematic.
Cool , that's the way.

Quote(3)    "To make operation point more defined, add, say, 4k7 to ground from node 1N4001/4k7 at 2N4400 base"
OK, I hope I have done that correctly. See R19 as highlighted on schematic.
You did not connect it on the 4007 side but on the other end. 
Corrected, see schematic.

Quote(4)    "put the fuse in series with the battery (and on the +ve end 'coz I'm conventional)"
I have added a fuse as I believe has been suggested. See F2 as highlighted on the schematic. The original idea was to have a fuse in the charging circuit to protect the battery in case of adaptor and/or circuit failure. Not sure if that was or was not required or done correctly. In one or both cases I was thinking of a 1amp fuse, but can I get away with less?
Pulled one, left the one which is always in series with the battery no matter what.
From experience, you will need a 4A fuse there.

Quote(5)    "The input jack could be a shorting type"
Thanks for the suggestion, I may well switch to one when I order the components for the build.
Good.

Quote(6)    "The 1nF right across the input will have a serious dampening effect on a passive guitar"
I am assuming you are referring to the capacitor now labelled C3 on the schematic attached. Is that right? As JMF says, it is the MXR original design. Are you recommending changing it (C3) to 220pF instead?
Corrected.

Quote(7)    "original is single 741 op amp. RC4558 is fine, but is double. You have to use a single there (TL071 is fine) or neutralize unused Op Amp"
I have used the attached schematic for the MXR+ which recommends the RC4558 but it didn't mention neutralising the unused Op-Amp. It would be most helpful if you could describe how to do so now I have labelled the components. Thanks.
Beavis audio is not 100% trusty, I bet many of circuits posted there were not actually built, or if built, not exactly that way.
He's leaving an open loop, floatin Op Amp in the same package and die as the used one.
That's unstable, will probably oscillate or latch up or do any amount of trouble.
The almost original MXR schematic is this one:
(http://home.comcast.net/~snmavronis/mxr_distortion_plus_wiring_schematic.jpg)

Quote(8)    "I've successfully modded the circuit to use a much easier to find Audio pot by shorting gain pot shown (so that leg of NFB is just 4k7 in series with 4n7) and replace 1M feedback resistor with a 1M audio pot"
Sorry, I don't understand
No worry, shown on corrected schematic.

Quote(9)    "1nF in series with 10K means 16KHz , quite acceptable"
So no change to circuit made.

Quote(10)    "connect the headphone jack with both hot contacts tied together (L+R) to one TDA2005 out, adding in series a 100uF cap to stop DC (there's +6VDC present) plus 100 to 470 ohms (your choice)...and... The other headphone out should be grounded and nothing else. As shown you are shorting, both DC and AC, the lower TDA2005 vpower amp."
I confess the connection of the speaker(s) to the dual outputs of the TDA2005 completely confused me. The bridged application schematic (attached) shows a single speaker of which one terminal is connected to pin 10 (output 1) and the other terminal to pin 8 (output 2), whereas I would have expected either pin 10 or pin 8 to go to the positive terminal of the speaker and negative straight to earth (-). I'm afraid I still don't understand how to wire this correctly for two speakers plus optional (switched) headphones in spite of your explanations! Sorry.   
See corrected schematic.

Quote(11)    "either use 2 8 ohm speakers, or just a single 4 ohms one, or my favourite weapon: I use TWO TDA2005 , each driving its own (ejem, FAHEY brand ;) ) 4 ohms speaker"
In light of item (10) above I'm undecided how to proceed (2x8ohm, 1 larger 4ohm, or 2xTDA2005 and 2x4ohm).
All 3 are valid, your choice.

Quote(12)    "you would need to design and make a PCB for this amp, but for a single one (or a couple) you can very well build it on perfboard"
Yep, as it's a one-off I plan to do it on perfboard or prototyping board.
Cool. Protoboard is fine, then transfer to perfboard.

Quote(13)    "you may add a spdt switch which both lifts diodes out of circuit and adds a fixed, say, 10k resistor in parallel with my suggested gain pot so Op Amp becomes a very clean 3X gain preamp"
Sorry, call me thick but I don't understand.
Ok, will draw it later.

Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 14, 2015, 10:47:45 PM
(0)
If you have a connection to ground from the volume control wiper that is where all your signal will go - to ground, nothing out.

In the circuit you posted <TDA2005 circuit for bridge amplifier.jpg> the cap connected to the input pin 1 goes to an input connector (the circle live inside the "C" ground, implicitly an RCA socket)  In your case this cap should go to the volume control wiper and nowhere else.


(1)
I don't see any power jack in the video.  J1 on your circuit now looks more reasonable, but note carefully that there is no standard for which is +ve and -ve, it will depend on how your supply is wired.

While the charging circuit will detect the battery voltage and also lock out when charged there is no current limitation into the battery - this is vital or the battery might cook/boil depending on how grunty your supply is, or cook the supply if the battery is flat.  (which relates to...)


(2 & 4)
If you put the lamp where shown it is between the battery and the sense point, D2, so the voltage sensed will be the battery plus whatever drop is across the lamp, so it will trip early if not immediately.

To act as a charge limiter the lamp should go between the incoming supply and the voltage sense point, D2.  {a lamp is a non-linear resistor and is well suited to charge limiting because its resistance goes up as the lamp gets hotter.  So when the battery is flat the lamp will glow and limit the current, but as the battery voltage rises the lamp will dim and allow more current, which is pretty much what is needed.}

You only really need a fuse at F2.

20 watts out at 12V

P = E * I

I = P/E

20/12 = 1.66666667amps

So a 2A fuse should be fine for catastrophe protection {or 4A as JMF said, but 1A won't be enough, it will blow when the amp is driven hard}. 

Never mind the battery, the primary reason for the fuse between the battery and everything else is, as I said, to protect you and the equipment from all that energy stored in the battery, which will come back at you in a really spectacular rush if it's shorted.

Zener D1 is not needed - the resistor R1 is sufficient to drop the incoming voltage for the relay (the guy in the vid is gilding the lily here, yet has no charge current limitation  ::) ).  When the relay is energised the voltage cannot be any higher than the battery, and when it isn't energised the voltage is immaterial.


(6)
Stick the 1nF in across the guitar if you wish, but I think you will be tweeking it when it sounds muffled and lacking in tops.  See here for the effects of capacitance across a passive pickup;

http://www.ozvalveamps.org/pickups.htm (http://www.ozvalveamps.org/pickups.htm)


(10)
Ref: <TDA2005 circuit for bridge amplifier.jpg>
This configuration is called a "bridge" circuit because the ends of the speaker load are driven in opposite directions to double the applied voltage - neither side is ground, both sides are active, but exactly out of phase.

The upper amp is non-inverting ("+" input) but the lower amps gets its signal via R4 which goes into the inverting ("-") input, so when the top output swings +ve the bottom output swings -ve and v.v.

You could just take your headphone output from the top output w.r.t. ground since you don't need 20 watts into your headphones.

Step by step, getting there.   :dbtu:




As a general point; there is almost unlimited opportunity for error in tracing/drafting/transcribing circuits, and you can see an example just above where I made a power-of-ten error that JMF caught (but seems to have missed the implication of putting the lamp where you have).  And that's people who have had many decades of experience!   :lmao:

Then you have the blind leading the blind, redcircuits, runoffgrove, your guy with the unlimited charge control vid, etc., etc., who do a good imitation of knowing what they are talking about.  So you have to keep your wits about you and apply commonsense.  I've seen some really daft circuits published in magazines where they have technical sub-editors, but these days 16 year old Joe Schmo can get on the Internet and call his site Professional Circuit Source, and publish any old garbage without the benefit of any checking at all.

Just last week I wrote to two sites, lh-electric and another that had copied an oscillator circuit from lh-e, pointing out that it couldn't work as drawn because the feedback path was shorted.  {and I don't consider a 2nd harmonic only 4dB down on the fundamental a "low distortion" oscillator, an "abomination" is more like it.}

The responses were interesting.  The second source told me I was wrong and explained at length how the oscillator worked.  I had no problem with his theory, only that the circuit wasn't actually drawn like that (which I then had to explain at length before they finally got it).  I suspect that I was designing oscillators when this guy was only a twinkle in his fathers eye.

Lh-e on the other hand thanked me for catching the error and claimed it was in the original source, Elektor (which I have a couple of reasons for seriously doubting, but whatever, they agreed it was wrong and would correct it).  Manufacturers "typical circuits" on data sheets by contrast are normally quite dependable.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 15, 2015, 10:16:15 AM
By asking for your indulgence one more time I of course meant in the context of your generous help and your patience too. As I mentioned at the outset of this thread, I am a novice when it comes to solid state circuitry and to amplifiers too so I really do appreciate the willingness with which you freely share your knowledge and time.

I have noted all the points each of you have provided and (somewhat surprisingly) by and large I get it too! For that, my thanks  :tu: Now I think there remain just a few points for which I could do with a bit more clarity if that's OK?

(1)   - JMF -   "your first one was a conventional 1/8" plug/jack (not recommended for power supplies) and it was wired inverted."
Doh,  :loco What can I say?!   I told you solid state circuitry was new to me. They didn't use jack plugs like that in the 1920s. Those old valve radios were so much simpler! At least I now know the difference and to be more careful about which symbol to use  :)

(7)   - JMF -   "original is single 741 op amp. RC4558 is fine, but is double. You have to use a single there (TL071 is fine) or neutralize unused Op Amp"  ...also...  "Beavis audio is not 100% trusty, he's leaving an open loop, floatin Op Amp in the same package and die as the used one. That's unstable, will probably oscillate or latch up or do any amount of trouble. The almost original MXR schematic is this one:"
Ah, that original MXR schematic is quite a bit different! So it begs the question, should I swap over, or is my RC4558 one with your corrections now problem free and suitable for my son's (heavy metal) needs?

(1, 2 & 4)   - ROLY -   "there is no current limitation into the battery - this is vital or the battery might cook/boil depending on how grunty your supply is, or cook the supply if the battery is flat....and...To act as a charge limiter the lamp should go between the incoming supply and the voltage sense point, D2."
Understood. Have I got it right now?

(6)   - ROLY -   "Stick the 1nF in across the guitar if you wish, but I think you will be tweeking it when it sounds muffled and lacking in tops."
Can I just check you are referring to C3 and that you agree with JMF's variation on this latest schematic?

Oh before I forget, JMF you mentioned "you may add a spdt switch which both lifts diodes out of circuit and adds a fixed, say, 10k resistor in parallel with my suggested gain pot so Op Amp becomes a very clean 3X gain preamp" If and when you can find time I would be most pleased to have your drawing showing how.

Obviously I can't repay any of you for your kindness in like, but once we have the schematic finalised what I will do is build the amp and having done so I will then post an instructable on this site acknowledging your contributions so that others can replicate it for themselves and benefit from your expertise. I hope that meets with your approval.

Thanks again.

Nick

Attachments:
Revised schematic v03.
Oops! Just noted I have annotated C3 as 220nF. It should read 220pF.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 16, 2015, 08:26:13 AM
Good try, but no cigar I'm afraid.  If you trace from the battery you still have to go through the lamp to get to the sense point, D2.

Stick the lamp between the +ve side of the charging socket and everything else.


Attached is how I would do the headphones.  The jack socket is a stereo type with at least one isolated Normally Closed set of contacts.  When the headphone are inserted the contacts open, breaking the speaker circuit, while the headphones are driven by one amp as single-ended, one side grounded.  When the headphone plug is pulled out the contacts close and the speakers are driven from each end in bridge mode.
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 16, 2015, 09:21:50 AM
Hi Roly

Thanks for the feedback. I will make the suggested alterations. I am almost too afraid to ask, but is this what you mean re the lamp?

Thanks
Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 16, 2015, 06:02:43 PM
Yep, that'll do it.  :dbtu:

As I said, you can also leave D1 (and R1) out altogether if you like because the relay should never be energised if the battery voltage is above about 14V, which a 12V relay will happily tolerate.


Quote from: SurreyNickI am almost too afraid to ask

We're not that scary I hope.  We are having a friendly discussion here, and once you have spent a large slice of your lifetime learning electronics (and teaching it in my case) you should well understand that nobody was born knowing any of this.

Sadly we seem to have lost Lauren (http://www.ssguitar.com/index.php?topic=3561.0), but that thread was interesting for me because we had to explain everything, an intelligent woman, a teacher, but her exposure to electronics was zero, and I was finding it interesting to see just how many basic things I have internalised and kind of assume that everybody knows - but Lauren reminded me that they don't.  I'm still hopeful that she will return and complete her project.

It's not people who ask questions that annoy (the only dumb question is the one you don't ask), but the very occasional opinionated dweeb who takes instant offense at being asked direct questions, or being given direct instructions, about their equipment.  People who come in spoiling for a fight, the teenage fathead who wants to pick an argument with a couple of hundred years of experience, and quickly get the bums-rush, but anyone who is suitably civil (and I don't mean grovelling, just not smartarse aggressive) such as yourself will find a lot of effort and expertise freely available.

Those of us in the "Brains Trust" have had a long enough struggle with electronics to want others to have good outcomes and are pleased when they do.  Remember, we are not just techs but musicians too.  I started out playing Skiffle when Lonnie Donegan and Elvis were big, and most musicians had a dinner suit and black bow tie...

(http://paulgriggs.ihoststudio.com/Untitled/Lonniepic/IMAG000.JPG)

:lmao:
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 17, 2015, 10:31:21 AM
Not at all scary Roly, quite the opposite in fact  :)

My comment about being almost too afraid to ask was due to my own feelings of inadequacy and embarrassment. All of you have been extremely accommodating and helpful and I am indebted to you.

I read Lauren's thread and it would seem she has either lost heart or simply run out of time. I noted she had a gift deadline. Either way it's a shame and I echo your hope she returns to fulfil the project.

I have a bit more knowledge than she, but not long ago I was in the same boat. Just 8 months back I had absolutely zero knowledge of electronics. I had no idea about Ohm's Law, what resistors, capacitors or any other components did, and no idea about audio whatsoever. I am quite surprised at what I have learned, but there are still so many gaps in my knowledge and I often feel I know nothing! My first love was 1920's valve radios and that's what got me interested in electronics. I read as much as I can, but I'm impatient to make things and see them working. The reward in doing so inspires ever more ambitious projects. Unlike many of this forum's members I do not play an instrument. It is my son who is the musician and for a 16 year-old he is quite accomplished. This amp project is for him. He likes playing and I like making things. A perfect combination  :tu:

Is that you in the picture? It gave my son a good giggle. Not in a disparaging way, just the difference in generations. As a heavy metal fan he looks as you might expect! The closest he gets to a suit is playing cards.

Can I ask a few more dumb questions?
Thanks
Nick
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: Roly on January 19, 2015, 06:34:48 AM
No, that's Lonnie Donegan and his band, early 60's I'd guess.  I must have been about 13 and living in Norfolk when that was taken.  His greatest hits include timeless love songs such as "My Old Man's a Dustman", and "Does Your Chewing Gum Lose it's Flavour (on the bed post overnight)?".  Google "skiffle".

These were the days of The Shadows (http://en.wikipedia.org/wiki/The_Shadows), but also Mr Bland, Perry Como, and the totally politically incorrect Black and White Minstrel Show (beloved by grandmothers everywhere);

(http://upload.wikimedia.org/wikipedia/en/9/9f/Black_and_White_Minstrel_Show.jpg)
(oh Mammy, you wouldn't dare do that today)

...before Radio Caroline (http://www.radiocaroline.co.uk) and the off-shore pirate radio stations, when the only source of pop music was Radio Luxembourg (http://en.wikipedia.org/wiki/Radio_Luxembourg_%28English%29) after dark, and BBC *radio* announcers were still required to wear a dinner suit - truly.

This was about when I was discovering Chuck Berry and why Elvis was so unsatisfying.

I'm actually Australian but I was sent to an English boarding school, and when I turned up the first thing I was asked was did I "dig Elvis?", which was a bit confusing because I didn't even know what an "Elvis" was.




1. The silencing of the internal speakers is automatic; saves you a switch.

2. Everything stays as before, the detail is around the headphone socket, how the socket contact bypasses the headphone limiting resistor, the rest is "skeletal", detail omitted with just enough to show the lay of the land.

3. Yes.  If it turns out to be too limiting (which I doubt) you can always use a pair in parallel.  The main difference between 10W and 15W will be to extend the charging time slightly.

4. The output power is;

P = E2/R

where;
P = power in watts
E = the RMS voltage across the load
R = the load impedance

For a sine wave the RMS voltage is given by 1/root(2) = 1/1.414 = 0.707 times the peak voltage.

The peak voltage is half the peak-to-peak voltage, but in a bridge the peak-to-peak is double the supply voltage, so the peak voltage is equal to the supply, 12V.

12 * 0.707 = 8.484VRMS

(or 12/1.414 = 8.48656294V)

So power out is;

P = (8.484)2 / 4 = 17.994564 watts (assuming two 8 ohm speakers in parallel)

Well 18 ain't 20, but you're not going to hear the difference, 18 watts into reasonably efficient guitar speakers is going to be plenty loud enough to piss off the neighbours.




There are three important relationships that are worth pasting in your hat.

The first is that the Root-Mean-Squared value of a sine wave is exactly the same as the effective DC value (i.e. will produce the same heating effect in a given resistor).  1VRMS sine == 1VDC.

The peak value of a sine wave is equal to root(2) times the RMS value (where root(2) is the square root of two, 1.414...to four sig figs).  Conversely the RMS value is equal to the peak value divided by root(2) (which is the same as multiplying it by 1/root(2) or 0.707, take your pick).

This means that we don't have to deal with some nasty Calculus like;

e = Integral t=0 to t=Pi Epk (Sin theta + phi)

...and can simply apply Ohm's Law as if we are dealing with DC. (phew!)


The second is Ohm's Law.

E = I * R

(my mnemonic is that "E is always on top")

You only need to remember one form and how to do simple transpositions.


The third is the Power Law.

Power engineers tend to remember;

P = I2 * R  to remind them that waste rises as the square of the current (always going on about "I-squared-R" losses), while electronics bods tend to remember;

P = E * I

...and again you only need to remember one form and a smattering of high school algebra.


You don't have to go much deeper, but you really can't escape some multiplication, division, and the occasional square root (which nobody expects you to derive on your own, just knowing when to push that calculator button).
Title: Re: Help designing schematic for 10W+ stereo portable mini amp
Post by: SurreyNick on January 22, 2015, 07:23:50 AM
Hi Roly

First off my apologies for not replying to your post sooner. It's been very hectic for a few days  :duh
Thank you very much for explaining the power calculations. That's most helpful and useful. The information is safely stored away :)

I have vague recollections of seeing the Black and White Minstrels on TV when I was a kid. My mum and dad loved them! Very different days those.

I'm going to build the amp as per the schematic and shall be ordering the components in the next few days. I'll keep you and JMF posted on progress.

Thanks again

Nick