The AM Forum

THE AM BULLETIN BOARD => Technical Forum => Topic started by: W1TAG on January 11, 2015, 07:22:57 PM



Title: 2-Tone Test for Positive Peaks
Post by: W1TAG on January 11, 2015, 07:22:57 PM
It's not a new idea, but craftily-chosen two-tone combinations can produce asymmetrical audio waveforms that can really exercise the positive peak capability of an AM transmitter without going over 100% on negatives. A simple, no or low cost implementation:
http://www.w1tag.com/2_Tone.htm

John, W1TAG


Title: Re: 2-Tone Test for Positive Peaks
Post by: Steve - K4HX on January 11, 2015, 07:59:43 PM
Very nice. I've used the two tone approach to simulate asymmetrical voice in circuit and signal simulators like Matlab and LTSpice, but never on a transmitter.

Thanks for sharing.


Title: Re: 2-Tone Test for Positive Peaks
Post by: AB2EZ on January 11, 2015, 09:00:12 PM
John

This is a "neat" idea.

Note: there is a subtle issue/problem with classic vacuum tube push pull modulators:

Sometimes, but not always, the grids of the modulator tubes are AC coupled to the audio phase splitter/driver.

If the positive-going modulator tube is driven hard enough to draw grid current on positive modulation peaks, then it's grid bias will drift downward (more negative) with this audio input waveform. This is because the repeating positive peaks will charge up the grid coupling capacitor (i.e. the self-biasing effect).

A similar downward drift of the grid bias will occur, with this audio input waveform, in transmitters that employ a relatively high source resistance bias supply, with a high value bypass capacitor across its output.

With real speech, positive peaks occur a much smaller percentage of the time... and the grid leak/biasing resistor (or the bias supply) will be able to remove the charge produced by the grid current that flows on positive peaks... with negligible effect on the grid bias.

I made a test waveform using one of the freeware programs that consists of: a positive pulse of amplitude 60mV and 2ms duration, followed by a negative pulse of amplitude 30mV and 4ms duration, followed by a 200ms pause of amplitude 0.

This waveform has zero average value (i.e. every positive pulse has a area: 60mV x 2ms = 120uV-sec, and every negative pulse has area: -30mV x 4ms = -120uV-sec)... and repeats five times per second.

I believe it is better for simulating voice peaks because of the relatively long pause after each positive/negative pair of pulses.

I recorded it as an MPEG file, and I can play it into my audio chain from my computer's sound card (as you do with the 2-tone audio test waveform)

Since it is periodic, the test tone and the resulting modulated transmitter output envelope are readily observed with an oscilloscope.

The MPEG file is attached below.

Stu







Title: Re: 2-Tone Test for Positive Peaks
Post by: N1BCG on January 11, 2015, 11:00:28 PM
Is there a formula to calculate the increase in dB of audio by modulating above +100%? I am aware of the additional distortion in some receivers, the effects on signal fading, and the higher voltages on transmitter components, so I am trying to weigh those against the increase in perceived audio.


Title: Re: 2-Tone Test for Positive Peaks
Post by: Steve - K4HX on January 11, 2015, 11:13:54 PM
This should get you started.

http://amwindow.org/tech/htm/modulation.htm


IMO, it's more important to have a big carrier/signal, since this largely defines the SNR on the receiver end. Then is important to have a high average level of modulation. Anything over 100 percent is just icing on the cake and won't usually make much difference, except when your signal is weak (that extra 3 dB might be important).


Title: Re: 2-Tone Test for Positive Peaks
Post by: Opcom on January 11, 2015, 11:19:35 PM
John

I made a test waveform using one of the freeware programs that consists of: a short duration positive pulse of amplitude A, followed by a negative pulse that has amplitude 0.5A and twice the duration, followed by a relatively long pause of amplitude 0.

This waveform has zero average value, and repeats several times per second.

That's a great idea too. Each polarity then contains the same energy, very nice!


Title: Re: 2-Tone Test for Positive Peaks
Post by: Opcom on January 11, 2015, 11:27:10 PM
This should get you started.

http://amwindow.org/tech/htm/modulation.htm


IMO, it's more important to have a big carrier/signal, since this largely defines the SNR on the receiver end. Then is important to have a high average level of modulation. Anything over 100 percent is just icing on the cake and won't usually make much difference, except when your signal is weak (that extra 3 dB might be important).

Heard some of those big carriers with low modulation. Bad business. RX AGC is working normally for RF and IF, but there is usually none for audio because it is assumed that all modulation is targeted for 100%.

