Ultra-Low Power and Dependability For Iot Devices
Ultra-Low Power and Dependability For Iot Devices
Clouds
be connected to the Internet, enabling the emerging paradigm
of Internet-of-things (IoT). IoT covers an ever-increasing range
of applications, e.g., health-care monitoring, smart homes and
buildings, etc. In this invited paper, we discuss and summarize
Pre
ilit
cloudlets
Fogs &
the IoT paradigm with a special focus on energy consumption
.)
ab
mp
dict antity
ap
. + ncy
and methodologies for its minimization. Furthermore, we also
co
.C
abil
Qu
mm ate
discuss about reliability in the context of IoT devices. In all, this
oc
ity
L
Pr
gateways
paper attempts to be a starting point for readers interested in
(co
developing energy-efficient IoT devices.
>ŽǁƉŽǁĞƌǁŝƌĞůĞƐƐĐŽŶŶĞĐƚŝŽŶƐ;Ğ͘Ő͘ůƵĞƚŽŽƚŚ>ŽǁŶĞƌŐLJ͕>WtE͕ŝŐĞĞ͕,Ă>ŽǁͿ
978-3-9815370-8-6/17/$31.00 2017
c IEEE 954
Data acquisition Data processing and control Data storage Data transmission and communication
Power [W]
Fig. 2: Abstract example of the operation of an IoT device with respect to time, including the different stages of operation, their
normal sequence, and some possible power consumption values. In this example, the sensor data is updated with a period of 1 s.
IoT device mainly includes the following four stages: IoT. In addition, leakage power can be further reduced
• Data acquisition (sensing the physical phenomena). by choosing the process technology with high threshold
• Data processing and control. voltage.
• Data storage. • Software design: The IoT application, control functions,
• Data transmission and communication. and communication tasks need to be optimized for fast
execution time in order to reduce the time spent in active
Ultra-low power and energy-efficient design have to be consid- mode. One approach is to run the software at the highest
ered in all these stages, requiring low power and compressed- frequency (at the given operating voltage). Scheduling of
sensing, low-power microcontrollers, emerging technologies different tasks (main application, communication, etc.)
for low power memories, and novel low-power wireless tech- must aim at further reducing the duty cycle (i.e., the
nologies [1]. For example, Figure 2 depicts an abstract example active mode). Further details about this are discussed in
of the operation of an IoT device with respect to time, includ- Section III.
ing these four stages, their normal sequence, and some possible
power consumption values. In Figure 2, we can observe that III. E NERGY E FFICIENCY T HROUGH DYNAMIC VOLTAGE
the data to transmit can be stored in memory for a few periods, AND F REQUENCY S CALING (DVFS) FOR I OT
and only then transmitted. Naturally, we could have the case
that data is immediately transmitted after processing it. The In regards to the voltage and frequency settings, cores can
decision whether to use one approach or other will depend be provided with Dynamic Voltage and Frequency Scaling
on the memory size and energy consumption for buffering (DVFS) capabilities. For a core to stably support a specific
the data, and its relationship with the energy consumption for frequency, its supply voltage has to be adjusted above a
waking-up the wireless transmitter and putting it back to sleep minimum value. This minimum voltage value is frequency
(which has non-negligible overheads). dependent, and higher frequencies require higher minimum
voltages. Correspondingly, for a given voltage setting, a core
Besides energy-efficient hardware, software optimization should be executed below a maximum frequency. Specifically,
for low power consumption also has a great potential. In fact, as shown in [14], the relationship between the supply voltage
studies showed and concluded that large energy savings can be of a core and the maximum frequency for stable execution can
achieved when the energy efficiency is addressed in software be modeled as shown in Eq. (1),
design [12, 13]. 2
(Vdd − Vth )
The input data rate in IoT applications is usually relatively fstable = k · (1)
Vdd
low. For instance in the health-care monitoring domain, the
sampling rate of bio-signals is only a few kilohertz or even less. where Vdd is the supply voltage, fstable is the maximum stable
In other application domains, such as smart homes or smart frequency for this Vdd value, Vth is the threshold voltage for
buildings, the input data rate might be much less (i.e., a few the given technology, and k is an architecture-dependent fitting
hundred hertz). Therefore, in order to preserve energy, most factor. For a given Vdd , running at frequencies lower than fstable
IoT devices operate on a very low duty cycle, i.e., remain in is stable, but energy inefficient. For example, Figure 3 uses
sleep mode for most of the time (as already shown in Figure 2). Eq. (1) to model the stable voltage and frequency relationship
The low duty-cycle in IoT devices calls for the following two of a 28 nm x86-64 processor developed in [15].
approaches, one in hardware design and the other in software
As detailed in [16], the power consumption of a CMOS
design:
core can be modeled as shown in Eq. (2),
• Hardware design: Given that the IoT device spends most
of its time in the sleep mode, its power consumption in the P (Vdd , f , T , t) = u (t) · Ceff · Vdd 2 · f + Vdd · Ileak (Vdd , T ) + Pind
sleep mode needs to be reduced significantly. Emerging (2)
technologies with low leakage power, including e.g. non- where u (t) represents the instantaneous activity factor of
volatile processors, Ferroelectric Random Access Mem- the core at time t, Ceff represents the effective switching
ory (FRAM), and Fully-Depleted Silicon-On-Insulator capacitance of the core, Vdd represents the supply voltage, f
(FD-SOI), are promising solutions for VLSI design in represents the execution frequency of the core, Ileak represents
Energy [J]
2 Vdd for fstable = f
5
1
0
0.5 1.0 1.5
Voltage [V] 0
0 1 2 3 4
Fig. 3: Supply voltage vs. maximum stable frequency modeled Frequency [GHz]
according to Eq. (1) for the experimental results of the 28 nm
x86-64 processor developed in [15]. Fig. 4: Energy consumption examples for a core executing
Δc = 109 compute cycles according to the energy model
from Eq. (4), considering that u (Δt) · Ceff = 2.3 V2 ·GHz
W
, that
we approximate Ileak (Vdd , T ) = 0.6 A, and Pind = 0.4 W. The
the leakage current (which depends on the supply voltage values for the model from Eq. (4) are for a 22 nm out-of-
and the temperature of the core T , such that high temper- order Alpha 21264 core, based on simulations conducted with
atures cause high leakage currents), and Pind represents an gem5 [17] and McPAT [18] for an x264 application from the
independent power consumption which can be attributed to PARSEC benchmark suite [19] running a single thread.
maintaining the core in execution mode (i.e., a constant offset
which corresponds to the voltage and frequency independent
part of the power consumption). In Eq. (2), u (t) · Ceff · Vdd 2 · f
represents the dynamic power consumption on the core (mainly the supply voltage precisely to the minimum value for stable
generated by switching activities), while Vdd · Ileak (Vdd , T ) execution. The reason for doing this is that, given that when we
represents the leakage power consumption (mainly generated reduce the frequency we can also reduce the voltage, then the
by leakage currents). In other words, there is a convex and savings in dynamic energy consumption are more significant
increasing relationship between the supply voltage of a core than the increments of the leakage and independent energy
and its power consumption, and a linear relationship between (due to the prolonged execution time). Nonetheless, there is
the execution frequency of the core and its power consumption. a point below which further reductions to the frequency is
Furthermore, the average power consumed during time window no longer energy efficient, and this occurs when the savings
Δt, can be expressed as shown in Eq. (3), in dynamic energy consumption (due to voltage reduction)
become less significant than the increments of the leakage and
P (Vdd , f , T , Δt) = u (Δt)·Ceff ·Vdd 2 ·f +Vdd ·Ileak (Vdd , T )+Pind independent energy. Contrarily, the second conclusion is that,
(3) on IoT platforms where voltage scaling is not possible (the
where u (Δt) represents the average activity factor of the core most common case), then the energy-efficient option is to race-
during time window Δt. to-idle, which implies executing cores as fast as possible in
With regards to energy consumption, if during time window order to reduce the execution time and also reduce the energy
Δt a core executes Δc compute cycles running at frequency consumption. The justification now is that, when the voltage is
f , then the energy consumed during this time window can be fixed, according to Eq. (4), the dynamic energy consumption
computed as P (Vdd , f , T , Δt)· Δc remains constant while the leakage and independent energy
f , which according to Eq. (3) consumption is reduced by decreasing the execution time.
is expressed as shown in Eq. (4).
Naturally, in either case, the selected frequency should be high
E (Vdd , f , T , Δt) = enough that the performance requirements of the applications
Δc (4) are always satisfied.
u (Δt) · Ceff · Vdd 2 · Δc + [Vdd · Ileak (Vdd , T ) + Pind ]
f
IV. A PPROXIMATE C OMPUTING ON I OT D EVICES
According to Eq. (4), Figure 4 presents energy consump-
tion examples for executing Δc = 109 compute cycles, The emerging paradigm of approximate computing lever-
considering three different voltage configurations. In the first ages inherent resilience of some applications and relaxes the
and second case, the value of Vdd is kept constant at 1.14 V and requirement of exact equivalence between the specification and
0.86 V, respectively, which according to Eq. (1) and Figure 3, implementation in order to gain more efficiency. Most of IoT
is the minimum value required to execute at 3 GHz and 2 GHz applications are interacting with the physical world with noisy
for this type of core, respectively. In the third case, according input data [1]. Therefore, they are inherently dealing with
to Eq. (1) and Figure 3, the value of Vdd is always set to the approximation. For instance, the first level of approximation
minimum value required to execute at the frequency of interest happens in the ADC which introduces a quantization error.
(i.e., the frequency in the x-axis of Figure 4). Moreover, the ADC uses a voltage-reference in its conver-
sion process. In the battery-powered IoT devices, the voltage
There are two very important conclusions that can be reference may change as the battery voltage changes, which
inferred from Eq. (4) and Figure 4. The first conclusions is leads to an inaccurate input from the ADC. Although these
that, on IoT platforms where voltage scaling is possible (not a applications tolerate some errors, the final output or Quality-
common case), then the energy-efficient option is to reduce of-Service (QoS) should be in a certain range (defined by the
the execution frequency as much as possible while setting user or system designer).
ΔVth [mV]
SNM [V]
40
Qcrit [fC]
0.3 8
30
0.2 6
4 20
0.1 2 10
0 0 0
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2
Supply Voltage [V] Supply Voltage [V] Supply Voltage [V]
Fig. 5: Impact of Vdd on the resiliency of Fig. 6: Impact of Vdd on the resiliency Fig. 7: Impact of Vdd on the resiliency of
SRAMs against noise. Note that smaller of SRAMs against radiation. Note that SRAMs against aging. Note that smaller
Vdd results in smaller SNM and hence less smaller Vdd results in smaller Qcrit and Vdd results in smaller ΔVth and hence
reliability. hence less reliability. better reliability.
corrupt the stored value if the resulting charge is higher than overall energy consumption of the IoT device while satisfying
the critical charge (Qcrit ) of the SRAM. Similar to the SNM the Quality-of-Service (QoS) or performance constraints. In
that represents the SRAM resiliency against intrinsic noise, this paper, we have summarized the generalities about energy
Qcrit represents the SRAM’s resiliency against extrinsic noise minimization for IoT devices, and we have discussed several
(i.e., particles-induced charges). In Figure 6, we show how techniques that can be employed for such a purpose. Moreover,
voltage reduction also considerably reduces the resiliency of we have also discussed several reliability issues which should
SRAMs against radiation. As it can be noticed, lowering the nonetheless not be ignored. In all, this paper is a good starting
voltage, e.g., from 1.2 V to 0.9 V and 0.5 V, can reduce Qcrit point for readers interested in developing energy-efficient IoT
by 50% and 90%, respectively. In turn, smaller Qcrit results in devices.
higher probability of failure as even weak particles existing at
the sea level (like neutrons) might become sufficient to cause ACKNOWLEDGEMENTS
soft errors.
This work was partly supported by the German Re-
Resiliency against aging: When the electric fields are applied search Foundation (DFG) as part of the Transregional Col-
during the operation of MOSFET transistors, different kinds laborative Research Centre Invasive Computing [SFB/TR 89]
of defects due to aging mechanisms can be generated. Such http://invasic.de, and the priority program Dependable Embed-
defects can accumulate over time, leading to an increase in ded Systems [SPP 1500] http://spp1500.itec.kit.edu.
the delay of a transistor and hence slowing down its speed. In
fact, the amount of generated defects is primarily determined
by the strength of the applied electric fields which are driven by R EFERENCES
the operating voltage. Therefore, when the voltage is reduced, [1] F. Samie, L. Bauer, and J. Henkel, “IoT Technologies for Embedded
the impact of aging mechanisms become less significant. In Computing: A Survey”, in CODES+ISSS, 2016.
[2] L. Atzori, A. Iera, and G. Morabito, “The Internet of Things: A survey”,
Figure 7, we demonstrate how lowering the voltage results in Computer networks, vol. 54, no. 15, 2010.
a smaller aging-induced threshold voltage increase in PMOS [3] D. Bandyopadhyay and J. Sen, “Internet of things: Applications and
transistors. As can be seen, when the voltage reaches 0.5 V, challenges in technology and standardization”, Wireless Personal Com-
aging can merely increase Vth by 1.5 mV. The results in munications, vol. 58, no. 1, pp. 49–69, 2011.
Figure 7 have been estimated using a physics-based aging [4] B. Guo, D. Zhang, Z. Yu, Y. Liang, Z. Wang, and X. Zhou, “From the
Internet of Things to embedded intelligence”, World Wide Web, vol. 16,
model [33], which was developed for the purpose of studying no. 4, 2013.
aging in the scope of voltage scaling. [5] D. Miorandi, S. Sicari, F. De Pellegrini, and I. Chlamtac, “Internet of
things: Vision, applications and research challenges”, Ad Hoc Networks,
In summary: Unlike aging effects, which become smaller at vol. 10, no. 7, pp. 1497–1516, 2012.
lower voltages, failures due to noise and radiation significantly [6] I. Lee and K. Lee, “The Internet of Things (IoT): Applications, invest-
become higher. In general, IoT devices can profit from voltage ments, and challenges for enterprises”, Business Horizons, 2015.
scaling with respect to power and energy, but at the same [7] F. Bonomi, R. Milito, J. Zhu, and S. Addepalli, “Fog computing and
its role in the Internet of Things”, in MCC workshop on Mobile cloud
time, they can suffer from a significant reliability degradation. computing, 2012, pp. 13–16.
Hence, when selecting the operating voltage of processors, [8] J. Gubbi, R. Buyya, S. Marusic, and M. Palaniswami, “Internet of Things
designers need to find good trade-offs between power/energy (IoT): A vision, architectural elements, and future directions”, Future
saving and reliability. Generation Computer Systems, vol. 29, no. 7, 2013.
[9] A. Gluhak, S. Krco, M. Nati, D. Pfisterer, N. Mitton, and T. Razafind-
ralambo, “A survey on facilities for experimental internet of things
VII. C ONCLUSIONS research”, IEEE Communications Magazine, vol. 49, no. 11, pp. 58–67,
2011.
Given that many IoT devices are battery-operated or rely on [10] G. Wu, S. Talwar, K. Johnsson, N. Himayat, and K. D. Johnson, “M2M:
energy harvesters with limited energy sources, ultra-low power From mobile to embedded internet”, IEEE Communications Magazine,
vol. 49, no. 4, pp. 36–43, 2011.
consumption and efficient energy management are critical [11] L. Da Xu, W. He, and S. Li, “Internet of things in industries: A survey”,
design objectives both in hardware design and software ap- IEEE Transactions on Industrial Informatics, vol. 10, no. 4, pp. 2233–
plication. A main research challenge is therefore to reduce the 2243, 2014.