Font Size: a A A

Design Of Flight Control Basic Model Library And Generation Code Performance Optimization Research Based On Simulink

Posted on:2020-02-05Degree:MasterType:Thesis
Country:ChinaCandidate:Y HeFull Text:PDF
GTID:2392330596476738Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the gradual maturity of design methods based on Model-Based Design(MBD),the use of model-based development methods for flight control system software development is becoming more and more popular.However,the operating efficiency(Time efficiency of processor in loop test)of the embedded product code automatically generated by the flight control system based on the model development is generally much lower than that of the manual code,which makes it unable to meet the real-time requirements of the system.Therefore,how to improve the operational efficiency of the automatic generation code of the model-based flight control system has become a hot spot for developers.Starting from this hot spot,this paper analyzes and studies the factors that affect the automatic generation of code efficiency from various aspects,and extracts the general basic functions of the flight control system for optimization modeling to form the flight control basic model library.Then,based on the model library,the flight control law is rebuilt and optimized,and the code is automatically generated.Finally,the generated code is integrated into the semi-physical simulation platform for closed-loop simulation,and its operation efficiency is analyzed and compared with manual code and pre-optimization model operation efficiency.To verify the effectiveness of the flight control system model library and other optimization methods to improve the efficiency of the flight control system to automatically generate code.The research mainly includes the following.Firstly,this paper analyzes the general basic functions of the flight control system,gives the requirement analysis of the flight control basic model library and the automatic generation of code operation efficiency optimization requirements analysis,and then designs the overall solution.Secondly,according to the overall solution,this paper starts from the three aspects of model construction logic optimization,platform impact on code operation efficiency and optimization from model to code realization process.The model construction logic optimization is to reverse the model logic construction method from the way of code operation efficiency improvement,and also refers to the manual coding experience for optimization.The influence of Simulink platform on code operation efficiency is divided into three aspects: Stateflow programming mode,data.type and platform generation code optimization configuration items.The optimization of the model to code implementation process is the optimization of the buffer during the model rate conversion process.Thirdly,based on the research of key technologies of automatic code generation,the flight control basic model library was designed and built,including the “space” timechanging pre-processing module and other basic function modules.After the model library was built,the simulation and testing are carried out.After that,based on the library,a flight control system was built to optimize and automatically generate code.Fourth,in order to verify that the flight control basic model library and buffer optimization and platform optimization configuration items can effectively improve the operational efficiency of the model code,and also to verify whether the built flight control system model code can meet the real-time requirements,in this paper,the closed-loop simulation of the code automatically generated by the model is carried out,which verifies the real-time performance of the flight control basic model library,and solves the problem that the automatic generation code of the model-based flight control system is much less efficient than the manual code.
Keywords/Search Tags:model-based design, flight control system, model library, code generation, operational efficiency optimization
PDF Full Text Request
Related items