where dsp meets ubicomp

108
Where signal processing meets ubiquitous computing: the role of DSP in the vision of UbiComp; Sustainability, Health, and User Interfaces Eric Larson

Upload: eric-larson

Post on 18-Jan-2015

450 views

Category:

Technology


0 download

DESCRIPTION

A summary of ongoing research we have been working on at the University of Washington. I gave this in August 2011 at Georgia Tech. My take on how signal processing shapes the projects of UbiComp, turning a novel idea into a robust reality.

TRANSCRIPT

Page 1: Where DSP meets UbiComp

Where signal processing meets ubiquitous computing:

the role of DSP in the vision of UbiComp; Sustainability, Health, and

User Interfaces

Eric Larson

Page 2: Where DSP meets UbiComp

Graduated Oklahoma State

University

Signals, Systems, Controls

2006

2011

2007

2008

2009

2010

MS Thesis: Subjective Image Quality Prediction

1st Paper: on image texture analysis3rd Paper: on predicting

image quality

5th Paper: on evolutionary computation / facial

analysis

(shift in interests…)

Started at University of Washington

time series analysis…

User Interface and Touch Sensing

HydroSense

Mobile Health Sensing

Page 3: Where DSP meets UbiComp

Religion:Language:Hobbies:

mathematics

MATLAB, C++

-filtering

-statistics

-doing FFTs by hand

-finding applications…

the DSP student

Page 4: Where DSP meets UbiComp

Religion:Language:Hobbies:

passion for UbiComp

everything but MATLAB

-writing code in five

languages

-soldering

-machine learning

-user studies

-picking an app…

the UbiComp student

toaster?

Page 5: Where DSP meets UbiComp
Page 6: Where DSP meets UbiComp

water fixture

classification

TED for water

health sensing

from phone

user interface sensing

Page 7: Where DSP meets UbiComp

TED for water

water fixture

classification

health sensing

from phone

user interface sensing

Page 8: Where DSP meets UbiComp

water scarcity

Page 9: Where DSP meets UbiComp
Page 10: Where DSP meets UbiComp

water

Page 11: Where DSP meets UbiComp

• single, screw-on sensor

• senses pressure in real time

hydrosense

Froehlich et al., UbiComp2009; Larson et al., PMC2010

Page 12: Where DSP meets UbiComp

brief plumbing tutorial

Page 13: Where DSP meets UbiComp

water towerwater tower

plumbing primer

Page 14: Where DSP meets UbiComp

water tower

plumbing primer

water tower

incoming cold water from supply line

Page 15: Where DSP meets UbiComp

water tower

pressure regulator

water tower

utility water meter

pressure regulator

incoming cold water from supply line

Page 16: Where DSP meets UbiComp

water tower

pressure regulator

water tower

utility water meter

pressure regulator

incoming cold water from supply line

Page 17: Where DSP meets UbiComp

water tower

plumbing layout

water tower

incoming cold water from supply line

utility water meter

pressure regulator

Page 18: Where DSP meets UbiComp

water tower

closed pressure system

water tower

thermal expansion

tank

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

dishwasher

incoming cold water from supply line

kitchen

Page 19: Where DSP meets UbiComp

water tower

closed pressure system

water tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

bathroom 2

kitchen

dishwasher

incoming cold water from supply line

hot water heater

thermal expansion

tank

hot water heater

Page 20: Where DSP meets UbiComp

water towerwater tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

dishwasher

incoming cold water from supply line

toilet flushed

toilet

kitchen

thermal expansion

tank

Page 21: Where DSP meets UbiComp

water towerwater tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

kitchen

dishwasher

incoming cold water from supply line

toilet

kitchen sink cold

open

kitchen sink cold

thermal expansion

tank

Page 22: Where DSP meets UbiComp

water towerwater tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

kitchen

dishwasher

incoming cold water from supply line

toilet

kitchen sink hot

open

kitchen sink cold kitchen

sink hot

thermal expansion

tank

Page 23: Where DSP meets UbiComp

water towerwater tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

kitchen

dishwasher

incoming cold water from supply line

kitchen sink hot

open

thermal expansion

tank

kitchen sink hot

Page 24: Where DSP meets UbiComp

water towerwater tower

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

kitchen

dishwasher

incoming cold water from supply line

Page 25: Where DSP meets UbiComp

40

50

60

70

80

Cold Line Pressure(Hose Spigot)

