First tests in Mas Roig

WP6- Demo B- Progress Report
WP6 – Demo B
Mas Roig,NTUA, Wattpic, CRIC
MTA Groningen 23-10-2009
Demo B- Status
• All the infrastructure installation in Mas Roig is completed (not taking
into account the VSYNC simulator)
• Initial ZigBee nodes have developed. After some lab test, we’ve
realized that these nodes didn’t obtain good measurements.
• The connection between CRIC and Grenoble simulator, finally it’s
impossible due security restrictions and programming language
incompatibility.
• Actually, we’ve started the creation of more effective ZigBee nodes.
Some lab and field measurements have been done. Also the first
communication class, have been send to NTUA.
MTA Groningen 23-10-2009
2
Demo B
Infrastructure
visualisation
3 networks:
I Grid Network
II office,
III household & farm
Devices:
- Consumption
- Production
- Storage
- Management
MTA Groningen 23-10-2009
3
ZigBee infrastructure - HARDWARE
First version
Power block
Digital block
Assembled node
• Based on Freescale MC13213 SiP integrating a 8-bit MCU
and a 2.4GHz RF transceiver. Inverted-F PCB antenna
• Sensor block consisting in the AC current sensor ACS712
from Allegro and an analog voltage sensor.
• Both analog signals converted and processed by the
MC13213.
MTA Groningen 23-10-2009
4
ZigBee infrastructure - HARDWARE
Deficiencies
• Radio range not suitable for the defined scenario
due to the low sensitivity of the MC13213 receiver
and the poor performance of the inverted-F PCB
antenna.
• Inaccurate current and voltage measurements
due to inefficient analog design and limited
computation power of the MC13213.
MTA Groningen 23-10-2009
5
ZigBee infrastructure - HARDWARE
Second version (in prototype stage)
• Digital block based on Telegesis ETRX2
ZigBee module, which mounts an Ember’s
EM250 SoC integrating a 16-bit MCU and a
2.4GHz RF transceiver. Chip antenna and
external antenna with power amplifier
available.
ZigBee module
• Sensor block based in the CS5463 from
Cirrus Logic, a single-phase, bi-directional
power/energy chip with an integrated power
measurement device, power calculation
engine and serial interface.
• Chips communicate to each other through
SPI serial interface.
MTA Groningen 23-10-2009
Final enclosure for the load nodes
6
ZigBee infrastructure - HARDWARE
Second version (in prototype stage)
Power block
High Voltage
Digital block
Power supply (220V AC / 5V & 3.3V DC)
ETRX2 ZigBee module
Conditioning
electronics
Block diagram
CS5463
(slave)
MTA Groningen 23-10-2009
EM250
(master)
Buttons
LEDs
RS-232
RS-485
7
ZigBee infrastructure - HARDWARE
Advantages
• Increased radio range:
– Higher receiver sensitivity of the EM250 and improved antenna
performance
– More flexibility for adjusting nodes‘ radios to each node location
constrains
• Independent processes executed on independent chips:
power line analysis and ZigBee network operations
– Very accurate measurements and extended set of analysis
parameters (Line frequency, instantaneous and RMS current and
voltage, instantaneous and average active and reactive power,
fundamental and harmonic power, etc.)
MTA Groningen 23-10-2009
8
ZigBee infrastructure - FIRMWARE
Second version (under development)
•
•
Based on the EmberZNet PRO ZigBee stack, which permits the creation of
mesh networks using highly efficient routing algorithms.
Two type of devices in the network: one coordinator node and router nodes
- Coordinator node  Control center
- Router nodes  Load nodes and generation nodes
Current operation
•
•
•
Self-managed and self-healing mesh network: failed nodes and new nodes
are automatically removed or included in the network.
The coordinator inquires the nodes for relevant data (sensor data, time, node
information, etc.).
The nodes are inquired by means of their static address (unchangeable and
unique for each node)
MTA Groningen 23-10-2009
9
First tests in Mas Roig
Focus on the RF transmission and communication issues
Objectives:
• To analyze the behaviour of the ZigBee
communications infrastructure in the real
scenario.
• To evaluate and verify the proper RF coverage of
the ZigBee network for the correct provision of
INTEGRAL services.
• To validate the latest firmware version.
MTA Groningen 23-10-2009
10
First tests in Mas Roig
PVC
Test Scenario
110m
PVB
150m
15-30m
PVA
Central house
(CH)
Electric Panel
(EP)
40m
Farm House
(FH)
35m
Integral Control
Little House (LH)
MTA Groningen 23-10-2009
11
First tests in Mas Roig
Test Scenario
(old aerial image)
PVC
generation
node
CH (load nodes)
EP
PVB
PVA
(load and
generation
nodes)
MTA Groningen 23-10-2009
FH & LH
(coordinator and
load nodes
12
First tests in Mas Roig
Test nodes
• Battery-powered hardware platform providing PC interface with
ZigBee modules
• Suitable platform for the development, testing and debugging of the
INTEGRAL network application.
8 nodes like these
used in the tests
Module with
power amplifier
external antenna
Module with
chip antenna
MTA Groningen 23-10-2009
13
First tests in Mas Roig
Results
Quantitative results on RF transmission range:
• Point-to-point 100-packet transmission on a given channel
at a given transmission power.
• Two parameters evaluated:
• Receiver Signal Strength (RSS): represents the energy level
(in dBm) at the radio's receiver. Possible values between -100
(the worst) and -40 (the best)
• Link Quality Indicator (LQI): measures the reliability of a link
to a particular neighboring radio, based on the BER (bit error
rate) of the current packet. Possible values between 0 (the
worst) and 255 (the best).
MTA Groningen 23-10-2009
14
First tests in Mas Roig
Results
PVC (+10dBm) to LH on channel 15 (~150m with vegetation)
PVC (+10dBm) to PVB on channel 15 (110m with few vegetation)
-80
250
200
LQI
RSS (dB)
150
-90
200
-85
RSS (dB)
-85
250
100
150
LQI
-80
-90
100
-95
-95
50
50
RSS
RSS
-100
0
20
40
60
80
LQI
0
100
-100
0
20
60
80
LQI
# packet
# packet
PVC (+10dBm) to EP on channle 15 (105m with few vegetation)
PVC (+10dBm) to PVB on channel 11 (110m with few vegetation)
-80
250
200
-85
200
-85
LQI
RSS (dB)
150
-90
250
100
-95
150
LQI
-80
RSS (dB)
40
0
100
-90
100
-95
50
50
RSS
-100
0
20
40
60
80
0
100
RSS
LQI
-100
0
20
# packet
40
60
80
0
100
LQI
# packet
MTA Groningen 23-10-2009
15
First tests in Mas Roig
What can be observed in the graphics?
•
As the theory tells, the RSS is greatly affected by the distance between
transmitter and receiver. In fact, RSS decreases with the square of the
distance (1/d2).
•
Vegetation (basically consisting of water) also has a great impact on the signal
integrity by attenuating it.
•
The presence of active WIFI in the area must be taken into consideration since
the IEEE802.15.4 (ZigBee) narrow-band channels may fall between the oftenused IEEE802.11 (WIFI) wider-band channels.
•
The coordinator node located in the control center (LH) is reached with very
low quality from the most remote point (PVC), with low-medium quality from
within the central house (CH) and with good quality from the rest of the points
(EP, PVA, PVB and FH).
MTA Groningen 23-10-2009
16
First tests in Mas Roig
Results
•
When a ZigBee module with external antenna is used as coordinator, all the
nodes respond always to coordinator’s inquires wherever it is, even when it is
placed inside the control center (LH).
Response
(coordinator
located in PVB)
Response
(coordinator located in the
control center (LH))
Node static address
Location
000D6F0000215B75
PVA
OK
OK
000D6F0000215EB3
Freezer (inside the central
house)
OK
OK
000D6F000021443C
Inside the Farm House
OK
OK
000D6F00002144CA
Outdoor Electric Panel (EP)
OK
OK
0021ED0000044AF4
PVC
OK
OK
0021ED0000034BAC
Indoor electric panel (inside
the Central House)
OK
OK
0021ED0000044B3F
PVB
OK
OK
MTA Groningen 23-10-2009
17
Example: Parameters table
Normal
Scenario 1
Scenario 2
Scenario 3
Scenario 4
Zig Bee Node 1
L
M
M
M
M
Zig Bee Node 2
M
L
L
L
L
Zig Bee Node 3
L
L
M
M
M
Zig Bee Node 4
H
M
H
H
H
Zig Bee Node 5
L
H
L
L
L
Zig Bee Node 6
L
L
M
M
M
BATTERY HIGH
90%
90%
90%
90%
90%
BATTERY
MEDIUM
75%
75%
75%
75%
75%
BATTERY LOW
50%
50%
50%
50%
50%
VOLTAGE
NORMAL
+/-10
+/-10
+/-10
+/-10
+/-10
VOLTAGE
CRITICAL
+/-20
+/-20
+/-20
+/-20
+/-20
FREQUENCY
NORMAL
+/-1Hz
+/-1Hz
+/-1Hz
+/-1Hz
+/-1Hz
FREQUENCY
CRITICAL
+/-2Hz
+/-2Hz
+/-2Hz
+/-2Hz
+/-2Hz
MTA Groningen 23-10-2009
18
Conclusions and Timing
Conclusions
•
•
INTEGRAL network application works correctly in the real scenario and under
conditions of low network traffic (data inquires)
The weak point-to-point radio links among farthest nodes are compensated
by the mesh topology of the network, in which data from a given node is
transmitted to the coordinator by means of intermediate nodes.
Further work
•
•
•
•
To test the INTEGRAL network application under dense network traffic
conditions (continuous automatic data delivery from the nodes) as well as
under different weather conditions.
To finish and test the power line sensor and test the complete nodes.
To enable the communications with the Sunny Island devices through the
ZigBee network.
To evaluate the total energy consumption of the monitoring and control system
including the central PC, the coordinator node, the load nodes and the
generation nodes.
MTA Groningen 23-10-2009
19
Conclusions and Timing
Timing
•
•
•
To obtain a definitive ZigBee nodes  1.5 month (also included the final
communication class needed between multi agent system and ZigNee).
10 days after that the NTUA software will be ready for field testing.
VSYNC  Exists the possibility to install batteries and VSYNC in Mas Roig.
checking if it is possible (conditions, knowledge support etc.) .
MTA Groningen 23-10-2009
20
First tests in Mas Roig
Some pictures
Freezer node
Indoor electric panel node
MTA Groningen 23-10-2009
21
First tests in Mas Roig
Some pictures
PVA node
Outdoor electric panel (EP) node
MTA Groningen 23-10-2009
22
First tests in Mas Roig
Some pictures
Node (and some tomatoes) inside
the Farm House
Coordinator node and computer
inside the Control Center house
MTA Groningen 23-10-2009
23
THANKS !!
MTA Groningen 23-10-2009
24