You are on page 1of 6

Meteorological Picture Reception System using

Software Defined Radio (SDR)


César Velasco, Christian Tipantuña
Departamento de Electrónica, Telecomunicaciones y Redes de Información, Escuela Politécnica Nacional (EPN),
Ladrón de Guevara, E11-253 Quito, Ecuador.
{cesar.velasco,christian.tipantuna}@epn.edu.ec

Abstract—In this paper is shown the development of a low cost meteorological images are obtained in the current paper are
prototype that allows the visualization of meteorological images known as NOAA-n, where n is a number assigned to the
though the acquisition and the processing of a signal in Auto- satellite when it is in orbit. Currently, there are 3 operational
matic Picture Transmission (APT) format, which is transmitted by
National Oceanic and Atmospheric Administration (NOAA) polar orbiting satellites, which are: NOAA-15, NOAA-18 and
orbit satellites. The deployment of the system is based on Software NOAA-19; each of these satellites continuously transmits
Defined Radio (SDR) technology, and for signal processing has data in high resolution format High Resolution Picture
been used the GNU Radio toolkit. The whole system is built with Transmission (HRPT) and in low resolution format Automatic
open-source hardware and software. Picture Transmission (APT).
Index Terms—APT, GNU Radio, NOAA, Raspberry Pi, RTL-
SDR, SDR. The current paper shows the development of a system for
the reception of meteorological images from the polar orbiting
I. I NTRODUCTION NOAA satellites, which are currently operational. The signal
Currently, there exist a climate change around the world, that is obtained from the satellites is obtained in format APT,
this effect is reflected in the intensification of natural whose frequency of transmission is whithin the range of 137
phenomena, such as: hurricanes, fires due to droughts, floods and 138 MHz. Once the signal is received, it is stored and is
due to heavy rains, among others. For this reason, using processed in a Raspberry Pi platform. The signal processing is
technological resources to gather information about natural performed using the GNU Radio toolkit, specifically is used its
phenomena is extremely important and useful, when it is graphycal interface called Gnu Radio Companion and the tool
needed to make decisions that will reduce the impact of these WXtoImg. In addition, to facilitate the visualization and man-
phenomena on the population. agement of the images, a web server has been implemented,
which allows the visualization of the meteorological images
One of the limitations to the development and adaptability obtained from each of the 3 NOAA satellites and works in an
of technology to particular situations and regions is the use Local Area Network (LAN) environment.
of proprietary type of hardware and software. Hence, in
recent years a trend that is growing is the use of open-source II. S OFTWARE D EFINED R ADIO
hardware and software [1], this mainly due to the adaptability SDR technology is a flexible and versatile architecture in
that this kind of technology provides, at the moment of which the functions related with communications hardware
implementing different devices, applications and services. can be abstracted as a software component, wich can be
configured or programmed as it is needed. This concept
Another important aspect in the development of was adopted by Joseph Mitola in the early 1990’s [2]. In
technological applications that is currently addressed its beginnings this technology was linked to the military
both theoretically and experimentally is the Software Defined applications, but with the passing of the years and the
Radio (SDR) technology; which has as its main characteristic technological advances, projects were created aimed at
to obtain fully reconfigurable communication systems. The communication networks and amateur radio applications. A
SDR technology, together with open-source hardware and project that was developed to work with SDR plataforms is
software, allows to built very flexible communication systems the well known GNU Radio toolkit, which has many libraries
that can be developed and used in many applications. for signal processing.

For the study, monitoring and analysis of climate The SDR technology does not have an official standard,
phenomena, one of the oldest and most traditional atmospheric but there is a working group called the Wireless Innovation
space programs in the world is the National Oceanic and Forum [3], which promotes the development of standards,
Atmospheric Administration (NOAA), which manages several specifications and the deployment of SDR technology. To
meteorological satellites. The satellites from which the establish a formal definition of SDR technology and taking
978-1-5386-3894-1/17/$31.00 ©2017 IEEE into account its associated benefits, the Wireless Innovation
Forum in collaboration with the Institute of Electrical and A complete line of video of this frame has a duration
Electronic Engineers (IEEE) P1900.1 group have established of 0.5 seconds; so too, a complete video line of an APT
the following definition: “Radio in which part or all functions frame is 2080 pixels long, of which 1818 are used to form
of the physical layer are defined by software”. the image, the rest are used for telemetry and synchronization.
III. AUTOMATIC P ICTURE T RANSMISSION (APT) In Fig. 2 it can also be seen that the picture in APT format
The low-resolution analog mode transmission of NOAA is formed by the following parameters: a sync pulse, a space
satellites is the APT format. The pictures that are obtained and minute marker, the image is scanned by the AVHRR/3
in this format depict luminance, also known as grayscale; sensor and the telemetry frame; each of these parameters are
consequently, the dark tones depict the warm regions and the specific to each of the two channels. Sync pulse is a sequence
bright tones depict cold regions, as shown in Fig. 1. of seven pulses whose frequency is 1040 Hz for channel A
and 832 Hz for channel B; space and minute marker, for the
case of the channel A, the space refers to a black line that
will be repeated for a period of 60 seconds and the minute
marker is a horizontal white line, while for channel B, the
space refers to a white line that will be repeated for a period
of 60 seconds and the minute marker is a horizontal black
line; the scanned image by the sensor AVHRR/3 is the image
itself for the two channels A and B; finally, the telemetry
frame for both channel A and channel B is formed by levels
of modulation and amplitude that form the gray scale, as well
as the calibration of the temperature of the pictures.
Fig. 1. Picture obtained from NOAA-18 [4]. IV. H ARDWARE USED FOR THE DEVELOPMENT OF THE
PROTOTYPE

