UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF A REAL-TIME EMBEDDED REMOTE TRIGGERING AND MONITORING SYSTEM CHUI YEW LEONG FK

Similar documents
UNIVERSITI PUTRA MALAYSIA A WEB-BASED CONTROL AND MONITORING SYSTEM AHMAD ABDUSALAM FIRJANI FK

DEVELOPMENT OF A REAL-TIME EMBEDDED REMOTE TRIGGERING AND MONITORING SYSTEM WITH SC12

DEVELOPMENT OF A MOBILE ROBOT SPATIAL DATA ACQUISITION SYSTEM OOI WEI HAN MASTER OF SCIENCE UNIVERSITI PUTRA MALAYSIA

AUTOMATIC APPLICATION PROGRAMMING INTERFACE FOR MULTI HOP WIRELESS FIDELITY WIRELESS SENSOR NETWORK

ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI

UNIVERSITI PUTRA MALAYSIA EMBEDDED ETHERNET WEB SERVER FOR A ROBOT ARM CONTROL TOE OO ZAW FK

DEVELOPMENT OF COMMERCIAL VEHICLE SPEED WARNING SYSTEM NGO CHON CHET

OPTIMIZED BURST ASSEMBLY ALGORITHM FOR MULTI-RANKED TRAFFIC OVER OPTICAL BURST SWITCHING NETWORK OLA MAALI MOUSTAFA AHMED SAIFELDEEN

SUPERVISED MACHINE LEARNING APPROACH FOR DETECTION OF MALICIOUS EXECUTABLES YAHYE ABUKAR AHMED

AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI

HARDWARE AND SOFTWARE CO-SIMULATION PLATFORM FOR CONVOLUTION OR CORRELATION BASED IMAGE PROCESSING ALGORITHMS SAYED OMID AYAT

PERFOMANCE ANALYSIS OF SEAMLESS VERTICAL HANDOVER IN 4G NETWOKS MOHAMED ABDINUR SAHAL

UNIVERSITI PUTRA MALAYSIA AN INTEGRATED FIREWALL SYSTEM MODEL IN A MULTICLIENT- SERVER ENVIRONMENT HUSSEIN A. TAQI AL-KAZWINI FK

MICRO-SEQUENCER BASED CONTROL UNIT DESIGN FOR A CENTRAL PROCESSING UNIT TAN CHANG HAI

HARDWARE-ACCELERATED LOCALIZATION FOR AUTOMATED LICENSE PLATE RECOGNITION SYSTEM CHIN TECK LOONG UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI PUTRA MALAYSIA

UNIVERSITI PUTRA MALAYSIA FACE DETECTION TECHNIQUE BASED ON SKIN COLOR AND FACIAL FEATURES

ENHANCING SRAM PERFORMANCE OF COMMON GATE FINFET BY USING CONTROLLABLE INDEPENDENT DOUBLE GATES CHONG CHUNG KEONG UNIVERSITI TEKNOLOGI MALAYSIA

COLOUR IMAGE WATERMARKING USING DISCRETE COSINE TRANSFORM AND TWO-LEVEL SINGULAR VALUE DECOMPOSITION BOKAN OMAR ALI

MULTICHANNEL ORTHOGONAL FREQUENCY DIVISION MULTIPLEXING -ROF FOR WIRELESS ACCESS NETWORK MOHD JIMMY BIN ISMAIL

AMBA AXI BUS TO NETWORK-ON-CHIP BRIDGE NG KENG YOKE UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI PUTRA MALAYSIA WEB CAMERA APPLICATION FOR MOTION DETECTION KOAY SU YEONG FK

ENHANCEMENT OF UML-BASED WEB ENGINEERING FOR METAMODELS: HOMEPAGE DEVELOPMENT CASESTUDY KARZAN WAKIL SAID

DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI

HERMAN. A thesis submitted in fulfilment of the requirements for the award of the degree of Doctor of Philosophy (Computer Science)

STATISTICAL APPROACH FOR IMAGE RETRIEVAL KHOR SIAK WANG DOCTOR OF PHILOSOPHY UNIVERSITI PUTRA MALAYSIA

SECURE-SPIN WITH HASHING TO SUPPORT MOBILITY AND SECURITY IN WIRELESS SENSOR NETWORK MOHAMMAD HOSSEIN AMRI UNIVERSITI TEKNOLOGI MALAYSIA

BORANG PENGESAHAN STATUS TESIS

HIGH SPEED SIX OPERANDS 16-BITS CARRY SAVE ADDER AWATIF BINTI HASHIM

