6 August 2015

STANAG-4197 16-tone library only (possibly Portuguese-AF)



this wavefrom, most likely used by Portugues Air Force, is derived by STANAG-4197 unless the 39-tone used for data and digital voice transfer (they use the second tone-library only). The positions of the preamble tones match the STANAG-4197 specifications:


as well as the modulation used in the sixteen channels match the S-4197 second tone library (75Bd DQPSK, 112.5Hz spaced):

 


These transmissions was heard on 11265.0, 15025.0, 17973.0 and 20477.0 KHz on USB.

3 August 2015

SERDOLIK OFDM 35-tone DQPSK


This signal, heard several times and just today on 14390.5 USB starting from 0810z, is one of the many waveforms of the so-called SERDOLIK, a complex system used by the Russian Intel and Diplo services. Despite an initial annoyng CIS 36-50 interference (and the heavy selective fading), there are clearly visible the MFSK-34 (Crowd 36) parts and the OFDM one in the middle: the MFSK-34 partes are characterized by 40 Baud speed and 40 Hz channel separation, as shown here http://signals.radioscanner.ru/base/signal36/

The interesting part of this signal is the one related to the OFDM: another variant of the Serdolik OFDM 35-tone waveform shown here: http://signals.radioscanner.ru/base/signal123/ although the baudrate is the same (40Bd) as well as the used modulation (PSK-4).
On there, the OFDM part is formed w/out the cyclic prefix (ie channel separation = Br = 40Hz) and has 34 channels (the second probably used as pilot). On here, the OFDM part exhibits same baudrate (40 Baud) but 35 channels (the lower probably acts as pilot) with a 40 samples lenght cyclic prefix, channel separation = 50 Hz and k (correlation triangle) =1/4 (Pic. 1); the used modulation DQPSK


Pic. 1 OFDM params and modulation in SERDOLIK 35 modem PSK-4

OFDM parameteres and channels modulation  are the same of the 61 tones modem as reported here Serdolik 61.
First channel from bottom has no modulation and according to my measurements this lower channel is plus 6dB compared to the others (Pic. 2) just like a pilot tone does.

Pic. 2
Interesting is the behavior of the 3rd channel that looks like an "hole": looking deeper, it's a BPSK at 40Bd speed and KarapuZ thinks it acts as an additional sync since it carries only binary strings of zeroes and ones (Pic. 3 and 4), thanks for the tips.

Pic. 3-a

Pic. 3-b

Pic. 4

Since the different gaps between MFSK and OFDM channels the two signals are more likely not formed at the same stage, it's my guess that the initial segment of the OFDM part just acts as syncronization  (Pic. 5)

Pic. 5

1 August 2015

most important HF milcomms standards

the NATO HF House
 Modern systems utilize the HF modem as a building block and integrate ARQ protocols, adaptive data rate control, ALE control, security architecture, and application protocols to provide a complete, and often interoperable, HF data system. Data is sent to support a wide variety of applications, including chat, email, situational awareness,and others. Some of these can be satisfied simply by broadcasting data using an HF modem. However, many applications require error-free data. Therefore, most data systems utilize a reliable ARQ based data link to ensure that the data gets to the destination(s) properly.
There are two emerging de facto standards for military and government HF data communications: STANAG 5066 and STANAG 4538. Both these standards send error-free data and adapt to the channel conditions to push through as much data as the channel will allow. Both systems can be used to send a variety of data including files, email, and generic Internet Protocol (IP) traffic. How they do it is quite different. Both systems will be discussed here.

STANAG-5066
A STANAG 5066 system typically consists of several components including a PC, a modem, a crypto, and a radio with ALE. Often several of these components are integrated in the radio, but they function as individual units as shown in Figure 1. STANAG 5066 defines a protocol stack for exchanging digital information over HF radio. A simplified conceptual diagram is shown in Figure 1. Normally, the STANAG 5066 protocols and overall system control is implemented in software that runs on the PC. The standard permits certain options, but the normal (interoperable) configuration is a MIL-STD-188-110B modem including the 75 to 9600 bps waveforms, second generation MIL-STD-188-141B ALE, and a crypto.

