• No results found

Development of a generic communication platform for wireless sensor networks

N/A
N/A
Protected

Academic year: 2022

Share "Development of a generic communication platform for wireless sensor networks"

Copied!
83
0
0

Loading.... (view fulltext now)

Full text

(1)

IT 15017

Examensarbete 30 hp December 2015

Development of a generic

communication platform for wireless sensor networks

Anton Danielsson Jakob Ågren

Institutionen för informationsteknologi Department of Information Technology

(2)
(3)

Teknisk- naturvetenskaplig fakultet UTH-enheten

Besöksadress:

Ångströmlaboratoriet Lägerhyddsvägen 1 Hus 4, Plan 0 Postadress:

Box 536 751 21 Uppsala Telefon:

018 – 471 30 03 Telefax:

018 – 471 30 00 Hemsida:

http://www.teknat.uu.se/student

Abstract

Development of a generic communication platform for wireless sensor networks

Anton Danielsson and Jakob Ågren

The purpose of this theses work has been to develop a physical layer wireless network emulator using commercially available hardware. As there are no custom built hardware components a number of compromises have to be made, and solutions to minimize impact on emulator performance have been found. The emulator is designed to handle real-time, two-way communication with up to 8 sensor nodes and is tested to be working using IEEE 802.15.4 compliant wireless sensor nodes. Emulator performance is evaluated, and some avenues to circumventing the emulator shortcomings are presented. Channel reconstruction, using pre-recorded data together with the emulator is also explored. Sensor node transceiver performance is investigated, as well as the possible impact on emulation correctness when connected nodes are non ideal. In the appendix some commonly used techniques for programming field programmable gate arrays are illustrated by an example.

Tryckt av: Reprocentralen ITC ISSN: 1401-5749, UPTEC IT15 017 Examinator: Lars-Åke Nordén Ämnesgranskare: Tomas Olofsson Handledare: Anders Ahlén

(4)
(5)
(6)
(7)
(8)

cij

Xin Xout

C

zi

(9)
(10)
(11)
(12)
(13)
(14)

(15)
(16)
(17)

s(t) fc fc

fc

x(t) = s(t)sin(2πfct + ϕ) = s(t)sin(ωct + ϕ),

(18)

f Spectral density

−ωc ωc

Baseband

P assband P assband

ωc = 2πfc

s(t) x(t)

ωc

s(t) = I(t) + iQ(t).

x(t)

x(t) = a(t)cos(ωct + θ(t))

(19)

−sin(ωct) Im(s)

cos(ωct) Re(s) xQ(t)

xI(t) Q(t)

I(t)

x(t) s(t)

a(t) θ(t)

ωct

cos(a + b) = cos(a)cos(b)− sin(a)sin(b) x(t)

x(t) = xI(t)cos(ωct)− xQ(t)sin(ωct)

xI(t) = a(t)cos(θ(t)) xQ(t) = a(t)sin(θ(t))

eitω0f (t)↔ �f (ω− ω0)

f (ω) f (t)

(20)

ω Spectral density

Baseband P assband

ωc

−ω

ω

(21)

π ωt

2 π

2

cos(t) sin(t) ω

(22)

(23)

Σ

(24)
(25)

(26)

(27)

A B

C

CH 26

H C 26

CH26 CH26

CH C 26

26 H

A B

C

�→CH CH24

22

CH

�→ 24

CH 23

CH25�→CH21 CH

25�→CH 23

CH 26�→

CH 21 CH

26

CH �→

22

(28)

C

XCH24,XCH25 XCH26

xCH21= c11xCH24+ c21xCH25+ c31xCH26

xCH22= c12xCH24+ c22xCH25+ c32xCH26

xCH23= c13xCH24+ c23xCH25+ c33xCH26,

cij i j

xCH21

xCH22

xCH23

 =

c11 c21 c31

c12 c22 c32

c13 c23 c33

xCH24

xCH25

xCH26

 .

Xin=

xCH21

xCH22

xCH23

 , C =

c11 c21 c31

c12 c22 c32

c13 c23 c33

 , Xout=

xCH24

xCH25

xCH26

 .

Xout=CXin.

C

(29)

C C

z1= c12= c21, z2= c13= c31, z3= c23= c32

C =

0 z1 z2

z1 0 z3

z2 z3 0

 .

A B

C

z1

2z

z1

z3

z2

3 z

z1 z2

(30)

XCH24 XCH25 XCH26

C11

C12

C13

C21

C22

C23

C31

C32

C33

×

×

×

×

×

×

×

×

×

XCH21 XCH22 XCH23

