skin, which must be stable and characterized by low
impedance, the electrodes were firmly attached on the
skin by using elastic bands able to guarantee a
uniform and constant pressure over the skin (Figure
2D).
Lastly, an organic semiconductor-based strain
sensor is placed over the popliteal fossa (Figure 1, the
green vertical strip), that is able to dynamically
change its resistance according to the angular
extension of the joint (Taroni et al. 2018, Sezen-
Edmonds et al. 2019). It is a three-terminal device,
namely thin-film transistors (TFT), whose sensitivity
can be tuned and amplified by means of the gate field,
and that can be incorporated into cotton garments for
measuring joint movements (Lai et al. 2019). In this
case, the wireless node is directly attached to the
sensors without any conductive yarn.
Figure 2: A: Front view of the smart underwear, with ECG
and EMG electrodes for vastus medialis muscle; B:
Custom-developed wireless node; C: Neoprene pocket
housing the electronic node. Velcro stripes allow the pocket
to be easily attached to the garment. D: Back view of the
smart underwear, with detail on both the strain sensor on
the left, and EMG electrodes for gastrocnemius medialis on
the right.
2.2 Wireless Nodes
The wireless nodes support both acquisition and basic
edge-processing features, and are housed in small
neoprene pockets along with their battery, as shown
in Figure 2C. They are based on a Texas Instrument
CC2640R2F microcontroller, integrated in a
convenient system-on-module (Figure 2B). This
wireless microcontroller features an ARM Cortex-
M3 processor (32 bit), running at 48 MHz, with
275 kB of non-volatile memory, ultra-low power
sensor controller, and several peripheral modules
(e.g. general-purpose timer modules, 12-bit ADC,
UART, I2C, I2S, SSI, Real-Time Clock, and others).
In particular, the ultra-low power sensor controller
can interface with external sensors and collect
analogue and digital data independently, while the
rest of the system is in sleep mode. Lithium-polymer
batteries (720 mAh, 3.7V) have been selected by
overestimating the duration of the typical emergency
interventions, as they can provide supply for a week
at full strength.
The estimated power consumption
of the wireless node is about 15mW.
The CC2640R2F is provided with a radio
frequency module, implementing a 2.4 GHz
transceiver compatible with Bluetooth low-energy
(BLE) 5.1 and earlier low-energy specifications. It is
characterized by excellent receiver sensitivity (–97
dBm for BLE), selectivity and blocking performance.
This is also suitable for systems targeting compliance
with worldwide radio frequency regulations, i.e.,
ETSI EN 300 328 (Europe), EN 300 440 Class 2
(Europe), FCC CFR47 Part 15 (US), or ARIB STD-
T66 (Japan).
2.3 A BLE-Based Body Area Network
Each sensor is provided with a dedicated BLE node,
to foster modularity and the possibility to equip the
first responder only with the useful sensors for the
given scenario, avoiding over-connected and useless
smart garments that could hamper the mobility and,
consequently, the field operation.
Each wireless node is able to detect a single-
channel signal, which is edge-pre-processed to extract
the heart rate from the ECG signal, the maximum
voluntary contraction of the EMG signal, and the
angular extension of the knee joint. Raw data and key
features (such as the heart rate) are sent to the
rescuer’s smartphone in real-time, by using custom-
defined GATT characteristics. Data rate is signal-
dependent: as such, the ECG signal is sampled and
sent at 250 Hz; the EMG signal is sampled at 250 Hz,
whereas its envelope is edge-computed and sent at
50 Hz; joint angles are sampled at 10 Hz and their
average value is sent at 1 Hz. A custom Android app
was designed to collect the data from the different
wireless nodes (see Figure 3). On the smartphone, by
using the information of the integrated GPS module,
data are geolocated and sent to the remote web server,
every five seconds in independent chunks, through
Wi-Fi or cellular network.
The app is able to interact with Apache Kafka, a
broker for streaming processing based on a
distributed data storage, which receives the data in
JSON format in real-time every 5 s. Depending on the
sensor type, the data file comprises different fields;
the size of the field that contains the signal depends
on the sampling frequency of the data.