QOS-AWARE HANDOVER SCHEME FOR HIERARCHICAL MOBILE IPv6 USING CONTEXT TRANSFER WITH LINK LAYER TRIGGER

BLOCK-BASED NEURAL NETWORK MAPPING ON GRAPHICS PROCESSOR UNIT ONG CHIN TONG UNIVERSITI TEKNOLOGI MALAYSIA

ISOGEOMETRIC ANALYSIS OF PLANE STRESS STRUCTURE CHUM ZHI XIAN

MAC PROTOCOL FOR WIRELESS COGNITIVE NETWORK FARAH NAJWA BINTI MOKHTAR

THE COMPARISON OF IMAGE MANIFOLD METHOD AND VOLUME ESTIMATION METHOD IN CONSTRUCTING 3D BRAIN TUMOR IMAGE

SMART AQUARJUM (A UTOMATIC FEEDING MACHINE) SY AFINAZ ZURJATI BINTI BAHARUDDIN

HARDWARE/SOFTWARE SYSTEM-ON-CHIP CO-VERIFICATION PLATFORM BASED ON LOGIC-BASED ENVIRONMENT FOR APPLICATION PROGRAMMING INTERFACING TEO HONG YAP

IMPLEMENTATION OF UNMANNED AERIAL VEHICLE MOVING OBJECT DETECTION ALGORITHM ON INTEL ATOM EMBEDDED SYSTEM

Signature :.~... Name of supervisor :.. ~NA.lf... l.?.~mk.. :... 4./qD F. Universiti Teknikal Malaysia Melaka

ONTOLOGY-BASED SEMANTIC HETEROGENEOUS DATA INTEGRATION FRAMEWORK FOR LEARNING ENVIRONMENT

MODELLING AND REASONING OF LARGE SCALE FUZZY PETRI NET USING INFERENCE PATH AND BIDIRECTIONAL METHODS ZHOU KAIQING

INTEGRATION OF CUBIC MOTION AND VEHICLE DYNAMIC FOR YAW TRAJECTORY MOHD FIRDAUS BIN MAT GHANI

This item is protected by original copyright

PERFORMANCE OF TRANSMISSION CONTROL PROTOCOL (TCP) CONGESTION CONTROL OVER WIRELESS LINKS USING MODIFIED SNOOP PROTOCOL

SEMANTICS ORIENTED APPROACH FOR IMAGE RETRIEVAL IN LOW COMPLEX SCENES WANG HUI HUI

A NEW STEGANOGRAPHY TECHNIQUE USING MAGIC SQUARE MATRIX AND AFFINE CIPHER WALEED S. HASAN AL-HASAN UNIVERSITI TEKNOLOGI MALAYSIA

PRIVACY FRIENDLY DETECTION TECHNIQUE OF SYBIL ATTACK IN VEHICULAR AD HOC NETWORK (VANET) SEYED MOHAMMAD CHERAGHI

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE

MUHAMMAD FIRDAUS BIN MD YUSOF

INFORM DEPARTURE AND ARRIVING OF BUSSES USING BLUETOOTH MOHD SUHKRI BIN YASRI

UNIVERSITI PUTRA MALAYSIA AMTREE PROTOCOL ENHANCEMENT BY MULTICAST TREE MODIFICATION AND INCORPORATION OF MULTIPLE SOURCES ALI MOHAMMED ALI AL SHARAFI

MAGNETIC FLUX LEAKAGE SYSTEM FOR WIRE ROPE INSPECTION USING BLUETOOTH COMMUNICATION MUHAMMAD MAHFUZ BIN SALEHHON UNIVERSITI TEKNOLOGI MALAYSIA

INSTRUCTION: This section consists of TEN (10) structured questions. Answer ALL questions.

UNIVERSITI PUTRA MALAYSIA EFFECTS OF DATA TRANSFORMATION AND CLASSIFIER SELECTIONS ON URBAN FEATURE DISCRIMINATION USING HYPERSPECTRAL IMAGERY

VIRTUAL PRIVATE NETWORK: ARCHITECTURE AND IMPLEMENTATIONS

UNIVERSITI PUTRA MALAYSIA WEIGHTED WINDOW FOR TCP FAIR BANDWIDTH ALLOCATION IN WIRELESS LANS

Design and Implementation of I2C BUS Protocol on Xilinx FPGA. Meenal Pradeep Kumar

