About Resolvability of the Problem of Lightning Coordinates Finding by the Time of Lightning Discharge Arrival
Abstract: On the unit sphere, the geometric problem of calculating the position of a point relative to three given points is considered. We know the length of three spherical segments that go out from the given points in the direction of the unknown point. The requirement must be fulfilled: the distance from each point to an unknown point must be equal to the sum of the length of the segment outgoing from this point, and some increment, the same for all three segments. In the article, the conditions for the solvability of a geometric problem are established by the methods of spherical trigonometry and vector algebra. It is proved that when they are fulfilled, the problem is always solvable. The number of solutions is two, except in rare cases where there is only one solution. A solution method is presented. One of the practical applications is the problem of determining the time and location of a cloud-to-ground lightning discharge, which is directly reduced to this problem.

1. Introduction

The article (Lozbin, Shpadi, & Inchin, 2016) proposes an algorithm for calculating the location and time of a lightning discharge using the Time-of-Arrival (ToA) method for three stations. However, this algorithm is not sufficiently mathematically substantiated. This shortcoming is addressed in this article. In addition, this article proposes a new algorithm for solving the problem, which is simpler for numerical calculations than the previous one (Lozbin, Shpadi, & Inchin, 2016).

The mathematical model of the problem under consideration is implemented on the unit sphere. In this regard, we note some provisions of the geometry on the sphere, which we will use (Krantz, 2007; Volynsky, 1977).

A sphere, its radius is one which is called a unit sphere.

A great circle of a sphere is a circle cut by a sphere from a plane passing through its center.

A spherical segment is an arc of a circle of a great circle. The length of the spherical segment of the unit sphere is measured by a central angle, the sides of which pass through the ends of the spherical segment.

The distance between two points of a sphere is the length of a smaller spherical segment connecting these points.

A spherical triangle is a part of a sphere bounded by three spherical segments with common vertices.

A spherical triangle, the length of each side of which is strictly less than the length of the semicircle of the great circle, is called Euler’s triangle. For an Euler triangle, the following statement is true: the sum of the lengths of its two sides is greater than the length of the third side.

A spherical triangle whose area is zero is called a degenerate spherical triangle. All of its vertices are located on the same circumference of a great circle and can coincide. In this article, a degenerate spherical triangle appears as a special case in problems with parameters that determine the values of its sides and angles.

2. Formulation of the Problem

Consider a unit sphere with a center coinciding with the origin of the Cartesian system Oxyz. We introduce a coordinate system $\left(\phi ,\theta \right)$ on the sphere, where $\phi$ and $\theta$ are longitude and latitude of the points of the sphere respectively, $-\pi <\phi \le \pi$, $0\le \theta \le \pi$. In accordance with the concepts of a geographic coordinate system, points with latitude $\theta =0$ and $\theta =\pi$ we will be called the North and South poles, and the arcs connecting them as meridians. In addition, let the equator be points of a circle on a sphere with latitude $\theta =\pi /2$.

Consider Euler’s triangle, the vertices of which are at the points ${P}_{i}\left({\phi }_{i},{\theta }_{i}\right)$, $i=1,2,3$ ‍. Let ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$ be an unknown point on the sphere, the position of which is to be found. Let ${\alpha }_{i}$, $i=1,2,3$, be spherical segments of a given length going out from points ${P}_{i}\left({\phi }_{i},{\theta }_{i}\right)$ in the direction of an unknown point ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$. The length of each segment is also denoted by ${\alpha }_{i}$. Such a combination of concepts will do not cause a semantic contradiction.

We denote as $\Delta \alpha$ the increment of the lengths for all segments ${\alpha }_{i}$. This increment $\Delta \alpha$, which is the same for all segments ${\alpha }_{i}$, can be a positive or negative number, as well as zero.

The considered problem is a determination on the sphere the point ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$ and the value of increment $\Delta \alpha$ of the segments ${\alpha }_{i}$ in accordance with the requirement: the spherical distance from the vertices ${P}_{i}\left({\phi }_{i},{\theta }_{i}\right)$ to the point ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$ must be equal to the sum ${\alpha }_{i}+\Delta \alpha$, $i=1,2,3$.

To solve the problem, we will use vector algebra (Beklemishev, 2008). The one-to-one correspondence between Cartesian and spherical coordinates of points of a unit sphere is determined by the following equations:

$\left\{\begin{array}{l}x=\mathrm{cos}\phi \mathrm{sin}\theta ,\\ y=\mathrm{sin}\phi \mathrm{sin}\theta ,\\ z=\mathrm{cos}\theta .\end{array}$ (1)

We introduce unit radius vectors ${r}_{i}=\left\{{x}_{i},{y}_{i},{z}_{i}\right\}$ of the vertices ${P}_{i}\left({\phi }_{i},{\theta }_{i}\right)$ of ${P}_{1}{P}_{2}{P}_{3}$ triangle and unit radius vector ${r}_{s}=\left\{{x}_{s},{y}_{s},{z}_{s}\right\}$ of the target ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$ point. The criterion for the non-degeneracy of the ${P}_{1}{P}_{2}{P}_{3}$ triangle is the non-zero value of the triple product of three vectors ${r}_{i}=\left\{{x}_{i},{y}_{i},{z}_{i}\right\}$. Therefore the condition

$\left({r}_{1},{r}_{2},{r}_{3}\right)={r}_{1}\cdot \left({r}_{2}×{r}_{3}\right)\ne 0$ (2)

must be met, where the symbol “ $\cdot$ “ and “ $×$ “ are scalar and vector products of vectors.

Since the ${P}_{1}{P}_{2}{P}_{3}$ triangle is by definition Eulerian, the following inequalities hold:

$0<\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)<\pi$, $i,j=1,2,3$, $i\ne j$, (3)

where $\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)$ determines the angle between unit vectors ${r}_{i}$ and ${r}_{j}$, and distance between points ${P}_{i}$ and ${P}_{j}$ equal to this angle.

Thus, the task is reduced to solving the system of equations:

$\left\{\begin{array}{l}\mathrm{arccos}\left({r}_{1}\cdot {r}_{s}\right)={\alpha }_{1}+\Delta \alpha ,\\ \mathrm{arccos}\left({r}_{2}\cdot {r}_{s}\right)={\alpha }_{2}+\Delta \alpha ,\\ \mathrm{arccos}\left({r}_{3}\cdot {r}_{s}\right)={\alpha }_{3}+\Delta \alpha ,\end{array}$ (4)

with three unknown ${\phi }_{s}$, ${\theta }_{s}$ and $\Delta \alpha$.

Next, we assume that the numbering of the vertices ${P}_{i}$ of the ${P}_{1}{P}_{2}{P}_{3}$ triangle is selected taking into account inequalities:

${\alpha }_{1}\le {\alpha }_{2}\le {\alpha }_{3}$. (5)

Theorem 1. In order for the system of Equations (4) to have some solution in the conditions of the above problem, it is necessary to fulfill the next conditions:

$\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)\ge {\alpha }_{j}-{\alpha }_{i},\text{ }i,j=1,2,3,\text{ }i (6)

Proof. First, we note that condition (5) implies inequalities

${\alpha }_{2}-{\alpha }_{1}\ge 0,\text{ }{\alpha }_{3}-{\alpha }_{1}\ge 0,\text{ }{\alpha }_{3}-{\alpha }_{2}\ge 0.$ (7)

Suppose that as a result of the solution of the system (4), the position of the point ${P}_{s}$ is determined. In this case, for each possibly degenerate, triangle ${P}_{s}{P}_{i}{P}_{j}$ the inequalities must be satisfied:

$\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)\ge \mathrm{arccos}\left({r}_{j}\cdot {r}_{s}\right)-\mathrm{arccos}\left({r}_{i}\cdot {r}_{s}\right),\text{ }i,j=1,2,3,\text{ }i (8)

Substituting in the right part of inequalities (8) the values of arc cosines from (4), we get a system of inequalities (6). ■

Theorem 2. For solvability of the system of Equations (4), the lengths of the ${\alpha }_{1},{\alpha }_{2},{\alpha }_{3}$ segments must satisfy the conditions

$0\le {\alpha }_{j}-{\alpha }_{i}<\pi ,\text{ }i,j=1,2,3,\text{ }i (9)

Proof. The non-negativity of the difference ${\alpha }_{j}-{\alpha }_{i}$ in (9) follows from inequalities (5). In case of ${\alpha }_{j}-{\alpha }_{i}\ge \pi$, the corresponding inequality in (6) will contradict conditions (3). ■

4. Solution Algorithm

We consider the algorithm of solution of system (4), assuming that the segments ${\alpha }_{1},{\alpha }_{2},{\alpha }_{3}$ are satisfied the inequalities (5) and (9), and the inequalities (6) are satisfied in a strict sense, that is:

$\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)>{\alpha }_{j}-{\alpha }_{i},\text{ }i,j=1,2,3,\text{ }i (10)

Without losing generality, we will assume that the point ${P}_{1}\left({\phi }_{1},{\theta }_{1}\right)$ is at the North pole, that is ${\theta }_{1}=0$. In this case, the radius vector of the point ${P}_{1}\left({\phi }_{1},{\theta }_{1}\right)$ is

${r}_{1}=\left\{0,0,1\right\}$. (11)

If the point ${P}_{1}\left({\phi }_{1},{\theta }_{1}\right)$ does not coincide with the North pole, then we should move the triangle ${P}_{1}{P}_{2}{P}_{3}$ around the sphere by orthogonal transformation:

$Q={Q}_{\theta }{Q}_{\phi }$, (12)

which must be applied to radius vectors ${r}_{1},{r}_{2},{r}_{3}$. The matrices ${Q}_{\phi }$ and ${Q}_{\theta }$ are defined by the longitude and latitude of the point ${P}_{1}$ and are written as:

${Q}_{\phi }=\left(\begin{array}{ccc}\mathrm{cos}{\phi }_{1}& \mathrm{sin}{\phi }_{1}& 0\\ -\mathrm{sin}{\phi }_{1}& \mathrm{cos}{\phi }_{1}& 0\\ 0& 0& 1\end{array}\right)$, ${Q}_{\theta }=\left(\begin{array}{ccc}\mathrm{cos}{\theta }_{1}& 0& -\mathrm{sin}{\theta }_{1}\\ 0& 1& 0\\ \mathrm{sin}{\theta }_{1}& 0& \mathrm{cos}{\theta }_{1}\end{array}\right)$. (13)

