Wireless Networked Control System using IEEE with GTS

Similar documents
Wireless Networked Control System using ZigBee/IEEE

Measurement-based Analysis of the Effect of Duty Cycle in IEEE MAC Performance

Multimedia CTI Services for Telecommunication Systems

A Methodology for Improving Software Design Lifecycle in Embedded Control Systems

Performance Analysis and improvement of ZigBee routing protocol

BoxPlot++ Zeina Azmeh, Fady Hamoui, Marianne Huchard. To cite this version: HAL Id: lirmm

Modelling and simulation of a SFN based PLC network

Structuring the First Steps of Requirements Elicitation

Real-Time and Resilient Intrusion Detection: A Flow-Based Approach

Tacked Link List - An Improved Linked List for Advance Resource Reservation

Fault-Tolerant Storage Servers for the Databases of Redundant Web Servers in a Computing Grid

Throughput prediction in wireless networks using statistical learning

COM2REACT: V2V COMMUNICATION FOR COOPERATIVE LOCAL TRAFFIC MANAGEMENT

A Beacon Cluster-Tree Construction Approach For ZigBee/IEEE Networks

FIT IoT-LAB: The Largest IoT Open Experimental Testbed

Framework for Hierarchical and Distributed Smart Grid Management

On the Gap Between Mathematical Modeling and Measurement Analysis for Performance Evaluation of the MAC Protocol

Simulations of VANET Scenarios with OPNET and SUMO

The Proportional Colouring Problem: Optimizing Buffers in Radio Mesh Networks

Very Tight Coupling between LTE and WiFi: a Practical Analysis

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

Quality of Service Trade-off at the Application Layer with Guaranteed Time Slots in IEEE for Wireless Sensor Networks

Real-time FEM based control of soft surgical robots

Relabeling nodes according to the structure of the graph

Fig. 1. Superframe structure in IEEE

Mokka, main guidelines and future

An Efficient Numerical Inverse Scattering Algorithm for Generalized Zakharov-Shabat Equations with Two Potential Functions

Zigbee Wireless Sensor Network Nodes Deployment Strategy for Digital Agricultural Data Acquisition

How to simulate a volume-controlled flooding with mathematical morphology operators?

Performance Analysis of Beacon Enabled IEEE Using GTS in Zigbee

Malware models for network and service management

Reverse-engineering of UML 2.0 Sequence Diagrams from Execution Traces

Collision Avoidance on Shared Slots in a Wireless Slotted Network: Models and Simulations

An FCA Framework for Knowledge Discovery in SPARQL Query Answers

Fuzzy sensor for the perception of colour

Motion-based obstacle detection and tracking for car driving assistance

A Voronoi-Based Hybrid Meshing Method

Guidelines for the development of a communication middleware for automotive applications

Analysis of Frequency Channel Division Strategy for CSMA/CA with RTS/CTS Mechanism

Taking Benefit from the User Density in Large Cities for Delivering SMS

YANG-Based Configuration Modeling - The SecSIP IPS Case Study

The New Territory of Lightweight Security in a Cloud Computing Environment

Assisted Policy Management for SPARQL Endpoints Access Control

Real-Time Collision Detection for Dynamic Virtual Environments

Traffic Grooming in Bidirectional WDM Ring Networks

Comparator: A Tool for Quantifying Behavioural Compatibility

Blind Browsing on Hand-Held Devices: Touching the Web... to Understand it Better

HySCaS: Hybrid Stereoscopic Calibration Software

Linked data from your pocket: The Android RDFContentProvider

Deformetrica: a software for statistical analysis of anatomical shapes

Computing and maximizing the exact reliability of wireless backhaul networks

Comparison of spatial indexes

Service Reconfiguration in the DANAH Assistive System

An Experimental Assessment of the 2D Visibility Complex

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

A Resource Discovery Algorithm in Mobile Grid Computing based on IP-paging Scheme

DSM GENERATION FROM STEREOSCOPIC IMAGERY FOR DAMAGE MAPPING, APPLICATION ON THE TOHOKU TSUNAMI

Quality of Service Enhancement by Using an Integer Bloom Filter Based Data Deduplication Mechanism in the Cloud Storage Environment

Setup of epiphytic assistance systems with SEPIA