UNIVERSITI PUTRA MALAYSIA AN AUTHENTICATION METHOD FOR SECURE INTERNET TRANSACTION USING SMART CARD AND SECURE COPROCESSOR MUSTAFA ABDSALAM AYAD

OPTIMIZE PERCEPTUALITY OF DIGITAL IMAGE FROM ENCRYPTION BASED ON QUADTREE HUSSEIN A. HUSSEIN

DYNAMIC TIMESLOT ALLOCATION TECHNIQUE FOR WIRELESS SENSOR NETWORK OON ERIXNO

RGB COLOR IMAGE WATERMARKING USING DISCRETE WAVELET TRANSFORM DWT TECHNIQUE AND 4-BITS PLAN BY HISTOGRAM STRETCHING KARRAR ABDUL AMEER KADHIM

UNIVERSITI PUTRA MALAYSIA ENHANCED MOBILITY SOLUTION IN MOBILE IPV6 NETWORK


CAMERA CALIBRATION FOR UNMANNED AERIAL VEHICLE MAPPING AHMAD RAZALI BIN YUSOFF

UNIVERSITI PUTRA MALAYSIA RELIABILITY PERFORMANCE EVALUATION AND INTEGRATION OF ROUTING ALGORITHM IN SHUFFLE EXCHANGE WITH MINUS ONE STAGE

LOGICAL OPERATORS AND ITS APPLICATION IN DETERMINING VULNERABLE WEBSITES CAUSED BY SQL INJECTION AMONG UTM FACULTY WEBSITES NURUL FARIHA BINTI MOKHTER

PROBLEMS ASSOCIATED WITH EVALUATION OF EXTENSION OF TIME (EOT) CLAIM IN GOVERNMENT PROJECTS

A TRUST MODEL FOR BUSINESS TO CUSTOMER CLOUD E-COMMERCE HOSSEIN POURTAHERI

DEVELOPMENT OF VENDING MACHINE WITH PREPAID PAYMENT METHOD AMAR SAFUAN BIN ALYUSI

UNIVERSITI PUTRA MALAYSIA SOFTWARE DEVELOPMENT FOR CONVERSION OF IP TO WIRELESS ATM (WATM) SWARNAPPA CLEMENT SUDHAKAR FK

TOWER BASE STATION SAFETY SYSTEM USING GSM TECHNOLOGY NIZAR ZACARIYYA BIN SHAPHERI

ANOMALY DETECTION IN WIRELESS SENSOR NETWORK (WSN) LAU WAI FAN

RECOGNITION OF PARTIALLY OCCLUDED OBJECTS IN 2D IMAGES ALMUASHI MOHAMMED ALI UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI PUTRA MALAYSIA LAYER OVER MULTI-HOP AD-HOC NETWORKS FK

ARM PROCESSOR EMULATOR MOHAMAD HASRUZAIRIN B MOHD HASHIM

IMPROVED IMAGE COMPRESSION SCHEME USING HYBRID OF DISCRETE FOURIER, WAVELETS AND COSINE TRANSFORMATION MOH DALI MOUSTAFA ALSAYYH

STUDY OF FLOATING BODIES IN WAVE BY USING SMOOTHED PARTICLE HYDRODYNAMICS (SPH) HA CHEUN YUEN UNIVERSITI TEKNOLOGI MALAYSIA

PORTABLE ELECTRONICS QUEUE CONTROL SYSTEM WONG CHUN YUAN UNIVERSITY MALAYSIA PAHANG

ADAPTIVE ONLINE FAULT DETECTION ON NETWORK-ON-CHIP BASED ON PACKET LOGGING MECHANISM LOO LING KIM UNIVERSITI TEKNOLOGI MALAYSIA

AUTOMATIC RAILWAY GATE CONTROLLERUSING ZIGBEE NURLIYANA HAZIRAH BINTI MOHD SAFEE (B )

UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF AN INTERNET BASED RATING SYSTEM FOR ECOTOURISM SITES MOHAMMAD SHOKOUHI FK

UNIVERSITI PUTRA MALAYSIA RANK-ORDER WEIGHTING OF WEB ATTRIBUTES FOR WEBSITE EVALUATION MEHRI SAEID

UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF CLASS 2 AND CLASS 3 SURGE PROTECTION DEVICES FOR LOW VOLTAGE PROTECTION SYSTEMS

DESIGN AND IMPLEMENTATION OF A MUSIC BOX USING FPGA TAN KIAN YIAK

SLANTING EDGE METHOD FOR MODULATION TRANSFER FUNCTION COMPUTATION OF X-RAY SYSTEM FARHANK SABER BRAIM UNIVERSITI TEKNOLOGI MALAYSIA

