DO385-based ACAS X test case input file operation method

By providing ACAS X test case input file operation methods, the technical gap in ACAS X test scenario file operation is solved, the accurate analysis and processing of files is realized, the data is identified, and the data is compliant with the DO385 standard is provided, and the ACAS X core algorithm is improved. Flight safety and efficiency.

CN119179651AActive Publication Date: 2024-12-24CHENGDU TECH UNIV

Patent Information

Application Number
CN202411687973.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2024-12-24
Estimated Expiration
2044-11-25

AI Technical Summary

Technical Problem

The existing technology does not provide specific operation and usage methods for the output files of the ACAS X test scenarios of the new generation of anti-collision system, which leads to the fact that the reading, parsing and processing of the input files of the test scenarios must be explored and implemented in the process of equipment design and development, and there is a technical gap.

Method used

Provides the input file operation method of ACAS X test case based on DO385. By reading the structured data of the test scenario file, the file operation is carried out based on the test start time, the test end time, the data item start index, and the data item end index, and the file operation is carried out in Automatically identify data missing during the processing cycle, realize accurate, complete and reliable reading, parsing and processing of files, and connect the ACAS X monitoring and tracking module and the threat decision module.

Benefits of technology

It realizes correct and reliable test scenario input file operation, recognizes data loss in 1 second or more seconds, meets the requirements of the DO385, the lowest operating performance standard for the new generation of anti-collision system, provides data sources for ACAS X core algorithm, and supports the new generation of anti-collision system The development and upgrade of TCAS II equipment improve flight safety and use efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179651A_ABST
    Figure CN119179651A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of new-generation collision avoidance systems (ACAS) X, and discloses a DO385-based ACAS X test case input file operation method, which realizes file operation according to test starting time, test ending time, a data item starting index and a data item ending index of a test scene input file. And data analysis and processing are carried out by taking a nominal operation period of 1 second of the airborne collision avoidance system as a period, so that the operation of inputting a file into a test scene is correctly and reliably realized, the test scene with data missing of 1 second or multiple seconds can be identified for targeted processing, and the requirements of the lowest operation performance standard DO385 of a new-generation collision avoidance system are met. A data source is provided for operation and testing of an ACAS X core algorithm, development of a new-generation collision avoidance system can be supported, and the flight safety and the use efficiency of the national airspace in China can be improved by applying the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of a new generation collision avoidance system ACAS X, and more specifically, to an ACASX test case input file operation method based on DO385. Background Art

[0002] Aviation flight safety is an eternal theme in the aviation industry. With the continuous growth of global military and civil aviation traffic, the number and density of aircraft in the airspace continue to increase, and the potential risk of mid-air collision accidents also increases. Therefore, it is urgent to improve the existing air situation awareness and collision avoidance capabilities of aircraft. The mandatory installation of the air traffic warning and collision avoidance system TCAS worldwide has been proven to be the last barrier and the most effective means to solve mid-air collision accidents after long-term application. The current collision avoidance system mainly uses TCAS II. The collision avoidance logic unit of TCAS II has complex heuristic rules and a series of processes. It is extremely difficult to upgrade and improve the design, with a long verification cycle and high cost. It cannot adapt to the ever-changing modern flight environment and challenges. It is not suitable for specific flight scenarios and diverse aircraft such as drones. At the same time, there is a false alarm problem that pilots widely complain about.

[0003] In order to solve the drawbacks and shortcomings of the TCAS II system, the International Civil Aviation Organization (ICAO) and the Federal Aviation Administration (FAA) of the United States have developed a new generation of airborne collision avoidance system ACAS X. Its collision avoidance unit models the scenario of aircraft mid-air collision encounters as a Markov decision process, uses a dynamic programming-based method to solve the model, and generates a series of collision avoidance logic tables. Based on these logic tables, the rule-based heuristic collision avoidance logic of TCAS II is converted into a digital lookup table logic based on probability and cost value, and the optimal collision avoidance decision recommendation is selected based on the cost value. The international general standard DO385 is the minimum operating performance standard for the new generation of collision avoidance system ACAS X. The standard stipulates that the collision avoidance processing logic includes two core functions: the monitoring and tracking module and the traffic decision module. The former realizes the monitoring and tracking of airspace target aircraft and the aircraft, and the latter realizes collision threat detection and collision avoidance warning based on the output of the former, the lookup table method and the cost value; the standard also stipulates that after the collision avoidance logic design is implemented, it must be tested, and its operation input and output must comply with 7 groups of 422 test scenarios. Each test scenario includes 4 types of JSON files.

[0004] Here, JSON (JavaScript Object Notation) is a data exchange format file with the suffix .json, which is usually used to store and transmit structured data. JSON files represent objects and arrays in a simple text form, which is easy for humans to read and write, and easy for machines to parse and generate. The basic syntax of JSON files includes: Object, surrounded by curly braces {}, key-value pairs separated by commas; Array: surrounded by square brackets [], elements are separated by commas; Data types: support strings, numbers, Boolean values, objects, arrays, and null; In general, files with the suffix .json are an indispensable part of modern software development and are widely used in scenarios such as data transmission, storage, and configuration.

[0005] There are four types of files. Specifically, one type is the test scenario input file. The anti-collision logic needs to read and parse these files as input conditions for operation. The other three types are standardized test result output files output by the anti-collision logic. When the anti-collision logic reads and parses the input data according to the test scenario input file and runs to generate three types of output files, these three types of output files are compared with the output files provided as normative appendices of the standard. If they meet the tolerance requirements, the test scenario is considered to have passed the test, otherwise it is considered to have failed the test. The naming and content formats of each of the above four types of files are unified. The names and descriptions of the four types of files are detailed in Table 1.

[0006] Table 1 Test scenario file information table

[0007] The four types of test scenario files in Table 1 are normative annexes of the general technical standard DO385 specified by the International Civil Aviation Organization (ICAO) and the Federal Aviation Administration (FAA) of the United States. They are mandatory for equipment manufacturers to use for standard compliance testing after the anti-collision logic is implemented.

[0008] In summary, after the collision avoidance logic design of the new generation collision avoidance system ACAS X is implemented, it must undergo standard compliance testing. The first step of the test is to operate the test scenario input file, including file reading and parsing. In addition, the file operation must be coupled with the operation of the subsequent ACAS X core algorithm - surveillance tracking module and threat decision module according to the nominal operation cycle of the collision avoidance logic of 1 second. At the same time, it must also be designed for the operation cycle where file data is missing to ensure that the output of these cycles can still meet the standard output requirements. The file operation is required to be carried out according to the structure of the test scenario input file EncounterXXXXAircraft1Input.json, and its data structure is shown in Table 2.

[0009] Table 2 Test scenario input file data structure

[0010] The technical problem in the design and development of ACAS X is that DO385, as the minimum operational performance standard for the new generation of airborne collision avoidance system ACAS X, does not provide the specific operation and usage methods of the test scenario output file. Moreover, there is no public report on relevant technologies in the existing public technical materials and literature at home and abroad. Therefore, during the equipment design and development process, designers must explore on their own to realize the reading, parsing, and processing of the test scenario input file to fill the current technical gap.

[0011] ACAS X is related to aviation flight safety and is a safety-critical equipment for aviation flight. The safety and effectiveness of its functions are based on various strict test processes, including 422 groups of test scenarios corresponding to the collision avoidance logic design compliance test. Therefore, a complete and effective operation method for the test scenario input file is urgently needed to read, parse, and use the file through software operation, which is the basis for realizing the operation of 422 groups of test scenarios of the ACAS X collision avoidance logic. Summary of the Invention

[0012] Aiming at the deficiencies in the operation method of the test scenario input file in the prior art, the present invention discloses an operation method for the test case input file of ACAS X based on DO385. Using this method, 422 test scenario input files can be accurately, completely, and reliably operated to realize the reading, parsing, and processing of the files, and can effectively connect and couple with the ACAS X monitoring and tracking module and threat decision-making module.

[0013] The technical solution of the present invention realizes file operation according to the test start time, test end time, data item start index, and data item end index of the test scenario input file, and performs data parsing and processing in a cycle of 1 second, the nominal operation cycle of the airborne collision avoidance system; among them, the test start time comes from the "start_time" data value in the file header information, and the test end time comes from the time of arrival toa data value of the last item of data in the file; the data item start index is 1, and the data item end index is the total number of data items included in the test scenario input file.

[0014] Furthermore, during the file operation process, for each piece of data read, compare the relative magnitudes of the current processing cycle time Ti and the current data arrival time toa. When Ti < toa, it means that at the moment of Ti, there is no prefabricated corresponding data. Therefore, it indicates that there is a data missing in the processing cycle where Ti is located. The adopted processing method is to immediately jump out of the file scenario parsing operation of this processing cycle and enter the subsequent processing processes of the monitoring and tracking function and threat decision-making function of the collision avoidance system. In this way, the situation where there is a missing data item for 1 second or multiple seconds in the data file can be automatically identified, so as to correctly perform file operation and subsequent processing in this case.

[0015] Furthermore, the specific implementation of the method includes the following steps: S1: Read the test scenario file and obtain the structured data inside the file; S2: According to the structured data, assign values ​​to the test start time, test end time, data item start index, and data item end index. The specific method is as follows: S21: the test start time is the data value of "start_time" of the "playback_header" substructure of the structured data in step S1; S22: The test end time is the data value of "report_time" of the last data item in the "acasx_reports" structure array of the structured data in step S1, rounded up; S23: The starting index of the data item is initialized to 1; S24: the data item end index is the total number of data items of the structured data in step S1, which is equal to the length of the "acasx_reports" structure array of the structured data; S3: File operation includes the following two loops. The first loop is to perform data operation according to integer seconds from the test start time to the test end time, and record the current processing time Ti. The second loop is to perform file operation according to the data item index within each second, and record the current data arrival time toa. S4: At every integer second, the collision avoidance system performs monitoring and tracking functions and threat decision functions.

[0016] Technical effects of the present invention: The file operation method disclosed in the present invention can solve the shortcomings and defects of the current technology, correctly and reliably realize the operation of the test scene input file, and can identify the test scene file with 1 second or more seconds of data missing, meet the requirements of the minimum operating performance standard DO385 of the new generation collision avoidance system, and can provide a data source for the operation and test of the ACAS X core algorithm, support the development of the new generation collision avoidance system, and through the application of ACAS X, realize the upgrading of the current TCAS II equipment, which can improve the flight safety and utilization efficiency of my country's national airspace. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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.

[0018] Attached Figure 1It is a schematic diagram of the position of the present invention in the ACAS X software development process.

[0019] Attached Figure 2 It is a design implementation flow chart of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and examples.

[0021] Example:

[0022] This embodiment provides an implementation scheme of the method of the present invention. The design and implementation of this embodiment is based on the Julia programming language. It should be pointed out that without paying creative labor, technicians in this field can use other programming languages ​​to implement the method of the present invention.

