понедельник, 8 марта 2010 г.

MFSK: Rosmodem


(Author): SergUA6
Band Width ~2250-2300 Hz
Low Range ~400 Hz, shift is possible
Baud Rate ~15.5, and very slow mode 1 Hz
Count of Carriers not less than 144
Step between carriers ~15.5 Hz
Pilot tone(s) Start tone ~1481 Hz, with duration ~ 4200 ms,shift is possible
ACF ~18662 ms
RX mode SSB

Sonograms:
pic.1 General view
pic.2 Manipulation speed
Diagrams:
pic.3 Allocation of frequencies and their quantity
pic.4 the signal's ACF and view in VMW
ROSMODEM - the new radio amateur protocol created by Spanish developer Alberto Nieto Ros, the technology of the extension of a spectrum is put in a basis. In this signal if to trust the description, base MFSK-16 extends by the pseudo-casual law at least to MFSK-144. High enough characteristics of this protocol are declared. ACF most likely connected with the period of pseudo-casual sequences of randomization, but this is only supposition. The real transfer speed is essentially lower then speed of manipulation, that can indirectly speak not only about the spectrum extension, but also about usage of serious noise-resistant coding. The mode with speed of manipulation 1 Hz is supported, here are used formerstep between frequencies and principle of creation former.

среда, 3 марта 2010 г.

In addition to the previous update version 6.1.1.6

To be honost we didn't expect such fast reaction on version 6.1.1.5, but we already recieved the letter with request to include support of 32 bit with floating point.

As it was explained to us, a lot of the modern equipment works in this mode, both record and files in this format are not such rarity(as it was possible to think), except that, this format has standard Wave tag = 3, and generally is extended enough.

We solved this task as soon as it was possible.

We would like to represent version 6.1.1.6., where support of 32 bit with floating point is provided.


Since the changes are very local, we have decided do not announce this update as separate one.


вторник, 2 марта 2010 г.

Signals Analyzer: update.

SA Update to version v 6.1.1.5

We complete the main changes linked with loading of files of various formats in SA.



Two new elements are inserted:

1 - the area of graphic's construction of a loaded file.
2 - the Switcher with which help the choice of how to interpret the loaded file is realized.

The graphic is constructing for the whole file, that is, the large-scale image by time is output, without possibilities of detailing.

The main objective of mapping of this graphic, is the preliminary scaling of signal's amplitude, tentative estimation of the signal and etc. In many cases it is the extremely useful function. However it demands time, and although speed of construction of the graphic is high enough, about 30-40 mbytes per second, on the big files (20-30) mbytes 5-10 second of time can be demanded, it is linked with features of Windows platform. But basically, all works quickly enough. If the file size exceeds ~157 mbytes (the limit of the loaded data in SA) the graphic is constructing only for this value.
Instead of doubtful function Hot track, much more useful function Auto preview is entered. At it’s activation, the graphic is constructed for any selected file automatically (in case if it possible). Files with zero length, or size shorter then 4 kilobyte are not considered as the data source by SA.
The switcher "Use options" is always switched off by default, and can be activated only for the concrete selected file/record. In this case, the graphic is constructed, pre-scaler becomes accessible, and at loading, the record will be interpreted according to those parameters, which are installed in options.

Such mechanism provides support of 24 and 32 bit records, support of multi-channel wav files, loading of any data within the limits of those formats, which supports SA. In the current version 8, 16, 24 and 32 bit integer data are supported.

24 and 32 bit data have some bytes-representations. SA supports two most wide-spread such as: little-endian used by default and designated as 24A-32A, and big-endian designated as 24B and 32B. Indirectly, the correct choice can be defined by the record graphic, it certainly does not give guarantees in separate special cases, and exhaustive search of variants can be demanded, but such happens seldom enough.

Actually speaking about integer representation, it is necessary to have in view, that numbers with the so-called fixed point are also included into this category and are supported by SA in full volume.

The records in a format with floating point and 64 bit formats, SA does not support. It is not basic limitation, and we do not enter support of these types, only because of big doubts in such necessity. If for someone it is essentially important and necessary, please contact us msm_team[at]live.ru with letter subject 64bit support, and I think the question will easily solved.

Some features and nuances.

