opening

Regular reports of my grabber activity and that of others, plus information on QRSS software, hardware and technique that comes my way

Thursday, August 22, 2013

Spectrum Averaging to Improve Measurement of Signal Strengths

Many grabbers based on Spectrum Lab include a spectrogram along with the waterfall to give some idea of signal strength. I have recently enhanced this feature on my grabber to facilitate accurate measurement of signal strengths. Spectrum Lab makes spectrum determinations at a defined scroll interval which in the case of my 10 minute grabber is 0.7 seconds. The long term average function, selectable in the Spectrum(1) configuration window, averages during the grab interval to produce a dramatic reduction in noise. For the 10 minute grab interval this results in 857 individual spectra being averaged, resulting at a 15 dB improvement in signal-to-noise. Here's what it looks like (yellow is the long term average, red a single spectrum):


FIGURE 1

There is a problem in reading QRSS signal strengths because of the dual FSK peaks. If the signal was unmodulated, i.e., a straight line, continuous carrier then the displayed peak would be meaningful. However, an FSK signal has two peaks for Mark and Space which under the ideal condition of no QSB would be different due to the different cumulative times of each. To get the true signal level requires a little math to add the two, doing so in linear space rather than dB space. It's necessary to take the antilog then add and take the log of the results to get back to dBs. The following sketch shows how this works:


Figure 2

This is a bit of effort but not too bad once a work flow is established. It's worth it when you bear in mind that we are measuring signal strength over a real dx path with a precision approaching several dBs. Here's a grab I used to compare the signal strength of 4 stations located in England (a,b,c,d) and 2 in the US:


Figure 3

It is not wise to compare signals with large differences in path length because of unequal Doppler broadening as will be discussed below. This table shows the raw data, mark, space and noise, along with the processed results and comparisons:


Table

The noise baseline was subtracted from Ptotal to get the SNR. We could conclude from this data that on the US side, station f was 7 dB stronger than station e while on the European side, how other stations compared to station b which is consistently the strongest EU station seen on my grabber. Repeated observations of the EU stations give about the same results from day to day which would allow antenna experiments to improve one's signal.

This particular grabber screen was designed especially for this kind of measurement with a larger spectrum window for more easily reading the dB level and with a 3 minute grab interval to better follow the QSB.  

There are some problems and limitations to be considered. First, signals must be continuous, either a steady unmodulated carrier or FSK without an off time during the grab period. Second, the signals must have a meaningful, defined peak. Hellschreiber and drifting signals will not work because there is not a defined peak. Third, the width of the signals being compared must be the same otherwise we'd have to consider the area under the curve which is beyond the capability of this technique. Doppler broadening generally increases with path length so comparisons should be made only signals from the same general area. Finally, the signals must be continuous The signal at g is not usable for this reason.

As a bonus, I have adjusted the output of my receiver to make the noise floor always at -110 dB so that day-to-day or perhaps even seasonal comparisons are possible, assuming that the rx noise floor and gain/loss of the antenna/feedline remains constant and I see no reason why they shouldn't. Referring to Figure 2, in the spectrogram the reason there is so much space to the left of the noise baseline is so I can see the -110 dB level to make this adjustment, which I do while substituting a 50 Ohm load for the antenna. As long as I don't fiddle with the gain controls the noise floor is remarkably stable from day to day.

Some stations using the U2 "Ultimate" from QRP labs are transmitting both QRSS and WSPR signals by time sharing where QRSS runs for 8 minutes then shifts to WSPR for 2 minutes. I have made some preliminary comparisons to signal strengths made using the technique described here with the dB levels reported by WSPR and get good agreement. When I have made more comparisons and am confidant in the results I'll present it in another post to this blog.

In case you're wondering, my receiving system is linear because the AGC has been disabled using a technique described in a previous post.

de w4hbk

Friday, September 21, 2012

Plotting Signal Strengths with Spectrum Lab

Spectrum Lab has a feature which allows one to bracket a signal on the waterfall display and watch its signal strength as a strip chart recording.  This feature is called "Watch List & Plot Window" and is found in the "View/Windows" menu at the top of the display.  Here's the set-up screen:

Set-up screen for SpectrumLab signal plotter.

It's a bit tedious to learn to use and involves a set of commands, functions and expressions reminiscent of BASIC which allow a signal on the waterfall display to be selected and plotted.  But the good news is that only a few instructions are necessary for making a simple strip chart recorder.  I use two expressions:  noise_n(f1,f2) which plots the band noise in the range between f1 and f2 which are two audio frequencies on the WF display and peak_a(f1,f2) which yields the peak signal between two frequencies.  Up to 6 signals may be selected and plotted at the same time.

The noise_n function divides the range between the two specified frequencies into 256 bins and averages the 1/4 lowest values to obtain the band noise.  The likelihood of including actual signals in this average is very low unless there is broadband interference present such as from RTTY or JT65.

The peak_a(f1,f2) expression brackets the signal of interest, divides it into 256 bins and selects the largest value to plot.  This makes a varying QRSS fskcw signal appear as a continuous line since the mark and space are always within the brackets.  Wolf thinks of everything.

OK, so why the interest in plotting signal strength?  One reason would be to watch for changes in your signal while doing some antenna comparisons, for example.  Another and the one in which I'm interested is to study QSB.  There are three causes of QSB:  multipath interference, Faraday rotation and ionospheric focusing.  In multipath the signal is reflected from two or more layers and arrives at the rx antenna to interfere destructively and constructively.  In Faraday rotation the polarization of a linear transmitted wave rotates as it passes thru the Earth's magnetic field and arrives at the polarized rx antenna at a state other than of the tx antenna, ie a vertically polarized transmitted wave can arrive at the rx as another polarization, including eliptical.  Focusing is cause by the shape of the ionosphere which can vary from convex to concave.

Scientist and engineers who study propagation have utilized simultaneous recordings of the vertical and horizontal vectors to detect the Faraday effect and the qualitative nature of the overall variations to separate the three effects.  It ain't easy and requires sophisticated computing capability and understanding of propagation, definitely a job for professionals.  However, that doesn't keep we amateurs from having fun with the subject, making our own observations and attempting to guess which effects are occurring.

My favorite reference on QSB is the dissertation of Dr. Yau at the University of Adelaide who studied the effect on OTHR signals in the 6 to 10 MHz range.  There's a good discussion of hf propagation there plus a details of the receiving apparatus and computational techniques.  Imagine getting a PhD in QSB!

Here's an example of QSB recordings I've made on some 30m signals:

Example of strip chart recording

The Red trace is the band noise, Yellow is KD4PBJ near Chattanooga, TN and Green is AK4T near Atlanta, GA.  

de w4hbk






Wednesday, August 29, 2012

Using DropBox to Build an On-Line Grabber

Building an on-line grabber is a two step process.  First, download and learn to use a waterfall display grabber such as ARGO or SpectrumLab.  Of the two, ARGO is much simpler to use while SpectrumLab is more versatile....I have a SpectrumLab turorial on this blog to help overcome the learning curve.

Second, upload your grabs either to a web page or to the DropBox photo sharing service.  The web page approach is more versatile and sophisticated but has a steep learning curve if you don't already know how to design a web page and get in online.

That's where DropBox comes in.  All you need to do is open a FREE account which links a folder on your computer directly to one at DB.  Then as ARGO or SL makes the grabs and stores them in the computer's DB folder they magically appear in the one at DB.  Furthermore, DB is designed for image sharing and all you need do is obtain the link to the image in question and show it to the Knights so they can view it.

I've been running an auxiliary online grabber using this method and it works FB...with one exception...it will not automatically update and the user needs to click his refresh button to see the latest grab.  This is not considered objectionable according to several comments I've received.

Here are the details of the DB folders.

After setting up the *Free* DB account this is the opening screen you will see.  You are provided with two basic folders, one called Photos, which we will be using, and another called Public which is useful for other files such a programs and sound files.  Note also the Getting Started file which will explain everything.


Next open the Photos folder which will look something like this:

The only one of interest to us is 10 Minute Grabber which is where the grab ends up.  Open this one and we see,

a single file which is the actual .jpg  uploaded from the grabber and which is to be viewed by the user.  Click on the "link" icon to the right to copy the link and pass it along to your potential user.

