CN112182873A - Method for accelerating aircraft engine model based on hardware system - Google Patents

Method for accelerating aircraft engine model based on hardware system Download PDF

Info

Publication number
CN112182873A
CN112182873A CN202011020215.1A CN202011020215A CN112182873A CN 112182873 A CN112182873 A CN 112182873A CN 202011020215 A CN202011020215 A CN 202011020215A CN 112182873 A CN112182873 A CN 112182873A
Authority
CN
China
Prior art keywords
fpga
algorithm
dsp
aircraft engine
engine model
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.)
Pending
Application number
CN202011020215.1A
Other languages
Chinese (zh)
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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN202011020215.1A priority Critical patent/CN112182873A/en
Publication of CN112182873A publication Critical patent/CN112182873A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for accelerating an aircraft engine model based on a hardware system. The method adopts DSP to realize a general algorithm, and because the DSP can use C language in development and the DSP is good at floating point operation, the development process is simpler; the FPGA is adopted to realize high-speed transmission of data and a specific algorithm, and the FPGA has higher parallelism, so the speed is very high when the algorithm is processed.

Description

Method for accelerating aircraft engine model based on hardware system
Technical Field
The invention belongs to the field of aviation, and particularly relates to an aircraft engine model acceleration method.
Background
At present, the realization method of the aircraft engine model is based on a computer, most of the adopted software is MATLAB, and a plurality of nonlinear aircraft engine simulation software packages based on MATLAB, such as a civil modularized aviation propulsion system simulation program package (CMAPSS) developed by the NASA Green research center, an engine performance simulation program T-MATS and the like, are provided. The operation speed is low due to the limitation of the operation speed of the computer and the used simulation software. In addition, there are many basic algorithms in the model of the aircraft engine that are frequently called, and such algorithms take up a lot of time of the CPU, thereby resulting in a reduction in the time of the CPU to process the core events. For some tasks with higher parallelism in the model, such as matrix operation, the realization by a computer is not very advantageous.
In summary, the existing implementation method of the aircraft engine simulation model is slow in operation speed and low in efficiency of processing core events.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method for accelerating an aircraft engine model based on a hardware system. The method adopts DSP to realize a general algorithm, and because the DSP can use C language in development and the DSP is good at floating point operation, the development process is simpler; the FPGA is adopted to realize high-speed transmission of data and a specific algorithm, and the FPGA has higher parallelism, so the speed is very high when the algorithm is processed.
The technical scheme adopted by the invention for solving the technical problem comprises the following steps:
step 1: building a hardware system for accelerating an aircraft engine model algorithm;
the hardware system adopts a DSP + FPGA + DDR3 architecture, wherein the DSP adopts TMS320C6657 of TI company for the calculation function of the model algorithm of the aeroengine;
the FPGA part comprises XC7VX690T FPGA of Virtex-7 series and XC200AN FPGA of Spartan-3 series of Xilinx company; XC7VX690T FPGA is used for accelerating a high-parallelism algorithm in an aircraft engine model algorithm and quickly transmitting data; the XC200AN FPGA is used for managing a clock, a power supply and peripheral equipment of a hardware system;
TMS320C6657 DSP, XC7VX690T FPGA and XC200AN FPGA can be communicated with each other in two ways;
TMS320C6657 DSP and XC7VX690T FPGA are externally provided with DDR3 memory and are used for caching temporary data of an aircraft engine model algorithm; TMS320C6657 DSP and XC7VX690T FPGA are both configured with Flash for programming of an aircraft engine model algorithm program; high-speed data transmission is carried out between the TMS320C6657 DSP and the XC7VX690T FPGA through an SRIO interface, and low-speed data transmission is carried out through an EMIF16 interface; the communication protocol of the hardware system adopts a TCP/IP protocol, and the TMS320C6657 DSP and the XC7VX690T FPGA are both connected with an Ethernet interface;
step 2: importing an aircraft engine model algorithm;
compiling a high-parallelism algorithm in an aircraft engine model algorithm by using a hardware description language, and realizing the high-parallelism algorithm by adopting XC7VX690T FPGA;
importing a general algorithm in an aircraft engine model algorithm into a TMS320C6657 DSP, which comprises the following specific steps:
creating a project in a CCS (development center system), selecting a TMS320C6657 equipment model, introducing a general algorithm in an aircraft engine model algorithm into the created project, and adding a gel file and a cmd file, wherein the gel file and the cmd file respectively realize the functions of initializing a DSP (digital signal processor) and distributing a DSP storage space; then compiling the algorithm, and correcting syntax errors until the compiling is passed;
and step 3: through the steps 1 and 2, the aim of accelerating the aircraft engine model through hardware is achieved.
The invention has the beneficial effects that: by adopting the method for accelerating the aircraft engine model based on the hardware system, the basic algorithm in the model is realized by the DSP, and the operating speed of the basic algorithm is improved by utilizing the characteristics of high floating point operation speed and low overhead loop body support of the DSP; the FPGA is adopted to realize the algorithm with higher parallelism, and the running speed of the algorithm is improved.
Drawings
FIG. 1 is a diagram of a hardware system architecture according to the present invention.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
As shown in FIG. 1, the present invention provides a method for accelerating an aircraft engine model based on a hardware system, comprising the steps of:
step 1: building a hardware system for accelerating an aircraft engine model algorithm;
the hardware system adopts a DSP + FPGA + DDR3 architecture, wherein the DSP adopts TMS320C6657 of TI company for the calculation function of the model algorithm of the aeroengine;
the FPGA part comprises XC7VX690T FPGA of Virtex-7 series and XC200AN FPGA of Spartan-3 series of Xilinx company; XC7VX690T FPGA is used for accelerating a high-parallelism algorithm in an aircraft engine model algorithm and quickly transmitting data; the XC200AN FPGA is used for managing a clock, a power supply and peripheral equipment of a hardware system;
TMS320C6657 DSP, XC7VX690T FPGA and XC200AN FPGA can be communicated with each other in two ways;
TMS320C6657 DSP and XC7VX690T FPGA are externally provided with DDR3 memory and are used for caching temporary data of an aircraft engine model algorithm; TMS320C6657 DSP and XC7VX690T FPGA are both configured with Flash for programming of an aircraft engine model algorithm program; high-speed data transmission is carried out between the TMS320C6657 DSP and the XC7VX690T FPGA through an SRIO interface, and low-speed data transmission is carried out through an EMIF16 interface; the communication protocol of the hardware system adopts a TCP/IP protocol, and the TMS320C6657 DSP and the XC7VX690T FPGA are both connected with an Ethernet interface;
step 2: importing an aircraft engine model algorithm;
compiling a high-parallelism algorithm in an aircraft engine model algorithm by using a hardware description language, and realizing the high-parallelism algorithm by adopting XC7VX690T FPGA;
importing a general algorithm in an aircraft engine model algorithm into a TMS320C6657 DSP, which comprises the following specific steps:
creating a project in a CCS (development center system), selecting a TMS320C6657 equipment model, introducing a general algorithm in an aircraft engine model algorithm into the created project, and adding a gel file and a cmd file, wherein the gel file and the cmd file respectively realize the functions of initializing a DSP (digital signal processor) and distributing a DSP storage space; then compiling the algorithm, and correcting syntax errors until the compiling is passed;
and step 3: through the steps 1 and 2, the aim of accelerating the aircraft engine model through hardware is achieved.
The specific embodiment is as follows:
take an algorithm of an aero-thermodynamic module in an aero-engine model as an example.
1. Analysis, import and debug of algorithms
Firstly, the module algorithm is obtained by analysis, and the characteristics are as follows: the algorithm is simple, the calling frequency is high, a large number of floating-point number operations are included, and a loop body is used as a main structure. Based on the characteristics of the algorithm analyzed above and the characteristics of the DSP, the algorithm is suitable for being implemented on the DSP. Because the algorithm is C language, the development software Code Composer Studio (CCS) of the DSP can be directly imported, and if the algorithm is to be realized on the FPGA, the algorithm needs to be rewritten by using a hardware description language.
A project is created in the CCS, and the device model is selected as the DSP model actually used on the development board, i.e., TMS320C 6657. And importing the algorithm into the project, and adding a gel file and a cmd file, wherein the two files respectively realize the functions of initializing the DSP and distributing the storage space. And compiling the algorithm, and correcting syntax errors until the compiling is passed.
During debugging, one end of the simulator is connected with the development board, the other end of the simulator is connected with the computer, a switch on the development board is adjusted to a debug mode, the debug mode is clicked in the CCS, the program is downloaded into the DSP to run, the running result is observed to see whether the running result is consistent with the running result of the computer, and if the running result is consistent with the running result of the computer, the function is correct. Besides the debug mode, the program can be solidified in the NOR Flash connected with the TMS320C6657, and the switch on the development board is adjusted to the other side, so that the development board is not required to be connected with a computer through an emulator, and the development board can load the program from the NOR Flash to run after being electrified.
2. Development board communication with MATLAB
In the case of MATLAB used with a development board, data and control information needs to be communicated between the two. Taking a function of temperature enthalpy value calculation known in the aerodynamic thermodynamic module as an example, the MATLAB transmits the input values T, fa and i to the DSP, and the DSP transmits the function operation result H back to the MATLAB.
At the MATLAB end, a TCP/IP object is firstly created, and the network attribute, the IP address, the buffer size, the byte order and other attributes of the TCP/IP object are set. On the DSP side, the specific programming method may refer to TI official routines.
After the code writing of the communication protocol is completed, the development board is connected with the computer by using a network cable, and the IP address of the Ethernet adapter is set on the computer. After the setting is finished, the program of the server end in the DSP and the program of the MATLAB are firstly operated, and then the program of the client end is operated, so that the data transmission of the DSP and the MATLAB can be finished.

