<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" dtd-version="3.0">
  <front>
    <journal-meta>
<journal-id journal-id-type="publisher">JSSS</journal-id>
<journal-title-group>
<journal-title>Journal of Sensors and Sensor Systems</journal-title>
<abbrev-journal-title abbrev-type="publisher">JSSS</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">J. Sens. Sens. Syst.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2194-878X</issn>
<publisher><publisher-name>Copernicus GmbH</publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>

    <article-meta>
      <article-id pub-id-type="doi">10.5194/jsss-4-63-2015</article-id><title-group><article-title>Lab-on-Spoon – a 3-D integrated hand-held multi-sensor system for low-cost food quality, safety, and processing monitoring in assisted-living systems</article-title>
      </title-group><?xmltex \runningtitle{A 3-D integrated multi-sensor system for food quality and
safety monitoring}?><?xmltex \runningauthor{A.~K{\"{o}}nig and K.~Thongpull}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>König</surname><given-names>A.</given-names></name>
          <email>koenig@eit.uni-kl.de</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Thongpull</surname><given-names>K.</given-names></name>
          
        </contrib>
        <aff id="aff1"><institution>Institute of Integrated Sensor Systems, TU Kaiserslautern, 67663 Kaiserslautern, Germany</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">A. König (koenig@eit.uni-kl.de)</corresp></author-notes><pub-date><day>13</day><month>February</month><year>2015</year></pub-date>
      
      <volume>4</volume>
      <issue>1</issue>
      <fpage>63</fpage><lpage>75</lpage>
      <history>
        <date date-type="received"><day>27</day><month>May</month><year>2014</year></date>
           <date date-type="rev-recd"><day>19</day><month>January</month><year>2015</year></date>
           <date date-type="accepted"><day>22</day><month>January</month><year>2015</year></date>
           
      </history>
      <permissions>
<license license-type="open-access">
<license-p>This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/3.0/">http://creativecommons.org/licenses/by/3.0/</ext-link></license-p>
</license>
</permissions><self-uri xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015.html">This article is available from https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015.html</self-uri>
<self-uri xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015.pdf">The full text article is available as a PDF file from https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015.pdf</self-uri>


      <abstract>
    <p>Distributed integrated sensory systems enjoy increasing impact leveraged by
the surging advance of sensor, communication, and integration technology in,
e.g., the Internet of Things, cyber-physical systems, Industry 4.0, and
ambient intelligence/assisted-living applications. Smart kitchens and “white
goods” in general have become an active field of R&amp;D. The goal of our
research is to provide assistance for unskilled or challenged consumers by
efficient sensory feedback or context on ingredient quality and cooking step
results, which explicitly includes decay and contamination detection. As one
front end of such a culinary-assistance system, an integrated, multi-sensor,
low-cost, autonomous, smart spoon device, denoted as Lab-on-Spoon (LoS), has
been conceived. The first realized instance presented here features
temperature, color, and impedance spectroscopy sensing in a 3-D-printed spoon
package. Acquired LoS data are subject to sensor fusion and decision making
on the host system. LoS was successfully applied to liquid ingredient
recognition and quality assessment, including contamination detection, in
several applications, e.g., for glycerol detection in wine. In future work,
improvement to sensors, electronics, and algorithms will be pursued to
achieve an even more robust, dependable and self-sufficient LoS system.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p>The joint surging advance of sensors, communication, and integration
technology allows the realization of more versatile and pervasive systems in
nearly all domains of industry and daily life. Established and emerging
application domains are, e.g., measurement, instrumentation, and automation,
Industry 4.0, the Internet of Things, cyber-physical systems, and ambient
intelligence/assisted living. Smart environments, in particular, in homes are
a prominent example, where deeply embedded intelligent sensory systems add
significant functionality unobtrusively merged into everyday life structures
and devices. Miniaturization of such autonomous, potentially wireless,
sensory systems for distributed measuring and observation can be found from
sensate floors, over leading edge integrated data loggers to lifestyle and
sportive gadgets, such as smart watches <xref ref-type="bibr" rid="bib1.bibx4" id="paren.1"/> or activity
trackers <xref ref-type="bibr" rid="bib1.bibx19" id="paren.2"/>.</p>
      <p><?xmltex \hack{\newpage}?>Further intriguing research work is done in the field of lab-on-chip devices;
see, e.g., <xref ref-type="bibr" rid="bib1.bibx29" id="text.3"/>, <xref ref-type="bibr" rid="bib1.bibx24" id="text.4"/>,
<xref ref-type="bibr" rid="bib1.bibx30" id="text.5"/>, and <xref ref-type="bibr" rid="bib1.bibx2" id="text.6"/>. <xref ref-type="bibr" rid="bib1.bibx31" id="text.7"/>
cover a wide field from medical to food applications. Point-of-care
diagnostics are one thrilling field of lab-on-chip application systems.
Advanced microelectromechanical systems (MEMS) and packaging technology are
employed for potentially disposable system solutions with a high level of
sophistication and potential price tags. Though this class of systems has
numerous features in common with the Lab-on-Spoon (LoS) research presented in
this paper, and has inspired the naming of the project, subtle differences,
e.g., in cost, embodiment, reuse, mobility issues, autonomous system
implementation, and system level integration can be identified. In
perspective, a convergence of lab-on-chip technology and the Internet of
Things, cyber-physical production systems, and Industry 4.0 application
fields, e.g., for in-line and portable measurement, can be expected. The
information obtained by such sensory systems can serve to achieve improved or
novel assistance functionality in various domains of daily life, e.g., in the
domain of nutrition, to assist the user in estimating achieved calorie
burning in sports <xref ref-type="bibr" rid="bib1.bibx19" id="paren.8"/> and the calorie contents of food, or even
in providing better performance to unskilled users or supporting impaired
persons in restoring lost sensing capability. In the kitchen environment,
numerous product and research activities can be found to improve device
performance or to achieve assistance system functionality. Relevant
commercial and research work has been summarized, e.g., in
<xref ref-type="bibr" rid="bib1.bibx14" id="text.9"/>, indicating the potential of sensing and sensory context
to achieve a new class of assistance system for this domain, denoted as
culinary-assistance systems <xref ref-type="bibr" rid="bib1.bibx14" id="paren.10"/>. A second, related field of
application, or better, concern, has emerged in the last years. Sources of
unintentional or intentional contamination of soil and sea, e.g., by
radiation, chemical, or biological pollution, have increased substantially
and, correspondingly, contaminated food can enter the food chain from various
sources and reach the consumer unnoticed. For instance, the omnipresent
problem of product fraud or falsification, e.g., for frying oil
<xref ref-type="bibr" rid="bib1.bibx21" id="paren.11"/>, has also become more noticeable in semi-processed and
processed food supplies. The increasing need for food quality and safety
monitoring adds further momentum to the outlined research to provide such
support at a feasible cost in the consumer's home.</p>
      <p>This challenge, in addition to the work presented here, triggered activities
on assistive technologies in food safety and food analysis. One example is
the portable Bio-Scout of SARAD GmbH <xref ref-type="bibr" rid="bib1.bibx25" id="paren.12"/>, designed to
discover radiation in food. Quite recently, e.g., the Vessyl <xref ref-type="bibr" rid="bib1.bibx27" id="paren.13"/>,
a metal cup claiming to be able to identify cup contents and give a reckoning
of the calories, and the Thai e-tongue <xref ref-type="bibr" rid="bib1.bibx5" id="paren.14"/>, as a particular
representative of the research on artificial degustation systems or
e-tongues, reviewed in <xref ref-type="bibr" rid="bib1.bibx26" id="text.15"/>, conceived to measure and assure the
quality and authenticity of original Thai food, have emerged.</p>
      <p>In our research, we aspire to contribute to advanced living-assistance
systems for smart homes and, in particular, kitchen environments (see
Fig. <xref ref-type="fig" rid="Ch1.F1"/>), that receive information from new smart autonomous
devices, which are inspired by the technologies summarized above and embodied
as common items of daily life, e.g., bowls, cups, forks, or spoons. The focus
is on sensing principles and packaging technology that allow the achievement
of low-cost, low-power, high-volume, multi-sensory integrated intelligent
sensory systems and devices for both cooking assistance and food safety.</p>
      <p>To achieve this goal, pioneering work by MIT Media Lab on smart or
intelligent spoons by <xref ref-type="bibr" rid="bib1.bibx23" id="text.16"/> is picked up and extended to wireless
communication, advanced packaging, and low-cost multi-sensor capability, in
particular impedance spectroscopy, which is a method of increasing impact and
applicability, e.g., in <xref ref-type="bibr" rid="bib1.bibx18" id="text.17"/>, <xref ref-type="bibr" rid="bib1.bibx24" id="text.18"/>, and
<xref ref-type="bibr" rid="bib1.bibx30" id="text.19"/>. However, in the majority of applications, powerful
but expensive and bulky desktop equipment, e.g., an HP4195A network analyzer
with an impedance measurement extension, Agilent 4294, LCZ meter model 4277A,
or Xiton Hydra 4200, etc., are used. Applications are in the field of
bio-impedance spectroscopy <xref ref-type="bibr" rid="bib1.bibx24" id="paren.20"/> and
electrochemical-impedance spectroscopy <xref ref-type="bibr" rid="bib1.bibx30" id="paren.21"/>, and medical
tasks like skin cancer or wound healing monitoring <xref ref-type="bibr" rid="bib1.bibx22" id="paren.22"/> or
fish, liver, or meat freshness determination <xref ref-type="bibr" rid="bib1.bibx8" id="paren.23"/>, tea
quality <xref ref-type="bibr" rid="bib1.bibx28" id="paren.24"/> or general food monitoring in the food industry
<xref ref-type="bibr" rid="bib1.bibx6" id="paren.25"/>, as well as water monitoring and detergent concentration
determination <xref ref-type="bibr" rid="bib1.bibx7" id="paren.26"/> in, e.g., dishwashers. The size of
common instrumentation equipment hampers the system realization beyond
discrete proof-of-principle prototypes. This has motivated various dedicated
embedded designs based on off-the-shelf components and PCB integration.
However, the existing commercial solutions, such as the AD5933 chip, cover
only a small part of the interesting impedance, frequency range, and
measurement quality for the different application domains, which stimulates
ongoing dedicated chip design activities.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><caption><p>Gesture-controlled interactive cookbook for LoS sensor context
acquisition before or after recipe food processing steps.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f01.pdf"/>

      </fig>

      <p>In this work, the concept and the first prototype of our Lab-on-Spoon will be
presented. Section <xref ref-type="sec" rid="Ch1.S2"/> will describe the concept and
architecture of LoS, Sect. <xref ref-type="sec" rid="Ch1.S3"/> will give details of the first
LoS prototype, and Sect. <xref ref-type="sec" rid="Ch1.S4"/> will describe selected applications
and conducted experiments, including applied computational intelligence
methods and tools. Concluding, the motivation for a custom CMOS chip and a
reconfigurable, potentially MEMS-switch-based LoS will be discussed, and a
preview of ongoing activities for an improved LoS version will be given.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S2">
  <title>LoS concept and living-assistance system architecture</title>
      <p>Figure <xref ref-type="fig" rid="Ch1.F2"/> illustrates by a block diagram the concept of the
proposed living-assistance system, and, in particular, the LoS as one
possible autonomous sensory front end to it. The institute of integrated
sensor systems (ISE) central smart kitchen host is designed to communicate
with various smart devices for activity recognition and sensor context
acquisition by wire, e.g., standard bus or power-line communication, or
standard wireless communication, such as XBee. For instance, Sensitec current
sensors are applied for activity recognition and loading assessment of
electrical appliances, and the popular MS-Kinect sensor is applied for
gesture control together with an emerging electronic or interactive cookbook
(see Fig. <xref ref-type="fig" rid="Ch1.F1"/>), which is inspired by professional tools like ChefTec
(see <xref ref-type="bibr" rid="bib1.bibx14" id="altparen.27"/>). As exemplified in Fig. <xref ref-type="fig" rid="Ch1.F2"/> for a
few extracted recipe lines from a simple Chinese dish, for each step of
ingredient inclusion and preparation, the e-cookbook is conceived to call on
the sensory context, which will be provided here by the LoS, and by further
resources emerging in our current research and development. In this step,
ingredients can be checked by LoS for agreement with the current preparatory
step, freshness, fraud, or contamination. The LoS is equipped with a
microcontroller that runs the measurement control, the sensor readings, and
the communication software to collaborate and exchange data with the smart
kitchen host indicated in Fig. <xref ref-type="fig" rid="Ch1.F2"/>. Power awareness of the
autonomous measurement system equipped with a rechargeable accumulator is
achieved, e.g, by employing power-saving devices and sleep modes, etc.
Conceptually, sensors for integrated temperature, color, infrared, impedance,
pH, viscosity, weight, as well as radiation measurement, are aspired to.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><caption><p>Block diagram of the aspired-to LoS system cooperation with the
smart kitchen host for sensor context acquisition.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f02.pdf"/>

      </fig>

      <p>Wireless communication with the smart kitchen host is realized by an RF
module, e.g., by the XBee standard. The sensory context for each step in the
recipe can be acquired and processed by computational intelligence methods on
the host for food assessment. Thus, wrong or inadequate or even dangerous
ingredients potentially can be detected, indicated to the user, and excluded
from further processing. In addition to ingredient monitoring, quantity
determination for dosing, and the assessment of intermediate cooking step
results are aspired to as part of the concept.</p>
      <p>LoS data have to be processed by suitable means to allow the assessment
according to common fuzzy textual statements in recipes on color,
consistency, crispiness, etc., of the meal components. In addition to
standard textual recipe information, LoS sensory contexts from successful
(expert) meal preparations could be stored for each step to provide an even
better basis for assessment of the current user activities.</p>
      <p>It is anticipated that the spoon will be in sleep mode and get woken up by
either a button press or, alternatively, a wake-up by radio from the host.
The button is allocated in the spoon handle and serves also to synchronize
the taking of the measurement. The system can visually, possibly complemented
by standard speech output, prompt the user to enter the required ingredient
into the spoon and confirm this by pressing the same button. That procedure
helps to avoid the spurious analysis of LoS contents, e.g., of an empty
spoon, of a spoon filled with residuals of prior activity, or of a spoon in
cleaning. Measurement data will be acquired, sensory context data will be
communicated to the host, and the LoS will go back to sleep again.</p>
      <p>The potentially wide ranges of measurement quantities for different
ingredient categories as well as tolerance and calibration issues require the
on-the-fly reconfiguration capability for LoS. Some reconfiguration and
self-x features are already included; more are under consideration for the
implementation of the next LoS version. This will be discussed in more detail
in Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>.</p>
      <p>The physical realization of the concept will exploit contemporary techniques
of 3-D printing and the corresponding 3-D integration or packaging of sensors
and electronics. 3-D printing allows the easy, low-cost, and rapid
realization of arbitrary prototype shapes, including even sintered metals in
the spectrum of materials. Suitable spoon shapes can be created in which
sensors and electronics could be snapped into place. More advanced
system-in-package approaches and technologies, e.g., the molded interconnect
device or the active multi-layer technology <xref ref-type="bibr" rid="bib1.bibx10" id="paren.28"/>, merge
electronics and package design, and also seem very promising for LoS
embodiment.</p>
</sec>
<sec id="Ch1.S3">
  <title>First multi-sensor LoS prototype</title>
      <p>A subset of the outlined multi-sensor LoS concept and architecture outlined
in the previous Sect. <xref ref-type="sec" rid="Ch1.S2"/> has been realized in a hand-held,
multi-sensor, and autonomous system implementation and embodied in spoon
shape for the first time.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><caption><p>Block diagram of the current multi-sensor LoS
prototype.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f03.pdf"/>

      </fig>

      <p>In Fig. <xref ref-type="fig" rid="Ch1.F3"/>, the block diagram of the LoS prototype, including
three different sensors, is given. Their geometrical alignment in the spoon
cavity is outlined in Fig. <xref ref-type="fig" rid="Ch1.F4"/> according to the LoS picture
given in Fig. <xref ref-type="fig" rid="Ch1.F5"/>. The spoon cavity has a maximum depth of
7 mm. A ceramic substrate pt10k temperature sensor of UST GmbH, which comes
with a custom calibrated PCB along with a corresponding third-order
calibration polynomial, is placed in the center front of the cavity. The
MCS3AS true color sensor with its corresponding MTI04QS transimpedance
four-channel amplifier chip from MAZeT GmbH is placed in the center of the
cavity with the objective to be always completely submerged in the liquid to
be analyzed. The impedance spectroscopy measurement unit consists of the
AD5933 <xref ref-type="bibr" rid="bib1.bibx1" id="paren.29"/> network analyzer chip and gold-plated electrodes,
which are placed at the center back of the cavity, just below the active
illumination LED. By this placement, they will be completely immersed even
for a low degree of spoon cavity filling. The placement of the sensors is
mainly subject to the constraint to avoid variations in measurement due to
uncertainty in filling level. For the impedance spectroscopy, the basic
two-wire measurement approach is applied together with an optional simple
analog front end for materials of very low impedance, e.g., ingredients of
high salinity.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><caption><p>Sketch of the LoS cavity with geometrical information of cavity
sizing and sensor placement.</p></caption>
        <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f04.png"/>

      </fig>

      <p>This complementing standard circuit reduces the output voltage and prevents
the AD5933 from overloading by excessive output current in low-impedance
measurements below the 1 k<inline-formula><mml:math display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula> range. For substances of higher
impedance, e.g., oils, the AD5933 will be just used straight, bypassing the
front end. Of course, the amplification of the AD5933 input stage has to be
reconfigured too with regard to the aspired-to impedance measuring range and
the use or bypass of the front end. These setting requirements and
calibration issues give rise to the reconfiguration concepts discussed in
Sect. <xref ref-type="sec" rid="Ch1.S4"/>. Additional reconfiguration requirements come with the
color sensor. Depending on the illumination intensity, the transimpedance of
the sensor electronics can be digitally adapted or programmed in three stages
in the MAZeT MTI04QS chip.</p>
      <p>However, to provide reduced vulnerability to environmental illumination
variations, LoS has been equipped with an active illumination of the spoon
content by a white-light LED, which is activated during color measurement.
Temperature and color values will be converted to digital by the 10 bit ADC
of the microcontroller, while impedance values will be converted by the
internal 12 bit AD5933 ADC.</p>
      <p>In this context, a further feature for user interaction has been added, which
gives a haptic feedback on the spoon contents' temperature. Inspired by
previous activities of, e.g., MIT's smart sink <xref ref-type="bibr" rid="bib1.bibx23" id="paren.30"/>, where tap
water was illuminated by a color coding the temperature, from cold (blue) to
very hot (red), to warn the user and avoid injury due to scalding, the LoS
was extended. In wake-up state, without host request on data, the spoon in
this mode continuously measures the temperature of the spoon contents and
illuminates the spoon contents in a corresponding color by a full color LED.
This is illustrated in Fig. <xref ref-type="fig" rid="Ch1.F6"/>. In addition to that warning
function, thresholds and color assignments can be reconfigured by the host,
e.g., in tasks where a liquid has to be in an arbitrary interval or even meet
an exact value. The water temperature for yeast bacteria cultivation in bread
making is one example, which should best be about 30 <inline-formula><mml:math display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><caption><p>Multi-sensor electronics with USB interface for programming and host
communication in a 3-D printed spoon of a LoS prototype before finalization
and encapsulation.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f05.jpg"/>

      </fig>

      <p>The microcontroller and system of choice for LoS, after considering and
testing alternatives, in particular the low-power EnergyMicro Cortex M3
EFM32G890 F128 microcontroller, was the Arduino system family, due to the
well-known properties of flexibility, easy and rapid prototyping, and a large
portfolio of modules and accessories. The Arduino system family with wireless
extensions has evolved to be very popular for Internet of Things
realizations. For reasons of constrained space, the Arduino Pro Mini board,
5V supply version, equipped with the ATmega 328 microcontroller had been
chosen, which provides time-multiplexed ADC inputs for temperature and color
sensor reading, I2C bus support for the AD5933 communication, and general
purpose digital I/O, including a PWM option for button reading, as well as
white light and color LED control.</p>
      <p>A USB module has been included in the system design for (re)programming of
the microcontroller, as well as wired supply, host communication and data
transfer for basic LoS operation in the development phase.
Figure <xref ref-type="fig" rid="Ch1.F5"/> shows an early prototype of our LoS system without
accumulator/XBee extension and before finalization and package sealing. For
autonomous operation, the system is completed by a lithium polymer
accumulator and a standard XBee communication module. This option is pointed
out in Fig. <xref ref-type="fig" rid="Ch1.F3"/> by the only dashed box, labeled Accu/XBee(Arduino),
and the corresponding physical realization is illustrated in the top right
corner of Fig. <xref ref-type="fig" rid="Ch1.F6"/> as an plug-on board extension to the spoon
handle. The spoon package itself has been shaped in a first-cut design
employing the Blender software and the Makerbot Replicator I 3-D printer. The
currently employed thermoplastic spoon package serves only for the first step
of evolution and has to be replaced by a material more robust to the full
range of common cooking temperatures and food safety regulations.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><caption><p>Autonomous LoS prototype with XBee extension board and haptic color
feedback on spoon content temperature.</p></caption>
        <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f06.png"/>

      </fig>

      <p>The LoS embedded system software is developed in C in the standard Arduino
development environment 1.5.6. On the host side, a Python-based interface
communicates with the LoS via the serial interface and reads the data in for
the application software. Depending on the connection, directly by USB during
development or by wireless in the actual application, a second Arduino/XBee
module is required as a gateway on the host side.</p>
</sec>
<sec id="Ch1.S4">
  <title>Experiments and results</title>
      <p>In the following, front-to-back application of the LoS from sensory
registration to data analysis and recognition system design and employment
will be investigated for selected liquid food samples. The proprietary ISE
QuickCog tool (<xref ref-type="bibr" rid="bib1.bibx14 bib1.bibx16" id="altparen.31"/>) offers the required
facilities to analyze, fuse, and recognize the acquired multi-sensor data,
but the integration of LoS spoon control and a data acquisition interface
seemed to be more promising on a multi-platform flexible and open system,
which is provided by the Python-based Orange system <xref ref-type="bibr" rid="bib1.bibx3" id="paren.32"/>. So, in
this work, Orange was extended on both the Windows and Linux platforms by the
LoS interface and a QuickCog interface to immediately exploit features and
efficient methods from the field of computational intelligence still
unavailable in Orange. Moving these features and methods to Orange and public
availability is one of our research goals in the context of LoS research.</p>
      <p>Plots for interactive data visualization and analysis can be generated by,
e.g., the choice of two particularly relevant variables from the measurement,
or by dimensionality reducing mapping techniques, e.g., by Sammon's nonlinear
mapping and related fast techniques <xref ref-type="bibr" rid="bib1.bibx13 bib1.bibx16" id="paren.33"/>. The
first option is very transparent and the axes of such a scatterplot have a
clear physical notion. However, in particular, in multi-sensory systems, the
required salient information rarely is provided by only two or three
measurement inputs or variables. The latter option can deal with measurement
data of arbitrary dimensionality and reduces the data dimensionality to a 2-
or 3-D plot under the constraint of, e.g., preserving the distances of the
data points as undistorted as possible. These distances represent the
similarities of data points and their underlying physical measurement data.
In such a plot, commonly denoted as a feature map or a feature space
projection, the plot axes have no assignment to a particular physical notion.</p>
      <p>In gas sensing, commonly linear discriminant analysis is also employed for
the same visualization purpose. As this is a supervised method, which
includes the labeling or class affiliation of the measurement in the
dimensionality reducing mapping, we prefer the unsupervised Sammon nonlinear
mapping and employ it for LoS data presentation and assessment in the
following.</p>
      <p>The maps thus generated can help in understanding and optimizing both data
acquisition and processing for ingredient recognition/identification or
grading in new applications (see
Figs. <xref ref-type="fig" rid="Ch1.F10"/>–<xref ref-type="fig" rid="Ch1.F16"/>). The feature map or
feature space projection can be complemented by labeling the data points with
class information as well as temperature context information, which could
stem from the pt10k sensor in the spoon volume or the AD5933 or other chips'
internal temperature sensors. Furthermore, QuickCog provides a set of
automated feature selection (AFS) options, which assist in efficient
feature-level fusion from the different sensor channels to obtain
well-discriminating but lean intelligent systems. For the generation of the
following feature maps and the final results table, the <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">oi</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
overlap measure with <inline-formula><mml:math display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> neighbor parameter <inline-formula><mml:math display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> and the simple
sequential-forward selection (SFS) scheme <xref ref-type="bibr" rid="bib1.bibx16" id="paren.34"/> has been
employed. AFS leads to more lean, in some cases better performing decision
systems, but the particular advantage in impedance spectroscopy is that only
a few case-specific spectral components have to be measured, and the
measurement time can be reduced significantly. The full sweep will only be
needed in the analysis of new tasks and related measurement data.</p>
      <p>In the following, two different kinds of experiments were conducted. In the
first group, the discrimination capability of the LoS for various common
cooking ingredients will be investigated and demonstrated.</p>
      <p>In the second group of experiments, the LoS grading capability with regard to
loss of freshness or the presence of contamination will be tentatively
investigated and demonstrated.</p>
      <p>For all experiments, the following settings for sensor signal conditioning
have been applied. The transimpedance setting of the LoS color sensor is set
to 500 k. The frequency sweep range of the AD5933 chip is 10–100 kHz, with
a frequency increment of about 175 Hz. The temperature sensor module is
calibrated, has no setting options, and returns a temperature value in
degrees Celsius. LoS gives, for each measurement, 1 temperature value,
3 values of RGB channels for color registration, and 512 complex impedance
values, given as 1024 magnitude and phase values. This amounts to the data
vector of 1028 entries exemplified in Fig. <xref ref-type="fig" rid="Ch1.F7"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><caption><p>LoS output of temperature, color, and 4 of 512 lines of raw
uncalibrated impedance data sent to the host for further processing.
</p></caption>
        <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f07.pdf"/>

      </fig>

      <p>In addition, Fig. <xref ref-type="fig" rid="Ch1.F8"/> illustrates the plot of the impedance
magnitude and phase spectra from LoS measurement data for several examples of
the contamination recognition and data given in the following
Fig. <xref ref-type="fig" rid="Ch1.F16"/>. Each point in Fig. <xref ref-type="fig" rid="Ch1.F16"/> corresponds
to one measurement, i.e., one of the spectra given in
Fig. <xref ref-type="fig" rid="Ch1.F8"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><caption><p>Plot of impedance magnitude and phase spectra for the ingredient
data given in Fig. <xref ref-type="fig" rid="Ch1.F16"/>. The ordinate values of the magnitude
plot have been computed by multiplying the raw data from
Fig. <xref ref-type="fig" rid="Ch1.F7"/> by the calibration factor 54.89 of the employed LoS
prototype.</p></caption>
        <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f08.pdf"/>

      </fig>

      <p>For the measurement of substances with a low impedance or high impedance
range, two different LoS prototypes with an employed or bypassed analog front
end, as indicated in Fig. <xref ref-type="fig" rid="Ch1.F3"/>, were employed in the work described
in the following.</p>
      <p>In the following, 30 measurement repetitions have been adopted as the
standard for each substance or ingredient.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><caption><p>Completed LoS prototype with active white LED illumination for the
color measurement phase.</p></caption>
        <?xmltex \igopts{width=170.716535pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f09.png"/>

      </fig>

      <p>The measurement currently proceeds in three phases measuring the temperature
first, followed by accumulative color registration of 50 samples of each RGB
channel with active white-LED illumination switched on (see
Fig. <xref ref-type="fig" rid="Ch1.F9"/>), and concluding with the impedance spectroscopy
measurement in the given frequency sweep range. After the scheduled number of
measurements, which were triggered by the push button and/or by wireless, the
LoS goes back to sleep.</p>
<sec id="Ch1.S4.SS1">
  <title>Ingredients recognition</title>
      <p>In the first experiment, the discrimination of basic liquid cooking
ingredients has been examined, e.g., by filling or immersing the spoon in
plain tap water, salted water, soy sauce, or white wine vinegar.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10"><caption><p>LoS measurement results for the recognition of plain tap water,
salted water, soy sauce, and white wine
vinegar.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f10.png"/>

        </fig>

      <p>Figure <xref ref-type="fig" rid="Ch1.F10"/> shows the resulting feature map with an
AFS result of four features, i.e, three color values and and feature 2 from
impedance magnitude, which groups the four ingredients clearly with regard to
their basic conductivity.</p>
      <p>The next application tried to distinguish four brands of beer. The result
along with the brand names is given in Fig. <xref ref-type="fig" rid="Ch1.F11"/>. Color was not as
helpful as in previous cases, as two of the Pils-type beers nearly feature
the same color. The list of the 118 features selected from impedance
magnitude data can be found in Appendix <xref ref-type="sec" rid="App1.Ch1.S1.SS1"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11"><caption><p>LoS measurement results for the recognition of four kinds of
beers.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f11.png"/>

        </fig>

      <p>Though the basic discrimination is possible by LoS, the margins between the
classes with regard to intra-class scatter are not as favorable as in the
previous case. This demands the improvements in the electronics as outlined
in the discussion in Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>.</p>
      <p>The LoS tasting ability has been further challenged by the task to
distinguish up to seven kinds of wine. The result along with the wine kind
names and origin is given in Fig. <xref ref-type="fig" rid="Ch1.F12"/>. The list of the 33 features
selected from impedance magnitude data can be found in
Appendix <xref ref-type="sec" rid="App1.Ch1.S1.SS2"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12"><caption><p>LoS measurement results for the discrimination of seven kinds of
wine.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f12.png"/>

        </fig>

      <p>This example shows the basic distinguishing capability of the current LoS
prototype, but also the need for improvement for more comprehensive and
robust operation.</p>
      <p>In contrast to the first experiments with ingredients of rather low
impedance, oils feature high to very high impedance values. The last
experiment of the first group shows the high-impedance LoS capability to
distinguish three different kinds of common cooking oils, i.e., sunflower,
peanut, and olive oil.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13"><caption><p>LoS measurement results for the recognition of three plant
oils.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f13.png"/>

        </fig>

      <p>Figure <xref ref-type="fig" rid="Ch1.F13"/> shows the resulting feature map based on six
features, i.e., the three color values and the impedance magnitude values
385, 387, and 437, with clear discrimination capability.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <title>Ingredient grading</title>
      <p>In addition to the correctness or appropriateness of the ingredient with
regard to the current preparation step, the state or the quality of the
ingredient needs assessment. This could be accomplished with the goals of
determining the freshness or potential rottenness of the food or the presence
of contaminations in the otherwise fine ingredient.</p>
      <p>The degradation of oil is a common issue, which will be regarded first in the
following. The plant oil of a home frying machine, e.g., for french fries
preparation, was investigated with regard to wear-out and the need for oil
exchange. Fresh oil was compared to used oil, which according to human
impressions of look, smell, and cycles of use, was due for exchange. Data
were acquired as in the experiments before and grading pursued in a crisp
form, distinguishing just fresh and worn-out oil.</p>
      <p>Figure <xref ref-type="fig" rid="Ch1.F14"/> shows the corresponding feature map with two
distinct, well-separated clusters for fresh (left) and heavily used (right)
frying oil. Here, the color information with the three color values as
features itself is already very meaningful. The impedance magnitude delivers
similar information with the selections 370, 443, 445, and 491 as features.
In the following classification, feature-level fusion of these groups will be
applied. It is acknowledged that infrared spectroscopy is a common and
successful method for oil and lubricant quality sensors, but in the food
domain, a low-cost solution would be welcome.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F14"><caption><p>Feature space projection of the frying oil data
set.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f14.png"/>

        </fig>

      <p>Also, the spoon embodiment is not required for the frying machine or related
machinery. The frying oil classification or grading opens the door to a
separate application system, i.e., a stationary oil sensor for indication of
wear-out determined oil exchange. In the next example, the detection of decay
or rotting in milk by LoS, as a common food of daily use, is investigated
tentatively. The first sample is taken of fresh milk with 3.5 % fat
content. A quantity of about 150 mL of the same milk is left outside the
refrigerator and uncovered in a glass and over a period of 4 days; 1 time a
day, LoS is filled with about 10 mL taken from the glass and 30 samples of
the spoon contents are measured.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F15"><caption><p>Feature space projection of the milk decay data
set.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f15.pdf"/>

        </fig>

      <p>Figure <xref ref-type="fig" rid="Ch1.F15"/> shows the feature space projection obtained from
4 <inline-formula><mml:math display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 30 samples. AFS chose the red color value and the values 4, 18,
and 337 from the impedance magnitude as features.</p>
      <p>After the fourth day, the milk started to be clearly degraded from visual and
olfactory appearance. Due to the variety of milk, involved bacteria, and
other potential influences on the rotting process, this experiment is clearly
indicated as tentative, but it nevertheless shows the LoS basic ability to
give a warning about potential degradation of the ingredient milk and to help
the assistance system to dissuade the user from further use.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F16"><caption><p>Feature space projection of pure and contaminated white
wine.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f16.png"/>

        </fig>

      <p>The last example deals with the issue of detecting food contamination. As an
example, we were inspired by a real occurrence about two decades ago, where
wine was sweetened by the addition of about 5 % of a chemical substance
(diethylen glycol) usually serving as an anti-freezing agent. Here, we use
the less poisonous chemical glycerol and add it in a ratio of about 10 % to
the dry Kerner white wine in a first experiment, which has been the basis for
numerous LoS life demonstrations. Figure <xref ref-type="fig" rid="Ch1.F16"/> shows the result
from one of the conducted measurements for selected features 465 and 497 of
the impedance spectroscopy magnitude. The obtained data were employed to
train and validate an SVM classifier <xref ref-type="bibr" rid="bib1.bibx20" id="paren.35"/> as given in
Fig. <xref ref-type="fig" rid="Ch1.F18"/>. This example was successfully used for life
classification in LoS demonstrations, as intended in the actual practical use
of the spoon.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F17"><caption><p>Feature space projection of pure and ten different glycerol
concentrations from 1 to 10 % of contaminated white
wine.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f17.pdf"/>

        </fig>

      <p>In addition to this demonstration, a more detailed investigation of LoS
sensitivity has been carried out by acquiring a new data set, measuring pure
wine and ten contaminated samples with an increase in glycerol concentration
of 1 % from 1 to 10 %. In Fig. <xref ref-type="fig" rid="Ch1.F17"/>, the result of this
measurement series with 11 <inline-formula><mml:math display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 30 samples is shown. Clearly, all
glycerol concentrations can be well separated from the pure wine data. This
has been confirmed by the ensuing classification experiments given in
Table <xref ref-type="table" rid="Ch1.T1"/>, both for the full feature set and the AFS reduced set
with the impedance magnitude features 1, 3, and 4. In addition to the
standard experiments summarized below, for the complete feature set, data
have been sampled with only 20 % training and 80 % testing data. Even
then, the same results as in Table <xref ref-type="table" rid="Ch1.T1"/>, i.e., 100 %
classification accuracy, have been obtained for all classes, which means
perfect generalization. This result implies that LoS could also be employed
to predict the concentration, at least in steps of 1 %.</p>
      <p>The extension of LoS from the presented multi-class recognition to continuous
grading of food properties by function approximation, e.g., RBF networks
<xref ref-type="bibr" rid="bib1.bibx9" id="paren.36"/> and/or support-vector regression (SVR), for oil, milk,
wine, and related liquid ingredient assessment, is currently in progress,
with promising perspectives.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F18"><caption><p>SVM-based classification system for wine contamination detection in
Orange running on the smart kitchen server as a subroutine of the
e-cookbook.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://jsss.copernicus.org/articles/4/63/2015/jsss-4-63-2015-f18.png"/>

        </fig>

      <p>It is assumed that for each task in ingredient or processing result
inspection, trained decision making units are archived and are modularly
available in the e-cookbook along with the recipes.</p>
      <p>All the described experiments have been subject to classification
investigations to also numerically assess LoS discrimination abilities.
Table <xref ref-type="table" rid="Ch1.T1"/> shows the results of a hold-out approach with random
data splitting in 50 % training and 50 % testing employing an SVM
RBF-kernel classifier. Complete and selected data have been used, based on
the detailed feature selection lists given in the text above or in
Appendices <xref ref-type="sec" rid="App1.Ch1.S1.SS1"/> and <xref ref-type="sec" rid="App1.Ch1.S1.SS2"/> for each example. The
generalization capability, but for two data sets, was perfect.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><caption><p>LoS results for ingredient recognition and
grading.</p></caption><oasis:table frame="topbot"><?xmltex \begin{scaleboxenv}{.92}[.92]?><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:thead>
       <oasis:row>  
         <oasis:entry colname="col1">Experiment</oasis:entry>  
         <oasis:entry colname="col2">Sel. features</oasis:entry>  
         <oasis:entry rowsep="1" namest="col3" nameend="col4" align="center">SVM par. </oasis:entry>  
         <oasis:entry colname="col5">No.</oasis:entry>  
         <oasis:entry colname="col6">CA</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2"><?xmltex \raise5.690551pt\hbox\bgroup?>(col.; mag.)<?xmltex \egroup?></oasis:entry>  
         <oasis:entry colname="col3">C</oasis:entry>  
         <oasis:entry colname="col4"><inline-formula><mml:math display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5"><?xmltex \raise5.690551pt\hbox\bgroup?>of SV<?xmltex \egroup?></oasis:entry>  
         <oasis:entry colname="col6"><?xmltex \raise5.690551pt\hbox\bgroup?>(%)<?xmltex \egroup?></oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>  
         <oasis:entry colname="col1">Soy</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">2</oasis:entry>  
         <oasis:entry colname="col4">0.03125</oasis:entry>  
         <oasis:entry colname="col5">31</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(3; 1)</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0.03125</oasis:entry>  
         <oasis:entry colname="col5">15</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Beer</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">128</oasis:entry>  
         <oasis:entry colname="col4">0.125</oasis:entry>  
         <oasis:entry colname="col5">60</oasis:entry>  
         <oasis:entry colname="col6">98.33</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(0; 118)</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0</oasis:entry>  
         <oasis:entry colname="col5">36</oasis:entry>  
         <oasis:entry colname="col6">98.33</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Wine</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">32</oasis:entry>  
         <oasis:entry colname="col4">0.125</oasis:entry>  
         <oasis:entry colname="col5">94</oasis:entry>  
         <oasis:entry colname="col6">99.05</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(0; 33)</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0.03125</oasis:entry>  
         <oasis:entry colname="col5">15</oasis:entry>  
         <oasis:entry colname="col6">98.10</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Oil</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0.125</oasis:entry>  
         <oasis:entry colname="col5">45</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(3; 3)</oasis:entry>  
         <oasis:entry colname="col3">8</oasis:entry>  
         <oasis:entry colname="col4">0</oasis:entry>  
         <oasis:entry colname="col5">17</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Used oil</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0.5</oasis:entry>  
         <oasis:entry colname="col5">41</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(3; 4)</oasis:entry>  
         <oasis:entry colname="col3">128</oasis:entry>  
         <oasis:entry colname="col4">2</oasis:entry>  
         <oasis:entry colname="col5">7</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Milk decay</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">128</oasis:entry>  
         <oasis:entry colname="col4">0</oasis:entry>  
         <oasis:entry colname="col5">43</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">(1; 3)</oasis:entry>  
         <oasis:entry colname="col3">2</oasis:entry>  
         <oasis:entry colname="col4">0.5</oasis:entry>  
         <oasis:entry colname="col5">14</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Glycol</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">2</oasis:entry>  
         <oasis:entry colname="col5">20</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1">in wine</oasis:entry>  
         <oasis:entry colname="col2">(0; 2)</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0.5</oasis:entry>  
         <oasis:entry colname="col5">2</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">1–10 % glycol</oasis:entry>  
         <oasis:entry colname="col2">All</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">0</oasis:entry>  
         <oasis:entry colname="col5">164</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">in wine</oasis:entry>  
         <oasis:entry colname="col2">(0; 3)</oasis:entry>  
         <oasis:entry colname="col3">512</oasis:entry>  
         <oasis:entry colname="col4">8</oasis:entry>  
         <oasis:entry colname="col5">165</oasis:entry>  
         <oasis:entry colname="col6">100</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup><?xmltex \end{scaleboxenv}?></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S4.SS3">
  <title>Discussion</title>
      <p>The analysis of the current LoS implementation showed useful sensitivity (see
Table <xref ref-type="table" rid="Ch1.T1"/>) and the basic capability to fulfill the raised
goals, but also several needs for improvements to sensory data quality and
the potential for a significant performance increase. The measurements above
show that the intra-class scatter is quite high and, in some cases,
approaches the inter-class distances. This can be reduced to about 50 % by
the use of an external precision clock, a higher-quality 3V supply, and a
front end without DC excitation voltage output as in our related DeCaDrive
project <xref ref-type="bibr" rid="bib1.bibx17" id="paren.37"/> for the AD5933. The DC voltage output
degrades the measurement in general, e.g., due to polarization effects. Color
measurement currently is impaired by the limited ADC on the microcontroller;
i.e., RGB values are sequentially obtained and at mediocre bit resolution.
Therefore, the three-channel RGB color sensor will be replaced by the
multi-spectral MAZeT MMCS6CS color sensor and related improved signal
conditioning and MCDC04 conversion chips with synchronous high resolving
measurement of all channels. These changes will significantly improve LoS
selectivity and stability. Furthermore, additional digital reconfiguration
and self-x features (see, e.g., <xref ref-type="bibr" rid="bib1.bibx12" id="altparen.38"/>), based on suitable
MOS- or MEMS-switching resources, are considered <xref ref-type="bibr" rid="bib1.bibx11" id="paren.39"/>. This is
required for, e.g., switching from high to low impedance ranges, changing the
feedback resistor in the I/O amplifier, and alternating between calibration
elements and actual measurement impedance, e.g., immersed electrodes.</p>
      <p>The extension of LoS implementation with integrated pH-value and viscosity
sensing, the improvement in the 3-D spoon shape and electronics packaging,
e.g., with 3-D printing technologies with higher resolution, higher
temperature tolerance, and food safety regulation compliance, as well as the
advance of related sensor fusion and intelligent system design techniques,
are the next steps on the agenda.</p>
      <p>A key issue remains employing the range-limited AD5933 chip for impedance
spectroscopy realization. Employing an Agilent network analyzer for the same
and related tasks showed that, even for a sweep range of up to 2–4 MHz,
previously regarded tasks could be solved with higher accuracy, and a wider
scope of applications and substances can be distinguished. Thus, the design
of a more able dedicated CMOS chip for impedance spectroscopy, which employs
differential current stimulation and the four-wire measurement approach, and
which is conceived to be applicable for the needs of a wider range of
integrated/embedded impedance spectroscopy applications
<xref ref-type="bibr" rid="bib1.bibx14 bib1.bibx17 bib1.bibx8 bib1.bibx7 bib1.bibx22" id="paren.40"/>,
is currently being pursued at ISE.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <title>Conclusions</title>
      <p>This paper presented the concept and the first embodiment of the Lab-on-Spoon
autonomous, hand-held, multi-sensory system as a low-cost front end of an
intelligent assisted-living system with a distributed sensor network for
home-based smart kitchen applications <xref ref-type="bibr" rid="bib1.bibx14" id="paren.41"/>. The LoS is
designed to provide sensory context to the ingredient and preparatory step
results monitoring of recipes in an interactive cookbook and, thus, support
both unskilled or challenged persons by improving or partially restoring
perceptive and assessment ability. Furthermore, LoS is conceived to detect
decay and/or contamination in food, which might be imperceptible to humans.
With regard to the severe and increasing pollution of soil and water
worldwide, contaminations could reach the consumer undetected, and strongly
advocate the creation of capable, yet affordable, local sensing capability at
the consumer's end of the food chain.</p>
      <p><?xmltex \hack{\newpage}?>The first LoS prototype was implemented in our work on the favorable Arduino
platform with temperature, color and impedance sensing, and integrated into
the Orange system for capable multi-sensor signal processing and recognition
and life or online classification, e.g., on CeBIT 2014
<xref ref-type="bibr" rid="bib1.bibx15" id="paren.42"/>. With regard to our goals, it showed encouraging
capabilities and sensitivity for a challenging application spectrum from food
classification to grading. Improvements in electronics, packaging, sensor
palettes, and algorithms, as outlined in the discussion above, are on the
way. Self-x features for dependable and self-sufficient operation, as needed
for related cyber-physical systems, the Internet of Things, or Industry 4.0
domains, are under investigation for LoS. Further inspirations are expected
from the thriving lab-on-chip research field.</p>
      <p>In addition to advancement of the scientific LoS development and improvement,
including the abstraction to alternative devices, e.g., a lab-on-fork,
lab-in-bowl, etc., to probe non-liquid food and materials, such as meat or
cheese, etc., commercialization with industrial partners is aspired to, with
a potential mass market in mind. Recent competitive approaches underpin this
view, e.g., <xref ref-type="bibr" rid="bib1.bibx27" id="text.43"/> and <xref ref-type="bibr" rid="bib1.bibx5" id="text.44"/>. From the results on
frying oil, and preliminary experiments on combustion engine oil, an
extension of the project to simple and low-cost motor and gear oil sensors
seems to be promising and straightforward.</p><?xmltex \hack{\clearpage}?>
</sec>

      
      </body>
    <back><app-group><app id="App1.Ch1.S1">
  <title>Details on feature selection</title>
      <p>In the following, the larger selection lists of Sect. <xref ref-type="sec" rid="Ch1.S4"/> will
be given. These lists, though extensive, are relevant for the potential data
analysis, repetition of experiment, and possible reduction of measurement
time in future applications.</p>
<sec id="App1.Ch1.S1.SS1">
  <title>Selection list for Beer experiment</title>
      <p>The selected 118 magnitude features are 8, 9, 23, 43, 48, 52, 62, 65, 74, 77,
84, 86, 87, 89, 94, 96, 103, 105, 107, 116, 124, 126, 134, 141, 144, 148,
149, 152, 155, 157, 161, 181, 191, 196, 198, 203, 205, 206, 208, 210, 224,
226, 228, 234, 242, 250, 261, 263, 265, 269, 270, 272, 277, 282, 286, 296,
298, 303, 307, 309, 310, 314, 318, 322, 325, 330, 332, 333, 338, 342, 348,
350, 352, 361, 366, 370, 372, 378, 380, 382, 383, 384, 385, 387, 391, 395,
397, 398, 401, 407, 411, 412, 421, 427, 428, 429, 430, 431, 434, 436, 441,
442, 444, 449, 450, 453, 454, 457, 461, 462, 466, 472, 484, 491, 494, 495,
496, and 501.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="App1.Ch1.S1.SS2">
  <title>Selection list for wine experiment</title>
      <p>The following 33 magnitude features have been selected: 1, 35, 46, 71, 99,
111, 142, 148, 152, 161, 229, 265, 270, 275, 280, 286, 294, 335, 352, 370,
372, 373, 382, 385, 398, 403, 435, 438, 444, 462, 484, 490, and 494.</p><?xmltex \hack{\clearpage}?>
</sec>
</app>
  </app-group><notes notes-type="authorcontribution">

      <p>Andreas König conceived the Lab-on-Spoon idea, initiated,
and guides the research project as principal investigator. He designed and
assembled the Arduino-based LoS prototypes shown in this paper, including the
embedded software, designed the experiments, did most of the described
measurements described in Sect. <xref ref-type="sec" rid="Ch1.S4"/>, and evaluated the data and
developed recognition systems based on QuickCog. He wrote the majority of
this paper. Kittikhun Thongpull developed the interface for LoS communication
and data acquisition based on Python and Orange and an interface to QuickCog,
did the milk decay and 1–10 % glycol-in-wine contamination experiments,
developed and applied a complete trainable SVM-based recognition system,
added life LoS data acquisition capability for demonstration purposes to
Orange, and conceived a robustly working life demo for contamination
detection in wine.</p>
  </notes><ack><title>Acknowledgements</title><p>This work follows up and exploits a previous funding by the German Federal
Ministry of Education and Research (BMBF) in the mst-AVS program, project
PAC4PT-ROSIG grant no. 16SV3604. The work on color sensor modules of
Thomas Gräf from 2004 in the Ambient Intelligence of Rhineland-Palatina
priority program, the code for AD5933 programming from the master project of
Thomas Bölke in our DeCaDrive project <xref ref-type="bibr" rid="bib1.bibx17" id="paren.45"/>, the
analog AD5933 front-end board and the 3-D spoon prints from David Los Arcos,
and the temperature measurement circuit of UST from the ROSIG project have
been employed in adapted form for the reported work. These contributions and
those of Abhay C. Kammara to the smart kitchen research and the support of
Dennis Groben in software and electronics issues are gratefully acknowledged.
In particular, the sponsorship of MAZeT GmbH of the LoS project is gratefully
acknowledged.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> Edited by:
M. Kraft<?xmltex \hack{\newline}?> Reviewed by: three anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Analog Devices(2011)</label><mixed-citation>
Analog Devices: AD5933 datasheet, Analog Devices, Inc., 2011.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Bajwa et al.(2013)Bajwa, Tan, Parameswaran, and Bahreyni</label><mixed-citation>
Bajwa, A., Tan, S. T., Parameswaran, A. M., and Bahreyni, B.: Automated rapid
detection of foodborne pathogens, in: Solid-State Sensors, Actuators and
Microsystems (TRANSDUCERS EUROSENSORS XXVII), 2013 Transducers Eurosensors
XXVII: The 17th International Conference, 337–340, June, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Demšar et al.(2013)</label><mixed-citation>
Demšar, J.,  Curk, T., Erjavec, A., Gorup, C., Hočevar, T.,
Milutinovič, M., Možina, M.,  Polajnar, M., Toplak, M., Starič, A.,
Štajdohar, M., Umek, L., Žagar, L., Žbontar, J., Žitnik, M., and
Zupan, B.: Orange: Data mining toolbox in python, J. Mach.
Learn. Res., 14, 2349–2353, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Edwards(2013)</label><mixed-citation>
Edwards, C.: Watch clever, Engineering &amp; Technology, 8, 30–35, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Fuller(2014)</label><mixed-citation>Fuller, T.: You call this thai food? the robotic taster will be the judge,
available at:
<uri>http://www.nytimes.com/2014/09/29/world/asia/bad-thai-food-enter-a-robot-taster.html</uri>
(last access: 14 January 2015), 2014.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Ghosh and Jayas(2009)</label><mixed-citation>
Ghosh, P. and Jayas, D.: Use of spectroscopic data for automation in food
processing industry, Sensing and Instrumentation for Food Quality and Safety,
3, 3–11, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Gruden et al.(2013)</label><mixed-citation>
Gruden, R., Köbele, W., Tran, D., and Kanoun, O.: Online Detection of the
Critical Micelle Concentration of Commercial Detergents by Impedance
Spectroscopy, in: Abstract Book, Int. Workshop on Impedance Spectroscopy IWIS
2013, Poster, 56–57, 25–27 September, Chemnitz, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Guermazi and Kanoun(2013)</label><mixed-citation>
Guermazi, M. and Kanoun, O.: Feature Extraction for Meat Characterization,
In: Abstract Book, Int. Workshop on Impedance Spectroscopy IWIS 2013, Poster,
95 pp., 25–27 September, Chemnitz, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Haykin(1994)</label><mixed-citation>
Haykin, S.: Neural Networks, A Comprehensive Foundation, 2nd Edn., Pearson
Education Inc., 1994.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Hofmann GmbH(2013)</label><mixed-citation>Hofmann GmbH: AML-Technology, available at: <uri>http://www.hofmann.de</uri>, last
access: 2 February 2013.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Johar and König(2013)</label><mixed-citation>
Johar, M. A. and König, A.: Advanced Sensory Electronics and Systems with
Self-x Capabilities by MEMS Switch Integration, Proc. of Int. Conf. on
SENSORS 2013, 346–351, AMA, Nürnberg, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Johar et al.(2011)</label><mixed-citation>
Johar, M. A., Freier, R., and König, A.: Adding Self-x Capabilities to
AMR Sensors as a First Step Towards Dependable Embedded System, in: Proc. of
the 9th WISES 2011, 41–46, 7–8 July, Regensburg, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>König(2001)</label><mixed-citation>
König, A.: Dimensionality Reduction Techniques for Interactive
Visualisation, Exploratory Data Analysis, and Classification, in: Pattern
Recognition in Soft Computing Paradigm, World Scientific, FLSI Soft Computing
Series, Vol. 2, edited by: Pal, N. R., ISBN 981-02-4491-6, 1–37, January,
2001.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>König(2008)</label><mixed-citation>
König, A.: Automated and Holistic Design of Intelligent and Distributed
Integrated Sensor Systems with Self-x Properties for Applications in Vision,
Robotics, Smart Environments, and Culinary Assistance Systems, Invited Talk,
Int. Conf. On Neural Information Processing of the Asia-Pacific Neural
Network Assembly (ICONIP'08), Book of Abstracts, 69–70, 25–28 November,
Auckland, New Zealand, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>König(2014)</label><mixed-citation>König, A.: Lab-on-Spoon – Multi-Sensorial 3D-integrated
Measurement System for Smart-Kitchen and AAL Applications,
available at: <uri>http://www.eit.uni-kl.de/koenig/gemeinsame_seiten/projects/LabonSpoon.html</uri> (last access: 14 January 2015), 2014.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>König et al.(1999)</label><mixed-citation>
König, A., Eberhardt, M., and Wenzel, R.: Quickcog self-learning
recognition system – exploiting machine learning techniques for transparent
and fast industrial recognition system design, Image Processing Europe,
Vol. Sept./Oct, 10–19, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Li et al.(2013)</label><mixed-citation>
Li, L., Bölke, T., and König, A.: Can Impedance Spectroscopy Serve in
an Embedded Multi-Sensor System to Improve Driver Drowsiness Detection, in:
Abstract Book, Int. Workshop on Impedance Spectroscopy IWIS 2013, 48–49,
25–27 September, Chemnitz, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Macdonald(1992)</label><mixed-citation>
Macdonald, J. R.: Impedance Spectroscopy, Ann. Biomed. Eng., 20, 289–305,
1992.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Meyer and Boll(2014)</label><mixed-citation>
Meyer, J. and Boll, S.: Digital health devices for everyone!, Pervasive
Computing, IEEE, 13, 10–13, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Muller et al.(2001)</label><mixed-citation>
Muller, K., Mika, S., Ratsch, G., Tsuda, K., and Scholkopf, B.: An introduction to
kernel-based learning algorithms, IEEE Transactions on Neural Networks, 12, 181–201, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Qian and Xiaofang(2014)</label><mixed-citation>Qian, Y. and Xiaofang, P.: Methods for differentiating recycled cooking oil
needed in china, available at:
<uri>http://www.aocs.org/Membership/FreeCover.cfm?itemnumber=18028</uri> (last
access: 14 January 2015), 2014.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Schröter et al.(2013)</label><mixed-citation>
Schröter, A., Gerlach, G., Rösen-Wolff, A., Wendler, J., Nocke, A.,
and Cherif, C.: Miniaturized Wound Sensors for Chromatin Detection, in:
Abstract Book, Int. Workshop on Imp. Spectr. IWIS 2013, Poster, 95 pp.,
25–27 September, Chemnitz, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Selker(2013)</label><mixed-citation>Selker, T.: Counter-Intelligence Project, MIT, available at:
<uri>http://www.media.mit.edu/ci/</uri>, last access: 2 February 2013.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Spiller et al.(2006)</label><mixed-citation>Spiller, E., Schöll, A., Alexy, R., Kämmerer, K., and Urban, G. A.: A
microsystem for growth inhibition test of Enterococcus faecalis based on
impedance measurement, Sensor. Actuat. B-Chem., 118, 182–191,
<ext-link xlink:href="http://dx.doi.org/10.1016/j.snb.2006.04.016" ext-link-type="DOI">10.1016/j.snb.2006.04.016</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Streil(2012)</label><mixed-citation>Streil, T.:
Bio-Scout, Product Information, SARAD GmbH, available at:
<uri>http://sarad.de/cms/media/docs/datenblatt/Bio-Scout_Infoblatt_20-12-12.pdf</uri>
(last access: 14 Januar 2015), 2012.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Tahara and Toko(2013)</label><mixed-citation>
Tahara, Y. and Toko, K.: Electronic tongues – a review, IEEE Sens. J., 13,
3001–3011, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Vessyl(2014)</label><mixed-citation>Vessyl: available at: <uri>www.myvessyl.com</uri> (last access: 14 January 2015),
2014.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx28"><label>Xi-Ai et al.(2011)Xi-Ai, Guang-Xin, Ping-Jie, Di-Bo, Xu-Sheng, and
Ze-Kui</label><mixed-citation>
Xi-Ai, C., Guang-Xin, Z., Ping-Jie, H., Di-Bo, H., Xu-Sheng, K., and Ze-Kui,
Z.: Classification of the green tea varieties based on support vector
machines using terahertz spectroscopy, in: Instrumentation and Measurement
Technology Conf. (I2MTC), 2011 IEEE, 1–5, May, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Xu and Chakrabarty(2009)</label><mixed-citation>
Xu, T. and Chakrabarty, K.: Design-for-testability for digital microfluidic
biochips, in: VLSI Test Symposium, VTS'09. 27th IEEE,
309–314, May, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Yang and Bashir(2008)</label><mixed-citation>
Yang, L. and Bashir, R.: Electrical/electrochemical impedance for rapid
detection of foodborne pathogenic bacteria, Biotechnol. Adv., 26, 135–150,
2008.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Zhao and Chakrabarty(2010)</label><mixed-citation>
Zhao, Y. and Chakrabarty, K.: Digital microfluidic logic gates and their
application to built-in self-test of lab-on-chip, IEEE Transactions on
Biomedical Circuits and Systems, 4, 250–262, 2010.</mixed-citation></ref>

  </ref-list><app-group content-type="float"><app><title/>

    </app></app-group></back>
    </article>
