Showing posts with label guitar mod diy project tone circuit volume balance rotary switch coil cut. Show all posts
Showing posts with label guitar mod diy project tone circuit volume balance rotary switch coil cut. Show all posts

Sunday, May 16, 2010

Partial Implementation of Active Guitar Circuit

Introduction
A good number of my parts came in on Friday, and I spent yesterday putting together a prototype of my circuit.  I'm missing the new blend pot, but I did get the AD706's, the 10K 1% tolerance resistors, and some other things.  I chose 1% tolerance to be precise with the relative gains between neck and bridge.

Armed with these new parts, a 12V wall wart, a breadboard, and some solid core hook up wire, I decided to implement part of the circuit, specifically the summing amplifier.  The neck/blend/bridge switching will be done manually on the breadboard, and the series/parallel/coil cut will be implemented later when I'm ready to dismantle the electronics all together.

Preparation
For a power supply, I snipped the barrel off of a 12V wall wart.  This will give me +-6V, which is well within the +-18V max that the chip will take.  I hooked up the power supply with 10K resistors (I will use 1M at least later to cut down on current draw). 9V will be a little less of course.

To hook up to the guitar, I had to isolate the feeds from the neck and bridge pickups.  I did this by disconnecting the 3-way switch from the volume pots.  Since each pickup has its own volume pot, I traced the wires back to the pickups and identified which was which.  I marked these with a sharpie.

I used alligator clips to tap into the guitar's circuit at the appropriate places.  For the pickup signals, I clipped onto the (newly disconnected) wipers from the pickup volume pots.  This allowed me to still use the pots to adjust blend and volume.  For the ground, I just picked a place.  For the output from the circuit (through the tone pot to the amp) I clipped into the wiper on the tone pot, which has previously been connected to the output of the 3-way switch.

Modified Guitar Wiring

With alligator clips.  Green=Gnd, Red = Neck, Black = Bridge, White = Output

It was very easy to connect to the solder lugs.  Alligator clips are a must for doing all prototyping.  

Guitar hooked up to circuit.  Yes I sat and played it like that and had the courage to hook it up to my amp (with very low volume that is).

This is the circuit.  Very simple.  Up on the top left of the board, I hooked up the 12V supply.  It's hooked up through an ammeter with the yellow and red alligator clips.  The two capacitors are the power supply.  You can't see the resistors underneath.  The small vertical jumper is the ground connector.  (actually that is a virtual ground too).  The chip is of course the 2 AD706's.  Far left blue rail is -4.5V.  Left red rail is 4.5V.  Right blue rail is ground.  
From a different angle, you can see the two adjacent resistors with the neck and bridge pickups connected (red and black).  Take a moment to admire the exactness of the wiring lengths.  You can also see the feedback resistor next to the yellow alligator clip.

The circuit pulls 1.397 milliamps no matter what I'm playing, even with no playing.  This will be reduced because I will use higher resistors for the power supply and a lower supply voltage.  Probably 750uA or so of that current is consumed by the opamp.  600uA is from the power supply.  That will drop to 4.5uA when I use 9V and 1M resistors.  So hopefully, it will consume less than 1 mA.  A quick look at an Energizer 9V datasheet says that the capcity is 600mAh at constant 10mA current draw.  So we should get at least 600 hours of operation per battery (probably a lot more). 

Here's a picture of my whole setup.  I'm working on the kitchen bar.  Soon I'll be married and she's promised me a whole room for my stuff.  :)  This is the first time I've gotten to use my new soldering iron (though most of this was on a breadboard).  I love it.  It has digital temperature control.  Nice.

Conclusion and Performance
I am thrilled with the performance.  The virtual ground works as expected.  I can turn one pickup all the way down without affecting the other pickup at all.  Right now the volume varies quite a bit because I can adjust each volume separately, but the blend pot should counteract that volume variance, because both will be adjusted simultaneously.  