+ + +

DU T

Inputchannels

Output channels

cij

Xin Xout

C

(31)

f Spectral density

CH24 T XA

CH25 T XB

CH26 T XC

A A

B B

C

C

CH23 RXC

CH22 RXB

CH21 RXA

5M hz

z22 z32 z12

zi

(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)

8 8 Σ

|x| 64

ω[n] =±[2.5, 7.5, 12.5, 17.5]Mhz −ω[n]

(40)

(41)

0 2 4 6 8 10 12 14 16 18 20

−80

−60

−40

−20 0

0 2 4 6 8 10 12 14 16 18 20

−20

−15

−10

−5 0

(42)
(43)
(44)
(45)

40M Hz

(46)
(47)
(48)

[−1, 1]

(49)

[−1, 1]

(50)

2.445+2.48

2 = 2.4625

(51)
(52)

[0, 1]

(53)

m = [−75, 0], d = m

20, C = 10d

C

C

(54)

−70 −60 −50 −40 −30 −20 −10 0

−80

−60

−40

−20 0

[−23, −30]

[−54, −60]

(55)

−60 −40 −20 0

−100

−80

−60

−40

−20

−60 −40 −20 0

−0.1 0 0.1

(56)

−55 −50 −45 −40 −35 −30 −25 −20 −15 −10

−60

−50

−40

−30

−20

RSSI =−30

Gain=25

RSSI =−23

Gain=12

RSSI =−54

Gain=41

RSSI =−60

Gain=52

(57)

−70 −60 −50 −40 −30 −20 −10 0

−4

−2 0 2 4 6

49dB

54dB

5.4dB

−2.5dB

16.6dB

26.7dB error=7.9dB

∆gain = 10.1dB

dynamic range (dB) = 20∗ log10(2#bits).

(58)

−70 −60 −50 −40 −30 −20 −10

−4

−2 0 2

4 3.8dB

−3.4dB

16.9dB

25.8dB error=7.2dB

∆gain = 8.9dB

(59)

−100 −90 −80 −70 −60 −50 −40 −30 −20 −10 0

−100

−80

−60

−40

−20 0

y =−85 dB

x =−82.5 dB

(60)
(61)

µ

µ µ

µ

µ

µ

µ

µ

µ µ µ µ

(62)

0 100 200 300 400 500 600 700 800 900 1,000

−70

−60

−50

−40

(63)

C5

C4

C1

C2

C3

C1

C2

C3

C4

C5

(64)

C4 C5

0 10 20 30 40 50 60

−80

−70

−60

−50

−40

(65)

C1 C2 C3

(66)

0 10 20 30 40 50 60

−80

−70

−60

−50

−40

(67)

2.462 2.464 2.466 2.468 2.470 2.472 2.474 2.476 2.478

−80

−60

−40

−20 0

−33dB

[GHz]

CH23 CH24 CH25

(68)

A B

C

...

T S O R N G

leakage

weak ...

...

(69)

≤ −15 62

−10 53

−5 30

+5 45

+10 54

≥ +15 62

(70)

µ

(71)

µ µ

(72)
(73)
(74)
(75)
(76)
(77)
(78)

x + y

(79)

14ns−1

(80)

4ns−1

(81)

y1, y2, y3, y4

acc

(82)

yn

(83)

References

Related documents

The antenna was simulated with a continuous ground plane without the signal traces of the sensor node circuit.. The fabricated PCB has routing traces on both the top and bottom

The Gateway node has the most basic design of all the nodes. This device is only used to facilitate communication from a PC to the rest of the Xbee network. Thus it only needs to

The thesis concludes that fountain coding in combination with braided multi- path routing, and proportionally fair packet scheduling is an ecient solution for a wireless sensor

The aim of the thesis is to design and implement a wireless sensor network for object tracking under real-time constraints using time division multiple access TDMA with

Number of bits per symbol Bit error rate Branch envelope correlation coefficient Channel capacity Measurement capacity Spatial distance Energy per unit per bit, for instance Total

utvärdering krävs det att beskrivningarna visar att samtliga krav enligt avsnitt 4.4 är uppfyllda samt hur anbudsgivaren tänker genomföra samhällsorienteringen utifrån nedan

intervjupersonerna har berättat för mig, är exempel på hur det kan vara. Det är berättelser utifrån specifika kontexter. Det finns likheter mellan de berättelser och svar jag

Med anledning av detta beviljades vi medel från Didacticum vid Linköpings universitet för att göra en översyn av hur utbildningsprogram vid Institutionen för Ekonomisk och