This is the actual folder set-up at DropBox and there is a similar one on your computer at a location you specify when setting it up.  This is where you direct the grabs made by ARGO or SL.

Note that I gave the file a rather strange name..."W4HBK Grabber  (REFRESH for latest grab)".  That's so a message will show up at the top of the screen to ID my grabber and remind the user to hit the REFRESH button once in a while.

Now you must add a new line to the Periodic Actions commands:

capture("C:\Users\bill\Dropbox\Photos\10 Minute Archive\W4HBK Grabber  (REFRESH for latest grab.jpg")

Here's what the Periodic Actions screen will now look like:


Finally, go to the image file in your Dropbox folder, right-click on it and select "Copy Dropbox Link".  Open a new Tab, paste the link and make sure it opens the file.  This link is the one you send to users so they can open the file.

Note that it DOES NOT auto-update and the user will need to refresh the screen to see the latest grab.  That's why the reminder in the name, "W4HBK Grabber  (REFRESH for latest grab.jpg"

There is an easy way to make it auto-refresh and that is with a browser extension that auto-refreshes the screen at an interval you select.  I use "Easy Auto Refresh" for my Google Chrome browser.

If you publish the link to ur archive the user can also view all the grabs there.

If you have any problems please feel free to contact me at owlpoop@gmail.com


de w4hbk




Sunday, August 19, 2012

Dopplergram Catches a Solar Flare

Yesterday I took a day off from grabbing to try my new Dopplergram on the WWV 10 MHz signal.  As luck would have it an M-class Solar Flare occurred during the recording:

Figure 1.  Solar Flare of 18AUG12 as seen on Dopplergram

Figure 2.  Solar Flare of 18AUG12 as seen on 10 minute grabber


Figure 3.  GOES X-ray flux

An M-class flare commenced just before 1610z.  The increasing frequency means the path length was decreasing as the reflecting layer moved downward

This is the cleanest data I've recorded of a flare and justifies a calculation of Ionospheric motion from the observed Doppler shift.  I assumed a simple triangle relationship of the radio path (Earth's curvature ignored) and obtained distance parameters via the Internet and the take-off angle of the signal from W6EL's propagation program.  The calculations are as follows:

Figure 4.  Calculations of vertical velocity of Ionosphere in response to Solar Flare of 18AUG12

The estimated vertical velocity of the reflecting layer was ~ 250 km/hr for a 1 Hz shift or 750 km/hr (466 mph) for the maximum 3 Hz shift as seen in Figure 2.

If we assume the average speed was 104 m/s (corresponding to an average Doppler shift of 1.5 Hz) then the distance moved by the Ionosphere over a period of 45 seconds was  4.7 km which is small compared to the starting distance, h, of 217 km.  Thus h can be assumed constant.

Bottom line:  the Ionosphere moved vertically downward in response to the stimulus of the Solar Flare at an average speed of 500 km/hr (310 mph).

There is a nice discussion of the Doppler effect at Wikipedia and you can check my math since I've been retired for almost 20 years now and seldom use calculus any more.

Wednesday, August 15, 2012

cURL .. A New Command for FTP Upload

While playing with Puppy Linux I discovered a versatile command for uploading data with URL syntax.  Not only FTP uploading but a host of other things:

"curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other"

It was so easy and direct to use in Linux that I adopted it as my official FTP uploader.  It has been ported to Windows so I use it there also for all my grabber operations. It has so many features that there is even a web site just for this one command:  http://curl.haxx.se/  You can download cURL and it's associated files here and read the many help files on it's syntax and use.

If you are concerned just with FTP uploading there is probably no reason to use cURL instead of DOS commands but I wanted to learn it for future applications involving all those buzz words in the quoted text above.  Also, I flip back and forth between Windows and Linux and the syntax is the same in either OS.

Here's what the command line looks like in Spectrum Lab:

exec ("\SLuploader\curl -u username:password -T  \SLuploader\SL1.jpg ftp://ftp.qsl.net ")

The root folder SLuploader contains the curl command and it's associated files.  I send grabs from both of my grabbers to that folder and it sends them to the corresponding online grabber pages.

