4
ISSN 00204412, Instruments and Experimental Techniques, 2013, Vol. 56, No. 4, pp. 468–471. © Pleiades Publishing, Ltd., 2013. 468 1 1. INTRODUCTION Measurement of environmental parameters such as air temperature, relative humidity, solar radiation, atmospheric pressure is important in wide range of meteorological, climate monitoring and diverse engi neering applications. Wireless sensor networks (WSN) have been extensively used in applications such as health monitoring [1, 2], home automation [3], auto mobile monitoring [4], green house monitoring [5], etc. WSN are also used in environmental monitoring [6]. WSN technology has the advantage of deploying 1 The article is published in the original. sensors in hostile environments and communicating the measurement data through wireless media. A WSN based monitoring system using NI WSN devices and LabVIEW has been designed and deployed to monitor the environmental parameters of a remote area. The system measures the parameters and transmits the data to a host PC through a wireless media for plotting the trends. 2. SYSTEM DESIGN The system comprises of a base station and a wire less sensor node. A PC attached with a NI WSN9791 gateway coordinator serves as a base station. Tempera PHYSICAL INSTRUMENTS FOR ECOLOGY, MEDICINE, AND BIOLOGY Environmental Parameter Monitoring Using Wireless Sensor Network 1 K. Vairamani, N. Mathivanan, K. Arun Venkatesh, and U. Dinesh Kumar University Science Instrumentation Centre, Madurai Kamaraj University Madurai, Tamil Nadu, India email: [email protected]; [email protected] Received July 25, 2012 Abstarct—The paper presents the design and deployment of Wireless Sensor Network (WSN) for monitoring environmental parameters. The system measures air temperature, relative humidity, solar radiation and baro metric pressure. The system consists of a base station and a wireless sensor node. WSN ethernet gateway attached to a host PC serves as the base station in the network. WSN measurement node with necessary sen sors and signal conditioners serves as the wireless sensor node. The wireless sensor node measures the param eters and transfers the data to the base station. An application program has been developed on LabVIEW plat form and executed in the host PC for data acquisition, processing, and plotting of the measurement data on a graphical chart. The program also saves the data in a file for history review and analysis. Hardware and soft ware development of the system are discussed. Typical measurements with the present system are reported. DOI: 10.1134/S0020441213040118 Wireless sensor node NI WSN NI WSN 9791 Base station PC with LabVIEW Signal conditioning Circuit Temperature sensor Relative humidity sensor Solar radiation sensor Barometric pressure sensor Fig. 1. Block diagram of the system. 3202

Environmental parameter monitoring using wireless sensor network

Embed Size (px)

Citation preview

Page 1: Environmental parameter monitoring using wireless sensor network

ISSN 0020�4412, Instruments and Experimental Techniques, 2013, Vol. 56, No. 4, pp. 468–471. © Pleiades Publishing, Ltd., 2013.

468

1 1. INTRODUCTION

Measurement of environmental parameters such asair temperature, relative humidity, solar radiation,atmospheric pressure is important in wide range ofmeteorological, climate monitoring and diverse engi�neering applications. Wireless sensor networks (WSN)have been extensively used in applications such ashealth monitoring [1, 2], home automation [3], auto�mobile monitoring [4], green house monitoring [5],etc. WSN are also used in environmental monitoring[6]. WSN technology has the advantage of deploying

1 The article is published in the original.

sensors in hostile environments and communicatingthe measurement data through wireless media. A WSNbased monitoring system using NI WSN devices andLabVIEW has been designed and deployed to monitorthe environmental parameters of a remote area. Thesystem measures the parameters and transmits thedata to a host PC through a wireless media for plottingthe trends.

2. SYSTEM DESIGN

The system comprises of a base station and a wire�less sensor node. A PC attached with a NI WSN�9791gateway coordinator serves as a base station. Tempera�

PHYSICAL INSTRUMENTS FOR ECOLOGY,MEDICINE, AND BIOLOGY

Environmental Parameter Monitoring Using Wireless Sensor Network1

K. Vairamani, N. Mathivanan, K. Arun Venkatesh, and U. Dinesh KumarUniversity Science Instrumentation Centre, Madurai Kamaraj University Madurai, Tamil Nadu, India

e�mail: [email protected]; [email protected] July 25, 2012

Abstarct—The paper presents the design and deployment of Wireless Sensor Network (WSN) for monitoringenvironmental parameters. The system measures air temperature, relative humidity, solar radiation and baro�metric pressure. The system consists of a base station and a wireless sensor node. WSN ethernet gatewayattached to a host PC serves as the base station in the network. WSN measurement node with necessary sen�sors and signal conditioners serves as the wireless sensor node. The wireless sensor node measures the param�eters and transfers the data to the base station. An application program has been developed on LabVIEW plat�form and executed in the host PC for data acquisition, processing, and plotting of the measurement data ona graphical chart. The program also saves the data in a file for history review and analysis. Hardware and soft�ware development of the system are discussed. Typical measurements with the present system are reported.

