hh.sePublications
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
CSI Positioning Hardware Accelerator Using FPGA
Halmstad University, School of Information Technology.
Halmstad University, School of Information Technology.
2026 (English)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This thesis presents the design and testing of a hardware accelerator for CSI-based positioning using an FPGA. The goal was to investigate if a quantized Convolutional Neural Network (CNN) could estimate a position from Channel State Information (CSI) and run fast enough on FPGA hardware. The model was trainedin software using PyTorch and Brevitas. The trained model was then exported to QONNX and converted to a hardware accelerator using the FINN toolchain. The final hardware test was done on a Zybo Z7-20 FPGA board using PYNQ.

Three antenna scenarios were tested: Distributed, Uniform Linear Array (ULA), and Uniform Rectangular Array (URA). The evaluation used an indoor MaMIMO CSI dataset that covers an area of approximately 2.5 m by 2.5 m. The verified quantized software model showed a mean positioning error of 15.83 mm for Distributed, 34.28 mm for ULA, and 17.16 mm for URA. The hardware performance test on the Zybo Z7-20 showed an average latency of about 4.608 ms and a throughput of about 217 FPS for all three scenarios. The Vivado resource reports showed that the design fit on the selected FPGA board.

The results show that a quantized CNN model for CSI-based positioning can be implemented as an FPGA accelerator. The accelerator reached low latency, while the positioning accuracy was evaluated using the verified quantized software model. The FPGA test focused on deployment, latency, throughput, and resource usage. Future work should validate the end-to-end FPGA positioning output by comparing the FPGA output values directly with the software model andground-truth labels.

Abstract [sv]

Denna rapport presenterar design och testning av en hårdvaruaccelerator för CSI-baserad positionering med FPGA. Målet var att undersöka om ett kvantiserat Convolutional Neural Network (CNN) kundeuppskattaenposition från Channel State Information (CSI) och köras tillräckligt snabbt på FPGA-hårdvara. Modellen tränades först i mjukvara med PyTorch och Brevitas. Den tränade modellen exporterades sedan till QONNX och konverterades till en hårdvaruaccelerator med FINN. Det slutliga hårdvarutestet gjordes på ett Zybo Z7-20 FPGA-kort med PYNQ.

Tre antennscenarier testades: Distributed, Uniform Linear Array (ULA) och Uniform Rectangular Array(URA). Vid utvärderingen använde vi ett inomhus MAMIMO CSI dataset som täckte ett område på ungefär 2.5m gånger 2.5m. Den verifierade kvantiserade mjukvarumodellen visade ett medelpositioneringsfel på 15.83 mm för Distributed, 34.28 mm för ULA och 17.16 mm för URA. Hårdvarutestet på Zybo Z7-20 visade en genomsnittlig latens på ungefär 4.608 ms och en genomströmning på ungefär 217 FPS för alla tre scenarier. Resursrapporterna från Vivado visade att designen fick plats på det valda FPGA-kortet.

Resultaten visar att en kvantiserad CNN-modell för CSI-baserad positionering kan implementeras som en FPGA-accelerator. Acceleratorn uppnådde låg latens,medan positioneringsnoggrannheten utvärderades med den verifierade kvantiserade mjukvarumodellen. FPGA-testet fokuserade på driftsättning, latens, genomströmning och resursanvändning. Framtida arbete bör validera den kompletta FPGA-positioneringsutgången genom att jämföra FPGA-utgångsvärden direkt med mjukvarumodellen och sanna positionsvärden.

Place, publisher, year, edition, pages
2026. , p. 41
Keywords [en]
CSI-positioning, FPGA, CNN, FINN, Brevitas, QONNX, Zybo Z7-20
Keywords [sv]
CSI-positionering, FPGA, CNN, FINN, Brevitas, QONNX, Zybo Z7-20
National Category
Artificial Intelligence
Identifiers
URN: urn:nbn:se:hh:diva-60308OAI: oai:DiVA.org:hh-60308DiVA, id: diva2:2099931
Educational program
Mechatronic Engineer, 180 credits
Supervisors
Examiners
Available from: 2026-10-06 Created: 2026-09-09 Last updated: 2026-10-06Bibliographically approved

Open Access in DiVA

fulltext(2752 kB)52 downloads
File information
File name FULLTEXT02.pdfFile size 2752 kBChecksum SHA-512
80001fde69c067e335304b3e1db89dae5e5d00ff0ad7178f0a5ef5c1cf0c73230f86ccf7f88c800e302589ef2f75ba1c9937cb88f532d436233a728ef24ecf45
Type fulltextMimetype application/pdf

By organisation
School of Information Technology
Artificial Intelligence

Search outside of DiVA

GoogleGoogle Scholar
Total: 52 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

urn-nbn

Altmetric score

urn-nbn
Total: 3606 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