Claims (1)

1. A method for accelerating an aircraft engine model based on a hardware system is characterized by comprising the following steps:
step 1: building a hardware system for accelerating an aircraft engine model algorithm;
the hardware system adopts a DSP + FPGA + DDR3 architecture, wherein the DSP adopts TMS320C6657 of TI company for the calculation function of the model algorithm of the aeroengine;
the FPGA part comprises XC7VX690T FPGA of Virtex-7 series and XC200AN FPGA of Spartan-3 series of Xilinx company; XC7VX690T FPGA is used for accelerating a high-parallelism algorithm in an aircraft engine model algorithm and quickly transmitting data; the XC200AN FPGA is used for managing a clock, a power supply and peripheral equipment of a hardware system;
TMS320C6657 DSP, XC7VX690T FPGA and XC200AN FPGA can be communicated with each other in two ways;
TMS320C6657 DSP and XC7VX690T FPGA are externally provided with DDR3 memory and are used for caching temporary data of an aircraft engine model algorithm; TMS320C6657 DSP and XC7VX690T FPGA are both configured with Flash for programming of an aircraft engine model algorithm program; high-speed data transmission is carried out between the TMS320C6657 DSP and the XC7VX690T FPGA through an SRIO interface, and low-speed data transmission is carried out through an EMIF16 interface; the communication protocol of the hardware system adopts a TCP/IP protocol, and the TMS320C6657 DSP and the XC7VX690T FPGA are both connected with an Ethernet interface;
step 2: importing an aircraft engine model algorithm;
compiling a high-parallelism algorithm in an aircraft engine model algorithm by using a hardware description language, and realizing the high-parallelism algorithm by adopting XC7VX690T FPGA;
importing a general algorithm in an aircraft engine model algorithm into a TMS320C6657 DSP, which comprises the following specific steps:
creating a project in a CCS (development center system), selecting a TMS320C6657 equipment model, introducing a general algorithm in an aircraft engine model algorithm into the created project, and adding a gel file and a cmd file, wherein the gel file and the cmd file respectively realize the functions of initializing a DSP (digital signal processor) and distributing a DSP storage space; then compiling the algorithm, and correcting syntax errors until the compiling is passed;
and step 3: through the steps 1 and 2, the aim of accelerating the aircraft engine model through hardware is achieved.
CN202011020215.1A 2020-09-24 2020-09-24 Method for accelerating aircraft engine model based on hardware system Pending CN112182873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011020215.1A CN112182873A (en) 2020-09-24 2020-09-24 Method for accelerating aircraft engine model based on hardware system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011020215.1A CN112182873A (en) 2020-09-24 2020-09-24 Method for accelerating aircraft engine model based on hardware system