You turn the receiver up to hear the big carrier/small modulation station, and the next person who has good modulation blasts you out.

Picking up on the idea of re-use of circuits as done in transceivers, I wonder if a good and clean compressor in the audio chain could be switched in to level the audio output of a receiver, to accommodate all levels of carrier and modulation.


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2NBC on January 11, 2015, 11:56:48 PM
Great link and info.. Thanks for posting


Title: Re: 2-Tone Test for Positive Peaks
Post by: ka1bwo on January 12, 2015, 12:17:29 AM
It's not a new idea, but craftily-chosen two-tone combinations can produce asymmetrical audio waveforms that can really exercise the positive peak capability of an AM transmitter without going over 100% on negatives. A simple, no or low cost implementation:
http://www.w1tag.com/2_Tone.htm

John, W1TAG

Thanks for a novel idea! Going at the link the function equation doesn't look right.
Shouldn't it be Y=SIN(X+PI/4) + SIN(2X)
Joe
 


Title: Re: 2-Tone Test for Positive Peaks
Post by: AB2EZ on January 12, 2015, 10:57:23 AM
Actually, what is shown in the graph is: f(x) = cos(x) + cos(2x) = sin(x+ pi/2) + sin(2x + pi/2), where x is the horizontal axis, in radians. As plotted, the waveform repeats when x = 2pi = 6.28...

You can define a new function of x, which is f(x) shifted to the right by pi/4

g(x)  = f(x - pi/4) =

sin[(x - pi/4)+ pi/2)] +  sin [2(x - pi/4) + pi/2] = sin(x + pi/4) + sin(2x)

Therefore the graph of g(x) = sin(x + pi/4) + sin(2x) would have the same shape as the graph that is shown, but it would be shifted to the right by pi/4

In any event, the graph that is shown is f(x) = cos(x) + cos(2x); and it does not have the same shape as sin(x) + sin(2x), even if you allow for shifting f(x) to the right by some amount.

Stu


It's not a new idea, but craftily-chosen two-tone combinations can produce asymmetrical audio waveforms that can really exercise the positive peak capability of an AM transmitter without going over 100% on negatives. A simple, no or low cost implementation:
http://www.w1tag.com/2_Tone.htm

John, W1TAG

Thanks for a novel idea! Going at the link the function equation doesn't look right.
Shouldn't it be Y=SIN(X+PI/4) + SIN(2X)
Joe
  


Title: Re: 2-Tone Test for Positive Peaks
Post by: flintstone mop on January 12, 2015, 11:46:38 AM
Prolly a better test for linear operation in the AM mode.

Fred


Title: Re: 2-Tone Test for Positive Peaks
Post by: N1BCG on January 12, 2015, 12:03:39 PM
Thanks for the link: http://amwindow.org/tech/htm/modulation.htm

Does this account for the fact that the negative peaks have to stop increasing at -100%? For modulation levels from 0 to 100, both halves of the waveform increase together, but above 100%, only the positive half of the waveform can increase which results in asymmetry.

Wouldn't the formula have to change above +100%?


Title: Re: 2-Tone Test for Positive Peaks
Post by: ka1bwo on January 12, 2015, 03:59:35 PM
Stu,
Thanks for rationalizing the graph equation.
Joe




Actually, what is shown in the graph is: f(x) = cos(x) + cos(2x) = sin(x+ pi/2) + sin(2x + pi/2), where x is the horizontal axis, in radians. As plotted, the waveform repeats when x = 2pi = 6.28...

If you change variables to y= x + pi/4 (i.e. x= y - pi/4) then you get

g(y)  = f(y - pi/4) =

sin[(y - pi/4)+ pi/2)] +  sin [2(y - pi/4) + pi/2] = sin(y + pi/4) + sin(2y)

Therefore the graph of g(y) = sin(y + pi/4) + sin(2y) would have the same shape as the graph that is shown, but it would be shifted to the right by pi/4

In any event, the graph that is shown is cos(x) + cos(2x); which is not the same waveform as sin(x) + sin(2x).

Stu


It's not a new idea, but craftily-chosen two-tone combinations can produce asymmetrical audio waveforms that can really exercise the positive peak capability of an AM transmitter without going over 100% on negatives. A simple, no or low cost implementation:
http://www.w1tag.com/2_Tone.htm

John, W1TAG

Thanks for a novel idea! Going at the link the function equation doesn't look right.
Shouldn't it be Y=SIN(X+PI/4) + SIN(2X)
Joe
  


