HF Ionospheric Channel Models
This example shows how to simulate High-Frequency (HF) ionospheric channels, based on the models described in Recommendation ITU-R F.1487. In particular, it shows how to simulate the general Watterson channel model, and other simplified channel models used in the quantitative testing of HF modems. It makes use of the
comm.RayleighChannel System object™ and
stdchan function along with the Gaussian and bi-Gaussian
doppler structures from Communications Toolbox™.
ITU-R HF Channel Models: Overview
In HF ionospheric radio communications, the transmitted signal can bounce off several times from the E and F layers of the ionosphere, which results in several propagation paths, also called modes [ 1 ]. Typically, the multipath delay spreads are large, as compared to mobile radio. Also, the signal can suffer from Doppler spread due to the turbulence of the ionosphere. However, the fading rate is usually smaller than for mobile radio.
Recommendation ITU-R F.1487 [ 1 ] proposes a general Gaussian scatter model for the simulation of HF ionospheric channels. This model is based on Watterson's channel model [ 2 ]. Simpler models are also proposed in [ 1 ] for use in HF modem tests, with specified parameters.
Initialization of Simulation-Specific Parameters
The simulation sampling rate
Rs is specified to 9.6K Hz, and kept the same for the remainder of the example. We use a QPSK modulation scheme with zero phase offset.
Rs = 9.6e3; % Channel sampling rate M = 4; % Modulation order qpskMod = comm.QPSKModulator(0); % QPSK modulator object
Watterson Channel Model
The Watterson channel model consists of a tapped delay line, where each tap corresponds to a resolvable propagation path. On each tap, two magneto-ionic components are present: each one is modeled as a complex Gaussian random process with a given gain and frequency shift, and whose Doppler spectrum is Gaussian with a given standard deviation [ 2 ]. Hence, each tap is characterized by a bi-Gaussian Doppler spectrum, which consists of two Gaussian functions in the frequency domain, each one with its own set of parameters (power gain, frequency shift, and standard deviation).
In this example, we follow the Watterson simulation model specified in [ 1 ], in which the complex fading process on each tap is obtained by adding two independent frequency-shifted complex Gaussian random processes (with Gaussian Doppler spectra) corresponding to the two magneto-ionic components. This simulation model leads to a complex fading process whose envelope is in general not Rayleigh distributed. Hence, to be faithful to the simulation model, we cannot simply generate a Rayleigh channel with a bi-Gaussian Doppler spectrum. Instead, we generate two independent Rayleigh channels, each with a frequency-shifted Gaussian Doppler spectrum, gain-scale them, and add them together to obtain the Watterson channel model with a bi-Gaussian Doppler spectrum. For simplicity, we simulate a Watterson channel with only one tap.
A frequency-shifted Gaussian Doppler spectrum can be seen as a bi-Gaussian Doppler spectrum in which only one Gaussian function is present (the second one having a zero power gain). Hence, to emulate the frequency-shifted Gaussian Doppler spectrum of each magneto-ionic component, we construct a bi-Gaussian Doppler structure such that one of the two Gaussian functions has the specified frequency shift and standard deviation, while the other has a zero power gain.
The first magneto-ionic component has a Gaussian Doppler spectrum with standard deviation
sGauss1, frequency shift
fGauss1, and power gain
gGauss1. A bi-Gaussian Doppler structure
dopplerComp1 is constructed such that the second Gaussian function has a zero power gain (its standard deviation and center frequency are hence irrelevant, and take on default values), while the first Gaussian function has a normalized standard deviation
sGauss1/fd and a normalized frequency shift
fGauss1/fd, where the normalization factor
fd is the maximum Doppler shift of the corresponding channel. In this example, since the gain of the second Gaussian function is zero, the value assigned to the gain of the first Gaussian function is irrelevant (we leave it to its default value of 0.5), because the associated channel System object created later normalizes the Doppler spectrum to have a total power of 1.
For more information on how to construct a bi-Gaussian Doppler structure, see
fd = 10; % Chosen maximum Doppler shift for simulation sGauss1 = 2.0; fGauss1 = -5.0; dopplerComp1 = doppler('BiGaussian', ... 'NormalizedStandardDeviations', [sGauss1/fd 1/sqrt(2)], ... 'NormalizedCenterFrequencies', [fGauss1/fd 0], ... 'PowerGains', [0.5 0])
dopplerComp1 = struct with fields: SpectrumType: 'BiGaussian' NormalizedStandardDeviations: [0.2000 0.7071] NormalizedCenterFrequencies: [-0.5000 0] PowerGains: [0.5000 0]
To simulate the first magneto-ionic component, we construct a single-path Rayleigh channel System object
chanComp1 with a frequency-shifted Gaussian Doppler spectrum specified by the Doppler structure
dopplerComp1. The average path power gain of the channel is 1 (0 dB).
chanComp1 = comm.RayleighChannel( ... 'SampleRate', Rs, ... 'MaximumDopplerShift', fd, ... 'DopplerSpectrum', dopplerComp1, ... 'RandomStream', 'mt19937ar with seed', ... 'Seed', 99, ... 'PathGainsOutputPort', true)
chanComp1 = comm.RayleighChannel with properties: SampleRate: 9600 PathDelays: 0 AveragePathGains: 0 NormalizePathGains: true MaximumDopplerShift: 10 DopplerSpectrum: [1x1 struct] ChannelFiltering: true PathGainsOutputPort: true Show all properties
Similarly, the second magneto-ionic component has a Gaussian Doppler spectrum with standard deviation
sGauss2, frequency shift
fGauss2, and power gain
gGauss2. A bi-Gaussian Doppler structure
dopplerComp2 is constructed such that the second Gaussian function has a zero power gain (its standard deviation and center frequency are hence irrelevant, and take on default values), while the first Gaussian function has a normalized standard deviation
sGauss2/fd and a normalized frequency shift
fGauss2/fd (again its power gain is irrelevant).
sGauss2 = 1.0; fGauss2 = 4.0; dopplerComp2 = doppler('BiGaussian', ... 'NormalizedStandardDeviations', [sGauss2/fd 1/sqrt(2)], ... 'NormalizedCenterFrequencies', [fGauss2/fd 0], ... 'PowerGains', [0.5 0])
dopplerComp2 = struct with fields: SpectrumType: 'BiGaussian' NormalizedStandardDeviations: [0.1000 0.7071] NormalizedCenterFrequencies: [0.4000 0] PowerGains: [0.5000 0]
To simulate the second magneto-ionic component, we construct a single-path Rayleigh channel System object
chanComp2 with a frequency-shifted Gaussian Doppler spectrum specified by the Doppler structure
chanComp2 = comm.RayleighChannel( ... 'SampleRate', Rs, ... 'MaximumDopplerShift', fd, ... 'DopplerSpectrum', dopplerComp2, ... 'RandomStream', 'mt19937ar with seed', ... 'Seed', 999, ... 'PathGainsOutputPort', true)
chanComp2 = comm.RayleighChannel with properties: SampleRate: 9600 PathDelays: 0 AveragePathGains: 0 NormalizePathGains: true MaximumDopplerShift: 10 DopplerSpectrum: [1x1 struct] ChannelFiltering: true PathGainsOutputPort: true Show all properties
We compute in the loop below the output to the Watterson channel in response to an input signal, and store it in
y. In obtaining
y, the function call on
chanComp1 emulates the effect of the first magneto-ionic component, while the function call on
chanComp2 emulates the effect of the second component.
To obtain the desired power gains,
gGauss2, of each magneto-ionic component, we need to scale the output signal for each magneto-ionic component by their corresponding amplitude gains,
Due to the low Doppler shifts found in HF environments and the fact that the bi-Gaussian Doppler spectrum is combined from two objects, obtaining measurements for the Doppler spectrum using the built-in visualization of the System objects is not appropriate. Instead, we store the channel's complex path gains and later compute the Doppler spectrum for each path at the command line. In the loop below, the channel's complex path gains are obtained by summing (after scaling by the corresponding amplitude gains) the complex path gains associated with each magneto-ionic component, and then stored in
gGauss1 = 1.2; % Power gain of first component gGauss2 = 0.25; % Power gain of second component Ns = 2e6; % Total number of channel samples frmLen = 1e3; % Number of samples per frame numFrm = Ns/frmLen; % Number of frames [y, g] = deal(zeros(Ns, 1)); for frmIdx = 1:numFrm x = qpskMod(randi([0 M-1], frmLen, 1)); [y1, g1] = chanComp1(x); [y2, g2] = chanComp2(x); y(frmLen*(frmIdx-1)+(1:frmLen)) = sqrt(gGauss1) * y1 ... + sqrt(gGauss2) * y2; g(frmLen*(frmIdx-1)+(1:frmLen)) = sqrt(gGauss1) * g1 ... + sqrt(gGauss2) * g2; end
The Doppler spectrum is estimated from the complex path gains and plotted.
hFig = figure; pwelch(g, hamming(Ns/100), , , Rs, 'centered'); axis([-0.1 0.1 -80 0]); legend('Simulation');
The theoretical bi-Gaussian Doppler spectrum is overlaid to the estimated Doppler spectrum. We observe a good fit between both.
f = -(Rs/2):0.1:(Rs/2); Sd = gGauss1 * 1/sqrt(2*pi*sGauss1^2) * exp(-(f-fGauss1).^2/(2*sGauss1^2)) ... + gGauss2 * 1/sqrt(2*pi*sGauss2^2) * exp(-(f-fGauss2).^2/(2*sGauss2^2)); hold on; plot(f(Sd>0)/1e3, 10*log10(Sd(Sd>0)), 'k--'); legend('Simulation', 'Theory');
ITU-R F.1487 Low Latitudes, Moderate Conditions (LM) Channel Model
Recommendation ITU-R F.1487 specifies simplified channel models used in the quantitative testing of HF modems. These models consist of two independently fading paths with equal power. On each path, the two magneto-ionic components are assumed to have zero frequency shift and equal variance: hence the bi-Gaussian Doppler spectrum on each tap reduces to a single Gaussian Doppler spectrum, and the envelope of the complex fading process is Rayleigh-distributed.
Below, we construct a channel object according to the Low Latitudes, Moderate Conditions (LM) channel model specified in Annex 3 of ITU-R F.1487, using the
stdchan function. The path delays are 0 and 2 ms. The frequency spread, defined as twice the standard deviation of the Gaussian Doppler spectrum, is 1.5 Hz. The Gaussian Doppler spectrum structure is hence constructed with a normalized standard deviation of (1.5/2)/
fd is 1 Hz (type
help doppler for more information). When using
stdchan to construct ITU-R HF channel models, the maximum Doppler shift must be set to 1 Hz: this ensures that the Gaussian Doppler spectrum of the constructed channel has the correct standard deviation.
close(hFig); fd = 1; chanLM = stdchan('iturHFLM', Rs, fd); chanLM.RandomStream = 'mt19937ar with seed'; chanLM.Seed = 9999; chanLM.PathGainsOutputPort = true; chanLM.Visualization = 'Impulse response'
chanLM = comm.RayleighChannel with properties: SampleRate: 9600 PathDelays: [0 0.0020] AveragePathGains: [0 0] NormalizePathGains: true MaximumDopplerShift: 1 DopplerSpectrum: [1x1 struct] ChannelFiltering: true PathGainsOutputPort: true Show all properties
We have turned on the impulse response visualization in the Rayleigh channel System object. The code below simulates the LM channel and visualizes its bandlimited impulse response. By default, the channel responses for one of every four samples are visualized for faster simulation. In other words, for a frame of length 1000, the responses for the 1st, 5th, 9th, ..., 997th samples are shown. To observe the response for every sample, set the
SamplesToDisplay property of
numFrm = 10; % Number of frames for frmIdx = 1:numFrm x = qpskMod(randi([0 M-1], frmLen, 1)); chanLM(x); end
We now turn on the Doppler spectrum visualization for the channel object to observe the theoretical and empirical Gaussian Doppler spectra for the first discrete path. Due to the very low Doppler shift, it may take a while to have the empirical spectrum converge to the theoretical spectrum.
release(chanLM); chanLM.Visualization = 'Doppler spectrum'; frmLen = 2e6; % Number of samples per frame numFrm = 80; % Number of frames for frmIdx = 1:numFrm x = qpskMod(randi([0 M-1], frmLen, 1)); chanLM(x); end
1 - Recommendation ITU-R F.1487, "Testing of HF modems with bandwidths of up to about 12 kHz using ionospheric channel simulators," 2000.
2 - C. C. Watterson, J. R. Juroshek, and W. D. Bensema, "Experimental confirmation of an HF channel model," IEEE® Trans. Commun. Technol., vol. COM-18, no. 6, Dec. 1970.