I connected the neck output directly to the output of the guitar as a test.  The sound was a lot muddier and I lost a lot of treble.  This is solely because of the additional load on the pickup.  I had the tone pot connected to the output of the opamp, and the sound was crisper and brighter.  So providing a constant 500K to the pickups definitely helps the sound, and it's easy to hear the difference by simply connecting the tone pot in parallel.  I expect great performance from the full circuit.  To clarify, connecting the tone pot and capacitor adds a parallel path for the current to flow.  Like an inductor, a capacitor's impedance varies with frequency.  So for high frequencies, it's like having 250K instead of  500K.  For lower frequencies, it's not as bad, but it drops the load impedance to the pickup.  This is what the original setup was like.

The only drawback was that the opamp's output did have a little more hum.  However, nothing was shielded, and the hum got louder based on the position of the bridge pot.  So I expect that proper shielding and the elimination of the long wire runs strung out of the guitar will reduce the additional hum.  

So I declare victory.  I am eagerly awaiting the arrival of the rest of the parts.  Although, it's looking like I will have to wait a longer time to get some new wire from Digikey.  The stuff is $50 bucks for 2 pair 4mm wire 100', and I was hoping I wouldn't have to spend that much when I need so little.  Oh well.  I can keep the rest.  

Thanks for reading,
Bill

Active Guitar Circuit

Introduction
This guitar circuit is the final result of my guitar mod as described a few days ago.  To reiterate, the goals were:
  •  1 knob that always controls volume.
  • Preserve the neck, blend, bridge option with a single knob to control blending between pickups (preferably with a center detent!)
  • 1 switch for switching between series, parallel, and coil cut for both pickups. 
  • 1 switch for switching between neck, blend, and bridge for output.  
  • Provide a more stable impedance to the pickups. Or at least don't let the impedance fall below 500K.  
  • No new holes/ routing in the guitar. Minimal deepening of original routed area, and only if absolutely necessary.  
The Circuit

The two opamps are AD706's (2 per package).  It is available in an 8-pin dip from digikey.  It pulls about 750uA regardless of supply voltage, and since we're dealing with low drive currents, it doesn't ever pull much more than that from the opamp.

I'll explain the circuit from left to right.  The four voltage sources are the 4 coils in the two humbucker pickups.  N= Neck; B=Bridge.  The first set of switches (labeled series, parallel, coil cut) control how the internal coils of the pickups are wired together.  All four switches reside in a single rotary switch.  The switch is a 4 pole 3 position switch, and the connection scheme is shown below.
 The second set of switches (labeled neck, blend, bridge) controls how the two pickups are wired together.  This is a vast improvement over the original wiring.  Originally, each pickup had its own volume control.  In the middle position on the 3 position switch, the two taps were shorted together.  Here, the two inputs are fed into a summing amplifier (the first opamp).  That deserves its own section...

The Summing Amplifier
The first opamp is connected in a summing (and inverting) amplifier setup.  The two signals from the pickups are summed and amplified (with unity gain) so that we get exactly the same thing we had before, but 180 degrees out of phase.

Maybe you're saying, "But that's the same thing we were doing before."  But you would be wrong.  The only reason to use a complicated opamp in this circuit is because it gains us the all-important "virtual ground."

Because of the ultra high gain of the opamp and the negative feedback connection, the opamp will attempt to hold its negative terminal equal to its positive terminal.  In this case, since the positive terminal is grounded, the negative terminal will be driven to 0V by the opamp (making it a virtual ground).  One very important effect of this is that it eliminates crosstalk between the pickups.  No current will flow from the negative terminal back out to the pickups.  So in theory the two pickups should have absolutely no effect on each other.

Also, because of the ultra high input impedance of the opamp, no current will flow into the negative terminal either.  This is also very important.  This means that the opamp introduces no additional load to the pickup.  So both pickups will see 500K of load no matter what kind of blending or switching we do!

After the Summing Amplifier
Opamps are amazing things!  After the summing amplifier, we can use smaller pot values, because the opamp has negligable output impedance (unlike the pickups).  So the opamp acts as a buffer as well as a summing amplifier.  We hook up the tone and volume pots as we would any other pots, except that in my case they are concentric pots so that I don't have to drill any holes in my guitar.  Tone and volume on the same axis of rotation, but separately controlable.

