Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Insamling av accelerometerdata med Linux som ett realtidsliknande system
University West, Department of Engineering Science.
University West, Department of Engineering Science.
2023 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Collecting accelerometer data using Linux with realtime properties (English)
Abstract [sv]

I det här arbetet konstrueras en prototyp för insamling av GPS- och accelerometerdata från ett litet fyrhjuligt, elektriskt fordon. Insamlad data skickas sedan till Grafana för visualisering. Accelerometerdata samlas in från fram- och bakaxeln, samt fordonets mitt. Accelerometerdata kan användas för att klassificera förarbeteenden, kartlägga vägunderlag, och identifiera slitage. Arbetet undersöker även hur Linux kan användas i stället för ett realtidssystem för insamling av accelerometerdata. Ett idealt realtidssystem definieras som att tidsstämpeln för två mellanliggande samplingspunkter skiljer med exakt den tid som motsvarar periodtiden för samplingsfrekvensen. Den konstruerade prototypen kan samla in accelerometerdata i upp till 200 Hz, med en standardavvikelse på enstaka mikrosekunder mellan närliggande tidsstämplar.

Abstract [en]

In this paper a prototype is constructed with the purpose of collecting GPS- and accelerometer data from a small, electric vehicle. The collected data is sent to an external database, and visualized with Grafana. Accelerometer data is collected from sensors on the vehicle's front- and back axis, as well as a sensor mounted in between. Accelerometer data can be used to classify driver behavior, study the conditions of roads, and monitor wear and tear. The paper also explores how Linux can be used as a substitute for a real time system when it comes to collection of accelerometer data. The prototype's performance is compared to an ideal real time system as well as a general purpose system. Performance is measured by analyzing the timestamps of neighboring datapoints. The difference between two timestamps collected by an ideal real time system is exactly equal to the period of corresponding collection frequency. By optimization and using the PREEMPT_RT patch for Linux, the prototype can collect accelerometer data in up to 200 Hz, with a standard deviation of single microseconds for neighboring timestamps.

Place, publisher, year, edition, pages
2023. , p. 21
Keywords [sv]
Datainsamling, elektriska fordon
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hv:diva-20593Local ID: EHD500OAI: oai:DiVA.org:hv-20593DiVA, id: diva2:1783303
Subject / course
Computer science
Educational program
Datateknik - högskoleingenjör
Supervisors
Examiners
Available from: 2023-07-20 Created: 2023-07-20 Last updated: 2023-07-20Bibliographically approved

Open Access in DiVA

No full text in DiVA

By organisation
Department of Engineering Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 41 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf