Implementation of a CAN/IEEE b WLAN/CAN internet working system using a wireless interface unit

Similar documents
Chapter 3.1 Acknowledgment:

Guide to Wireless Communications, Third Edition. Objectives

Wireless# Guide to Wireless Communications. Objectives

Interconnection of Autonomous PROFIBUS Segments through IEEE WMAN

DESIGN AND IMPLEMENTATION OF A CAN / ETHERNET BRIDGE

WNC-0300USB. 11g Wireless USB Adapter USER MANUAL

Internetworking Wireless Nodes to A Control Area Network

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

M242 COMPUTER NETWORS AND SECURITY

Computer Networks. Wireless LANs

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

CARRIER SENSE MULTIPLE ACCESS (CSMA):

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

Lecture 24: CSE 123: Computer Networks Stefan Savage. HW4 due NOW

Chapter 15 Local Area Network Overview

Summary of MAC protocols

ICE 1332/0715 Mobile Computing (Summer, 2008)

Hubs, Bridges, and Switches (oh my) Hubs

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

IEEE Technical Tutorial. Introduction. IEEE Architecture

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Medium Access Protocols

Institute of Electrical and Electronics Engineers (IEEE) IEEE standards

ET4254 Communications and Networking 1

Access Point USER S MANUAL

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Introduction to Ethernet. Guy Hutchison 8/30/2006

IEEE 802 LANs SECTION C

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Link Layer and Ethernet

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Lecture 16: QoS and "

ST.MOTHER THERESA ENGINEERING COLLEGE

Link Layer and Ethernet

IEEE Wireless LAN draft Standard

Bridging and Switching Basics

Local Area Network Overview

Local Area Networks NETW 901

CHAPTER 8: LAN Standards

Chapter 6 Medium Access Control Protocols and Local Area Networks

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Wireless Local Area Part 2

Delivering Voice over IEEE WLAN Networks

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

Data Link Layer Technologies

Mobile Communications Chapter 7: Wireless LANs

Chapter 10: Wireless LAN & VLANs

Wireless Sensor Networks

Layer 2 functionality bridging and switching

CCM 4300 Lecture 6 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Guide to Wireless Communications, 3 rd Edition. Objectives

The Link Layer II: Ethernet

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

Full file at

HIPERLAN/2 and a: A Comparative Study

Page 1. Outline : Wireless Networks Lecture 11: MAC. Standardization of Wireless Networks. History. Frequency Bands

Reindeer Technologies Pvt Ltd Excellence through Innovation

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

1. Data Link Layer (Layer 2)

CMPE 257: Wireless and Mobile Networking

Advanced Computer Networks WLAN

Gigabit Networks, VLANs & Wireless LANs

LAN Overview (part 2) Interconnecting LANs - Hubs

Data Communications. Data Link Layer Protocols Wireless LANs

Reminder: Datalink Functions Computer Networking. Datalink Architectures

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

Lesson 2-3: The IEEE x MAC Layer

Shared Access Networks. Media Access Protocols. Ethernet (802.3) Ethernet cont...

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Chapter 6 Local Area Networks and Media Access Control. School of Info. Sci. & Eng. Shandong Univ.

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Unit II. Part A (2 Marks)

The random access methods we study in this chapter have evolved from a very interesting protocol known as ALOHA, which used a very simple procedure

CHAPTER 2 - NETWORK DEVICES

Physical and Data Link layers

Lecture 7: Ethernet Hardware Addressing and Frame Format. Dr. Mohammed Hawa. Electrical Engineering Department, University of Jordan.

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Embedded Systems. 8. Communication

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

Ch 7. Network Interface

QUESTION BANK ENGINEERS ACADEMY. Computer Networks Computer Network Basics Segentation is done in. 12. Session layer is used for

Introduction to LAN Protocols

Error characteristics and their prediction in ZigBee transmission at coexistence conditions

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

Introduction to Networks and the Internet

Data Link Layer -2- Network Access

Page 1. Wireless LANs: Design Requirements. Evolution. EEC173B/ECS152C, Winter Wireless LANs

