Noob question: guitar pedals... - Page 1
Forum section: electronics / beginners

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 01:40:29 am
content: Hi all,I am learning electronics for a while and I finally got a "nice" oscilloscope and function generator. I have a Rigol DS1054Z (unlocked) and a Siglent SDG2042X (unlocked).So, I am trying to make a very simple guitar pedal test and I just don't understand the outputs. Probably is something related to impedance that I just don't know.It is a "overdrive pedal", which just means that it suppose to give a small amplification and a smooth distortion on the signal.Setup:I am taking the Signal output from the function generator, connecting to a BNC T, and that T connects to the pedal input and the Oscilloscope Channel 2. The pedal output connects to the oscilloscope Channel 1. Very simple setup. Signal is 2kHz (very common guitar level) at 750mVpp.What I don't understand:1) Why the input signal moves in phase a little when the pedal is on?2) Why the output signal is "weaker" than the input signal? Being an overdrive I was expecting the opposite.3) Why, if I change the "gain" on the pedal, the wave just don't change?Thanks!Bernardo Silva

author: Audioguru
author_rank: Super Contributor
timestamp: March 17, 2018, 03:47:36 am
content: I think that overdrive causes severe clipping distortion. the distortion is reduced by integrating the signal with a lowpass filter that cuts high frequency harmonics which adds a small delay (phase shift).Poor circuit design causes the output level to be reduced.Changing the gain does not affect the severely clipped signal.

author: Shock
author_rank: Super Contributor
timestamp: March 17, 2018, 04:05:07 am
content: Quote from: bsas on March 17, 2018, 01:40:29 amI'll give it a stab.1. Is the pedal true bypass? Is it analog, digital, buffered? Perhaps when it is on there is a slight delay (as in lag) in the signal.2. The output could be limited in order not to drive the input of the next pedal hard. You could probably test for this by varying the input a little and playing with the controls on the pedal.3. The input signal is pretty flat, so gain between 0-10 does nothing? What if you use a distorted signal does that change it? How about other frequencies? Square wave?You might want to try the FFT function of the scope and look up how to perform a sweep test also, they might reveal more than you're seeing.

author: Brumby
author_rank: Unknown
timestamp: March 17, 2018, 04:31:26 am
content: Quote from: bsas on March 17, 2018, 01:40:29 amThe key to this is in the name: "overdrive pedal". In a general sense, "overdrive" means a signal that is greater than can be handled without distortion. This pedal is designed to distort the input signal and while there are many ways to do this, perhaps the simplest is to amplify the signal to a point where it clips. Where this clipping level occurs will affect the amount of distortion and subsequent filtering will change the tone.Don't get too caught up with a minor difference in amplitude between the input signal and output signal. While these pedals should (ideally) provide a unity gain path, they are often close enough and guitarists aren't usually that fussed and will simply adjust a volume somewhere else.

author: Bassman59
author_rank: Super Contributor
timestamp: March 17, 2018, 05:21:56 am
content: Quote from: bsas on March 17, 2018, 01:40:29 amIt’s odd, but many fuzz boxes have outputs which are quieter when the fuzz is on. This is why, at sound check, I have guitarists go back and forth between clean and distorted sounds, and have them adjust the fuzz output level so the two sounds are the same level. Or maybe the fuzz is louder.QuoteBecause it’s a clean gain control that comes after the distortion stage. It allows for the level matching I describe above. You don’t want the output gain to distort more, because that just makes mush.Many guitar amps have a preamp gain control, which allows you to dial in the overdrive, and a master volume, which sets the actual output level.

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 05:29:28 am
content: Quote from: Shock on March 17, 2018, 04:05:07 amIt is a very common pedal, Ibanez mini tubescreamer. So, answering your questions:1. - It is true bypass and analog. But when it is on, it is obviously buffered (TS-808 circuit if I am not mistaken);2. and 3. - I tried to sweep from 100Hz to 20kHz and obviously there is a big difference in curve (bode plot changes because of the EQ that the pedal implies), but the amplitude doesn't change. Even with volume and gain at max!

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 05:31:10 am
content: Quote from: Audioguru on March 17, 2018, 03:47:36 amIt suppose to distort, that is fineWhat I really don't understand is why the amplitude reduces, and why the pedal changes phase on the "input". Changing on the output is OK, depends on the design of the circuit, I get it. But why the input is modified? Isn't the input buffer suppose to isolate it?

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 05:33:01 am
content: Quote from: Brumby on March 17, 2018, 04:31:26 amIt makes sense, and I know that an overdrive pedal suppose to distort the output signal. But the also suppose to increase the volume of it, so, it suppose to be at least higher than unity gain, am I right? That is what bothers me, the fact that the output signal is lower in amplitude...

author: Bassman59
author_rank: Super Contributor
timestamp: March 17, 2018, 05:40:38 am
content: Quote from: bsas on March 17, 2018, 05:31:10 amLooks to me like the input signal (blue in your traces?) amplitude doesn’t change.The distortion output (yellow) looks phase shifted with respect to the input (blue) trace because of the distortion circuit. The clipper circuit (IC 1Ahere) is highly non-linear and the wave shape (and hence your scope trigger point!) depends on when the clipping diodes turn off and on.

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 06:00:56 am
content: Hmmm, I noticed some dumb error from my side. Looks like a guitar pickup output is far weaker than I thought.I just measured my own guitar with full volume and it never crossed 200mVpp... When I use a weaker signal (like the guitar) the pedal "kind of behaves as expected, increasing the output. But, now the "new challenge" is that when I plug my guitar straight to the pedal, and that to the oscilloscope, the pedal amplifies that signal far more than the signal that comes from the function generator. Now, I am suspecting of an impedance mismatch since guitars are famous to be high impedance (high Z) sources...So, is there any way to force my function gen to be high Z?

author: Bassman59
author_rank: Super Contributor
timestamp: March 17, 2018, 06:05:31 am
content: Quote from: bsas on March 17, 2018, 06:00:56 amTry setting the signal generator to have an output on the order of the 200 mV you see from the guitar.

author: bsas
author_rank: Regular Contributor
timestamp: March 17, 2018, 06:21:23 am
content: Quote from: Bassman59 on March 17, 2018, 06:05:31 amThat is what I did.

author: newbrain
author_rank: Super Contributor
timestamp: March 17, 2018, 02:26:37 pm
content: Quote from: bsas on March 17, 2018, 05:31:10 amWhile you had a number of good answers for the other points, it seems this one has not been directly addressed.As many said, when the filter is switched on some phase shift (delay) will be added to the output signal.Now, look at the settings of the scope, especially which channel is used for triggering, can you now see why the output waveform appears to stay where it is, and the input one moves (left, showing it it has got an earlier phase)?Hint: the input signal is not really changing.

author: isobig
author_rank: Contributor
timestamp: March 18, 2018, 12:34:10 am
content: Hey bsas! I have the same o-scope and gen as you... and I also play guitar. ;-) I just got the generator and plan on using it to align the IF stages of an AM/FM radio kit I am building. Also plan on using for diagnostics on guitar amps and such. Good luck with your pedal project!

author: bsas
author_rank: Regular Contributor
timestamp: March 18, 2018, 01:19:46 am
content: Quote from: newbrain on March 17, 2018, 02:26:37 pmA ha! Got it!Awesome everyone, thanks!!!

author: bsas
author_rank: Regular Contributor
timestamp: March 18, 2018, 01:21:14 am
content: Quote from: isobig on March 18, 2018, 12:34:10 amAwesome! I am right now just using pedals as a good start for simple analog electronics learning tools. And since I play guitar (obviously) I can get something useful out of my learning processBest of luck with your radio kit!

author: Nerull
author_rank: Frequent Contributor
timestamp: March 19, 2018, 04:55:08 am
content: Quote from: bsas on March 17, 2018, 05:33:01 amAn overdrive pedal is supposed to replicate the sound of an overamplified signal. There are many ways to do that other than actual amplification.The output signal does not come directly from the overdrive stage.