Title: Re: 2-Tone Test for Positive Peaks
Post by: Steve - K4HX on January 12, 2015, 09:02:25 PM
The peak-to-peak voltage of the envelope is determined entirely by the positive peaks. Matters not that the negs are limited to 100%.


Thanks for the link: http://amwindow.org/tech/htm/modulation.htm

Does this account for the fact that the negative peaks have to stop increasing at -100%? For modulation levels from 0 to 100, both halves of the waveform increase together, but above 100%, only the positive half of the waveform can increase which results in asymmetry.

Wouldn't the formula have to change above +100%?


Title: Re: 2-Tone Test for Positive Peaks
Post by: N1BCG on January 12, 2015, 10:37:29 PM
What I was getting at has more to do with the perceived increase in volume to the listener as a modulated signal goes beyond +/- 100%. Increasing a symmetric modulated wave from 50 to 100% increases both the positive and negative halves of the waveform whereas an asymmetric increase beyond +100 only results in an increase in half the waveform.

If the negative half of the modulated waveform contributes to "loudness" then that contribution would diminish beyond a fully modulating symmetric waveform.


Title: Re: 2-Tone Test for Positive Peaks
Post by: KD6VXI on January 12, 2015, 10:48:25 PM
I've seen pinched carriers and the resultant distortion being confused for loudness on more than one occasion....

--Shane
KD6VXI


Title: Re: 2-Tone Test for Positive Peaks
Post by: Steve - K4HX on January 13, 2015, 12:18:51 AM
You're stuck on positive and negative. It not about either of those. It's about peak-to-peak (p/p). If you increase the p/p of the envelope, the audio will be louder.



What I was getting at has more to do with the perceived increase in volume to the listener as a modulated signal goes beyond +/- 100%. Increasing a symmetric modulated wave from 50 to 100% increases both the positive and negative halves of the waveform whereas an asymmetric increase beyond +100 only results in an increase in half the waveform.

If the negative half of the modulated waveform contributes to "loudness" then that contribution would diminish beyond a fully modulating symmetric waveform.


Title: Re: 2-Tone Test for Positive Peaks
Post by: N1BCG on January 13, 2015, 02:12:17 PM
You're stuck on positive and negative. It not about either of those. It's about peak-to-peak (p/p). If you increase the p/p of the envelope, the audio will be louder.

Yes, but, the benefits erode over +100%. From Frank Foti (Omnia) regarding this discussion:

"There's actually a couple of aspects at play here. Increasing the size or volume of the positive cycle will increase loudness a bit. By example, in AM, asymetrical modulation is allowed to be +125%/-99%. A [theoretical] increase in volume of symmetrical modulation to +/-125% would offer about a 2dB in loudness factor. Since we're gaining only half of that waveform increase, the loudness shift would be about 1/2 that, or 1dB.

At +125%, the added odd order harmonics is minimal. At +180%, it would get quite audible. Also, the method of creating asymmetry will be an issue. We employ psychoacoustic masking when generating asymmetry so the added harmonics are minimized."

The result is that, given the 1500 watt PEP limit, the cleanest and loudest signal will be achieved with careful clipping of a 375 watt symmetric waveform rather than by using a lower carrier power and driving a negative peak diode circuit to achieve higher positive peaks up to 1500 total.


Title: Re: 2-Tone Test for Positive Peaks
Post by: W1TAG on January 13, 2015, 06:07:56 PM
Apologies for the confusion over the plotting. The plot shown was indeed generated by the cosine function. When I did the write-up, my brain was on auto-pilot! I have corrected the article.

John, W1TAG


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2PFY on January 13, 2015, 07:17:10 PM
I installed that TCube twice and  I cannot find it on my computer. I looked at my add/remove area and on the C drive and its not to be found. Windows 8.1? Any ideas?


Title: Re: 2-Tone Test for Positive Peaks
Post by: ka1bwo on January 13, 2015, 11:24:32 PM
Terry,
Same thing happened to me but did eventually find the three files in the OS Win 7. When I ran the exe file the virtual generator did appeared but didn't run properly. The program wouldn't close had to do a system restart.
Joe  



I installed that TCube twice and  I cannot find it on my computer. I looked at my add/remove area and on the C drive and its not to be found. Windows 8.1? Any ideas?


Title: Re: 2-Tone Test for Positive Peaks
Post by: Pete, WA2CWA on January 14, 2015, 02:17:33 AM
I installed that TCube twice and  I cannot find it on my computer. I looked at my add/remove area and on the C drive and its not to be found. Windows 8.1? Any ideas?

