Change search
ReferencesLink to record
Permanent link

Direct link
Network protocol for distribution and handling of data from JAS 39 Gripen
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.
2015 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Nätverksprotokoll för distribuering och hantering av data från JAS 39 Gripen (Swedish)
Abstract [en]

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. 

Place, publisher, year, edition, pages
2015. , 52 p.
Keyword [en]
Network, distribution, publish, subscribe, broker, ZMQ, zero message queue, pthreads, protocol
Keyword [sv]
Nätverk, distribuering, protokoll, hantering av data, system
National Category
Computer Engineering
URN: urn:nbn:se:liu:diva-121241ISRN: LIU-IDA/LITH-EX-A—15/052--SEOAI: diva2:852898
External cooperation
Subject / course
Computer Engineering
Available from: 2015-09-11 Created: 2015-09-10 Last updated: 2015-09-11Bibliographically approved

Open Access in DiVA

fulltext(2594 kB)60 downloads
File information
File name FULLTEXT01.pdfFile size 2594 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Karlsson, Jonathan
By organisation
Software and SystemsFaculty of Science & Engineering
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 60 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 222 hits
ReferencesLink to record
Permanent link

Direct link