TinyOS-based Gateway for Underwater Acoustics/Radio Frequency Communication

Similar documents
Review on an Underwater Acoustic Networks

An Architecture for Underwater Networks

II. NETWORK MODEL The network consists of two types of nodes:

Design and Simulation of an Underwater Acoustic Local Area Network

A Review Paper On The Performance Analysis Of LMPC & MPC For Energy Efficient In Underwater Sensor Networks

A Survey on Underwater Sensor Network Architecture and Protocols

SURFACE-LEVEL GATEWAY DEPLOYMENT FOR UNDERWATER SENSOR NETWORKS

Wireless Sensor Networks

Energy Consumption Estimation in Cluster based Underwater Wireless Sensor Networks Using M/M/1 Queuing Model

New RF Models of the TinyOS Simulator for IEEE Standard

Experimental Demonstration of Super-TDMA: A MAC Protocol Exploiting Large Propagation Delays in Underwater Acoustic Networks

A Review on Efficient Opportunistic Forwarding Techniques used to Handle Communication Voids in Underwater Wireless Sensor Networks

CHAPTER 5 PROPAGATION DELAY

PERFORMANCE ANALYSIS OF VBF PROTOCOL IN UNDERWATER COMMUNICATION FOR ANCHORING NODES AND MOVING NODES

Research Article MFT-MAC: A Duty-Cycle MAC Protocol Using Multiframe Transmission for Wireless Sensor Networks

Energy Efficiency Maximization for Wireless Sensor Networks

Node Discovery and Localization Protocol for Mobile Underwater Sensor Networks

Energy-Efficient Security Threshold Determination Method for the Enhancement of Interleaved Hop-By-Hop Authentication

BER, Throughput, Energy Efficiency Performance Analysis of Proposed Different Systems in Wireless Sensor Network

SELF ORGANIZING TARGET- REPORTING SENSOR NODE SELECTION FOR UNDERWATER WIRELESS SENSOR NETWORK

New Active Caching Method to Guarantee Desired Communication Reliability in Wireless Sensor Networks

An Optimized Time Synchronization Algorithm for Mobile Submarine Sensor

ViTAMin: A Virtual Backbone Tree Algorithm for Minimal Energy Consumption in Wireless Sensor Network Routing

Experiment report. Figure 1: Deployment location

Implementation and Evaluation of Multihop ARQ for Reliable Communications in Underwater Acoustic Networks

Lecture 8 Wireless Sensor Networks: Overview

An Optimized Lifetime Model using Energy Holes Reduction near Sink's Locality of WSN s

New Join Operator Definitions for Sensor Network Databases *

A Moving Underwater Communication System with Bio- Inspired Fish Robots

An Energy Efficient Clustering in Wireless Sensor Networks

PBA: A New MAC Mechanism for efficient wireless communication in Underwater Acoustic Sensor Network

An Active Tracking System Using IEEE Based Ultrasonic Sensor Devices

AN EFFICIENT MAC PROTOCOL FOR SUPPORTING QOS IN WIRELESS SENSOR NETWORKS

Analysis of Cluster-Based Energy-Dynamic Routing Protocols in WSN

A PAIR OF DISTRIBUTED GEOGRAPHICAL ROUTING ALGORITHMS FOR UNDERWATER ACOUSTIC SENSOR NETWORKS

Distributed Scheduling and Routing in Underwater Wireless Networks

Efficient Surface Gateway Deployment. For Underwater Sensor Networks

The Mote Connectivity Protocol

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

Impact of IEEE MAC Packet Size on Performance of Wireless Sensor Networks

An Underwater Network Testbed: Design, Implementation and Measurement

Underwater Acoustic Networks

AN ACOUSTIC SENSOR FOR TRANSMISSION IN UNDER WATER ENVIRONMENT

Experimental Evaluation on the Performance of Zigbee Protocol

Delay Analysis of ML-MAC Algorithm For Wireless Sensor Networks

A Study of Open Middleware for Wireless Sensor Networks

Chapter 7. ZigBee (IEEE ) Liang Zhao, Andreas Timm-Giel

Low-Energy-Consumption Ad Hoc Mesh Network Based on Intermittent Receiver-driven Transmission

Geographical Routing Algorithms In Asynchronous Wireless Sensor Network

A Cross-Layer Sleep and Rate Adaptation Mechanism for Slotted ALOHA Wireless Sensor Networks

