Network protocol for distribution and handling of data from JAS 39 Gripen

On board the aircraft JAS 39 Gripen a measuring system, Data Acquisition System (DAS), is sending sensor data to a server on the ground. In this master thesis, a unified API for distribution and handling of the sensor data is designed and implemented. The work has been carried out at Saab Aeronautic...

Full description

Bibliographic Details
Main Author: Karlsson, Jonathan
Format: Others
Language:English
Published: Linköpings universitet, Programvara och system 2015
Subjects:
ZMQ
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-121241
id ndltd-UPSALLA1-oai-DiVA.org-liu-121241
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-liu-1212412018-01-11T05:12:49ZNetwork protocol for distribution and handling of data from JAS 39 GripenengNätverksprotokoll för distribuering och hantering av data från JAS 39 GripenKarlsson, JonathanLinköpings universitet, Programvara och systemLinköpings universitet, Tekniska fakulteten2015NetworkdistributionpublishsubscribebrokerZMQzero message queuepthreadsprotocolNätverkdistribueringprotokollhantering av datasystemComputer EngineeringDatorteknikOn board the aircraft JAS 39 Gripen a measuring system, Data Acquisition System (DAS), is sending sensor data to a server on the ground. In this master thesis, a unified API for distribution and handling of the sensor data is designed and implemented. The work has been carried out at Saab Aeronautics, Linköping during, 2014. During flights with the aircraft the engineers at Saab need to monitor different sensors in the aircraft, including the exact commands of the pilots. All that data is serialized and sent via radio link to a server at Saab. The current data distribution solution includes several clients that need to connect to the server. Each client has its own connection protocol, making the system complex and difficult to maintain. An API is needed in order to make the clients connect in a unified manner. This would also enable future clients to implement the API and start receiving sensor data from the server. The research conducted in the thesis project was centered on the different choices that exist for designing such an API. The question that needed answering was; how can an existing complex system can be replaced by a publish-subscribe system and what the benefits would be in terms of latency and flexibility of the system? The design would have to be flexible enough to support multiple clients. The investigated research question was answered with a design utilizing ZMQ, pthreads and a design pattern. The result is a flexible system that was sufficiently fast for the requirements set at Saab and open to future extensions. The thesis work also included designing a unified API with requirements on latency and functionality. The resulting API was designed using the publish-subscribe design pattern, the network library Zero Message Queue (ZMQ) and the threading library pthreads. The resulting system supports multiple coexisting servers and clients that request sensor data. A new feature is that the clients can start sending calculations performed on samples to other clients. To demonstrate that the solution provides a unified framework, two existing clients and the server were developed with the proposed API. To test the latency requirements, tests were performed in the control room at Saab.  Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-121241application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Network
distribution
publish
subscribe
broker
ZMQ
zero message queue
pthreads
protocol
Nätverk
distribuering
protokoll
hantering av data
system
Computer Engineering
Datorteknik
spellingShingle Network
distribution
publish
subscribe
broker
ZMQ
zero message queue
pthreads
protocol
Nätverk
distribuering
protokoll
hantering av data
system
Computer Engineering
Datorteknik
Karlsson, Jonathan
Network protocol for distribution and handling of data from JAS 39 Gripen
description On board the aircraft JAS 39 Gripen a measuring system, Data Acquisition System (DAS), is sending sensor data to a server on the ground. In this master thesis, a unified API for distribution and handling of the sensor data is designed and implemented. The work has been carried out at Saab Aeronautics, Linköping during, 2014. During flights with the aircraft the engineers at Saab need to monitor different sensors in the aircraft, including the exact commands of the pilots. All that data is serialized and sent via radio link to a server at Saab. The current data distribution solution includes several clients that need to connect to the server. Each client has its own connection protocol, making the system complex and difficult to maintain. An API is needed in order to make the clients connect in a unified manner. This would also enable future clients to implement the API and start receiving sensor data from the server. The research conducted in the thesis project was centered on the different choices that exist for designing such an API. The question that needed answering was; how can an existing complex system can be replaced by a publish-subscribe system and what the benefits would be in terms of latency and flexibility of the system? The design would have to be flexible enough to support multiple clients. The investigated research question was answered with a design utilizing ZMQ, pthreads and a design pattern. The result is a flexible system that was sufficiently fast for the requirements set at Saab and open to future extensions. The thesis work also included designing a unified API with requirements on latency and functionality. The resulting API was designed using the publish-subscribe design pattern, the network library Zero Message Queue (ZMQ) and the threading library pthreads. The resulting system supports multiple coexisting servers and clients that request sensor data. A new feature is that the clients can start sending calculations performed on samples to other clients. To demonstrate that the solution provides a unified framework, two existing clients and the server were developed with the proposed API. To test the latency requirements, tests were performed in the control room at Saab. 
author Karlsson, Jonathan
author_facet Karlsson, Jonathan
author_sort Karlsson, Jonathan
title Network protocol for distribution and handling of data from JAS 39 Gripen
title_short Network protocol for distribution and handling of data from JAS 39 Gripen
title_full Network protocol for distribution and handling of data from JAS 39 Gripen
title_fullStr Network protocol for distribution and handling of data from JAS 39 Gripen
title_full_unstemmed Network protocol for distribution and handling of data from JAS 39 Gripen
title_sort network protocol for distribution and handling of data from jas 39 gripen
publisher Linköpings universitet, Programvara och system
publishDate 2015
url http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-121241
work_keys_str_mv AT karlssonjonathan networkprotocolfordistributionandhandlingofdatafromjas39gripen
AT karlssonjonathan natverksprotokollfordistribueringochhanteringavdatafranjas39gripen
_version_ 1718604873366241280