DOI: 10.1134/S0020441213040118

Wireless sensor node

NI WSN� NI WSN�9791

Base station

PC withLabVIEW

Signalconditioning

Circuit

Temperaturesensor

Relativehumidity sensor

Solar radiationsensor

Barometricpressure sensor

Fig. 1. Block diagram of the system.

3202

Page 2: Environmental parameter monitoring using wireless sensor network

INSTRUMENTS AND EXPERIMENTAL TECHNIQUES Vol. 56 No. 4 2013

ENVIRONMENTAL PARAMETER MONITORING 469

ture, relative humidity, solar radiation and barometricpressure sensors with associated signal conditionersattached to NI WSN�3202 serves as a wireless sensornode. Figure 1 shows the block diagram of the system.

The NI WSN devices use the ZigBee (IEEE802.15.4) wireless communication protocol and oper�ates in ISM band, 2.4 GHz frequency. NI WSNdevices can communicate up to 300 m in open spaceand support data communication rate up to 250 kbps.The WSN�9791 gateway can collect measurementdata from up to 36 measurement nodes in a networkand transfer data to a host PC through 10/100 Mbpsethernet port. The measurement node NI WSN�3202has four analog input channels and four digital I/Ochannels. Each analog input channel has 16�bit reso�lution.

The wireless measurement node uses RHT�1000temperature and humidity transmitter module for mea�suring air temperature and relative humidity. The mod�ule has Pt�100 RTD temperature sensor, HIH�4000humidity sensor and associated signal conditioners.The module provides outputs in the range of 0–1 V for

temperature 0 to 100°C and for relative humidity 0 to100% RH. The module has the sensitivity of 10 mV/°Cin temperature measurement and 10 mV/%RH in rel�ative humidity measurements. The outputs are furtheramplified with gain 5 using LM324 op�amp in non�inverting amplifier configuration. The op�amp out�puts are applied at AI0 and AI1 analog inputs of WSN�3202. Silicon photodiode based pyranometer fromDavis instruments is used for solar radiation measure�ment. It measures solar radiation from 0 to 1800 W/m2

and provides voltage output in the range of 0–3 V.It has the sensitivity of 1.67 mV/W/m2. NPA�500 ICpressure sensor is used for barometric pressure mea�surement. It measures pressure from 0 to 1034 mbarand provides voltage output in the range of 0.5–4.5 V.It has the sensitivity of 3.86 mV/mbar. The barometricpressure sensor and solar radiation sensor outputs arebuffered using LM324 op�amp and applied at AI2 andAI3 analog inputs of the WSN 3202. The circuit dia�gram is shown in Fig. 2.

The dew point is the temperature below which thewater vapor in a volume of humid air at a constant

+12

+LM324

12

3

114

NI WSN�3202

AI3

AI2

AI1

AI0

AGND

+LM324

76

5

Barometric

+LM324

1413

12

1 3

2

10 k1 k

+LM324

89

10

1 3

2

10 k1 k

1 k

10 µF

pressuresensor output

Solar radiationsensor output

RHT�1000relative humidity

sensor output

RHT�1000temperature

sensor output

Fig. 2. Circuit diagram of the signal conditioner.

Page 3: Environmental parameter monitoring using wireless sensor network

470

INSTRUMENTS AND EXPERIMENTAL TECHNIQUES Vol. 56 No. 4 2013

VAIRAMANI et al.

barometric pressure condenses into liquid. It is associ�ated with relative humidity. Dew point temperature iscalculated from the air temperature and relativehumidity using the Magnus formula [7]. It is given as

, (1)

where Td, °C, is the dew point temperature; T, °C, isair temperature; RH, %, is relative humidity; a and bare Magnus constants which are given as 17.27 and237.7°C, respectively.

3. SOFTWARE DEVELOPMENT

The wireless sensor network is configured using NIWSN Pioneer tool kit and Measurement & Automa�tion Explorer (MAX) utility software as given below.

1. A fixed IP address and a fixed node ID areassigned to the gateway and the measurement node.

2. The measurement node is programmed to returnall the 4 analog input channels data on receipt of arequest from the base station.

( )( )

⎡ ⎤+⎢ ⎥⎣ ⎦+=− −

+

RH

RH

ln100

ln100

d

aTbb TT

aTab T