LINK QUALITY AWARE ROUTING ALGORITHM IN MOBILE WIRELESS SENSOR NETWORKS RIBWAR BAKHTYAR IBRAHIM UNIVERSITI TEKNOLOGI MALAYSIA

DYNAMIC MOBILE SERVER FOR LIVE CASTING APPLICATIONS MUHAMMAD SAZALI BIN HISHAM UNIVERSITI TEKNOLOGI MALAYSIA

MICRO-MOBILITY ENHANCEMENT IN MULTICAST MOBILE IPv6 WIRELESS NETWORKS. By YONG CHU EU

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

UNIVERSITI PUTRA MALAYSIA SECURITY STUDY AND ENCRYPTION / DECRYPTION METHOD MAJDI TAYSIR AL-QDAH FK

UNIVERSITI PUTRA MALAYSIA

HOME APPLIANCE CONTROL SYSTEM TAN WEI SYE

DEVELOPMENT OF PESONA RISC MICROPROCESSOR ARCHITECTURE IN FPGA MOHD FAHMIR ADZRAN BIN RAMLEE

AUTOMATIC PET FEEDER WITH CLIENT/SERVER APPLICATION KHAIRUL ANWAR B MOHD YAKOP UNIVERSITI MALAYSIA PAHANG


BORANG PENGESAHAN STATUS TESIS

A LEVY FLIGHT PARTICLE SWARM OPTIMIZER FOR MACHINING PERFORMANCES OPTIMIZATION ANIS FARHAN BINTI KAMARUZAMAN UNIVERSITI TEKNOLOGI MALAYSIA

ADAPTIVE LOOK-AHEAD ROUTING FOR LOW LATENCY NETWORK ON-CHIP NADERA NAJIB QAID AL AREQI UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI PUTRA MALAYSIA IMAGE COMPRESSION BASED ON REGION OF INTEREST FOR COMPUTERIZED TOMOGRAPHY IMAGES TARIK FARAJ ALI IDBEAA FK

UNIVERSITI PUTRA MALAYSIA ROBOT MANIPULATION TRAJECTORY PLANNING IN COMPLEX POSITION RAZALI SAMIN ITMA

HOME APPLIANCES MONITORING AND CONTROL USING SMARTPHONE APPLICATION AHMAD DANIAL BIN AHMAD NAZRI

Transcription:

UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF A REAL-TIME EMBEDDED REMOTE TRIGGERING AND MONITORING SYSTEM CHUI YEW LEONG FK 2003 59

DEVELOPMENT OF A REAL-TIME EMBEDDED REMOTE TRIGGERING AND MONITORING SYSTEM By CHUI YEW LEONG Thesis Submitted to the School of Graduate Studies, Universiti Putra Malaysia in Fulfilment of the Requirement for the Degree of Master of Science July 2003

Dedicated to, My Family ii

Abstract of thesis presented to the Senate ofuniversiti Putra Malaysia in fulfilment of the requirement for the degree of Master of Science DEVELOPMENT OF A REAL-TIME EMBEDDED REMOTE TRIGGERING AND MONITORING SYSTEM By CHUI YEW LEONG July 2003 Chairman: Associate Professor Abdul Rahman Ramli, Ph.D. Faculty: Engineering The Internet has become the latest medium for communication with advanced features such as file transfer, transaction application, advertising and much more. Recently, quite a number of Internet applications related to remote triggering and monitoring system have been developed. The integration of Internet technology and embedded system concept provides a way for the development of Network Embedded System. In this case, various types of electrical or electronic appliances can be connected to the Network Embedded System to obtain network-connectivity or Internet-ready functionality. For system development purpose, SC12 from BECK-IPC is selected for Network Embedded System implementation. The ideal system can be built with improved diagnostic features and flexibility in terms of configuration parameters. So, this research will cover intelligent system design, iii

protocol stack implementation and manipulation techniques, and embedded system development in details. A real-time embedded remote triggering and monitoring system has been developed. This project is an integration of three systems: Network Embedded System (NBS), Local Connectivity System Toolkit (LCS) and client-side application. NBS provides network connectivity features to LCS and ready to be triggered and monitored by remote clientside application. So, electrical or electronic appliances can be attached to LCS for network/internet connectivity purpose. On the other hand, client-side application provides a user-friendly Graphic User Interface (GUI) to enhance the usability of the system. iv

