iBeacon hardware Key Performance Indicators and how to choose right iBeacon

iBeacon is becoming more and more popular. There are tons of Beacon providers and 100+ iBeacon hardware in the market. To select right iBeacon hardware is important for iBeacon project. This article gives details on iBeacon hardware’s Key Performance Indicators (KPI) and some proposal for how to select right Beacons for enterprise scenarios.

What’s iBeacon Device?

One iBeacon hardware consists 4 parts: Chipset, Circuit board & antenna, power supply, housing.

Chipset: The chipset is the soul of iBeacon. It is the major factor of iBeacon hardware’s performance. There are 2 main chipsets in the market: Ti 2540 and Nordic nRF51822.

Circuit Board & antenna: The most challenge iBeacon hardware design part is the antenna design on the board. And the antenna design is key part which affect the Beacon’s performance. Actually, one hardware engineer could design a circuit board in a few days. But it needs experience expert to design the antenna on the board for a few weeks or more. In addition to that, expensive test device and test lab environment are needed to adjust the antenna to highest performance. To evaluate an iBeacon provider’s hardware design ability, the antenna might be most important part.

Power supply: In general, iBeacon’s power supply includes battery and USB. If use battery, when the battery power is used up, battery or whole iBeacon replacement is needed. In general, such replacement cost is higher than iBeacon itself. So iBeacon’s full life cost might be mainly depends on the power supply.

Housing: There are so many iBeacon housing, high end/low end; beautiful/ugly; water-proof or not; battery replaceable or not; high cost or low cost. Based on the 4 parts, there are different Key Performance Indicators.

Battery life

If the Beacon is powered with USB, there is no battery life problem. But that means the Beacon’s deployment cost is very high (needs computer or AC beside the Beacon). So that most of Beacons are powered with different batteries.

The main factories which affect iBeacon battery life includes configuration, (broadcast interval, transmit power), chipset type, battery type.

Configuration (Broadcast interval, transmit power): iBeacon’s major work is broadcast signal with special interval and transmit power. The power consumption majorly happens when the iBeacon doing broadcast, i.e. the power consumption between broadcast is ignorable. With same battery and configuration, one Beacon’s broadcast count of whole life will be invariable. It could be calculated as below.

Broadcast Count = Battery electric quantity / Power consumption per Broadcast.

With that the battery life is as below.

Battery life = Broadcast count x Broadcast interval.

Broadcast interval: It will affect the battery life directly. If a Beacon’s battery life is 100 days when the interval is 1000ms, it will only run 10 days when the interval is 100ms. Should we change the interval very high? No, it will decrease the Beacon’s performance very much. >1000ms interval will make the Beacon almost useless for most scenarios. For example, with >1000ms interval, Smart Phone might not detect the Beacon sometime.

Power consumption per Broadcast: Beside chipset, transmit power will be affect Power consumption per Broadcast. Transmit power controls the Beacon’s signal range. It is measured with dbm. Higher dbm value means larger signal range but will consume more power.

Chipset: Both broadcast interval and transmit power are configurable by customer. What make difference between Beacon providers for battery life? One is Chipset. With same configuration, Nordic nRF51822 consume less power than Ti 2540. It might be because Nordic nRF51822 release later than Ti 2540 so that there is more optimization for that.

In Summary, when Beacons are using same Chipset and battery, their battery life performance is identical.

Battery: Beacons batteries includes CR2032 (250mah), CR2450 (550mah), CR2477 (1000mah), AA (1500 ~ 3000 mah with 2 AA batteries) etc. Different battery has different electric quantity which is measure by mah. Larger battery normally has higher electric quantity. Based on same Beacon chipset, if it run with CR2450 (550mah), its battery half is about half of the one with CR2477 (1000 mah).

Power saving model: Some Beacons provides power saving model in their firmware. They are not magic. It will just adjust broadcast interval and transmit power with “Smart” way. E.g. increase broadcast interval at night (7pm ~ 7 am). It could only work for special user scenario. Don’t rely on that too much.

In summary: The battery life is affected by chipset, broadcast interval, transmit power and battery type. Some beacon provider claim that their Beacon could run 5 years with small battery life CR2032 or CR2450. That means the Beacon are running with configuration which almost be useless in production scenario. In fact, in that situation, 5 Years is the Battery store life instead of Beacon hardware.

Signal Performance

There are 2 factors for the signal performance: signal strength and strength consistence. When Beacon is broadcasting signal with same transmit power, the Smart Phone could listen on that. The signal strength will decrease when the distance between Smart Phone and Beacon increase. When the distance between Beacon and Smart Phone doesn’t change, the signal strength detected by Smart Phone will still change because of the environment change and hardware.

In general, iBeacon will be used for notification pushing or indoor navigation scenario. Higher signal strength will make Smart Phone detect Beacon more effective so that it is good for notification pushing; stable signal strength will lead to stable distance estimation, which is important for indoor navigation.

For the hardware, there are 2 factors which affect the signal performance: chipset and antenna. In general, Nordic nRF51822 is better than Ti’s. And well design and well tuning antenna is better than normal antenna.

