Thanks for all the feedback guys, I appreciate the sanity check.
I'm sorry I didn't get back a bit sooner, but I was getting over some weird illness I picked up. I think it was a cold, but I'm not sure. I know I didn't have a serious fever thanks to my multimeter's temperature function (no other thermometer in the house). Thought you guys might get a chuckle out of that one.
More responses and information I forgot to mention earlier (that was likely important) follows. I had to put together this response over several hours, so I apologize if it seems a bit disjointed.
well consumer grade parts work up to 70 C so your getting quite near thas unless it is a 85C chip (check the datasheet)
You've got it right, the chip on the board isn't marked as their industrial temp version so it's good to 70C ambient. They list the junction max as 150C, and a quick skim through the thermal data implies that at max power it'd be borderline overheating. It's interesting to see that such a large supply rail overdrive isn't producing proportional thermal problems. I bet the answer's in the equations somewhere, I'll have to go back and look through the thermal design sections of the big grey book again.
Cheap piece of crap practice guitar amps all have that problem. For starters, probably the top is unshielded. If your buddy has a cheap guitar amp, probably he has a cheap guitar too and it's unshielded on the inside. If he has single coil pick-ups, rather than "humbuckers," then there will always be hum without special noise-gate pedals.
Yeah, the top and short sides are unshielded. The guitar's actually fairly good, it's got multiple pickups (the arrangement of which I don't completely understand) and the cable's decent. Between his experience using other people's amplifiers and the testing I did on his guitar/cable pair with a slapped together, shielded, single transistor grounded emitter amp I'm confident that the problem (or the largest part of it) is in the guitar amp itself. It is the cheapest one ever made by Peavey, so it definitely fits into the 'crap' category.
Overdriving that op-amp could be done for distortion. It's not ideal distortion, mind you, but they probably don't care about that in such a budget application. Often high-performance silicon is sold with lower ratings in order to create multiple product lines.. maybe this is another case like the Rigol ADC chips. That's just two ideas.
True. I think the opamp is just used for summing and low-ish gain buffering in this circuit though. There's a large discreet block dedicated to Peavey's tube simulation distortion, but I'm just beginning to understand the subtleties of deliberate distortion. It's a bit of an odd concept at first.
I think you're barking up the wrong tree. Shield the guitar, shield the amp chassis, then use shielded wire from the amp's guitar input jack to the circuit board (unless it's mounted on a PCB, which is likely). Look for ground loops, but again, there's not much you can do about this because likely it's on the PCB.
The amp is symptomatic with nothing attached, and plugging appropriate things into the jacks has had no effect for better or worse on the hum. It's amplitude tracks with the volume knob, so I'm guessing it's leaking in somewhere between the power stage and the input jack.
As an aside, I've saved up for the last four months or so, and I'm halfway to a Rigol scope. I'll definitely pick up an analog scope later on, but I think the value of the extra features (like rudimentary FFT with wider bandwidth than a sound card) is worthwhile enough to keep saving. It's things like this that really burn when there's no scope handy.
Is it low-frequency hum? Then it's from the power supply - something is feeding out from there. Is it high frequency whine? Then there's probably a switched-mode power supply with crappy filtering.
It's definitely power supply hum, it's measurable at 120Hz steady on the multimeter. The power supply is definitely linear and not particularly well filtered, I'm just not sure where it's leaking into the signal yet.
Bottom line, I don't think you can do much about it, and I think your buddy needs to buy or build a better amp instead of worrying about this, but good luck.Troubleshooting for tube guitar amps - some good tips
The plan is for me to develop enough understanding to work up a good amp for future use, this endeavor is just a start. I felt it would be good to know why this one's misbehaving, even if it was a wild goose chase. I know this flies in the face of common sense a bit, but I've got the free time and it's become a bit of a vendetta.
Put a voltage divider between VCC and the op-amp.
That was my first thought too, and I will try that when I get clearance from the owner to perform permanent modifications. I'd probably do both rails, as it's running from a split supply. All I've done so far is desolder twenty or so key parts to check them for function. I've got some extra 317s and 337s lying around, so I might redo the whole power system, but (as Ross was saying) that's really polishing a turd.
This is probably not the case, but also fluorescent lights create lots of hum
I mentioned that to my friend before I had a chance to go out there. He tried the amp in the garage with nothing else on within 20ft and nothing changed, so I got to rule that out early. When I first started tinkering with the amp I thought of the bit I'd heard somewhere about the photoelectric effect in glass cased diodes causing weird problems. We did manage to rule out these problems in the end. I did notice that he never batted an eye while I was trying (or asking him to try) all this stuff. It's gotta look like made up voodoo to someone who doesn't know why it might or might not help. I'd have been saying, "Uh, ok, but how's that going to help anything?" He probably didn't want me to go on another electrorant.
Some things to try:
If J1 is not grounded when unused it could pick up 50-60Hz hum
Check if CD input jack is not shorted, if it is it will make IC2B a voltage follower instead of a differential amp and will easily amplify ripple
The jacks themselves are kinda crappy, the spring terminals rest lightly on their seats to short the connection when unused. They're easily bent out of shape and stand open, causing what you're describing with J1. I noticed this when I hooked up his guitar to see if the noise changed, and noted it to be worse that it started after the guitar was unplugged.
I see what you mean about IC2B (I think). I'll check it at the trace level on the pcb, and maybe pull out R40 and R41 just to disable it altogether for testing.
Some of power supply ripple could be fed into the amp stages, from other means, if you have a large cap handy, carefully place it across the + and - lead of the full wave bridge, it should reduce the ripple, and possibly the hum if this is the culprit
Usually powering amps above their rated power should cause distortion and overheating, but not hum pickup
Excellent idea, I should have thought of this earlier! I've got to dig for something with a high enough voltage rating. I think most of my larger caps are 50V rated, which might be cutting it a bit close. I think I'll wire it in temporarily just so I don't have to hold it in my fingers.
The last bit matches my intuition, but it's good to know it's true.
Summary
With your help, I think I've ruled out most of the easy stuff. If it's not something mentioned above that I've yet to test then I'm inclined to think it's either one or a few bad discreet parts or board layout. Either way, I'm fairly confident that it's not a silly simple problem that I've overlooked, and that makes me feel much better.
Thanks again everyone for your input.