2 x square wave oscillators - unwanted modulation

BR-549

Joined Sep 22, 2013
4,928
"when i put the outputs together", What outputs are you putting together? I see one output. You're just switching to ground.

Where are two square waves generated and where are they added?

Edit: you mean two separate boards?
 
Last edited:

BR-549

Joined Sep 22, 2013
4,928
Pardon me, If that's it, you have two boards, the the difference is phase. Which is different than frequency.

It should be a resultant, not a modulation.
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
Pardon me, If that's it, you have two boards, the the difference is phase. Which is different than frequency.

It should be a resultant, not a modulation.
Yes it is two separate boards, as you can see there in the white box and then going down to the aluminium modules. on the right there is a multiple mixer, this is passive. But I found when I use the Ampmix (black mixer module) it has a all out at the bottom and this works! you can see the schematic below.
IMG_2337.JPG

ampmix schematics 1.3.gif
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
The squarewave output is +/- 5v so it works with my synth modules. Yes the module does amplify about 2 times but I keep it in the middle of the pot so the output of the mixer remains +/- 5v.
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
I believe it is something to do with the diode D1 on the schematic. I have seen on other circuits that produce modulation have diodes. This is an educated guess but I will try to get another output from GND and TP.
squarewave.jpg
 

BobTPH

Joined Jun 5, 2013
8,998
I cannot make any sense out of how you have connected things. You need to give us a schematic if you want any better help.

Bob
 

Papabravo

Joined Feb 24, 2006
21,227
Looks like somebody has a great deal of stuff and no clue what he is doing with it. I don't see modulation at all. The clue is that actual modulation requires a non-linear process like multiplication. I can't imaging what square waves through a mixer would even look like. Maybe sums and differences of the fundamental and all possible harmonics in the Fourier Expansion for each square wave. It's all a bunch of DRUMPF!
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
Looks like somebody has a great deal of stuff and no clue what he is doing with it. I don't see modulation at all. The clue is that actual modulation requires a non-linear process like multiplication. I can't imaging what square waves through a mixer would even look like. Maybe sums and differences of the fundamental and all possible harmonics in the Fourier Expansion for each square wave. It's all a bunch of DRUMPF!
Ok Papabravo, I made this all myself this is a DIY project, I know exactly what is going on except for this problemimage.jpeg . I'll send a full schematic tonight.
 

Alec_t

Joined Sep 17, 2013
14,330
Your post #26 schematic shows a circuit apparently intended originally to drive a relay, motor or other inductive load: hence the presence of D1 as a spike-suppressor. Unless you will be driving a loudspeaker directly from the FET (not recommended) I suggest you replace D1 with a resistor in the 1kΩ to 3kΩ range and take your output from the FET drain (point X2-1) via a 470nF capacitor (assuming your mixer has an input impedance > ~20kΩ).
 
Last edited:

Thread Starter

Tony Elliott

Joined May 8, 2015
158
Your post #26 schematic shows a circuit apparently intended originally to drive a relay, motor or other inductive load: hence the presence of D1 as a spike-suppressor. Unless you will be driving a loudspeaker directly from the FET (not recommended) I suggest you replace D1 with a resistor in the 1kΩ to 3kΩ range and take your output from the FET drain (point X2-1) via a 470nF capacitor (assuming your mixer has an input impedance > ~20kΩ).
Yes it is intended to drive a small speaker, that's great advice, thanks!!
 

BobTPH

Joined Jun 5, 2013
8,998
Looks like somebody has a great deal of stuff and no clue what he is doing with it. I don't see modulation at all. The clue is that actual modulation requires a non-linear process like multiplication. I can't imaging what square waves through a mixer would even look like. Maybe sums and differences of the fundamental and all possible harmonics in the Fourier Expansion for each square wave. It's all a bunch of DRUMPF!
If he connected it the way I suspect: one wire of the speaker to both MOSFET drains, and the other to V+, the output would be the AND of the two signals, which is a multiplying operation and would, I think, result in modulation.

Bob
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
Here is the full schematic, as you can see the when the two outputs are connected there is modulation. There are two oscilloscope images, the first is two square separate waves unmodulated, the second is the same two square waves connected (as in the schematic)
Modulated, this is unwanted.


555 4013 modulation.jpg

unmodulated
IMG_2347.JPG

modulated
IMG_2348.JPG
 

Papabravo

Joined Feb 24, 2006
21,227
If he connected it the way I suspect: one wire of the speaker to both MOSFET drains, and the other to V+, the output would be the AND of the two signals, which is a multiplying operation and would, I think, result in modulation.

Bob
When it comes to signals Bob, AND is not the same thing as multiply. Anytime either signal is at 0 Volts you have no output. Riddle me this Bob, how would you demodulate the AND of two square waves. Missing some information to do that are we?
 

BR-549

Joined Sep 22, 2013
4,928
Tony, those two boards are not square wave generators. Neither one generates a square wave.
Those are called low side switches. They switch power to a load, on the low side, (the return path, sorta speak), of the circuit.

May I see a schematic or photo of your "passive load"?
 

Thread Starter

Tony Elliott

Joined May 8, 2015
158
Tony, those two boards are not square wave generators. Neither one generates a square wave.
Those are called low side switches. They switch power to a load, on the low side, (the return path, sorta speak), of the circuit.

May I see a schematic or photo of your "passive load"?
Low side switches, that's interesting I'll have to look into this! Here is the passive mixer
image.jpeg
 

GopherT

Joined Nov 23, 2012
8,009
What signal do you want out of this mess and where are your probes placed on your scope image?

Also, why just use three pots when we have the technology to make summing amplifiers and avoid this mess.
 

BR-549

Joined Sep 22, 2013
4,928
Disconnect the connections at X2-1 and X2-2. Energize the board and see what the signal at TP looks like with your scope. That's the gate of Q2.
My question is, why do you want to mix the two signals so soon? Do you need two separate channels (with different frequencies) in the future?
Are you trying to make a variable pitch whistle? Some kind of sound effect?
What is your context?
 
Top