Преглед изворни кода

added infor for characteristics of sensors. But this is a full copy and paste from notes. So this needs to be reworded

Aravinthyan пре 5 година
родитељ
комит
0430881676
7 измењених фајлова са 170 додато и 37 уклоњено
  1. 56 0
      src/design_methodology_and_implementation.tex
  2. 14 6
      src/main.aux
  3. 72 19
      src/main.log
  4. 14 6
      src/main.out
  5. BIN
      src/main.pdf
  6. BIN
      src/main.synctex.gz
  7. 14 6
      src/main.toc

+ 56 - 0
src/design_methodology_and_implementation.tex

@@ -9,22 +9,78 @@
 
 % explain the IoT stack and each layer
 
+\textbf{{\small Model 1}}
+
+\textbf{{\small Model 2}}
+
 % talk about which model was chosen for the project
 
+\textbf{{\small Chosen Model}}
+
 \subsubsection{Characteristics of Sensors}
 
+\textbf{{\small Range}}
+
+Maximum and minimum value range over which a sensor works well. Sensors may work well outside this range, but require additional calibration. e.g. the output may no longer be linear. \\
+
+\textbf{{\small Accuracy}}
+
+How well the sensor measures the environment in an absolute sense, i.e. how good the data is when compared with a recognized standard. e.g. a temperature sensor accurate to 0.001oC is expected to agree within 0.001oC with a known temperature standard. This is what you want to compare results with other observations. \\
+
+\textbf{{\small Resolution}}
+
+The ability of a sensor to see small differences in readings. e.g. a temperature sensor may have a resolution of $\mbox{0.000,01}^{o}\mbox{C}$, but only be accurate to $\mbox{0.001}^{o}\mbox{C}$. Can detect relatively small changes in temperature, smaller than the accuracy of the sensor. Resolution in often controlled by the quantisation in digitising the signal so is not a function of the sensor itself, but of the sampling process. \\
+
+\textbf{{\small Repeatability}}
+
+This is the ability of a sensor to repeat a measurement when put back in the same environment. It is often directly related to accuracy, but a sensor can be inaccurate, yet be repeatable in making observations. \\
+
+\textbf{{\small Drift/Stability}}
+
+This is the low frequency change in a sensor with time, i.e., with a given input you always get the same output. It is often associated with electronic aging of components or reference standards in the sensor. \\
+
+\textbf{{\small Response time}}
+
+A simple estimate of the frequency response of a sensor assuming a change in the measurement. \\
+
+\textbf{{\small Output}}
+
+What output is given for a change in the parameter being measured. For example, a voltage range e.g. 0 to 5 volts for an input range of 0 to $\mbox{30}^{o}\mbox{C}$. \\ 
+
+\textbf{{\small Power Consumption}}
+
+What is needed to power the sensor, quite often specified as the current draw. \\
+
+\textbf{{\small Setting Time}}
+
+After being switched on, how long before a valid measurement is ready. \\
+
+\textbf{{\small Sampling time required}}
+
+How often do we need to repeat measurements to get an accurate picture of the phenomenon being measured. \\
+
 \subsubsection{Communication Protocol for sensor data}
 
+% Give a small general introduction to the topic
+
+\textbf{$\mbox{I}^{2}\mbox{C}$}
+
 % I2C - image
 
+\textbf{SPI}
+
 % SPI - image
 
 \subsubsection{Methods for accessing external devices}
 
 % Polling
 
+\textbf{{\small Polling}}
+
 % Interrupts
 
+\textbf{{\small Interrupts}}
+
 \subsubsection{Low Power Mode}
 
 \subsection{System Design}

+ 14 - 6
src/main.aux

@@ -19,11 +19,19 @@
 \@writefile{toc}{\contentsline {section}{\numberline {1}Executive Summary}{3}{section.1}\protected@file@percent }
 \@writefile{toc}{\contentsline {section}{\numberline {2}Business Case}{4}{section.2}\protected@file@percent }
 \@writefile{toc}{\contentsline {section}{\numberline {3}Design Methodology and Implementation}{5}{section.3}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Background Theory}{5}{subsection.3.1}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.1}IoT Stack}{5}{subsubsection.3.1.1}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}System Design}{5}{subsection.3.2}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {4}Experimental Results}{6}{section.4}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}The Problem}{5}{subsection.3.1}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Background Theory}{5}{subsection.3.2}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}IoT Stack}{5}{subsubsection.3.2.1}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.2}Characteristics of Sensors}{5}{subsubsection.3.2.2}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.3}Communication Protocol for sensor data}{6}{subsubsection.3.2.3}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.4}Methods for accessing external devices}{6}{subsubsection.3.2.4}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.5}Low Power Mode}{6}{subsubsection.3.2.5}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}System Design}{6}{subsection.3.3}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.3.1}Layer 1 approach}{6}{subsubsection.3.3.1}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.3.2}Layer 2 approach}{6}{subsubsection.3.3.2}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.3.3}Layer 3 approach}{6}{subsubsection.3.3.3}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {4}Experimental Results}{7}{section.4}\protected@file@percent }
 \bibstyle{IEEEtran}
 \bibdata{references.bib}