Publications (1)

Publication Number Publication Date
CN112182873A true CN112182873A (en) 2021-01-05

Family

ID=73944802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011020215.1A Pending CN112182873A (en) 2020-09-24 2020-09-24 Method for accelerating aircraft engine model based on hardware system

Country Status (1)

Country Link
CN (1) CN112182873A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297820A (en) * 2021-06-22 2021-08-24 中国电子科技集团公司第二十九研究所 FPGA remote loading circuit based on serial mode

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108663948A (en) * 2018-05-17 2018-10-16 西北工业大学 A kind of design method of aeroengine control system Numerical Simulation Analysis platform
CN110045743A (en) * 2019-05-05 2019-07-23 西北工业大学 It is a kind of to be added in the air by oily visual sensing system hardware structure based on nobody of DSP and FPGA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108663948A (en) * 2018-05-17 2018-10-16 西北工业大学 A kind of design method of aeroengine control system Numerical Simulation Analysis platform
CN110045743A (en) * 2019-05-05 2019-07-23 西北工业大学 It is a kind of to be added in the air by oily visual sensing system hardware structure based on nobody of DSP and FPGA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曹文喆: "基于DSP与光纤传输的图像处理平台设计", 《数字技术与应用》, no. 2017, 30 June 2017 (2017-06-30), pages 1 - 4 *
马海心 等: "基于DSP+FPGA的PMSM控制系统仿真平台的设计与实现", 《装甲兵工程学院学报》, vol. 32, no. 4, 31 August 2018 (2018-08-31), pages 1 - 5 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297820A (en) * 2021-06-22 2021-08-24 中国电子科技集团公司第二十九研究所 FPGA remote loading circuit based on serial mode
CN113297820B (en) * 2021-06-22 2023-03-14 中国电子科技集团公司第二十九研究所 FPGA remote loading circuit based on serial mode