The second opamp in the AD706 package is mostly there to drive the cable instead of the volume pot.  This will enable us to limit the effects of a high capacitance (long) cable.  If you want to undo the 180 phase shift, hook it up as shown.  Otherwise, you can save 2 resistors and make a simple voltage follower.  I'm still considering doing this instead.

Also, I may decide in the end to up the 50K concentric pots.  I will have to do some math to discover what kind of capacitor I will need to make a decent tone circuit.  That is still open to debate.

Power Supply
The only drawback to this circuit is that it needs to be powered. Here's a good way to get a +- power supply out of a battery.  I'll use a 9V battery and get +-4.5V.  I have played around with the idea of adding a diode in series with the battery to make sure that I don't ever accidentally connect it backwards, even for a second.  I will probably do that.  The current draw by the power supply will be very small with these circuit values.  (4.5uA).  So all together we're looking at less than 1mA to run the whole circuit.


Conclusion
This circuit accomplishes all of the goals set out in the beginning of the project.  Only 2 holes are required for pots as well as 2 holes for switches.  There are 4 original holes in the guitar.  I may have to drill down a little bit to get the switches to mount easily in the current holes, but I'm not too concerned about that.  I've ordered all the parts, and I've done a trial run with some that have come in, but that's for the next post.

Thanks for reading

Bill

Wednesday, May 12, 2010

Guitar Electronics Mod

Introduction

 I have been playing guitar since my sophomore year in high school.  That would be 2002, which makes it 8 years since I started playing.  That's a little ridiculous to think about.  At least it's not ten.  Then I would feel old.

A few years ago I bought an EC-100QM Ltd guitar, ESP guitars' second brand.  I love it.  The playing action on it is great.  The frets are pretty high, and I find it easy to play.  Of course, I want to mess with it.

I've already done a similar mod on my first guitar, a Dean Playmate.  Not a high quality instrument, but good enough to start with.  That involved my accidentally drilling through the guitar with an auger bit and filling the hole with bondo.  My goal is to not do that this time.

Reasons for the Mod 
  1.  There are separate volume controls for each pickup on the guitar (humbuckers btw).  They are wired in the configuration shown in figure 1.  Although I do like the flexibility of the wiring scheme, there are at least 3 problems.  a) There is no single volume control knob when in the middle position.  This makes it hard to adjust the volume easily and/or reproducibly.  b) There is no single control to blend between pickups.  That's what we really want here.  There's no reason to have separate knobs, though it is better than simply shorting them together with no control over blend.  c) When blending, the circuit presents a continuously varying impedance to the pickups.  Turning one pickup down low changes the sound of the other pickup due to the decreased load.  Having one pickup turned all the way up and the other turned all the way down shorts the desired pickup to ground and results in silence.  
  2.  I would like to check out the capabilities of humbuckers wired in series, parallel, and coil cut configurations.  The current wiring scheme does not allow for this.
  3. The stock pickups in the guitar are very very very muddy and unpleasant.  I want to replace them with a pair of Seymour Duncan SH-55 Seth Lover pickups that are clean and beautiful.  These are pretty expensive at about $100 a piece.  So that will be the second phase of the project.  It's reasonably easy to modify stock pickups to pull out the leads for each coil.  And if you mess up a little bit, there are so many coils on there, you can afford to lose one or two.  I've done this on my last guitar with success.
  4.  As always, the challenge, and the chance to leverage my electrical knowledge to make something more usable.  Not to mention that I want to get more knowledgeable about analog.  (most of my study was digitally based).

Goals of the Mod 
  1.  1 knob that always controls volume.
  2. Preserve the neck, blend, bridge option with a single knob to control blending between pickups (preferably with a center detent!)
  3. 1 switch for switching between series, parallel, and coil cut for both pickups. 
  4. 1 switch for switching between neck, blend, and bridge for output.  
  5. Provide a more stable impedance to the pickups.  Or at least don't let the impedance fall below 500K.   
  6. No new holes/ routing in the guitar.  Minimal deepening of original routed area, and only if absolutely necessary.  
 To Be Continued...

You know, I'm thinking that one way to keep these posts from being too long is to split them up.  I will describe the project in the first post, and then do background, theory, and implementation in separate posts.  Maybe that will be a good thing.   

Thanks for reading,
Bill