0 94.5

time (s)

psi

open

close

bathroom sink pressure signal

Page 26: Where DSP meets UbiComp

40

50

60

70

80

Cold Line Pressure(Hose Spigot)

0 94.5

time (s)

psi

open

close

bathroom sink pressure signal

flow volume

Page 27: Where DSP meets UbiComp

Poiseuille’s Equationpressure drop of laminar water flow in a pipe:

Q = Volumetric Flow RateΔP = Pressure Dropr = Pipe Radiusl = Pipe Lengthµ = Fluid Viscosity

Page 28: Where DSP meets UbiComp

Blasius’ Equation

pressure drop of turbulent water flow in a pipe:

Q = Volumetric Flow RateΔP = Pressure Dropr = Pipe RadiusL = Pipe LengthRe = Reynolds Numberρ = Fluid Density

Page 29: Where DSP meets UbiComp

Bucket Trials

• 9 Homes• 41

Fixtures• 541 trials

Page 30: Where DSP meets UbiComp

Flow Rate (gpm)

Pres

sure

(psi

)

Stabilized Pressure vs Flow Rate Residence 6

Page 31: Where DSP meets UbiComp

Stabilized Pressure vs Flow Rate Residence 7Stabilized Pressure vs Flow Rate Residence 7

Page 32: Where DSP meets UbiComp

Stabilized Pressure vs Flow Rate Residence 7

Page 33: Where DSP meets UbiComp

44

46

48

bandpass

derivative

(psi/s)time (s)

smoothed

pressure(psi)

0 5 10 15 20 25 30 35 40 4542

44

46

48

50

raw pressure

(psi)

-4

0

4

a new featuremax resonance

max amplitud

e

Page 34: Where DSP meets UbiComp

Max Amplitude vs Flow Rate Residence 7

Page 35: Where DSP meets UbiComp

Kitchen SinkBasement Sink

Bathroom Sink

Basement

Shower

Upstairs Shower

Upstairs Bath

stable pressure (psi)

max a

mp

litud

e

Page 36: Where DSP meets UbiComp

e-kNN

*Garcia, Gupta, and Chen (2008)

convex hull

linear regression

feature 1

featu

re 2

test point

pressure

reso

nance

Page 37: Where DSP meets UbiComp

e-kNN results

median error: within 0.15 gpm

80% within 0.5 gpm

Page 38: Where DSP meets UbiComp

gpm% o

f act

ual

volu

me

Neptune T-10 Water meter

error for e-kNN (10-fold cross val.)error E-kNN only kitchen + bath

volume prediction

Page 39: Where DSP meets UbiComp
Page 40: Where DSP meets UbiComp

hot vs cold

• max resonance only• ICA• median error: 0.2 gpm• 75th percentile: 0.42

gpm

Page 41: Where DSP meets UbiComp

TED for water

water fixture

classification

health sensing

from phone

user interface sensing

Page 42: Where DSP meets UbiComp

toilet78.4

gallons

shower62.4

gallons

bath6.5

gallons

today‘s usage

bathroom sink 1

4.2 gallons

bathroom sink 2

0.8 gallons

Page 43: Where DSP meets UbiComp

toilet78.4

gallons

shower10.4

gallons

bath0.0

gallons

bathroom sink 1

1.2 gallons

bathroom sink 2

0.8 gallons

shower52.4

gallons

bath6.5

gallons

bathroom sink 1

3.2 gallons

bathroom sink 2

2.4 gallons

today‘s usage: hot vs cold

Page 44: Where DSP meets UbiComp

hydrosenseexample pressure waves

bath open

dishwasher open

upstairs toilet flush

downstairs toilet flush

downstairs shower open

kitchen sink cold open

kitchen sink hot open

Page 45: Where DSP meets UbiComp

toilet

natural water use

70

50

30pre

ssu

re (

psi

)

kitchen sink kitchen sinkbathroom

sink

Page 46: Where DSP meets UbiComp

water tower

thermal expansion

tank

hosespigot

utility water meter

pressure regulator

laundry

bathroom 1

hot water heater bathroom

2

dishwasher

incoming cold water from supply line

kitchen

data collection

Page 47: Where DSP meets UbiComp
Page 48: Where DSP meets UbiComp
Page 49: Where DSP meets UbiComp
Page 50: Where DSP meets UbiComp
Page 51: Where DSP meets UbiComp
Page 52: Where DSP meets UbiComp