The matrix ${Q}_{\phi }$ rotates the triangle points about the axis $Oz$ by an angle $-{\phi }_{1}$, and the matrix ${Q}_{\theta }$ rotates about the axis $Oy$ by an angle $-{\theta }_{1}$. As the result of these rotations, the triangle ${P}_{1}{P}_{2}{P}_{3}$ moves along the surface of the sphere, with preserving the lengths of the sides and the values of the angles, as well as the direction of the border so that the point ${P}_{1}$ is at the North pole.

After solving the system (4) and finding the point ${P}_{s}$, the inverse transformation

${Q}^{\text{T}}={Q}_{\phi }^{\text{T}}{Q}_{\theta }^{\text{T}}$, (14)

applied to the radius vector ${r}_{s}=\left\{{x}_{s},{y}_{s},{z}_{s}\right\}$ will restore the location of the point ${P}_{s}$ relative to the original position of the spherical triangle ${P}_{1}{P}_{2}{P}_{3}$. The symbol “T” in (14) means the transposition of matrices.

Subtracting the first equation of system (4) from the second and third, we obtain a system of two equations

$\left\{\begin{array}{l}\mathrm{arccos}\left({r}_{2}\cdot {r}_{s}\right)-\mathrm{arccos}\left({r}_{1}\cdot {r}_{s}\right)={\alpha }_{2}-{\alpha }_{1}\\ \mathrm{arccos}\left({r}_{3}\cdot {r}_{s}\right)-\mathrm{arccos}\left({r}_{1}\cdot {r}_{s}\right)={\alpha }_{3}-{\alpha }_{1}\end{array}$. (15)

in which only two spherical coordinates ${\phi }_{s}$ and ${\theta }_{s}$ of the points ${P}_{s}$ are unknown.

Taking to account (11), we obtain:

${r}_{1}\cdot {r}_{s}={z}_{s}=\mathrm{cos}{\theta }_{s}$, $0\le {\theta }_{s}\le \pi$. (16)

The system (15) taking into account (16) be as

$\left\{\begin{array}{l}\mathrm{arccos}\left({r}_{2}\cdot {r}_{s}\right)={\theta }_{s}+{\alpha }_{2}-{\alpha }_{1}\\ \mathrm{arccos}\left({r}_{3}\cdot {r}_{s}\right)={\theta }_{s}+{\alpha }_{3}-{\alpha }_{1}\end{array}$ (17)

Calculating the cosines of the left and right parts of the equations in (17), we obtain:

$\left\{\begin{array}{l}{r}_{2}\cdot {r}_{s}=\mathrm{cos}\left({\theta }_{s}+{\alpha }_{2}-{\alpha }_{1}\right)\\ {r}_{3}\cdot {r}_{s}=\mathrm{cos}\left({\theta }_{s}+{\alpha }_{3}-{\alpha }_{1}\right)\end{array}$ (18)

Let us expand the scalar products of vectors in (18)

${r}_{i}\cdot {r}_{s}={x}_{i}{x}_{s}+{y}_{i}{y}_{s}+{z}_{i}{z}_{s}={x}_{i}\mathrm{cos}{\phi }_{s}\mathrm{sin}{\theta }_{s}+{y}_{i}\mathrm{sin}{\phi }_{s}\mathrm{sin}{\theta }_{s}+{z}_{i}\mathrm{cos}{\theta }_{s}$,

and let us convert the right parts in (18) by formula of cosine of two angles sum

$\mathrm{cos}\left({\theta }_{s}+{\alpha }_{i}-{\alpha }_{1}\right)=\mathrm{cos}{\theta }_{s}\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)-\mathrm{sin}{\theta }_{s}\mathrm{sin}\left({\alpha }_{i}-{\alpha }_{1}\right)$.

We write the equations of system (18) in the form of equalities to zero of two linear combinations of functions $\mathrm{sin}{\theta }_{s}$ and $\mathrm{cos}{\theta }_{s}$

$\left\{\begin{array}{l}\left[{x}_{2}\mathrm{cos}{\phi }_{s}+{y}_{2}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\mathrm{sin}{\theta }_{s}+\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\mathrm{cos}{\theta }_{s}=0\\ \left[{x}_{3}\mathrm{cos}{\phi }_{s}+{y}_{3}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\mathrm{sin}{\theta }_{s}+\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\mathrm{cos}{\theta }_{s}=0\end{array}$ (19)

Since the functions $\mathrm{sin}{\theta }_{s}$ and $\mathrm{cos}{\theta }_{s}$ do not simultaneously vanish for any values of ${\theta }_{s}$ due to the identity ${\mathrm{sin}}^{2}{\theta }_{s}+{\mathrm{cos}}^{2}{\theta }_{s}\equiv 1$, then for the existence of a solution ${\theta }_{s}$ to system (19) its determinant must be equal to zero, i.e.,

$|\begin{array}{cc}{x}_{2}\mathrm{cos}{\phi }_{s}+{y}_{2}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{2}-{\alpha }_{1}\right)& {z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\\ {x}_{3}\mathrm{cos}{\phi }_{s}+{y}_{3}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{1}\right)& {z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\end{array}|=0$. (20)

Calculating the determinant in (20) and selecting in it a linear combination of functions $\mathrm{sin}{\phi }_{s}$ and $\mathrm{cos}{\phi }_{s}$, we obtain the equation for ${\phi }_{s}$ :

$\begin{array}{l}\left\{{x}_{2}\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]-{x}_{3}\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\right\}\mathrm{cos}{\phi }_{s}\\ +\left\{{y}_{2}\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]-{y}_{3}\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\right\}\mathrm{sin}{\phi }_{s}\\ ={z}_{2}\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{1}\right)-{z}_{3}\mathrm{sin}\left({\alpha }_{2}-{\alpha }_{1}\right)-\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{2}\right)\end{array}$ (21)

Let us introduce the following notation

${A}_{\phi }={x}_{2}\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]-{x}_{3}\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]$, (22)

