{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Appendix C: TDOA Localization Algorithm\n",
"\n",
"\n",
"## Time-Difference Of Arrival (TDOA) Algorithm\n",
"\n",
"\n",
"Let $\\mathbf{x} = [x,y]^T$ be the location of the car, and call $\\mathbf{x}_i = [x_i,y_i]^T$, $i = 1, \\cdots, N$ the known locations of the microphones. The Time Difference of Arrival (TDOA) for each sensor pair $(i,j)$ is translated to a range difference (by multiplying by the speed of sound) $r_{ij}$, where\n",
"\n",
"$\n",
"r_{ij} = d_i - d_j\\,,\\qquad d_i = \\|\\mathbf{x} - \\mathbf{x}_i\\|\\,,\\qquad d_j = \\|\\mathbf{x} - \\mathbf{x}_j\\|\n",
"$\n",
"\n",
"The objective is to compute from the available measurements, $\\{r_{ij};\\; i,j = 1, \\cdots, N, i