Skip to main content
. 2020 Jun 19;20(12):3465. doi: 10.3390/s20123465
Algorithm 1: The proposed EEACC pseudo-code
1: Initialization: BLERtarget=10%, Cstepup=0.2,
Cstepdown=Cstepup1BLERtargetBLERtarget, Δ C=0,
ΔCmax=+5,ΔCmin=5, MCS level L and its bounds Lmax,
Lmin, repetition number N and its bounds Nmax,Nmin.
We empirically initialize the MCS level and repetition
number based on the channel condition.
2: if period T expired out then
3:       if BLER<7% then
4:         N=N/2
5:       else if 7%<BLER>13% then
6:         N=N+1
7:       else if BLER>13% then
8:         N=2N
9:       end if
10: end if
11: if L>Lmin&L<Lmax then
12:      if HARQ feedback=ACK then
13.        ΔC=minΔC+Cstepup,ΔCmax
14.      else if HARQ feedback-NACK then
15.        ΔC=maxΔCCstepdown,ΔCmin
16.      end if
17.      if ΔC=ΔCmax then
18.        L=L+1
19.      if ΔC=ΔCmin then
20.        L=L1
21.      end if
22. else if L=Lmin then
23.      if HARQ feedback=ACK then
24.        if N=Nmin then
25.           ΔC=minΔC+Cstepup,ΔCmax
26.           if ΔC=ΔCmax then
27.              L=L+1
28.           end if
29.        if N>Nmin then
30.           N=N/2
31.        end if
32.        else if HARQ feedback=NACK then
33.           if N=Nmax then
34.              the current channel condition is very bad
35.           else if N<Nmax then
36.              N=2N
37.           end if
38.        end if
39. else if L=Lmax
40.      if HARQ feedback=ACK then
41.          if N=Nmin then
42.             the current channel condition is very good.
43.          else if N>Nmin then
44.             N=N/2
45.          end if
46.      else if HARQ feedback=NACK then
47.             ΔC=maxΔCCstepdown,ΔCmin
48.             if ΔC=ΔCmin then
49.               L=L1
50.             end if
51.      end if
52. end if