totals

days 33 33 30 27 33 156

events 2374 3075 4754 2499 2578 14,960

events/day 71.9 93.2 158.5 92.6 78.1 95.9

compound 22.2% 21.8% 16.6% 32% 21.3% 21.9%

5-week dataset

Page 53: Where DSP meets UbiComp

signal behavior

algorithm: bayesian inference

Page 54: Where DSP meets UbiComp

bath

toilet

unclassified event

term(i) signal features

shower

event library

Page 55: Where DSP meets UbiComp

unclassified event

term(i) signal features

shower

toilet

bath

toilet

pressure drop=flow rate

Page 56: Where DSP meets UbiComp

term(i) signal features

shower

toilet

bath

toilet

resonance tracking

unclassified event

Page 57: Where DSP meets UbiComp

sig

nal

tran

sform

sunclassified event event library

toile

t

unclassified event

dish

was

her

kitc

hen

fauc

et

detrended

derivative

bandpass

derivative

cepstrum

55%

85%

65%

90%

detrended

derivative

bandpass

derivative

cepstrum

signal feature comparisons

Page 58: Where DSP meets UbiComp

toile

t

unclassified event

term(i) template matching

compare across multiple signal transformations

dish

was

her

kitc

hen

fa

ucet

show

er

event library

Page 59: Where DSP meets UbiComp

unclassified event event library

toile

t

unclassified event

dish

was

her

kitc

hen

fauc

etshow

er

sig

nal

tran

sform

s

Page 60: Where DSP meets UbiComp

toile

tdi

shw

ashe

r

kitc

hen

fauc

etshow

er

unclassified event event library

unclassified eventassess

similarity

15%

55%

18%

9%

sig

nal

tran

sform

s

Page 61: Where DSP meets UbiComp

sig

nal

tran

sform

s

Page 62: Where DSP meets UbiComp

term(i) template matchingfilter transforms

Page 63: Where DSP meets UbiComp

term(i) template matchingtransforms: const-Q

Page 64: Where DSP meets UbiComp

unclassified event event library

toile

t

unclassified event

dish

was

her

kitc

hen

fauc

et

show

er

detrended

derivative

bandpass

derivative

const-Q cepstrum

sig

nal

tran

sform

s

Page 65: Where DSP meets UbiComp

unclassified event event library

toile

t

unclassified event

dish

was

her

kitc

hen

fauc

et

detrended

derivative

bandpass

derivative

const-Q cepstrum

55%

85%

65%

90%

detrended

derivative

bandpass

derivative

const-Q cepstrum

sig

nal

tran

sform

s

Page 66: Where DSP meets UbiComp

term(i) signal features

shower

toilet

bath

toilet

resonance tracking

unclassified event

template comparisons

signal feature comparisons

Page 67: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

term (i): templates and signal features

Page 68: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

term (i): templates and signal features

Page 69: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

term (ii): bigram language model

Page 70: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

term (ii): bigram language model

Page 71: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

term (ii): bigram language model

Page 72: Where DSP meets UbiComp

705030p

ress

ure

P(kitchen sink hot

open)

14%

P(kitchen sink cold

open)P(toilet open)

P(kitchen hot/cold

close)P(kitchen hot close)

P(toilet close)

3%

15%

2%

6%

1%

4.6%

4.3%

4.1%

term (ii): bigram language model

sequence 1

sequence 2

sequence 3

Page 73: Where DSP meets UbiComp

705030p

ress

ure

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

kitchen sink hot open

shower cold open

toiletopen

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

sequence 1

sequence 2

sequence 3

term (ii): bigram language model

Page 74: Where DSP meets UbiComp

term(iii): grammar

opened closedopened closedtemperature consistency

1

2

3

soft penalty

Page 75: Where DSP meets UbiComp

705030p

ress

ure

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

term(iii): grammar

sequence 1

sequence 2

sequence 3

Page 76: Where DSP meets UbiComp

705030p

ress

ure

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

term(iii): grammar

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

Page 77: Where DSP meets UbiComp

705030p

ress

ure

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

term(iii): grammar

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

Page 78: Where DSP meets UbiComp

705030p

ress

ure

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

term(iii): grammar

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

Page 79: Where DSP meets UbiComp

fixture usage duration flow volume

term(iv): paired valve priors

0 20 40 6050

60

70

estimated flow volume

30 15060 90 120seconds

