Moved pgf plots into own tex files
This commit is contained in:
@@ -76,7 +76,7 @@ The \docLogDistance{} model can be reformulated to compute the distance $d_i$ ba
|
||||
\end{equation}
|
||||
|
||||
Since $\mathcal{X}_{\sigma_i}$ is a Gaussian random variable, the logarithm of $d_i$ is normally distributed as well.
|
||||
Consequently, the distance $d_i$ follows a log-normal distribution, $\ln{d_i} \sim \mathcal{N}(d_i^*, \sigma_{i,d}^2)$, where $d_i=\ln(10) \frac{P_0 - P_i}{10\mPLE}$ is the expected distance and $\sigma_{i,d}^2=\left( \frac{\ln(10)\sigma_i}{10\mPLE} \right)^2$ is the variance of the distance.
|
||||
Consequently, the distance $d_i$ follows a log-normal distribution, \ie $\ln\left(d_i\right) \sim \mathcal{N}\left(d_i^*, \ln\left(\sigma_{i}^2\right)\right)$, where $d_i^*=\ln(10) \frac{P_0 - P_i}{10\mPLE}$ is the expected distance and $\ln\left(\sigma_{i}^2\right)=\left( \frac{\ln(10)\sigma_i}{10\mPLE} \right)^2$ is the variance of the distance.
|
||||
|
||||
In free space the value of the path loss exponent is $\mPLE=2$.
|
||||
In indoor scenarios $\mPLE$ accounts for the architecture around the AP, thus a single global factor is chosen for the whole building.
|
||||
|
||||
@@ -175,23 +175,15 @@ However, the overall error of the device combinations is reasonable small and it
|
||||
|
||||
\begin{figure}[ht]
|
||||
\centering
|
||||
\begin{minipage}{.45\textwidth}
|
||||
\centering
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:a}\includegraphics[width=\textwidth]{plots/MeanDistPixel.pgf}}
|
||||
\end{minipage}\hspace{.09\textwidth}
|
||||
\begin{minipage}{.45\textwidth}
|
||||
\centering
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:b}\includegraphics[width=\textwidth]{plots/MeanDistIntel.pgf}}
|
||||
\end{minipage}\par\medskip
|
||||
\centering
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:c}%
|
||||
\input{plots/DistErrorCdf.pgf}%
|
||||
%\includegraphics[width=\textwidth,axisratio=2.3]{plots/DistErrorCdf.pgf}%
|
||||
}
|
||||
\caption{\ref{fig:DistMeasMeanNucPixel:a}, \ref{fig:DistMeasMeanNucPixel:b} show the mean distance per smartphone and per access point, respectively. \ref{fig:DistMeasMeanNucPixel:c} is the CDF of the measurement error for each device combination.}
|
||||
\label{fig:DistMeasMeanNucPixel}
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:a}\includegraphics[]{MeanDistPixel.pdf}}\hspace{0.5cm}
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:b}\includegraphics[]{MeanDistIntel.pdf}}
|
||||
\par\medskip
|
||||
\subfloat[]{\label{fig:DistMeasMeanNucPixel:c}\includegraphics[]{DistErrorCdf.pdf}}
|
||||
\caption{\ref{fig:DistMeasMeanNucPixel:a}, \ref{fig:DistMeasMeanNucPixel:b} show the mean distance per smartphone and per access point, respectively. \ref{fig:DistMeasMeanNucPixel:c} is the CDF of the measurement error for each device combination.}
|
||||
\label{fig:DistMeasMeanNucPixel}
|
||||
\end{figure}
|
||||
|
||||
|
||||
% Smartphones und Intel cards in einer table
|
||||
\begin{table}[ht]
|
||||
\renewcommand{\arraystretch}{1.2}
|
||||
@@ -235,10 +227,21 @@ In the case of a fire outbreak these doors are automatically closed, but normall
|
||||
Whenever such fire door is in the line of sight between the access point and smartphone the ranging error increases significantly.
|
||||
|
||||
To quantify the impact of these fire doors on the FTM measurement we created two test setups as seen in \autoref{fig:BSTExp}.
|
||||
In the first experiment as shown in \autoref{fig:BSTExp:a} we used the same access point position as in the test walks described below.
|
||||
We placed seven measurement points on a circle so that most of these points are in the main hallway.
|
||||
The radius of the circle is \SI{10}{m} and measure point 1,2 and 3 are located in the shadow of the fire door while points 4 to 7 are not.
|
||||
At every point we placed the \pixelOld on a metal stand \SI{1.05}{m} above the floor and recored FTM distance measurements for \SI{60}{s} which results in around 255 distance measurements per point.
|
||||
In the first experiment, as shown in \autoref{fig:BSTExp:a}, we used the same access point position as in the test walks of the next section.
|
||||
We placed seven measurement points on a circle so that most of these points are located in the main hallway.
|
||||
The radius of the circle is \SI{10}{m} and measure point 1 to 3 are located in the shadow of the fire door while points 4 to 7 are not.
|
||||
At every point we placed the \pixelOld on a metal stand \SI{1.05}{m} above the floor and recored FTM distance measurements for \SI{60}{s} with one measurement every \SI{200}{ms}, which results in around 255 successful distance measurements per point.
|
||||
%Note that this number is the mean of all successful measurements and the theoretical number of total measurements should be 300.
|
||||
Note that this number differs from the theoretical possible 300 measurements because some measurements fail due to NLOS.
|
||||
|
||||
The results are depicted in \autoref{fig:Bst1Results}.
|
||||
The error in the shadow area is larger compared to the points not shadowed by the fire door.
|
||||
While the mean distances at point 1 and 2 are off by around \SI{10}{m} the error decreases monotonously for the following points.
|
||||
Point 5 to 7 are not affected by the fire wall with a mean error of \SI{0.8}{m}.
|
||||
But the deviation at point 4, which signal path is quite close to the door, is somewhat larger.
|
||||
The distribution of the distances recorded at point 2 has two modes at \SI{16.55}{m} and \SI{34.12}{m}.
|
||||
|
||||
|
||||
|
||||
\begin{figure}[ht]
|
||||
\centering
|
||||
@@ -254,8 +257,8 @@ At every point we placed the \pixelOld on a metal stand \SI{1.05}{m} above the f
|
||||
\label{fig:BSTExp}
|
||||
\end{figure}
|
||||
|
||||
Notice that point 2, 3, 5 and 6 are located near a stairways with massive metal railings.
|
||||
While it is expected that the stairways also disturb the measurement the measure points are actually included in the test walks.
|
||||
Notice that point 2, 3, 5 and 6 are located near stairways with massive metal railings.
|
||||
It is expected that the stairways also disturb the measurement additionally, but they are still of real interest because they are included in the test walks.
|
||||
|
||||
|
||||
In order to evaluate the effect of the fire door exclusively, we build a second test setup at a corner office located next to a fire door.
|
||||
@@ -264,29 +267,16 @@ The groundtruth was obtained by carefully measuring the distances to walls and t
|
||||
|
||||
\begin{figure}[ht]
|
||||
\centering
|
||||
\begin{minipage}{.55\textwidth}
|
||||
\centering
|
||||
\subfloat[]{\label{fig:Bst1Results:a}%
|
||||
\resizebox{\textwidth}{7cm}{\input{plots/BSTPlot1.pgf}}%
|
||||
% \includegraphics[width=\textwidth, axisratio=1.5]{plots/BSTPlot1.pgf}%
|
||||
}
|
||||
\end{minipage}\hspace{.09\textwidth}
|
||||
\begin{minipage}{.35\textwidth}
|
||||
\centering
|
||||
\subfloat[]{\label{fig:Bst1Results:b}%
|
||||
\resizebox{\textwidth}{7cm}{\input{plots/BSTPlot1Rssi.pgf}}%
|
||||
% \includegraphics[width=\textwidth, axisratio=0.86]{plots/BSTPlot1Rssi.pgf}%
|
||||
}
|
||||
\end{minipage}\par\medskip
|
||||
\label{fig:Bst1Results}
|
||||
\subfloat[]{\label{fig:Bst1Results:a}\includegraphics[]{BSTPlot1.pdf}}\hspace{0.25cm}
|
||||
\subfloat[]{\label{fig:Bst1Results:b}\includegraphics[]{BSTPlot1Rssi.pdf}}
|
||||
\caption{}
|
||||
\label{fig:Bst1Results}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\begin{figure}[ht]
|
||||
\centering
|
||||
\input{plots/BSTPlot2.pgf}
|
||||
% \includegraphics[width=\textwidth]{plots/BSTPlot2.pgf}
|
||||
\includegraphics[]{BSTPlot2.pdf}
|
||||
\label{fig:Bst2Results}
|
||||
\caption{Results for setup as seen in \figref{fig:BSTExp}. While the groundtruth distance only slightly varies (black line) the mean measured distance (blue line) varies greatly depending on the relative position to the fire door.}
|
||||
\end{figure}
|
||||
|
||||
Reference in New Issue
Block a user