Fig. 1 - Typical STANAG 5066 System Block Diagram
STANAG 5066 has become the choice of many military organizations for data communications. This is due to a number of factors, not the least of which is the ability for users to use their existing radio and modem technology, providing a cost effective way to add data capabilities to existing networks. Another important factor that cannot be overlooked is the plentiful number of implementations, and the levels of interoperability they have obtained between various vendors. Implementations such as the Harris “Wireless” data products include STANAG 5066, and associated e-mail standards: Compressed File Transfer Protocol (CFTP), and HF Mail Protocol (HMTP), as well as a socket-based IP client.

STANAG-4538
STANAG 4538 is a NATO Standardization Agreement (STANAG) defining a unified family of HF waveforms and protocols for linking and data transfer. THE STANAG 4538 waveforms and protocols are Third Generation (3G) HF techniques developed in the late 1990s, which provide improved voice and data communications for the tactical user. They include efficient serial tone burst waveforms, faster and more robust automated linking, and advanced ARQ data link protocols. This has resulted in significant advances in system performance including faster linking, operation at lower signal-to-noise (SNRs), and improved network capacity.
A typical block diagram of a STANAG 4538 based system is shown in Figure 2. The components typically consist of a PC and an integrated radio with embedded ALE, modem, crypto, and data link. Normally, only the higher level e-mail protocols run in the PC. The data link protocols are embedded into the radio.

Fig. 2 - STANAG 4538 Functional Block Diagram
STANAG 4538 systems are well suited to a wide variety of applications such as secure voice, secure e-mail, position reporting/situational awareness, chat messaging, file transfer, and IP data over HF. The STANAG 4538 protocols are used to provide data and voice services in plaintext and ciphertext modes, with COMSEC provided by the radio’s embedded crypto module. For data services, there are three STANAG 4538 data link protocols: the High Throughput Data Link protocol (HDL), the Low Latency Data Link protocol (LDL), and the higher throughput HDL+ data link protocol. The combination of the three protocols is often referred to as “xDL.” For each transfer, one of these protocols is selected based on the amount and nature of the data to be sent and the current channel conditions. Note that STANAG 4538 can also setup links for other types of data traffic (i.e. STANAG 5066).

The series of actions used to send voice or data in 3G systems is similar to that of 2G systems; however, the system implementation in 3G is more integrated. The architectural differences between typical STANAG 5066 systems and STANAG 4538 systems are illustrated in Figure 3.

Fig.3 - 2G and 3G Data Systems
Several factors contribute to the significant performance improvements realized by 3G over the previous generation:

Synchronization: The radios are synchronized for both ALE and data transmissions. This allows a radio to eliminate the time consuming and congestion creating “stop scan” preamble of 2G systems and retransmit timeouts are reduced for forward and reverse data transmissions.

Robustness: Each of the signaling packets, known as Protocol Data Units (PDUs), is specialized for specific purposes; e.g., calls, acknowledgements. Modulation, coding, Interleaver and data length are optimized for the information they convey.

Integrated Modem: The ALE and data waveforms are designed as a family of burst waveforms. This makes it practical for a single modem to implement all functions. In 2G systems, the modem (typically MILSTD-188-110B or STANAG 4539) and the ALE system (typically MILSTD-188-141B) are separate implementations and often separate units.
The resulting handoff delays between the modem and ALE are a significant source of lost throughput.

Advanced Data Link Protocol Techniques: The STANAG 4538 ‘XDL’ data link protocols are incremental redundancy Hybrid-ARQ protocols using a technique commonly known as “code combining.” When a packet is received containing errors, the receiving radio retains the
received data symbols from the packet and requests retransmission of the packet. If the packet retransmission also contains errors, the receiving radio combines its symbols with those of the prior packet transmission and is usually able to recover the packet without errors, yielding a significant improvement in throughput under difficult channel conditions.

3G HF Protocol suite

A summary of some of the most important HF radio communication standards includes:

+ STANAG 4285 — Characteristics of 75-3600 bps Single-Tone Modulators/Demodulators for HF Links. Defines the parameters that insure interoperability between single-tone modems designed for communicating via HF radio links. This standard is often used for NATO HF Maritime Broadcast. This standard is largely obsolete because of STANAG 4539.