Hardware Acceleration for Measurements in 100 Gb/s Networks

Transmission Probability Strategies for Cluster-based Event-Driven Wireless Sensor Networks

A N-dimensional Stochastic Control Algorithm for Electricity Asset Management on PC cluster and Blue Gene Supercomputer

Performance Study of IEEE for Industrial Maintenance Applications

Moveability and Collision Analysis for Fully-Parallel Manipulators

Linux: Understanding Process-Level Power Consumption

X-Kaapi C programming interface

Prototype Selection Methods for On-line HWR

CHAPTER 4 CROSS LAYER INTERACTION

Principles of Wireless Sensor Networks

Energy and delay trade-off of the GTS allocation mechanism in IEEE for wireless sensor networks

MUTE: A Peer-to-Peer Web-based Real-time Collaborative Editor

DANCer: Dynamic Attributed Network with Community Structure Generator

EL2745 Principles of Wireless Sensor Networks

Preliminary analysis of the drive system of the CTA LST Telescope and its integration in the whole PLC architecture

Efficient implementation of interval matrix multiplication

Cloud My Task - A Peer-to-Peer Distributed Python Script Execution Service

Natural Language Based User Interface for On-Demand Service Composition

A case-based reasoning approach for invoice structure extraction

Application of RMAN Backup Technology in the Agricultural Products Wholesale Market System

Robust IP and UDP-lite header recovery for packetized multimedia transmission

NP versus PSPACE. Frank Vega. To cite this version: HAL Id: hal

Teaching Encapsulation and Modularity in Object-Oriented Languages with Access Graphs

Every 3-connected, essentially 11-connected line graph is hamiltonian

YAM++ : A multi-strategy based approach for Ontology matching task

Experimental Evaluation of an IEC Station Bus Communication Reliability

Improving the IEEE Slotted CSMA/CA MAC for Time-Critical Events in Wireless Sensor Networks

Decentralised and Privacy-Aware Learning of Traversal Time Models

Change Detection System for the Maintenance of Automated Testing

From medical imaging to numerical simulations

Monitoring Air Quality in Korea s Metropolises on Ultra-High Resolution Wall-Sized Displays

ASAP.V2 and ASAP.V3: Sequential optimization of an Algorithm Selector and a Scheduler

A Practical Evaluation Method of Network Traffic Load for Capacity Planning

QuickRanking: Fast Algorithm For Sorting And Ranking Data

Self-optimisation using runtime code generation for Wireless Sensor Networks Internet-of-Things

Extended interface ID for virtual link selection in GeoNetworking to IPv6 Adaptation Sub-layer (GN6ASL)

Stream Ciphers: A Practical Solution for Efficient Homomorphic-Ciphertext Compression

IntroClassJava: A Benchmark of 297 Small and Buggy Java Programs

Regularization parameter estimation for non-negative hyperspectral image deconvolution:supplementary material

Catalogue of architectural patterns characterized by constraint components, Version 1.0

Scan chain encryption in Test Standards

Transcription:

Wireless Networked Control System using IEEE 802.5.4 with GTS Najet Boughanmi, Ye-Qiong Song, Eric Rondeau To cite this version: Najet Boughanmi, Ye-Qiong Song, Eric Rondeau. Wireless Networked Control System using IEEE 802.5.4 with GTS. 2nd Junior Researcher Workshop on Real-Time Computing, JRWRTC 2008, Oct 2008, Rennes, France. pp.2-25, 2008, Proceedings of the 2nd Junior Researcher Workshop on Real-Time Computing. <inria-00332308v2> HAL Id: inria-00332308 https://hal.inria.fr/inria-00332308v2 Submitted on 23 Oct 2008 HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Wireless Networked Control System using IEEE 802.5.4 with GTS Najet Boughanmi LORIA-CRAN-INPL boughanm@loria.fr YeQiong Song LORIA-INPL song@loria.fr Eric Rondeau CRAN eric.rondeau@cran.uhp-nancy.fr Abstract In this paper, the suitability of wireless sensor networks for networked control loop is shown. As the non beaconenabled mode of IEEE 802.5.4/ZigBee does not ensure the stability for the control loop since non mechanism can prevent the perturbation coming from other applications sharing the same network, we investigate the beacon-enabled mode using the Guaranteed Time Slot (GTS) mechanism and show it is suitable.. Introduction Networked Control Systems (NCS) [9] are getting an increasing interest from both industrials and researchers. However, they suffer from limitations in mobility and flexibility because of the network wires. Wireless Networked Control Systems (WNCS) are an alternative to overcome this problem since they offer easier configuration and maintenance especially in case of several networked control loops and in shared communication medium. RUNES project [] has been interested in it and showed its importance. The IEEE 802.5.4/ZigBee seems to be one of interesting wireless networks comparing to the others since it is a low-cost low-power Wireless Sensor Networks (WSN). Moreover, even an industrial standard as WirelessHART [2], which was designed to meet the requirements of wireless networks operating in process plant, uses IEEE 802.5.4-based Physical layer and MAC PDU. However, the IEEE 802.5.4/ZigBee with non beaconenabled mode suffers from random delays, frame losses and limited data rate. The beacon enabled-mode in IEEE 802.5.4/ZigBee can offer real-time guarantees by means of the GTS mechanism. Hence, using the beacon enabled mode makes IEEE 802.5.4/ZigBee suitable for implementing closed-loop for real-time systems. In this paper, we This work is partially supported by Safe NECS project funded by ANR 05 SSIA 005 03. investigate the capacity of IEEE 802.5.4/ZigBee to support closed control loops applications. The impact of network performance variations is evaluated in terms of Quality of Control (QoC). In particular, we show the limits of IEEE 802.5.4/ZigBee: the lower bound of the sampling period of the control loop is 0.0536s, the number of control loops is limited to two. We give a guideline to configure network parameters to meet QoC requirement of a control loop. Often, one needs to simulate the process, the control and the wireless network. There are several tools which allow the co-design of control loops and networks. We are using TrueTime [8], a Matlab/Simulink simulator since it allows us to simulate the temporal aspects of multi-tasking real-time kernels and wireless networks within Simulink together with the continuous-time dynamics of the controlled plant. TrueTime does not implement the beacon-enabled mode of IEEE 802.5.4/Zig- Bee. So, we added this mode to TrueTime in order to study the effect of the GTS mechanism on wireless networked control systems. This package can be downloaded at http://www.loria.fr/equipes/trio/packagegts.zip. This paper is organized as follows. In Section 2 related works are discussed. Then, the considered NCS is described in Section 3. A brief overview of the IEEE 802.5.4/Zig- Bee is presented in Section 4. Section 5 deals with an analysis of the effect of the non beacon-enabled mode on WNCS. Then, in Section 6 we give the proposal and the results. 2 Related work Guaranteeing network QoS, especially for industrial process control architecture, is a common problem that has been addressed in several research work. In [7], the case of a dedicated network (CAN, WIFI, IEEE 802.5.4/ZigBee) to the process control application has been studied but the realistic case with other nodes than control loop nodes sharing the network has not been analysed. In [3], the suitability of IEEE 802.b for wireless networked control system has been analysed and it has been shown that the network bandwidth is important for the performance of WNCS.