Contents. Introduction to Networking. Preface...i. Introduction... xix

Computer Networks Principles LAN - Ethernet

Mohammad Hossein Manshaei 1393

Additional Slides (informative)

Transcription:

in Automation Implementation of a /IEEE 802.11b WLA/ internet working system using a wireless interface unit 1 Cuneyt Bayilmis, 1 Ismail Erturk, 1 Celal Ceken, 2 Ibrahim Ozcelik, 3 Ahmet Karaca 1 University of Kocaeli, Department of Electronics and Computer Education, Turkey 2 University of Sakarya, Department of Computer Engineering, Turkey 3 University of Sakarya, Department of Electronics and Computer Education, Turkey This paper presents a sample design and implementation of a /WLA/ interworking system using Wireless Interworking Units (WIU) that are capable of connecting remote 2.0A nodes over IEEE 802.11b WLA. This provides a straightforward solution to extend the size of distributed area of networks and enables the networks to communicate with other LAs utilising a low cost technology with high data rates. 1 Introduction The Area etwork () is mainly employed in distributed real time control applications. Increasing use of several networks in modern industrial plants results in need for interworking between networks as well as between and other major public/private networks [1-4]. There may be certain difficulties in some industrial scenarios where a traditional wired backbone is deployed to provide this type of required interconnection functions. Instead, having a wireless backbone as an alternative in such environments to interconnect networks would be exceptionally valuable [1-3]. One wireless network which currently provides the features needed in an industrial control environment, that is, easy integration with several communication systems and capability to ensure critical time constraints, is the IEEE 802.11 standard. This work presented includes a sample design and implementation of a /WLA/ interworking system utilising Wireless Interworking Units (WIU) proposed in [2, 3]. The organization of this paper is as follows. Section 2 briefly introduces and IEEE 802.11b WLA. Section 3 describes the WIU and its structure employed in interconnection of the segments using IEEE 802.11b WLA. The /IEEE802.11b/ prototype is presented in Section 4. Section 5 introduces a sample application using this prototype. 2 Background: and IEEE 802.11 WLA [5] and [6] supply a detailed overview of the features that can be summarized as high speed serial interface, low cost physical medium, short data lengths, fast reaction times and high level of error detection and correction. utilises the Carrier Sense Multiple Access with Collision Detection (CSMA/CD) as the arbitration mechanism to enable its attached nodes to have access to the bus. As employs a priority based bus arbitration process, the node with the highest priority will continue to transmit without any interruption. There are two versions of exist and they only differ in the size of identifier. The identifier field serves two purposes: assigning a priority for the transmission and allowing message filtering upon reception. Figure 1 shows the 2.0A message format utilised in the WIU. S O F Arbitration Field 11-bit dentifier Control Field Field CRC Field ACK EOF 6 bit 2 bit R I T D r0 DLC 0-8 bytes 16-bit CRC 7 bit R E Figure 1: 2.0A message format IEEE 802.11 WLA is a local area network implemented without wires. The 04-1