A REVIEW ON LEACH-BASED HIERARCHICAL ROUTING PROTOCOLS IN WIRELESS SENSOR NETWORK

Journal of Engineering Science and Technology Review 9 (3) (2016) 1-8. Research Article

Optimization of Energy Consumption in Wireless Sensor Networks using Particle Swarm Optimization

Chapter 7. IEEE ZigBee. Liang Zhao, Andreas Timm-Giel

Critical Analysis of Data Forwarding Routing Protocols Based on Single Path for UWSN

Wireless Sensor Networks applications and Protocols- A Review

Impact of Frequencies on IEEE WPANs for Wireless Sensor Networks

Prianka.P 1, Thenral 2

Study on Wireless Sensor Networks Challenges and Routing Protocols

ISSN: [Powar * et al., 7(6): June, 2018] Impact Factor: 5.164

MODELING AND SIMULATION OF THRESHOLD ANALYSIS FOR PVFS IN WIRELESS SENSOR NETWORKS

FERMA: An Efficient Geocasting Protocol for Wireless Sensor Networks with Multiple Target Regions

Survivability Evaluation in Wireless Sensor Network

WSN NETWORK ARCHITECTURES AND PROTOCOL STACK

An Energy Efficiency Scheme for Wireless Sensor Networks *

Low Power Wide Area Network (LPWAN) Presented By: Dr. Hafiz Yasar Lateef Director, Telxperts Pty Ltd.

Improved MAC protocol for urgent data transmission in wireless healthcare monitoring sensor networks

Cross Layer Transport Layer Approach for Multihop Wireless Sensor Network

A Logical Group Formation and Management Mechanism Using RSSI for Wireless Sensor Networks *

Pessimistic Backoff for Mobile Ad hoc Networks

Multi-Hop Linear Network Based on LoRa

Wireless Sensor Networks

Real-time and Reliable Video Transport Protocol (RRVTP) for Visual Wireless Sensor Networks (VSNs)

Joint Routing and Energy Management in Underwater Acoustic Sensor Networks

ADHOC ROUTING BASED DATA COLLECTION APPLICATION IN WIRELESS SENSOR NETWORKS MALLIKARJUNA RAO PINJALA B.E, OSMANIA UNIVERSITY, INDIA, 2004 A REPORT

Understanding Spatio-Temporal Uncertainty in Medium Access with ALOHA Protocols

Optimized Paging Cache Mappings for efficient location management Hyun Jun Lee, Myoung Chul Jung, and Jai Yong Lee

Cost Effective Acknowledgement Mechanism for Underwater Acoustic Sensor Network

The Design of the Sensor Node of IOT Based on SIM20 KUANG Xinghong 1, a,yao Zheyi 1, b, Huo haibo 1, c, Li junjun 1, d, Wu yanxiang 1, e

CS263: Wireless Communications and Sensor Networks

Evaluating the Impact of Signal to Noise Ratio on IEEE PHY-Level Packet Loss Rate

Detection of Wormhole Attacks in Wireless Sensor Networks

CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments

An Energy-Efficient MAC using Dynamic Phase Shift for Wireless Sensor Networks

Keywords T MAC protocol, reduction function, wsn, contention based mac protocols, energy efficiency; Fig 1. Listen and sleep cycle in S MAC protocol

Embedded Smart Home System Based on ZigBee Song Chi

LUIZ H. A. CORREIA DANIEL FERNANDES MACEDO ALDRI LUIZ DOS SANTOS ANTÔNIO ALFREDO FERREIRA LOUREIRO JOSÉ MARCOS SILVA NOGUEIRA

The Effect of Physical Topology on Wireless Sensor Network Lifetime

Reindeer Technologies Pvt Ltd Excellence through Innovation

Dynamic Cooperative Routing (DCR) in Wireless Sensor Networks

A Robust Multihop Underwater Network for Sensing Applications - Implementation and Experimental Evaluation

An Enhanced Aloha based Medium Access Control Protocol for Underwater Sensor Networks

AN EFFECTIVE COMPOUND PATH COMMUNICATION IN UNDERWATER SENSOR NETWORK

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

Self Organizing Sensor Networks Using Intelligent Clustering

An Enhanced Cross-Layer Protocol for Energy Efficiency in Wireless Sensor Networks

Comparison of TDMA based Routing Protocols for Wireless Sensor Networks-A Survey

