среда, 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!

четверг, 21 января 2010 г.

New update! Improved bit stream.


Please watch small video-clip about new update.


In all previous versions, the bit stream received as a result of demodulation of PSK signals in SA, was represented as relative corners, that caused some problems with the subsequent processing of the received data.

From version 6.1.0.8 and above, universal PSK demodulator in SA, produces a bit stream in conditional codes of absolute corners. Such approach in the first, removes set of artificial problems with the subsequent data conversion, because to receive bites from absolute codes of corners does not represent special complexity, and in the second, it is a standard format for the majority of similar solutions.

We have divided/separated operation of the viewer, and operation of the demodulator, although they are still closely connected, but can work in different dimensions n-Ary. It allows to select an optimal mode of demodulation, that is certainly positively influences on the quality of a bit stream.

Two new units are added:

1) Vectors dem - at active state shows working positions of the demodulator, in the form of the vector diagram.
2) Dem output as - the list of modes accessible to the demodulator, it is possible to select any, depending on a signal and the task.

The bit stream is output by the demodulator in the form of codes of positions of absolute corners, which are occupied with a constellation point, at the time moment, which is corresponding to clock synchronization. The zero vector is displayed by light-blue colour, and encoded as 0, other positions are encoded by increasing and numbered counter-clockwise from a zero vector.

The list of operating modes of the demodulator includes:
1) standard mode
2) modes for demodulation of relative sorts, such as PI/4 DQPSK and similar.

For these sorts of signals, mapping of constellation with reduced arity in a mode of the first difference, and besides, turn of the constellation on an appropriate corner is characteristic. All this is well-known, but it was an absolute barrier for the qualitative demodulation in former versions.

In the list of modes of demodulation, for such signals these modes are flagged by s character (s means- special/shifted).

Please, pay attention that dimension of a viewer n-Ary 8 does not correspond to dimension of demodulation 4, and besides, special shift is necessary. In usual universal demodulators, it calls very serious problems with the quality of a bit stream for such signals.

One more example of receiving of a direct bit stream for the signal Orbcomm: it is possible thanks to the fact, that modulation used, in this case, is SDPSK, and it is equivalent to PI/2 DBPSK( or other names, PSK-2 with phase rotation, PSK-4 without transitions on 180 etc). And as it is binary sort of modulation, there is possibility to receive bits directly from the demodulator.

It is known that such sort of manipulation concerns to half-modes, and the signal can be demodulated by the frequency detector ( as a compulsory measure of course). Let's compare quality of the received bit stream with the coherent demodulator in SA and the bit stream, received in the frequency detector. Naturally, in this case, the stream from SA demodulator is more preferable, because all possibilities of coherent processings are realised.


пятница, 15 января 2010 г.

Signals Analyzer update 2010!

SA Update to version 6.1.0.7.a

Update is concerned to Phase Plane module, also, minor disadvantages, which were detected by users and us, are eliminated.

The problem of the slow operation in Phase Plane on wideband signals is solved.

Now, the process of demodulation does not depend on sort of mapping of constellation, earlier it was not so, and correct demodulation was possible only in an absolute mode.

The algorithm of constellations mapping was changed. The colour graphic palette is changed. It improves visualization of constellations, and positively influences on quality of screenshots and videoclips.


The main feature of this update : Possibility to measure phase angles is added.

When function "Angles" is activated, the histogram of allocation of constellation angles is constructing in corrector window (parallel with constellation mapping).
This window has such structure:
upper half - area of positive angles mapping
lower half - area of negative angles mapping

From the right to left across, the distance from 0 to 180 degrees is developed. Accuracy of mapping and measurements approximately is 0.36 degrees on pixel, that is high enough.

Correspondence of the displayed histogram to constellation is represented below.
If to speak about PSK signal, then connection (correspondence) is direct and obvious. But, it is important to mark: positions 0 and 180 degrees (in case, they are present in constellation), that each of these positions belong to one own vector, and it does not depend on polarity of the histogram. It seems like it should be clear, but I pay attention to this moment, as for other positions on the histogram it is not so, both positive and negative values are different vectors in constellation.
In lower part of the form, current cursor position on an angular axis is displayed in two values:
1) the direct value (in the first field) - it is an angle from 0 to a cursor position
2) the reversed value(in the second field) - it is an angle from 180 to a cursor position

