GithubHelp home page GithubHelp logo

aravinthpanch / wifi-ble-link-quality-benchmark Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 8.32 MB

This experiment is to evaluate various WiFi/BLE chipset with various types of antennas to benchmark the link quality.

Home Page: https://projects.aravinth.info/wifi

License: Apache License 2.0

Shell 77.13% Python 22.87%
snr rssi wifi bluetooth-low-energy

wifi-ble-link-quality-benchmark's Introduction

WiFi and BLE Link Quality Benchmarking

Author

Aravinth Panchadcharam

Test Platforms

MacBook Pro (Mid 2014)

  • OS: MacOS 10.12.3
  • NIC: AirPort Extreme
  • Driver: bcm43xx
  • OS: Ubuntu 16.04.1 LTS (Ubuntu Core with Qt Embedded by Friendly ARM)
  • Kernel: 3.4.39-h3
  • NIC: Ampak AP6212
  • Driver: bcm43438
  • Board Bringup
  • OS: OpenWrt
  • Kernel:
  • NIC:
  • Driver:
  • OS: Armbian Ubuntu Jessie
  • Kernel: 3.4.113-sun8i
  • NIC: Allwinner XR819
  • Driver: xradio
  • NIC: Realtek
  • Bluetooth Driver: rtl8723b

Antenna Mapping

  • 1 => PCB Pulse Antenna PWB 3.9 Inch - W3525B039 - Datasheet
  • 2 => 2.4GHz Dipole Swvl Antenna 205 mm - 0600-00057 - Datasheet
  • 3 => PCB Pulse Antenna PWB 10 Inch - W3525B100 - Datasheet
  • 4 => Taoglas Ceramic Patch Antenna - WPC.25A.07.0150C - Datasheet
  • 5 => 2.4GHz Aristotle Antenna 150 mm RFA02-L2H1 - TRF1001 - Datasheet
  • 6 => PCB Flex Ground Coupled Antenna - FXP72.07.0053A - Datasheet
  • 7 => 2.4GHz Dipole Swvl Antenna 104 mm - 0600-00057 - Datasheet

TestBench

Testbench is created by linearly distributing spatial points where measurements are carried out as shown in the graph below. Wireless router of 2.4 GHz is placed at reference location and marked as 0th meter. There is a huge architectural beam between 7th and 8th meter. System Under Test (SUT) is moved manually with power plugged in and connected to a host computer via Serial Port. For the Bluetooth Low Energy measurements, BLE Peripheral is places at the reference location next to the router.

Benchmark Results

NanoPi Neo Air

WiFi Link Quality Benchmark on NanoPi Neo Air with Ampak AP6212 WiFi/BLE Combo Module (BCM43438). Measurements were carried out at marked measurement points with different antennas. Measurement consists of scanning RSSI and Link Quality metrics from "/proc/net/wireless" in Linux.

2.4GHz Dipole Swvl Antenna 205 mm Vs PCB Pulse Antenna PWB 10 Inch

PCB Pulse Antenna PWB 3.9 Inch Vs PCB Pulse Antenna PWB 10 Inch

PCB Pulse Antenna PWB 3.9 Inch Vs PCB Flex Ground Coupled Antenna

WiFi USB Dongle

Packet loss of WiFi USB dongles with chipset of MediaTek MT7601U, Realtek RTL8188EU and Ralink RT5370 were measured by pinging (ICMP Message) to a host in internet with 64 Bytes and 1024 Bytes packets 30 times. MediaTek MT7601U performed very well by having 6% packet loss only at 12th meter as shown in the graph below.

Average ping time with different dongles are shown below. 30 counts of ICMP messages with packet size of 64 Bytes and 1024 Bytes respectively are pinged. MediaTek MT7601U had consistently the same ping time as shown in the graph below.

Bluetooth USB Dongle

Graph below shows Received Signal Strength (RSSI) of BLE Peripheral measured by BLE Master which is a USB Bluetooth Dongle with CSR 8510 Chipset. BLE Peripheral is places at the reference location at 0th meter.

BLE master (CSR 8510) connects to BLE Peripheral at reference location and subscribes for a HeartBeat service to receive 100 packets with size of 1 Byte. Measurement was carried out at different measurement points to test how many packets are successfully received by the BLE master as shown in the graph below. Locations where it received zero number of packets are the locations where BLE master was not able to initiate the connection to the peripheral and needed to scan once again before connection. BLE peripheral stops sending packets after 100th packet is sent. CSR 8510 was able to capture all the packets at any distance within 10 meters.

However another test was carried out where peripheral continuously sent packets to a master that has initiated the connection at 0th meter and master was able to keep the connection more than 25 meters with 40% packet loss.

Coexistence of WiFi and Bluetooth USB dongles in close proximity

WiFi dongle (MediaTek MT7601U) and BLE dongle (CSR 8510) were attached to USB ports of the host system which are located close to each other. Test was carried out to examine whether both antennas of USB dongles interfere with each other while both interfaces are actively sending/receiving. Coexistence of WiFi & BLE USB dongles didn’t interfere at all. They had zero packet-loss and good RSSI as shown in the graph.

wifi-ble-link-quality-benchmark's People

Contributors

aravinthpanch avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.