DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: michael_krell on February 09, 2006, 09:11:50 PM

Title: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 09, 2006, 09:11:50 PM
I am trying to get a EHX Doctor Q to work. The problem is basically that I have no range at all. I can find a small notch on the range trimpot that will make it work somewhat, but there is no headroom at all. Not quite sure what the problem is here. Maybe you can help. Heres the schem.


(http://www.mike-krell.com/q.gif)
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Paul Perry (Frostwave) on February 09, 2006, 10:58:07 PM
Maybe the range trimpot is tanished (if itis one of those shitty ones).
Maybe the 10uF electro is dried out.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 09, 2006, 11:54:05 PM
It's not exactly clear what you mean by "headroom".  Do you mean that it clips or do you mean that you simply get very little sweep?

The sensible thing to do is to pull out your voltmeter, setit to AC and measure what you get at the junction of the 10uf cao and the 1N914.  It should be at least a half a volt.  If not, then the chances are very good you are suffering from undersignalitis.  The cure is a heftier guitar signal and an increase in the 2.2Meg resistor.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 10, 2006, 06:46:42 PM
I should have been a little more clear when i said head room. When the trimpot is turned there is an instance where the pedal actually works, but does not work very well. At other spots on the trimpot it either has no volume or no effect at all. When I can get it working it just does not sound good and the range knob on top does not effect the sound at all.

Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 11, 2006, 09:46:23 AM
Okay, that helps.

What transistor are you using?

What value feedback resistor are you using in the gain stage of the envelope follower/detector?

If the sensitivity is turned down, can you hear "re-tuning" the filter by tweaking the trimpot or its panel equivalent?
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 11, 2006, 10:59:57 PM
I took a picture of the transistor that is in the pedal.

It looks like it says B C 238.

I am not really surewhat you mean by the rest of your questions. All the parts should be stock.

(http://www.mike-krell.com/docq.jpg)
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: AzzR on February 12, 2006, 05:10:38 AM
Quote from: Mark Hammer on February 09, 2006, 11:54:05 PM
It's not exactly clear what you mean by "headroom".  Do you mean that it clips or do you mean that you simply get very little sweep?

If not, then the chances are very good you are suffering from "undersignalitis".
That one actually made me laugh out loud!
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 12, 2006, 09:42:31 AM
I hadn't realized it was stock.  When you posted the schematic, I thought you had built it yourself.

I'd recommend reading the paper called "Technology of Autowahs" at my site (hammer.ampage.org  -  the one at geofex is a slightly earlier version), but in the meantime, let's try and fix your headache.

Envelope controlled filters need a big enough input signal to result in audible sweep.  Although the pedal is designed to be able to anticipate a reasonable range of possible input levels and picking styles, it often does not accommodate as big a range as might be really needed for player/instrument X.  That's what I meant by "undersignalitis".  Aside from the usual sorts of errors committed in building things, I find many of the complaints about such pedals stem from simply not having enough "oomph" to make a sweep.

There are two ways to address this, which can be used individually or in combination.  One is to simply provide a larger amplitude input.  The buffer section on the Dr. Quack redesign from Jack Orman does this, but just about any boost in front of the pedal will work, whether fuzzbox, clean booster, compressor, etc.  A second strategy is to boost the gain of the subcircuit that detects the amplitude of the note (the op-amp/triangle) at the bottom of the screen.  The stock version uses a 2.2M resistor (red-red-green) between the input and output of that op-amp.  Increasing the value of that resistor will make the stage more sensitive.  A standard recommendation is to replace it with 2.7M (red-purple-green).  That often ends up providing the needed extra gain to yield a satisfying sweep, even with weaker pickups and gentler picking style.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 12, 2006, 12:49:16 PM
I will read your article, I am sure that will help a bit.

It does not seem to me that there is a problem with not enough signal. I think the problem may be component failure. Once i understand how it works I can make a better call.

Thanks
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 26, 2006, 07:13:24 PM
welp sorry it has taken so long forme to reply. I have replaced all the caps and the IC and the transistor, just to return everything to spec. It did not really change anything. I did notice that the 100k pot on top does not change the sound at all. It seems like when i turn the trim pot there is a small small range where it sounds like it wants to work, but it does not sound good at all. Maybe this info might help. i am sure the problem is with the envelope detector. gracias
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 26, 2006, 07:36:28 PM
OK i traced the envelope detector and i think i might have found something. When i input a 1kHz sine wave and i trace it, I get the 1khz wave riding on 2.5 VDC. At the output of the op amp i am just getting solid 9VDC. Obviously this is not right. I am beginning to think this is an opamp problem. Let me know what you think.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 26, 2006, 08:16:15 PM
Does anyone know if the 1N914 Diodes are required or will any diodes do?
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 27, 2006, 08:39:11 AM
Any silicon diode with a forward voltage of around 500mv is fine.  1N914 and 1N4148 are the most common, but I'm sure there are others.  The critical aspects are that: a) it be oriented the right way, b) that it not subtract more than about half a volt from the envelope signal.  If one was desparate, a pair of Ge diodes in series could be substituted.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 27, 2006, 08:53:07 AM
Ok, then I am sure there is not a problem with the diodes. what kind of output should I be getting from the opamp in the envelope detector if i am driving a 1khz sine wave at the input?
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 27, 2006, 09:13:07 AM
You can calculate the output of the op-amp by calculating the gain of the stage (feedback resistance, divided by input resistance), and multiplying the input signal amplitude by that factor.  The diode on the output will subtract whatever its forward voltage drop is from that amplitude.  So, if the gain is x57 (2.7meg, divided by 47k) and the input signal amplitude is 50mv, then you should see 2.85VAC at the output.  If the diode subtracts 630mv, then you should see about 800vAC on the stripe side of the diode.  Why only 800mv?  Because 2.85VAC swing is achieved when BOTH half-cycles are taken into consideration.  The diode only permits ONE half-cycle to pass, and only allows that portion of the half-cycle greater than its forward voltage to do so.  So, we start with 2.85v, we chop that in half to 1.425, and deduct .63v from that.

The good news is that is you whack the strings real good, keep the sensitivity up high, and deliver 200mv to the follower gain stage, then a gain of x57 gets you the absolute maximum deliverable from that stage which is just shy of 9v.  Chop that in half and subtract a half volt, and your transistor sees a couple of volts for a moment or two.  Understand that the brief full rail-to-rail swing IS brief, and subsides quickly to something more modest.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 27, 2006, 10:30:36 AM
well i guess the problem is at that gain stage, because even if i lift the trace at the output of the op amp and sense I I am not getting anything that resembles a 1kHz sine wave after a gain stage. so, maybe ill focus on that.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on February 27, 2006, 11:41:43 AM
Just for the heck of it, take the wire that goes from the wiper of your sensitivity pot, and solder it to the input lug.  This is what that pot would be electronically equivalent to if turned up all the way, except that any contact issues internal to the pot itself will be ruled out.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on February 27, 2006, 11:46:19 AM
ok, ill try that when I get home today, however I have no problem getting signal after the pot or at the neg input of the op amp. the problem is signal disapears at the output of the opamp.

ill let you know what happens.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on March 03, 2006, 11:39:33 AM
I am sorry, I have not had a chance to look at this yet. I will try to look at it soon
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on March 14, 2006, 07:35:48 AM
Ok,

welp it seems that no matter what I do I cannot get the right signal on the output of the gain stage in the envelope detector circuit. I think im just getting a DC voltage at the output. would it be a good idea to take out the opamp and check the input impedance and the feedback impedance to make sure I am getting the right Ri and Rf?

Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on March 17, 2006, 10:28:46 PM
welp, the impedances are right. I dont know what could be the problem here. I am just about at the end of my rope. anyone have any suggestions?

also, how come in the schematic the sens and range pots are not the same as whats on the pedal????
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: niklas_d on October 29, 2017, 07:27:49 AM
Hey Michael, Hey Forum-members,

More than one decade after your discussion, I discovered this topic. I have excatly the same problem, did you ever find the cause of the problem?

I've cahnged every part that could be broken, OpAmp, transistor and the two PolCaps. Power Supply at the OpAmp is fine (Vcc- 0 Vcc+ 9V), the Sensitivity-Pot and the Trim-Pot seems okay (also tried to bridge the pot), Diodes work unidirectional at round about 0,5V, I/O connections are also fine.
So, I really have no more ideas where to search for the problem. Any suggestions anyone?

Greeting Niklas
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on October 29, 2017, 12:56:05 PM
Make sure that the pinout of the transistor you used is the same as what you thought it was.  Some are ECB, some are EBC.  Some are ECB looking at the flat side, and some BCE, looking at the flat side.  Same with EBC pinouts.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: ElectricDruid on October 29, 2017, 02:13:33 PM
Quote from: Mark Hammer on October 29, 2017, 12:56:05 PM
Make sure that the pinout of the transistor you used is the same as what you thought it was.  Some are ECB, some are EBC.  Some are ECB looking at the flat side, and some BCE, looking at the flat side.  Same with EBC pinouts.

Good point. It's been easy to get that wrong for a lot longer than just one decade...;)

T.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: StephenGiles on October 29, 2017, 02:40:35 PM
Quote from: Mark Hammer on October 29, 2017, 12:56:05 PM
Make sure that the pinout of the transistor you used is the same as what you thought it was.  Some are ECB, some are EBC.  Some are ECB looking at the flat side, and some BCE, looking at the flat side.  Same with EBC pinouts.

You beat me to it Mark! I remember having the same problem when building one of these - before internet of course, so I had to visit our local library (remember them?) to look up the relevant transistor!
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: niklas_d on October 30, 2017, 08:44:42 AM
(Sadly) the transistor is built in correctly: emitter is connected to ground, base (over the 22k) to the trim poti and collector to the input signal to be amplified.

Strange thing is, when I remove one of the diodes I still do not get a good amplified signal at the output of the OpAmp in the envelope-detection-path. That means that the problem would be in before that part, right? But there is only the poti, a cap and a resistor...I've tried 4 new OpAmps, unliky that they are all damaged. The power-supply of the OpAmp is working correctly....I don't have a glue..
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: michael_krell on October 30, 2017, 08:51:16 AM
Wow. i cant believe this is still going! Since my last post I got married, lived in 3 different states and had 3 children. All that to say i can't remember for the life of me what I ended up doing with that Doctor Q. Hope you find your answer.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on October 30, 2017, 10:03:34 AM
Quote from: niklas_d on October 30, 2017, 08:44:42 AM
(Sadly) the transistor is built in correctly: emitter is connected to ground, base (over the 22k) to the trim poti and collector to the input signal to be amplified.

Strange thing is, when I remove one of the diodes I still do not get a good amplified signal at the output of the OpAmp in the envelope-detection-path. That means that the problem would be in before that part, right? But there is only the poti, a cap and a resistor...I've tried 4 new OpAmps, unliky that they are all damaged. The power-supply of the OpAmp is working correctly....I don't have a glue..
If you built it on perf or vero, I will suggest using an existing PCB layout, since all the connection of components will be correct.  Consider using one of the layouts for the Dr. Quack ( http://www.generalguitargadgets.com/effects-projects/filters-envelope/dr-quack-ehx-doctor-q/ ) or Nurse Quacky ( http://home-wrecker.com/nurse-quacky.html ).
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: niklas_d on October 30, 2017, 11:45:15 AM
Ah, sorry, you got me wrong. I try to fix a pretty old EHX Doctor Q. So there should be no layout issue with that. But because I have no hint where to search for the problem, I need to retire the pedal.

(https://s1.postimg.org/2lptfq02xn/Doctor_Q.jpg) (https://postimg.org/image/2lptfq02xn/)
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: ElectricDruid on October 30, 2017, 03:19:59 PM
What op-amp did you use for the replacement? The word is that this circuit is extremely fussy about op-amp choice, with some of the common candidates (TL072, 4558) not working at all. NE5532 and 1458 are both supposed to work.

In my view a circuit that is that fussy about something as basic as an op-amp is a badly-designed circuit. I want something where I can chuck in any old op-amp that I've had kicking around in my parts bin since forever and it still works fine. I hate having to tune stuff, and I hate things where only "selected" parts work - that's just lazy designers not working out why some work and some don't and building it better.

Ok, rant over. Sorry.

T.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: niklas_d on October 30, 2017, 03:49:57 PM
Quote from: ElectricDruid on October 30, 2017, 03:19:59 PM
What op-amp did you use for the replacement? The word is that this circuit is extremely fussy about op-amp choice, with some of the common candidates (TL072, 4558) not working at all. NE5532 and 1458 are both supposed to work.

Indeed that could be the problem! Probably the old OpAmp was busted and I had just some RC4558Ps. I will get some NE5532s and have a try! Thanks so far.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Fancy Lime on October 30, 2017, 04:03:16 PM
Hi Tom,

without checking the datasheets I'm going on a limb here and guess that the fact that the circuit is picky with op-amps has to do with the op-amps ability to deliver current in the envelope follower half. The filter section should work with any old op-amp. But since the envelope follower needs to pump up the 10µ while Q1 drains it, a TL072 or 4558 may just have too weak outputs. They aren't exactly famous for high current applications. Adding a buffer may solve that problem but then you have more parts. I would argue that there is something to be said for few and select parts over generalized but more parts. So I would not dismiss this as "lazy" design right away, although it might be. But it may have been a deliberate choice to make it simpler than it could otherwise be. Generally speaking, envelope followers in many designs seem to be picky with op-amps (at least way more picky than the audio paths), some demanding much more exotic types. I would be very interested in someone more informed than me chiming in on this. Would like to improve over my current "I'll just make it work with a NE5532"-approach.

Cheers,
Andy
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on October 30, 2017, 06:08:57 PM
For a stock Doctor Q it has to be a 1458, or else you won't get sweep.  That was one of the virtues of the Dr. Quack, it compensates for different op-amp types.
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: ElectricDruid on November 01, 2017, 03:56:22 PM
Quote from: Fancy Lime on October 30, 2017, 04:03:16 PM
without checking the datasheets I'm going on a limb here and guess that the fact that the circuit is picky with op-amps has to do with the op-amps ability to deliver current in the envelope follower half. The filter section should work with any old op-amp. But since the envelope follower needs to pump up the 10µ while Q1 drains it, a TL072 or 4558 may just have too weak outputs. They aren't exactly famous for high current applications. Adding a buffer may solve that problem but then you have more parts. I would argue that there is something to be said for few and select parts over generalized but more parts. So I would not dismiss this as "lazy" design right away, although it might be. But it may have been a deliberate choice to make it simpler than it could otherwise be. Generally speaking, envelope followers in many designs seem to be picky with op-amps (at least way more picky than the audio paths), some demanding much more exotic types. I would be very interested in someone more informed than me chiming in on this. Would like to improve over my current "I'll just make it work with a NE5532"-approach.

Yeah, fair comment. The 5532 has a famously powerful output (often used as a headphone driver, for example) so that'd make sense. Having a quick look on TI's site, the 1458 manages 45mA output current, the 5532 manages 38mA, and the 072 only manages 10, so that supports your theory.

I'm not adverse to using a specialised op-amp if the situation demands it, and in the synth world it definitely sometimes does if you want your VCO to play in tune or your filter to track properly. In stompboxland, I guess I don't find that need for precision quite so often, and most stompbox designs *are* extremely forgiving, so perhaps that comes to be expected.

Tom
Title: Re: EHX Electro-Harmonix Doctor Q
Post by: Mark Hammer on November 01, 2017, 04:36:02 PM
In the case of the DQ, what matters is how wide the voltage swing is.  I've tried 6 or 8 different dual op-amp types in the circuit.  Some yield no discernible sweep.  Some deliver a sweep that goes so wide it is unusable. The 1458 is not too hot and not too cold.