Some other works have dealt with the IEEE 802.5.4/ZigBee and especially the synchronization of the GTS mechanism. Francomme et al. [5] proposed a new synchronization method for beacons and GTSs in meshed networks using IEEE 802.5.4. Koubâa et al. [6] proposed a synchronization mechanism based on time division beacon scheduling to construct cluster-tree WSNs. Moreover, they proposed a methodology for an efficient duty-cycle management in each router to ensure the fairest use of bandwidth resources. Those works are centric over network Quality of Service (QoS) and do not include any actual real-time applications. All these works show that IEEE 802.5.4/ZigBee with GTS mechanism is a promising solution to guarantee the QoS required by the network and so the QoC needed by the control loop. Thus in this work we will analyse the WNCS using the beacon-enabled mode of IEEE 802.5.4 than we will present the non beacon-enabled mode as a way to ensure the stability of the WNCS. 3 The considered networked control system Our system consists on a cart whose movement is guided along a rail [4]. We aim to control the cart s position. The variable characterizing the system s state ( x T = [ d d ]) are: d, the cart position along the rail measured from a reference point, and, d its velocity. We introduce a wireless sensor network containing the sensor (S), the controller (C) and the actuator (A) as shown in Figure. The network add new delays: τ sc is the delay between the sensor and the controller, and τ ca is the delay between the controller and the actuator ( Figure 2). The controller behaviour is characterised by the transfer function G C (s) and the process (the cart here) by G P (s). U(s) is the command, E(s) the error, Y (s) the system response, and R(s) is the reference. Figure 2. The networked control system architecture 4 IEEE 802.5.4/ZigBee protocol overview The MAC protocol supports two operational modes that may be selected by the coordinator: beacon-enabled mode and non beacon-enabled mode. Non beacon-enabled mode : Medium access control is provided by an unslotted CSMA/CA (Carrier Sense Multiple Access/ Collision Avoidance) mechanism (using a random backoff time based on backoff period and Backoff Exponent (BE). There is no priority mechanism so no way to isolate a particular flow among all traffic. Beacon-enabled mode : Beacons are periodically sent by Zigbee coordinator to synchronize nodes that are associated with it, and to identify the Personal Area Network (PAN). Superframe is contained between two consecutive beacon frames. The superframe structure is used to manage communication between these devices. The superframe contains a Contention-Access Period and Contention-Free Period (CFP), and it may include an inactive period. 5 Analysis of the WNCS using the non-beacon enabled mode of IEEE 802.5.4/ZigBee Figure. IEEE 802.5.4/Zigbee using CSMA/CA: shared network The sampling period should be higher than 0.00s [4]. We are going to study the impact of the network s performance on the controlled system in both ideal and realistic cases and how resolve the problems if there is any. 5. Ideal case: dedicated WSN The entire communication channel is dedicated to the control loop. The distances between sensor, actuator and controller are small enough so that they can receive the signals from each other. In [7], the lower bound for the sampling period T e for IEEE 802.5.4 (non beacon-enabled mode) was evaluated

as follows : T e Random backoff duration (Rand[0, 2 3 ] 320µs) +Data frame duration (352µs) +Turn around Time (TT) (92µs) +ACK frame duration (60µs) +Short Inter-Frame Space (SIFS) (92µs) +Random backoff duration +Data Frame duration +T T + ACK Frame duration + SIF S. () Figure 3 shows flows in a sampling period. The limit of the sampling period was calculated equal to 6272µs 2. Figure 3. Flows in a sampling period IEEE 802.5.4/Zigbee non beacon-enabled mode Figure 4 shows the behaviour of the plant Y (cart) and the reference R. We notice that the plant follows instantaneously the reference and it is stable. 0.6 0.5 0.4 0.3 0.2 0. 0 0. 0 2 3 4 5 6 7 8 9 0 Y R sends, periodically, a message of 064bits In the following, we will study the plant behaviour for different perturbation load. We change the transmission period to see the effect of the new additional network load on the NCS. Our NCS can stay stable if the additional network load is less than 44% of the total bandwidth. However, if this additionnal network load reaches 44% ( the transmission period of each cyclops = 0.02s), the cart becomes instable as shown. 6 Our proposal To ensure the stability of the WNCS, we are interested in the beacon-enabled mode of the IEEE 802.5.4. Indeed, we will reserve network resources using the GTS mechanism. The superframe duration (SD) is given by SD = abasesuperframeduration.2 SO for 0 SO BO 4 where SO is the Superframe Order. SD is divided into 6 equally-sized time slots, during which frame transmissions are allowed. GTSs are allocated by the PAN coordinator. The PAN coordinator can allocate at most seven GTSs and each GTS may occupy more than one time slot. Each node in the control loop will have a reserved GTS whose size will be slot since the control data is not big (small frame). Figure 5 shows that we need 3 GTSs (3 slots), but as the superframe has at least 6 slots (if we omit the inactive part), the WNCS sampling period T e has to be at least equal to the superframe duration. Indeed, we have to ensure that T e SD. As the smallest superframe (for SO = 0) is equal to 0.0536s, then the WNCS sampling period T e is greater then T emin = 0.0536s. Besides, since the number of GTS is restricted to 7, the GTS mechanism cannot afford QoS guarantees to more than two control loops. Otherwise, one should use the scheduling policy in [5]. Figure 4. IEEE 802.5.4/Zigbee using CSMA/CA in ideal case 5.2 Realistic case: shared WSN In practice, it is not reasonable to dedicate the entire communication channel to the control loop. In fact, the communication channel is shared by 2 cyclops (sensors equipped with camera) and a main control unit as shown in Figure. Hence, the wireless network is used to transmit image packets from cyclops to the main control unit. The image sensor has CIF resolution (352 288). Each cyclops 2 We notice that it is different from the one in [7] (7040µs). Figure 5. Used GTSs by the WNCS Moreover, the sensor and the controller use only the CFP to send sensing and control data so that they do not use the CAP part. The CAP part is used by other nodes using the WSN. We developed the beacon-enabled mode of the IEEE 802.5.4/ZigBee in TrueTime. Figure 6 shows it s network parametrization.

0.6 0.5 Y R 0.4 0.3 0.2 0. 0 0. 0 2 3 4 5 6 7 8 9 0 Figure 7. Results with IEEE 802.5.4 using GTS Figure 6. The IEEE 802.5.4/ZigBee with beacon enabled mode in TrueTime 6. Simulation and results We consider the system shown in Figure. We simulate this system using the IEEE 802.5.4/ZigBee beaconenabled mode. Moreover, in these simulations we disabled the mechanism of signal adaptation since it creates messages and disturbs the GTS mechanism (we will need more than one GTS for each node). Besides, we use only two GTS, one for the controller and another for the sensor because, in TrueTime is not necessary to send ACK messages. We made the assumption that there is no energy problem for the nodes (infinite amount of energy). Moreover, we consider that the controller is the PAN coordinator. We do not address the mobility problem (nodes are static) for the moment. Besides, in the simulation example, we do not take the acknowledgement into account. So we only need two GTSs. The nodes send only in their reserved GTS and without packet loss. We tested several perturbation s loads which are higher than 44%, and we had the result shown in Figure 7. The plant behaviour follows almost exactly the reference. Thus, using the GTS mechanism guarantees the network QoS and the required QoC for the control loop. 7 Conclusions GTS is an interesting mechanism for critical real-time systems. We implemented it in TrueTime so that we can evaluate the WNCS and other researchers can use it. This mechanism can be used only for control loop with sampling period greater than 5, 36ms. Moreover, WNCS with a sampling period less than the smallest given here can not use this mechanism. However, since the number of GTS is restricted to 7, we need to study the case where we have more than 3 control loops sharing the same WSN. This study must be continued by considering energy and mobility problems and the impact of channel error on the stability of WNCS using GTS. References [] RUNES project. http://www.ist-runes.org/. [2] HART, 2007. http://hartcomm2.org/. [3] J. Colandairaj, G. W. Irwin, and W. G. Scanlon. Analysis of an IEEE 802.b wireless networked control system. In Proc. st NeCST Workshop on Networked Control Systems and Fault Tolerant Control, pages pp 9 25, Ajaccio, France, October 2005. Invited Guest Lecture. [4] F. Felicioni, N. Jia, Y.-Q. Song, and F. Simonot-Lion. Impact of a (m,k)-firm data dropouts policy on the quality of control. In 6th IEEE International Workshop on Factory Communication Systems, volume Factory Communication Systems, 2006 IEEE International Workshop on, pages 353 359, Torino, Italy, 28/06/2006. http://ieeexplore.ieee.org. [5] F. Jackson, M. Gilles, and T. Val. Beacon synchronization for GTS collision avoidance in an IEEE 802.5.4 meshed network. In FET 07, 7-9 November 2007. [6] A. Koubâa, A. Cunha, and M. Alves. A time division beacon scheduling mechanism for IEEE 802.5.4/ZigBee cluster-tree wireless sensor networks. In 9th ECRTS, July 2007. [7] G. Mouney, G. Juanole, and C. Calmettes. On the implementation of one process control application type through a network. considering three LANs: CAN, WiFi, ZigBee. In 7th IFAC World Congress, July 6-2008. [8] M. Ohlin, D. Henriksson, and A. Cervin. TrueTime.5- Reference Manual. Department of Automatic Control Lund University, 2007. [9] S. Zampieri. Trends in networked control systems. In 7th IFAC World Congress, July 6-2008.