Rohde Schwarz Test & Measurement Fundamentals

I found a great resource for learning about test and measurement on Rohde Schwarz’s YouTube channel. Each video is about 5 to 15 minutes long and covers the basics of RF test equipment, measurement parameters, and definitions.

Rohde Schwarz Test and Measurement Fundamentals

Measuring RF systems is an important part of Broadcast Engineering. Many folks think that RF plants are going away, replaced by all IP content distribution. I disagree; Terrestrial Broadcasting will be around for a while yet. AM and FM radios are still ubiquitous in cars, homes, businesses, etc. There is no other information distribution method that is as simple and robust as over-the-air broadcasts. That is why Federal Emergency Management is still spending money on hardening broadcast facilities.

The Internet and Mobile Data in particular are susceptible to failure in emergencies. Cellular networks were almost useless due to congestion or system outages during the 9/11 attack or a natural disaster such as Hurricane Sandy.

Radio still has a role to play.

As the older Broadcast Engineers retire, there is a dearth of qualified RF specialists who can make accurate measurements on antenna systems, filters, and other transmission system components. There are very few mentoring opportunities, especially in commercial broadcasting. Gone are the days of several engineers on staff, when there was time to teach the younger people some hard-learned lessons. One of the reasons I write this blog is to pass along some of that knowledge to others so that the industry might survive.

Summer Time Atomspherics; Why is there another FM station on our frequency!!??

That is indeed a good question. There may be several explanations; a pirate, somebody’s Part 15 device, or atmospheric ducting. If the weather is good, tropospheric ducting can cause VHF (FM broadcast) and UHF (TV broadcast as well as Remote Pickup units and STLs) signals to travel far beyond their intended reception areas.

The Troposphere is the zone in the atmosphere closest to the Earth, ranging from 0 to 15 km. It is the area where most weather phenomena take place. For VHF and sometimes UHF, refraction can bend the signal back towards the surface of the Earth. Refraction at lower altitudes (called surface ducts) can cause radio signals to travel shorter distances than normal unless they are over water. Refraction at higher altitudes (elevated ducts) can cause those same signals to travel far beyond their normal range, sometimes hundreds or thousands of kilometers.

Three things affect the tropospheric refraction index (or N); water vapor, air pressure, and air density. At higher altitudes, the air is normally cooler, less dense, and dryer than air closer to ground level. However, high barometric pressure will often bring warm, dense, moist air to high altitudes. This can create a layer of warm air over a layer of cooler air known as a temperature inversion. This can create a “duct” in the upper troposphere similar to a waveguide. These signals can be very strong, sometimes overpowering a local FM signal due to the capture effect.

There is an online source that predicts atmospheric ducting, mostly used by Amateur Radio operators, but it can also be a useful troubleshooting tool: https://vhf.dxview.org/

That site produces a map like this:

VHF Ducting map

This can happen any time of the year but is more common in summertime. Tropospheric ducting is not an effect of ionization from the sun. This phenomenon is known as Sporadic E, which will be covered below.

The good news is tropospheric ducts normally last a few minutes to a few hours. Sometimes they can last longer however changes in the width or length of the ducts will change the frequencies and distances that RF signals travel along that duct. In addition, if you are hearing a co-channel FM station from many hundred kilometers away, listeners of that station are now hearing your station the same way.

Another long-distance VHF propagation phenomenon is called Sporadic E layer propagation or simply Sporadic E. This happens when the Ionosphere is heavily affected by a solar storm or sunspot. Sunspots run in an 11-year cycle. We are approaching the solar maximum for Solar Cycle 25, predicted to happen in July 2025.

NOAA Space Weather Solar Cycle 25 progression

Sporadic E is much less predictable, more random, and short-lived. Solar storms can create highly ionized areas in the E layer of the Ionosphere, creating skywave conditions for VHF signals. These signals will skip in the same way that HF and MF signals do. Fortunately, these conditions usually last a few seconds or minutes at most. More on the solar cycle can be found here: https://www.swpc.noaa.gov/products/solar-cycle-progression

North American Sporadic E Map

Once again, Amateur Radio operators are interested in this as a mode of communication. There is a Sporadic E map online at: https://www.tvcomm.co.uk/g7izu/radio-propagation-maps/north-american-sporadic-e/

GPS controlled clock based on Raspberry Pi

This is an adjunct to my previous post on creating a Stratum 1 NTP time server with a Raspberry Pi. I finished this project about a year ago, and I have to say it has been running flawlessly since then. I thought that perhaps the inexpensive GPS module designed to work with drones might not hold up. But it has.

Midnight in London

Wouldn’t it be nice to use this time source, not just to set hardware clocks but also display the time in varous places? Yes, yes it would.

Since most of my ideas are not original, I figured a quick internet search may shed some light on how to proceed. Keith, G6NHU did exactly this a year ago or so. His project can be viewed here: https://qso365.co.uk/2023/05/how-to-build-a-shack-clock-using-a-raspberry-pi-and-a-7-touch-display/

As I suspected, with a few more configuration steps, this NTP server can display the time on the native HDMI port as well as create a simple web page available on the LAN for any computer to access with a web browser. The web server is Lighttpd, which is a low CPU load, low memory demon, perfect for an older Raspberry Pi 3.

The display I chose is a 7-inch 16×9 non-touch purchased from Amazon for $33.99: https://www.amazon.com/gp/product/B0BGXB2Y67/ (not an affiliate link)

