14.10.2014 Views

A2Protocol_May2008pr..

A2Protocol_May2008pr..

A2Protocol_May2008pr..

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Alert Users Group May 2008 R. Chris Roark and Don Van Wie<br />

EARLY ALERT 2 PROTOCOLS


Where are we?<br />

• ALERT 2 physical layer is a reality<br />

Performance equal or better than ALERT<br />

Throughput h order of magnitude greater<br />

100% error detection when correction fails<br />

• Some aspects of protocol structure are set<br />

Layered protocol<br />

Fixed length first block<br />

Variable length packet w/ maximum 1 K data


What needs to happen?<br />

• ALERT 2 is ready for real‐world trials…BUT<br />

Application layer (s) have not been defined to the<br />

point of general acceptance.<br />

Agreement needed from those who will implement an<br />

support it<br />

• Hardware vendors – can we build it?<br />

• Software vendors –can we read it?<br />

• User community –does it do what we need?<br />

Concern over getting it right; ‘inertial barriers’<br />

• Decide on initial uses and define a few initial<br />

protocol types


Modern protocols<br />

Standard d architecture of modern packet<br />

protocols<br />

Fixed length header<br />

• Protocol identifier –multiple sub‐protocols<br />

• Length information<br />

• Link information<br />

Variable length data packets<br />

Processing standards


The “model’ protocol<br />

• Many similar il protocols exist<br />

• Successful protocols are adapted to<br />

The environment in which they operate<br />

The application they serve<br />

The type of data they carry<br />

• TCP/IP is often pointed to as ‘the’ model<br />

It is adapted to a specific environment: low error<br />

rates, high data volumes, large packet sizes, high<br />

bandwidth, reliable connectivity.


Adaptations for ALERT 2<br />

• Environment<br />

Narrow bandwidth<br />

High noise<br />

Simplex channels<br />

• Application<br />

i<br />

Short messages, coexist w/ occasional long blocks<br />

d b d d<br />

