Methodology » History » Version 25

PASCHOS, Alexandros, 03/22/2016 02:32 PM

1 22 PASCHOS, Alexandros
{{toc}}
2 22 PASCHOS, Alexandros
3 23 PASCHOS, Alexandros
h1. *3.1 APT Demodulation & Decoding*
4 3 PASCHOS, Alexandros
5 6 PASCHOS, Alexandros
The FM signal is demodulated to a 2400Hz audio signal (in wave format). The receiver is responsible for the demodulation of the FM carrier and the output of an AM sub-carrier with the information signal within containing the image data. Every half a second, a row of the image is transmitted. 
6 1 PASCHOS, Alexandros
7 5 PASCHOS, Alexandros
p=. !{width: 50%}https://sourceforge.isae.fr/attachments/download/1829/apt_format_2.jpg(APT Format)!
8 4 PASCHOS, Alexandros
_Figure 3.1 APT Frame Format_
9 4 PASCHOS, Alexandros
10 1 PASCHOS, Alexandros
h2. *3.1.1 AM Demodulation*
11 1 PASCHOS, Alexandros
12 6 PASCHOS, Alexandros
It is important to determine when each row starts for decoding the image. As said before every half of a second a row of the image is transmitted. But in each transmitted row (see Figure above) there are two different images. The first image is the one using the AVHRR visible frequencies (optical) and the second image is coming from the IR. In order to determine the beginning of each row of data for each (visible or IR) image the transmitted message signal contains a distinct syncronization pulse (see Figure 2.2 APT Synchronization).
13 6 PASCHOS, Alexandros
The signal’s cross correlation with the synchronization square waveform gives us the frequency (number of maximums) of the repeated signal, and therefore the start of each row.
14 6 PASCHOS, Alexandros
15 6 PASCHOS, Alexandros
An illustration of the implementation followed is shown in the next Figure.
16 6 PASCHOS, Alexandros
17 14 PASCHOS, Alexandros
p=. !{width: 60%}https://sourceforge.isae.fr/attachments/download/1830/noaa_process_1.png(Process Diagram 1)!
18 6 PASCHOS, Alexandros
_Figure 3.2 Implementation Diagram 1_
19 4 PASCHOS, Alexandros
20 8 PASCHOS, Alexandros
The implementation was done in LabVIEW and the procedure wil be explained step by step. First a Sound File Read is used to read the .wav files and the output was plotted to verify the known 2400 Hz signal.
21 8 PASCHOS, Alexandros
22 21 LANVIN, Jean-baptiste
p=. !{width: 30%}https://sourceforge.isae.fr/attachments/download/1852/PSD.bmp(PSD)!
23 8 PASCHOS, Alexandros
_Figure 3.3 PSD_
24 8 PASCHOS, Alexandros
25 25 PASCHOS, Alexandros
By cross correlating the demodulated signal using MT Demodulate AM with the synchronization square wave we have obtained the following figure. The synchronization wave square wave signal is shown in Figure 3.5. It is important to state that when the square wave is ideal the decoded images are better aligned in terms of channel A and B, meaning that the maximums are found correctly and are placed/sorted in a better order. However, the paradox is that cross correlation output is not as expected, with regards to the distinction of the maximum peaks.
26 8 PASCHOS, Alexandros
27 11 PASCHOS, Alexandros
p=. !{width: 60%}https://sourceforge.isae.fr/attachments/download/1833/cross_correlation.bmp(Cross Correlation)!
28 15 PASCHOS, Alexandros
_Figure 3.4 Cross Correlation_
29 1 PASCHOS, Alexandros
30 25 PASCHOS, Alexandros
p=. !{width: 60%}https://sourceforge.isae.fr/attachments/download/1833/cross_correlation.bmp(Noisy Cross Correlation)!
31 25 PASCHOS, Alexandros
_Figure 3.4 Cross Correlation Noise_
32 25 PASCHOS, Alexandros
33 25 PASCHOS, Alexandros
p=. !{width: 60%}https://sourceforge.isae.fr/attachments/download/1833/cross_correlation.bmp(Synch)!
34 25 PASCHOS, Alexandros
_Figure 3.5 Synchronization Square Wave Signals_
35 25 PASCHOS, Alexandros
36 12 PASCHOS, Alexandros
Showing that the signal is repeated every half second and in between we have the repeated signal of the other channel. The choice of the synchronization wave determines which channel will be decoded and displayed first.
37 12 PASCHOS, Alexandros
This method gave rippled results in the display of the images and another walk-around needed to be thought.
38 12 PASCHOS, Alexandros
39 1 PASCHOS, Alexandros
40 14 PASCHOS, Alexandros
p=. !{width: 60%}https://sourceforge.isae.fr/attachments/download/1831/noaa_process.png(Process Diagram 2)!
41 25 PASCHOS, Alexandros
_Figure 3.6 Implementation Diagram 2_
42 4 PASCHOS, Alexandros
43 1 PASCHOS, Alexandros
h2. *3.1.2 Image Decoding and Display*
44 19 LANVIN, Jean-baptiste
45 19 LANVIN, Jean-baptiste
The image decoding process will be extracted by the matrix which contains the max indexes. A creation of a vector is implemented in LabVIEW with the indexes of maximum value, which will allow us to know when a new image row starts. The next step is to create a matrix using the maximum indexes in order to display the image correctly, this matrix is reffered as raw matrix.
46 19 LANVIN, Jean-baptiste
However, the previous method has bad performances if the signal is noisy. In this case, the maximums of the cross correlation are hardly detectable. Thus a synchronisation error is spreaded along all image's lines.
47 1 PASCHOS, Alexandros
In order to avoid this effect, we decided to synchronised the lines using only the first maximum of the cross correlation. As we know that a line is composed àf 2080 pixels we are able to build the entire image based on this maximum.
48 16 PASCHOS, Alexandros
49 18 PASCHOS, Alexandros
p=. !{width: 50%}https://sourceforge.isae.fr/attachments/download/1836/sorted_mixed_signal.bmp(Sorted Signal)!
50 25 PASCHOS, Alexandros
_Figure 3.7 Sorted Signal_
51 16 PASCHOS, Alexandros
52 16 PASCHOS, Alexandros
Lastly, a grayscle pattern is created to be used as an input for the Flatten Pixmap (0 for the minimum value and 255 for the maximum value) and this is inserted into the Draw Flatten Pixmap module.
53 16 PASCHOS, Alexandros
54 4 PASCHOS, Alexandros
h2. *3.1.3 Referenes*
55 24 PASCHOS, Alexandros
56 24 PASCHOS, Alexandros
[1] "Canary Satellite":http://www.canarysatellite.com/apt_format.html