For comparison to FTP via DOS commands see my previous post Uploading Files Using DOS Commands .  As I said above, if you are happy with the DOS method there is no compelling reason to switch to cURL just for FTP uploads but I wanted to point it out because of it's many advanced features which may be useful in other applications.

de w4hbk


Sunday, July 15, 2012

CME Effect on 40m QRSS Signal

This post is to document the effect of a Coronal Mass Ejection (CME) on a QRSS signal propagating between New Mexico (WA5DJJ) and Florida (W4HBK).  The CME occurred on July 12 and was described in my last post.

Figure 1 shows the observed effect.  DJJ transmits a fsk cw signal referenced to a Rubidium frequency standard which at this time scale produces two parallel lines corresponding to the fsk mark and space.  The Master Oscillator of my TS-440 is temperature controlled, thus the observed frequency changes are due to Doppler shifts caused by motion of the ionosphere.   As luck would have it, Dave's signal came on just before the start of the disturbance while the QRM ceased at the same time.

Figure 1.  Frequency shift of WA5DJJ signal during geomagnetic disturbance

Note these features:

1.  Start time is about 0345z
2.  As the event progressed four separate layers developed as the frequency shifted downward followed by a reversal with a decaying sine wave pattern.
3.  The apparent speed of the wave was very slow with a period or 1 to 2 hours.

Figure 2 is a corresponding magnetometer recording from Anchorage, AK which indicates time history of the geomagnetic disturbance.

Figure 2.  Geomagnetic disturbance recorded at Reeve Engineering Labs in Anchorage, AK

This leaves little doubt that the observed effect on the QRSS signal was caused by the disturbance.  However, this was not the initial arrival of the CME.  As shown in Figure 3 that actually occurred the day before at 1700z.

Figure 3.  CME history recorded by ACE spacecraft (~ 1 hr before before seen at Earth)


Our observation was related to the minor hump occurring at about 0300z.  I had made an effort to be watching for the arrival as predicted at solarham.com but, again as luck would have it, the presence of lightning forced me to secure my station at that time.

Here's how I visualize the storm as depicted in Figure 1.  After the particles slammed into Earth around the Auroral Zone an ionospheric wave spread out at a surprisingly slow speed.  This wave is indicated by the exponentially decaying sine nature of the frequency variations.  The splitting of the frequency into 4 components is also surprising and could imply either a stacked vertical layering or possibly skip points spread out horizontally...but why 4?  In conclusion, I find both the layering and the slow speed with which the disturbance spread to be remarkable.

de w4hbk


Tuesday, July 10, 2012

Comparison of Two Solar Flares as Observed on QRSS Signals

The past two days there were M-Class Solar Flares the effects of which were observed on the Pensacola  QRSS grabber.  I present the data here just to document the effect as a starting point for further obversations.

The first two pictures are the grabber images and the last two the measured x-ray flux.

Figure 1.  08JUL12 Solar Flare on 30m

Figure 2.  09JUL12 Solar Flare on 20m
Figure 3.  08JUL12 X-Ray Flux Observed by GOES Satellites

Figure 4.  09JUL12 X-Ray Flux Observed by GOES Satellites

In the first event there was a rapid dropout of signal called a Sudden Ionospheric Disturbance (SID) but no noticable frequency shift.  The SID lasted about 20 minutes.  The X-Ray flux was 7x10^-5 W/m^2 and the Sun was almost directly over the skip point.  The transmitting stations were to the east of me at distances of about 300 miles/482 km.

In the second event there was only a modest drop in signal strength but a noticible upward shift in frequency indicating an upward movement of the reflecting layer.  As the signal began to recover there was a noticable broadening of the frequency with a return to normalcy after about 30 minutes.  The X-ray flux was 1x10^-5 W/m^2 or about 7 times weaker than the first event.  The Sun was low in the sky to the west relative to the skip point.  The transmitting station was 1164 miles/1872 km to the west of me.

It makes sense that the difference in the x-ray flux caused the difference in observed effect but at this point I just want to save the observations and numbers in a safe place for comparison to, hopefully, future observations.  We've seen these effects in the past but I haven't written down any numbers.

de w4hbk