The pictures are made up of two channels, A and B. The hardware used in the prototype system consists of a
The channel A during the day makes the use of the band Raspberry Pi platform and a RTL-SDR module. In addition,
of the visible spectrum, and at night it uses the medium a Quadrifilar Helical Antenna (QHA) is used, in order to
infrared band, meanwhile the channel B uses the infrared capture the signal in APT format, signal transmitted by the
band constantly during the day and at night. NOAA satellites.

For transmission of pictures in APT format, the data stream A. RTL-SDR module
is modulated in amplitude (AM) at a frequency of 2400 Hz, The RTL-SDR module that is used for the development of
resulting in a signal that varies in amplitude depending on the prototype is shown in Fig. 3. This module consists mainly
the information coming from the AVHRR/3 sensor, which of two chips, the RTL2832U demodulator and the R820T
is capable of measuring radiation in different areas of the tuner.
electromagnetic spectrum. Then the signal is modulated in
frequency (FM) between 137 and 138 MHz with a maximum
peak deviation of 17 KHz, and finally the signal is amplified
and transmitted to earth [5]. The frame of a picture in APT
format can be seen in Fig. 2.

Fig. 3. RTL-SDR module.

The main features of the RTL-SDR module are shown below


[7]:
• The input for the antenna is of female SMA type, with
an impedance of 50 ohms and with a loss less than 0.2
Fig. 2. Format of the frame of an APT picture [6]. dB.
• The maximum sample rate is 3.2 MHz, although it is environment. This application is a graphical tool based
recommended that it be 2.8 MHz. on blocks that allows to create graphs of signal flows
• It has an 8-bit resolution. and to generate source codes from the graphic flow. The
• It has a USB 2.0 interface. programming in GRC is very similar to that of Simulink in
Matlab [9].
The RTL-SDR module has two functions, the first which
is to generate two continuous signals in baseband, one in C. WXtoImg
phase and one in quadrature, for the signal in APT format It is a software that allows the recording and decoding
that is captured by the Quadrifilar Helical Antenna, this is of the signals coming from meteorological satellites as
performed by the R820T tuner. The second function is to well as the editing and visualization of the pictures. The
perform an analog-digital conversion of the signals in phase signals supported by the software can be in APT format
and quadrature, this is done by the demodulator RTL2832U. or in WEFAX format, which come from polar orbit and
geostationary orbit satellites respectively [10].
B. Raspberry Pi platform
The Raspberry Pi is an ARM (Advanced RISC Machine) The WXtoImg software performs the decoding of the
32-bit microcomputer that can work with applications where signal in APT format, for which it needs that the amplitude
low power is the priority. The model used in the development modulated signal (AM) to be sampled at 11025 Hz [10].
of the prototype is the Raspberry Pi 2 model B, whose This sampling frequency value is configured by default in
characteristics can be found in [8]. the software, since the picture that is obtained depics the
luminance. To obtain the picture the software WXtoImg
The Raspberry Pi platform is used for the processing and assigns a color within a scale of grays based on the index of
storage of signals delivered by the RTL-SDR module. Also, it modulation that presents the signal.
is used as a web server for the visualization of meteorological
pictures. D. LAMP server
V. S OFTWARE USED IN THE DEVELOPMENT OF THE The use of a LAMP server is performed with the goal
PROTOTYPE
of obtaining a dynamic web page for the display of the
meteorological pictures. The acronym LAMP refers to the
The software used for the development of the prototype different modules that compose it, which are the following:
consists of: the Raspbian operating system, the GNU Radio Linux operating system, Web Apache Server, MySQL
Companion tool and the WXtoImg software. Furthermore, Database or MariaDB and PHP, Perl or Python programming
the web application, it is implemented on a LAMP server. language.

