The present invention relates to an airspace information processing device, an airspace information processing method, and a non-transitory computer-readable medium storing an airspace information processing program.
Today, various navigation systems have been put into practice to monitor vehicles on the Earth. In order to manage the operation of aircraft whose travel distance is longer than other carriers, it is necessary to calculate the azimuth and distance of the aircraft in a wide area. Aircraft navigation systems are generally required to process large-scale spatial information accurately and effectively in a wide area such as a country's territory and air space, or a flight information region (FIR).
For example, each air route of aircraft or the like can be represented by a line segment connecting two points on a true sphere. In this case, in order to ensure the security of the aircraft or the like, it is extremely important to determine whether or not two air routes intersect with each other. Further, each aircraft flies in an airspace in which the operation of the aircraft is allowed in the airspace set in the air, thereby ensuring the security of the aircraft. In this case, if adjacent airspaces overlap one another, a plurality of aircraft enter into the overlapping airspace, which poses a problem in terms of security. Accordingly, it is necessary for the navigation systems mentioned above to appropriately design the airspace for ensuring the security of the aircraft.
As an example of such navigation systems, a method for determining a positional relationship to determine whether an arbitrary point is inside or outside a polygon on the Earth has been proposed. In this example, it is determined which one of right and left regions is an airspace by taking into consideration a search direction of each side of a polygon (in other words, a circumferential direction of a closed curve) for defining an airspace.
Japanese Patent Application No. 2013-271712 proposes a technique for detecting, for various airspaces, an intersection point between line segments forming each airspace, and determining whether a vehicle is on the inside or outside of the airspace.
However, the present inventor has found that the above-mentioned techniques have the following problems. That is, depending on flight rules or airspace design specifications, it may be required to treat a large airspace extending across countries or continents. In this case, for example, it can be assumed that the circumferential direction of a closed curve for defining an airspace differs from country to country, or differs from airspace to airspace. To deal with this, the technique disclosed in Patent Literature 1 takes into consideration the circumferential direction of a closed curve (the probing direction of each side of a polygon), but does not take into consideration how to deal with a case where the direction of a closed curve for defining an airspace to be treated varies. If a plurality of airspaces including airspaces defined by closed curves with different circumferential directions are treated by the technique disclosed in Patent Literature 1, an unacceptable error in airspace design, such as false recognition as to the inside or outside region of an airspace due to a difference in the circumferential direction, may occur.
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to treat, in a unified manner, a plurality of airspaces each having an unspecified circumferential direction.
An airspace information processing device according to an aspect of the present invention includes: vector generation means for selecting, for each of three or more reference points set at locations spaced apart from each other on a sphere, a line segment to be drawn from each of the three or more reference points without intersecting another line segment, from among one or more line segments forming an airspace defined by a closed curve on the sphere, and generating, for each of the three or more reference points, a vector from the selected line segment to each of the reference points; and airspace recognition means for recognizing one of two regions on a true sphere as an outside of the airspace and recognizing the other region as the airspace, the two regions being separated by the closed curve, the one of the two regions including the vectors of more than half of the three or more reference points.
An airspace information processing method according to another aspect of the present invention includes: reading information indicating three or more reference points set at locations spaced apart from each other on a sphere; reading information indicating a line segment forming an airspace defined by a closed curve formed of one or more line segments on the sphere; selecting, for each of the reference points, a line segment to be drawn from each of the reference points to the one or more line segments without intersecting another line segment; generating, for each of the reference points, a vector from the selected line segment to each of the reference points; and recognizing one of two regions on a true sphere as an outside of the airspace and recognizing the other region as the airspace, the two regions being separated by the closed curve, the one of the two regions including the vectors of more than half of the three or more reference points.
An airspace information processing program according to still another aspect of the present invention causes a computer to execute: processing for reading information indicating three or more reference points set at locations spaced apart from each other on a sphere; processing for reading information indicating a line segment forming the airspace defined by a closed curve formed of one or more line segments on the sphere; processing for selecting, for each of the reference points, a line segment to be drawn from each of the reference points to the one or more line segments without intersecting another line segment; processing for generating, for each of the reference points, a vector from the selected line segment to each of the reference points; and processing for recognizing one of two regions on a true sphere as an outside of the airspace and recognizing the other region as the airspace, the two regions being separated by the closed curve, the one of the two regions including the vectors of more than half of the three or more reference points.
According to the present invention, a plurality of airspaces each having an unspecified circumferential direction can be treated in a unified manner.
Exemplary embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant explanations thereof are omitted as appropriate.
An airspace information processing device 100 according to a first exemplary embodiment will be described. The airspace information processing device 100 is a device that treats, in a unified manner, pieces of information on a plurality of airspaces which are each defined by one or more line segments and have an unspecified circumferential direction.
First, line segments which form a closed curve will be described. Line segments on a true sphere can be roughly divided into the following three types.
A line segment connecting a point P1 and a point P2 to each other on a true sphere CB (on the ground) will be described.
Assuming that P represents a point on the line segment L connecting the point P1 and the point P2 to each other on the true sphere CB and sa represents the cosine of the angle formed between the unit normal vector Va and the position vector of the point P, sa is represented by the following formula (2).
[Formula 2]
({right arrow over (Va)}·{right arrow over (P)})=sa (2)
Since it is apparent that the unit normal vector Va and the line segment L are orthogonal to each other, the cosine Sa is 0. Accordingly, the point P on the line segment L can be defined as a point that satisfies the following formula (3).
[Formula 3]
({right arrow over (Va)}·{right arrow over (P)})=0 (3)
A circle on the true sphere CB will be described.
[Formula 4]
{right arrow over (Vd)}={right arrow over (P0)}
({right arrow over (Vd)}·{right arrow over (P)})=sd (4)
sd represents the cosine of the angle formed between the point P0 and the point P on the true sphere CB, and is represented by the following formula (5).
An arc on the true sphere CB will be described. The arc on the true sphere CB can be understood as a set of points at the distance r from the point P0 on the true sphere CB.
A case where the direction from a start point to an end point of the arc is counterclockwise will be described.
[Formula 6]
{right arrow over (Ve)}={right arrow over (P0)}
({right arrow over (Ve)}·{right arrow over (P)})=se (6)
sd represent the cosine of the angle formed between the point P0 and the point P on the true sphere, and is represented by the following formula (7).
A case where the direction from a start point to an end point of an arc is clockwise will be described.
[Formula 8]
{right arrow over (Ve)}=−{right arrow over (P0)}
({right arrow over (Ve)}·{right arrow over (P)})=se (8)
se is equal to the cosine of the angle formed between the point P0 on the true sphere CB and an arbitrary point P on the arc, and has a negative sign. se is represented by the following formula (9)
Next, an airspace set on the true sphere will be described.
In summary, it can be understood that, when an airspace is defined, the following two pieces of information are required.
Specification of one or more line segments surrounding the airspace.
Specification of a direction (counterclockwise or clockwise) when the closed curve formed of the one or more line segments surrounding the airspace is viewed from the outside of the true sphere.
However, it is assumed that the airspace information processing device 100 according to this exemplary embodiment treats a considerably large airspace on the true sphere. Accordingly, it is necessary to collectively treat pieces of airspace information created by different subjects, such as an organization, a corporation, a country, and the like.
In this case, a start point and an end point (for example, the points P1 and P2 shown in
On the other hand, it is necessary to carefully treat the direction information for the following reason. That is, as for the direction information, the direction of the closed curve is artificially determined. Therefore, the direction of the closed curve may vary among organizations, corporations, countries, and the like that treat the airspace. For example, it can be assumed that the direction of the closed curve is specified as counterclockwise in a country A, while the direction of the closed curve is specified as clockwise in a country B. In this case, the direction of the closed curve is defined as counterclockwise in a system using the airspace information of the country A. Accordingly, if the line segment information created in the country B is input to a system of the country A to recognize the airspace, the system of the country A recognizes that the airspace indicated by the line segment information of the country B is outside of the airspace. That is, in such a case, false recognition of the airspace occurs.
In order to avoid this, it is possible to specify the direction information for each piece of line segment information created by different subjects, such as an organization, a corporation, a country, and the like. However, in existing systems, it is not assumed that a wide range of airspace is treated like in the airspace information processing device 100 according to this exemplary embodiment. Accordingly, the existing systems do not have any function for adding the direction information for specifying the direction of the closed curve to the line segment information for specifying the airspace. Even if the direction information is added, the amount of information to be input to the system increases, and if the direction information is erroneously specified, a problem similar to that described above arises.
The area of an airspace defined by a closed curve is generally smaller than half of the surface area of the Earth, as is obvious from the intended use thereof. Therefore, when the area of the airspace is compared with the area of the region outside of the airspace, a smaller area can be discriminated as being the airspace. However, a vast number of calculations are required to obtain the area of each region defined by a closed curve on the sphere, which is not suitable for processing of simply recognizing an airspace. Particularly when a plurality of airspaces are treated, a vast number of calculations are required merely for enabling the system to recognize an airspace, and thus it is not practical.
On the other hand, the airspace information processing device 100 according to this exemplary embodiment can recognize an airspace accurately with a small number of calculations based on the airspace information with various directions of closed curves. The airspace information processing device 100 will be described in detail below.
The operation of the airspace information processing device according to this exemplary embodiment will be described below.
The vector generation unit 1 reads reference points. Specifically, the reference point reading unit 3 reads the reference points stored in the storage unit 5, and outputs a result of the reading to the vector generation unit 1. In this exemplary embodiment, at least three reference points are set on the sphere CB. Each reference point is set in such a manner that the distances between the reference points become substantially equal.
The vector generation unit 1 reads the line segment information. Specifically, the line segment information reading unit 4 reads the line segment information about the airspace that is preliminarily stored in the storage unit 5, and outputs a result of the reading to the vector generation unit 1. In the example shown in
The vector generation unit 1 selects, for each of the reference points, a line segment to be drawn from each of the reference points without intersecting another line segment, from among the line segments LA1 to LA4. A vector from the selected line segment to the corresponding reference point is generated for each of the reference points.
Step S13 will be described in more detail.
An arbitrary point P0 is set on any one of the line segments LA1 to LA4.
In this case, the reference point is represented by STi (1≦i≦3). First, i is set to an initial value “1” (i=1).
The reference point STi is selected.
A line segment LAB is drawn from the point P0 to the reference point STi.
Intersection points between the line segment LAB and line segments other than the line segment on which the point P0 is set are calculated.
Among the intersection points obtained as described above, an intersection point closest to the reference point STi is selected as a point PA.
A vector VSi from the point PA to the reference point STi is generated.
It is confirmed whether i=3 holds. When i=3 holds, the process of Step S13 is completed.
When i<3 holds, “1” is added to “i” (i=i+1), and the processing returns to Step S132.
The vector generation in Step S13 described above can be carried out by Steps S131 to S139 described above.
The airspace recognition unit 2 recognizes, as an outside of the airspace, one region including more than half of the reference points, in two regions on the true sphere that are separated by a closed curve, and recognizes the other region as the airspace. In other words, the airspace recognition unit 2 determines, based on the majority rule, which region includes a greater number of reference points, and determines the circumferential direction of the airspace.
Step S14 will be described in more detail.
The two regions separated by the closed curve are defined as regions A1 and A2 which are located on the left and right sides, respectively, when the boundary between the regions is followed in the direction in which the airspace is defined. In this case, the conditions for determining which one of the regions A1 and A2 is the airspace include the following nine cases.
Case 1 is a case where the reference points ST1 to ST3 are present on a closed curve CL.
Two of the reference points ST1 to ST3 are present on the closed curve CL.
One of the reference points ST1 to ST3 is present on the closed curve CL.
Case 4 is a case where one of the reference points ST1 to ST3 is present on the closed curve and the other two reference points are present in the region A1.
Case 5 is a case where one of the reference points ST1 to ST3 is present on the closed curve and the other two reference points are present in the region A2. In this case, the majority rule holds and the region A1 is recognized as the airspace.
Case 6 is a case where three reference points are present in the region A1.
Case 7 is a case where two reference points are present in the region A1 and one reference point is present in the region A2.
Case 8 is a case where one reference point is present in the region A1 and two reference points are present in the region A2. In this case, the majority rule holds and the region A1 is recognized as the airspace.
Case 9 is a case where three reference points are present in the region A2. In this case, the majority rule holds and the region A1 is recognized as the airspace.
The procedure of Step S14 will be described in more detail.
It is determined whether the number N1 of reference points in the region A1 is equal to or greater than two (N1≧2).
The case where N1≧2 holds corresponds to one of Cases 4, 6, and 7, and thus the region A2 is recognized as the airspace. In this case, the circumferential direction of the boundary of the airspace is clockwise, i.e., the opposite direction. In order to correct the circumferential direction of the boundary of the airspace to counterclockwise, i.e., the forward direction, the defined direction of the airspace is reversed.
When N1<2 holds, it is determined whether the number N2 of vectors in the region A2 is equal to or greater than two (N2≧2).
The case where N2≧2 holds corresponds to one of Cases 5, 8, and 9, and thus the region A1 is recognized as the airspace. In this case, the circumferential direction of the boundary of the airspace is counterclockwise, i.e., the forward direction.
The case where N2<2 holds corresponds to one of Cases 1 to 3 described above, and thus a notification about an error is sent.
As described above, in Step S14, the true circumferential direction of each region can be determined by counting the number of reference points included in each region. In this exemplary embodiment, three reference points are arranged in such a manner that they are spaced apart from each other. Accordingly, the area of one region including more than half of the reference points can be regarded as larger than the area of the other region. Therefore, since the area of the airspace is significantly smaller than the ground surface, the smaller region may be recognized as the airspace. In other words, it can be understood that the airspace information processing device 100 makes a majority decision using reference points, thereby approximately comparing the areas of two regions which are separated by a closed curve.
After that, the circumferential direction of the closed curve surrounding the recognized airspace may be set so as to coincide with the circumferential direction of the closed curve set in the airspace information processing device 100. For example, when the circumferential direction of the airspace is defined as counterclockwise, the direction in which the region including a greater number of vectors output from the closed curve is viewed on the right side corresponds to the circumferential direction of the airspace.
As described above, according to this configuration, a plurality of pieces of information on airspaces defined by closed curves with different circumferential directions can be accurately treated in a unified manner.
An airspace information processing device 200 according to a second exemplary embodiment will be described. The airspace information processing device 200 is a modified example of the airspace information processing device according to the first exemplary embodiment. While the airspace information processing device 200 has the same configuration as that of the airspace information processing device 100, but the operation of the airspace information processing device 200 differs from that of the airspace information processing device 100. The airspace information processing device 200 differs from the airspace information processing device 100 in that the airspace information processing device 200 further performs validity determination on the airspace recognition. This validity determination is performed by the airspace recognition unit 2 of the airspace information processing device 200.
The first exemplary embodiment has been described above assuming that an airspace is defined by a closed curve, but in some cases, a part of one closed curve intersects another part of the closed curve.
Therefore, when a closed curve has an intersection point, there is a need for a function to detect that a closed curve has an intersection point and send a notification about an error. The airspace information is generally set so as to prevent an intersection point from being generated on a closed curve. However, it can be assumed that the airspace information may be erroneously set during data creation or data input. Accordingly, in order to accurately design an airspace, it is necessary to detect a case where a closed curve has an intersection point.
Airspace information processing in the airspace information processing device 200 will be described below.
The validity determination (Step S20) will be described below.
The parameter j is set to “1” (j=1).
It is determined whether “j” is greater than “N” (j>N).
When j>N holds, the validity determination (Step S20) is completed.
When “j” is smaller than “N” (j≦N), the parameter k is set to k=j+1.
It is determined whether “k” is greater than “N” (k>N).
When k>N holds, “1” is added to the parameter j (j=j+1). After that, the processing returns to Step S202.
When “k” is equal to or smaller than “N” (k≦N), all intersection points between the line segment L(j) and the line segment L(k) are calculated.
It is determined whether k=j+1 holds.
When k≠j+1 holds, the processing proceeds to Step S211.
When k=j+1 holds in Step S207, it is determined whether the intersection points obtained in Step S205 include an intersection point corresponding to each of an end point PE(j) of the line segment L(j) and a start point PS(k) of the line segment L(k).
In Step S208, when there is an intersection point corresponding to each of the end point PE(j) of the line segment L(j) and the start point PS(k) of the line segment L(k), the intersection point is deleted.
In Step S208, when there is no intersection point corresponding to each of the end point PE(j) of the line segment L(j) and the start point PS(k) of the line segment L(k), it is determined that it is impossible to recognize the airspace. Then, the processing is interrupted and a notification about an error is sent.
It is determined whether j=1 and k=N hold.
When j=1 and k=N do not hold, the processing proceeds to Step S214.
When j=1 and k=N hold in Step S211, it is determined whether there is an intersection point corresponding to each of an end point PE(k) of the line segment L(k) and a start point PS(j) of the line segment L(j).
In Step S212, when there is an intersection point corresponding to each of the end point PE(k) of the line segment L(k) and the start point PS(j) of the line segment L(j), the intersection point is deleted.
In Step S212, there is no intersection point corresponding to each of the end point PE(k) of the line segment L(k) and the start point PS(j) of the line segment L(j), the processing proceeds to Step S210 and it is determined that it is impossible to recognize the airspace. Then, the processing is interrupted and a notification about an error is sent.
It is determined whether there is an intersection point between the line segment L(j) and the line segment L(k).
When there is an intersection point between the line segment L(j) and the line segment L(k), the processing proceeds to Step S210 and it is determined that it is impossible to recognize the airspace. Then, the processing is interrupted and a notification about an error is sent.
When there is no intersection point between the line segments L(j) and L(k), “1” is added to the parameter k (k=k+1). After that, the processing proceeds to Step S204.
According to Steps S201 to S215 described above, a case where the airspace is separated into a plurality of regions can be detected. This prevents false recognition of an airspace, or processing based on the airspace information with which the airspace recognition cannot be achieved.
Note that the present invention is not limited to the above exemplary embodiments and can be modified as appropriate without departing from the scope of the invention.
The airspace information processing device and the airspace information processing method performed by the device have been described above. However, the present invention is not limited to these examples. According to the present invention, any processing can be implemented by causing a CPU (Central Processing Unit) to execute a computer program.
The program can be stored and provided to a computer using any type of non-transitory computer-readable media. Non-transitory computer-readable media include any type of tangible storage media. Examples of non-transitory computer-readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (e.g. magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R/W, and semiconductor memories (such as mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory), etc.). The program may be provided to a computer using any type of transitory computer-readable media. Examples of transitory computer-readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer-readable media can provide the program to a computer via a wired communication line (e.g. electric wires, and optical fibers) or a wireless communication line.
In the above exemplary embodiment, the number of reference points is three, but the number of reference points may be any value equal to or greater than four. While the reference points are set on the equator in the above exemplary embodiments, the reference points can be set at any location.
In the above exemplary embodiments, a notification about an error is sent in the cases corresponding to Cases 1 to 3, but this is illustrated by way of example only. For example, the conditions for sending a notification about an error can be changed depending on the airspace design specifications.
While the present invention has been described above with reference to exemplary embodiments, the present invention is not limited by the above exemplary embodiments. The configuration and details of the present invention can be modified in various manners which can be understood by those skilled in the art within the scope of the invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/001563 | 3/19/2014 | WO | 00 |