Beginner questions on producing "perfect" square waves

Started by ThinkingMan, September 23, 2019, 07:21:05 PM

Previous topic - Next topic

ThinkingMan

Hey guys, first I wanna say really sorry if my question seems embarassing and dumb because I'm an absolute beginner. So, no matter if we're using germanium, silicon, LED, etc. as long as we're using Schmitt trigger circuit we will produce "perfect" square waves with sharp edges. Isn't it? Because I saw a video where someone plug a red germanium Fuzz Face into his o'scope and the square waves look almost perfect with sharp edges. Generally, only silicon fuzzboxes will produce "perfect" square waves with sharp edges because they are higher in gain compared to germanium. This is the video where he plugged in the red germanium Fuzz Face into his o'scope and the result is it is producing almost perfect square waves with sharp edges. https://youtu.be/C1GppYLkoT4

Knowing that Fuzz Faces regardless if it is using germanium or silicon transistors, all Fuzz Faces will produce almost perfect square waves because Fuzz Faces use Schmitt trigger circuit. Am I right?

The man in the video also plugged his Shin Ei Companion fuzzbox into his oscilloscope and the resulting waveforms are not square waves at all. The funny thing is the Shin Ei Companion fuzzbox used silicon transistors, which means it should produced much more perfectly looking square waves compared to the red germanium Fuzz Face. So, I think Shin Ei Companion fuzzbox doesn't use Schmitt trigger at all thus it doesn't produce square waves. Isn't it?

Rob Strand

The problem is hearing with your eyes.  Small differences on a CRO can be quite different to the ear.

Here's a *test* circuit for opamps:


On the CRO a lot of opamps would look similar but you can hear small differences.   There's a point where your eyes cannot see the difference but your ears still can.

The differences are hidden in the sharp transition zone and the small curve just before clipping occurs.
Send:     . .- .-. - .... / - --- / --. --- .-. -
According to the water analogy of electricity, transistor leakage is caused by holes.

ThinkingMan


Phoenix

A traditional fuzz circuit like a Fuzz Face is NOT a Schmitt trigger.

You're also generalizing too much: ie. silicon is higher gain than germanium. While in general silicon transistors are higher gain than germanium, this is far from always true - silicon power transistors are usually significantly lower gain than small-signal germanium for instance, and regardless, the type of device used is far less important than the circuit it is used in. I can very easily take a high gain silicon transistor and put it in a circuit with a gain of <1, and a low gain germanium in a circuit with far higher gain. Everything depends on context.

Also, you seem rather preoccupied with the concept of "perfect" square waves. There is no such thing. All real-world square waves have some rise-time and fall-time, so they are not mathematically perfect.

Certainly, close to ideal square waves are rarely what we want in the guitar world, as most find that sound rather unpleasant. Square waves have much more application in the analog synth world.

ThinkingMan

#4
It doesn't have to look perfect in the real world, that's understandable that there is no such thing as 100% perfect square wave in the real world but we can see square waves that are almost perfect with sharp edges in the digital world, in the oscilloscope, etc. such as these pictures below (I got these picture from the youtube video link I shared previously)


Germanium red Fuzz Face producing almost perfect square waves with sharp edges in the oscilloscope


Shin-Ei Companion fuzz, despite using silicon transistors, doesn't produce any square waves at all in the oscilloscope

But isn't Fuzz Face circuit is based on Schmitt trigger? Mostly when I'm surfing on the Internet, most people said its circuit is based on Schmitt trigger squaring circuit.

Phoenix

#5
Quote from: ThinkingMan on September 23, 2019, 10:19:47 PM
It doesn't have to look perfect in the real world, that's understandable that there is no such thing as 100% perfect square wave in the real world but we can see square waves that are almost perfect with sharp edges in the digital world, in the oscilloscope, etc. such as these pictures below

You're forgetting that human hearing has a FAR greater dynamic range than can be displayed on an oscilloscope for an entire waveform. Our ears have a dynamic range on the order of ~140dB. Any normal digital oscilloscope only has an 8bit/42dB range. This is NOT to say that "humans can hear things an oscilloscope can't display" or any nonsense like that, only to point out that in order to display ALL the things we can hear on a scope requires that we zoom in. Displaying the entire waveform like that loses a lot of important details, which is what Rob was trying to get at earlier.

And comparing two different circuits in that manner is not valid. They are different, it is expected that they behave differently/give different results. That's like saying: "This apple tastes different from this orange, but they're both fruits, so why do they taste different?".

