Μελέτη υλοποίηση και αξιολόγηση απομακρυσμένων μετρητών ενέργειας με χρήση πλατφόρμας Arduino.
Loading...
Date
2015-01-08T10:42:42Z
Journal Title
Journal ISSN
Volume Title
Publisher
Τ.Ε.Ι. Κρήτης, Τεχνολογικών Εφαρμογών (Σ.Τ.Εφ), Τμήμα Ηλεκτρολόγων Μηχανικών Τ.Ε.
T.E.I. of Crete, School of Engineering (STEF), Department of Electrical Engineering
T.E.I. of Crete, School of Engineering (STEF), Department of Electrical Engineering
Advisor
Abstract
Το θεματικό αντικείμενο της παρούσας πτυχιακής εργασίας είναι η μελέτη τριών μοντέλων προγραμματισμού : του Σειριακού, Ασύγχρονου Παράλληλου, τα οποία μελετήθηκαν και αξιολογήθηκαν σε ενσωματωμένο σύστημα.Τα δύο παράλληλα μοντέλα βασίστηκαν στην τεχνολογία των Protothreads, τα οποία εντάσσονται στην κατηγορία των light threads, και η χρήση τους ενδείκνυται σε ενσωματωμένα συστήματα με πολύ περιορισμένη μνήμη. Η μελέτη αυτή δίνει την δυνατότητα στον ενδιαφερόμενο να δει και να κατανοήσει σε βάθος πως λειτουργούν αυτά τα μοντέλα, καθώς και να κατανοήσει την ακριβή σημασία και λειτουργία των Ενσωματωμένων Συστημάτων. Το ενσωματωμένο σύστημα που χρησιμοποιήθηκε είναι η πλατφόρμα Arduino μαζί με κάποια περιφερειακά του (αισθητήρες κ. α.), τα οποία χρησιμοποιήθηκαν για την συλλογή και την επεξεργασία των δεδομένων. Για την επίτευξη του παραπάνω στόχου, ακολούθήθηκαν επιμέρους βήματα τα οποία συνοψίζονται παρακάτω και τα οποία συνιστούν και την μεθοδολογία που ακολουθήθηκε στην παρούσα εργασία.
The topic of this thesis is the study and evaluation of the following three programming models implemented on an Embedded System: the Serial, the Asynchronous Parallel and the Synchronous Parallel. The parallel programming models are based on Protothreads, which are lightweight threads, designed for severely memory constrained embedded systems. This study provides the opportunity to see and understand in depth how these models work and to comprehend the precise meaning and operation of an embedded system. The embedded system which was used for the implementation of this thesis is the Arduino board, along with some of its peripherals (sensors, actuators etc.) for collecting and processing the collected data of the project. For the accomplishment of the above objective, individual steps were followed which constitute the methodology followed in this work. These are summarized below. At first, concerning the methodolog y followed in this thesis, we studied issues which relate to theoretical computer engineering concepts, such as embedded systems, in particular real - time embedded systems, the Arduino icrocontroller and sensor networks , as well as programming models. We examined several types of threads (Linux threads, POSIX threads, Protothreads etc. as well as the ability to control and monitor data using specialized programs, such as the Processing IDE and Grace for visualization . Next, we describe the project, which is separated in three parts , one for each programming model. The case study is related to the design and implementation of a Remote Monitoring/ Control Power Strip device (RC Power Strip). We used C - C++ (Arduino IDE) and the Linux OS (OpenSUSE 12.3) and we examined how these models and their operating parameters affect application performance and time behaviour . Based on this methodology, this thesis provides the opportunity to draw important remarks and conclusions on the efficiency of parallel programming models using Protothreads.
The topic of this thesis is the study and evaluation of the following three programming models implemented on an Embedded System: the Serial, the Asynchronous Parallel and the Synchronous Parallel. The parallel programming models are based on Protothreads, which are lightweight threads, designed for severely memory constrained embedded systems. This study provides the opportunity to see and understand in depth how these models work and to comprehend the precise meaning and operation of an embedded system. The embedded system which was used for the implementation of this thesis is the Arduino board, along with some of its peripherals (sensors, actuators etc.) for collecting and processing the collected data of the project. For the accomplishment of the above objective, individual steps were followed which constitute the methodology followed in this work. These are summarized below. At first, concerning the methodolog y followed in this thesis, we studied issues which relate to theoretical computer engineering concepts, such as embedded systems, in particular real - time embedded systems, the Arduino icrocontroller and sensor networks , as well as programming models. We examined several types of threads (Linux threads, POSIX threads, Protothreads etc. as well as the ability to control and monitor data using specialized programs, such as the Processing IDE and Grace for visualization . Next, we describe the project, which is separated in three parts , one for each programming model. The case study is related to the design and implementation of a Remote Monitoring/ Control Power Strip device (RC Power Strip). We used C - C++ (Arduino IDE) and the Linux OS (OpenSUSE 12.3) and we examined how these models and their operating parameters affect application performance and time behaviour . Based on this methodology, this thesis provides the opportunity to draw important remarks and conclusions on the efficiency of parallel programming models using Protothreads.