Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Missle-borne embedded control software period time consumption real time calculating method

An embedded control, real-time computing technology, applied in computing, software testing/debugging, instruments, etc., can solve problems such as consumption of action time, inaccurate calculation of control software cycle time, and inconsistency between the time-consuming state of calculation and the real state, etc. Achieve the effect of good scalability, high reliability and high versatility

Inactive Publication Date: 2016-11-02
JIANGXI HONGDU AVIATION IND GRP
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Both of the above two methods use the method of modifying the control software to set the high and low level output of the discrete signal to calculate the cycle time of the control software. These two calculation methods will inevitably lead to the inconsistency between the time-consuming state of the control software and the real state, and are only suitable for ground testing. ; At the same time, setting the high and low levels of the discrete quantity will consume the action time of the hardware relay of the integrated control machine, which will lead to inaccurate calculation of the time-consuming cycle of the control software, thus affecting the real-time performance of the time-consuming calculation of the cycle of the control software

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
  • Missle-borne embedded control software period time consumption real time calculating method
  • Missle-borne embedded control software period time consumption real time calculating method
  • Missle-borne embedded control software period time consumption real time calculating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific embodiments.

[0021] A time-consuming real-time calculation method for the missile-borne embedded control software cycle. The matching hardware is required: the integrated control machine's own CPU hardware crystal oscillator provides a timing accuracy of nanosecond level, and the precision required for the development of control software is millisecond level. The running cycle is 5ms, and the cycle time-consuming accuracy is 0.1ms as an example. This method is further described in detail:

[0022] 1) Start the main program, initialize the system, and create a 5ms timing interrupt step variable timer5ms, a 0.1ms timing interrupt step variable timer_1ms and a software cycle time-consuming assignment variable time_run;

[0023] 2) Set a 5ms timing interrupt and e...

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

A missle-borne embedded control software period time consumption real time calculating method comprising the following steps: building a control software operation period timing interruption step variable timer, a software period time consumption precision timing interruption step variable timer_1 and a software period time consumption assignment variable time_run, setting and enabling control software operation period timing interruption functions in sequence, thus resetting the timer in the interruption functions; setting and enabling a software period time consumption precision timing interruption function, thus accumulating numbers for the timer_1 in the interruption functions; recording a software period time consumption initial timer_1 value and a software period time consumption termination timer_1 value in a main program, and allowing the difference value of two recorded values to multiply with a time consuming coefficient so as to obtain the present period program time consumption time, and thus effectively and accurately calculating the control software period time consumption in real time; the missle-borne embedded control software period time consumption real time calculating method is flexible and easy in use, high in versatility, good in expansibility and high in reliability.

Description

technical field [0001] The invention relates to the technical field of software time-consuming calculation, in particular to a real-time calculation method for period time-consuming of missile-borne embedded control software. Background technique [0002] In the process of control software development, software development puts forward clear requirements for performance indicators such as control software accuracy, real-time performance, cycle time consumption, storage space overhead and margin; software precision and real-time performance can be analyzed by data processing software. Test data To verify the compliance of the indicators, the software storage margin can be obtained by analyzing the storage size of the target file generated by the control software. However, in the past control software development period, there was no effective means to calculate the time-consuming overhead and real-time performance of the software cycle. [0003] There are mainly two tradition...

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/36
CPCG06F11/3604
Inventor 江海雷廖峰芦勤桑夏云凡吴克松姜芳芳张望成周平平张俊罗海鹰潘新平樊金明周晓波张洪宇曹泽明
Owner JIANGXI HONGDU AVIATION IND GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products