It's not mentioned on his web site what OS's it even works in. Maybe it doesn't work in Win 8.1.

But to find the files in Win 8.1; scroll down to the Task Bar (the bottom bar with the thumbnails on the left side); mouse over them to find "This PC"; click it on; upper right, enter in the field, "Search This PC", the name of file (I would start with tcube).


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2PFY on January 14, 2015, 01:09:22 PM
 I am happy to report that it works fine in Windows 8.1 ;D ;D

Thanks Pete & Joe, I installed it again in a jump drive and it worked. The Icon is extremely small but it gave me what I needed to look for. I went back to my download file and found that the program installs itself into the download file and not in the C drive programs area, so that is why I could not locate it. I sent an icon to the desktop and now its very easy to find.



Title: Re: 2-Tone Test for Positive Peaks
Post by: AB2EZ on January 14, 2015, 02:10:24 PM
Terry

Can you record about 15 seconds of the combined cos(x) and cos(2x) waveforms as an MPEG file... and post it in this thread.

That way, folks who want to inject the waveform into their AM transmitter could just down load it, and play it on their PC or their iPod or their smart phone.

Stu


Title: Re: 2-Tone Test for Positive Peaks
Post by: Opcom on January 14, 2015, 02:20:09 PM
Didn't work here on windows 7. Oh well that is why there are real TTGs in the operating rack.


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2PFY on January 14, 2015, 02:54:50 PM
Here is the two tone signal as per specs but I think the user will have to adjust the level at the user site. I hope its ok as I am not used to doing anything like this ;D ;D


Title: Re: 2-Tone Test for Positive Peaks
Post by: AB2EZ on January 14, 2015, 02:55:29 PM
Attached is a 100 second MPEG3 file (mono)

It consists of sin(2pi 500.01t) + sin(2pi 1000t)

My audio generator application allows me to generate two sine wave tones, but it doesn't allow me to adjust their relative phase.

So... I set one of the frequencies at 500.01 Hz instead of 500Hz. Over the 100 second duration of this recording, the two tones slowly shift their relative phase over 2pi radians.

If you look at the whole 100 second waveform on a scope, with the sweep set to 0.2ms or 0.5ms per division, and watching for 100 seconds, you will see the effect of the phase shift on the sum of the two sine waves.

For a good portion of this 100 second waveform (at least 5 seconds), the phase relationship is such that what you have is basically sin(2pi 500t + pi/4) + sin(2pi 1000t) ... which has the same shape as cos(2pi 500t) + cos(2pi 1000t)... which is the desired test waveform shape.


Stu


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2PFY on January 14, 2015, 03:07:03 PM
Maybe there is something wrong with my tones? i can hear both tones but not the sum of the two?


Title: Re: 2-Tone Test for Positive Peaks
Post by: AB2EZ on January 14, 2015, 03:25:25 PM
Terry

Your file has one tone on the left channel and the other tone on the right channel.

When I combine the two outputs of my sound card with a Y-adaptor... the result is exactly what is needed. The phase relationship of the two sine waves is correct for the purpose of producing the desired test tone.

Stu

Maybe there is something wrong with my tones? i can hear both tones but not the sum of the two?


Title: Re: 2-Tone Test for Positive Peaks
Post by: W2PFY on January 14, 2015, 03:31:29 PM
Stu, with this setup, I cannot combine them. Can you post the combined tones from my mp3?

tnx Terry


Title: Re: 2-Tone Test for Positive Peaks
Post by: WB4AIO on January 14, 2015, 03:35:13 PM
Stu, with this setup, I cannot combine them. Can you post the combined tones from my mp3?

tnx Terry

Here's a mono mixdown version.

Thanks guys,

Kevin, WB4AIO.


Title: Re: 2-Tone Test for Positive Peaks
Post by: ka1bwo on January 15, 2015, 08:39:29 PM
Here's a look at the waveform. The center horizontal graticule line is zero volts.
Joe







Stu, with this setup, I cannot combine them. Can you post the combined tones from my mp3?

tnx Terry

Here's a mono mixdown version.

Thanks guys,

Kevin, WB4AIO.


Title: Re: 2-Tone Test for Positive Peaks
Post by: WD5JKO on January 15, 2015, 10:02:18 PM

     
Some time back I was doing two tone tests on my Gonset G-76. The frequencies were 700hz and 1900hz.

I include a scope image of the test. Getting a good scope trigger was impossible until I changed the variable time base.

Jim
Wd5JKO
AMfone - Dedicated to Amplitude Modulation on the Amateur Radio Bands