Tech Briefs Magazine - June 2021 - 52

Software
LogFire
The software automatically checks mission operations logs.
NASA's Jet Propulsion Laboratory, Pasadena, California
ule-based systems seem natural for
runtime verification (RV)/program
monitoring. From a specification notation
point of view, rule-based systems
appear quite suitable for expressing the
kind of properties the runtime verification
community normally writes.
Specifications written in a rule system
have an operational flavor, which can
be seen as a disadvantage or an advantage,
depending on the viewpoint. The
operational flavor makes specifications
longer than in declarative temporal
logic or regular expressions; however,
they are natural to write. Once the core
idea is mastered, writing rules is
straightforward, like programming.
More declarative specifications can be
trickier to get right. This observation is
similar to the observation that it may be
easier to formulate a nontrivial property
as a state machine than as a temporal
logic formula or a regular expression.
JPL's rovers and spacecraft produce
telemetry streams when operating. A
R
telemetry stream is essentially a sequence
of events that is stored on the ground as a
log in persistent memory. Mission operations
need to produce automated checks
that these logs are correct. LogFire can
be used for checking these logs. LogFire,
for example, allows operations engineers
to automatically ensure that a rover performs
the correct steps.
LogFire reads in a log file and checks
it against a formal specification. The
specification can be formulated in a
rule-based language. The rule-based
specification language is implemented
as an API in the Scala programming
language. This re sults in a very powerful
specification language since one can
mix rules and traditional programming.
The
definition of the rule-based language
as an API in Scala has the appearance
of a DSL (Domain-Specific Lan -
guage) due to Scala's support for definition
of such (internal) DSLs. The
rule engine, which is based on the well
known RETE algorithm, has in addition
been augmented with the notion
of events, which are instantaneous in
contrast to long-living facts with which
rule engines normally work. Finally, an
indexing method has optimized the en -
gine to handle events that carry data.
LogFire furthermore allows specification
patterns to be easily encoded to generate
rules. It is relatively straightforward
to define specification patterns as fragments
of temporal logic and time lines
- instances of which are translated to
rules. An interesting nuance is that these
templates allow data-parameterized
events. Experiments have been performed
comparing the resulting implementation
with six other runtime verification
and rule-based systems.
NASA seeks to freely license this software
and make it available for general use for
open source projects. Please contact NASA's
Licensing Concierge at Agency-PatentLicensing@mail.nasa.gov
or call us at 202358-7432
to initiate licensing discussions.
WiFi RSSI Sensor Tracker for the ISS
This software could also be used for indoor navigation assistance for the visually impaired.
Lyndon B. Johnson Space Center, Houston, Texas
S
ensors aboard the International
Space Station (ISS), including personal
CO2 monitors, require location
tracking in order to correlate their timestamped
data with positional information.
Labeling of data based on visual
inspection is expensive and impractical
for tracking many sensors. A cheap and
efficient solution is to utilize the one
additional measurement device these
sensors have; namely, their WiFi or Blue -
tooth signal strength readings.
Using these signal strength readings,
this software aims to provide approximate
location information in time for
individual sensor units. The purpose of
the Module-level ISS Sensor Tracker
(MIST) project is to set a standard data
52
Cov
format and protocol for recording WiFi
signal strength information so that it
could later be used to locate sensors
onboard the ISS. Google and Apple have
proprietary solutions for location services
that combine GPS data with WiFi
strength readings to give an accurate estimate
of a cellphone's position; however,
no such method exists for tracking WiFienabled
devices on the ISS.
Support-vector machines (SVM) were
chosen as the algorithm to pursue. The
main motivation is the high accuracy relative
to the number of samples required
for training, as training data is the main
cost aboard the ISS. A Python application
and library for both logging WiFi
information and predicting positions
www.techbriefs.com
ToC
was developed. A pipeline of techniques
was constructed that gives highly accurate
performance for the data sets collected.
With a simple moving-window filter,
the predictor can correctly identify
which module a sensor is in with >95%
accuracy. Further improvements will be
able to bring this much closer to 100%.
The software program consists of two
operating modes: training and runtime.
For training, WiFi RSSI data is collected
using standard Linux command line utilities
and is stored in a csv format. The RSSI
readings at each time step are correlated
to a numbered location; in this case, the
ISS module. This data is run through a set
of preprocessing functions that strips away
bad/sparse readings and arranges the
Tech Briefs, June 2021
http://www.techbriefs.com http://www.abpi.net/ntbpdfclicks/l.php?202106TBNAV