A. Raspbian O.S. The operating system as was mentioned above is Raspbian


Raspbian is an operating system based on Debian Jessie, the other modules that are used for the LAMP server
distribution, that was created and designed for Raspberry are shown below:
Pi platform in 2012, and it is considered by the Raspberry
Pi Foundation as the most complete package and which the a) Web Apache Server.
best performance offers [8]. In the current work it is used b) MySQL Database.
the Jessie version, which is the version 8.0 of the Raspbian c) PHP programming language.
operating system.
Each of the modules are installed on the Raspberry Pi,
B. GNU Radio allowing to the web application to display the different pictures
GNU Radio is a set of different files and applications of the NOAA satellites.
grouped in libraries for the digital signal processing, it
is a free distribution software licensed under the GNU VI. I MPLEMENTATION AND R ESULTS
General Public License (GPL) version 3 [1], and can be The operation of the prototype for the reception of the
used in conjunction with SDR devices. GNU Radio uses meteorological pictures shows in the Fig. 4.
Python programming language, which is an interpreted
object-oriented language, which runs directly in the operating It consists first of an antenna, which will be able to capture
system. To built a radio system (communications system) a the signal from the satellites NOAA, then, the RTL-SDR
graph must be created, where the blocks used represent the module will work jointly with the application GNU Radio
nodes and their connections represent the data flow. Companion (GRC) across the interface USB of the Rapberry
Pi to process and to store the signal captured by the antenna,
In the current work it is used the GNU Radio Companion once the signal has been obtained, with help of the software
(GRC) application, which is the GNU Radio graphical WXtoImg the signal will be decoded to obtain the image.
Finally the image will be stored in a database, which will B. RTL-SDR Module Block
work jointly with the web application.
This block refers to the RTL-SDR module that is used, it
For the visualization of the images through of the web will not be made any type of configuration directly, it will
application, the Raspberry Pi across the Wi-Fi module, will only be necessary to know the different values of gain and
be connected to a wireless local area network (WLAN). The that also can be recognized and that works jointly with the
connection to the local area network will be realized across application GNU Radio Companion.
an AP (Access Point), see Fig. 4; therefore, all computers,
tablets, smart phones, etc. that are connected to the AP will
belong to the local area network and will be able to access the
C. Acquisition Block
images through their web browsers by placing the IP address
of the Raspberry Pi.
This block, with the help of the antenna and the RTL-SDR
module allows the processing and storage of the signal in
APT format.

As can be seen in Fig. 7 the scheme realized in the


GNU Radio Companion tool consists first of the RTL-SDR
Source block, which allows communication with the RTL-
SDR module; a Low Pass Filter block in which is set a cut-
off frequency of 19.5 KHz, value corresponding to half the
bandwidth of the signal in frequency-modulated APT format,
and a decimation value equal to 5, with the goal of reducing
the frequency of sampling. Also, the schematic consists of a
WBFM Receive block which is a demodulator by quadrature,
a Rational Resampler block to obtain a sampling rate of
11025 Hz from 51.2 KHz, a Multiply Const amplifier block
with a default value of 3, and lastly, an Wav File Sink
Fig. 4. Scheme of the prototype system of reception of meteorological
images. block that stores the signal in amplitude modulated (AM) APT
format as an audio file with a .WAV extension.
Then, the implementation of the meteorological image The elements that are part of the system prototype are:
reception system is described based on each of the blocks Quadrifilar Helical Antenna, BNC-SMA pigtail, RTL-SDR
shown in Fig. 4. module, Raspberry Pi with the software mentioned in section
V, an HDMI cable and a monitor to observe the meteorological
A. Antenna Block images; as can be seen in Fig. 6.
Since it is mentioned previously, a Quadrifilar Helical
Antenna (QHA) is used for the present article which allows
to capture the signal (electromagnetic wave) in APT format
transmitted by each of the three NOAA satellites. This
antenna presents circular right polarization and a wide
radiating diagram in the z plane, as can be seen in Fig. 5.

Fig. 6. Diagram of connection of the system of reception of meteorological


images.

For the NOAA-19 satellite case, the spectrum of the signal


in frequency-modulated APT format after passing through the
Fig. 5. QHA Antenna low-pass filter can be seen in Fig. 8.
Fig. 7. Reception scheme in GNU Radio Companion.

images by implementing a web application, in which you can


choose which satellite you want to see the images from.

It is necessary to mention that a script was developed using