Similar Documents

Publication Publication Date Title
CN105446806B (en) A kind of processing method and processing device of the application program without response
CN111767031B (en) Nuclear power industry internet experiment bed based on emulation
CN102508753A (en) IP (Internet protocol) core verification system
EP2977899A2 (en) Integrating execution of computing analytics within a mapreduce processing environment
Yamashina et al. crecomp: Automated design tool for ros-compliant fpga component
CN104750603A (en) Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
Chiosa et al. Hardware acceleration of compression and encryption in SAP HANA
CN110502434A (en) A kind of automatic test approach and device
CN115150471A (en) Data processing method, device, equipment, storage medium and program product
CN112182873A (en) Method for accelerating aircraft engine model based on hardware system
CN115994085A (en) Code coverage rate test processing method, device, equipment and storage medium
CN110502337B (en) Optimization system for shuffling stage in Hadoop MapReduce
CN112181843A (en) Development test verification system based on satellite-borne software
CN114064153A (en) Embedded dynamic module loading method and device based on multi-core processor
CN115309542A (en) Dynamic simulation method and simulation system for external operation environment of database
CN111274750B (en) FPGA simulation verification system and method based on visual modeling
CN209803659U (en) Clock control system in GPU server
CN102750183B (en) Numerical simulation open-type application program interface of electric power system
JP2013015985A (en) Soc device capable of execution trace dumping of all processor cores of multi-core processor
CN108614447B (en) Joint simulation method, device, equipment and storage medium for wind turbine generator
Bakiri et al. Embedded system with Linux Kernel based on OpenRISC 1200-V3
CN204066094U (en) To the system that FPGA upgrades
CN111444223A (en) Double-cache method, device, equipment and storage medium based on asynchronous decorator
CN103955424A (en) Virtualized embedded type binary software defect detection system
CN117034661B (en) Fault alarm simulation system and simulation method suitable for multiple models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210105