|
This works by multiplying (the XNOR gate works as an analog multiplier) the carrier (red) by the single sideband (blue) to get a mixed signal (orange), and then filtering out the high frequency component to produce an audio signal (green).
An online example of this that I made using JavaScript in conjunction with ProcessingJS, is on the website http://js.do/blog/processing/editor/ using this code:
background(0,0,0);
stroke(255,255,255)
line(0,15,100,15);
line(0,50,100,50);
line(0,85,100,85);
noStroke();
var x=0;
var y=0;
var z=0;
var a=0;
while(x<100){
fill(255,0,0);
y=sin(x/3)*10/-1+15;
ellipse(x,y,1,1);
fill(0,0,255);
z=sin(x/4)*10/-1+50;
ellipse(x,z,1,1);
fill(0,255,0);
a=((y-15)/10*((z-50)/10)-sin(x*7/12-89.5)/2)*10+85;
ellipse(x,a,1,1);
x+=0.1;
}
Note: if you know JavaScript, and you know how the math here works, you may be wondering why the value 89.5 is used instead of 90. The answer is that I found this value to work better out of trial and error, and that's probably because of inaccuracies in the sin() function.
Please tell me if there is anything that can be improved, and if this is indeed a theoretically possible method to demodulate an SSB signal.
|