Quote from: ThinkingMan on September 23, 2019, 10:19:47 PM
But isn't Fuzz Face circuit is based on Schmitt trigger? Mostly when I'm surfing on the Internet, most people said its circuit is based on Schmitt trigger squaring circuit.

Based on ≠ same as. That claim is also rather tenuous to begin with in my opinion. Remember, just because you read something on the internet does not make it true. Compare the schematics of a Fuzz Face to a 2 transistor Schmitt trigger. While they bare a visual similarity (as any two transistor circuit does), that's about the extent of it. Functionally they are very different.

You've asked this question or similar a couple of times now. And you have seemed disappointed with the responses you've gotten.
Quote from: ThinkingMan on September 23, 2019, 08:26:49 PM
Sorry but I want direct answers to my questions.
So what's your real question?

EDIT:
And that Fuzz Face trace is not even CLOSE to a perfect square wave. Duty cycle is way off, distinct slope on the lower half of the waveform. If that's how you define a "perfect square wave" it's no wonder there has been confusion and people giving you unsatisfying answers. I, for one, no longer have any idea what it is you are asking.

ThinkingMan

So we can tell which sound is square wave without seeing it on an oscope while knowing Shin-Ei Companion fuzz doesn't actually producing square wave sounds? Is that what you mean?

Ok, so it is like this. If anyone make a fuzzbox based on Fuzz Face circuitry and use either germanium or silicon transistors it will produce nearly square waves on oscilloscope while if someone make a fuzzbox based on Shin-Ei Companion fuzz and use silicon transistors it will not produce any square waves because of the differences of how its circuitry is set up. No?

So what's my real questions? Did all Fuzz Faces regardless if it is germanium or silicon transistors produced nearly perfect square waves on oscilloscope? Why did Shin-Ei Companion fuzzbox didn't produced any square waves on o'scope like what the previous photos had shown despite using silicon transistors? Maybe other fuzzboxes have different setup compare to Fuzz Faces?

ThinkingMan

So, what would ideal or perfect square waves look like on the oscilloscope?

Rob Strand

#8
Dude, take a step back.

QuoteBut isn't Fuzz Face circuit is based on Schmitt trigger? Mostly when I'm surfing on the Internet, most people said its circuit is based on Schmitt trigger squaring circuit.

Phoenix already answered that and your other questions.
QuoteA traditional fuzz circuit like a Fuzz Face is NOT a Schmitt trigger.

A high percentage of the stuff on the internet is misguided rubbish.  So don't take it as true.  Quite often videos seem to make sense to untrained Ninjas like yourself but to Master Ninjas it's total crap!

You have to change these beliefs:
- the idea of perfect square waves
- silicon means near perfect squares
- germanium means imperfect square waves
- a Schmitt trigger is the only way to get a square wave

The reason you have a dilemma is because you believe these to be true but the examples you gave are showing them to be false.

Read over Phoenix's post again.   He pretty much squashes all those beliefs.
Send:     . .- .-. - .... / - --- / --. --- .-. -
According to the water analogy of electricity, transistor leakage is caused by holes.

Phoenix

Misconception number 1: All fuzzes produce square wave outputs.
No, not all fuzzes produce square waves.

Misconception number 2: All fuzzes use the same circuit, only differing transistor type.
No, there are many, MANY different fuzz circuits. The Shin Ei has a COMPLETELY different circuit than the Fuzz Face.

Misconception number 3: The Fuzz Face produces "nearly perfect square waves".
They most certainly do not.

Phoenix


ThinkingMan

Thanks for the responses, guys. Can we achieve such square waves with four equal sides and four equal angles on the oscilloscope? If it is possible, how?

Phoenix

Quote from: ThinkingMan on September 23, 2019, 11:11:59 PM
Thanks for the responses, guys. Can we achieve such square waves with four equal sides and four equal angles on the oscilloscope? If it is possible, how?

Easy, use the in-built calibration signal on the oscilloscope. This is always a square wave, and is almost always 10kHz. It will always have better rise-and-fall-times than the bandwidth of the scope is capable of displaying. This is used for calibrating your probes. Only the cheapest and oldest scopes do not have this.

Sooner Boomer

It's not too hard to make a circuit that will give a perfect square wave when hooked up to an o-scope.  It's a lot harder when you have to drive a real world load.  You can "generate" the perfect waveform (whatever shape it may take), but real world loads aren't just restive; loads are capacitive, reactive, reluctant, and just downright nasty to deal with.  Be warned.