An application program (a LabVIEW ‘VI’) hasbeen developed on LabVIEW platform and executedin the host PC.

The application VI performs the following func�tions.

1. Initialization: The VI establishes the communi�cation link between the host PC, the WSN gateway(NI WSN�9791) and the measurement node (NIWSN�3202) using the IP address of the gateway andnode ID of the measurement node. It creates a filewith a given name and keeps open to save the measure�ment data till the data acquisition program is stopped.A sampling interval is specified for data acquisition.

2. Data acquisition: The VI sends a command tothe measurement node to return the measurementdata. In response, the measurement node samples theanalog input channels and returns the data in spread�sheet string format to the VI. Repeats the data acquisi�tion at specified sampling interval.

3. The VI computes the air temperature, relativehumidity, solar radiation and barometric pressure val�ues using the data it received from the measurementnode. The VI reads the system time from RTC andplots the measurement values against the time ongraphical charts. The VI also computes and plots the

06:00 PM

24

1509:01 AM

18

20

22

25

12:00 AM 08:56 AM06/06/2012 06/06/2012 06/07/2012 06/07/2012

Time

(e)

Dew

po

int,

800

0

200

400

600

1000 (c)

So

lar

rad

iati

on

,

34

26

28

30

32

36 (a)A

ir t

emp

erat

ure

,

1015

1000

1005

1010

1020 (d)

Bar

om

etri

c p

ress

ure

,

70

455055

65

75 (b)

Rel

ativ

e h

um

idit

y,

60

% R

H

°CW

/m2

mba

r

06:00 PM09:01 AM 12:00 AM 08:56 AM06/06/2012 06/06/2012 06/07/2012 06/07/2012

Time

16

°C

Fig. 3. Measurements for 24 h of environmental parameters: (a) air temperature; (b) relative humidity; (c) solar radiation; (d)barometric pressure; and (e) dew point temperature.

Page 4: Environmental parameter monitoring using wireless sensor network

INSTRUMENTS AND EXPERIMENTAL TECHNIQUES Vol. 56 No. 4 2013

ENVIRONMENTAL PARAMETER MONITORING 471

dew point temperature using air temperature and rela�tive humidity values.

4. The VI converts the parameter values into astring, appends the system time and writes the string inthe data file. So, the file contains the measurementvalues and the instants of data received.

5. History review: The VI includes a function toretrieve the data saved in a file and plot on a chart.It enables the history review operations.

6. Print: The VI includes a function to supportprinting of interested part of the plot.

4. RESULTS AND DISCUSSION

The temperature, relative humidity and barometricpressure sensors are placed in a radiation shield enclo�sure and the solar radiation sensor is placed exposingits surface to direct sun light. The system has been usedto measure the environmental parameter values for 24 hfrom 9.01 AM in a day at interval 5 min. It results in288 measurements in a day. The system plots the mea�surement values on graphical charts as shown in Fig. 3.

System response time. The average response timeof the system is found by computing the time the sys�tem takes to return 1000 measurement values after therequests for the data are generated from the host PC.It has been found that the 1000 data have beenacquired at the host PC in 6.63 min. Hence, the aver�age response time of the system is computed as 398 ms.

Time stamping. Since the RTC of NI WSN�3202measurement node cannot be initialized with the gate�way NI WSN�9791, in the present measurement thetime at which the data is received at the host PC isconsidered as the time of data acquisition. It is readfrom the system RTC and used for time stamping.With NI WSN�9792 the WSN real�time gateway, theRTC of measurement node can be initialized and thetime at which the signals are sampled can be receivedat the host PC and used for time stamping.

REFERENCES

1. Pandian, P.S., Safeer, K.P., Gupta, P., Shakun�thala, D.T., Sundersheshu, B.S., and Padaki, V.C., J.Networks, 2008, vol. 3, no. 5, p. 21.

2. Elango, S., Mathivanan, N., and Arunvenkatesh, K.,J. Inst. Soc. India, 2011, vol. 41, no. 4, p. 233.

3. Elango, S., Mathivanan, N., and Pankaj Kumar Gupta,J. Inst. Soc. India, 2011, vol. 41, no. 2, p. 115.

4. Jorge, T., Velez, F.J., and Ferro, J.M., Measur. Sci. Rev.,2008, vol. 8, no. 3, p. 65.

5. Dae�Heon Park and Jang�Woo Park, Sensors, 2011,vol. 11, p. 3640.

6. Martinez, K., Hart, J., and Ong, R., IEEE Computer,2004, vol. 37, p. 50.

7. Lawrence, M.G., Bull. Am. Meteorol. Soc., 2005,vol. 86, no. 2, p. 225.