${B}_{\phi }={y}_{2}\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]-{y}_{3}\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]$, (23)

${C}_{\phi }={z}_{2}\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{1}\right)-{z}_{3}\mathrm{sin}\left({\alpha }_{2}-{\alpha }_{1}\right)-\mathrm{sin}\left({\alpha }_{3}-{\alpha }_{2}\right)$, (24)

and write an Equation (21) as

${A}_{\phi }\mathrm{cos}{\phi }_{s}+{B}_{\phi }\mathrm{sin}{\phi }_{s}={C}_{\phi }$. (25)

We show, that

${A}_{\phi }^{2}+{B}_{\phi }^{2}>0$. (26)

Suppose that the opposite is true, that is, that the equality

${A}_{\phi }={B}_{\phi }=0$. (27)

From the conditions (10) and equations

${r}_{i}\cdot {r}_{1}={z}_{i},\text{ }i=2,3$, (28)

we get that

${z}_{i}-\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)<0,\text{ }i=2,3$. (29)

If we now consider Equations (27) taking into account (22)-(23) as a linear homogeneous system of equations in which expressions ${z}_{i}-\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)$, $i=2,3$, are unknown, then in view of (29) its determinant must be zero, that is,

${x}_{2}{y}_{3}-{x}_{3}{y}_{2}=0$.

This equality means that the projection of the vector product ${r}_{2}×{r}_{3}$ on the axis $Oz$ is zero. It follows that the plane of the vectors ${r}_{2}$ and ${r}_{3}$ passes through both poles of the sphere. As a result, we get that all three vectors ${r}_{1}$, ${r}_{2}$ and ${r}_{3}$ belong to the same plane, and this contradicts the condition (2) of non-degeneracy of the triangle ${P}_{1}{P}_{2}{P}_{3}$. Thus, assumption (27) is not true and inequality (26) under conditions (10) be valid for any triangle ${P}_{1}{P}_{2}{P}_{3}$.

By defining a value of parameter $\varsigma \in \left(-\pi ,\pi \right]$ from a system of equations

$\left\{\begin{array}{l}\mathrm{cos}\varsigma =\frac{{A}_{\phi }}{\sqrt{{A}_{\phi }^{2}+{B}_{\phi }^{2}}}\\ \mathrm{sin}\varsigma =\frac{{B}_{\phi }}{\sqrt{{A}_{\phi }^{2}+{B}_{\phi }^{2}}}\end{array}$ (30)

and assume, that

${\Delta }_{\phi }=\frac{{С}_{\phi }}{\sqrt{{A}_{\phi }^{2}+{B}_{\phi }^{2}}}$. (31)

reduce Equation (25) to form

$\mathrm{cos}\left({\phi }_{s}-\varsigma \right)={\Delta }_{\phi }$. (32)

In case of $|{\Delta }_{\phi }|\le 1$, the general solution of the Equation (32) will be as

${\phi }_{s}=\varsigma ±\mathrm{arccos}{\Delta }_{\phi }+2k\pi ,\text{ }k=0,±1,±2,\cdots$, (33)

from which we need to select values ${\phi }_{s}$ which are in the range $-\pi <{\phi }_{s}\le \pi$. In case of $|{\Delta }_{\phi }|<1$, there will be two such solutions and, in the case of $|{\Delta }_{\phi }|=1$ only one solution. If $|{\Delta }_{\phi }|>1$, then the problem has no solutions.

After finding longitude ${\phi }_{s}$, the corresponding latitude value ${\theta }_{s}$ of the target point ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$, belonging to the interval $0\le {\theta }_{s}\le \pi$ is determined from any equation of the system (19), that is,

$\mathrm{ctg}{\theta }_{s}=-\frac{{x}_{i}\mathrm{cos}{\phi }_{s}+{y}_{i}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{i}-{\alpha }_{1}\right)}{{z}_{i}-\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)\text{}}$, where $i=2$ or $i=3$. (34)

From (29) it follows that ${z}_{i}-\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)\ne 0$, $i=2,3$. In this case, Equation (34) with unknown ${\theta }_{s}$ has only one solution on the interval $0<{\theta }_{s}<\pi$.

For calculating ${\theta }_{s}$ directly, it is convenient to use equivalent formulas

${\theta }_{s}=\frac{\pi }{2}+\mathrm{arctg}\frac{{x}_{i}\mathrm{cos}{\phi }_{s}+{y}_{i}\mathrm{sin}{\phi }_{s}+\mathrm{sin}\left({\alpha }_{i}-{\alpha }_{1}\right)}{{z}_{i}-\mathrm{cos}\left({\alpha }_{i}-{\alpha }_{1}\right)\text{}}$, $i=2,3$, (35)

since in computing environments for computers the arc cotangent function is usually absent.

The value $\Delta \alpha$ is determined from any equation of the system (4), that is,

$\Delta \alpha =\mathrm{arccos}\left({r}_{i}\cdot {r}_{s}\right)-{\alpha }_{i}$, $i=1,2,3$. (36)

Theorem 3. The inequality

${A}_{\phi }^{2}+{B}_{\phi }^{2}-{C}_{\phi }^{2}\ge 0$ (37)

is always satisfied, when ${A}_{\phi }$, ${B}_{\phi }$ and ${C}_{\phi }$ are defined by expressions (22)-(24) and conditions (5), (6) and (9) are met.

Proof. The inequality (37) is proved by directly calculating its left part using the expressions (22)-(24) and transforming them identical. We have

$\begin{array}{c}{A}_{\phi }^{2}+{B}_{\phi }^{2}=\left({x}_{2}^{2}+{y}_{2}^{2}\right){\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]}^{2}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-2\left({x}_{2}{x}_{3}+{y}_{2}{y}_{3}\right)\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left({x}_{3}^{2}+{y}_{3}^{2}\right){\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]}^{2}\end{array}$ (38)

Applying identities

${x}_{2}^{2}+{y}_{2}^{2}=\left({x}_{2}^{2}+{y}_{2}^{2}+{z}_{2}^{2}\right)-{z}_{2}^{2}=1-{z}_{2}^{2}$,

${x}_{2}{x}_{3}+{y}_{2}{y}_{3}=\left({x}_{2}{x}_{3}+{y}_{2}{y}_{3}+{z}_{2}{z}_{3}\right)-{z}_{2}{z}_{3}={r}_{2}\cdot {r}_{3}-{z}_{2}{z}_{3}$,

${x}_{3}^{2}+{y}_{3}^{2}=\left({x}_{3}^{2}+{y}_{3}^{2}+{z}_{3}^{2}\right)-{z}_{3}^{2}=1-{z}_{3}^{2}$,

${r}_{2}\cdot {r}_{3}=\left[{r}_{2}\cdot {r}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{2}\right)\right]+\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{2}\right)$

and taking into account (38), we have

$\begin{array}{c}{A}_{\phi }^{2}+{B}_{\phi }^{2}=-2\left({r}_{2}\cdot {r}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{2}\right)\right)\left[{r}_{1}\cdot {r}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}×\left[{r}_{1}\cdot {r}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\left[{z}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}×\left[{z}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]+2\left[{z}_{2}^{2}{z}_{3}^{2}-{z}_{2}^{2}{z}_{3}\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{z}_{2}{z}_{3}^{2}\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)+{z}_{2}{z}_{3}\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left(1-{z}_{2}^{2}\right)\left[{z}_{3}^{2}-2{z}_{3}\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)+{\mathrm{cos}}^{2}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left(1-{z}_{3}^{2}\right)\left[{z}_{2}^{2}-2{z}_{2}\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)+{\mathrm{cos}}^{2}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\end{array}$

Then, after a series of identical transformations taking into account (24), we have the final result

$\begin{array}{c}{A}_{\phi }^{2}+{B}_{\phi }^{2}-{С}_{\phi }^{2}=-2\left[{r}_{1}\cdot {r}_{2}-\mathrm{cos}\left({\alpha }_{2}-{\alpha }_{1}\right)\right]\left[{r}_{1}\cdot {r}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{1}\right)\right]\\ \text{\hspace{0.17em}}\text{ }×\left[{r}_{2}\cdot {r}_{3}-\mathrm{cos}\left({\alpha }_{3}-{\alpha }_{2}\right)\right]\end{array}$ (39)

Inequalities (6) under conditions (9) are equivalent to inequalities

${r}_{i}\cdot {r}_{j}\le \mathrm{cos}\left({\alpha }_{j}-{\alpha }_{i}\right),\text{ }i,j=1,2,3,\text{ }i

from which the inequality (37) is coming. ■

Corollary. System of Equations (15) always has two solutions if, under the conditions of Theorem 3, inequalities (10) are satisfied in the strict sense. Indeed, in case of satisfaction (10), the right part of (39) is positive and, hence, there is a strict ${A}_{\phi }^{2}+{B}_{\phi }^{2}-{С}_{\phi }^{2}>0$ inequality, from which, taking into account (31), the $|{\Delta }_{\phi }|<1$ is follows.

5. Exceptional Cases of Solving the Problem

Those cases of solution of Equation (25) when the equalities

${A}_{\phi }^{2}+{B}_{\phi }^{2}-{С}_{\phi }^{2}=0$, (40)

were called exceptional. Equality (40) occurs if at least one of the equalities

${r}_{i}\cdot {r}_{j}=\mathrm{cos}\left({\alpha }_{j}-{\alpha }_{i}\right),\text{ }i,j=1,2,3,\text{ }i (41)

is fulfilled.

Theorem 4. If, with some i and j, $i, the equality (41) is fulfilled, then the vector ${r}_{s}$ lies in a plane of vectors ${r}_{i}$ and ${r}_{j}$.

Proof. First, we emphasize that due to the non-degeneracy of the ${P}_{1}{P}_{2}{P}_{3}$ triangle, the vectors ${r}_{i}$ and ${r}_{j}$, $i,j=1,2,3$, $i\ne j$, are not collinear. Therefore,

${r}_{i}\cdot {r}_{j}\ne ±1$. (42)

In this case, each pair of vectors ${r}_{i}$ and ${r}_{j}$ uniquely defines a certain plane. Note also that, a strict inequality ${\alpha }_{j}>{\alpha }_{i}$, $i, follows from (5), (41) and (42).

Calculating the cosines of the left and right sides in (41), we obtain $\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)={\alpha }_{j}-{\alpha }_{i}$. Subtracting the i-th equation of system (4) from the j-th, $i, and replacing the difference ${\alpha }_{j}-{\alpha }_{i}$ with $\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)$, we obtain the equality

$\mathrm{arccos}\left({r}_{j}\cdot {r}_{s}\right)-\mathrm{arccos}\left({r}_{i}\cdot {r}_{s}\right)=\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)$. (43)

Consider a trihedral angle with edges ${r}_{i}$, ${r}_{j}$ and ${r}_{s}$. Based on the theorem from stereometry (Kiselev, 2004) on the properties of the sum of two plane angles of a trihedral angle, from equality (43) we obtain that the trihedral angle with edges ${r}_{i}$, ${r}_{j}$ and ${r}_{s}$ is degenerate and, therefore, the vector ${r}_{s}$ lies in the plane of the vectors ${r}_{i}$ and ${r}_{j}$.

Consider the proof of Theorem 4 based on vector algebra and find a formula for calculating the vector ${r}_{s}$. We introduce the notations $\alpha =\mathrm{arccos}\left({r}_{j}\cdot {r}_{s}\right)$, $\beta =\mathrm{arccos}\left({r}_{i}\cdot {r}_{s}\right)$ and $\gamma =\mathrm{arccos}\left({r}_{i}\cdot {r}_{j}\right)$, from which we find

${r}_{j}\cdot {r}_{s}=\mathrm{cos}\alpha ,\text{ }{r}_{i}\cdot {r}_{s}=\mathrm{cos}\beta ,\text{ }{r}_{i}\cdot {r}_{j}=\mathrm{cos}\gamma .$ (44)

From (43) and (44) we obtain

$\alpha -\beta =\gamma$, $0<\alpha ,\beta ,\gamma <\pi$. (45)

We expand the vector ${r}_{s}$ in terms of the system of non-coplanar unit vectors

${r}_{s}=A{r}_{i}+B{r}_{j}+C{r}_{n}$, (46)

where

${r}_{n}=\frac{{r}_{i}×{r}_{j}}{|{r}_{i}×{r}_{j}|}=\frac{{r}_{i}×{r}_{j}}{\mathrm{sin}\gamma }$, $\mathrm{sin}\gamma >0$.

Let us calculate the coefficients $A,B,C$ in (46). Multiplying both sides of equality (46) scalarly by vectors ${r}_{s}$, ${r}_{i}$ and ${r}_{j}$, also taking into account their unity, we obtain the system of equations

$\left\{\begin{array}{l}{r}_{s}^{2}={\left(A{r}_{i}+B{r}_{j}+C{r}_{n}\right)}^{2}={A}^{2}+{B}^{2}+{C}^{2}+2AB\mathrm{cos}\gamma =1,\\ {r}_{s}\cdot {r}_{i}=A+B\mathrm{cos}\gamma =\mathrm{cos}\beta ,\\ {r}_{s}\cdot {r}_{j}=A\mathrm{cos}\gamma +B=\mathrm{cos}\alpha \end{array}$

with unknowns $A,B,C$. Solving this system, we find,

$A=-\frac{\mathrm{sin}\beta }{\mathrm{sin}\gamma }$, $B=\frac{\mathrm{sin}\alpha }{\mathrm{sin}\gamma }$,

${C}^{2}=1-\left({A}^{2}+{B}^{2}+2AB\mathrm{cos}\gamma \right)=1-\frac{{\mathrm{sin}}^{2}\beta }{{\mathrm{sin}}^{2}\gamma }-\frac{{\mathrm{sin}}^{2}\alpha }{{\mathrm{sin}}^{2}\gamma }+\frac{2\mathrm{sin}\alpha \mathrm{sin}\beta \mathrm{cos}\left(\alpha -\beta \right)}{{\mathrm{sin}}^{2}\gamma }$.

Simplifying the right-hand side of the last equality, we get $C=0$.

Thus,

${r}_{s}=A{r}_{i}+B{r}_{j}$, (47)

that is, ${r}_{i}$ is a linear combination of vectors ${r}_{i}$ and ${r}_{j}$ and, therefore, lies with them in the same plane. ■

Let us consider the case when in (39) only one factor of the right-hand side vanishes. The solution of the problem is unique and can be calculated using the Formulas (22)-(24), (30), (31), (33) and (35). In this case, in Formula (35), you need to choose a denominator that is not equal to zero.

If two factors vanish on the right-hand side of (39), then the solution to the problem is the common vector of these factors. In this case, the desired point ${P}_{s}$ coincides with the vertex of the ${P}_{1}{P}_{2}{P}_{3}$ triangle, which is the end of this vector.

The third case, when all three factors in the right part of (39) become zero, cannot be realized, since otherwise the ${P}_{1}{P}_{2}{P}_{3}$ triangle will be degenerate.

6. The Problem of Lightning Discharge Coordinates and Time Finding

One of the current actual problems is monitoring of cloud-to-ground lightning discharges (Hu, Zhao, & Zhu, 2010; Koshak & Solakievicz, 2001; Kuterin, Bulatov, & Shlyugaev, 2014; Ramachandran, Kumar, & Kishore, 2003; Shpadi, Inchin, Lozbin, & Ayazbayev, 2019). To solve it, the technology of deploying a network of stations registering a low-frequency radio wave coming from lightning discharges, is often used.

If a station located at a point ${P}_{i}\left({\phi }_{i},{\theta }_{i}\right)$, $i=1,2,\cdots ,N$, $N\ge 3$, on the surface of the Earth recorded at the moment ${t}_{i}$ a radio signal from a lightning discharge that occurred at an instant at a point ${P}_{s}\left({\phi }_{s},{\theta }_{s}\right)$, then this event leads to the equations

${R}_{e}\mathrm{arccos}\left({r}_{i}\cdot {r}_{s}\right)=c\left({t}_{i}-{t}_{s}\right)$, (48)

in which ${r}_{i}$ and ${r}_{s}$ are the unit radius vectors of the i-th station and the points of the lightning discharge, ${R}_{e}=6371.032\text{\hspace{0.17em}}\text{km}$ is the average radius of the Earth, $c=\text{299792}\text{.458}\text{\hspace{0.17em}}\text{km}/\text{s}$ is the speed of light. Introducing the notation

${\alpha }_{i}=\frac{c{t}_{i}}{{R}_{e}}$, $\Delta \alpha =-\frac{c{t}_{s}}{{R}_{e}}$, (49)

we obtain one of the equations of system (4).

If the number N of stations in the network is more than three, then they are grouped by three stations and the calculation is performed for each group. The calculation results are summarized in order to determine the optimal location and moment of the lightning discharge, taking into account the error in measuring the time and coordinates of the stations.

The method based on the idea of recording the moment of receipt of a radio signal is called Time-of-Arrival (ToA or TOA) in the scientific literature.

Let’s consider a test case illustrating calculation of parameters of a lightning discharge for a network of three stations. Table 1 shows the location of stations in Kazakhstan and the arrival time of lightning radio signals.

We assume that the lightning strike occurred at a point ${P}_{s}\left(57.15˚,50.30˚\right)$ (near the city of Aktobe, Kazakhstan) at moment ${t}_{s}=0$. The latitude of the stations in Table 1 and the latitude of the test point ${P}_{s}$ are indicated in the range $\left[-90˚,90˚\right]$, that is, in accordance with geographic norms. The latitude of these points in the calculation is converted to the range $\left[0˚,180˚\right]$. The calculation of the fixation time ${t}_{i}$, $i=1,2,3$, of lightning radio signals was carried out using equality (48). Mathematically exact values of this calculation are rounded to the practically achievable value of 10−8 s. Also, Table 1 shows the values of the parameters ${\alpha }_{i}$, which are calculated using Formulas (49).

Table 1. The initial data of the problem.

Using the data in Table 1 and applying Formulas (1), we obtain:

$\left({r}_{1},{r}_{2},{r}_{3}\right)=|\begin{array}{ccc}{x}_{1}& {y}_{1}& {z}_{1}\\ {x}_{2}& {y}_{2}& {z}_{2}\\ {x}_{3}& {y}_{3}& {z}_{3}\end{array}|=-0.004532\ne 0$, (50)

$\left\{\begin{array}{l}\mathrm{arccos}\left({r}_{1}\cdot {r}_{2}\right)-\left({\alpha }_{2}-{\alpha }_{1}\right)=\text{0}\text{.081523}>\text{0}\\ \mathrm{arccos}\left({r}_{1}\cdot {r}_{3}\right)-\left({\alpha }_{3}-{\alpha }_{1}\right)=\text{0}\text{.019057}>\text{0}\\ \mathrm{arccos}\left({r}_{2}\cdot {r}_{3}\right)-\left({\alpha }_{3}-{\alpha }_{2}\right)=\text{0}\text{.015845}>\text{0}\end{array}$, (51)

Based on expressions (50) and (51), we conclude that conditions for solvability of problem are satisfied and the problem has two solutions.

The transformation of stations coordinates is performed by the matrix (12)

$Q=\left(\begin{array}{ccc}\text{0}\text{.2171383}& 0.6451388& -0.7325619\\ -0.9477573& 0.3189924& 0\\ 0.2336817& 0.6942909& 0.6807004\end{array}\right)$. (52)

The results of the transformation of coordinates are shown in Table 2. The station near the city of Taraz has been moved to the North Pole.

Further, using Formulas (22)-(24), (30), (31), (33) and (35), we successively obtain:

$\left\{\begin{array}{l}{A}_{\phi }=0.00\text{5262}\\ {B}_{\phi }=\text{0}\text{.00018593}\\ {C}_{\phi }=-0.0001732\end{array}$, (53)

$\Delta =-0.896286$, $\varsigma =1.294987$, (54)

$\left\{\begin{array}{l}{\phi }_{s}^{\left(1\right)}=-2.3060784\\ {\phi }_{s}^{\left(2\right)}=-1.3871326\end{array}$, (55)

$\left\{\begin{array}{l}{\theta }_{s}^{\left(1\right)}=0.2136107\\ {\theta }_{s}^{\left(2\right)}=3.0799074\end{array}$. (56)

Finally, after performing the inverse transformation of coordinates of desired points and transforming their latitude to the range $\left[-90˚,90˚\right]$, we find solution to the problem. The calculation results are shown in Table 3.

Table 2. Stations location and ${\alpha }_{i}$ parameters.

Table 3. Calculation results of the problem.

The first lightning in Table 3 corresponds to the test ${P}_{s}\left(57.15˚,50.30˚\right)$, and the second point is optional. The moments of discharges were calculated using right-hand Formula (49).

All calculations are performed in the MATLAB environment.

7. Conclusion

1) For the geometric problem considered in the article, the necessary and sufficient conditions for it are established. Subject to their observance, this task usually has two solutions, in exceptional cases, only one.

2) The above problem can be used as a mathematical model in solving the problem of time and place of cloud-to-ground type of lightning discharge finding.

3) The values of the ${\alpha }_{i}$ parameters can be arbitrary, taking into account that the solution of the problem depends on their differences. It follows that the time reference point in the Time-of-Arrival method can be chosen arbitrarily, but, naturally, it should be the same for the entire network of stations.

Acknowledgements

This article was created in the frame of the scientific and technical program BR05336383 of the Ministry of Digital Development, Innovations and Aerospace Industry of the Republic of Kazakhstan.

Cite this paper: Shpadi, Y. , Inchin, A. , Lozbin, A. , Ayazbayev, G. , Shpadi, M. and Mailibayeva, L. (2021) About Resolvability of the Problem of Lightning Coordinates Finding by the Time of Lightning Discharge Arrival. Journal of Geoscience and Environment Protection, 9, 209-221. doi: 10.4236/gep.2021.93013.
References

   Beklemishev, D. V. (2008). Course of Analytical Geometry and Linear Algebra. Moscow: Fizmatlit. (In Russian)

   Hu, Z. X., Zhao, W. G., & Zhu, H. P. (2010). A Source Location Algorithm of Lightning Detection Networks in China. Annales Geophysicae, 28, 1981-1991.
https://doi.org/10.5194/angeo-28-1981-2010

   Kiselev, A. P. (2004). Geometry. Moscow: Fizmatlit. (In Russian)

   Koshak, W. J., & Solakiewicz, R. J. (2001). TOA Lightning Location Retrieval on Spherical and Oblate Spheroidal Earth Geometries. Journal of Atmospheric and Oceanic Technology, 18, 187-199.
https://doi.org/10.1175/1520-0426(2001)018<0187:TLLROS>2.0.CO;2

   Krantz, P. (2007). Spherical Trigonometry. Moscow: LKI Publishing House. (In Russian, Translation from German)

   Kuterin, F. A., Bulatov, A. A., & Shlyugaev, Yu. V. (2014). The Development of the Lightning Detection Network Based on BoltekStormTracker Hardware. XV International Conference on Atmospheric Electricity, Norman, 15-20 June 2014, 71-74.

   Lozbin, A., Shpadi, Yu., & Inchin, A. (2016). Triangles Technique for Time and Location Finding of the Lightning Discharge in Spherical Model of the Earth, Journal of Geoscience and Environment Protection, 4, 125-135.
https://doi.org/10.4236/gep.2016.44016

   Ramachandran, V., Kumar, S., & Kishore, A. (2003). Cloud-to-Ground Lightning Location Using TOGA of Sferics. The South Pacific Journal of Natural and Applied Sciences, 21, 63-65.
https://doi.org/10.1071/SP03013

   Shpadi, Yu. R., Inchin, A. S., Lozbin, A. Yu., & Ayazbayev, G. M. (2019). The Method of Differentiable Functional in a Problem of Lightning Discharge Localization and Time Moment Determination. Journal of Physics: Conference Series, 1352, 012049.
https://doi.org/10.1088/1742-6596/1352/1/012049

   Volynsky, B. A. (1977). Spherical Trigonometry. Moscow: Nauka. (In Russian)

Top