A Simple Sink Mobility Support Algorithm for Routing Protocols in Wireless Sensor Networks

MAC Protocol Implementation on Atmel AVR for Underwater Communication

CSMA based Medium Access Control for Wireless Sensor Network

Transcription:

TinyOS-based Gateway for Underwater Acoustics/Radio Frequency Communication Phil-Jung Yun, Changhwa Kim, Sangkyung Kim, Seung-Jae Lee, Yong-Man Cho Department of Computer Science & Engineering, Kangnung National University Gangneung Daehangno 120, Gangneung-Si, Gangwon-Do, 210-702, Korea Tel: +82-33-640-2897, Fax: +82-33-640-2899 E-mail: mars@cs.kangnung.ac.kr {kch, skkim98, silveree, ymcho@kangnung.ac.kr Abstract. Currently, UWASN (Underwater Acoustic Sensor Network) has been researched as a branch of sensor networks. UWASNs use a transmission media different from terrestrial wireless sensor networks. That is, the former uses acoustic waves and the latter uses radio waves for communication. G/W (Gateway)s in UWASNs are nodes for relaying data transmission between a UWASN and a terrestrial wireless sensor network. So, it is necessary to design and realize the UWA communication module with the UWA/RF (Underwater Acoustics/Radio Frequency) protocol stack for the underwater environment. As TinyOS used most widely at operating system for sensor networks is not considering the underwater acoustic communication, the functions supported by it cannot be used. Therefore, The TinyOS-based UWA/RF G/W system and prototype suitable for the characteristic of UWASN is designed and realized in this paper. Keywords: Underwater Acoustic Sensor Network, Underwater Acoustics/Radio Frequency, Gateway, TinyOS 1 Introduction As acoustic waves are attenuated faster than radio waves in the air and vice versa in the underwater, it is needed to use more proper method for communication in each environment. Currently, for radio wave communication in the underwater, very low frequency (30-300Hz), very long antennae and very high transmission power are needed. Although optical waves are used, it suddenly diminishes in the underwater. Therefore, acoustic waves are used for underwater communication [1]. Acoustic waves have very different characteristics from radio waves in speed, bandwidth and transmission energy [2], [3], [4], [5]. It has slower speed, narrower bandwidth and fewer channels than radio waves [6], [7], [8]. It also needs more transmission power than radio wave [9]. Underwater acoustic communication has many different characteristics and these are listed below

Communication Range: As low frequency waves are used in UWASN, it has longer communication range than radio waves. Communication Power: Acoustic communication needs more transmission energy. Channel: There are only a few channels available in acoustic communication. Communication speed is very slow, variable and multipath and fading problems might happen. Bandwidth: It has very low bandwidth. Cost : The costs of sensor nodes and acoustic modems are high Deployment: The density of sensor nodes affects the cost and the communication range. Multi-hop communication is more effective than direct communication in transmission energy if the distance between two nodes is long [10]. A sparse UWASN increases the communication cost and a dense UWASN increases the communication cost. Therefore, density of a UWASN should be determined by application objectiveness of the UWASN. Energy Limit: Energy of UWASNs is very limited because it is very hard to recharge the batteries. High Error Rate: The bit error rate in acoustic communication is high. UWASNs have been studied with the focusing on network and MAC layer for considering the characteristics of UWASNs and acoustic modems for UWA communication. Ethem M.Sozer and Milica Stojanovic has developed Reconfigurable Acoustic Modem (rmodem) [11], [12] and Jack Wills, Wei Ye and John Heidemann have developed Low-Power Acoustic Modem for Dense deployment for UWASN [13]. However, although it is necessary to send queries from terrestrial centers to UWASN sensor nodes and to send data from UWASN sensor nodes to terrestrial centers, the researches for relaying data transmission between UWASNs and the ground network are very rare. We have tried to study and implement UWA/RF G/W system before developing UWA/CDMA or UWA/satellite G/W system. The objective of the UWA/RF G/W system is relaying data transmission between a UWASN and a terrestrial center. Sensed data in sensor nodes are transferred to a UWA/RF G/W via UWA communication and the data received by the acoustic modems of sensor nodes are transferred from the UWA/RF G/W to a terrestrial center via RF communication. The UWA/RF G/W system is positioned at the relay point and it must be designed and realized with consideration for both air and underwater environment because it uses both radio waves and acoustic waves. Additionally, the acoustic modem for physical communication and the protocol stack for effective communication is also needed. Selection of the operating system is very important in developing the UWA/RF G/W system. It affects design, realization method, effectiveness and stability of the system. Therefore, the UWA/RF G/W is developed in this paper based on TinyOS 2.0.0 Beta which has much strength for sensor networks. The rest of this paper is constructed as follows. In section 2, requirements for UWA/RF G/W are presented and section 3 illustrates UWA/RF sensor network system environment. Section 4 shows the UWA/RF G/W system design and section 5

describes the UWA/RF G/W system prototype. Finally, section 6 concludes and finalizes this paper. 2 Requirements for UWA/RF G/W System The requirements for design and realization of the UWA/RF G/W system are divided into four categories as follows: First, the acoustic modem and UWA communication module considering the underwater must be realized because underwater sensor nodes communicate each other using acoustic waves. Second, the UWA/RF G/W protocol stack considering underwater environment and UWASN characteristics should be designed. Because the sensor network standard specifications currently used, i.e. IEEE 802.15.4 and Zigbee, are not designed for underwater environment and UWASN characteristics. Third, the management functions for communication modules must be analyzed and realized because UWA/RF G/W nodes communicate using both radio waves and acoustic waves. Finally, a proper operation system be selected considering stability, reconfiguration cost, etc,. TinyOS used in this paper is a component-based operation system for sensor networks and supports reusability, compatibility, portability and productivity. 3 UWA/RF Sensor Network Architecture INTERNET BASE STATION RF RELAY NODE UWA G/W NODE UNDER WATER UWA SENSOR NODE Fig. 1. UWA/RF Sensor Network Architecture Fig. 1 shows the UWA/RF sensor network architecture. It transfers sensed data to terrestrial centers and transfers queries to sensor nodes. And it consists of UWA sensor nodes, UWA/RF G/W nodes and RF relay nodes. UWA sensor nodes sense underwater environment and communicate with other UWA sensor nodes. UWA/RF G/W nodes convert radio waves to acoustic waves and vice versa. And RF relay nodes relay UWA/RF G/W nodes and terrestrial centers when a UWA/RF G/W cannot communicate directly with a terrestrial center.

4 Design of TinyOS-based UWA/RF G/W Design GATEWAY MODULE COMMUNICATION MODULE TRANSMISSION RECEIVE MANAGER UWA MAC UWA PHY RF MAC RF PHY Tiny OS COMMUNICATION MODULE RECEPTION MANAGER HARDWARE UWA TRANSCEIVER RF TRANSCEIVER Fig. 2. UWA/RF G/W Protocol Stack The protocol stack of the UWA/RF G/W and the UWA/RF G/W system are designed in this section. Fig. 2 shows the protocol stack of the UWA/RF G/W and it consists of Gateway Module, Communication Module Transmission Manager, UWA MAC layer, UWA PHY layer and Communication Module Reception Manager. Gateway Module supports the functions that control and manage the UWA/RF G/W node. Communication Module Transmission Manager solves the problems that might occur during multiple instances of Communication Module being executed. The UWA MAC layer provides MAC functions which are proper to underwater environment. The UWA PHY layer controls and manages hardware, ensures link quality and selects channels. Communication Module Reception Manager prevents problems which might occur during reception with multiple instances of Communication Module. 4.1 Gateway Module Fig. 3. Gateway Module Design Gateway Module is designed like Fig. 3 and the ITRC_GATEWAYMODULE component provides functions that enable to control the UWA/RF G/W node according to the event that occurs in the UWA/RF G/W node. The events are reception completion events of messages for RF or for UWA. The event caused by reception completion event for RF message occurs when a query sent to sensor nodes arrives and the reception completion event for UWASN

message occurs when a response of a query or a sensed data sent to a terrestrial center arrives. 4.2 Communication Module Transmission Manager Fig. 4. Design of Communication Module Transmission Manager Fig. 4 shows Communication Module Transmission Manage and consists of ITRC_GWCOMMUNICATIONP and ITRC_TRANSMISSIONMANAGER components. ITRC_GWCOMMUNICATIONP transfers a request or an event to each component after it determines whether it is a transmission request to RF, UWA communication module or an event for reception completion. ITRC_GWCOMMUNICATIONMANAGER serializes the transmission requests from RF and UWA and it enables to be processed in turn. The scheduler of TinyOS also supports multiple transmission requests [14]. If current transmission message is a request to the RF communication module, the request is delivered to ITRC_RFMACC. Or if it is a request to the UWA communication module, it is delivered to ITRC_UWAMACC. Table 1. Interface supported by Communication Module Transmission Manager Interface Functions ITRC_UWASEND Processing transmission message for reporting transmission completion for UWA messages ITRC_RFSEND Processing transmission message for reporting transmission completion RF messages ITRC_UWARECV Reporting reception completion of UMA messages and delivering received messages ITRC_RFRECV Reporting reception completion of RF messages and delivering received messages ITRC_UWAACTIVESEND Scheduling UWA transmission requests with serialization ITRC_RFACTIVESEND Scheduling RF transmission requests with serialization

The interfaces that Communication Module Transmission Manager supports are listed in Table 1. 4.3 UWA MAC Layer Fig. 5. Design of UWA MAC Layer Fig. 5 shows the design of the UWA MAC layer. It consists of ITRC_UWAMACP and ITRC_UWACHANNELACCESSP components. ITRC_UWAMACP frames messages received with transmission request from Communication Module Transmission Manager. The frames include a sequence number, CRC and frame size. On receipt of a frame, it delivers received frames to the next higher layer after error check. ITRC_UWACHANNELACCESSP determines the channel access method for transmitting a frame generated at ITRC_UWAMACP and transmits the frame by the method. Table 2. Interfaces provided by the UWA MAC layer Interface ITRC_UWANOWS END ITRC_UWAFRAM ESEND ITRC_UWAMSGR ECV Functions Converting messages to frames Processing the transmission request for UWA frame with defined channel access method by the system. Reporting transmission completion Reporting reception of UWA frame. Deliverring the payload after checking errors of a received UWA frame Table 2 shows the list interfaces which the UWA MAC layer provides in order to process transmission request from Communication Module Transmission Manager.

4.4 UWA PHY Layer and Communication Module Reception Manager The UWA PHY layer and Communication Module Reception Manager are designed like Fig. 6. The UWA PHY layer consists of the ITRC_UWAPHYP component and Communication Module Reception Manager consists of the ITRC_UWARECEPTIONMANAGERP component. PHY Layer Component Communication Module Reception Manager Component Fig. 6. Design of UWA PHY Layer and Communication Module Reception Manager ITRC_UWAPHYP transfers frames through the acoustic modem after transforming it to PDU-1(Protocol Data Unit-1) given a transmission request from the UWA MAC layer. If there is a received PDU-1, it delivers a received PDU-1 with the report that it receives PDU-1 from the UWA MAC layer. On receiving a frame from the acoustic modem, ITRC_UWARECEPTION MANAGERP resolves problems that might occur by multiple instances of Communication Module Reception Manager by disabling the reception interrupt from all of instances of Communication Module Reception Manager except the acoustic modem during receiving a frame. Table 3. Interfaces supported by UWA PHY Layer and Communication Module Reception Manager Interface ITRC_UWAPHYSE ND ITRC_UWAPHYRE CV ITRC_UWARECV CONTROL Functions Transmitting transmission requests for a UWA frame with the acoustic modem. Reporting transmission completion Reporting reception of PDU-1. Delivering the received PDU-1 Disabling interrupts from other communication modules after detecting reception at the UWA PHY layer. The interfaces supported by the UWA PHY layer and Communication Module Reception Manager are listed in Table 3. The interfaces supported by the UWA PHY layer processes transmission requests from the UWA MAC layer.

5 Implementation of TinyOS-based UWA/RF G/W Prototype UWA/RF G/W prototype based on TinyOS using a UWASN acoustic modem which can be used at UWASN nodes is realized in this section. 5.1 Overview of the Acoustic Modem The characteristics of the acoustic modem used in this research are as follows. Operating Voltage : 3.3V Frequency : 40 KHz(ultra sonic wave) Modulation Method : Amplitude Shift Keying Communication Mode : Uni-directional Data rate : 100bps 5.2 The Algorithm for Gateway Module async event void ITRC_RFRECV(uint8_t* MESSAGE) { Transmission request of a UWA message with ITRC_UWASEND; async event void ITRC_UWARECV(uint8_t* MESSAGE) { Transmission request of a RF message with TRC_RFSEND; Fig. 7. The Pseudo-code for Gateway Module The pseudo-code for Gateway Module is shown in Fig. 7. The ITRC_RFRECV event means completion of receiving a RF message. If this event occurs, the received RF message is delivered to Gateway Module as a parameter. In the case that a received RF message means a query, this message is delivered to UWASN nodes through UWA Communication Module in UWA/RF G/W. Transmission request is delivered to Communication Module Transmission Manager using ITRC_UWASEND. task void RFSEND() { atomic { Transmission request for a RF message with ITRC_RFNOWSEND; task void UWASEND() { atomic { Transmission request for a UWA message with ITRC_UWANOWSEND; async command void ITRC_UWAACTIVESEND.SEND(uint8_t* MESSAGE) { atomic { Posting the UWASEND() task; async command void ITRC_RFACTIVESEND.SEND(uint8_t* MESSAGE) { atomic { Posting the RFSEND() task; Fig. 8. The Pseudo-code for Gateway Module The ITRC_UWARECV event means completion of receiving a UWA message. If this event occurs, the received UWA message is delivered to Gateway Module as a

parameter. In the case that a received RF message means a response or sensed data from a UWA sensor node, this message is delivered to a terrestrial center through RF Communication Module in UWA/RF G/W. Transmission request is delivered to Communication Module Transmission Manager using ITRC_RFSEND. The pseudo-code for Communication Module Transmission Manager is presented in Fig. 8. ITRC_UWAACTIVESEND.SEND() is called by transmission request for a UWA message at Gateway Module and ITRC_RFACTIVESEND. SEND() is called by transmission request for a RF message at Gateway Module. Because all the requests are serialized by the scheduler in TinyOS, a task with processing parts of a function is posted on the scheduler when a transmission request occurs. typedef nx_struct UWAFRAME { nx_uint8_t SEQ : 3; nx_uint8_t PAYLOAD[9]; nx_uint8_t CRC : 5; UWAFRAME; Fig. 9. UWA Frame Structure Fig. 9 shows the frame structure of UWA frames. This frame consists of 3 bits sequence number, 5 bits CRC and 9 bytes payload. async command void ITRC_UWANOWSEND.SEND(uint8_t* MESSAGE) { Inserting the message into payload of the UWAFRAME structure; Inserting the sequence number into payload of the UWAFRAME structure; if(sequence NUMBER == 7) {SEQUENCE NUMBER = 1; else { SEQUENCE NUMBER++; Calculating a CRC-5 value of the UWAFRAME structure; Inserting the CRC-5 value into payload of the UWAFRAME structure; Transmission request for the UWA frame with ITRC_UWAFRAMESEND; Fig. 10. The Pseudo-code for transmission in the UWA MAC layer The pseudo-code for transmission in the UWA MAC layer is like Fig. 10. When ITRC_UWAPHYSEND.SEND() is called by transmission request from Communication Module Transmission Manager, this function receives a UWA frame in the parameter. ITRC_UWANOWSEND.SEND() frames the received UWA message. Then, it inserts the message into payload of the frame and assigns the sequence number with SEQ. Calculated CRC value are also inserted into the frame. Finally, generated frame and transmission request are delivered to the UWA PHY layer. The pseudo-code for the UWA PHY layer is described in Fig. 11. When ITRC_UWAPHYSEND.SEND() is called by transmission request from the UWA MAC layer, this function receives a UWA frame in the parameter. If the state of the acoustic modem is not IDLE, it discards the request because the acoustic modem is currently receiving some data. If not, it starts to transmit the frame. In this case, the state of the acoustic modem is set to BUSY, the timer is reset according to the communication cycle of the acoustic modem and one by one bit at a time is

transmitted as the timer is fired. After transmitting all the frame, the timer is stopped and the state of the acoustic modem is set to IDLE. Finally, it causes the async command void ITRC_UWAPHYSEND.SEND(uint8_t* FRAME) { atomic { if(acoustic Modem STATE!= IDLE) { else { Disabling interrupts of the acoustic modem; Acoustic Modem STATE = BUSY; call MilliTimer.startPeriodic(Transmission cycle); event void MilliTimer.fired() { atomic { if(most significant bit of the frame == 1) { Generating transmission interrupt of the Acoustic Modem; FRAME = FRAME << 1; if(end of the frame) { call MilliTimer.stop(); Acoustic Modem STATE = IDLE; signal ITRC_UWAPHYSEND.SENDDONE(); Fig. 11. UWA PHY Send Algorithm UWAPHYSEND.SENDDONE event so that reports transmission completion to the UWA MAC layer. async command void ITRC_UWARECVCONTROL.ROCK() { atomic { Disabling reception interrupt of CC2420; Enabling reception interrupt of the acoustic modem; async command void ITRC_UWARECVCONTROL.UNROCK() { atomic { Enabling reception interrupt of CC2420; Fig. 12. Communication Module Reception Manager Algorithm The pseudo-code for Communication Module Reception Manager is described in Fig. 12. On receiving the first bit of a frame at the acoustic modem, ITRC_UWARECVCONTROL.ROCK() is called. Reception completion report for the first bit of a frame from the acoustic modem is a signal that it receives a bit of a frame and means that it starts receiving a frame. In this case, it disables reception

interrupt from all other instances of Communication Module. On finishing reception task for a frame, ITRC_UWARECVCONTROL. UNROCK() is started. This function solves problems that might occur with multiple instances of Communication Module by enabling reception interrupt. 6 Conclusions and Future Works In this paper, relaying method between UWASNs and terrestrial centers using UWA/RF G/W is proposed. UWA/RF G/W based on TinyOS is designed with consideration for the underwater and the characteristics of UWASN. The UWA/RF G/W protocol stack for effective communication in the UWA/RF G/W system is also designed and realized. In addition, Communication Module Transmission Manager and Communication Module Reception Manager are designed and realized to support managing multiple instances of Communication Module. Effective Channel Access Methods and the network layer for the UWA/RF G/W system and design and realization of components for UWASN systems will be explored in the future. Acknowledgments. This research was supported by the MIC (Ministry of Information and Communication), Korea, under the 2006 ITRC (Information Technology Research Center) contract number IITA-2006-C1090-0603-0044 support program supervised by the IITA(Institute of Information Technology Assessment) References 1. M. Stojanovic, Acoustic (underwater) Communications, In J.G. Proakis, Encyclopedia of Telecommunications, Wiley, New York(2003) 2. Ian F. Akyildiz, Weilian Su, Yogesh Sankarasubramaniam, and Erdal Cayirci, "A Survey on Sensor Networks", IEEE Communications Magazine(2002) 3. John G. Proakis, Ethem M. Sozer, Joseph A.Rice, Milica Stojanovic, "Shallow Water Acoustic Networks", IEEE Communications Magazine(2001) 4. Raja Jurdak, Cristina Videira Lopes, Pierre Baldi, "Battery Lifetime Estimation and Optimization for Underwater Sensor Networks", IEEE Press, New York(2004) 5. E.Sozer, M.Stojanovic, and J.Proakis. "Underwater Acoustic Networks", IEEE Journal of Oceanic Engineering(2000) 70-83 6. L.Freitag, M. Stojanovic, "Acoustic Communications for Regional Undersea Observatories", In Proceedings of Oceanology International, London, UK(2002) 7. L.Freitag, M. Stojanovic, S. Singh, M.Johnson, "Analysis of Channel Effects on Directsequence and Frequency-hopped Spread-spectrum Acoustic Communication", IEEE Journal of Oceanic Engineering(2001) 586-593 8. M. Stojanovic, "Recent Advances in High-Speed Underwater Acoustic Communications", IEEE Journal of Oceanic Engineering(1996) 125-136 9. Ian F.Akyildiz, Dario Pompili, and Tommaso Melodia. "State-of-the-Art in Protocol Research for Underwater Acoustic Sensor Networks", International Workshop on Underwater Network, MobiCom(2006) 7-16

10. Gregory J.Pottie and William J.Kaiser. "Embedding The Internet: Wireless Integrated Network Sensors. " Communications of the ACM(2000) 51-58 11. Ethem M.Sozer and Milica Stojanovic. "Time Synchronization for High Latency Acoustic Networks", In Proceedings of the International Symposium on Unmanned Untethered Submersible Technology(UUST), Lee, New Hampshire, USA(2005) 12. Ethem Mutlu Sozer and Milica Stojanovic. "Reconfigurable Acoustic Modem for Underwater Sensor Networks", International Workshop on Underwater Network, MobiCom(2006) 101-104 13. Jack Wills, Wei Ye and John Heidemann, "Low-Power Acoustic Modem for Dense Underwater Sensor Networks", International Workshop on Underwater Network, MobiCom(2006) 79-85 14. Philip Levis and Cory Sharp, "Schedulers and Tasks" http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep106.html