PERPUST AKAAN SUI. TAN ABDUL SA.MAO UN1VERSITl PUTRA MALAYSIA Abstrak tesis yang dikemukakan kepada Senat Universiti Putra Malaysia sebagai memenuhi keperluan untuk ijazah Master Sains PEMBANGUNAN SISTEM PENGAKTIFAN DAN PEMANTAUAN JARAK JAUH YANG MASA SEBENAR DENGAN SYSTEM TERBENAM Oleh ehui YEW LEONG Julai 2003 Pengerusi: Profesor Madya Abdul Rahman Ramli, Ph.D. Fakulti: Kejuruteraan Internet telah menjadi bahantara komunikasi terkini dengan pelbagai keistimewaan seperti pemindahan fail, aplikasi urusniaga, periklanan dan sebagainya. Mutakhir ini, terdapat pelbagai aplikasi Internet yang melibatkan sistem pengaktifan dan pemantauan jarak jauh. Pembangunan teknologi Internet dengan konsep sistem terbenam telah membekal kemampuan dalam pembangunan Sistem Terbenam Rangkaian. Dalam kes ini, mekanisma pengaktifan dan pemantauan jarak jauh melalui Internet terhadap pelbagai jenis alat elektrik adalah berkemungkinan dilaksanakan dalam sistem terbenam. Untuk tujuan pembangunan sistem, SC12 dari BECK-IPC telah dipilih dalam pembinaan Sistem Terbenam Rangkaian. Dalam sistem yang ideal, keupayaan pemeriksaan dan mudah digunakan dalam membuat configurasi terhadap parameter sistem adalah penting. Keberkesanan v

mekanisma pengaktifan dan memantauan adalah subjek dalam penyelidikan dan pembangunan projek ini. Selain itu, keistimewaan rangkaian Internet dalam pembangunan sistem tersebut adalah dipentingkan. Tesis ini menerokai keupayaan penyambungan Internet untuk sistem pengaktifan dan pemantauan jarak jauh. Sistem yang dibangunkan ini terdiri daripada tiga bahagian utama iaitu Sistem Terbenam Rangkaian, Peranti Penyambungan Sistem dan aplikasi GUI. Apabila sistem ini disambungkan dengan Internet, ia dapat melaksanakan proses pengaktifan and pemantauan terhadap Peranti Penyambungan Sistem. Peralatanperalatan elektrik boleh disambung dengan peranti penyambungan untuk tujuan sistem berpandukan Internet. Selain aplikasi GUI yang mudah diguna telah menambah keberkesanan terhadap sistem operasi. vi

ACKNOWLEDGEMENTS First of all, I would like to express my utmost thanks and gratitude to my family for giving me the support to finish this thesis successfully. The author gratefully wish to express this profound appreciation and gratitude to his supervisor, Dr. Abdul Rahman Ramli, for his supervision, guidance, supporting and constructive suggesting and comment throughout the duration of the project until it turn to real success. The author also indebted to members of his supervisory committee, Dr Adznan and Pn. Wan Azizun for their guidance, prompt decision and valuable assistance during this period. Appreciation also to the assistance rendered by the respective lecturers, staffs, technicians of ITMA for providing the facilities required for undertaking this project. vii

I certified that an Examination Committee met on 9th July 2003 to conduct the final examination of Chui Yew Leong on his Master of Science thesis entitled "Development of a Real-Time Embedded Remote Triggering and Monitoring System" in accordance with Universiti Pertanian Malaysia (Higher Degree) Act 1980 and Universiti Pertanian Malaysia (Higher Degree) Regulations 1981. The committee recommends that the candidate be awarded the relevant degree. Members of the Examination Committee are as follows: Samsul Bahari Mohd. Noor, Ph.D. Faculty of Engineering Universiti Putra Malaysia (Chairman) Abdul Rahman Ramli, Ph.D. Associate Professor Faculty of Engineering Universiti Putra Malaysia (Member) Adznan Jantan, Ph.D. Faculty of Engineering Universiti Putra Malaysia (Member) Wan Azizun Wan Adnan Faculty of Engineering Universiti Putra Malaysia (Member) ProfessorlDeputy ean School of Graduate Studies Universiti Putra Malaysia Date: ' 2 9 OCT 2003 viii

