IEEE Consumer Electronics Magazine - July 2018 - 60

To evaluate the performance of the
modulation scheme for Li-Fi communication in an indoor environment, the transmission is carried
out by five transceivers, each of
which consists of 600 RGB LEDs.
the C i (t) capture time of each controller with the t avg average
block-generation time and maintains the list of controllers
(ControllerList []), including the respective standard deviation
(ControllerSD []) whose capture time is less than or equal to
the average block-generation time. If the array of controllers
(ControllerList []) is not empty, then we choose the controller
using the best fitness () function. If the array of controllers
(ControllerList []) is empty, then we select the best possible
list of controllers using the firefly selector algorithm and
return one chosen controller using the best fitness () function,
which returns one controller with min C i (t) and smaller standard deviation {.
At runtime, the block-generation time by the chosen controller sometimes exceeds the calculated threshold time
t avg + {. To address this issue, we propose the ECHA online
algorithm, which considers the other controllers from the distributed network and returns the best possible chosen controller
to resend the request. Algorithm 2 represents the ECHA online
algorithm for efficiently choosing the controller to resend the
request at runtime. In the ECHA online algorithm, g (t) represents the current block generation time of response by the chosen controller, GlobalControllerList [] represents the list of all

Algorithm 1: ECHA offline.
C (t), t avg, {, CC = NULL, indexY = 0, indexN = 0,
ContrlollerList[],ControllerSD[],ControllerListN[],
ControllerSDN[]
Output: Chosen controller C i to send request
Begin
For each controller C i, i = 1 to N do
If C i # t avg then
ControllerList 6indexY @ ! C i
ControllerSD 6indexY + +@ ! { i
Else
ControllerListN6indexN@ ! C i
ControllerSDN 6indexN + +@ ! { i
If ControllerList [] is not NULL then
CC ! BestFitness (ControllerList [])
Return CC
Else
CC ! BestFitness (FireFlySelector
^ControllerListN 6@ , ControllerSDN 6@h)
Return CC
End

^

Input: g (t), GlobalControllerList[],RestControllerList[]
Output: Chosen controller C i to send request
Begin
RestControllerList[] ! GlobalControllerList[] LocalControllerList[]
If g (t) $ t avg then
RestControllerSD [] ! Calculate {
CC ! BestFitness (FireFlySelector
(RestControllerList [], RestControllerSD []))
Return CC
End

of the controllers in the distributed blockchain network, and
RestControllerList [] represents all of the controllers, excluding those considered in the ECHA offline algorithm (i.e.,
LocalControllerList []). Using the firefly selector algorithm,
we choose the list of the best possible controllers and apply the
best fitness () function to draw one chosen controller.
Algorithm 3 represents the firefly selector algorithm,
which takes the list of controllers as input and re turns
t h e list of the best possible chosen controllers (i.e.,
ListofBrightestFireFly []). In the firefly selector algorithm, each
firefly represents one controller. Initially, we choose the random
generation of firefly from the input list of controllers and calculate the brightness of each firefly using the objective function
(i.e., FindBrightness ()). Here, the objective function represents
the sum of capture time C i (t) and standard deviation { of each
controller. Then, using the best fitness () function, we choose the
best firefly (Fbest). We initialize the parameters popsize and

Algorithm 3: Firefly Selector.

Input:

60 IEEE Consumer Electronics Magazine

Algorithm 2: ECHA online.

july 2018

Input: ControllerList [], ControllerSD []
Output: ListofBrightestFireFly []
Begin
For i = 1 to popsize do
Random generation of firefly from ControllerList []
RL ! FindBrightness (ControllerList[],
ControllerSD[])
Fbest ! BestFitness (RL [])
While i = 1 to numofGen do
For i = 1 to popsize do
If Fbest 2 FindAttractiveness (RL [i]) then
Move firefly i towards Fbest in D-dimension
Else
Move firefly i randomly in D-dimension
Sort all of the fireflies based on their brightness
Select top N fireflies
Return (Top N fireflies)
End



Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - July 2018

Contents
IEEE Consumer Electronics Magazine - July 2018 - Cover1
IEEE Consumer Electronics Magazine - July 2018 - Cover2
IEEE Consumer Electronics Magazine - July 2018 - Contents
IEEE Consumer Electronics Magazine - July 2018 - 2
IEEE Consumer Electronics Magazine - July 2018 - 3
IEEE Consumer Electronics Magazine - July 2018 - 4
IEEE Consumer Electronics Magazine - July 2018 - 5
IEEE Consumer Electronics Magazine - July 2018 - 6
IEEE Consumer Electronics Magazine - July 2018 - 7
IEEE Consumer Electronics Magazine - July 2018 - 8
IEEE Consumer Electronics Magazine - July 2018 - 9
IEEE Consumer Electronics Magazine - July 2018 - 10
IEEE Consumer Electronics Magazine - July 2018 - 11
IEEE Consumer Electronics Magazine - July 2018 - 12
IEEE Consumer Electronics Magazine - July 2018 - 13
IEEE Consumer Electronics Magazine - July 2018 - 14
IEEE Consumer Electronics Magazine - July 2018 - 15
IEEE Consumer Electronics Magazine - July 2018 - 16
IEEE Consumer Electronics Magazine - July 2018 - 17
IEEE Consumer Electronics Magazine - July 2018 - 18
IEEE Consumer Electronics Magazine - July 2018 - 19
IEEE Consumer Electronics Magazine - July 2018 - 20
IEEE Consumer Electronics Magazine - July 2018 - 21
IEEE Consumer Electronics Magazine - July 2018 - 22
IEEE Consumer Electronics Magazine - July 2018 - 23
IEEE Consumer Electronics Magazine - July 2018 - 24
IEEE Consumer Electronics Magazine - July 2018 - 25
IEEE Consumer Electronics Magazine - July 2018 - 26
IEEE Consumer Electronics Magazine - July 2018 - 27
IEEE Consumer Electronics Magazine - July 2018 - 28
IEEE Consumer Electronics Magazine - July 2018 - 29
IEEE Consumer Electronics Magazine - July 2018 - 30
IEEE Consumer Electronics Magazine - July 2018 - 31
IEEE Consumer Electronics Magazine - July 2018 - 32
IEEE Consumer Electronics Magazine - July 2018 - 33
IEEE Consumer Electronics Magazine - July 2018 - 34
IEEE Consumer Electronics Magazine - July 2018 - 35
IEEE Consumer Electronics Magazine - July 2018 - 36
IEEE Consumer Electronics Magazine - July 2018 - 37
IEEE Consumer Electronics Magazine - July 2018 - 38
IEEE Consumer Electronics Magazine - July 2018 - 39
IEEE Consumer Electronics Magazine - July 2018 - 40
IEEE Consumer Electronics Magazine - July 2018 - 41
IEEE Consumer Electronics Magazine - July 2018 - 42
IEEE Consumer Electronics Magazine - July 2018 - 43
IEEE Consumer Electronics Magazine - July 2018 - 44
IEEE Consumer Electronics Magazine - July 2018 - 45
IEEE Consumer Electronics Magazine - July 2018 - 46
IEEE Consumer Electronics Magazine - July 2018 - 47
IEEE Consumer Electronics Magazine - July 2018 - 48
IEEE Consumer Electronics Magazine - July 2018 - 49
IEEE Consumer Electronics Magazine - July 2018 - 50
IEEE Consumer Electronics Magazine - July 2018 - 51
IEEE Consumer Electronics Magazine - July 2018 - 52
IEEE Consumer Electronics Magazine - July 2018 - 53
IEEE Consumer Electronics Magazine - July 2018 - 54
IEEE Consumer Electronics Magazine - July 2018 - 55
IEEE Consumer Electronics Magazine - July 2018 - 56
IEEE Consumer Electronics Magazine - July 2018 - 57
IEEE Consumer Electronics Magazine - July 2018 - 58
IEEE Consumer Electronics Magazine - July 2018 - 59
IEEE Consumer Electronics Magazine - July 2018 - 60
IEEE Consumer Electronics Magazine - July 2018 - 61
IEEE Consumer Electronics Magazine - July 2018 - 62
IEEE Consumer Electronics Magazine - July 2018 - 63
IEEE Consumer Electronics Magazine - July 2018 - 64
IEEE Consumer Electronics Magazine - July 2018 - 65
IEEE Consumer Electronics Magazine - July 2018 - 66
IEEE Consumer Electronics Magazine - July 2018 - 67
IEEE Consumer Electronics Magazine - July 2018 - 68
IEEE Consumer Electronics Magazine - July 2018 - 69
IEEE Consumer Electronics Magazine - July 2018 - 70
IEEE Consumer Electronics Magazine - July 2018 - 71
IEEE Consumer Electronics Magazine - July 2018 - 72
IEEE Consumer Electronics Magazine - July 2018 - 73
IEEE Consumer Electronics Magazine - July 2018 - 74
IEEE Consumer Electronics Magazine - July 2018 - 75
IEEE Consumer Electronics Magazine - July 2018 - 76
IEEE Consumer Electronics Magazine - July 2018 - 77
IEEE Consumer Electronics Magazine - July 2018 - 78
IEEE Consumer Electronics Magazine - July 2018 - 79
IEEE Consumer Electronics Magazine - July 2018 - 80
IEEE Consumer Electronics Magazine - July 2018 - 81
IEEE Consumer Electronics Magazine - July 2018 - 82
IEEE Consumer Electronics Magazine - July 2018 - 83
IEEE Consumer Electronics Magazine - July 2018 - 84
IEEE Consumer Electronics Magazine - July 2018 - 85
IEEE Consumer Electronics Magazine - July 2018 - 86
IEEE Consumer Electronics Magazine - July 2018 - 87
IEEE Consumer Electronics Magazine - July 2018 - 88
IEEE Consumer Electronics Magazine - July 2018 - 89
IEEE Consumer Electronics Magazine - July 2018 - 90
IEEE Consumer Electronics Magazine - July 2018 - 91
IEEE Consumer Electronics Magazine - July 2018 - 92
IEEE Consumer Electronics Magazine - July 2018 - 93
IEEE Consumer Electronics Magazine - July 2018 - 94
IEEE Consumer Electronics Magazine - July 2018 - 95
IEEE Consumer Electronics Magazine - July 2018 - 96
IEEE Consumer Electronics Magazine - July 2018 - Cover3
IEEE Consumer Electronics Magazine - July 2018 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com