The Nordic nRF51822 maximum transmit power is 4dbm, with which the signal range could reach 50m ~ 100m (vary with environment and antenna design). The minimal transmit power is -32 dbm with which the signal is about 2 meters with normal antenna design. With lower transmit power, the signal is more stable in its range.

There is one interesting story for the antenna design. I heard one iBeacon provider’s iBeacon minimal signal range is about 30 cm with lowest transmit power. It is interesting so I bought a few units to study. Eventually it turns out that it is because the Beacon antenna design is so bad that it lead to so short range. With this kind of bad antenna, the transmit power must be set to higher than other good design antenna to achieve same signal range. It will scarify the battery life and signal stableness.

There are easy way to compare signal performance (for Nordic nRF51822 Beacons) by Nordic company's nRF Master Controller, which could be installed from Android play store. The steps to compare 3 Beacons is as below.

  1. Install nRF Master Controller from Play Store for Android Smart Phone
  2. Set the 3 Beacons with same broadcast interval and transmit power value
  3. Put the 3 Beacons side by side.
  4. Put the Smart Phone 1 or more meters away from the 3 Beacons and check the signal of 3 Beacons.

Below is the test result to compare 3 Beacons. The 3 beacons are sending broadcast package with 0dbm and 416ms interval. The Smart Phone is SUMSUNG S4. The distance is 1 meter. And the test result as below.

rssi-chart

From the result, we can get conclusion.

  1. Beacon #1’s signal is stronger
  2. Beacon #1’s signal is more stable

Security for Configuration modification

There are different parameters for Beacons such as broadcast interval, transmit power, UUID, Major ID, Minor ID. The parameter shall be configurable. The configuration modification could be done with Smart Phone APP through Bluetooth wireless channel. How to protect the iBeacon from unauthorized access is important. In general, there are 3 ways to avoid unauthorized access: hardware based password, software based password, and Cloud based Authentication.

Hardware based password: There are 8 ~ 10 mini-switches on the Beacon board. Each switch could be on or off to represent 1 or 0. The “password” is the combination of the switches state. With 8 switches design, there are 2 ^ 8 = 256 combination. The Beacon’s configuration could be modified only when the switches state match the pre-configured value. When need to change the configuration, the process will be as below.

  1. Open the Beacon with screwdriver
  2. Switch on/off the mini-switches to special value
  3. Modify configurations
  4. Set switches to random value and close Beacons with screwdriver.

The process is long and time consuming. If need to deploy thousands of Beacons, how large is the workload? Moreover, 10 mini-switch could has only 1024 combination. It is a few days’ work to find the “password” for a hacker. And how could the “password” be changed? The beacon has to be shipped back to Beacon provider to reprogram firmware.

Software based password: This is just like change computer’s password. When customer gets a new beacon, he could configure its own password. Whenever any configuration needs change, the right password are needed.

Cloud based Authentication: Some Beacon providers provide Provider’s Cloud based Authentication. That means the key to access the iBeacon is stored in Beacon provider’s Clould. Whenever the Beacon owner needs to change the Beacon configuration, he has to request “key” from Beacon provider through the provider’s APP or SDK. It might be easy for “maintenance” and “management” from provider. But it leads to 2 security issues.

Privacy: Normally, whenever the Beacon’s configuration is changed, the configured value is uploaded to the provider’s Cloud. No matter owner like it or not, it is “must”.

Ownership: When someone buy a Beacon, he should be the owner of the Beacon. With this model, the real owner has to request “key” from provider for any change and report changes to the provider. Moreover, what will happen if the provider cloud service is out of service or the provider is bankrupt? The real owner will lose all the control of the Beacon. So who is the owner of the iBeacon, the one purchase the iBeacon or the iBeacon provider?

Choose Beacons for enterprise scenario

Let’s clarify one simple enterprise scenario. In this scenario, there are large volume such as hundreds or thousands Beacons needs deployment and maintenance. Following factors need consideration.

  1. Battery type: If battery powered iBeacon is must and there is no Beacon size limitation, the Beacon with larger battery is better. Large battery will be helpful for saving maintenance cost. For example, A beacon with CR2032 might run out of power in a few weeks and battery has to be changed at that time; A beacon with AA battery’s replace cycle will the 10 times of CR2032 Beacon which will save 10 times of maintenance cost. Normally, iBeacon maintenance cost is high than iBeacon price.
  2. Chipset: Nordic nRF51822’s power consumption is less than Ti 2540. With same battery, Nordic nRF51822 Beacons will run longer than Ti 2540 Beacons. It will decrease maintenance cost. Moreover, Nordic nRF51822’s signal is better than Ti 2540 Beacons.
  3. Antenna design: Better antenna means better performance and and in turn leads to longer battery life.
  4. Price: Higher iBeacon deployment density will lead to better position precision performance. When the iBeacon purchase budget is invariable, cheaper iBeacon means higher iBeacon deployment density and better performance.
  5. Security: If you want to grasp the key to access your Beacon by yourself, the software based password is best choice for you.