The graphic is always is constructed from the supposition that the file is considered as the data, and it is not dependent on a real format. It means, if the file mp3 or wav or what another the graphic it is not the signal/record, which can have a compression, but it is the data in that format, which is exposed/selected in the field "Bits". This data coincides with contents of wav files with Wave tag = 1. This data can also coincide for wav files with other tags, because many programs put their own tags, and write not compressed data, but all this is not guaranteed and does not correspond to contents of mp3 files and to various sound codecs.

Usually multi-channel, not compressed wav files have Wave Tag, which is not equal 1, that locks possibility of their playing with standard resources, for SA however it does not represent a problem as the current loader allows to select any of 16 channels, from any multi-channel standard wav records.

The field "Data start" in sets offset from the file beginning, to the data which will be read by the program at loading. For some, incorrectly issued I/Q records it allows to be placed exactly on the beginning of countings, we have met a lot of such records unfortunately.

Pre-scaler is accessible only in a mode of activated function "Use options", it sets the common coefficient of scaling at file loading. Pre-scaler allows to lift signal level on weak records or, that is more important, to neglect strong interferences, by having lifted an average level of record to the normal. Typical enough problem at conversion of 24 or 32 bit records. Pre-scaler is dumped in an initial state, every time at change of the channel, data format, or the record.

Good Luck~

воскресенье, 21 февраля 2010 г.

SA update to version 6.1.1.3: 24 and 32 bit

SA update to version v 6.1.1.3


We completely have changed loading of files in SA to provide support of 24 and 32 bit records. Though, in This version loading of 24 and 32 bit files is not supported yet, the loading module is optimised and prepared for solution of this task. The standard explorer is not completely correspond to necessary requirements, especially if operation with SA carries active, not incidental character.

Generall view of SA own explorer:

The standard functions are realized, the detailed description of them is not required, but nevertheless , the main possibilities are shown below.

Through PopUp menu it is possible to switch ON/switch off Hot track, to be honost it is doubtful function, mostly disturbs than helps, but in some cases it can be very useful. Also through this menu, it is possible to make at any time Update, it can be necessary, for example, if there is the selected file, and it is not visible in a mapping window by any reasons, for instance, it is placed in the end of the long list, after Update activated it will be shown.


Especially I would like to mark support of multi-channel records in this loader: maximum quantity of channels from which it is possible to select any is 16, it is not principle limitation and if there will be a necessity, the high bound can be lifted.
Fast search in a filename part works.

Some features and nuances:

In the right window the express information about file is outputed. If at construction of the list of files, the program is oriented on file's extension, then in this window the information, which is based on general analysis of contained file is outputed. That is, if wav file has txt extension at the choice of such file it will be identified as wav, and accordingly it will be also loaded as wav.

The information about standard wav files is outputed by white colour, standard for SA considered wav files with Wave Tag = 1, with digit capacity 16 bits on sample and mono. All other records demand special attention, and sometimes special approach, the information about such files is output by yellow colour, and it is the original sign to pay attention on the record, as on potentially problem and probably illiquid.

Changes of loading of files in SA are not only external, the algorithm of processing of all types of files is completely reconsidered and processed. In all previous versions there is typical enough and widespread error at standard interpretation wav as specifications, that does not give possibility to handle some quite correct wav files. In this version this error is corrected, in this connection I'd like to mark that files saved in SA version 6.1.1.3 and above, will not be correctly processed neither in SV, nor SV+, neither SA Free, nor SA Full lower versions. Once again, the problem is not in "the bad" or specially "spoilt" files, but in incorrect interpretation of the standard wav. SA saves files in strict correspondence of the specification, and these files are obliged to understand any programs, which are working with wav standard.

The next update will mention directly loading of 24 and 32 bit records, in this version the important and scale enough preparatory part, including optimisation of the code and correction of some errors in processing both wav, and mp3 standards is realised


Good Luck~

понедельник, 15 февраля 2010 г.

Scramblers: Harris AVS, Analog Voice Security

Harris AVS
Analog Voice Security

Author: SergUA6
Band Width ~2700 Hz
Low Range 300 Hz, in this example ~240-260, shift is possible
Count of Carriers 24 subchannels 112-113 Hz
Step between carriers ~112-113 Hz between centres of subchanneles
RX mode SSB

Sonograms:
pic.1 Generall view