[0023] When implemented, according to the method provided by the present invention, combined with the Julia language code, the detailed implementation steps are as follows: S1: Read the test scenario file and obtain the structured data inside the file; this embodiment implements this function through the JSON file operation library function provided by Julia voice, and it is necessary to use "using JSON" in the program source file to declare the use of the library file; further, the specific steps are as follows, S11: enter the folder where the test case input file is located, the code line is as follows: cd("$root_path / TestSuiteDO385-encounters"), where $root_path is the root path, such as C: / , which means that the root path is the C drive; TestSuiteDO385-encounters is the specific folder where the test case input file is located; then enter S21: call the JSON library function to obtain the structured data of the dictionary type, the code is rEndata=JSON.parsefile(EncounterXXXXAircraft1Input.json), where readData is the returned dictionary type variable, JSON.parsefile is the interface function name, the parameter EncounterXXXXAircraft1Input.json is the JSON file name to be read, and XXXX is the four-digit file number; Enter S2: According to the structured data, assign values ​​to the test start time, test end time, data item start index, and data item end index. The specific method is as follows: S21: The test start time is the data value of "start_time" of the "playback_header" substructure of the structured data in step S1. The implementation code is start_time::Float64=rEndata["playback_header"]["start_time"]; S22: The test end time is the data value of "report_time" of the last item in the "acasx_reports" structure array of the structured data in step S1, rounded up. The implementation code is, endT::Uint16=ceil(rEndata["acasx_reports"][end]["report_time"] ); S23: The data item start index is initialized to 1, and the implementation code is, beginI::Uint16=1; S24: The data item end index is the total number of data items of the structured data in step S1, which is equal to the length of the "acasx_reports" structure array of the structured data. The implementation code is, endI::Uint16=length(eachindex(rEndata["acasx_reports"])); So far, the time and index parameters required for file operation have been obtained, and then step S3 is entered. S3: The file operation includes the following two loops. The first loop is to perform data operation according to integer seconds from the test start time to the test end time, and record the current processing time Ti; the second loop is to perform file operation according to the data item index within each second, and record the current data arrival time toa; the implementation code is: for i in beginT:endT for j in beginI:endI dType = rEndata["acasx_reports"][j]["acas_xaxo_do385"]["data_type"] toa = rEndata["acasx_reports"][j]["report_time"] Jnext = min((j + 1), endI) toaNext = rEndata["acasx_reports"][Jnext]["report_time"] AircraftInput(dType, i, j, endI, rEndata) if (toaNext>i)|| (Ti <toa)break end end # ACAS X core algorithm code runs here, including monitoring and tracking module and WeChat decision module end The above are specific implementation steps provided for the embodiment.

Claims

1. ACAS X test case input file operation method based on DO385, characterized in that: File operations are implemented according to the test start time, test end time, data item start index, and data item end index of the test scenario input file, and data parsing and processing are performed according to the nominal operating cycle of the airborne collision avoidance system of 1 second; the test start time comes from the "start_time" data value of the file header information, the test end time comes from the toa data value of the arrival time of the last data item in the file, the data item start index is 1, and the data item end index is the total number of data items contained in the test scenario input file.

2. The method according to claim 1, characterized in that During the file operation, by comparing the relative size of the current processing cycle time Ti and the current data arrival time toa, it is identified that there are 1 second or more seconds of missing data items in the file. In this case, the current processing cycle file reading and processing operation is terminated and the operation of the ACAS X core algorithm is started.

3. The method according to claim 2, characterized in that The following steps are involved: S1: Read the test scenario file and obtain the structured data inside the file; S2: According to the structured data, assign values ​​to the test start time, test end time, data item start index, and data item end index. The specific method is as follows: S21: the test start time is the data value of "start_time" of the "playback_header" substructure of the structured data in step S1; S22: The test end time is the data value of "report_time" of the last item in the "acasx_reports" structure array of the structured data in step S1; S23: The starting index of the data item is initialized to 1; S24: the data item end index is the total number of data items of the structured data in step S1, which is equal to the length of the "acasx_reports" structure array of the structured data; S3: The file operation includes the following two layers of loops. The first layer of loop is to perform data operations in an integer second loop from the test start time to the test end time, and record the current processing time Ti; The second loop is to perform file operations according to the data item index within each second and record the current data arrival time toa; S4: At every integer second, the collision avoidance system performs monitoring and tracking functions and threat decision functions.

4. The method according to claim 3, characterized in that In step S3, when the current processing cycle time Ti<the current data arrival time toa, it is considered that data is missing in the current data processing cycle, and the file reading and processing operation in the current processing cycle is terminated, and the operation of the ACAS X core algorithm is entered.

Citation Information

Patent Citations

  • Method and system for generating, converting and verifying standard use cases for actual flight scenarios of TCASII airborne collision avoidance system

    CN109032950A

  • Automatic algorithm testing method and device, computer system and readable storage medium

    CN111258913A

  • Performance test method and device for index data structure, equipment and storage medium

    CN116204441A

  • Computer-implemented method and computerized device for testing a technical system

    EP3961407A1

Cited By

  • ACAS X software standard conformity verification method based on DO385 test case set

    CN119807006A

  • ACAS X software standard compliance verification method based on DO385 test case set

    CN119807006B