When I created the NTP server last year, I named it ntpserver. The unit runs headless (no keyboard or monitor) so I use ssh to get into the command line. Thus, the first command is:

ssh ntpserver@192.168.1.200

Once in, always do an update:

sudo apt-get update
sudo apt-get upgrade -y

The following programs need to be added to the Pi:

sudo apt install xorg openbox xserver-xorg xinit unclutter lighttpd -y

If the OS is off the shelf Raspian, then Chromium should already be installed, but if not, then add it:

sudo apt install chromium-browser -y

Once that is done, some things need to be configured. Using whatever text editor you like the xserver so that anyone can access it. Open the Xwrapper file:

sudo nano /etc/X11/Xwrapper.config

Then add line:

allowed_users=anybody

Exit and save. Next open the xserverrc file:

sudo nano /home/ntpserver/.xserverrc

Add the following:

#!/bin/sh
#Start the X server session with no power management so the display never sleeps
exec /usr/bin/X -s 0 -dpms -nolisten tcp "$@"

Exit and save. Next open the xsession file:

sudo nano /home/ntpserver/.xsession

Add the following:

#!/bin/sh
#Start Chromium at startup
chromium-browser --start-fullscreen --window-size=800,480 --disable-infobars --noerrdialogs --incognito --kiosk http://localhost

Exit and save. Note the display size can be configured to any screen resolution. This affects the HDMI port, not the web page. The 7-inch Raspberry Pi monitor that I purchased from Amazon has an 800 x 480 screen resolution. If you are using a different screen resolution, change as needed. Next open the clock.service file (it will be created when you save the file):

sudo nano /etc/systemd/system/clock.service

Add the following:

[Unit]
Description=Clock
After=network-online.target
DefaultDependencies=no

[Service]
User=clock
ExecStart=/usr/bin/startx
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

Exit and save.

The web page that will be displayed on the HDMI port as well as served to local hosts on the LAN is a java script page. It was originally developed by Nayuki: https://www.nayuki.io/page/full-screen-clock-javascript You can download whatever format you like from that site (I copied the page source) or you can download a 24-hour format from Keith’s site:

cd /var/www/html
sudo wget https://qsl.net/g6nhu/clock/index.html

The colors can be edited:

sudo nano /var/www/html/index.html

The background, foreground, and font type can be changed as desired.

Next start the clock service and reboot:

sudo systemctl enable clock
sudo systemctl start clock
sudo reboot now

Here is a quick video of the web page on my desktop computer. I have the GPS monitor from the ntpserver up and running in the left upper corner. That shows the GPS data going into the Raspberry Pi from the serial port along with some scratchy WWV audio. The actual clock sync is from the 1PPS output of the GPS module.

I could see this being used as an inexpensive master clock system somewhere. With an HDMI splitter (or a better name would be Distribution Amp), this could be sent to many locations.

Now all I need to do is figure out how to get a GPS synced 10 MHz output capable of driving multiple devices.

The Shively 6025 Broadband Log Periodic Antenna

Several companies make variations of this antenna; Scale FM-CL is a lower-power version that is used mostly by translators. They are highly directional and can be installed in a vertical, horizontal, or cross-polarized (45-degree slant) manner. This model input power is 5 KW per bay and the manufacturer’s specification is for 1.28:1 or less VSWR across the entire FM band. In the slant configuration, which Shively states is right-hand circularly polarized, the gain is 4.03 dB.

I recently did some work onsite for WXMD, California, Maryland. They were having some issues with high reflected power readings on their transmitter and suspected an antenna or transmission line problem. The station has been on the air for about 10 years and began having issues late last year after a thunderstorm passed through the area.

WXMD California, MD South East Bay Shively 6025 antenna

The main issue was that the transmitter was showing 243 watts of reflected power with 9800 watts of forward power, while the inline watt meter showed 37 watts. As part of the repairs, a new 1 5/8 transmission line was run up the tower replacing the old line which was damaged at the power divider input connector. A new power divider was also installed. Was the antenna still defective? Was the new transmission line and/or power divider defective? Was there an issue with the inline watt meter? Questions, questions, questions…

Thus, several sweeps were needed to verify things:

1 5/8 inch line terminated at the power divider with known good load

This antenna has a power divider that splits the power between a southeast-facing antenna bay and a southwest-facing antenna bay. To be sure that we were not dealing with a bad connector or transmission line, the line was swept in isolation from the input of the inline watt meter to the input of the power divider. This showed that the transmission line, connectors, elbows, and inline watt meter were all good.

Southeast Antenna SWR
Southeast antenna return loss

Next, each antenna bay was swept individually. The power divider port going to the disconnected antenna was terminated with a known good 50-ohm load.

Southwest antenna SWR
Southwest antenna return loss

Once the individual bays, jumpers, and power divider tested good, the entire antenna system was swept.

Full antenna SWR

With everything connected, the SWR showed 1.19:1. Not ideal but not terrible either. The inline watt meter readings were verified with a precision watt meter and the final SWR calculated by hand was 1.16:1.

Full antenna return loss

Therefore, the antenna system is performing within the manufacturer’s specifications.

Network analyzer

The American Amplifier Technology inline FM watt meter was then checked with a precision power meter. The readings on that device were more or less in line with the precision power meter, thus the transmitter directional coupler is out of calibration.

Mini-Circuits Precision Power meter, Forward Power
Mini-Circuits Precision Power meter, Reflected Power

The transmitter shelter is just large enough for one rack. Thankfully, the weather was cooperative, we were able to work outside. Overall, it was a productive trip and an enjoyable experience.