The analogue not synchronizable scrambler, speech spectrum with band in 2700 Hz. It is broken into 24 subchannels in width approximately 112-113 Hz, these subchannels are replaced and partially inverted, time shifts are not used in this scrambler. The subchannels ocated densely without protective intervals as for example at 04XK100. Probably time shifts aren't used because of use on SW, though Codan them uses. This isn't direct inversion.

среда, 3 февраля 2010 г.

Signals. PSK: Tetra

TETRA
Professional digital trunking system, pi/4 DQPSK


Author: SergUA6
Band Width ~ 22000 Hz
Low Range ~ 2000 Hz, shift is possible, acception in SSB
Baud Rate 18000 Hz
n-Ary (PSK/MPSK) PSK-8, pi/4 DQPSK
Carrier frequency ~ 13242 Hz, shift is possible, acception in SSB
ACF ~56-57 and 14 ms
RX mode SSB

Sonograms:
pic.1 Generall view
pic.2 the signal in 4th exponantion
pic.3 the signal in 8th exponantion
Diagrams:
pic.4 manipulation speed
pic.5 Phase constellation
pic.5 ACF after PSK demodulator

TETRA - is the standard called to replace analogue systems of type PMR on VHF range. It was established approximately in 1995. From the point of view of a signal, it is easily enough recognised under the basic characteristics, such are speed of manipulation 18000 Hz and individual ACF. It is necessary to notice that, despite wide enough prevalence, there are almost no good records of this type of signals, because relvatively wideband strips IF and AF bands are required, altought we have two records with this signal, with good quality.

среда, 27 января 2010 г.

SA: Phase plane. Angles measuring.

Phase plane. Angles measuring. Practice.

First of all it is necessary to check Angles mode in SA, for this purpose, we can take a known signal (bad idea) or to synthesize in OCG one channel with the necessary manipulation. I prefer synthesized signals as everything is guaranteed, besides, for control tests ideal signals are required.

The clock frequency and frequency carrier, in the synthesized signal, are not important for now. Let’s synthesize, for example, PSK-8 and check up what shows SA in the mode of Angles measuring.

Everything looks convincing and correct enough, but there is one nuance, which should be considered.

PLL in SA provides Synchronization by frequency carrier, actually, this synchronization actively enough compensates attempts of deviations of carrier oscillation, it is the task of each PLL system, and it can distort a true picture of angles allocation in a signal.

PLL in SA has three modes:

Slow- it is very soft mode, it does not influence obviously on allocation of angles in constellation. It is better to use this mode for exact measurements, when it is desirable to eliminate any possible reasons of distortions brought by SA.

Medium - this is also soft enough mode of deduction of synchronization, but PLL operations are much more active and more effective, compulsory deduction of angles is possible in necessary situations.

Quick - this is an aggressive PPL operating mode, in this mode PPL is "stalking" the signal in the slightest attempts to deviate expected value literally. For angles measurement this mode do not suit, as the real picture in the signal will be displayed not correct, because this picture will be represented as PLL "wishes" to see it. In this mode, if n-Ary does not correspond to real modulation in a signal, chances to get "not clear picture" are rather great, as PLL starts to "hold" everything. But if the mode corresponds, then, in case of the big mistunings, it allows to bring SA on working positions of clock and carrier frequencies in the signal very fast and effectively, after that it is possible to switch on Medium mode. For example I often use it, if the signal allows it and there is such necessity.

It is possible completely to disable PLL response on carrier, having installed mode n-Ary equal 1. In this case, PLL does not make any attempts to watch for signal's carrier, but attempts to hold the clock frequency are always undertaken (another PPL works), and to minimize this influence is possible only by having working in mode Slow, it is impossible to switch it off.

Actually all modes are necessary, all of them are used in solution of practical tasks, and the choice of this or that mode depends of what You are interested in at the current moment.

Standardly measurement of the angles is better to realize in Medium or Slow mode, results are exact enough.
In special cases, Quick mode and full switching off of synchronization by carrier, through n-Ary = 1 are used.
You can spend measurements in the signal a_test.wav in mode Slow, and you will be convinced that the result will be similar to the previous.

Thus, we consider, that an introductory part and pre-check of the new tool is completed. All works correctly, results are reliable, nuances of operation of the module are known. It is best time to start real measurements, on the real signals.

I suggest to consider one of channels of signal DIGTRX, which has brought us many problems, in the past, with reception of exact parameters of modulation.

