Beruflich Dokumente
Kultur Dokumente
Jimi Huard
DigiPen Institute of Technology
Department of Electrical and Computer Engineering
December 4, 2015
Abstract
Space and near-space science is a quickly expanding field. Studies at high
altitude can include a wide variety of topics, from cosmic-ray positron scattering to real-time monitoring of seismic activity [1, 2]. In these fields, there
is a set of problems common between all: communication and payload tracking. This paper proposes a generic solution to these common problems; a
platform for further scientific inquiry. To accomplish this, three functions
are provided: tracking, communication, and sensor interfacing. Tracking
will be accomplished through the APRS protocol, allowing for semi-real time
position reporting. Communication will be available through two-way radio
frequency telecommunication, allowing for an up-link and down-link at any
time during the experiment. Sensors will be outfit to the payload through
5V analog to digital samplers, allowing for streaming of the sensors to the
ground station in-flight.
Contents
1 Introduction
2 Design
2.1 APRS Tracking System . .
2.1.1 The Protocol . . .
2.1.2 AFSK Modulation
2.1.3 Implementation . .
2.2 Sensor Platform . . . . . .
2.2.1 Sampling . . . . .
2.2.2 Transmitter . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
3
3
6
6
8
10
11
3 Discussion
3.1 APRS Tracking System
3.1.1 New Design . .
3.1.2 Test Flight . . .
3.1.3 APRS Rev. 2 .
3.2 Transceiver Evaluation
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11
11
11
13
13
13
.
.
.
.
.
.
.
.
.
.
4 Schedule
14
5 Parts List
17
References
17
Introduction
Design
2.1
APRS stands for the Automatic Position Reporting System, and is a widely
used and supported protocol for sending telemetry over the internet [5].
APRS is a framework built on top of the AX.25 frame specification, and
has a very high frequency (VHF) radio spectrum counterpart for capturing
these packets out in the field [5].
2.1.1
The Protocol
APRS uses a non-return to zero (NRZ) encoded bit-stream protocol that sits
on top of an 8-byte AX.25 frame with bit stuffing [5]. What this means is
that for each 1 that is broadcast, the output signal is held steady, and when
a 0 is transmitted, the broadcast swaps the signal output. The protocol was
designed to be easily interfaced with GPS NMEA devices, and as such allows
for these strings to be transmitted directly [5]. The AX.25 frame consists of
three major components:
1. The Header
3
AFSK Modulation
APRS uses audio-frequency shift-keying (AFSK) for radio frequency modulation [5]. This is a form of binary frequency shift keying (BFSK), where
two audio tones are used to represent a mark and a space, or one and zero
respectively. For APRS, this is a 2200 Hz tone, and a 1200 Hz tone [5].
2.1.3
Implementation
A functional overview of the APRS system is depicted in Figure 1. To generate the AFSK modulating signal, a PIC12F1572 is used. It has an on board
5-bit digital to analog converter (DAC), which can generate upwards of 100
kHz signals [7]. A timer module is used in conjunction with the DAC to
generate the 1200 Hz and 2200 Hz tone. To load the proper 5-bit value into
the DAC, a buffer containing pre-generated sine-wave values is indexed each
time the timer goes off. Then, to generate the different tones, the timers
count register is re-loaded with the time step for each tone. The physical
realization of this device is seen in Figure 2.
The positioning information including latitude, longitude, and altitude
are received through a sparkfun Venus GPS breakout board. The Venus
GPS then uses a serial communication protocol (UART, at 9600 buad) to
send this information to the PIC12F1572 in the form of NMEA sequences.
Each sequence, or sentence as they are often referred to, is a dollar sign $
character, followed by an identifier. This identifier corresponds to how the
remaining comma-separated values are to be parsed. For this platform, the
GPRMC and GPGGA sentence formats are used. GPRMC and GPGGA
sentence formats are given in Table 2. Each sentence is ended with a two
byte checksum.
6
Figure 2: APRS printed circuit board rev. 2. Contains two LED indicators: a
PPS indicator, which flashes once per second if the GPS contains a satellite
lock, and a running light. Power is supplied through a Wago wire clamp
connector. An on/off switch is used to deactivate the device while not in
use. Four mounting holes are placed at the corners of the board so that it
may be screw mounted securely to a 3D printed case. A Schottky diode offers
reverse battery protection from the input terminals. Two SMA connectors
are used: one located at the top of the board for the 144.39 MHz transmitter,
and the other protrudes from the bottom for the GPS antenna.
7
2.2
Sensor Platform
Figure 4: Example FIDO sampler circuit with port diagram. Input signals
may be configured in one of two ways: through a pulse width modulation
protocol, or as a straight 5V analog signal. A 5V rail and a ground rail are
supplied for sensors to use. However, it is recommended that each sensor has
its own power system for redundancy, so that a short or other system failure
does not critically damage the entire system, and instead the 5V rail is for
reference only.
pretation. Next, the payload is a set of channel identifiers and corresponding
readings. If the channel is set to pulse width modulation (PWM) mode, then
the calculated pulse width or frequency is stored. Otherwise, the raw ADC
value is loaded into the data section. Finally, a footer containing a two-byte
cyclical redundancy check of the payload is transmitted, as well as an end
sequence (same as the header).
2.2.1
Sampling
Input to the FIDO sensor platform is achieved through a 3 pin port. The
port is comprised of a 5V supply/reference pin, a ground pin, and a data
pin as depicted in Figure 4. The data pin is low pass filtered (to preserve
Nyquist), and then sampled on board the host microcontroller. Each channel
(port) can be configured in one of two modes: PWM, or raw. In PWM mode,
a signals pulse width or frequency is recorded, rather than the raw one or
zero. In raw mode, the port is treated as a direct analog sensor.
10
2.2.2
Transmitter
Discussion
While developing the APRS platform, a number of challenges were encountered. The first iteration had its own set of challenges during development.
3.1
The first APRS board revision was loosely based off the board created in
project GARI. That board had a number of shortcomings, particularly in
weight and power consumption [9]. To overcome this a redesign was necessary.
3.1.1
New Design
11
12
Test Flight
APRS Rev. 2
As the test flight appeared to be a success, albeit a short one, a second revision was made to address issues on the first. The first iteration of the board
used a 2.5mm jack, which had to be removed for launch. While functional,
the jack would loose connection if jostled strongly enough. Instead of outfitting this with a large capacitor and further raising cost, the jack was replaced
with a Wago clamp connector. The Wago clamp also allows for more options
for powering the device. A reverse battery protection Schottky diode was
added to the design, to make the board more robust and user friendly. The
in circuit programmer pins were removed to make room for mounting holes
the board may now be securely fit to a 3D printed case. These changes are
displayed in Figure 2.
3.2
Transceiver Evaluation
Schedule
The schedule is presented in Figure 6. One of the major set backs for this
semester was losing the first few weeks to a project proposal rejection. This
caused all of the consequent weeks to be pushed forward, and the proposal
process work was literally doubled. Following the schedule is a diagram
outlining the different levels of expected success, or success metrics. These
metrics can be seen in Figure 7. These were defined on project conception,
and as such do not reflect changes in project design. One major difference
is the Transceiver section. This refers to the use of a transceiver module,
which is no longer part of the design. As such, the packet decoding/encoding
process does not necessarily make sense packets are not going to be decoded
on the payload, only at the ground station.
14
15
Figure 6: Fall 2015 Semester Schedule.
16
Parts List
Below are the parts required for populating version 2 of the APRS board.
Part
Part Number
Distributor Count USD
HX-1 FSK Transmitter
HX1
RadioMetrix
1
39.24
PIC12F1572
PIC12F1572-I/P
Mouser
1
0.83
330 Ohm SMD Resistor
DSC2512-330RJT18
Mouser
2
2.14
LDO 5,3.3V Regulator
TLE4476DATMA2
Mouser
1
3.03
22uF SMD Capacitor
GRM32ER71E226KE5L
Mouser
3
6.12
1N5819 Schottky Diode
1N5819
Mouser
1
0.47
Right Angle SMA F Port
CONSMA002-L
Mouser
1
4.41
Standard LED
C503B-RCN-CW0Z0AA1
Mouser
2
0.30
SPDT 2POS Slide Switch
SSA12
Mouser
1
1.78
Sparkfun Venus GPS
GPS-11058
Sparkfun
1
49.95
Sparkfun 3V GPS Antenna
GPS-00464
Sparkfun
1
12.95
Total
121.22
References
[1] P. von Doetinchem, H. Gast, T. Kirn, G. R. Yearwood, and S. Schael,
{PEBS} positron electron balloon spectrometer, Nuclear Instruments
and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, vol. 581, no. 12, pp. 151
155, doi:10.1016/j.nima.2007.07.053, 2007. {VCI} 2007 Proceedings of
the 11th International Vienna Conference on Instrumentation.
[2] SkyTraq Technology, Inc., Venus638FLPx GPS Receiver Datasheet,
2014.
[3] L. A. Stephen Horan, Robert Hull, Using a balloon flight for end-to-end
testing of a nanosatellite mission, Journal of Small Satellites, vol. 1(1),
January 2012.
[4] Timothy J. Schneeberger and K. W. Barker, High-altitude balloon experiment: a testbed for acquisition, tracking, and pointing technologies,
Proc. SPIE 1950, Acquisition, Tracking, and Pointing, vol. VII, October
1993.
17
[5] The APRS Working Group, Aprs protocol reference, Technical Specification 1.0.1, APRS Working Group, August 2000.
[6] NTCIP and AB 3418 protocol developers, Frame
sequence (fcs) calculation explained. Online PDF,
http://cs.nju.edu.cn/yangxc/dcc teach/fcs-calc.pdf.
check
2015.
LPC1769/68/67/66/65/64/63
Product
18