-
Notifications
You must be signed in to change notification settings - Fork 0
/
Technical-Details.html
260 lines (251 loc) · 16.5 KB
/
Technical-Details.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html style="font-size: 16px;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="page_type" content="np-template-header-footer-from-plugin">
<title>Technical Details</title>
<link rel="stylesheet" href="nicepage.css" media="screen">
<link rel="stylesheet" href="Technical-Details.css" media="screen">
<script class="u-script" type="text/javascript" src="jquery.js" defer=""></script>
<script class="u-script" type="text/javascript" src="nicepage.js" defer=""></script>
<meta name="generator" content="Nicepage 4.1.0, nicepage.com">
<link id="u-theme-google-font" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i">
<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Organization",
"name": "QEA 3 Final Website"
}</script>
<meta name="theme-color" content="#478ac9">
<meta property="og:title" content="Technical Details">
<meta property="og:description" content="">
<meta property="og:type" content="website">
</head>
<body class="u-body"><header class="u-clearfix u-header u-header" id="sec-6c8b"><div class="u-clearfix u-sheet u-sheet-1">
<nav class="u-menu u-menu-dropdown u-offcanvas u-menu-1">
<div class="menu-collapse" style="font-size: 1rem; letter-spacing: 0px;">
<a class="u-button-style u-custom-left-right-menu-spacing u-custom-padding-bottom u-custom-top-bottom-menu-spacing u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="#">
<svg><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#menu-hamburger"></use></svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><symbol id="menu-hamburger" viewBox="0 0 16 16" style="width: 16px; height: 16px;"><rect y="1" width="16" height="2"></rect><rect y="7" width="16" height="2"></rect><rect y="13" width="16" height="2"></rect>
</symbol>
</defs></svg>
</a>
</div>
<div class="u-custom-menu u-nav-container">
<ul class="u-nav u-unstyled u-nav-1"><li class="u-nav-item"><a class="u-button-style u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="Overview.html" style="padding: 10px 20px;">Overview</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="Technical-Details.html" style="padding: 10px 20px;">Technical Details</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="Results.html" style="padding: 10px 20px;">Results</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="About-Us.html" style="padding: 10px 20px;">About Us</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link u-text-active-palette-1-base u-text-hover-palette-2-base" href="Citations.html" style="padding: 10px 20px;">Citations</a>
</li></ul>
</div>
<div class="u-custom-menu u-nav-container-collapse">
<div class="u-black u-container-style u-inner-container-layout u-opacity u-opacity-95 u-sidenav">
<div class="u-inner-container-layout u-sidenav-overflow">
<div class="u-menu-close"></div>
<ul class="u-align-center u-nav u-popupmenu-items u-unstyled u-nav-2"><li class="u-nav-item"><a class="u-button-style u-nav-link" href="Overview.html" style="padding: 10px 20px;">Overview</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link" href="Technical-Details.html" style="padding: 10px 20px;">Technical Details</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link" href="Results.html" style="padding: 10px 20px;">Results</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link" href="About-Us.html" style="padding: 10px 20px;">About Us</a>
</li><li class="u-nav-item"><a class="u-button-style u-nav-link" href="Citations.html" style="padding: 10px 20px;">Citations</a>
</li></ul>
</div>
</div>
<div class="u-black u-menu-overlay u-opacity u-opacity-70"></div>
</div>
</nav>
</div></header>
<section class="u-clearfix u-section-1" id="sec-1640">
<div class="u-clearfix u-sheet u-valign-bottom u-sheet-1">
<div class="u-clearfix u-expanded-width u-gutter-0 u-layout-wrap u-layout-wrap-1">
<div class="u-layout" style="">
<div class="u-layout-row" style="">
<div class="u-align-center u-container-style u-layout-cell u-left-cell u-size-60 u-size-xs-60 u-white u-layout-cell-1" src="">
<div class="u-container-layout u-container-layout-1">
<h2 class="u-text u-text-1">Technical Details</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="u-clearfix u-section-2" id="sec-0bf9">
<div class="u-clearfix u-sheet u-sheet-1">
<div class="u-clearfix u-expanded-width u-gutter-0 u-layout-wrap u-layout-wrap-1">
<div class="u-gutter-0 u-layout">
<div class="u-layout-col">
<div class="u-size-20">
<div class="u-layout-row">
<div class="u-container-style u-image u-layout-cell u-size-30 u-image-1" data-image-width="1600" data-image-height="1200">
<div class="u-container-layout u-valign-middle u-container-layout-1"></div>
</div>
<div class="u-align-left u-container-style u-layout-cell u-size-30 u-layout-cell-2">
<div class="u-container-layout u-container-layout-2">
<h2 class="u-text u-text-1">Attaching phone</h2>
<p class="u-text u-text-2">We attached the phone to the back of the hand, as the motion we are measuring comes from the wrist.</p>
</div>
</div>
</div>
</div>
<div class="u-size-20">
<div class="u-layout-row">
<div class="u-align-left u-container-style u-layout-cell u-size-30 u-layout-cell-3">
<div class="u-container-layout u-container-layout-3">
<h2 class="u-text u-text-3">Collecting data</h2>
<p class="u-text u-text-4">We collected both "clean" and "noisy" data to analyze with our motion model. To collect the "clean" data, we listened to a metronome and matched the sweep frequency to the beat to time the sweep. To collect the "noisy" data, we didn't listen to the metronome, which reduced the consistency of the frequency.</p>
</div>
</div>
<div class="u-container-style u-image u-layout-cell u-size-30 u-image-2" data-image-width="600" data-image-height="450">
<div class="u-container-layout u-valign-middle u-container-layout-4"></div>
</div>
</div>
</div>
<div class="u-size-20">
<div class="u-layout-row">
<div class="u-container-style u-image u-image-contain u-layout-cell u-size-30 u-image-3" data-image-width="1600" data-image-height="1351">
<div class="u-container-layout u-container-layout-5"></div>
</div>
<div class="u-align-center u-container-style u-layout-cell u-size-30 u-layout-cell-6">
<div class="u-container-layout u-valign-middle u-container-layout-6">
<h2 class="u-text u-text-5">Understanding orientation</h2>
<p class="u-text u-text-6">Before we could begin to process the analyzing the data, we had to understand the coordinate system of the phone's accelerometer. The photo to the left shows the coordinate system with respect to how we were mounting the phone to the hand and collecting data.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="u-align-center u-clearfix u-section-3" id="sec-9b0e">
<div class="u-clearfix u-sheet u-sheet-1">
<h2 class="u-text u-text-default u-text-1">Motion Model</h2>
<p class="u-text u-text-2"> B<b>
<span style="font-weight: 400;">ecause the phone is attached to the plane of the user’s hand, which is angled at around 45 degrees above horizontal, we expect periodic angular acceleration along only the y- and z-axes of rotation.</span></b>
</p>
<div class="u-expanded-width u-gallery u-layout-grid u-lightbox u-show-text-on-hover u-gallery-1">
<div class="u-gallery-inner u-gallery-inner-1">
<div class="u-effect-fade u-gallery-item">
<div class="u-back-slide" data-image-width="1219" data-image-height="1600">
<img class="u-back-image u-expanded u-image-contain" src="images/Page1.png">
</div>
<div class="u-over-slide u-shading u-over-slide-1">
<h3 class="u-gallery-heading"></h3>
<p class="u-gallery-text"></p>
</div>
</div>
<div class="u-effect-fade u-gallery-item">
<div class="u-back-slide" data-image-width="1219" data-image-height="1600">
<img class="u-back-image u-expanded u-image-contain" src="images/Page2.png">
</div>
<div class="u-over-slide u-shading u-over-slide-2">
<h3 class="u-gallery-heading"></h3>
<p class="u-gallery-text"></p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="u-clearfix u-section-4" id="sec-8455">
<div class="u-clearfix u-sheet u-sheet-1">
<div class="u-clearfix u-expanded-width u-gutter-10 u-layout-wrap u-layout-wrap-1">
<div class="u-gutter-0 u-layout">
<div class="u-layout-row">
<div class="u-size-31-sm u-size-31-xs u-size-42-lg u-size-42-xl u-size-60-md">
<div class="u-layout-col">
<div class="u-size-60">
<div class="u-layout-row">
<div class="u-align-left u-container-style u-image u-image-contain u-layout-cell u-left-cell u-size-60 u-image-1" src="" data-image-width="840" data-image-height="630">
<div class="u-container-layout u-valign-middle u-container-layout-1" src=""></div>
</div>
</div>
</div>
</div>
</div>
<div class="u-size-18-lg u-size-18-xl u-size-29-sm u-size-29-xs u-size-60-md">
<div class="u-layout-col">
<div class="u-align-left u-container-style u-layout-cell u-right-cell u-size-60 u-white u-layout-cell-2">
<div class="u-container-layout u-container-layout-2">
<h2 class="u-text u-text-default u-text-1">Accelerometer Plots</h2>
<p class="u-text u-text-2">As we predicted in our motion model, the majority of the angular velocity is seen as a periodic function in the z-axis. The periodic function is also projected onto the y-axis.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="u-clearfix u-section-5" id="sec-66a5">
<div class="u-clearfix u-sheet u-valign-middle u-sheet-1">
<div class="u-list u-list-1">
<div class="u-repeater u-repeater-1">
<div class="u-container-style u-list-item u-repeater-item">
<div class="u-container-layout u-similar-container u-container-layout-1">
<img alt="" class="u-expanded-width u-image u-image-default u-image-1" data-image-width="772" data-image-height="630" src="images/x_angvel60bpm.png">
<h3 class="u-text u-text-default u-text-1">X-axis Frequency Plot</h3>
<p class="u-text u-text-2"><b>
<span style="font-weight: 400;">
<br>The FFT of the angular velocity about the x-axis shows multiple distinct peaks at low magnitudes. This matches our expected motion model because the data along this axis of motion is primarily noise and not periodic.<span style="font-weight: 400;"></span>
</span>
<br></b>
</p>
</div>
</div>
<div class="u-container-style u-list-item u-repeater-item">
<div class="u-container-layout u-similar-container u-container-layout-2">
<img alt="" class="u-expanded-width u-image u-image-default u-image-2" data-image-width="772" data-image-height="630" src="images/y_angvel60bpm.png">
<h3 class="u-text u-text-default u-text-3"> Y-axis Frequency Plot</h3>
<p class="u-text u-text-4"> T<b>
<span style="font-weight: 400;">he FFT of the angular velocity about the y-axis shows one set of distinct peaks that correspond to the rate of sweeping the cane. This matches our expected motion model for sweeping at a consistent rate, confirming that for clean data, the motion about the periodic axes will produce a FFT plot that reflects the tempo</span>.</b>
</p>
</div>
</div>
<div class="u-container-style u-list-item u-repeater-item">
<div class="u-container-layout u-similar-container u-container-layout-3">
<img alt="" class="u-expanded-width u-image u-image-default u-image-3" data-image-width="772" data-image-height="630" src="images/z_angvel60bpm.png">
<h3 class="u-text u-text-default u-text-5"> Z-axis Frequency Plot</h3>
<p class="u-text u-text-6"> Th<b>
<span style="font-weight: 400;">e</span>
<span style="font-weight: 400;"> FFT of the angular velocity about the y-axis shows one set of distinct peaks that correspond to the rate of sweeping the cane. We expect this to agree with t</span>
<span style="font-weight: 400;">he y-axis FFT because there is periodic motion about both those axes.</span></b>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="u-align-center u-clearfix u-section-6" id="sec-7ddc">
<div class="u-align-center u-clearfix u-sheet u-valign-middle u-sheet-1">
<h2 class="u-text u-text-default u-text-1">Algorithm</h2>
<p class="u-align-left u-text u-text-2"> T<b>
<span style="font-weight: 400;">he motion data is taken using MATLAB Mobile. The data is loaded in through a .mat file, and we are interested in the angular velocities over time. We take the Fourier transform with sampling rate F_s of 100 Hz, which matches the sample rate of the data collection. We observe that in the magnitude vs. frequency plot for ideal, non-noisy data, the frequency of the peak with the greatest magnitude (in Hz, or sweeps per second) can be converted to sweeps per minute by multiplying by 60. Our algorithm takes in a .mat file as an input and outputs (a) angular velocity vs. time plots, (b) FFT plots, and (c) predicted sweep tempo along each axis based on the peak frequency from each FFT.</span></b>
<br>
</p>
<a href="https://github.com/berwinlan/qea3-final/tree/main/sourcecode" class="u-btn u-button-style u-grey-90 u-btn-1" target="_blank">Try the code!</a>
</div>
</section>
<footer class="u-align-center u-clearfix u-footer u-grey-80 u-footer" id="sec-a20d"><div class="u-clearfix u-sheet u-sheet-1">
<p class="u-small-text u-text u-text-variant u-text-1">QEA 3 Final<br>Olin College of Engineering<br>Fall 2021
</p>
</div></footer>
<section class="u-backlink u-clearfix u-grey-80">
<a class="u-link" href="https://nicepage.com/website-templates" target="_blank">
<span>Website Templates</span>
</a>
<p class="u-text">
<span>created with</span>
</p>
<a class="u-link" href="" target="_blank">
<span>Website Builder Software</span>
</a>.
</section>
</body>
</html>