Let's take the fourth channel from below. The signal is rather qualitative, and the seventeenth harmonic gives a classical picture that assumes usage PSK-17, as the ninth harmonic gives something similar to PSK-9, but strongly blurred, probably 9 is not exact value, but close to it.
Nevertheless, both in mode Medium and Slow, PSK-17 is obviously enough displayed on Phase plane, and in a relative mode we can see picture PSK-9 with strange enough allocation of points.

For finding-out of the details we will take an advantage of new possibility to measure angles in constellation, and we will try to understand what modulation in DIGTRX actually is.

We will try to eliminate influence SA on result as the objective picture is necessary to us.

Let's start Phase Plane operation with n-Ary = 17 and mode Medium, after reaching of steady synchronization, we will go in mode Slow, the picture will be steady in this mode, we will eliminate operation PLL as the possible interfering factor having installed n-Ary = 1, and we will switch on mapping of the first difference(as in an absolute mode the chaos in connection with absence of synchronization by carrier will start).

Let's activate mode Angles, and after we get enough of the data, we will spend measurements which show very interesting and tangled picture.

It is well visible that though angles are symmetric concerning a zero vector, their values accept rather exotic values, from maximum approximately in 45 degrees, to minimum in 28. No any multiplicity is observed between corners, neither in 360/17, nor in 360/8.5

There is a sense to look that turns out on the Phase Plane in a mode n-Ary = 9. As mode Medium does not cope with synchronization tasks on carrier, we use Quick mode. At the same time also we will spend measurement of angles, although we do not expect any surprises here, PLL will maintain in every way "correct" angles.


Predictably, angles are "correct" approximately 360/9 = 40. But points remind small triangles, and it explains all!:)

There is a method of lowering of the peak-factor of a signal named "nonlinear compression", it is widely enough used at QPSK modulations, ( as we can see not only). In a general view, sense of the method, that strictly dosed out controllable distortions are brought in a formed signal, in the form of the set admissible dispersion of amplitudes and phases, it allows to reduce considerably sometimes peak-factor, without essential deterioration of a noise stability. Thus, as a rule, compatibility with existing demodulators is provided.

Positions of points of constellation at such compression, occupy the permissible limited sector ,which sizes depend on compression parameters, that complicates the analysis of similar signals, and sometimes leads to false conclusions, for example, as in this case, it can seem that differential PSK-17 is used , while it is absolute PSK-9, and to the signal one of methods of lowering of the peak-factor is applied.

Other interesting signal, which we will consider, is DCF77. German standard of time and frequency, it is easily finds out and the clock frequency is approximately equal 646 Hertz, it is already the very good sign, as without reception of clock frequency the analysis practically is not possible.

Let's define modulation mode, PSK finds out confidently, but to tell precisely without measurement of the angles, which mode is used is problematic enough. And for reception of a bit stream atleast with any minimum guarantees, it is extremely desirable.

The Problem in that only two positions of the phase are used, to define the angle between them without exact measurements is hard.

Frequency carrier 1493 Hertzs is visible on the signal, and it is well visualized on the second, the third, the fourth etc. harmonics, that is strange enough.


There are two points On a phase plane , the angle between them is the angle we are interested in. How to solve this task is already known. Measurements can be spent as in absolute operating mode Phase Plane, in the relative it is usually measured by two reasons:
1)if there is really relative modulation
2) or if by some reasons the constellation does not manage to be held motionlessly(such happens if the exact order is unknown or is not defined, or there is no synchronizations on the carrier).

As it is visible, the angle is close to 31-32 degrees, besides, there is an obvious asymmetry, which is not noticeable on the Plane, but is perfectly visible on the histogram. At the same time in the description of signal DCF77, it is told about + / - 13 degree phase-manipulation, that is, deviation of the phase relative zero should be 26 degrees.

The error is great, it makes more than 20 %. Probably, there is an error in description of the signal, and the real manipulation is + / - 15 degrees. That is much more logical, because "good" multiplicity pi/12 turns out. In favor of this version, tell results of measurement of angles of manipulation on other record, where it is close to + / - 15.

In the present state of affairs, when we have the signal, from two different receivers, and measurements we get manipulation angles is + / - 15 degrees, our opinion is that we can trust the analysis, than the description. Although two records are not enough to proclaim surely that there is an error in description, and probably such considerable discrepancy has under itself the objective reasons.

Good luck!