the Python programming language so that the acquisition,
decoding and storage tasks are performed automatically.
Also, since the crossing of the NOAA satellites on the
Ecuadorian mainland is different for each day, due to the type
of orbit that they describe, it makes use of the web scraping
technique to obtain the exact time at which NOAA satellites
are transmitting over the Ecuadorian mainland; for in that
precise moment begin to perform the above tasks.
Fig. 8. Signal amplitude spectrum in frequency modulated APT format.
In the Table 1 shows the average percentages of CPU load
D. Decoding Block of the Raspberry Pi during the execution of the scheme of
This block refers to the WXtoImg software, which decodes Fig. 7 for the acquisition of the signal in APT format, during
the .WAV extension audio file, which is previously stored by the decoding of .WAV extension audio file using WXtoImg
the GNU Radio Companion tool, to obtain the meteorological software, during storage of images in the database and during
image. This decoding is done by a command that is executed the use of the technique of web scraping.
in the Raspberry Pi shell, this command is the following: TABLE I
“wxtoimg [-a] [-b] [-e option] input.wav image.png”. For this CPU LOAD OF R ASPBERRY P I
article this command allows to obtain an image of channel
A, an image of channel B and a thermal image. Tasks % Of CPU load
Acquisition 42%
Decoding 26%
E. Storage and Visualization Block Storage 2%
Web scraping 30%
This block refers, firstly, to the storage of all meteorological
images obtained from each of the three NOAA satellites,
using a database that is based on a relational model and Then, the A-channel, B-channel and thermal image meteo-
scripts developed in Python, PHP and HTML. Second, rological images obtained from the APT signal transmitted by
reference is made to the visualization of meteorological the NOAA-19 satellite are shown.
In the case of APT format signals transmitted by the NOAA-
15 and NOAA-18 satellites, the results were similar to those
shown in the case of the NOAA-19.
VII. C ONCLUSIONS
• The RTL-SDR module used in this article tuned correctly
each of the three transmission frequencies (137.1 MHz,
137.9125 MHz and 137.62 MHz) in the APT format of
the NOAA satellites and the GNU Radio Companion
(GRC) application, allowing a satisfactory visualization
the signal in frequency-modulated APT format.
• By means of the utilization of the Web Scraping tech-
nique and the Python programming language, the code for
the automation of the prototype system was developed in
the present article. As a result, there is a fully automatic
satellite meteorological imaging system, thus avoiding
Fig. 9. Image of channel A from NOAA-19 satellite.. possible human errors and the need for an operator to
carry out the tasks of acquisition, decoding and storage.
• The GNU Radio Companion graphical interface (GRC) is
an intuitive, easy-to-use and ideal tool for students, teach-
ers and researchers in the development of communication
systems, as well as in signal analysis.
• The WXtoImg software allowed the successful decoding
of amplitude modulated (AM) signals to an image format;
for the case of this article to a .png extension image.
R EFERENCES
[1] Pinar Domı́nguez, Iván; Murillo Fuentes, Juan José, Laboratorio de
Comunicaciones Digitales Radio Definida por Software, Dep. Teorı́a de
la Señal y Comunicaciones, Universidad de Sevilla. Primera Edición.
Sevilla. 2011

[2] J. Mitola, “Software Radios: Survey, Critical Evaluation and Future


Directions”, IEEE National Telesystems Conference, pp. 13.15 – 13.23,
1992

[3] Wireless Innovation Forum, 2017. Available:


http://www.wirelessinnovation.org/.
Fig. 10. Image of channel B from NOAA-19 satellite. [4] NOAA APT Receiver, 5 Junio 2013. Available: http://kwos-
iz0qwm.blogspot.com/2013/06/noaa-apt-receiver.html.

[5] N. Crisan y L. Cremene, “NOAA Signal Decoding and Image


Processing Using GNU-RADIO,” ACTA TECHNICA NAPOCENSIS
Electronics and Telecomunicactions, vol. 51, nº 1, pp. 1-5, 2012.

[6] V. Dascal, P. Dolea, O. Cristea y T. Palade, “Advanced VHF Ground


Sttion For NOAA Weather Satellite APT Image Reception,” ACTA
TECHNICA NAPOCENSIS Electronics and Telecomunicactions, vol.
53, nº 3, pp. 1-7, 2012.

[7] R.-S. BLOG, “The Hobbists Guide to RTL-SDR,” Available:


http://www.qsl.net/yo4tnv/docs/The%20Hobbyists%20Guide%20To%20RTL-
SDR%20-%20Carl%20Laufer.pdf.

[8] “Raspberrypi.org,” 2015. Available: https://www.raspberrypi.org.

[9] “GNURadio THE FREE & OPEN SOFT-


WARE RADIO ECOSYSTEM,” 2015. Available:
http://gnuradio.org/redmine/projects/gnuradio/wiki/EnEspanol.

[10] “WXtoImg software to decode APT,” 2013. Available:


http://www.wxtoimg.com/support/es wxgui.pdf.

Fig. 11. Thermal image from NOAA-19 satellite.

You might also like