The histogram is continuously under construction in the course of constellation mapping, that is, there is an accumulation of results. The histogram image can be scaled by the regulator on the right side of the
window.

After we got enough of results, and the picture is more or less clear, it is necessary to stop operation of Phase Plane module by button "Stop", and already directly on the histogram to make necessary measurements.
Having brought the cursor to peak on the histogram, you have to simply do clique by the left mouse button. The data will be written in the window of information output. In "clique" position the colour marker will be put. The colour of record corresponds to colour of the marker. By the reason of bad color difference on thin lines in colored areas, the marker has a thickness in three pixels, and the area of construction of the histogram has protective bars below and above, on which colour of the marker is well distinguishable.

The data is written in a following format:
1) the record number, this is conditional value and does not oblige to anything
2) an angle between a zero position (reference point) and marker
3) a difference of the angles between current marker and previous marker

These are standard enough values, which usually are interest first of all, and we have counted possible to calculate them at once.

In total, it is possible to put 10 markers, although usually two or three markers will be enough.

Right mouse clique on the histogram will remove all markers. Markers will be removed all at once together with measurement records.

The histogram is not under construction, if clock synchronization is switched off.
It is also possible to do all measurements without stopping Phase Plane operation.

Surely, In the near future there will be more detailed article with examples of operation with this function.

I want note, please read this is important:
Do not confuse position of a point in constellation, with an angle/vector, on which, this point is located, and which is displayed and measured on the histogram! That is, on the histogram we have radial angle/vector, on which lots of points can be allocated(for example QAM, PAM and other special modes), but NOT point position in the constellation as can seem at first sight.

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

DCF77. Germany standard of time and frequency

DCF77. Germany standard of time and frequency
Mixed mode, AM and special PSK +/- 13 degrees. Br~646 Hz

Here is the record of this signal. Send by cryptomaster.

Author: SergUA6
Band Width ~1100 Hz
Low Range ~950 Hz, shift is possible, recieving is in SSB
Baud Rate ~646 Hz
n-Ary (PSK/MPSK) Special mode +/- 13 degrees
Count of Carriers 1
Carrier frequency ~1493 Hz in this record. In reality exact value is 77500 Hz
RX mode SSB

Sonograms:
pic.1 General view

pic.2 Spectrum's detalization
pic.3 Manipulation speed
Diagrams:
pic.4 View after AM detector
pic.5 View on Phase plane
DCF77 - The frequency and time standard allocated in Germany. Appearance of this record in our base, and its actually complete analysis is the result of brilliant operation of members of our forum. Many people know about this signal, but not many know about its structure and even less learned it in details. The signal possesses interesting enough parametres: phase manipulation with angles + / - 13 degrees. Data format is well enough described and accessible in the Internet. Exact frequency of radiation is 77500 Hertz.

пятница, 1 января 2010 г.

MPSK: Robust Packet Radio 8 Channels

Robust Packet Radio 8 Channels
Ch-8, Br-50, Sh-60, Mode-differencial PSK-2 also named as SDPSK.

Author: SergUA6
Band Width ~500 Hz
Low Range 300 Hz, shift is possible, recieved in SSB
Baud Rate 50 Hz
n-Ary (PSK/MPSK) Special PSK-4(SDPSK)
Count of Carriers 8 easily recognizeble frequencies
Step between carriers 60 Hz
RX mode SSB

The example of the signal is here. Send by cryptomaster.

Sonograms:
pic.1 General view
pic.2 Graphical spectrum
pic.3 Manipulation speed
Diagrams:
pic.4 Phase constellation

ROBUST PACKET RADIO 8 Channels - relatively new type, which is used by amateurs often.
It has multichannel transmission, in this case, we have 8channel transmission.
This signal isn't OFDM, although it is mistakenly considered to OFDM often.
Maximum technical speed is 8*50 = 400 bps.