-\@writefile{toc}{\contentsline {section}{\numberline {5}Engineering Trade-offs}{7}{section.5}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{Appendices}{7}{section*.3}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {5}Engineering Trade-offs}{8}{section.5}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{Appendices}{8}{section*.3}\protected@file@percent }

+ 72 - 19
src/main.log

@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2020.1.7)  25 APR 2020 13:12
+This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex 2020.1.7)  26 APR 2020 18:24
 entering extended mode
  restricted \write18 enabled.
  %&-line parsing enabled.
@@ -444,37 +444,90 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 
  [2]
 (./executive_summary.tex) (./business_case.tex [3])
-(./design_methodology_and_implementation.tex [4]) (./experimental_results.tex
-[5]) (./engineering_trade_offs.tex [6]) (./main.bbl
+(./design_methodology_and_implementation.tex [4]
+Underfull \hbox (badness 10000) in paragraph at lines 24--25
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 28--29
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 32--33
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 36--37
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 40--41
+
+ []
+
+[5]
+Underfull \hbox (badness 10000) in paragraph at lines 44--45
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 48--49
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 52--53
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 56--57
+
+ []
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 60--61
+
+ []
+
+) (./experimental_results.tex [6]) (./engineering_trade_offs.tex [7])
+(./main.bbl
 
 LaTeX Warning: Empty `thebibliography' environment on input line 24.
 
 ) (./appendices.tex)
 Package atveryend Info: Empty hook `BeforeClearDocument' on input line 93.
- [7]
+ [8]
 Package atveryend Info: Empty hook `AfterLastShipout' on input line 93.
  (./main.aux)
 Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 93.
 Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 93.
 Package rerunfilecheck Info: File `main.out' has not changed.
-(rerunfilecheck)             Checksum: 5AF1347131C22498779022E252C2F571;526.
+(rerunfilecheck)             Checksum: 876D8246EEBD11C9A54E783A53834B7C;1171.
 Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 93.
  ) 
 Here is how much of TeX's memory you used:
- 9376 strings out of 492615
- 140895 string characters out of 11881391
- 12243077 words of memory out of 17000000
- 13169 multiletter control sequences out of 15000+600000
- 9414 words of font info for 33 fonts, out of 12000000 for 9000
+ 9395 strings out of 492615
+ 141235 string characters out of 11881391
+ 12243081 words of memory out of 17000000
+ 13178 multiletter control sequences out of 15000+600000
+ 9722 words of font info for 34 fonts, out of 12000000 for 9000
  1141 hyphenation exceptions out of 8191
- 42i,6n,40p,262b,318s stack positions out of 5000i,500n,10000p,12000000b,80000s
-</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></us
-r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share
-/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb>
-Output written on main.pdf (7 pages, 41437 bytes).
+ 42i,7n,40p,501b,318s stack positions out of 5000i,500n,10000p,12000000b,80000s
+</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></us
+r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/shar
+e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi8.pfb></usr/share/texli
+ve/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texm
+f-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/
+fonts/type1/public/amsfonts/cm/cmr8.pfb>
+Output written on main.pdf (8 pages, 79549 bytes).
 PDF statistics:
- 103 PDF objects out of 1000 (max. 8388607)
- 90 compressed objects within 1 object stream
- 19 named destinations out of 1000 (max. 500000)
- 73 words of extra memory for PDF output out of 10000 (max. 10000000)
+ 161 PDF objects out of 1000 (max. 8388607)
+ 143 compressed objects within 2 object streams
+ 28 named destinations out of 1000 (max. 500000)
+ 137 words of extra memory for PDF output out of 10000 (max. 10000000)
 

+ 14 - 6
src/main.out

@@ -1,9 +1,17 @@
 \BOOKMARK [1][-]{section.1}{Executive Summary}{}% 1
 \BOOKMARK [1][-]{section.2}{Business Case}{}% 2
 \BOOKMARK [1][-]{section.3}{Design Methodology and Implementation}{}% 3
-\BOOKMARK [2][-]{subsection.3.1}{Background Theory}{section.3}% 4
-\BOOKMARK [3][-]{subsubsection.3.1.1}{IoT Stack}{subsection.3.1}% 5
-\BOOKMARK [2][-]{subsection.3.2}{System Design}{section.3}% 6
-\BOOKMARK [1][-]{section.4}{Experimental Results}{}% 7
-\BOOKMARK [1][-]{section.5}{Engineering Trade-offs}{}% 8
-\BOOKMARK [1][-]{section*.3}{Appendices}{}% 9
+\BOOKMARK [2][-]{subsection.3.1}{The Problem}{section.3}% 4
+\BOOKMARK [2][-]{subsection.3.2}{Background Theory}{section.3}% 5
+\BOOKMARK [3][-]{subsubsection.3.2.1}{IoT Stack}{subsection.3.2}% 6
+\BOOKMARK [3][-]{subsubsection.3.2.2}{Characteristics of Sensors}{subsection.3.2}% 7
+\BOOKMARK [3][-]{subsubsection.3.2.3}{Communication Protocol for sensor data}{subsection.3.2}% 8
+\BOOKMARK [3][-]{subsubsection.3.2.4}{Methods for accessing external devices}{subsection.3.2}% 9
+\BOOKMARK [3][-]{subsubsection.3.2.5}{Low Power Mode}{subsection.3.2}% 10
+\BOOKMARK [2][-]{subsection.3.3}{System Design}{section.3}% 11
+\BOOKMARK [3][-]{subsubsection.3.3.1}{Layer 1 approach}{subsection.3.3}% 12
+\BOOKMARK [3][-]{subsubsection.3.3.2}{Layer 2 approach}{subsection.3.3}% 13
+\BOOKMARK [3][-]{subsubsection.3.3.3}{Layer 3 approach}{subsection.3.3}% 14
+\BOOKMARK [1][-]{section.4}{Experimental Results}{}% 15
+\BOOKMARK [1][-]{section.5}{Engineering Trade-offs}{}% 16
+\BOOKMARK [1][-]{section*.3}{Appendices}{}% 17


BIN
src/main.synctex.gz


+ 14 - 6
src/main.toc

@@ -1,9 +1,17 @@
 \contentsline {section}{\numberline {1}Executive Summary}{3}{section.1}% 
 \contentsline {section}{\numberline {2}Business Case}{4}{section.2}% 
 \contentsline {section}{\numberline {3}Design Methodology and Implementation}{5}{section.3}% 
-\contentsline {subsection}{\numberline {3.1}Background Theory}{5}{subsection.3.1}% 
-\contentsline {subsubsection}{\numberline {3.1.1}IoT Stack}{5}{subsubsection.3.1.1}% 
-\contentsline {subsection}{\numberline {3.2}System Design}{5}{subsection.3.2}% 
-\contentsline {section}{\numberline {4}Experimental Results}{6}{section.4}% 
-\contentsline {section}{\numberline {5}Engineering Trade-offs}{7}{section.5}% 
-\contentsline {section}{Appendices}{7}{section*.3}% 
+\contentsline {subsection}{\numberline {3.1}The Problem}{5}{subsection.3.1}% 
+\contentsline {subsection}{\numberline {3.2}Background Theory}{5}{subsection.3.2}% 
+\contentsline {subsubsection}{\numberline {3.2.1}IoT Stack}{5}{subsubsection.3.2.1}% 
+\contentsline {subsubsection}{\numberline {3.2.2}Characteristics of Sensors}{5}{subsubsection.3.2.2}% 
+\contentsline {subsubsection}{\numberline {3.2.3}Communication Protocol for sensor data}{6}{subsubsection.3.2.3}% 
+\contentsline {subsubsection}{\numberline {3.2.4}Methods for accessing external devices}{6}{subsubsection.3.2.4}% 
+\contentsline {subsubsection}{\numberline {3.2.5}Low Power Mode}{6}{subsubsection.3.2.5}% 
+\contentsline {subsection}{\numberline {3.3}System Design}{6}{subsection.3.3}% 
+\contentsline {subsubsection}{\numberline {3.3.1}Layer 1 approach}{6}{subsubsection.3.3.1}% 
+\contentsline {subsubsection}{\numberline {3.3.2}Layer 2 approach}{6}{subsubsection.3.3.2}% 
+\contentsline {subsubsection}{\numberline {3.3.3}Layer 3 approach}{6}{subsubsection.3.3.3}% 
+\contentsline {section}{\numberline {4}Experimental Results}{7}{section.4}% 
+\contentsline {section}{\numberline {5}Engineering Trade-offs}{8}{section.5}% 
+\contentsline {section}{Appendices}{8}{section*.3}%