| Home |
| Search |
| Today's Posts |
|
|
|
#1
|
|||
|
|||
|
On Jul 5, 10:01 am, John Fields wrote:
On Thu, 5 Jul 2007 00:00:45 -0700, "Ron Baker, Pluralitas!" wrote: "Don Bowey" wrote in message ... On 7/4/07 8:42 PM, in article , "Ron Baker, Pluralitas!" wrote: "Don Bowey" wrote in message ... On 7/4/07 10:16 AM, in article , "Ron Baker, Pluralitas!" wrote: "Don Bowey" wrote in message ... On 7/4/07 7:52 AM, in article , "Ron Baker, Pluralitas!" wrote: snip cos(a) * cos(b) = 0.5 * (cos[a+b] + cos[a-b]) Basically: multiplying two sine waves is the same as adding the (half amplitude) sum and difference frequencies. No, they aren't the same at all, they only appear to be the same before they are examined. The two sidebands will not have the correct phase relationship. What do you mean? What is the "correct" relationship? One could, temporarily, mistake the added combination for a full carrier with independent sidebands, however. (For sines it is sin(a) * sin(b) = 0.5 * (cos[a-b]-cos[a+b]) = 0.5 * (sin[a-b+90degrees] - sin[a+b+90degrees]) = 0.5 * (sin[a-b+90degrees] + sin[a+b-90degrees]) ) -- rb When AM is correctly accomplished (a single voiceband signal is modulated The questions I posed were not about AM. The subject could have been viewed as DSB but that wasn't the specific intent either. What was the subject of your question? Copying from my original post: Suppose you have a 1 MHz sine wave whose amplitude is multiplied by a 0.1 MHz sine wave. What would it look like on an oscilloscope? What would it look like on a spectrum analyzer? Then suppose you have a 1.1 MHz sine wave added to a 0.9 MHz sine wave. What would that look like on an oscilloscope? What would that look like on a spectrum analyzer? --- The first example is amplitude modulation precisely _because_ of the multiplication, while the second is merely the algebraic summation of the instantaneous amplitudes of two waveforms. The circuit lists I posted earlier will, when run using LTSPICE, show exactly what the signals will look like using an oscilloscope and, using the "FFT" option on the "VIEW" menu, give you a pretty good approximation of what they'll look like using a spectrum analyzer. If you don't have LTSPICE it's available free at: http://www.linear.com/designtools/software/ -- JF Since your modulator version has a DC offset applied to the 1e5 signal, some of the 1e6 signal is present in the output, so your spectrum has components at .9e6, 1e6 and 1.1e6. To generate the same signal with the summing version you need to add in some 1e6 along with the .9e6 and 1.1e6. The results will be identical and the results of summing will be quite detectable using an envelope detector just as they would be from the modulator version. Alternatively, remove the bias from the .1e6 signal on the modulator version. The spectrum will have only components at .9e6 and 1.1e6. Of course, an envelope detector will not be able to recover this signal, whether generated by the modulator or summing. ....Keith |
|
#2
|
|||
|
|||
|
On Thu, 05 Jul 2007 07:32:20 -0700, Keith Dysart
wrote: On Jul 5, 10:01 am, John Fields wrote: --- The first example is amplitude modulation precisely _because_ of the multiplication, while the second is merely the algebraic summation of the instantaneous amplitudes of two waveforms. The circuit lists I posted earlier will, when run using LTSPICE, show exactly what the signals will look like using an oscilloscope and, using the "FFT" option on the "VIEW" menu, give you a pretty good approximation of what they'll look like using a spectrum analyzer. If you don't have LTSPICE it's available free at: http://www.linear.com/designtools/software/ -- JF Since your modulator version has a DC offset applied to the 1e5 signal, some of the 1e6 signal is present in the output, so your spectrum has components at .9e6, 1e6 and 1.1e6. --- Yes, of course, and 1e5 as well. That offset will make sure that the output of the modulator contains both of the original signals as well as their sums and differences. That is, it'll be a classic mixer. --- To generate the same signal with the summing version you need to add in some 1e6 along with the .9e6 and 1.1e6. --- That wouldn't be the same signal since .9e6 and 1.1e6 wouldn't have been created by heterodyning and wouldn't be sidebands at all. --- The results will be identical and the results of summing will be quite detectable using an envelope detector just as they would be from the modulator version. --- The results would certainly _not_ be identical, since the 0.9e6 and 1.1e6 signals would bear no cause-and-effect relationship to the 1e6 and 1e5 signals, not having been spawned by them in a mixer. Moreover, using an envelope detector would be pointless since there would be no information in the .9e6 and 1.1e6 signals which would relate to either the 1e6 or the 0.1e6 signals. Again, because no mixing would have occurred in your scheme, only a vector addition. --- Alternatively, remove the bias from the .1e6 signal on the modulator version. The spectrum will have only components at .9e6 and 1.1e6. Of course, an envelope detector will not be able to recover this signal, whether generated by the modulator or summing. --- Hogwash. ![]() If the envelope detector you're talking about is a rectifier followed by a low-pass filter and neither f1 nor f2 were DC offset, then if the sidebands were created in a modulator they'll largely cancel, (except for the interesting fact that the diode rectifier looks like a small capacitor when it's reverse biased) so you're almost correct on that count. However, If f1 and f2 were created by independent oscillators and algebraically added in a linear system, the output of the envelope detector would be the vector sum of f1 and f2 either above or below zero volts, depending on how the diode was wired. -- JF |
|
#3
|
|||
|
|||
|
On Jul 14, 6:31 am, John Fields wrote:
On Thu, 05 Jul 2007 07:32:20 -0700, Keith Dysart Since your modulator version has a DC offset applied to the 1e5 signal, some of the 1e6 signal is present in the output, so your spectrum has components at .9e6, 1e6 and 1.1e6. --- Yes, of course, and 1e5 as well. There is no 1e5 if the modulator is a perfect multiplier. A practical multiplier will leak a small amount of 1e5. Don't be fooled by the apparent 1e5 in the FFT from your simulation. This is an artifact. Run the simulation with a maximum step size of 0.03e-9 and it will completely disappear. (Well, -165 dB). To generate the same signal with the summing version you need to add in some 1e6 along with the .9e6 and 1.1e6. --- That wouldn't be the same signal since .9e6 and 1.1e6 wouldn't have been created by heterodyning and wouldn't be sidebands at all. It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical. This can be seen from the mathematical expression 0.5 * (cos(a+b) + cos(a-b)) + cos(a) = (1 + cos(b)) * cos(a) Note that cos(b) is not prsent in the spectrum, only a, a+b and a-b are there. And a will go away if the DC offset is removed. The results will be identical and the results of summing will be quite detectable using an envelope detector just as they would be from the modulator version. --- The results would certainly _not_ be identical, since the 0.9e6 To clearly see the equivalency, in the summing version of the circuit, add in the 1.0e6 signal as well. The resulting signal will be identical to the one from the multiplier version. (You can improve the fidelity of the resulting summed version by eliminating the op-amp. Just use three resistors. The op-amp messes up the signal quite a bit.) If you have access to Excel, you might try the spreadsheet available here (http://keith.dysart.googlepages.com/radio5). It plots the results of adding and multiplying, and lets you play with the frequencies and phases. ....Keith |
|
#4
|
|||
|
|||
|
On Sun, 15 Jul 2007 04:14:33 -0700, Keith Dysart
wrote: On Jul 14, 6:31 am, John Fields wrote: On Thu, 05 Jul 2007 07:32:20 -0700, Keith Dysart Since your modulator version has a DC offset applied to the 1e5 signal, some of the 1e6 signal is present in the output, so your spectrum has components at .9e6, 1e6 and 1.1e6. --- Yes, of course, and 1e5 as well. There is no 1e5 if the modulator is a perfect multiplier. A practical multiplier will leak a small amount of 1e5. Don't be fooled by the apparent 1e5 in the FFT from your simulation. This is an artifact. Run the simulation with a maximum step size of 0.03e-9 and it will completely disappear. (Well, -165 dB). To generate the same signal with the summing version you need to add in some 1e6 along with the .9e6 and 1.1e6. --- That wouldn't be the same signal since .9e6 and 1.1e6 wouldn't have been created by heterodyning and wouldn't be sidebands at all. It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical. --- No, it isn't, since in the additive mode any modulation impressed on the carrier (1.0e6) will not affect the .9e6 and 1.1e6 in any way since they're unrelated. --- This can be seen from the mathematical expression 0.5 * (cos(a+b) + cos(a-b)) + cos(a) = (1 + cos(b)) * cos(a) Note that cos(b) is not prsent in the spectrum, only a, a+b and a-b are there. And a will go away if the DC offset is removed. The results will be identical and the results of summing will be quite detectable using an envelope detector just as they would be from the modulator version. --- The results would certainly _not_ be identical, since the 0.9e6 To clearly see the equivalency, in the summing version of the circuit, add in the 1.0e6 signal as well. The resulting signal will be identical to the one from the multiplier version. --- It will _look_ identical, but it won't be because there will be nothing locking the three frequencies together. Moreover, as I stated earlier, any amplitude changes (modulation) impressed on the 1.0e6 signal won't cause the 0.9e6 and 1.1e6 signals to change in any way. --- (You can improve the fidelity of the resulting summed version by eliminating the op-amp. Just use three resistors. The op-amp messes up the signal quite a bit.) --- Actually the resistors "mess up the signal" more than the opamp does since the signals aren't really adding in the resistors. That is, if f1 is at 1V, and f2 is at 1V, and f3 is also at 1V, the output of the resistor network won't be at 3V, it'll be at 1V. By using the opamp as a current-to-voltage converter, all the input signals _will_ be added properly since the inverting input will be at virtual ground and will sink all the current supplied by the resistors, making sure the sources don't interact. He Version 4 SHEET 1 980 680 WIRE 160 -48 -80 -48 WIRE 272 -48 240 -48 WIRE 160 64 32 64 WIRE 272 64 272 -48 WIRE 272 64 240 64 WIRE 320 64 272 64 WIRE 528 64 400 64 WIRE 448 112 352 112 WIRE 352 144 352 112 WIRE 160 160 128 160 WIRE 272 160 272 64 WIRE 272 160 240 160 WIRE 320 160 272 160 WIRE 528 176 528 64 WIRE 528 176 384 176 WIRE 320 192 272 192 WIRE -80 208 -80 -48 WIRE 32 208 32 64 WIRE 128 208 128 160 WIRE 352 224 352 208 WIRE 448 224 448 112 WIRE -80 320 -80 288 WIRE 32 320 32 288 WIRE 32 320 -80 320 WIRE 128 320 128 288 WIRE 128 320 32 320 WIRE 272 320 272 192 WIRE 272 320 128 320 WIRE 352 320 352 304 WIRE 352 320 272 320 WIRE 448 320 448 304 WIRE 448 320 352 320 WIRE -80 368 -80 320 FLAG -80 368 0 SYMBOL voltage -80 192 R0 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 1 900) SYMATTR InstName V1 SYMBOL voltage 128 192 R0 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 1 1100) SYMATTR InstName V2 SYMBOL res 256 144 R90 WINDOW 0 -26 57 VBottom 0 WINDOW 3 -25 58 VTop 0 SYMATTR InstName R2 SYMATTR Value 1000 SYMBOL Opamps\\UniversalOpamp 352 176 R0 SYMATTR InstName U1 SYMBOL res 416 48 R90 WINDOW 0 -36 60 VBottom 0 WINDOW 3 -30 62 VTop 0 SYMATTR InstName R3 SYMATTR Value 1000 SYMBOL voltage 448 208 R0 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value 12 SYMATTR InstName V3 SYMBOL voltage 352 320 R180 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value 12 SYMATTR InstName V4 SYMBOL res 256 48 R90 WINDOW 0 -28 61 VBottom 0 WINDOW 3 -30 62 VTop 0 SYMATTR InstName R6 SYMATTR Value 1000 SYMBOL res 256 -64 R90 WINDOW 0 -32 59 VBottom 0 WINDOW 3 -30 62 VTop 0 SYMATTR InstName R7 SYMATTR Value 1000 SYMBOL voltage 32 192 R0 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 1 1000) SYMATTR InstName V5 TEXT -64 344 Left 0 !.tran .02 -- JF |
|
#5
|
|||
|
|||
|
On Jul 15, 3:12 pm, John Fields wrote:
On Sun, 15 Jul 2007 04:14:33 -0700, Keith Dysart It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical. --- No, it isn't, since in the additive mode any modulation impressed on the carrier (1.0e6) will not affect the .9e6 and 1.1e6 in any way since they're unrelated. --- I thought the experiment being discussed was one where the modulation was 1e5, the carrier 1e6 and the resulting spectrum .9e6, 1e6 and 1.1e6. Read my comments in that context, or just ignore them if that context is not of interst. (You can improve the fidelity of the resulting summed version by eliminating the op-amp. Just use three resistors. The op-amp messes up the signal quite a bit.) --- Actually the resistors "mess up the signal" more than the opamp does since the signals aren't really adding in the resistors. I did not write clearly enough. The three resistors I had in mind we one to each voltage source and one to ground. To get there from your latest schematic, discard the op-amp and tie the right end of R3 to ground. To get an AM signal that can be decoded with an envelope detector, V5 needs to have an amplitude of at least 2 volts. ....Keith |
|
#6
|
|||
|
|||
|
On Sun, 15 Jul 2007 14:57:17 -0700, Keith Dysart
wrote: On Jul 15, 3:12 pm, John Fields wrote: On Sun, 15 Jul 2007 04:14:33 -0700, Keith Dysart It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical. --- No, it isn't, since in the additive mode any modulation impressed on the carrier (1.0e6) will not affect the .9e6 and 1.1e6 in any way since they're unrelated. --- I thought the experiment being discussed was one where the modulation was 1e5, the carrier 1e6 and the resulting spectrum .9e6, 1e6 and 1.1e6. --- That was my understanding, and is why I was surprised when you made the claim, above: "It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical." which I interpret to mean that three unrelated signals occupying those spectral positions were identical to three signals occupying the same spectral locations, but which were created by heterodyning. Are you now saying that wasn't your claim? --- Read my comments in that context, or just ignore them if that context is not of interst. --- What I'd prefer to do is point out that if your comments were based on the concept that the signals obtained by mixing are identical to those obtained by adding, then the concept is flawed. --- (You can improve the fidelity of the resulting summed version by eliminating the op-amp. Just use three resistors. The op-amp messes up the signal quite a bit.) --- Actually the resistors "mess up the signal" more than the opamp does since the signals aren't really adding in the resistors. I did not write clearly enough. The three resistors I had in mind we one to each voltage source and one to ground. To get there from your latest schematic, discard the op-amp and tie the right end of R3 to ground. That really doesn't change anything, since no real addition will be occurring. Consider: f1---[1000R]--+--E2 | f2---[1000R]--+ | f3---[1000R]--+ | [1000R] | GND-----------+ Assume that f1, f2, and f3 are 2VPP signals and that we have sampled the signal at E2 at the instant when they're all at their positive peak. Since the resistors are essentially in parallel, the circuit can be simplified to: E1 | [333R] R1 | +----E2 | [1000R] R2 | GND a simple voltage divider, and E2 can be found via: E1 * R2 1V * 1000R E2 = --------- = -------------- = 0.75V R1 + R2 333R + 1000R Note that 0.75V is not equal to 1V + 1V + 1V. ![]() --- To get an AM signal that can be decoded with an envelope detector, V5 needs to have an amplitude of at least 2 volts. --- Ever heard of galena? Or selenium? Or a precision rectifier? -- JF |
|
#7
|
|||
|
|||
|
On Jul 16, 11:31 am, John Fields
wrote: On Sun, 15 Jul 2007 14:57:17 -0700, Keith Dysart wrote: I thought the experiment being discussed was one where the modulation was 1e5, the carrier 1e6 and the resulting spectrum .9e6, 1e6 and 1.1e6. --- That was my understanding, and is why I was surprised when you made the claim, above: "It does not matter how the .9e6, 1.0e6 and 1.1e6 are put into the resulting signal. One can multiply 1e6 by 1e5 with a DC offset, or one can add .9e6, 1.0e6 and 1.1e6. The resulting signal is identical." which I interpret to mean that three unrelated signals occupying those spectral positions were identical to three signals occupying the same spectral locations, but which were created by heterodyning. Are you now saying that wasn't your claim? --- No, that was indeed the claim. As a demonstration, I've attached a variant of your original LTspice simulation. Plot Vprod and Vsum. They are on top of each other. Plot the FFT for each. They are indistinguishable. Read my comments in that context, or just ignore them if that context is not of interst. --- What I'd prefer to do is point out that if your comments were based on the concept that the signals obtained by mixing are identical to those obtained by adding, then the concept is flawed. See the simulation results. I did not write clearly enough. The three resistors I had in mind we one to each voltage source and one to ground. To get there from your latest schematic, discard the op-amp and tie the right end of R3 to ground. That really doesn't change anything, since no real addition will be occurring. Consider: f1---[1000R]--+--E2 | f2---[1000R]--+ | f3---[1000R]--+ | [1000R] | GND-----------+ snip Note that 0.75V is not equal to 1V + 1V + 1V. ![]() E2 = (V1+V2+V3)/4 -- a scaled sum Except for scaling, the result is the sum of the inputs. To get an AM signal that can be decoded with an envelope detector, V5 needs to have an amplitude of at least 2 volts. --- Ever heard of galena? Or selenium? Or a precision rectifier? Oh, yes. And cat whiskers too. But that was not my point. Because the carrier level was not high enough, the envelope was no longer a replica of the signal so an envelope detector would not be able to recover the signal (no matter how sensitive it was). ....Keith Version 4 SHEET 1 980 680 WIRE -1312 -512 -1552 -512 WIRE -1200 -512 -1232 -512 WIRE -1552 -496 -1552 -512 WIRE -1312 -400 -1440 -400 WIRE -1200 -400 -1200 -512 WIRE -1200 -400 -1232 -400 WIRE -768 -384 -976 -384 WIRE -976 -368 -976 -384 WIRE -1440 -352 -1440 -400 WIRE -544 -352 -624 -352 WIRE -1200 -336 -1200 -400 WIRE -1136 -336 -1200 -336 WIRE -544 -336 -544 -352 WIRE -768 -320 -912 -320 WIRE -1312 -304 -1344 -304 WIRE -1200 -304 -1200 -336 WIRE -1200 -304 -1232 -304 WIRE -1200 -288 -1200 -304 WIRE -1344 -256 -1344 -304 WIRE -912 -256 -912 -320 WIRE -544 -240 -544 -256 WIRE -464 -240 -544 -240 WIRE -544 -224 -544 -240 WIRE -1552 -144 -1552 -416 WIRE -1440 -144 -1440 -272 WIRE -1440 -144 -1552 -144 WIRE -1344 -144 -1344 -176 WIRE -1344 -144 -1440 -144 WIRE -1200 -144 -1200 -208 WIRE -1200 -144 -1344 -144 WIRE -1552 -128 -1552 -144 WIRE -912 -128 -912 -176 WIRE -544 -128 -544 -144 FLAG -1552 -128 0 FLAG -1136 -336 Vsum FLAG -976 -368 0 FLAG -912 -128 0 FLAG -544 -128 0 FLAG -464 -240 Vprod SYMBOL voltage -1552 -512 R0 WINDOW 3 -216 102 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 .5 900 0 0 90) SYMATTR InstName Vs1 SYMBOL voltage -1344 -272 R0 WINDOW 3 -228 104 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 .5 1100 0 0 -90) SYMATTR InstName Vs3 SYMBOL res -1216 -320 R90 WINDOW 0 -26 57 VBottom 0 WINDOW 3 -25 58 VTop 0 SYMATTR InstName Rs3 SYMATTR Value 1000 SYMBOL res -1184 -192 R180 WINDOW 0 -48 76 Left 0 WINDOW 3 -52 34 Left 0 SYMATTR InstName Rs4 SYMATTR Value 1000 SYMBOL res -1216 -416 R90 WINDOW 0 -28 61 VBottom 0 WINDOW 3 -30 62 VTop 0 SYMATTR InstName Rs2 SYMATTR Value 1000 SYMBOL res -1216 -528 R90 WINDOW 0 -32 59 VBottom 0 WINDOW 3 -30 62 VTop 0 SYMATTR InstName Rs1 SYMATTR Value 1000 SYMBOL voltage -1440 -368 R0 WINDOW 3 -210 108 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 1 1000 0 0 0) SYMATTR InstName Vs2 SYMBOL SpecialFunctions\\modulate -768 -384 R0 WINDOW 3 -66 -80 Left 0 SYMATTR InstName A1 SYMATTR Value space=1000 mark=1000 SYMBOL voltage -912 -272 R0 WINDOW 3 14 106 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName Vp1 SYMATTR Value SINE(1 1 100) SYMBOL res -560 -240 R0 SYMATTR InstName Rp2 SYMATTR Value 1000 SYMBOL res -560 -352 R0 SYMATTR InstName Rp1 SYMATTR Value 3000 TEXT -1592 -560 Left 0 !.tran 0 .02 0 .3e-7 |
| Reply |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|