Must support ALOHA and 2 way (broadcast and<br />

point‐to‐point


Principles<br />

1. Protocol must permit multiple li l data transfer<br />

formats within a general structure.<br />

2. Each variant must weigh the tradeoff :<br />

Flexibility, adaptability, breadth of use<br />

vs<br />

Brevity, efficiency, preponderant use<br />

h h ll f l f<br />

3. Best approach is to have a small family of<br />

well‐adapted specialty structures.


Let’s get started!<br />

• We propose some initial i i sub‐protocols<br />

• They are intended to support:<br />

Initial field testing<br />

Translation and repeating of ALERT messages<br />

First generation ALERT 2 field hardware<br />

Initial two‐way traffic<br />

• Getting started with these does not preclude<br />

any options for future protocols!


Protocols for consideration<br />

1. ALERT Concentrator<br />

2. ALERT 2 simplex self‐initiated reporting<br />

1. General sensor reporting<br />

2. Tipping bucket rain gage reporting<br />

3. Tw0‐way simple messaging


3 birds with one stone?<br />

1. We need a real‐world ld trial il with ih side‐by‐side<br />

data comparisons of ALERT and ALERT‐2.<br />

2. Moving ALERT data into an ALERT‐2 stream<br />

is part of the transition path.<br />

3. Concentrating repeater output on ALERT‐2<br />

can solve contention data loss problems.


What’s an ALERT 2 Concentrator ?<br />

• Repeater listens for ALERT reports for 5 to 15 seconds<br />

• Extracts 24 bits of data from each ALERT message<br />

• Adds 1 byte timestamp<br />

• Packs data into an ALERT 2 message<br />

• At the base, the ALERT messages are reconstituted and<br />

delivered as serial data.


Air time per ALERT message<br />

180.0<br />

160.0<br />

140.0<br />

2x channel<br />

efficiency<br />

Millisecond ds<br />

120.0<br />

100.0<br />

80.0<br />

60.0<br />

40.0<br />

20.0<br />

0.0<br />

High<br />

load, 10x<br />

channel<br />

effieicency<br />

0 5 10 15 20 25 30 35 40 45 50<br />

ALERT Msgs per ALERT 2 Transmission


ALERT 2 Concentrator status<br />

• Development funded d by UDFCD, now in<br />

progress, deployment planned this season.<br />

• Concentrator will run on a separate frequency<br />

in parallel with the production system.<br />

• Feeds will be compared and analyzed to<br />

assess ALERT 2 performance.


Concentrator message structure<br />

52<br />

ms<br />

Preamble<br />

& Header<br />

113 ms<br />

First Block<br />

160 ms<br />

Follow‐on<br />

on<br />

Block<br />

160 ms<br />

Follow‐on<br />

on<br />

Block<br />

57‐157 ms<br />

Partial Data<br />

Block


ALERT 2 message structure<br />

Preamble<br />

Header<br />

RF Carrier only Fr<br />

AGC<br />

lock<br />

S<br />

y<br />

n<br />

c<br />

PID, Length, Flags<br />

3 bytes<br />

Data<br />

14 bytes<br />

First<br />

Block<br />

FEC Overhead<br />

51 bytes


ALERT 2 Follow‐on on blocks<br />

FEC Fixed<br />

Overhead<br />

Data<br />

32 bytes 32 bytes<br />

Follow‐on on Block<br />

160 msec<br />

FEC Overhead<br />

32 bytes


ALERT 2 Sensor Protocol<br />

• Most messaging accomplished in first block<br />

• Option to extend to follow‐on blocks<br />

• Site‐sensor addressing:<br />

65,535 sites, 63 sensors per site<br />

• 1, 2 or 4‐byte data fields<br />

• 1‐byte: 8 digital sensors or values 0‐255<br />

• 2‐byte: signed integer ‐32 to +32K, implied decimal<br />

• 4‐byte: IEEE floating point ‘single’


ALERT 2 Sensor protocol<br />

• Data “tuples”<br />

Sensor ID<br />

6 bits<br />

Data length<br />

2 bits<br />

Data 1, 2 or 4 bytes<br />

0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1<br />

0 to 63 0‐3<br />

• Example: Sensor 5, two byte data field, value<br />

27


ALERT 2 Sensor protocol<br />

• First Block Structure ‐ example<br />

PID –Length ‐ Flags 3<br />

Source Address 2<br />

Sensor‐Data (2 byte) 3<br />

Sensor‐Data Dt (2 byte) t) 3<br />

Sensor‐Data (2 byte) 3<br />

Sensor‐Data Dt (2 byte) t) 3


ALERT 2 Rain Protocol<br />

• Timed hold‐off reporting, 15 sec to 4 min<br />

• Supports 0.01” resolution, with 1 min hold‐off<br />

5”/hour rain rate with single block<br />

24”/hour rain rate with 2 blocks


ALERT 2 Rain protocol<br />

• Timed hold‐off reporting, 15 sec to 4 min<br />

• Supports 0.01” resolution, with 1 min hold‐off<br />

5”/hour rain rate with single block<br />

24”/hour rain rate with 2 blocks<br />

PID<br />

##<br />

Addr<br />

9616<br />

ID/Len/<br />

Accum<br />

0 2417<br />

TS<br />

2<br />

TS<br />

14<br />

TS<br />

27<br />

TS<br />

40<br />

TS<br />

54<br />

TS<br />

67<br />

TS<br />

88<br />

TS<br />

120<br />

TS<br />

157


Timestamps<br />

• GPS receivers are an option for remote site<br />

equipment<br />

• Timestamp w/ one second accuracy is<br />

feasible<br />

• Protocol variant for sensors and rain uses 4<br />

byte timestamp, reduces data space in first<br />

packet kt


Data loss due to collision<br />

90%<br />

80%<br />

Dat ta contention n losses<br />

70%<br />

60%<br />

50%<br />

40%<br />

30%<br />

20%<br />

10%<br />

0%<br />

0 2000 4000 6000 8000 10000 12000<br />

ALERT Traffic, msgs/hr<br />

ALERT 2 Concentrator<br />

ALERT

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!