bin

fre

quency

3 96estimated gallons

1 12

open close

faucettoilet

bath faucet

toilet

bath

paired

Page 80: Where DSP meets UbiComp

705030p

ress

ure

term(iv): paired valve priors

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

Page 81: Where DSP meets UbiComp

705030p

ress

ure

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

term(iv): paired valve priors

Page 82: Where DSP meets UbiComp

705030p

ress

ure

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

term(iv): paired valve priorstoilet

kitchen sink kitchen sinkbathroom

sink

Page 83: Where DSP meets UbiComp

three levels of granularity

valve levele.g., upstairs bathroom faucet hot water activated

1

fixture levele.g., upstairs bathroom faucet activated

2

fixture category levele.g., faucet activated

3

Page 84: Where DSP meets UbiComp

hydrosense classification resultsreal-world water usage data

0%

20%

40%

60%

80%

100%

75.5% 89.5% 95.9%

one sensor, terms(i)-(iv)

fixture category

fixturevalve

*error bars = std error *10-fold cross validation, 15000 events

Page 85: Where DSP meets UbiComp

0%

20%

40%

60%

80%

100%

75.5% 89.5% 95.9%82.4% 93.5% 97.7%

hydrosense classification resultsreal-world water usage data

two sensors, terms(i)-(iv)

fixture category

fixturevalve

*error bars = std error

one sensor, terms(i)-(iv)

*10-fold cross validation, 15000 events

Page 86: Where DSP meets UbiComp

705030pre

ssu

re

kitchen sink hot open

kitchen sink cold open

dishwasher open

bathroom sinkhot close

kitchen sinkhot close

toiletopen

toiletclose

kitchen sinkhot close

kitchen sink hot open

toiletopen

bathroom sinkhot open

bathroom sinkhot close

kitchen sinkhot close

kitchen sink

hot open

kitchen sinkhot close

toilet close

bathroom sink hot open

shower cold open

toiletopen

bathroom sinkhot close

showercold close

kitchen sink

hot open

toiletclose

kitchen sinkhot close

hand washing

brushing teeth

washing dishes

shaving… …

Page 87: Where DSP meets UbiComp
Page 88: Where DSP meets UbiComp

TED for water

water fixture

classification

health sensing

from phone

user interface sensing

Page 89: Where DSP meets UbiComp

counting coughs

Page 90: Where DSP meets UbiComp

Self Report Sensing

Page 91: Where DSP meets UbiComp

annotate each sound type

data collectionGo back to daily routine for 3-7 hours

pay attention to your cough frequency

Come back and self-report cough frequencydata annotation

One week pilot and set up guideline and shared wiki

4 weeks6 linguistic students

cough speech laughter

breath

sneeze wind sniff noise

throat-clearing others’ cough

Come to Lab

Coughing?

Page 92: Where DSP meets UbiComp
Page 93: Where DSP meets UbiComp

PCA tree bagging decision

48000features

13features

Page 94: Where DSP meets UbiComp
Page 95: Where DSP meets UbiComp

future work• spirometry from a mobile phone• working with children’s hospital in seattle

mySpirometer App, 2009

Page 96: Where DSP meets UbiComp

TED for water

water fixture

classification

health sensing

from phone

user interface sensing

Page 97: Where DSP meets UbiComp
Page 98: Where DSP meets UbiComp

0.1um 1um 10 um 100 um

Wavelength

Visible InfraredUV

Sou

rce

Inte

nsi

ty

Solar Reflection

Thermal Radiation

RGBDept

hThermal

Near Far Infrared

Page 99: Where DSP meets UbiComp

strokes

chording

hand prints

curves

multi-user pressure

Page 100: Where DSP meets UbiComp

Jon FroehlichTim CampbellSean LiuSidhant Gupta

Eric SwansonTien-Jui LeeElliot SabaGabe Cohn

Page 101: Where DSP meets UbiComp

Where signal processing meets ubiquitous computing:

the role of DSP in the vision of UbiComp; Sustainability, Health, and

User InterfacesEric [email protected]@ericcooplarson

Page 102: Where DSP meets UbiComp
Page 103: Where DSP meets UbiComp
Page 104: Where DSP meets UbiComp
Page 105: Where DSP meets UbiComp
Page 106: Where DSP meets UbiComp
Page 107: Where DSP meets UbiComp
Page 108: Where DSP meets UbiComp