+ STANAG 4529 — Modification of NATO STANAG 4285 to deliver data and voice in 1240 Hz bandwidth at rates up to 1200 bps.

+ STANAG 5066 — is a NATO standard data communications protocol that defines 2nd generation system-system communications over variable speed data links. It provides a general, open, and interoperable system for data communications over HF radio. It also defines protocols to efficiently exchange e-mail over HF circuits.

+ STANAG 4538 — Technical Standards for an Automatic Radio Control System for HF Communication Links. It is a 3rd generation HF automation standard. This standard defines a 3rd generation ALE system that has two different modes: Fast Link Setup (FLSU) and Robust Link Setup (RLSU). It also has a highly efficient ARQ data link protocol which is combined with robust waveforms.

+ MIL-STD-188-110 — (physical layer) Interoperability and Performance Standards for Data Modems. Establishes requirements that ensure specified 80 levels of performance of voice-frequency data modems used in communications systems. This standard includes the 75-2400 bps Serial Tone PSK-8, 3600-9600 bps QAM, FSK, and 39 tone waveforms. It is compatible with the equivalent waveforms in STANAG 4539. In details:

MIL-STD-188-110A
  • APPENDIX A - describes the 16-tone differential phase-shift keying (DPSK) mode
  • APPENDIX B - describes the 39-tone parallel mode
MIL-STD-188-110B
  • APPENDIX A - describes the 16-tone differential phase-shift keying (DPSK) mode
  • APPENDIX B - describes the 39-tone parallel mode
  • APPENDIX C - describes HF data modem waveforms for data rates above 2400 bps
  • APPENDIX D - describes the optional subnetwork interface to be provided by data modems
  • APPENDIX F - describes HF data modem operation over multiple discrete channels (including independent sidebands of a single carrier). In addition, a waveform is described that supports data rates of 9600 to 19,200 bps over two-independent-sideband (2-ISB) radios using the waveforms from APPENDIX C.
MIL-STD-188-110C
  • APPENDIX A - describes the requirements for an optional local area network (LAN) interface for radio data modems
  • APPENDIX B - describes the 39-tone parallel mode (not recommended for new systems)
  • APPENDIX C - describes HF data modem waveforms for data rates above 2400 bps in 3 kHz channels. These may be termed narrowband, medium data rate (MDR) waveforms
  • APPENDIX D - describes the HF data modem waveforms for use with single contiguous bandwidths from 3 KHz to 24 KHz 

+ MIL-STD-188-141 — (data link layer) Interoperability and Performance Standards for edium and High-Frequency Radio Equipment. Establishes requirements for interoperability and performance for HF radio equipment. The main body of standard covers HF radio specifications. The optional appendices contain details about implementing ALE systems, waveforms, signal structures, protocols, and LQA. It also includes Linking Protection. In details:
MIL-STD-188-141B
  • APPENDIX A - Second-Generation (2G) HF ALE
  • APPENDIX B - Linking Protection
  • APPENDIX C - Third-Generation (3G) HF ALE (+ burst waveforms)
  • APPENDIX D - HF Radio Networking
  • APPENDIX E - Application Protocols for HF Radio Networks
  • APPENDIX F - Anti-Jam and Anti-Interference Techniques
  • APPENDIX G - HF Data Link Protocol
MIL-STD-188-141C
  • APPENDIX A - Automatic Link Establishment System
  • APPENDIX B - Linking Protection
  • APPENDIX C - (moved to STANAG-4538)
  • APPENDIX D - HF Radio Networking
  • APPENDIX E - Application Protocols for HF Radio Networks
  • APPENDIX F - Radio Requirements for Co-Located Installation

31 July 2015

Using SA to measure and fix sound card digitizer errors

(by Angazu)
All sound cards and A/D converters have some clock error. This is especially true if converters are commercial and cheap ones, like PC sound cards and similar. Professional and expensive converters exhibit a much better clock stability and jitter. To correct this error, one must know nominal parameters of the signal under test. If these parameters are known, it is quite easy to correct digitizing clock error using SA.
 
Information for this doc was obtained from:
Unfortunately, Baudline has no windows version, but the web contents can be useful for the reader.