This thesis submitted to the Senate of Universiti Putra Malaysia and has been accepted as fulfilment of the requirements for the degree of Master of Science. The members of the Supervisory Committee are as follows: Abdul Rahman Ramli, Ph.D. Associate Professor Faculty of Engineering Universiti Putra Malaysia (Member) Adznan Jantan, Ph.D. Faculty of Engineering Universiti Putra Malaysia (Member) Wan Azizun Wan Adnan Faculty of Engineering Universiti Putra Malaysia (Member) AINI IDERIS, Ph.D. ProfessorlDean School of Graduate Studies Universiti Putra Malaysia Date: 1 4 NOV 2fXlJ ix

DECLARATION I hereby declare that the thesis is based on my original work except for quotations and citations which have been duly acknowledged. I also declare that it has not been previously or concurrently submitted for any other degree at UPM or other institutions. Chui Yew Leong Date: 2 0 OCT 2003 x

TABLE OF CONTENTS Page DEDICATION ABSTRACT ABSTRAK ACKNOWLEDGEMENTS APPROVAL DECLARA non LIST OF TABLES LIST OF FIGURES 11 111 v Vll VllI X XIV XV CHAPTER I. INTRODUCTION 1 1.1 Objective 2 1.2 Overview of Real-Time Embedded Remote Triggering 2 And Monitoring System 1.3 Importance of Real-Time Embedded Remote Triggering 4 And Monitoring System 1.4 Thesis Organization 4 II. LITERATURE REVIEW 5 1.5 Network Embedded System 16 1.6 Real Time Operating System (RTOS) 20 2.3 Internet Technology 22 2.3.1 Protocol Stack 23 2.3.1.1 Connection-Oriented and Connectionless Protocol 25 2.3.1.2 Routable and Non-routable Protocol 27 2.3.2 Network Routing 27 2.3.3 Encapsulation 28 2.3.4 Fragmentation 29 2.3.5 Source Routing 30 2.4 Client-Server Implementation 31 2.5 Digital Signal Switching Control 32 2.5.1 Signal Translation 35 2.5.2 Error Recovery 37 2.6 Conclusion 39 Xl

III. METHODOLOGY 40 3.1 Operation Mechanism 41 3.2 System Implementation 42 3.2.1 Server Implementation 42 3.2.1.1 Application Of Network Embedded System 3.2.1.2 RTOS Implementation 47 3.2.1.3 Network Application Programming 53 3.2.2 Connectivity Toolkit 62 3.2.2. 1 System Design 63 3.2.2.2 Microcontroller Programming 65 3.2.3 Client-Side Development 66 3.3 System Integration 69 3.4 System Optimization 72 3.5 Summary 75 43 IV. RESULT AND DISCUSSION 76 1.7 Operation Result 76 1.7.1 Respond Time 81 1.7.2 Head Generation 82 1.7.3 Data Transformation 87 4.2 Discussion 96 4.2.1 System Efficiency 96 4.2.2 System Stability 97 4.2.3 Security Concern 99 4.3 Conclusion 101 v. CONCLUSION AND RECOMMENDATION 102 5.1 Conclusion 102 5.2 Advantages Of The System 104 5.3 Recommendation 105 REFERENCESIBIBLIOGRAPHY 107 APPENDIX-A APPENDIX-B APPENDIX-C APPENDIX-D APPENDIX-E APPENDIX-F APPENDIX-G TCP Server PPP Client TCP/IP Stack Hardware Interface API RTOS API DNS Service Serial Interface API 111 116 121 141 148 162 169 XlI

APPENDIX-H APPENDIX-I APPENDIX-J APPENDIX-K PPP Client Multitasking Module Local Connectivity Toolkit Module Client-side GUI Application System Configuration Tool 176 177 184 187 VITA 210 Xl11

LIST OF TABLE Table Page 2.1 Market-Ready embedded remote triggering and monitoring system 10 2.2 Comparison of unit channel per module for market-ready products 12 2.3 Network Embedded System in the market 18 3.1 Some of the protocol API from network embedded system 54 3.2 Coding of connectivity toolkit 62 4.1 Respond time according to the type of network connection 81 4.2 Respond time ofnx-1 00 (TOA Corporation) 82 4.3 Analytical ambient temperature result of real-time embedded remote triggering and monitoring system for 24 hours 84 4.4 Analytical unit temperature result of real-time embedded remote triggering and monitoring system for 24 hours 84 4.5 List of feedback signal corresponding to the relays status in connectivity toolkit 94 4.6 Types of testing method for system operation stability 98 4.7 Security checklist of SC 12 network embedded system 99 4.8 Protection methods of security risk 100 xiv

