Why Time Synchronization? Event Ordering Low Duty Cycle Networking - - PDF document

why time synchronization
SMART_READER_LITE
LIVE PREVIEW

Why Time Synchronization? Event Ordering Low Duty Cycle Networking - - PDF document

Low-Power Clock Synchronization using Electromagnetic Energy Radiating from AC Power Lines Energy Radiating from AC Power Lines (Apply Directly Where it Hertz ) Anthony Rowe, Vikram Gupta, Raj Rajkumar Electrical and Computer Engineering


slide-1
SLIDE 1

1

Low-Power Clock Synchronization using Electromagnetic Energy Radiating from AC Power Lines Energy Radiating from AC Power Lines (Apply Directly Where it Hertz ) Anthony Rowe, Vikram Gupta, Raj Rajkumar Electrical and Computer Engineering Carnegie Mellon University

Why Time Synchronization?

  • Event Ordering
  • Low Duty Cycle Networking
  • Time Division Multiple Access (TDMA)

– Energy-efficient – High-throughput

slide-2
SLIDE 2

2

Looking back at 2006

Mobile Gateway Drill Hole

3

Hazardous Obstruction Infrastructure Node Mobile Node

NIOSH Research Coal Mine

near Pittsburgh

Leaky Feeder T itt

4

NIOSH: National Institute for Occupational Safety and Health Transmitter

slide-3
SLIDE 3

3

Very Complex. Expensive.

Power Grid Antenna AM Transmitter

5

Carrier Current Adapter Nodes

Other Synchronization Approaches

  • Sensor Network Time Synchronization

– Flooding Time Sync Protocol, FireFly-inspired Time Sync Reference Broadcast Sync, Reference Broadcast – What about energy? – Imagine extremely low duty-cycles…

  • Global Broadcasts

– WWVB atomic clock, GPS, Radio Data Service (RDS) – Does not work well indoors

  • Simultaneous Observations

– Quasar Pulses, Quantum Entangled Particles – Not practical (yet)

slide-4
SLIDE 4

4

Wirelessly Receive Power-Line Magnetic Field

Mains Powerline

“Syntonization” vs Synchronization

  • The 60 Hz frequency from the

electrical line acts as a l b l l k common global clock source

  • The phases will differ

depending on the angle of the receiver with respect to the magnetic field

Mains Powerline

  • Signal due to imbalances in

grounding loops

slide-5
SLIDE 5

5

Powerline 60 Hz

  • Field Strength

– Home

  • 17 milli gauss (as much as 10 gauss)
  • 17 milli-gauss (as much as 10 gauss)

– Industrial

  • As much as 100 gauss

– Power Line

  • 3 milli-gauss at 60 meters

– Earth

  • .02 milli-gauss
  • Stability

Stability

– 10-5 stability (typical oscillator is 10-5 ) – 10-8 differential delay stability between two points – Many old alarm clocks and appliances used the sine wave from direct contact to lines as a cheap clock

Clock Sources

Western Eastern Western Interconnect Eastern Interconnect Texas Interconnect

slide-6
SLIDE 6

6

Why use a Syntonistor?

  • Once phase offsets have been established,

the device remains synchronized for long the device remains synchronized for long periods of time without exchanging messages

  • Errors can be detected by monitoring for

rapid changes in the 60Hz signal

Challenges

  • Low-power receiver

Inductance / Resonance

  • Robustness to noise
  • Common time reference

PLL Filtering

  • Absolute phase adjustment

WSN Protocol

slide-7
SLIDE 7

7

Block Diagram

Variable Gain

Raw Signal (jitter)

Software PLL

Pulse Per Second Error

Phase Offset Cycle Counting Amplifier Zero Crossing Gain Micro-Controller

Sensor Node

Counting

Syntonistor

Syntonistor Hardware

PIC12F683

Tank Circuit Tuned to 60Hz

slide-8
SLIDE 8

8

Syntonistor Hardware

PIC12F683

1st Amplifier / High-Pass Filter

Syntonistor Hardware

PIC12F683

2nd Amplifier / Auto-Gain

slide-9
SLIDE 9

9

Syntonistor Hardware

PIC12F683

Zero-Crossing Detector

Syntonistor Hardware

PIC12F683

Micro-controller

slide-10
SLIDE 10

10

Tank Circuit (low Q)?

Low Q, High L

Large Raw Signal

High Q, Low L

Good amplification

The raw signal

O-scope with delay 10 second persistence

slide-11
SLIDE 11

11

Phase-Locked Loop (PLL)

  • Adjust period of output signal based on

phase difference compared to input signal phase difference compared to input signal

  • Classic controls problem
  • We used a Proportional-Integral-Derivative

We used a Proportional Integral Derivative (PID) controller

– Low gains with reasonable I-term since we do not require extremely fast convergence

Cleaning up the jitter

slide-12
SLIDE 12

12

Protocol (1 of 2)

1 Build Spanning Tree 1. Build Spanning Tree 2. Flooding Time Synchronization

  • Determine phase offset from initial epoch

3. Phase Offset Adjustment

Protocol (2 of 2)

  • Simple
  • MAC protocol independent
slide-13
SLIDE 13

13

Synchronization Energy (1 of 2)

  • Ideal non-adjusted approach

– Send a packet when local clock drift exceeds i d h i ti required synchronization

  • Assume perfect re-sync and ideal MAC protocol
  • LPL-CSMA (B-mac) rate adjusted

– Add a MAC protocol to Ideal approach, but now we apply clock rate adjustment based on multiple packets

  • Syntonistor

– Consumes 58μW

Synchronization Energy (2 of 2)

slide-14
SLIDE 14

14

Experimental Setup

PC Opto- isolator Opto- isolator 100 ft LOGIC ANALYZER Syntonistor Syntonistor Opto- isolator Step-Down Transformer To AC Line Syntonistor

FireFly running Nano-RK

  • C GNU tool-chain
  • Classical Preemptive Operating System

Multitasking Abstractions

  • Real-Time Priority-Based Scheduling

– Rate-Monotonic Scheduling

  • Built-in Fault Handling

CC2420 ATmega1281

  • Resource Reservations

– CPU, Network, Transducer Resource Control – Forms Virtual Energy Budget http://www.nano-rk.org

slide-15
SLIDE 15

15

8 nodes, 10000 ft2, 11 days Interference

  • Indoors

– High Frequency sources are bad (computers, TVs, etc.) S d i d (li ht t ) – Some devices are good (lights, etc.) – Transformers radiate a clean signal for multiple meters

  • AC adapters are like transmitters
  • Outdoors

– Strong signal 50 meters from buildings – Near power lines (buried or above ground) works very well – Surprising where one finds power lines

slide-16
SLIDE 16

16

Limitations

  • No Mobility

– Due to low frequency – Due to low frequency

  • Only operates near power

– Not good for the ocean, space or remote areas

R i t h d ( t)

  • Requires extra hardware (cost)

– This can be optimized

Conclusion

  • Developed a hardware device that locks onto the

magnetic field from power lines

Consumes 58μW – Consumes 58μW – Ambient magnetic filed energy is already there

  • Using a high-level protocol, network-wide

synchronization is possible

– Typically less than 1ms accuracy

  • Remains synchronized without exchanging any

packets

  • Locally detects errors without sending packets
slide-17
SLIDE 17

17

Thank You. Questions?