-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
180 lines (130 loc) · 8.69 KB
/
main.tex
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
\documentclass[a4paper,oneside,12pt]{book}
%----------------------------------------------------------------------------------------
% WELCOME!
% It's probably worth having a read through this file to set up the broad parameters.
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% COVER PAGE
% The cover page is laid out in title/title.tex. You can choose a colour
% or black and white logo
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% THESIS INFORMATION
% Put title, author name, degree, type of work, school, department in here
% It will be used for the title page and for the embedded PDF information
%----------------------------------------------------------------------------------------
\newcommand{\thesistitle}{Learning for sensor-based, real-time fall detection for cyclists. } % Your thesis title, this is used in the title and abstract
\newcommand{\degree}{B. A (Mod.) Computer Science} % Your degree name, this is used in the title page and abstract
\newcommand{\typeofthesis}{Final Year Project} % dissertation, Final Year Project, report, etc.
\newcommand{\authorname}{Aidan Mongan} % Your name, this is used in the title page and PDF stuff
%% Comment out the next line if you don't want your ID to appear
\newcommand{\authorid}{14334583} % Your ID
\newcommand{\keywords}{this, that, more} % Keywords for your thesis
\newcommand{\school}{\href{http://www.scss.tcd.ie}{School of Computer Science and Statistics}} % Your school's name and URL, this is used in the title page
%% Comment out the next line if you don't want a department to appear
%\newcommand{\department}{\href{http://researchgroup.university.com}{Department Name}} % Your research group's name and URL, this is used in the title page
\AtBeginDocument{
\hypersetup{pdftitle=\thesistitle} % Set the PDF's title to your title
\hypersetup{pdfauthor=\authorname} % Set the PDF's author to your name
\hypersetup{pdfkeywords=\keywords} % Set the PDF's keywords to your keywords
\hypersetup{pdfsubject=\degree} % Set the PDF's keywords to your keywords
}
%% Language and font encodings
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
%% Bibliographical stuff
\usepackage[round,sort,comma,numbers]{natbib}
%% Document size
% include showframe as an option if you want to see the boxes
\usepackage[a4paper,top=2.54cm,bottom=2.54cm,left=2.54cm,right=2.54cm,headheight=16pt]{geometry}
%% Useful packages
\usepackage{amsmath}
\usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
\usepackage[pdftex]{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks=true, allcolors=black]{hyperref}
\usepackage{caption} % if no caption, no colon
\usepackage{sfmath} %use sans-serif in the maths sections too
\usepackage[parfill]{parskip} % Begin paragraphs with an empty line rather than an indent
\usepackage{setspace} % to permit one-and-a-half or double spacing
\usepackage{enumerate} % fancy enumerations like (i) (ii) or (a) (b) and suchlike
\usepackage{booktabs} % To thicken table lines
\usepackage{fancyhdr}
\usepackage{wrapfig}
\pagestyle{plain} % Embrace simplicity!
%% The Mechanical engineers require your name and ID on the top of every page.
%% Uncomment the following block if you want your name and ID at the top of
%% (almost) every page.
%\pagestyle{fancy}
%\fancyhf{} % sets both header and footer to nothing
%\renewcommand{\headrulewidth}{0pt}
%\cfoot{\thepage}
%\ifdefined\authorid
%\chead{\it \authorname\ (\authorid)}
%\else
%\chead{\it \authorname}
%\fi
%% End of block
%% It is not a requirement of the university that the font should be sans-serif, but
%% the Mechanical engineers require it. Comment out the following line to disable it
\renewcommand{\familydefault}{\sfdefault} %use the sans-serif font as default
%% If you're not using sans-serif, consider using Palatino instead of the LaTeX standard
%\usepackage{mathpazo} % Use the Palatino font by default if you prefer it to Computer Modern
\renewcommand{\theequation}{\arabic{equation}} %% use continuous equation numbers
%% Format Chapter headings appropriately
\usepackage{titlesec}
\titleformat{\chapter}[hang]
{\normalfont\huge\bfseries}{\thechapter}{1cm}{}
\title{\thesistitle}
\author{\authorname}
\frontmatter
\usepackage{listings}
\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\begin{document}
\input{title/title.tex}
\pagenumbering{roman}
\section*{\Huge{Declaration}}
\vspace{1cm}
I hereby declare that this project is entirely my own work and that it has not been submitted as an exercise for a degree at this or any other university.
\vspace{1cm}
I have read and I understand the plagiarism provisions in the General Regulations of the University Calendar for the current year, found at \url{http://www.tcd.ie/calendar}.
\vspace{1cm}
I have also completed the Online Tutorial on avoiding plagiarism `Ready Steady Write', located at
\url{http://tcd-ie.libguides.com/plagiarism/ready-steady-write}.
\vspace{3cm}
Signed:~\rule{5cm}{0.3pt}\hfill Date:~\rule{5cm}{0.3pt}
\chapter*{Abstract}
Like all extreme sports, mountain biking comes with the potential for serious injury to the rider in the event of an accident. Non fatal injuries can easily become fatal, when one is alone, far from help and potentially incapacitated. A study conducted by Paracelsus Medical University recorded injury rates as high as 16.8 injuries per 1000 hours of riding, with 22 being moderate and 16 being severe, with rider error being the leading cause \cite{studyOfMTBInjuries}. An automated crash detection system has the potential to be life saving in the worst of circumstances.
Existing discipline-specific solutions e.g., for road only or for mountain use only, on both hardware (Specialized’s AnGi) and software (Strava Beacon,Garmin) have inflexible detection algorithms focusing on using thresholds for only one to two data points. For example AnGi records values from its inbuilt gyroscope and accelerometer, while Garmin’s system uses only accelerometer values. Such threshold-based solutions pose issues in terms of high false detection rates and a single threshold value is unlikely to be suitable for different users at different skill levels.
This project expands on previous research done in the area of wearable fall detection devices for the elderly, focusing on the design of a software solution for real-time fall detection. Three data points are used: raw sensor data from both a tri-axial gyroscope and a tri-axial accelerometer as well as the rate of change of speed, calculated via GPS. The proposed system utilizes learning techniques to improve detection rates and over time generates a more personalized model. Based on pre-captured training data of both regular riding and crashes, data is classified using a multivariable logistic regression model in real-time to determine whether a crash has occurred. Raw sensor data is captured from the inbuilt sensors present on android smartphones.
This approach is implemented as an android application called “RideSafe” and was evaluated using a user study, comprising of 16 participants at local trail centres over a 2 day period. Crash data was also collected, by means of intentional crashes in a controlled environment for verification. Results show that this system can successfully detect upwards of 80\% of crashes with a low rate of 18\% false positives.
\newpage
\onehalfspacing\raggedright %\raggedright turns off justification and hypenation
\section*{\Huge{Acknowledgements}}
I would like to thank my supervisor Siobhan, for her continuous support over the past 6 months.
My sincere gratitude to both family and friends for their invaluable advice and support received over the past 5 years.
I also wish to thank my tutor Dr. Hugh Gibbons, without whom, I may not have made it through to my final year.
Finally a special thanks to everyone who partook in this study, especially Matt from Glencullen Adventure Park for allowing testing to take place on site.
\tableofcontents
\listoffigures
\listoftables
\lstlistoflistings
\newpage
\mainmatter
\input{introduction/introduction.tex}
\input{background/background.tex}
\input{design/design.tex}
\input{implementation/implementation.tex}
%%\input{project/project.tex}
\input{evaluation/evaluation.tex}
\input{conclusion/conclusion.tex}
\bibliographystyle{unsrtnat}
\bibliography{bibs/references}
\appendix
\renewcommand{\thechapter}{A\arabic{chapter}}
\input{appendix/appendix.tex}
\end{document}