LIST OF FIGURE Figure Page 1.1 Block diagram of a complete Internet connectivity system 3 2.1 LAN connection issue of unavailability of smart connection management 11 2.2 Modem dial-up connection issue of unavailability of smart connection Management 11 2.3 Insufficient unit channel per module in multipurpose application 12 2.4 Operation mechanism of remote dial-up activation 13 2.5 System block diagram of 16-operation channel per module 14 2.6 Mechanism of run-time system failure detection 15 2.7 Architecture of Real Time Operation System (RTOS) for SC12 21 2.8 OSI reference model 24 2.9 Internet protocol stack corresponding to the OSIIRM 25 2.10 Level of multiplexing and demultiplexing of TCPIIP 29 2.11 Client-server configuration on Internet 31 2.12 Mechanism of signal switching control in connectivity toolkit 33 2.13 Mechanism of synchronous triggering method 34 2.14 Mechanism of asynchronous triggering 35 2.15 Task of signal converter 36 2.16 Mechanism of error recovery associated with the strong coding selection and data integrity 2.17 Comparison of strong code and weak code 37 38 xv

3.1 Operation of real-time connection-oriented Internet connectivity embedded triggering and monitoring system 41 3.2 Process of server implementation 3.3 Pin configuration of SC12 43 43 3.4 System operation block diagram of SC 12 44 3.5 System memory configuration and basic I/O of SC12 45 3.6 Read and write mechanism of 8-bit mode with ALE 46 3.7 Power-up and power-down sequence of SC12 47 3.8 I/O map of system architecture 47 3.9 Process management block of RTOS 49 3.10 Mechanism of kernel checking process 49 3.11 Code sharing process in memory 50 3.12 Concept of virtual file system in file sharing 51 3.13 Mechanism of multitasking process in the order ofrtos 53 3.14 Flow diagram of the mechanism of TCP server 57 3.15 Operation of PPP client in flow diagram 61 3.16 System architecture block diagram for connectivity toolkit 63 3.17 Interactive mechanism of I/O interface and connectivity toolkit 64 3.18 Standard IDE of Visual Basic in developing the client-side 68 3.19 System level client-side application for system parameters configuration 69 3.20 Logical linking between the remote terminal and network embedded system 3.21 Logical linking and system operation between network embedded system and connectivity toolkit 70 xvi

3.22 System operation of real-time connection-oriented embedded remote triggering and monitoring system 71 3.23 Ripples along the output power 72 3.24 Mechanism of error checking to trap system failure 74 4.1 User interface of the standard client-side of Internet connectivity triggering and monitoring system 77 4.2 Establish connection from client-side to server 78 4.3 The operation of triggering first relay in the remote system toolkit 79 4.4 Result of trigger off all the 16 relays in connectivity toolkit 80 4.5 Respond time according to the type of network connection in chart form 81 4.6 Analytical ambient temperature result in line chart 85 4.7 Analytical unit temperature result in line chart 86 4.8 Login screen of telnet client when started to establish a connection to the telnet server 87 4.9 Connection detection result on monitoring terminal 88 4.10 Data obtained by network embedded system to trigger on the first relay 89 4.11 Data obtained by network embedded system to trigger on the second relay 90 4.12 Result of data transformation to trigger on the first relay 91 4.13 Result of data transformation to trigger on the second relay 91 4.14 The generated feedback signal by connectivity toolkit responds to trigger on first relay 92 4.15 The generated feedback signal by connectivity toolkit responds to trigger on second relay 93 4.16 The generated feedback signal by connectivity toolkit responds to trigger off all relays 94 xvii

4.17 Result respond to the event of reset all of the relays 95 4.18 Transmission method consisting the system operation 96 xviii

CHAPTERl INTRODUCTION Recently, the development of Internet-based remote triggering and monitoring system becomes one of the hottest research topics [1]. The Internet provides convenience in a. time when everyone is desperate for easy solutions. As the years pass, peoples are experimenting in more adventurous ways on the Internet, making it even better. That's what makes the Internet-base connectivity theme so interesting. There are no limits other than imagination. In fact, the trend of network connectivity technology is going forward to the development of embedded system that meets the requirement of globalization [2]. User will be able to access information and services virtually anywhere and at any time via any device, whether it is pes, laptops, PDAs or phones. Many computers in ubiquitous environments are embedded in hand-held devices as smart appliance [3]. Thus, traditional system is no longer compromise the demand of market to accomplish a wonderful globalization system. This thesis describes the design and implementation of system architecture providing the real-time embedded remote triggering and monitoring service through network embedded system.

