Method for calculating software time consumption of a flight control computer

A flight control computer and calculation method technology, applied in computing, hardware monitoring, instruments, etc., can solve the problems that flight control software cannot calculate accurately in real time, and monitor software cycle time-consuming, etc., and achieve high reliability, high versatility, and scalability. good effect

Inactive Publication Date: 2019-03-19
JIANGXI HONGDU AVIATION IND GRP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is: the present invention aims at the time-consuming calculation problem of the flight control software cycle in the software development requirements, and solves the problem that the flight control software cannot be accurately calculated in real time and the monitoring software cycle is time-consuming during operation.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for calculating software time consumption of a flight control computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0023] Taking the flight control software task period as 5ms and the cycle time-consuming accuracy as 0.1ms as an example, this method will be further described in detail (see figure 1 ).

[0024] Step 1: After the main program starts, initialize the system, and create a periodic task timer timer5ms with a step size of 5ms, create a time-consuming precision timer timer_1ms with a step size of 0.1ms, and assign the software cycle time-consuming variable time_run , enable periodic task timer timer5ms and time-consuming precision timer timer_1ms;

[0025] Step 2: After the periodic task timer is enabled, set timer5ms to "1" in its interrupt function, and set timer_1ms to "0" at the same time; after the time-consuming precision timer is enabled, set timer_1ms to timer_1ms in its interrupt function Add "1" ope...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for calculating software time consumption of a flight control computer, which comprises the following steps of: setting a time consumption precision timer and a cycletask timer and enabling the timer; the cycle task start flag of the cycle task timer is set to '1', the main program of the flight control computer software is started to run, and the accumulative time consuming number of this cycle is cleared to zero; the accumulative number of time-consuming time in the current cycle is accumulated; at the end of the main program, the cycle task of the cycle task timer is identified as '0'; and the step of calculating the time-consuming of the flight control computer software for this cycle is carried out. The method of the invention does not change the hardware environment of the integrated control computer and the logic structure of the flight control software, and the time consumption of the flight control software cycle is accurately calculated in real time, and the time consumption of the real-time monitoring cycle can be monitored through the data recording device. The method has the advantages of high versatility, flexibility, easy use, goodexpansibility and high reliability.

Description

technical field [0001] The invention belongs to the technical field of flight control computer software design, and in particular relates to a time-consuming calculation method for flight control computer software. Background technique [0002] Cycle time consumption is an important performance index of flight control software reliability design and safety design. In the process of flight control software development, software development requires clear requirements for its cycle time consumption. During the development of flight control software in the past, there was a lack of effective means to calculate cycle time and real-time performance. [0003] There are two traditional time-consuming calculation methods for the flight control software cycle: [0004] Method 1: Set channel I discrete signal high-level output at the beginning of the flight control software cycle, and set channel I discrete signal low-level output at the end of the flight control software cycle; moni...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
CPCG06F11/3423G06F11/3476
Inventor 江海雷芦勤桑夏云凡姜芳芳吴克松刘林林廖峰张望成周平平张俊罗海鹰潘新平张洪宇周晓波樊金明
Owner JIANGXI HONGDU AVIATION IND GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products