Tech Briefs Magazine - June 2021

Table of Contents for the Digital Edition of Tech Briefs Magazine - June 2021

Tech Briefs Magazine - June 2021 - Intro
Tech Briefs Magazine - June 2021 - Sponsor
Tech Briefs Magazine - June 2021 - Band1
Tech Briefs Magazine - June 2021 - Band2
Tech Briefs Magazine - June 2021 - Cov1
Tech Briefs Magazine - June 2021 - Cov2
Tech Briefs Magazine - June 2021 - 1
Tech Briefs Magazine - June 2021 - 2
Tech Briefs Magazine - June 2021 - 3
Tech Briefs Magazine - June 2021 - 4
Tech Briefs Magazine - June 2021 - 5
Tech Briefs Magazine - June 2021 - 6
Tech Briefs Magazine - June 2021 - 7
Tech Briefs Magazine - June 2021 - 8
Tech Briefs Magazine - June 2021 - 9
Tech Briefs Magazine - June 2021 - 10
Tech Briefs Magazine - June 2021 - 11
Tech Briefs Magazine - June 2021 - 12
Tech Briefs Magazine - June 2021 - 13
Tech Briefs Magazine - June 2021 - 14
Tech Briefs Magazine - June 2021 - 15
Tech Briefs Magazine - June 2021 - 16
Tech Briefs Magazine - June 2021 - 17
Tech Briefs Magazine - June 2021 - 18
Tech Briefs Magazine - June 2021 - 19
Tech Briefs Magazine - June 2021 - 20
Tech Briefs Magazine - June 2021 - 21
Tech Briefs Magazine - June 2021 - 22
Tech Briefs Magazine - June 2021 - 23
Tech Briefs Magazine - June 2021 - 24
Tech Briefs Magazine - June 2021 - 25
Tech Briefs Magazine - June 2021 - 26
Tech Briefs Magazine - June 2021 - 27
Tech Briefs Magazine - June 2021 - 28
Tech Briefs Magazine - June 2021 - 29
Tech Briefs Magazine - June 2021 - 30
Tech Briefs Magazine - June 2021 - 31
Tech Briefs Magazine - June 2021 - 32
Tech Briefs Magazine - June 2021 - 33
Tech Briefs Magazine - June 2021 - 34
Tech Briefs Magazine - June 2021 - 35
Tech Briefs Magazine - June 2021 - 36
Tech Briefs Magazine - June 2021 - 37
Tech Briefs Magazine - June 2021 - 38
Tech Briefs Magazine - June 2021 - 39
Tech Briefs Magazine - June 2021 - 40
Tech Briefs Magazine - June 2021 - 41
Tech Briefs Magazine - June 2021 - 42
Tech Briefs Magazine - June 2021 - 43
Tech Briefs Magazine - June 2021 - 44
Tech Briefs Magazine - June 2021 - 45
Tech Briefs Magazine - June 2021 - 46
Tech Briefs Magazine - June 2021 - 47
Tech Briefs Magazine - June 2021 - 48
Tech Briefs Magazine - June 2021 - 49
Tech Briefs Magazine - June 2021 - 50
Tech Briefs Magazine - June 2021 - 51
Tech Briefs Magazine - June 2021 - 52
Tech Briefs Magazine - June 2021 - 53
Tech Briefs Magazine - June 2021 - 54
Tech Briefs Magazine - June 2021 - 55
Tech Briefs Magazine - June 2021 - 56
Tech Briefs Magazine - June 2021 - 57
Tech Briefs Magazine - June 2021 - 58
Tech Briefs Magazine - June 2021 - 59
Tech Briefs Magazine - June 2021 - 60
Tech Briefs Magazine - June 2021 - 61
Tech Briefs Magazine - June 2021 - 62
Tech Briefs Magazine - June 2021 - 63
Tech Briefs Magazine - June 2021 - 64
Tech Briefs Magazine - June 2021 - Cov3
Tech Briefs Magazine - June 2021 - Cov4
Tech Briefs Magazine - June 2021 - MD-Cov1
Tech Briefs Magazine - June 2021 - MD-Cov2
Tech Briefs Magazine - June 2021 - MD-1
Tech Briefs Magazine - June 2021 - MD-2
Tech Briefs Magazine - June 2021 - MD-3
Tech Briefs Magazine - June 2021 - MD-4
Tech Briefs Magazine - June 2021 - MD-5
Tech Briefs Magazine - June 2021 - MD-6
Tech Briefs Magazine - June 2021 - MD-7
Tech Briefs Magazine - June 2021 - MD-8
Tech Briefs Magazine - June 2021 - MD-9
Tech Briefs Magazine - June 2021 - MD-10
Tech Briefs Magazine - June 2021 - MD-11
Tech Briefs Magazine - June 2021 - MD-12
Tech Briefs Magazine - June 2021 - MD-13
Tech Briefs Magazine - June 2021 - MD-14
Tech Briefs Magazine - June 2021 - MD-15
Tech Briefs Magazine - June 2021 - MD-16
Tech Briefs Magazine - June 2021 - MD-17
Tech Briefs Magazine - June 2021 - MD-18
Tech Briefs Magazine - June 2021 - MD-19
Tech Briefs Magazine - June 2021 - MD-20
Tech Briefs Magazine - June 2021 - MD-21
Tech Briefs Magazine - June 2021 - MD-22
Tech Briefs Magazine - June 2021 - MD-23
Tech Briefs Magazine - June 2021 - MD-24
Tech Briefs Magazine - June 2021 - MD-Cov3
Tech Briefs Magazine - June 2021 - MD-Cov4
Tech Briefs Magazine - June 2021 - ST-Cov1
Tech Briefs Magazine - June 2021 - ST-Cov2
Tech Briefs Magazine - June 2021 - ST-1
Tech Briefs Magazine - June 2021 - ST-2
Tech Briefs Magazine - June 2021 - ST-3
Tech Briefs Magazine - June 2021 - ST-4
Tech Briefs Magazine - June 2021 - ST-5
Tech Briefs Magazine - June 2021 - ST-6
Tech Briefs Magazine - June 2021 - ST-7
Tech Briefs Magazine - June 2021 - ST-8
Tech Briefs Magazine - June 2021 - ST-9
Tech Briefs Magazine - June 2021 - ST-10
Tech Briefs Magazine - June 2021 - ST-11
Tech Briefs Magazine - June 2021 - ST-12
Tech Briefs Magazine - June 2021 - ST-13
Tech Briefs Magazine - June 2021 - ST-14
Tech Briefs Magazine - June 2021 - ST-15
Tech Briefs Magazine - June 2021 - ST-16
Tech Briefs Magazine - June 2021 - ST-17
Tech Briefs Magazine - June 2021 - ST-18
Tech Briefs Magazine - June 2021 - ST-19
Tech Briefs Magazine - June 2021 - ST-20
Tech Briefs Magazine - June 2021 - ST-21
Tech Briefs Magazine - June 2021 - ST-22
Tech Briefs Magazine - June 2021 - ST-23
Tech Briefs Magazine - June 2021 - ST-24
Tech Briefs Magazine - June 2021 - ST-25
Tech Briefs Magazine - June 2021 - ST-26
Tech Briefs Magazine - June 2021 - ST-27
Tech Briefs Magazine - June 2021 - ST-28
Tech Briefs Magazine - June 2021 - ST-29
Tech Briefs Magazine - June 2021 - ST-30
Tech Briefs Magazine - June 2021 - ST-31
Tech Briefs Magazine - June 2021 - ST-32
Tech Briefs Magazine - June 2021 - ST-33
Tech Briefs Magazine - June 2021 - ST-34
Tech Briefs Magazine - June 2021 - ST-35
Tech Briefs Magazine - June 2021 - ST-36
Tech Briefs Magazine - June 2021 - ST-37
Tech Briefs Magazine - June 2021 - ST-Cov4
https://www.nxtbook.com/smg/techbriefs/25TB01
https://www.nxtbook.com/smg/techbriefs/24TB12
https://www.nxtbook.com/smg/techbriefs/24TB11
https://www.nxtbook.com/smg/techbriefs/24TB10
https://www.nxtbook.com/smg/techbriefs/24TB09B
https://www.nxtbook.com/smg/techbriefs/24TB09
https://www.nxtbook.com/smg/techbriefs/24TB08
https://www.nxtbook.com/smg/techbriefs/24TB07
https://www.nxtbook.com/smg/techbriefs/24TB06
https://www.nxtbook.com/smg/techbriefs/24TB05B
https://www.nxtbook.com/smg/techbriefs/24TB05
https://www.nxtbook.com/smg/techbriefs/24TB04
https://www.nxtbook.com/smg/techbriefs/24TB03
https://www.nxtbook.com/smg/techbriefs/24TB02
https://www.nxtbook.com/smg/techbriefs/24TB01
https://www.nxtbook.com/smg/techbriefs/23TB12
https://www.nxtbook.com/smg/techbriefs/23TB11
https://www.nxtbook.com/smg/techbriefs/23TB10
https://www.nxtbook.com/smg/techbriefs/23TB09
https://www.nxtbook.com/smg/techbriefs/23TB08
https://www.nxtbook.com/smg/techbriefs/23TB07
https://www.nxtbook.com/smg/techbriefs/23TB06
https://www.nxtbook.com/smg/techbriefs/23TB05
https://www.nxtbook.com/smg/techbriefs/23TB04
https://www.nxtbook.com/smg/techbriefs/23TB03
https://www.nxtbook.com/smg/techbriefs/23TB02
https://www.nxtbook.com/smg/techbriefs/23TB01
https://www.nxtbook.com/smg/Testing/22TB12
https://www.nxtbook.com/smg/techbriefs/22TB12
https://www.nxtbook.com/smg/techbriefs/22TB11
https://www.nxtbook.com/smg/techbriefs/22TB10
https://www.nxtbook.com/smg/techbriefs/22TB09
https://www.nxtbook.com/smg/techbriefs/22TB08
https://www.nxtbook.com/smg/techbriefs/22TB07
https://www.nxtbook.com/smg/techbriefs/22TB06
https://www.nxtbook.com/smg/techbriefs/22TB05-P
https://www.nxtbook.com/smg/techbriefs/22TB05-D
https://www.nxtbook.com/smg/techbriefs/22TB04
https://www.nxtbook.com/smg/techbriefs/22TB03
https://www.nxtbook.com/smg/techbriefs/22TB02
https://www.nxtbook.com/smg/techbriefs/22TB01
https://www.nxtbook.com/smg/techbriefs/21TB12
https://www.nxtbook.com/smg/techbriefs/21TB11
https://www.nxtbook.com/smg/techbriefs/21TB10
https://www.nxtbook.com/smg/techbriefs/21TB09
https://www.nxtbook.com/smg/techbriefs/21TB08
https://www.nxtbook.com/smg/techbriefs/21TB07
https://www.nxtbook.com/smg/techbriefs/21TB06
https://www.nxtbook.com/smg/techbriefs/21TB05
https://www.nxtbook.com/smg/techbriefs/21TB04
https://www.nxtbook.com/smg/techbriefs/21BT03
https://www.nxtbook.com/smg/techbriefs/21TB02
https://www.nxtbookmedia.com