1.1 Objective The objectives of this project are: To develop and implement a network-based real-time embedded remote triggering and monitoring system. To develop a client-side application to manage the operation of remote triggering and monitoring. To enhance and optimize the performance of the developed system. 1.2 Overview of Real-Time Embedded Triggering and Monitoring System Real-Time Embedded Triggering and Monitoring System is an advance technology that allows remote user to manage a local system through the InternetJIntranet connection. The system is generally consisting of three main blocks: Remote Terminal (RT), Internet Connectivity Module (lcm) and Local Connectivity System Toolkit (LCST). Figure 1.1 shows the block diagram of a complete real-time embedded triggering and monitoring system. 2

Remote Terminal l<==l Internetllntranet <==l TCPIIP TCPIIP Remote Tenninal Connection Connection dial-up to the local Internet Service Provider (lsp) to access Internet. Electronic Appliances <: :> Internet Connectivity Module U RS-232 Local Connectivity System Toolkit Connection Figure 1.1: Block diagram of a complete Internet connectivity system Remote user can dial-up to the local Internet Service Provider (ISP) to get access to the Internet connection. Through the Internet connection, the remote user allows to make a real-time connection to the ICM. In this case, the ICM will perform TCP to Serial or Serial to TCP Conversion between RT and LCST bi-directionally. A full-duplex connection established for remote user to trigger and monitor the status of electronic appliances in the most effective way. The system is defined as real-time system because of connection-oriented protocol (TCP) is applied to accomplish the connection between RT and ICM. As a result, any operation from RT will affect the status of LCST immediately. Similarly, the status of LCST wills feedback to RT for run-time monitoring purpose. 3

1.3 Importance of Real-Time Embedded Triggering and Monitoring System The ability of triggering and monitoring a remote system is very useful in the sense of system availability mobility and efficiency. Achievement of remote triggering and monitoring provides the possibility of multiple systems to be managed by a single user (System Centralization) [4]. 1.4 Thesis Organization. This thesis is organized as follows: Chapter 1 gives a general background and overview of the thesis. It highlights some of the main benefits in using real-time embedded triggering and monitoring system. Chapter 2 covers the literature review. Further, it looks at some optimal remote triggering and monitoring system and network embedded system concept. Chapter 3 consists of the methodology used in designing the proposed system. The results and discussion are fully documented in Chapter 4. Finally, Chapter 5 summarizes the finding. Conclusion and suggestion for future studies are also given. 4

CHAPTER 2 LITERATURE REVIEW There are various types of technology to implement modem remote triggering and monitoring system. For long distance purpose, Supervisory Control And Data Acquisition System (SCADA), MRC-2 System, Distributed Control System (DCS), Wireless and Mobile Control System, and Internet/Intranet Control System are within the most famous modem remote control system available in the market. However, X- 10, IrDA, Bluetooth and WiFi are within the most popular technology implemented fo r short distance applications. SCADA System refers to the combination of telemetry and data acquisition [5]. It consists of collecting information, transferring it back to a central side, carrying out necessary analysis and control, and then displaying this data on a number of operator screens. The SCADA system is used to monitor and control a plant or equipment. Control may be automatic or can be initiated by operator commands. Telemetry is usually associated with SCADA Systems. It is a technique used in transmitting and receiving information or data over a medium. The information can be measurements, such as voltage, speed or flow. These data are transmitted to another location through a medium such as cable, telephone or radio. Information may come from multiple locations. 5

MRC-2 System is a modular remote control system allowing maximum flexibility in interconnecting control and remote terminals [6]. The master controller PC control software emulates the control terminal and provides the user with a multi tasking system capable of time-oriented and event-oriented control functions. Des is usually used in factories and located within a more confined area [5]. It uses a high-speed communications medium, such as Local Area Network (LAN). A significant amount of closed loop control is present on the system. It may rely on a variety of communications links such as radio and telephone. Closed loop control is not a high priority in this system. Wireless and Mobile Control System practice the technology of GSM to implement the anatomy of distributed control system [7]. The mechanism of GSM technology enables the globalization feature of effective remote control system. IntemetlIntranet Control System implements the backbone of communication link by using the existing technology of TCP/IP [8]. Web-Based Control System, Client-Server Service Control System and E-mail Control System are categorized in this type of control system. Web-Based Control System is implemented by using Common Gateway Interface (CGI) technology associated the practice of Web Browser. Client Server Service Control System is developed with customize application specific program. User-defined data conversion and transferring methods are implemented to accomplish the mechanism of runtime operation. E-mail Control System applied the 6