in Automation main advantages of WLA are mobility and cost saving installation. Any WLA aims to offer all the features and benefits of traditional LA technologies (e.g., Ethernet and Token Ring) but without the limitations of being tethered to a cable [7-8]. IEEE 802.11 employs Carrier Sense Multiple Access/ Collision Avoidance (CSMA/CA) as the channel access method and operates in the 2.4 GHz unlicensed ISM (Industrial, Scientific and Medical) band. Figure 2 shows IEEE 802.11b frame that consists of a PLCP preamble, PLCP header, and MAC Protocol Unit (MPDU), utilised also in the WIU. [7]. PLCP Preamble Synchronization (128 bits) Start frame delimiter Signal data rate (8 bits) Service (8 bits) PLCP Header PPDU Length MPDU Header Error Control CRC MPDU (1 to 2,048 bytes variable) Figure 2: IEEE 802.11b DSSS PCLP packet format 3 /IEEE802.11b/ Wireless Internetworking Unit The Wireless Internetworking Unit (WIU) interconnects two 2.0A networks communicating through IEEE 802.11b. The WIU has two ports. Each port of WIU has a different protocol, frame/message format, and frame reception/ transmission mechanism. Thus, the processes to be performed at each port of the WIU are different. Therefore, both the translation and forwarding processes are required [2, 3]. The WIU contains the worst-case translation that requires creation or loss of fields representing unmatched services. The unmatched services can be solved by a transparent-translating local bridge used to interconnect different LAs. Figure 3 shows the process model of transparenttranslating local bridge. [2] and [3] supply a detailed design stages and computer modelling of the Wireless Interworking Unit using OPET Modeler. Port A Message A Address Process Port A Buffer Forward Forwarding base Discard Translating Process bases Forward Message B Address Process Port B Buffer Port B IEEE 802.11 WLA Figure 3: Process model of transparenttranslating local bridge Main function of the Wireless Internetworking Unit is that the Protocol Units (PDU) of the messages are encapsulated within those of the IEEE 802.11b DSSS frames to be carried over wireless channels. Since a 2.0A message is 108 bits, it can easily be fitted into one IEEE 802.11b frame MPDU (Figure 4). Thus, neither segmentation / reassembly of messages nor data compression is necessary for carrying a message in one IEEE 802.11 frame. At the destination WIU, preamble and header parts of the IEEE 802.11b frames are stripped off, and the messages extracted from the IEEE 802.11b MPDUs can be processed [2, 3]. PLCP Preamble (18 bytes) PLCP Header (6 bytes) Frame (108 bits) MPDU (108 bits) Figure 4: Encapsulation of a 2.0A message into an IEEE 802.11b frame 4 /IEEE802.11b/ WIU prototype Figure 5 shows a picture and block diagram of the WIU prototype. The WIU prototype consists of a development kit, a IEEE 802.11b WLA unit and an. The development kit provides all functions of protocol and connection between bus and WIU. It contains following parts: 04-2 T89C51CC01 controller: The T89C51CC01 is the first member of the ary TM family of 8-bit microcontrollers that provides all the features required to implement

in Automation serial communication protocol as defined by Bosch GmbH. The controller supports both 2.0A and 2.0B. The controller has 15 independent communication channels that each channel can be programmable for reception, transmission and as receive buffer. T89C51CC01 can be programmed by serial mode via the bus or UART. It also allows ISP (In-System Programming) [9]. PCA82C251 transceiver: It provides communication between controller and physical bus. RS-232 transceiver: It is used as serial interface between the microcontroller and computer as well as between the microcontrollers. IEEE 802.11b WLA unit provides all functions of IEEE 802.11b and CSMA/CA protocol. It supports both ad-hoc and infrastructure topologies. IEEE 802.11b WLA unit also contains an embedded web server. Therefore, it can be wirelessly accessed and controlled over a network or the internet. IEEE 80211b WLA unit generally establishes wireless networking with any electronics device over serial port or Ethernet [10]. The shows operations of the WIU such as reception and sending messages. Figure 5.1: Prototype Antenna Radio IEEE 802.11b MAC Baseband RF /IEEE 802.11b WLA Wireless Interworking Unit IEEE 802.11b WLA Unit Chip Memory / Address Bus Ethernet Serial Port 0 Serial Port 1 RS-232 Driver TxD RxD H Bus Figure 5.2: Block diagram of WIU L Development Card 120 Ω Bus 5 A sample application using the /IEEE802.11b/ WIU prototype Figures 6 and 7 show the block diagram and a picture of the /IEEE802.11b/ internetworking application prototype, respectively. The system designed and implemented consists of two independent segments each with two nodes and a WIU. Every node produces a remote message and a local message carrying data entered using the keypad. The local message is destined to the other node in the same segment while the remote message is destined to a node in the other segment. The messages used in this sample application are given in Table 1. The flowchart of operation of the WIUs and flowchart of operation of the nodes in this application prototype network are shown in Figures 8 and 9, respectively. Segment 1 Segment 2 Source ode 1 2 3 4 Message Type * Bus rate: 500 Kbit/s Priority ** IEEE 802.11b WLA rate: 11 Mbit/s (bytes) Destination ode Remote 1 8 3 Local 2 8 2 Remote 3 8 4 Local 4 8 1 Remote 5 8 1 Local 6 8 4 Remote 7 8 2 Local 8 8 3 Table 1: messages used in the * /IEEE802.11b ** / internetworking application prototype 04-3

