CPR local decoding method and device
By counting and correcting the latitude and longitude values of CPR messages, the coverage of CPR local decoding is expanded, the problem of insufficient longitude and latitude coverage in the existing technology is solved, and higher decoding accuracy and coverage are achieved.
Patent Information
- Application Number
- CN202410646358.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-10
AI Technical Summary
Existing CPR local decoding technology has limited latitude and longitude coverage, resulting in insufficient decoding accuracy and coverage.
By statistically outputting longitude and latitude values, the index values of latitude zone and longitude zone are re-corrected, and the longitude and latitude values are recalculated to expand the range of acceptable longitude and latitude values for the reference point. Specific steps include setting the latitude and longitude values of the reference point, clarifying the parity of the CPR message, calculating the quasi-linear interval of the latitude and longitude data, modifying the index value calculation expression, recalculating the latitude and longitude values, and finding parsable CPR messages. text interval.
The latitude and longitude coverage of the CPR local decoding algorithm is improved, making the test results more comprehensive, the method is simple and highly implementable.
Smart Images

Figure CN118631389A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of decoding technology, and more specifically, to decoding technology used for air traffic management and air traffic control surveillance (ADS-B), global satellite positioning system, and navigation system, and specifically to a CPR local decoding method and device. Background Art
[0002] In order to effectively encode the position information of aircraft and airport equipment in the 1090ES ADS-B system and reduce the redundant longitude and latitude of data transmission, the compressed position report (CPR) encoding method is adopted. The CPR algorithm divides the latitude and longitude encoding into 17 bits.
[0003] The CPR algorithm uses a special coordinate system that divides each direction (latitude and longitude) into different zones, each of which is approximately 667 kilometers. Depending on the format of the message, there are two different spatial partitions in the zone, which can be even or odd. The number of zones depends on the format of the message and, in the case of longitude, the current latitude of the target. Each zone can be divided into several parts called bins, of which there are approximately 217. Taking latitude as an example, the CPR coordinate system is as follows: Figure 1 Show. Depend on Figure 1 It can be seen that the latitude is divided into 60 areas (even partitions) or 59 areas (odd partitions), and each area is divided into 217 boxes. The parsed latitude is the center line position of the box where the target is located.
[0004] CPR coding technology converts longitude and latitude coordinates into CPR coordinates through odd coding or even coding. CPR coordinates are numbers that completely correspond to the box where the target is located. The messages obtained through odd coding or even coding are called odd messages and even messages. Decoding technology is to parse the actual position of the aircraft from CPR coordinates. CPR decoding can be divided into local decoding and global decoding. Local decoding is to obtain the correct position area from a known position, and global decoding is to obtain the position area from odd and even message messages. The following introduces CPR coding technology and the main steps of the two decoding methods.
[0005] CPR local decoding technology: Since CPR coding introduces position uncertainty, CPR decoding becomes more complicated. CPR decoding is divided into two types: global decoding and local decoding. Global decoding jointly decodes the actual longitude and latitude through adjacent odd and even messages. Local decoding parses the newly received message based on the known reference point position, the previous moment position of the optional target aircraft, or the position of the receiving device, to obtain new position information.
[0006] However, the existing technology has the following technical problems: the latitude and longitude coverage needs to be improved. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art, provide a CPR local decoding method and device, and propose a new CPR local decoding architecture. The method determines whether the longitude and latitude values are within the reference point range by statistically outputting the longitude and latitude values, and then re-corrects the index value of the latitude Zone and the index value of the longitude Zone according to the statistical results, and recalculates the longitude and latitude values. By correcting the receiving end, the range of acceptable longitude and latitude values of the reference point is expanded, thereby improving the longitude and latitude coverage of the CPR local decoding algorithm.
[0008] The object of the present invention is achieved through the following solutions:
[0009] A CPR local decoding method comprises the following steps:
[0010] By counting the output longitude and latitude values, it is determined whether they are within the reference point range. Then, the index value of the latitude Zone and the index value of the longitude Zone are re-corrected according to the statistical results, and the longitude and latitude values are recalculated. By correcting the receiving end, the range of acceptable longitude and latitude values of the reference point is expanded.
[0011] Further, the method of determining whether the latitude and longitude values are within the reference point range by statistically outputting the longitude and longitude values, and then re-correcting the latitude and longitude zone index values and recalculating the longitude and latitude values according to the statistical results, and expanding the range of the longitude and latitude values acceptable to the reference point by correcting the receiving end, specifically includes the following sub-steps:
[0012] Step 1: Set the latitude of the reference point s , longitude lon s value;
[0013] Step 2: Determine the parity of the received CPR message and calculate the longitude lon carried by the continuous CPR message according to the general CPR algorithm. i and latitude data lat i , i=[1,2,…,N], indicating the number of CPR messages;
[0014] Step 3: Latitude data lat i Perform statistics and find the latitude lat of the reference point s The lat i Quasi-linear interval [lat a ,lat b ], where lat a is the minimum value of the linear interval, lat b is the maximum value of the linear interval;
[0015] Step 4: For the aCPR message, modify the calculation expression of the index value j of the latitude Zone, and for the calculation result less than lat a The CPR message recalculates the latitude value;
[0016] Step 5: For the value greater than lat b CPR message, modify the calculation expression of the index value j of the latitude Zone, and for the calculation result greater than lat b The CPR message recalculates the latitude value;
[0017] Step 6: Latitude data lat i Re-calculate and find lat s The class linear interval [lat c ,lat d ], and in [lat c ,lat d ] In the corresponding CPR message, the longitude data lon s Perform statistics and find lon s The quasi-linear interval [lon e ,lon f ], where lon e is the minimum value of the linear interval, lon f is the maximum value of the linear interval;
[0018] Step 7, for less than lon e The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified, and the calculation result is less than lon e The CPR message recalculates the longitude value;
[0019] Step 8, for greater than lon f The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified, and the calculation result is greater than lon f The CPR message recalculates the longitude value;
[0020] Step 9: Longitude data lon i Re-run the statistics and find lon s The quasi-linear interval [lon g ,lon h ];
[0021] Step 10, find [lat c ,lat d ] and [lon g ,lon h ] is recorded as the CPR message interval that can be parsed, and the corresponding [lat m ,latn ] and [lon m ,lon n ].
[0022] Furthermore, in step 4, the calculation expression for modifying the index value j of the latitude Zone is specifically:
[0023]
[0024] Among them, Dlat i Indicates the latitude zone span, YZ i Indicates the latitude Bin value.
[0025] Furthermore, in step 5, the calculation expression for modifying the index value j of the latitude Zone is specifically:
[0026]
[0027] Among them, Dlat i Indicates the latitude zone span, YZ i Indicates the latitude Bin value.
[0028] Furthermore, in step 7, the calculation expression for modifying the index value m of the longitude Zone is specifically:
[0029]
[0030] Among them, Dlon i Indicates the latitude zone span, XZ i express.
[0031] Furthermore, in step 8, the calculation expression for modifying the index value m of the longitude Zone is specifically:
[0032]
[0033] Among them, Dlon i Indicates the latitude zone span.
[0034] A CPR local decoding device comprises a processor and a memory, wherein a program is stored in the memory, and when the program is loaded by the processor, the CPR local decoding method as described in any one of the above items is executed.
[0035] The beneficial effects of the present invention include:
[0036] The present invention re-corrects the index values of latitude Zone and longitude Zone by observing the statistical characteristics of the longitude and latitude output results, so that the test results can cover a wider latitude and longitude coverage range. Compared with the CPR local decoding technology, the implementation method is simpler and has high feasibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 is the CPR latitude coordinate system;
[0039] Figure 2 is a flow chart of the steps of the method of the present invention;
[0040] Figure 3 is the latitude curve obtained by using the general CPR decoding method;
[0041] Figure 4 To obtain a latitude curve using the CPR decoding method of an embodiment of the present invention;
[0042] Figure 5 is the longitude curve obtained by using the general CPR decoding method;
[0043] Figure 6 The longitude curve is obtained by using the CPR decoding method according to the embodiment of the present invention. DETAILED DESCRIPTION
[0044] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.
[0045] In view of the problems in the background, the inventors of the present invention further discovered after creative thinking:
[0046] The CPR local decoding technology includes the following calculation process:
[0047] Step 1), determine the index value j of the zone.
[0048] Through the latitude lat of the reference point s 、Latitude Zone span Dlat i and YZ i Calculate the index value j of latitude Zone:
[0049]
[0050] in:
[0051]
[0052] i is the CPR message format, i∈[1,0]. When the value of i is 0, it is even coding; when the value of i is 1, it is odd coding. Air position report Nb=17, one latitude zone is divided into 2 Nb =131072Bin, ground position report Nb=19, one latitude zone is divided into 2 Nb =524288Bin.
[0053] Step 2), based on the latitude Zone index value j and the latitude Bin value YZ i , calculate the latitude value Rlat i , the calculation formula is as follows:
[0054]
[0055] The above formula calculates that the latitude range in the northern hemisphere is (0°, 90°), and the latitude range in the southern hemisphere is (270°, 360°). The following formula is used to convert the latitude range to (-90°, 90°).
[0056] Rlat i =mod(Rlat i +180,360)-180
[0057] Step 3), calculate NL:
[0058] NL=59Rlati=0;
[0059] NL=2 Rlati=±87°;
[0060] NL=1|Rlati|>87°;
[0061]
[0062] Step 4), calculate the longitude value Dloni
[0063]
[0064] Dlon i =360 NL(Rlat i )-i=0
[0065] Step 5), determine the index value m of the longitude Zone. The longitude decoding algorithm is similar to the latitude decoding algorithm. s 、Longitude Zone span Dlon i , calculate the index value m of the longitude Zone:
[0066]
[0067] Step 6), calculate the longitude value Rloni according to the longitude Zone index value m and the longitude Bin value XZi, and the calculation formula is the same as above.
[0068]
[0069] The longitude range calculated by the above formula is (0°, 360°), and the longitude range is reduced to (-180°, 180°) using the following formula.
[0070] Rlon i =mod(Rlon i +180,360)-180.
[0071] The inventor of the present invention further discovered that the technical problem of the above method is that when local decoding and analysis is used, the target position and the reference point are required to be within the 1 / 2Zone range, so the longitude and latitude coverage is limited. Figure 2 As shown, the embodiment method provided by the present invention includes the following steps:
[0072] Step 1: Set the latitude of the reference point s , longitude lon s value;
[0073] Step 2: Determine the parity of the received CPR message and calculate the longitude lon carried by the continuous CPR message according to the general CPR algorithm. i and latitude data lat i , i=[1,2,…,N], indicating the number of CPR messages;
[0074] Step 3: Latitude data lat i Perform statistics and find the latitude lat of the reference point s The lat i Quasi-linear interval [lat a ,lat b ], where lat a is the minimum value of the linear interval, lat b is the maximum value of the linear interval;
[0075] Step 4: For the a CPR message, modify the calculation expression of the latitude Zone index value j as follows, and for the calculation result less than lat a The CPR message recalculates the latitude value:
[0076]
[0077] Step 5: For the value greater than lat bIn the CPR message, modify the calculation expression of the index value j of the latitude Zone as follows:
[0078]
[0079] And for the calculation result greater than lat b The latitude value is recalculated based on the CPR message.
[0080] Step 6: Latitude data lat i Re-calculate and find lat s The class linear interval [lat c ,lat d ], and in [lat c ,lat d ] In the corresponding CPR message, the longitude data lon s Perform statistics and find lon s The quasi-linear interval [lon e ,lon f ], where lon e is the minimum value of the linear interval, lon f is the maximum value of the linear interval;
[0081] Step 7, for less than lon e The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified as follows, and the calculation result is less than lon e The CPR message recalculates the longitude value:
[0082]
[0083] Step 8, for greater than lon f The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified as follows:
[0084]
[0085] And for the calculation result greater than lon f The longitude value is recalculated based on the CPR message.
[0086] Step 9: Longitude data lon i Re-run the statistics and find lon s The quasi-linear interval [lon g ,lon h ];
[0087] Step 10, find [lat c ,lat d ] and [lon g ,lonh ] is recorded as the CPR message interval that can be parsed, and the corresponding [lat m ,lat n ] and [lon m ,lon n ].
[0088] In a further embodiment, the following steps are included:
[0089] Step 1, first set the latitude of the reference point lat s =15°, longitude lon s =12°;
[0090] Step 2: X CPR messages are transmitted in odd-even alternation, and the longitude lon is calculated using the general CPR algorithm. i and latitude data lat i , as shown in Table 1:
[0091] Table 1 CPR message latitude and longitude calculation table
[0092]
[0093]
[0094] For the measured latitude lat i Perform statistics, such as Figure 3 As shown, there are three linear regions in the figure, among which the latitude lat of the reference point is required. s =15° in the linear zone, the latitude interval is [12.5°,18°], and the position of the target and the reference point are within the 1 / 2Zone range, which is consistent with the theory.
[0095] Step 3: For CPR messages with an angle less than 12.5°, modify the calculation expression of the index value j of the latitude Zone as follows:
[0096]
[0097] For CPR messages greater than 18°, modify the calculation expression of the index value j of the latitude Zone as follows:
[0098]
[0099] After calculation, Table 2 is as follows:
[0100] Table 2 CPR message latitude and longitude calculation table after latitude optimization
[0101] CPR message sequence number <![CDATA[Send latitude lat i > <![CDATA[Send longitude lon i > <![CDATA[Measured latitude lat i > <![CDATA[Measured longitude lon i > 1 8.5 5.5 14.5 11.8017 2 9.0 6.0 15 12.5263 3 9.5 6.5 9.5 12.6017 4 10.0 7.0 10 13.1017 5 10.5 7.5 10.5 13.7069 6 11.0 8.0 11 14.2069 7 11.5 8.5 11.5 14.7069 8 12.0 9.0 12.0 9.0 9 12.5 9.5 12.5 9.5 10 13.0 10.0 13.0 10.0 11 13.5 10.5 13.5 10.5 12 14.0 11.0 14.0 11.0 13 14.5 11.5 14.5 11.5 14 15.0 12.0 15.0 12.0 15 15.5 12.5 15.5 12.5 16 16.0 13.0 16.0 13.0 17 16.5 13.5 16.5 13.5 18 17.0 14.0 17.0 14.0 19 17.5 14.5 17.5 14.5 20 18.0 15.0 18.0 15.0 21 18.5 15.5 18.5 9.0714 22 19.0 16.0 19 9.5714 23 19.5 16.5 19.5 10.0714 24 20.0 17.0 20 10.5714 25 20.5 17.5 20.5 11.0714 26 21.0 18.0 21 11.5714 27 21.5 18.5 15.5 11.5351
[0102] The corrected measured latitude lati Perform statistics, such as Figure 4 As shown, the latitude of the reference point in the figure is lat s =15° in the linear area, the latitude range is extended from [12.5°, 18°] to [9.5°, 21°], and the target position is close to the reference point lat s =15° position is expanded from 1 / 2Zone range to 1Zone range.
[0103] Step 4: In the CPR message corresponding to the latitude [9.5°, 21°], the longitude data is counted, such as Figure 5 As shown, find the reference point lon s The class linear interval is [9°,15°].
[0104] Step 5: For CPR messages with an angle less than 9°, modify the calculation expression of the index value m of the longitude Zone as follows:
[0105]
[0106] For CPR messages greater than 15°, modify the calculation expression of the index value m of the longitude Zone as follows:
[0107]
[0108] After calculation, the table is as follows:
[0109] Table 3 CPR message latitude and longitude calculation table after optimizing latitude and longitude
[0110]
[0111]
[0112] The corrected measured longitude lon i Perform statistics, such as Figure 6 As shown, the latitude lon of the reference point in the figure s =12° in the linear area, the latitude range is extended from [9°, 15°] to [6.5°, 18°], and the target position is lon s =12° position is expanded from 1 / 2Zone range to 1Zone range.
[0113] Step 6, find the CPR message common to the precision linear region and the latitude linear region, record it as the resolvable CPR message serial number [3~26], and give the corresponding minimum longitude and latitude [9.5°, 6.5°] and [21°, 18°].
[0114] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0115] According to one aspect of an embodiment of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in the above various optional implementations.
[0116] In addition to the above examples, those skilled in the art may obtain other embodiments based on the above disclosure or by using the knowledge or technology in the relevant field to make changes. The features of each embodiment may be interchangeable or replaced. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention and should be within the scope of protection of the claims attached to the present invention.
Claims
1. A CPR local decoding method, characterized in that: The steps include: By counting the output longitude and latitude values, it is determined whether they are within the reference point range. Then, the index value of the latitude Zone and the index value of the longitude Zone are re-corrected according to the statistical results, and the longitude and latitude values are recalculated. By correcting the receiving end, the range of acceptable longitude and latitude values of the reference point is expanded.
2. The CPR local decoding method according to claim 1, characterized in that: The method of determining whether the latitude and longitude values are within the reference point range by counting the output longitude and latitude values, and then re-correcting the latitude and longitude zone index values and recalculating the longitude and latitude values according to the statistical results, and expanding the range of the longitude and latitude values acceptable to the reference point by correcting the receiving end, specifically includes the following sub-steps: Step 1: Set the latitude of the reference point s , longitude lon s value; Step 2: Determine the parity of the received CPR message and calculate the longitude lon carried by the continuous CPR message according to the general CPR algorithm. i and latitude data lat i , i=[1,2,…,N], indicating the number of CPR messages; Step 3: Latitude data lat i Perform statistics and find the latitude lat of the reference point s The lat i Quasi-linear interval [lat a ,lat b ], where lat a is the minimum value of the linear interval, lat b is the maximum value of the linear interval; Step 4: For the a CPR message, modify the calculation expression of the index value j of the latitude Zone, and for the calculation result less than lat a The CPR message recalculates the latitude value; Step 5: For the value greater than lat b CPR message, modify the calculation expression of the index value j of the latitude Zone, and for the calculation result greater than lat b The CPR message recalculates the latitude value; Step 6: Latitude data lat i Re-calculate and find lat s The class linear interval [lat c ,lat d ], and in [lat c ,lat d ] In the corresponding CPR message, the longitude data lon s Perform statistics and find lon s The quasi-linear interval [lon e ,lon f ], where lon e is the minimum value of the linear interval, lon f is the maximum value of the linear interval; Step 7, for less than lon e The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified, and the calculation result is less than lon e The CPR message recalculates the longitude value; Step 8, for greater than lon f The longitude calculation data is modified, and the calculation expression of the index value m of the longitude Zone is modified, and the calculation result is greater than lon f The CPR message recalculates the longitude value; Step 9: Longitude data lon i Re-run the statistics and find lon s The quasi-linear interval [lon g ,lon h ]; Step 10, find [lat c ,lat d ] and [lon g ,lon h ] is recorded as the CPR message interval that can be parsed, and the corresponding [lat m ,lat n ] and [lon m ,lon n ].
3. The CPR local decoding method according to claim 2, characterized in that: In step 4, the calculation expression for modifying the index value j of the latitude Zone is specifically: Among them, Dlat i Indicates the latitude zone span, YZ i Indicates the latitude Bin value.
4. The CPR local decoding method according to claim 2, characterized in that: In step 5, the calculation expression for modifying the index value j of the latitude Zone is specifically: Among them, Dlat i Indicates the latitude zone span, YZ i Indicates the latitude Bin value.
5. The CPR local decoding method according to claim 2, characterized in that: In step 7, the calculation expression for modifying the index value m of the longitude Zone is specifically: Among them, Dlon i Indicates the latitude zone span.
6. The CPR local decoding method according to claim 1, characterized in that: In step 8, the calculation expression for modifying the index value m of the longitude Zone is specifically: Among them, Dlon i Indicates the latitude zone span.
7. A CPR local decoding device, characterized in that: The method comprises a processor and a memory, wherein a program is stored in the memory, and when the program is loaded by the processor, the CPR local decoding method according to any one of claims 1 to 6 is executed.
