Professional Documents
Culture Documents
Abstract— This paper proposed a reconfigurable and the system with many types of external devices and also can
flexible SoC architecture for various applications of create various program applications. Proposed system also
wireless sensor network (WSN). The hardware-software support many interface such as I2C, SPI, USART, etc. The
system reconfiguration can be easy done because the system has been successfully implemented with
systems utilize FPGA based SoC as a platform. The system communication device and sensors with secure data transfer to
also supports various network topologies and interfaces. the gateway. The system also has been verified by monitoring
The supported interface consists of I2C, SPI, USART, etc. application for PH and temperature.
The main processing system of SoC is based on ARM v7
processor that has high computing capability. The system
utilizes Ubuntu 12.04 LTS as operating system. As II. SYSTEM ON CHIP ARCHITECTURE
consequences, we can easily interface the system with
many external devices and create various program 1. The System Architecture
applications, such as monitoring system, sensor data
warehouse, etc. The system has been successfully The proposed system architecture is illustrated on Fig 1. The
implemented with communication interface and PH, SoC system is implemented using FPGA Zynq that consists of
temperature, and humidity sensors. The system also has dual core ARM cortex v7. The FPGA board uses microzed.
been verified using designed monitoring application for
PH, temperature and humidity data that are transferred
Soil Humadity
into gateway.
Soil PH sensor SoC
Keywords—Wireless sensor network, SoC, flexible, WIFI
ZYNQ
configurable, zynq
Temperature
230
Fig 4. The monitoring system architecture
I/O
Neon / fpu engine
Peripherals
Cortex A9
USB 0 MMU MPCore
CPU
UART I
Cache I Cache D
I2C I
L2 Cache
ENET 0
Central
Interconnect
Clock
Generation memory
DDR 3
On HLS architecture, the system utilizes ARM v7 cortex A9 Fig 5. The System Development Flowchart
MPcore CPU. The system has cache memory and external
memory consist of 1 Gb DDR3 memory. For the connection Based on Fig. 5, the system development consists of 6
with sensors, the system has I2C interface that is directly development steps:
connected with microcontroller system. 1. The configuration of Zynq FPGA with microzed
In this step, the Zynq Fpga configuration file is generated
3. The monitoring system block diagram for SoC with Linux OS [14].
The system is applied for monitoring of PH, temperature, 2. Xillinux Installation on Zynq FPGA
humidity, etc. as can be seen on Fig. 4. Second step, it installing linux os base on xillinux os as
ubuntu 12.04 with kernel linux 3.12.0. for step
configuration can read on documentation [15].
3. Setting WiFi driver
For communication between SoC, the system use Wifi
connection with tp-link tl wn722N with high gain and
long distance. Driver with htc-9271.fw and installing on
~/lib/firmware. For verification can be check with
#iwconfig. For search the wifi active use iwlist wlan0
scanning.
231
IV. THE SOFTWARE DEVELOPMENT
The software development has several layers. We use layer for
each application as show on Fig. 7.
The sensors are connected with low power Adding the processing system for I2C connection with
microcontroller. The system has both sensor and Zynqc. It sensor can show in following figure.
utilizes I2C connection interface. Because many sensors
are utilize different protocol. With microcontroller, it
become possible to add sensor with easy connection and
configuration.
The specification of proposed system are: IEEE
802.11b/g/n WIFI
1. Interoperability with other WiFi devices
2. Processor 33.333 MHz SoC ARM Cortex A9 MPcore
2 core (32KB I-chace, 32 KB D-Chace, AMBA Bus,
FPU)
3. Integrated with I2C communication or UART for
communication with Sensor module
4. Integrated Humidity, Temperature, PH and Gas
Nitrogen
5. Extended sensor device with one device connection
for data 3acquisition
6. Battery rechargeable
7. Hardware and software link-layer encryption and
authentication Fig 8. Adding I2C communication module
8. Programming and data collection via USB or remote
9. Configurable with other GPIO, other sensor or 'DWD WUDQVIHU RI PRWH WR JDWH ZD\ LV LPSOHPHQWHG XVLQJ DG
actuator for agriculture KRFFRQQHFWLRQ7KHVRIWZDUHIRUFRQQHFWLRQZLWKJDWHZD\LV
10. SMA antenna connector, it’s possible for long range FUHDWHG ZLWK EDVK VHOO SURJUDPLQJ 7KH VHQVRU GDWD LV VHQW
connection SHULRGLFDOO\
11. Xillibyus support with linux kernel 3.12.0 : mesh
networking and communication implementation with
routing protocol with AODV
232
The connection testing is successful with best
connection and 100% connection success.
7KH VHQVRU GDWD IURP PLFURFRQWUROOHU DUH VHQW WR 6R& DQG
WKHQ WUDQVIHUUHG WR D JDWHZD\ DQG VWRUHG DV W[W ILOH 7KH
LOOXVWUDWLRQ RI PRWH FRQQHFWLRQ ZLWK JDWHZD\ LV VKRZ RQ )LJ
Fig 13. The icmp test connection
The mote implementation can show on Fig. 11. 2. The data sensor sent to gateway
The sensor data of temperature, humidity, and PH
meter are periodically sent with ssh. Thre result is
shown on Fig. 14.
REFERENCES
Fig 12. The ad-hoc connection configuration on mote
233
>@ .RKHL <DPDVDNL DQG 7RPRDNL 2KWVXNL ³'HVLJQ
RI (QHUJ\(IILFLHQW :LUHOHVV 6HQVRU 1HWZRUNV ZLWK
&HQVRULQJ 2Q2II DQG &HQVRULQJ DQG 2Q2II 6HQVRUV
%DVHG RQ 0XWXDO ,QIRUPDWLRQ´ ,(((
>@ & 5DJR 3 :LOOHWW DQG < %DU6KDORP ³&HQVRULQJ
6HQVRUV $ /RZ&RPPXQLFDWLRQ5DWH 6FKHPH IRU 'LVWULEXWHG
GHWHFWLRQ´,((( 7UDQVDFWLRQRQ$HURVSDFHDQG(OHFWURQLF6\VWHPV
9RO,VVXH
>@ 6 $SSDGZHGXOD ' / -RQHV DQG 9 9 9HHUDYDOOL
³(QHUJ\(IILFLHQW 6HQVRU 1HWZRUNV IRU 'HWHFWLRQ $SSOLFDWLRQV´ LQ
3URF 2I WKH 6L[WK ,QWHUQDWLRQDO &RQIHUHQFH RQ ,QIRUPDWLRQ )XVLRQ
>@ &&KRQJ63.XPDU³6HQVRU1HWZRUNV(YROXWLRQ
2SSRUWXQLWLHVDQG&KDOOHQJHV´FKDQJHWKHZRUOG´7HFKQRO5HYYRO
QRSS±)HE
>@ ³HPHUJLQJWHFKQRORJLHVWKDWZLOOFKDQJHWKHZRUOG´
7HFKQRO5HYYROQRSS±)HE
>@ :HL
=KDR DQG <DR /LDQJ ³.HUQHO%DVHG 0DUNRY
5DQGRP )LHOGV /HDUQLQJ IRU :LUHOHVV 6HQVRU 1HWZRUNV´
WK $QQXDO ,((( &RQIHUHQFH RQ /RFDO &RPSXWHU 1HWZRUNV
>@ /LQ [XHIHQJ DQG :X 6KHQJOLDQJ ³6WXG\ RQ LQWHJUDWHG
GHYHORSPHQW RI PRGHUQ DJULFXOWXUH HYDOXDWLRQ´ ,(((
>@ -DQ
9LNWRULQ ³+:6: &2'(6,*1 )25 7+( ;,/,1;
=<14 3/$7)250´ ),7 %87
>@ ;LOLQ[ =\QT $OO 3URJUDPPDEOH 6R& 2YHUYLHZ $SULO
2QOLQH KWWSZZZ[LOLQ[FRPVXSSRUWGRFXPHQWDWLRQGDWDBVKHHWV
GV=\QT2YHUYLHZSGI
>@ $91(7
0LFUR=HG *HWWLQJ 6WDUWHG *XLGH $SULO
2QOLQH KWWSZZZPLFUR]HGRUJVXSSRUWGRFXPHQWDWLRQ
>@ [LOOLEXV *HWWLQJ VWDUWHG ZLWK ;LOOLQX[ IRU =\QT (33 $SULO
2QOLQH KWWS[LOO\EXVFRP
234