in Automation /IEEE 802.11b WLA Wireless Interworking Unit 1 Wireless Access Point /IEEE 802.11b WLA Wireless Interworking Unit 2 IEEE 802.11b WLA Unit IEEE 802.11b WLA Unit 1 2 Radio Wireless Medium Radio 3 4 Bus Bus Bus Bus Bus Bus H L H L H L H L H L H L 120 Ω Bus 120 Ω 120 Ω Bus 120 Ω Segment 1 Segment 2 Figure 6: Block diagram of the /WLA/ internetworking application prototype 6 Conclusions Figure 7: Picture of the /WLA/ internetworking application prototype The aim of this work presented has been to design and implement a sample /WLA/ interworking system using Wireless Interworking Units (WIU). The WIUs employed provide a service to achieve the wireless interconnection of two 2.0A segments using an IEEE 802.11b WLA. Considering their easy and widespread usage in many industrial areas, nodes emerge inevitably to need this type of wireless internetworking for greater flexibility for their applications to be controlled remotely. And this study shows that it can be well achieved by using the proposed application and/or its FPGA based examples. 04-4

in Automation Development Kit IEEE 802.11b WLA Unit Start Run menu routine message from Bus received? from kit serial port received? WLA frame from wireless medium received? from serial port of IEEE 802.11b WLA Unit of WIU received? Is it a remote message? Constitute message from data received through serial port of IEEE 802.11b WLA unit of WIU Get message Show priority and data of message in the Send priority and data of message to IEEE 802.11b WLA serial port in order to broadcast it to the wireless medium message completed? Send data received from wireless medium to serial port of development kit through serial port of IEEE 802.11b WLA Unit Send data received to wireless medium Show message in the and send it to Bus Figure 8: Flowchart of operation of the WIU process Start Run menu routine 8 References [1] Erturk, A new method for transferring messages using wireless ATM, Journal of etwork and Computer Applications, vol. 28, pp. 45-56, 2005. [2] C. Bayilmis, I. Erturk, and C. Ceken, Wireless Interworking Independent Segments, Lecture otes in Computer Science, LCS 3280, pp. 299-310, 2004. [3] C. Bayilmis, I. Erturk, and C. Ceken, Extending Segments with IEEE 802.11 WLA, The 3rd ACS/IEEE International Conference on Computer Systems and Applications, AICCSA-05, Egypt, 2005. [4] H., Ekiz, A., Kutlu, E., T., Powner, Design and Implementation of a /Ethernet, Proceedings of the ICC 96 3rd International Conference, France, pp. 1117 1126, 1996. [5] W., Lawrenz, System Engineering: from Theory to Practical Applications, Springer- Verlag, ew ork, pp. 1-289, 1997. [6] M., Farsi, K., Ratckiff, M., Babosa, An Overview of Area etwork, Computing and Control Engineering Journal 10 (3), pp. 113 120, 1999. [7] Part 11: Wireless LA Medium Access Control (MAC) and Physical Layer (PH) Specifications, IEEE Standards 802.11, pp. 195 200, 1999. [8] I., Aad, C., Castelluccia, Priorities in WLAs, Computer etworks, Vol. 41. pp. 505 526, 2003. [9] Atmel T89C51CC01 Sheet, http://www.atmel.com [10] Wiport Guide, 2006, Documentation Embedded Device Servers [online], http://www.lantronix.com/support/documentati on.html message generated? Generate remote/local message using and keypad Send it to Bus message from Bus received? Is it destined to node? Receive message Show priority and data of message in the Figure 9: Flowchart of the operation of the nodes 7 Acknowledgment This research has been supported by TUBITAK (Scientific & Technological Research Council of Turkey) under contract EEEAG/105E059. 04-5