I don't think a fuzz face-style circuit is going to give you a square wave.  Look up the circuit for "Shoe Pixel", and listen to it on youtube.

Don't believe anything I write, I make it all up - including this.
Dan of  ̶9̶  only 5 Toes
I'm not getting older, I'm getting "vintage"

ThinkingMan

Quote from: Phoenix on September 23, 2019, 11:15:06 PM
Quote from: ThinkingMan on September 23, 2019, 11:11:59 PM
Thanks for the responses, guys. Can we achieve such square waves with four equal sides and four equal angles on the oscilloscope? If it is possible, how?

Easy, use the in-built calibration signal on the oscilloscope. This is always a square wave, and is almost always 10kHz. It will always have better rise-and-fall-times than the bandwidth of the scope is capable of displaying. This is used for calibrating your probes. Only the cheapest and oldest scopes do not have this.

Is there a sound example of that?

Back to the fuzzboxes producing square waves, we can conclude the germanium red fuzz face produce square waves while the shin-ei companion, despite using silicon transistors, doesn't produce any square waves like what the pictures show. Why is that happen? Because of different circuits? Can you explain?

ThinkingMan

Quote from: Sooner Boomer on September 23, 2019, 11:56:56 PM
It's not too hard to make a circuit that will give a perfect square wave when hooked up to an o-scope.  It's a lot harder when you have to drive a real world load.  You can "generate" the perfect waveform (whatever shape it may take), but real world loads aren't just restive; loads are capacitive, reactive, reluctant, and just downright nasty to deal with.  Be warned.

I don't think a fuzz face-style circuit is going to give you a square wave.  Look up the circuit for "Shoe Pixel", and listen to it on youtube.

Don't believe anything I write, I make it all up - including this.

Yeah I dont believe you at all... Lol.

I don't think we can produce perfect waveforms in the physical world. Thats for sure. Is there any video or photo that shows the resulting waveform of Shoe Pixel?

Phoenix

Quote from: ThinkingMan on September 24, 2019, 12:40:51 AM
Is there a sound example of that?
Google is your friend.

Quote from: ThinkingMan on September 24, 2019, 12:40:51 AM
Back to the fuzzboxes producing square waves, we can conclude the germanium red fuzz face produce square waves while the shin-ei companion, despite using silicon transistors, doesn't produce any square waves like what the pictures show. Why is that happen? Because of different circuits? Can you explain?
Yes, as explained previously, they are different circuits. The transistor type difference is the least of the differences. If you put silicon in the fuzz face it would still behave similarly, or if you put germanium in the Shin Ei it will not suddenly start producing square waves. One's an apple, one's an orange. They may both be fruit, but they are very, VERY different.

You still seem to be entering this discussion with some preconceived ideas, ones which you need to reevaluate. Please re-read through some of the earlier posts in the discussion which have highlighted these issues.

ElectricDruid

Quote from: ThinkingMan on September 23, 2019, 11:11:59 PM
Thanks for the responses, guys. Can we achieve such square waves with four equal sides and four equal angles on the oscilloscope? If it is possible, how?

A genuine, perfect square wave isn't required to have all four sides the same. Think about what happens when you turn the volume down, or up ;)  For any given frequency, there will be one amplitude where the height of the waveform equals the period of the waveform, but that's a fluke and nothing to do with its "squareness" in the harmonic sense.

Analog synth oscillator chips like the CEM3340/V3340/AS3340 generate very good quality square waves across the audio range (and ramps and triangles too) if that's what you want to do. If you want a wider frequency range, you're talking about a "function generator" which is lab equipment to do this job.

Ben N

  • SUPPORTER

GibsonGM

You could look at some 555 astable circuits (set up as PWM!), and then attach one to a speaker to hear a 'near perfect square wave'.   I mean, a 555 doesn't get 100% duty cycle, so it's not PERFECT, but will be FAR more perfect than a FF.   Of course, the output is only one frequency, so it will be quite bland, but it will still have the sound of a square wave.    I describe that as "Crap"...
  • SUPPORTER
MXR Dist +, TS9/808, Easyvibe, Big Muff Pi, Blues Breaker, Guv'nor.  MOSFace, MOS Boost,  BJT boosts - LPB-2, buffers, Phuncgnosis, FF, Orange Sunshine & others, Bazz Fuss, Tonemender, Little Gem, Orange Squeezer, Ruby Tuby, filters, octaves, trems...