The SA method of  “Correction of BR” is quite good for this job, but perhaps using resampler as data input is a better procedure.
The correction factor will have to be measured for any digitizing speed and mode. Bear in mind that for cheap cards, the speed can vary due to various factors, so if high precission measurements are required, a new calculus should be carried out. For a good measurement, a quite big signal is needed.
This method is useful for PSK,FSK,MFSK and other modulations. To use it with OFDM, some more operations should be carried out using SA. Ideally, an external signal like GPS 1000 Hz or a signal from a high end signal generator will provide the best results. Also, a radio timing signal should be good enough.
The best way to understand the subject are examples. 

A well known signal as Stanag-4285 (sampled at 8000 sps) will be used to show the method.
We know 4285 has a nominal speed of 2400 sps. Since a frame is 256 symbols, the frame time must be 106,666666 mS. This is the value that should be obtained if using the VMW feature of SA when signal structure is perfectly vertical. As we can see, the measured value is 106,69241


Correction factor = measured value/nominal value = 106.69241/106.66666= 1.000241
Error PPM = (correction factor-1)* 1000000 = (1.000241-1)*1000000=  241 PPM.
Real Digitizing speed = 8000*1.000241 =  8001.931
Real modulation speed (Br) = 2400/1.000241 =  2399.421739
Measured SA Br = 2399.41

Now, lets go to correct the signal using calculated BR in SA.


The signal parameters are almost perfect, so we can save the corrected signal and after this procedure, we can be quite sure the new signal will be demodulated using any comercial demodulator.
Also, we know the correction factor for the used card in that speed.
In this sample, error is quite small and no problem for demodulators, but bear in mind that error can be very  big. I measured errors of more than 100 samples in an 8000 nominal sample rate. That means that demodulators will fail to demodulate the signal and even analysis will be quite complicated and erroneous
.

The MIL-STD 188-110 App.B is a well known OFDM waveform: baudrate 44.44, channel separation 56.25 Hz, 39 tones + I pilot, correlation triangle (k) = 17/64 and modulation "pi/4 DQPSK" in all channels. The analysed sample, although it exibiths the expected 39 +1 tones, is not protocol compliant for what concern baudrate, separation and K (and OFDM parameters too)


The measured clock is 44.48 Hz and according to this article  the signals has a native sample rate of multiple of 3600 Hz.
As said above, go on fixing the baudrate and re-sampling to the correct frequency (7200 Hz in this case)



Although the absolute constellation is not stable, all the mentioned parameters are now correct and the fixed sample can be saved and published.

calcolo delle constellazioni pi/4 DQPSK e (D)QPSK

the OFDM SA module calculates the arity (n-Ary) in automatic mode: in order to detect if the modulation in the channels is pi/4 DQPSK or QPSK/DQPSK we have to get a stable absolute constellation (with the help of shift)  and look at its arity. Carriers have pi/4 DQPSK modulation in case of the absolute constellation exhibits an 8 arity (Figure A)

Figure A

Modulation is QPSK if the arity of the absolute constellation is 4 (Figure B)

Figure B

Working with phase modulation, the arity must be calculated manually. In the phase module the button button Diff 0 - corresponds to an absolute mean  and Diff 1 - corresponds to the relative. In order to calculate the-arity, it is necessary to consider the harmonics at different degrees. 

For example (Figure 1) QPSK carrier and side harmonics are manifested in grade 4. Accordingly, it should be seen in the phase module with the n-Ary = 4 (Figure 2).

Figure 1
Figure 2
Now PSK-8, carrier and the side harmonics can be seen in the eighth degree (Figure 3). Next phase module, n-Ary = 8, pay attention to the trajectory of the constellations that pass through the center ! (Figure 4).

Figure 3
Figure 4

Finally, pi/4 DQPSK, the carrier and the harmonics are in degree 8 (the fourth degree exhibits only 2 harmonics unlike the 3 harmonics shown in QPSK!) (Figure 5).
And now attention - look in the phase module with the n-Ary = 8 (Figure 6). Notice that there is no transition paths through the center of the constellation (as real PSK-8 does), and the constellation of a relative is ike QPSK, but it's 45 degrees (π/4) rotated!!!

Figure 5
Figure 6


Below, another example of  pi/4 DQPSK measurement: