CN107291624B - Automatic test method for maximum takeoff weight look-up table value of flight control software - Google Patents

Automatic test method for maximum takeoff weight look-up table value of flight control software Download PDF

Info

Publication number
CN107291624B
CN107291624B CN201710662632.8A CN201710662632A CN107291624B CN 107291624 B CN107291624 B CN 107291624B CN 201710662632 A CN201710662632 A CN 201710662632A CN 107291624 B CN107291624 B CN 107291624B
Authority
CN
China
Prior art keywords
value
maximum
maximum takeoff
takeoff weight
weight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710662632.8A
Other languages
Chinese (zh)
Other versions
CN107291624A (en
Inventor
梁潇
张帅
周涛
刘峰
张原�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aircraft Design and Research Institute of AVIC
Original Assignee
Xian Aircraft Design and Research Institute of AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Aircraft Design and Research Institute of AVIC filed Critical Xian Aircraft Design and Research Institute of AVIC
Priority to CN201710662632.8A priority Critical patent/CN107291624B/en
Publication of CN107291624A publication Critical patent/CN107291624A/en
Application granted granted Critical
Publication of CN107291624B publication Critical patent/CN107291624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation

Abstract

The invention relates to an automatic test method for a maximum takeoff weight look-up table value of flight management software, which belongs to the field of aircraft software test and comprises the steps of establishing a global variable database; inputting condition parameters to be inquired, and calculating by flight control software to obtain a maximum takeoff weight calculation value; acquiring navigation data of the airport according to the query condition parameters, and acquiring a maximum takeoff weight query value according to the real-time parameters; and comparing the values of the two, if the calculated value of the maximum takeoff weight is equal to the query value of the maximum takeoff weight, the calculated value of the maximum takeoff weight passes through the query value, and if the calculated value of the maximum takeoff weight is not equal to the query value of the maximum takeoff weight, the query value of the maximum takeoff weight does not pass through the query value. According to the invention, the global variable database is established, and all the used data are stored in the global variable database, so that the expansion of the functions later is facilitated, only the content of the global variable table needs to be enriched, and the data can be more quickly called and stored by establishing the global variable table.

Description

Automatic test method for maximum takeoff weight look-up table value of flight control software
Technical Field
The invention belongs to the field of airplane software testing, and relates to an automatic test method for a maximum takeoff weight look-up table value of flight control software.
Background
The flight management software is monitoring management software for the flying of the airplane, relates to each stage of the flying of the airplane, makes a flight plan and monitors the real-time state of the airplane. The parameters of the airplane to be provided can be manually input, and the change of the parameters can be tracked.
The maximum takeoff weight is an important parameter of the aircraft, and relates to the ambient temperature, the wind speed, the flap configuration and the like of the aircraft. The value of the maximum takeoff weight is obtained by table lookup during testing, but the table lookup workload is large, the speed is slow, and errors are easy to occur during repeated operation.
Disclosure of Invention
The invention aims to provide an automatic test method for a maximum takeoff weight look-up table value of flight control software, which is used for solving any one of the problems.
In order to achieve the purpose, the invention adopts the technical scheme that: an automatic test method for a maximum weight lookup table value of takeoff of flight control software is based on an automatic test system for the lookup table value of the flight control software, the automatic test system comprises a bus monitor and a test computer, the flight control software is arranged in the test computer and used for managing the flight of an airplane, the bus monitor is connected to the test computer and used for monitoring the input and the output of the flight control software, and the automatic test system comprises:
establishing a global variable database, wherein the global variable database comprises navigation data containing airport names and maximum takeoff weight data of airplanes;
inputting condition parameters to be inquired, wherein the condition parameters comprise airport names and airport real-time parameters to be inquired, and calculating by flight management software to obtain a maximum takeoff weight calculation value;
acquiring navigation data of an airport corresponding to the airport name query according to the query condition parameters, and querying airplane takeoff maximum weight data according to the real-time parameters and the airport navigation data to acquire a maximum takeoff weight query value;
and comparing the calculated value of the maximum takeoff weight with the query value of the maximum takeoff weight, if the calculated value of the maximum takeoff weight is equal to the query value of the maximum takeoff weight, the output test is passed, and if the calculated value of the maximum takeoff weight is not equal to the query value of the maximum takeoff weight, the output test is not passed.
Further, the calculated value of the maximum takeoff weight is an accurate value, the query value of the maximum takeoff weight is a range value, and the calculated value of the maximum takeoff weight is equal when the calculated value of the maximum takeoff weight falls between the query values of the maximum takeoff weight.
Further, the navigation database includes, in addition to the airport number, the longitude and latitude of the airport reference point, the altitude, the runway length, the magnetic field, the transition height, and the transition height layer.
Further, the real-time parameters include ambient temperature, wind speed, and flap configuration.
In the invention, the process of establishing the database is to write a program to store the database which needs to be called subsequently, a global variable table is established, all the used tables are stored in the global variable table, the expansion of the functions is convenient, the content of the global variable table only needs to be enriched, and the data can be called and stored more quickly by establishing the global variable table.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart of an embodiment of the present invention.
Detailed Description
In order to make the implementation objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be described in more detail below with reference to the accompanying drawings in the embodiments of the present invention.
The invention relates to an automatic test method for a maximum takeoff weight look-up table value of flight control software, which aims to solve the problems of overlarge query quantity, overlong query time, low speed and easy error existing in the verification of the flight control software, and particularly provides an automatic test method for the maximum takeoff weight look-up table value, based on an automatic test system for the flight control software, wherein the automatic test system comprises a bus monitor and a test computer, the flight control software is arranged in the test computer and is used for managing the flight of an airplane, and the bus monitor is connected with the test computer and is used for monitoring the input and the output of the flight control software, and comprises the following steps:
firstly, a global variable database is established, the global variable database comprises navigation data containing airport names and airplane maximum takeoff weight data, the navigation data in the flight management software are stored in a table form in the establishing process, and the maximum takeoff weight data in the flight management software are also stored in the table form, so that the flight management software can be used conveniently when needed.
Then, the bus monitor monitors and obtains the airport number or name as the query condition parameter in the flight management software, so as to obtain the airport related information in the navigation data with the airport number or name as the query condition, which is the relevant new type of airport obtained by the fact that the departure airport inputted in the data input page of the flight management software in this embodiment is lxlxlxlxlx (the number corresponding to the airport name is customized in the database, such as LCJK corresponding to beijing airport, etc.), and the airport real-time parameter to be queried is inputted in the flight management software, and the airport real-time parameter is inputted in this embodiment: the wind speed is 10m/s, the flap configuration is 15 degrees, the temperature is 25 degrees, and finally the maximum takeoff weight calculation value is calculated by the flight control software, wherein the maximum takeoff weight given by the flight control software in the embodiment is 145.3 t.
Tables 1 and 2 are the maximum takeoff weight data of a certain airport information and real-time parameters in the navigation data, respectively.
TABLE 1 airport information in navigation data
Figure GDA0002876695150000031
TABLE 2 certain maximum takeoff weight data
Figure GDA0002876695150000041
Then, according to the query condition parameters on the flight management software monitored by the bus monitor, airport information in navigation data corresponding to the airport name query is obtained, and the input real-time parameters are queried in the airplane takeoff maximum weight data to obtain a maximum takeoff weight query value. In the embodiment, the airport running length of the airport with the airport number lxlxlx is 2500m, and the input real-time parameters are the flap 15 ° and the altitude is 0m, and the maximum takeoff weight query value corresponding to the temperature of 25 degrees at this time is 145.3 t.
And finally, comparing the calculated takeoff maximum weight value (145.3t) with the inquiry value (145.3t) of the takeoff maximum weight, if the calculated takeoff maximum weight value is equal to the inquiry value of the takeoff maximum weight, outputting that the test is passed, and if the calculated takeoff maximum weight value is not equal to the inquiry value of the takeoff maximum weight, outputting that the test is not passed.
In another embodiment of the present invention, when the temperature in the real-time parameters cannot match the maximum takeoff weight data, the real-time parameters such as the input airport are: the calculated maximum takeoff weight is 146t (the airport number is still LXXX) calculated by flight control software at the wind speed of 10m/s, the flap configuration of 15 degrees and the temperature of 23 degrees. And the maximum takeoff weight data is inquired at the moment, and the temperature is not 23 ℃. However, if the temperature of 23 ° falls within the range between the temperature of 20 ° and the temperature of 25 ° in the maximum takeoff weight data, and the corresponding maximum takeoff weight query value is (145.3t to 149.9t), it is considered that the calculated maximum takeoff weight value 146t given by the flight management software is "equal" to the lookup table value range of the maximum takeoff weight of 145.3 to 149.9t, and therefore the returned result passes the test.
In the invention, the process of establishing the database is to write a program to store the database which needs to be called subsequently, establish a global variable table, and store all the used tables into the global variable table, thereby facilitating the expansion of the functions later, only needing to enrich the content of the global variable table, and being capable of calling and storing data more quickly by establishing the global variable table.
In the process of monitoring the input in the flight management software by the bus monitor, when the data input by the pilot is called from the bus monitor, the called data is also stored in the global variable table, so that the search is convenient. Other parameters which are input by the pilot and are not needed when the maximum takeoff weight is searched are also stored, so that the subsequent function expansion is facilitated.
In the process of obtaining the maximum takeoff weight query value, when the median value of the corresponding data lookup table is searched, a method of gradually searching according to each parameter is adopted, and the range is gradually reduced according to different data. The specific form is that firstly, the flap is searched, the range of the corresponding flap value is reduced, then the next search is carried out in the range according to the altitude, then the run-out length is searched, the step is repeatedly carried out until the range is determined once according to all the parameters, and finally the maximum takeoff weight query value corresponding to the temperature is positioned.
The invention can be extended to the automatic test of the look-up table values of other functions, and can also program and write the calculation function when the verification of calculation is designed subsequently, and the numerical value is obtained and compared by calling and calculating the global variable table.
The automatic test method for the maximum takeoff weight lookup table value of the flight control software can automatically give a result in the maximum takeoff weight test of the flight control software test, so that the table lookup test is simple and convenient, the table lookup work of operators is avoided, and the method can be more rapid in multi-group data test and avoids errors.
The above description is only for the best mode of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (3)

1. An automatic test method for a maximum weight lookup table value of takeoff of flight control software is based on an automatic test system for the lookup table value of the flight control software, the automatic test system comprises a bus monitor and a test computer, the flight control software is arranged in the test computer and used for managing the flight of an airplane, and the bus monitor is connected to the test computer and used for monitoring the input and the output of the flight control software, and the automatic test method is characterized by comprising the following steps:
establishing a global variable database, wherein the global variable database comprises navigation data containing airport names and maximum takeoff weight data of airplanes;
inputting condition parameters to be inquired, wherein the condition parameters comprise airport names and airport real-time parameters to be inquired, and the flight management software calculates to obtain an accurate value of a maximum takeoff weight calculated value;
acquiring navigation data of an airport corresponding to the airport name query according to the query condition parameters, and querying airplane takeoff maximum weight data according to the real-time parameters and the airport navigation data to acquire a range value of a maximum takeoff weight query value;
and comparing the accurate value of the calculated value of the maximum takeoff weight with the range value of the query value of the maximum takeoff weight, if the calculated value of the maximum takeoff weight falls between the ranges of the query values of the maximum takeoff weight, the output test is passed, and if the calculated value of the maximum takeoff weight does not fall between the ranges of the query values of the maximum takeoff weight, the output test is not passed.
2. The method for automatically testing the maximum weight lookup table value for takeoff of the flight management software according to claim 1, wherein the navigation data includes a longitude and latitude of an airport reference point, an altitude, a runway length, a magnetic field, a transition height, and a transition height layer in addition to an airport number.
3. The automatic test method for the maximum weight lookup table value for takeoff of the flight control software according to claim 1, wherein the real-time parameters comprise ambient temperature, wind speed and flap configuration.
CN201710662632.8A 2017-08-04 2017-08-04 Automatic test method for maximum takeoff weight look-up table value of flight control software Active CN107291624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710662632.8A CN107291624B (en) 2017-08-04 2017-08-04 Automatic test method for maximum takeoff weight look-up table value of flight control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710662632.8A CN107291624B (en) 2017-08-04 2017-08-04 Automatic test method for maximum takeoff weight look-up table value of flight control software

Publications (2)

Publication Number Publication Date
CN107291624A CN107291624A (en) 2017-10-24
CN107291624B true CN107291624B (en) 2021-05-25

Family

ID=60105348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710662632.8A Active CN107291624B (en) 2017-08-04 2017-08-04 Automatic test method for maximum takeoff weight look-up table value of flight control software

Country Status (1)

Country Link
CN (1) CN107291624B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918709A (en) * 2019-01-21 2019-06-21 中国南方航空股份有限公司 A kind of takeoff data analysis method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096663A (en) * 2015-08-04 2015-11-25 中国商用飞机有限责任公司 Automatic takeoff-approach reference system and method
CN105701090A (en) * 2014-10-11 2016-06-22 中国国际航空股份有限公司 Simulator for flight management system
CN105868402A (en) * 2016-04-20 2016-08-17 中国商用飞机有限责任公司 Aircraft maintenance quality analysis oriented QAR (quick access recorder) data preprocessing method and device
CN106383859A (en) * 2016-08-31 2017-02-08 北京蓝天航空科技股份有限公司 Test flight data analysis processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701090A (en) * 2014-10-11 2016-06-22 中国国际航空股份有限公司 Simulator for flight management system
CN105096663A (en) * 2015-08-04 2015-11-25 中国商用飞机有限责任公司 Automatic takeoff-approach reference system and method
CN105868402A (en) * 2016-04-20 2016-08-17 中国商用飞机有限责任公司 Aircraft maintenance quality analysis oriented QAR (quick access recorder) data preprocessing method and device
CN106383859A (en) * 2016-08-31 2017-02-08 北京蓝天航空科技股份有限公司 Test flight data analysis processing method

Also Published As

Publication number Publication date
CN107291624A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
US11396386B2 (en) Supporting off-wing maintenance of an engine of an aircraft
CA2782105C (en) Heuristic method for computing performance of an aircraft
US8674850B2 (en) Selective weather notification
TW201616465A (en) Simulation device of FMS
US10176251B2 (en) Systems and methods for identifying similarities using unstructured text analysis
CN108337309A (en) A kind of vehicle data management method and system
CN107291624B (en) Automatic test method for maximum takeoff weight look-up table value of flight control software
KR20200104240A (en) Systems and methods for tail-specific parameter computation
EP3118579B1 (en) System and method for integrating temporary data into flight management systems
CN107391749B (en) Method for realizing waterfall flow by inquiring sub-table data
US10908595B2 (en) Facility state determination device, facility state determination method, and facility management system
Hrastovec et al. Machine learning model for aircraft performances
CN106199647A (en) A kind of method speculating unknown unmanned plane target position
CN110096797A (en) A kind of group system mission reliability modeling and simulating method
US10553121B1 (en) Detecting violation of aircraft separation requirements
CN112686551A (en) Flight cost index obtaining method and device, electronic equipment and storage medium
US11120695B2 (en) System and method for flight delay prevention in real-time
US20200371997A1 (en) Electronic control unit comparison
CN111240361A (en) Flight control method, device and equipment based on four-dimensional data and storage medium
CN113132164B (en) Method, device and equipment for generating network equipment wiring table
CN116453377B (en) Method for carrying out flight phase division on airplane QAR data
CN116755619B (en) Method, device, equipment and medium for slicing measurement data of aviation magnetic-release comprehensive station
CA2995625A1 (en) System and method for determining an actual cost index for aircraft operations
Mi et al. Research on mission characteristics-based evaluation model of flight test workload
Wei et al. Research on the application of ietm in whole life cycle of equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information

Inventor after: Liang Xiao

Inventor after: Zhang Shuai

Inventor after: Zhou Tao

Inventor after: Liu Feng

Inventor after: Zhang Yuan

Inventor before: Liang Xiao

CB03 Change of inventor or designer information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant