Flight control task parameter presetting and reading method
By using block-by-block storage space allocation, automatic parameter table generation, and packet-by-packet transmission verification, the flexibility and reliability issues of traditional flight control mission parameter preset methods are solved, enabling flexible parameter preset and retrieval, and improving the accuracy and reliability of data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-04-07
AI Technical Summary
Traditional flight control mission parameter preset methods require fixed storage and parsing protocols, resulting in poor flexibility, low scalability, and no error detection methods, leading to low reliability.
It employs methods such as block-by-block storage space allocation, automatic parameter table generation, packet-by-packet transmission and verification, multiple verification and rationality judgment, and supports variable-length parameters and flexible data parsing protocols to ensure the accuracy and reliability of data transmission.
It enables flexible preset and fast readback of multiple sets of parameters, has high scalability, wide applicability, stable and reliable parameter preset process, and improved data transmission accuracy and reliability.
Smart Images

Figure CN121807747A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of flight control design and development, and particularly relates to a flight control task parameter presetting and reading method. BACKGROUND
[0002] An unmanned aerial vehicle usually needs to preset task parameters before flight, including target, flight path, interpolation table, and autopilot parameters. The traditional parameter presetting method needs to agree on a fixed parameter storage and analysis protocol in advance, does not support variable-length parameters, has poor flexibility, low expandability, no error detection means, and low reliability. SUMMARY
[0003] The purpose of the present application is to provide a flight control task parameter presetting and reading method. The present application can meet the parameter presetting and reading requirements in different task scenarios.
[0004] The technical solution of the present application is a flight control task parameter presetting and reading method, comprising the following steps: S1. Task parameter statistics are performed to allocate flight control computer storage space; S2. Task parameter configuration is performed in a ground parameter loading device; S3. Task parameter data of the ground parameter loading device is loaded into the product flight control computer through a data transmission link; S4. After data transmission is completed, transmission correctness is verified, and parameter rationality is judged; S5. Task parameter data is solidified into the internal storage space of the control computer, and the presetting result is fed back to the ground parameter loading device.
[0005] In the aforementioned flight control task parameter presetting and reading method, S1 is specifically as follows: the internal task parameter storage space of the control computer is initialized, the intermediate drive layer divides the storage space by blocks, each block has 512 bytes; the number of task parameter sets and the number of storage blocks required for each task parameter set are confirmed according to requirements.
[0006] In the aforementioned flight control task parameter presetting and reading method, S2 is specifically as follows: the task parameters that need to be burned are configured in the ground parameter loading device, and a corresponding parameter table is automatically generated after the parameter configuration is completed; source code is generated after physical quantity and source code conversion according to the parameter table content and the protocol corresponding to each parameter, and is stored locally.
[0007] In the aforementioned flight control task parameter presetting and reading method, S3 is specifically as follows: the ground parameter loading device and the flight control computer perform task parameter packet transmission through a 1553B bus, the transmission process adopts a packet-by-packet reply and verification mode, if there is a packet count jump or transmission data reading error, the process is terminated, and the data transmission is restarted after power-on.
[0008] In the foregoing flight control task parameter presetting and reading method, S4 is specifically as follows: the flight control computer performs unpacking processing according to the agreed data transmission protocol in the packet transmission process, saves the task parameter source code in the memory after unpacking, the source code obtained by unpacking in the memory should be the same as the source code stored locally by the ground loading device; after the last packet data transmission is completed, data verification is performed on the task parameter source code in the memory; after verification, the source code is converted into corresponding physical quantities in sequence according to the parameter table; after the physical quantity conversion is completed, parameter rationality judgment is performed according to the parameter range in the preset task parameter table.
[0009] In the foregoing flight control task parameter presetting and reading method, S5 is specifically as follows: after the parameter rationality judgment is passed, the data in the memory is burned into the corresponding storage space; after the burning is completed, power-on is maintained, and a reading operation is immediately performed; if the source code obtained by reading is consistent with the burned source code, it is fed back to the ground task parameter loading device that the burning is successful; after a single set of parameters is burned successfully, the next set of task parameters is burned or the power is directly turned off.
[0010] In the foregoing flight control task parameter presetting and reading method, S6 is further included, which is reading and displaying the task parameters: the internal task parameters of the flight control computer are read and displayed to the ground parameter loading device, for parameter checking and collation.
[0011] In the foregoing flight control task parameter presetting and reading method, S6 is specifically as follows: the ground parameter loading device first sends a reading command, the reading command contains a parameter number, the flight control computer reads the parameter data of the corresponding space according to the reading command, and after the parameter reading is completed and the verification is passed, the flight control computer sends the internal task parameter source code to the ground parameter loading device packet by packet; the ground parameter loading device analyzes the physical quantities and displays them on the interface for checking and collation.
[0012] In the foregoing flight control task parameter presetting and reading method, S7 is further included, which is reading and using the task parameters: in the flight control process, the storage space address information of the parameters to be read in this flight task is calculated according to the task instruction, the data in the predetermined storage space is read, and the physical quantities are analyzed and used in the subsequent flight task.
[0013] In the foregoing flight control task parameter presetting and reading method, S7 is specifically as follows: in the flight test process, the flight control computer calculates the task parameter number used in this test according to the received flight task instruction and target information, reads the task parameters in the storage space with the number; after the data verification is passed, the physical quantities are converted, and the parameter rationality judgment is passed, the parameter binding is reported to be successful, so that the internal parameter loading process is completed, and the parameters are used in the subsequent flight test. The application provides a flight control task parameter presetting and reading method, supports multiple parameter presetting and rapid reading, and has flexible and variable parameter storage and analysis formats. BRIEF DESCRIPTION OF DRAWINGS
[0014] Fig. 1 is a task parameter presetting flowchart; Fig. 2 is a task parameter storage space distribution schematic diagram. DETAILED DESCRIPTION
[0015] Embodiment 1. A flight control task parameter presetting and reading method, as shown in the figure, the steps are as follows: Figs. 1-2 1) initialize the internal task parameter storage space of the control computer, and divide the storage space into blocks (512 bytes per block) by the intermediate drive layer. According to the requirement, confirm the number of task parameter sets and the number of storage blocks required for each task parameter set, and the storage space distribution is as shown in the figure. Fig. 2
[0016] 2) configure the task parameters to be burned in the ground parameter loading device, and automatically generate a corresponding parameter table after the parameter configuration is completed. The basic format of the parameter table is shown in Table 1. According to the parameter table content and the corresponding protocol of each parameter, the source code is generated after the physical quantity is converted with the source code and is stored locally.
[0017] Table 1 Parameter table format table.
[0018]
[0019] 3) The ground parameter loading device and the flight control computer transmit the task parameters in packets through the 1553B bus, and the transmission process adopts the way of packet-by-packet reply and verification. If the packet count jumps or the transmission data reading error occurs, the process is terminated, and the data transmission is started again after power-on.
[0020] 4) The control computer performs packet processing according to the agreed data transmission protocol during the packet transmission process, saves the task parameter source code in the memory after the packet processing, and the source code obtained by splitting in the memory should be the same as the source code stored in the local memory of the ground loading device. After the transmission of the last packet is completed, the data of the task parameter source code in the memory is checked (and verified).
[0021] 5) Control computer to perform task parameter physical quantity conversion and parameter rationality judgment. If the data total check and correct, according to the parameter table will source code conversion to the corresponding physical quantity. Physical quantity conversion is completed according to the preset task parameter table in the parameter range for parameter rationality judgment.
[0022] 6) Task parameter writing and state feedback. After the parameter rationality judgment, the data in the memory is written to the corresponding storage space. After writing, keep power on, immediately read operation, if the source code obtained by reading is consistent with the source code written, the task parameter loading device is fed back that the writing is successful. After a set of parameters are written successfully, the next set of task parameters can be selected to continue to write or directly power off.
[0023] 7) Task parameter read and display. If you need to read the task parameters preset in the control computer, you can use the parameter loading device to read and display the task parameters. The parameter loading device first sends a read command (the command contains the parameter number), the control computer reads the parameter data in the corresponding space according to the command, and after the parameter reading is completed and the check is passed, the control computer sends the internal task parameter source code to the parameter loading device. The parameter loading device parses it into physical quantities and displays it on the interface for developers and testers to check and verify.
[0024] Task parameter reading and use. In the flight test process, according to the received flight task instruction and target information, the control computer calculates the task parameter number used in this test through the preset corresponding relationship, reads the task parameters under the storage space of this number. Data check, and after conversion to physical quantity, parameter rationality judgment is passed, and the parameter binding is reported successful, thus completing the internal parameter loading process, and using this set of parameters for subsequent flight test.
Claims
1. A method for presetting and reading flight control mission parameters, characterized in that, Includes the following steps: S1. After the mission parameters are statistically analyzed, the flight control computer's storage space is allocated. S2. Configure mission parameters in the ground parameter loading device; S3. Load the mission parameter data of the ground parameter loading device into the product flight control computer via the data transmission link; S4. After data transmission is completed, verify the correctness of the transmission and determine the reasonableness of the parameters; S5. The task parameter data is stored in the internal storage space of the control computer, and the preset results are reported back to the ground parameter loading equipment.
2. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, S1 is as follows: Initialize the internal task parameter storage space of the control computer. The intermediate driver layer divides the storage space into blocks, each block being 512 bytes. Based on the requirements, confirm the number of task parameter sets and estimate the number of storage blocks needed for each set of task parameters.
3. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, S2 is as follows: Configure the task parameters that need to be burned on the ground parameter loading device. After the parameter configuration is completed, the corresponding parameter table is automatically generated. Based on the content of the parameter table and the protocol corresponding to each parameter, the source code is generated and stored locally after physical quantity and source code conversion.
4. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, S3 is as follows: The ground parameter loading equipment and the flight control computer transmit mission parameters in packets via the 1553B bus. The transmission process adopts a packet-by-packet reply and verification method. If a packet count jump occurs or a data readback error occurs, the process is terminated and the power is restarted to start data transmission.
5. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, S4 is as follows: During the packet transmission process, the flight control computer performs packet unpacking according to the agreed data transmission protocol. After unpacking, the mission parameter source code is saved to memory. The source code obtained in memory should be the same as the source code stored locally on the ground loading equipment. After the last packet of data transmission is completed, the mission parameter source code in memory is verified. If the verification is correct, the source code is converted into the corresponding physical quantities according to the parameter table. After the physical quantity conversion is completed, the parameter rationality is judged according to the parameter range in the preset mission parameter table.
6. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, S5 is as follows: After the parameter rationality judgment is passed, the data in memory is written to the corresponding storage space; after the writing is completed, keep the power on and immediately perform a read operation. If the source code read is consistent with the source code already written, then report the writing success to the ground mission parameter loading device; after a single set of parameters is successfully written, continue to write the next set of mission parameters or directly power off.
7. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, It also includes S6. Performing mission parameter readback and display: Reading back the mission parameters inside the flight control computer and displaying them on the ground parameter loading device for parameter checking and verification.
8. The method for presetting and reading flight control mission parameters according to claim 7, characterized in that, S6 is as follows: The ground parameter loading device first sends a readback command, which contains the parameter number. The flight control computer reads the parameter data of the corresponding space according to the readback command. After the parameter reading is completed and the verification is passed, the flight control computer sends the internal mission parameter source code to the ground parameter loading device packet by packet. The ground parameter loading equipment interprets them as physical quantities and displays them on the interface for inspection and verification.
9. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, It also includes S7. Mission parameter reading and use: In the flight control process, the storage space address information of the parameters to be read for this flight mission is calculated according to the mission instructions, the data is read from the predetermined storage space, parsed into physical quantities and used for subsequent flight missions.
10. The method for presetting and reading flight control mission parameters according to claim 1, characterized in that, The S7 is specifically as follows: During the flight test, based on the received flight mission instructions and target information, the flight control computer calculates the mission parameter number used in this test through a preset correspondence, and reads the mission parameters in the predetermined storage space of this number; after the data verification is passed, the conversion into physical quantities and the parameter rationality judgment is passed, the parameter loading is reported as successful, thus completing the internal parameter loading process, and this set of parameters is used for subsequent flight tests.