An airplane power supply system training simulation model and a construction method thereof

By constructing a training simulation model of the aircraft power supply system using the C language, the problems of poor real-time performance and platform adaptability in existing technologies are solved. This enables efficient training simulation on a domestic operating system and supports cross-platform operation and integration.

CN119400033BActive Publication Date: 2025-10-21XIAN AIRCRAFT DESIGN INST OF AVIATION IND OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411873349.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-10-21
Estimated Expiration
2044-12-18

AI Technical Summary

Technical Problem

Existing aircraft power supply system simulation models are built based on Simulink, which have poor real-time performance and platform adaptability, making them difficult to apply effectively on domestic operating systems and unable to meet training requirements.

Method used

A training simulation model of the aircraft power supply system is built using C language. It is divided into a component simulation module, a configuration control simulation module, a control console module, and an operation scheduling module, achieving a highly modular design, supporting cross-platform operation, and being compatible with domestic operating systems.

Benefits of technology

It achieves high real-time performance, flexibility and scalability, and can run independently on domestic operating systems or be integrated with other systems. It has built a training simulation model with cross-platform capabilities to meet the training needs of power supply systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119400033B_ABST
    Figure CN119400033B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of aviation equipment training, and particularly relates to an airplane power supply system training simulation model and a construction method thereof, wherein the airplane power supply system training simulation model construction method comprises the following steps: step one, constructing a component simulation module; step two, constructing a configuration control simulation module; step three, constructing a console module; step four, constructing a running scheduling module; and step five, performing system integration testing on the component simulation module, the configuration control simulation module, the console module and the running scheduling control module. The airplane power supply system training simulation model comprises the component simulation module, the configuration control simulation module, the console module and the running scheduling module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of aviation equipment training technology, and specifically relates to an aircraft power supply system training simulation model and a construction method thereof. Background Art

[0002] The aircraft power supply system simulation model is an important component of various types of simulation training equipment. The power supply system simulation model is almost interconnected with flight control, fuel, hydraulic and other simulation models, providing working or control power for their related components.

[0003] An aircraft power supply system generally consists of an AC main power system, an auxiliary power system, a DC power system, an emergency power system, a ground power system, etc. Different systems can be automatically reconfigured according to the system status. The working logic is relatively complex, and the construction of the power supply system simulation model is also relatively complex.

[0004] Currently, most aircraft power supply system simulation models are built based on Simulink, which have poor real-time performance and platform adaptability, are not well adapted to domestic operating systems, and cannot meet training requirements well.

[0005] This application is proposed in view of the above-mentioned technical defects. Summary of the Invention

[0006] The purpose of this application is to provide an aircraft power supply system training simulation model and a construction method thereof to overcome or alleviate at least one of the known technical deficiencies.

[0007] The technical solution of this application is:

[0008] On the one hand, a method for constructing an aircraft power supply system training simulation model is provided, comprising:

[0009] Step 1: Build component simulation module:

[0010] Sort out the power supply system composition and external interfaces, analyze the characteristics of related components and interfaces, build simulation models for components, declare and define components, and build component simulation modules;

[0011] Step 2: Build the configuration control simulation module:

[0012] Conduct power supply system principle analysis and build power supply system configuration control simulation modules and distribution system configuration control simulation modules;

[0013] Step 3: Build the console module:

[0014] Based on the external interface and training requirements of the power supply system, a console module is built to control the power supply system operation status and fault injection;

[0015] Step 4: Build the operation scheduling module:

[0016] Conduct analysis on the integrated control and management principles of the power supply system and build an operation and scheduling module according to the operation logic of the power supply system;

[0017] The operation scheduling module integrates the component simulation module, configuration control simulation module, and console module to realize system initialization and power supply system comprehensive control and management logic simulation;

[0018] Step 5: Perform system integration testing on the component simulation module, configuration control simulation module, console module, and operation scheduling control module;

[0019] If the test fails, analyze the cause. If it is a component simulation module construction defect, return to step one and rebuild the component simulation module; if it is a configuration control simulation module construction defect, return to step two and rebuild the configuration control simulation module; if it is a console module construction defect, return to step three and rebuild the console module; if it is a run scheduling module construction defect, return to step four and rebuild the run scheduling module.

[0020] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model construction method, in step 1, the component simulation module is constructed including a generator, a distribution box, an intelligent contactor, a control switch, a ground power supply, a main generator, an auxiliary generator, a main battery, a flight control battery, a power converter, a bus bar, a connection contactor, a circuit breaker, and a typical load simulation module;

[0021] Declare and define the components. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, and LPDC.h, and the component type definition file is sysprt.cpp.

[0022] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model construction method, in step 2, the constructed power system configuration control simulation module is based on the actual aircraft power system configuration, and completes the normal working configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system; the distribution system configuration control simulation module completes the status of the intelligent contactors and circuit breakers in the distribution system according to the power system configuration status, control switch status and load status;

[0023] The configuration control simulation module consists of the subsystem configuration configuration file and the configuration control file. The configuration configuration file describes all subsystem configurations and gives identifiers; the configuration control file determines the subsystem configuration selection based on upstream or related inputs.

[0024] The power system configuration configuration files include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files.

[0025] The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

[0026] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model construction method, in step three, a console module is constructed, which is implemented through the I0S_set function.

[0027] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model construction method, in step four, an operation scheduling module is constructed, which is composed of WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files, wherein the WorklLogic.h file completes the declaration of system operation-related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation-related functions according to the logic.

[0028] Another aspect provides an aircraft power supply system training simulation model, constructed based on any of the above-mentioned aircraft power supply system training simulation model construction methods, comprising:

[0029] Component simulation module, including component simulation model, declares and defines components;

[0030] Configuration control simulation module, including power system configuration control simulation module and distribution system configuration control simulation module;

[0031] Console module, used to control the power supply system operating status and fault injection;

[0032] The operation scheduling module is constructed according to the operation logic of the power supply system, and the component simulation module, configuration control simulation module, and console module are systematically integrated to realize the system initialization and power supply system comprehensive control and management logic simulation.

[0033] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model, the component simulation module includes a generator, a distribution box, an intelligent contactor, a control switch, a ground power supply, a main generator, an auxiliary generator, a main battery, a flight control battery, a power converter, a bus bar, a connection contactor, a circuit breaker, and a typical load simulation module;

[0034] Declare and define the components. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, and LPDC.h, and the component type definition file is sysprt.cpp.

[0035] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model, the power system configuration control simulation module completes the normal operation configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system based on the actual aircraft power system configuration; the distribution system configuration control simulation module completes the status of the intelligent contactors and circuit breakers in the distribution system according to the power system configuration status, control switch status and load status;

[0036] The configuration control simulation module consists of the subsystem configuration configuration file and the configuration control file. The configuration configuration file describes all subsystem configurations and gives identifiers; the configuration control file determines the subsystem configuration selection based on upstream or related inputs.

[0037] The power system configuration configuration files include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files.

[0038] The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

[0039] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model, the console module is implemented through the I0S_set function.

[0040] According to at least one embodiment of the present application, in the above-mentioned aircraft power supply system training simulation model, the operation scheduling module is composed of WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files, wherein the WorklLogic.h file completes the declaration of system operation-related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation-related functions according to the logic.

[0041] This application has at least the following beneficial technical effects:

[0042] Provided are an aircraft power supply system training simulation model and a construction method thereof. A highly modular design of the model is achieved based on the C language, supporting rapid changes and optimizations and possessing high real-time performance, flexibility, and scalability. The constructed model has cross-platform operation capabilities and can effectively adapt to domestic operating systems. Furthermore, the model can operate independently as dedicated training software for the power supply system, or it can be integrated with other aircraft system training simulation models or related hardware equipment to form an aircraft training simulation model or dedicated training equipment with more powerful training functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 Schematic diagram of a method for constructing a training simulation model for an aircraft power supply system provided in an embodiment of the present application;

[0044] Figure 2 This is a schematic diagram of the operation scheduling logic provided by an embodiment of the present application;

[0045] Figure 3 Schematic diagram of an aircraft power supply system training simulation model provided in an embodiment of the present application.

[0046] In order to better illustrate this embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product. In addition, the drawings are only used for illustrative purposes and should not be understood as limiting this application. DETAILED DESCRIPTION

[0047] To make the technical solution and its advantages of this application more clear, the technical solution of this application will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only some of the embodiments of this application and are only used to explain this application, not to limit this application. It should be noted that for ease of description, only the parts relevant to this application are shown in the accompanying drawings, and other relevant parts can refer to the general design.

[0048] In addition, unless otherwise defined, the technical terms or scientific terms used in the description of this application should have the usual meanings understood by those skilled in the art in the field to which this application belongs. The words indicating orientation used in the description of this application are only used to indicate relative directions or positional relationships. When the absolute position of the described object changes, its relative positional relationship may also change accordingly. The word "include" used in the description of this application means that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, but does not exclude other elements or objects.

[0049] In addition, it should be noted that, unless otherwise clearly stipulated and limited, the words "installation", "connection" and similar terms used in the description of this application should be understood in a broad sense. For example, the connection can be a fixed connection or a detachable connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. Technical personnel in the field can understand its specific meaning in this application according to the specific circumstances.

[0050] A method for constructing a training simulation model for an aircraft power supply system, such as Figure 1 shown.

[0051] The aircraft power supply system is divided into component simulation module, configuration control simulation module, console module, and operation scheduling control module.

[0052] Step 1: Build component simulation module.

[0053] The power supply system composition and external interface are sorted out, the relevant components and interface characteristics are analyzed, and simulation models are constructed for components such as generators, distribution boxes, intelligent contactors, control switches, ground power supplies, main generators, auxiliary generators, main batteries, flight control batteries, power converters, bus bars, connecting contactors, circuit breakers and typical loads. The components are declared and defined, and component simulation modules are constructed. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, LPDC.h, and the component type definition file is sysprt.cpp.

[0054] In a specific example, the component declaration is as follows:

[0055] Declare all variables

[0056] #include "HPDC.h"

[0057] #include "Source.h"

[0058] #include "LPDC.h"

[0059] #include "Battery.h"

[0060] const int max_fault_num=100;

[0061] #pragma once

[0062] / / Energy components

[0063] extern MGenerator lmgen; / / left generator

[0064] extern MGenerator rmgen; / / right generator

[0065] extern ApuGenerator apugen; / / apu generator

[0066] extern GroundPower gpowr; / / Ground power

[0067] / / Battery

[0068] extern MBATTERY lmbattery;

[0069] extern MBATTERY rmbattery;

[0070] extern FBATTERY lfcbattery;

[0071] extern FBATTERY rfcbattery;

[0072] / / Control components

[0073] extern bool lmgc; / / The main generator control switch is normally on by default

[0074] extern bool agc; / / , APU generator contactor

[0075] extern bool lhvdxtc; / / 270 DC interconnection contactor

[0076]

[0077] The following is an example of a component definition:

[0078] #include<io.h>

[0079] #include<Windows.h>

[0080] #include <cmath>

[0081] #include <chrono>

[0082] #include <thread>

[0083] / / / / / Main generator

[0084] class MGenerator

[0085] {

[0086] private:

[0087] int Rotatespeed; / / rotor speed

[0088] floatCurrentSensor; / / main generator current sensor

[0089] const float In1=222.2; / / maximum current when outputting 60KW

[0090] const float In2=333.3; / / maximum current when 90kW output

[0091] public:

[0092] float Voltage; / / Generator output voltage

[0093] float Current; / / generator current

[0094] float EPower; / / rated power

[0095] bool Mgcu = false; / / Main engine controller

[0096] WOKSTATE Workstate = Bai; / / Generator output working state

[0097] MGenerator():Rotatespeed(0),Voltage(0),Current(0),

[0098] EPower(0){}

[0099] void genstate(int n2rpm, int oiltemp, float oilpressure, bool e_mgcu) / / Output voltage and working status according to speed and generator controller switch state

[0100] {

[0101] Rotatespeed=int(1.151*n2rpm); / / speed transmission ratio 1.151

[0102]

[0103] }

[0104] }

[0105] Step 2: Construct the configuration control simulation module.

[0106] Carry out power supply system principle analysis, and build power supply system configuration control simulation module and distribution system configuration control simulation module.

[0107] The power system configuration control simulation module is mainly based on the real aircraft power system configuration, and completes the normal working configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system; the distribution system configuration control simulation module mainly completes the status of the intelligent contactors and circuit breakers in the distribution system according to the power system configuration status, control switch status and load status.

[0108] The configuration control simulation module mainly consists of the subsystem configuration configuration file and configuration control file. The configuration configuration file describes all the subsystem configurations and gives identification; the configuration control file determines the subsystem configuration selection based on upstream or related inputs.

[0109] The power system configuration configuration files mainly include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files.

[0110] The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

[0111] In a specific example, the ground power system configuration mainly includes power supply configuration, maintenance configuration, non-power supply configuration, and unknown status configuration. Its configuration configuration file is designed as follows:

[0112] int GRDPowerstate(bool g_grdpwr,bool g_grdpwrmaintctr=false,bool gpc=false,bool g_grdpwrreadylgt=true,bool riu2mode=true,int gbeatlosttime=0) / / Get the configuration results of different states of external input and output through the status of the ground power switch, maintenance switch and available light

[0113] {

[0114] if(riu2mode=false||gbeatlosttime>=5) / / MGCU2 or RIU2 offline time is greater than 5s

[0115] {

[0116] std::cout<<"Ground power status unknown"< <std::endl;

[0117] return 5;

[0118] }

[0119] if(g_grdpwrreadylgt&&g_grdpwr) / / power supply configuration

[0120] {

[0121] gpc = g_grdpwr;

[0122] gpowr.voltage = 270;

[0123] gpowr.workstate=Lan;

[0124] std::cout<<"Ground power is available, ground power switch is turned on"< <std::endl;

[0125] g_grdpwrusinglgt = true; / / ground power is in use and connected

[0126] return 1;

[0127] }

[0128] else if((g_grdpwrreadylgt&&g_grdpwrmaintctr)&&

[0129] (g_grdpwr == false)) / / Maintain configuration

[0130] {

[0131] ………

[0132] }

[0133] }

[0134] AC power supply system configuration control file example:

[0135] int Mlmdcconfig(int lmode,int rmode,int lmbatmode,int rmbatmode,intlfcbatmode,int rfcbatmode) / / Left and right power battery status

[0136] {

[0137] / / Judge the power supply situation

[0138] if((lmode==1)&&(rmode==1)) / / normal left supply, left supply, right supply

[0139] {

[0140] / / std::cout<<"28V DC secondary power supply is working normally"< <std::endl;

[0141] lvdxct_ct = false;

[0142] / / Bus output

[0143] l_lowbus.iswork = true;

[0144] l_lowbus.Voltage=dcnv1.Voltage;

[0145] l_lowbus.workspace=Lan;

[0146] l_lowbus.Current=L_LC_full;

[0147] r_lowbus.iswork = true;

[0148] r_lowbus.Voltage=dcnv2.Voltage;

[0149] r_lowbus.workspace=Lan;

[0150] r_lowbus.Current=R_LC_full;

[0151] std::cout<<"28V DC secondary power supply is working normally, dcnvoc1 switch is closed, dcnvoc2 switch is closed"< <std::endl;

[0152] return 1;

[0153] }

[0154] if(((lmode==2)||(lmode==3))&&(rmode==1)) / / left busbar fault, right supplies left

[0155] {

[0156] ………

[0157] }

[0158] ………

[0159] }

[0160] Step 3: Build the console module.

[0161] According to the external interface and training requirements of the power supply system, a console module is built to control the operating status of the power supply system and fault injection.

[0162] The console module is mainly implemented through the I0S_set function. Users can input corresponding parameters through the console module to control the operating status of the power supply system, understand the working principle of the power supply system, fault phenomena and their handling methods, and meet relevant training needs.

[0163] In a specific example, the console module is constructed as follows:

[0164] void IOS_set()

[0165] {

[0166] / / Set ground power

[0167] string input;

[0168] cout<<"Please enter the ground power control switch status, ground power maintenance switch status, ground power available light status"< <endl;

[0169] if(getline(cin,input)){

[0170] istringstream iss(input);

[0171] if(!(iss>>g_grdpwr>>g_grdpwrmaintctr>>

[0172] g_grdpwrreadylgt))

[0173] {

[0174] cout<<"Input parameter error, use default value:"< <endl;

[0175] cin.ignore(1000,'\n');

[0176] }

[0177] cout<<"Ground power control switch status Ground power maintenance switch status Ground power available light status:\n"< <g_grdpwr<<""<<

[0178] g_grdpwrmaintctr<<""< <g_grdpwrreadylgt<<endl;

[0179] };

[0180] / / Set up APU

[0181] cout<<"Please enter the following parameters to control the APU status: APU speed, APU start switch status, APU generator oil temperature, fire alarm signal, ground load status"< <endl;

[0182] if(getline(cin,input)){

[0183] istringstream iss(input);

[0184] if(!(iss>>e_apun>>apu_genstart>>e_apuoiltemp>>e_apufire>>gearload))

[0185] {

[0186] cout<<"Input parameter error, use default value:"< <endl;

[0187] cin.clear();

[0188] cin.ignore(1000,'\n');

[0189] }

[0190] cout< <e_apun<<""<<apu_genstart<<""<<e_apuoiltemp<<""<<e_apufire<<""<<gearload<<endl;

[0191] };

[0192] / / Generator teacher station input

[0193]

[0194] / / Fault settings

[0195] cout<<"If you need to set a controller fault, please set the corresponding value to 1. The default is no fault.\nThe following controller faults are supported:\nLeft generator controller fault\nLeft generator contactor fault\nRight generator controller fault\nRight generator contactor fault\n"

[0196] "APU generator controller failure\nAPU generator contactor failure"< <endl;

[0197] if(getline(cin,input)){

[0198] istringstream iss(input);

[0199] if(!(iss>>e_lmgc_break>>e_lmgcu_break>>

[0200] e_rmgc_break>>e_rmgcu_break>>e_apuc_break>>e_agcu_break))

[0201] {

[0202] cout<<"Input parameter error, use default value:"< <endl;

[0203] cin.clear();

[0204] cin.ignore(1000,'\n');

[0205] }

[0206] cout< <e_lmgc_break<<""<<e_lmgcu_break<<""<<e_rmgc_break<<""<<e_rmgcu_break<<""<<e_apuc_break<<""<<e_agcu_break<<endl;

[0207] };

[0208]

[0209] }

[0210] Step 4: Build the operation scheduling module.

[0211] Carry out analysis on the comprehensive control and management principles of the power supply system, and build an operation and scheduling module according to the operation logic of the power supply system.

[0212] The operation and scheduling module integrates the component simulation module, configuration control simulation module, and console module into a system, mainly realizing the system initialization and power supply system comprehensive control and management logic simulation, completing the model startup initialization and system simulation operation based on control input and the output of simulation results.

[0213] The operation scheduling module is mainly composed of WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files. Among them, the WorklLogic.h file completes the declaration of system operation related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation related functions according to the logic. The operation scheduling logic can be found in Figure 2 , some code examples are as follows:

[0214] / / Initialize the system

[0215] Initial_allpart();

[0216] cout<<"System initialization completed"< <endl;

[0217] / / Receive external input, teacher console, required when running alone

[0218] IOS_set();

[0219] Bat_warn_caution();

[0220] / / Judge HDC status

[0221] int gmode=GRDPowerstate(g_grdpwr,g_grdpwrmaintctr,gpc,g_grdpwrreadylgt,riu2mode,riu2beatlosttime);

[0222] / / cout<<"ground power status"< <gmode<<endl;

[0223] if((gmode!=2)&&(gmode!=3)) / / Execute the following logic in non-maintenance configuration

[0224] {

[0225] / / cout< <e_apuoiltemp<<""<<endl;

[0226] int apumode=APUPowerstate(e_apun,e_apuoiltemp,

[0227] riu3mode,e_apufire,riu3beatlosttime,e_apuc_break);

[0228] / / cout<<"apu power status"< <apumode<<endl;

[0229] int lmegnmode=LDCMainPowerstate(e_ln2,e_lenoiltemp,e_lenoilpress,riu5mode,e_lmggfire,riu5beatlosttime,e_lmgc_break);

[0230] / / cout<<"Left main AC power status"< <lmegnmode<<endl;

[0231] int rmegnmode=RDCMainPowerstate(e_rn2,e_renoiltemp,e_renoilpress,riu2mode,e_rmggfire,riu2beatlosttime,e_rmgc_break);

[0232] / / cout<<"right main AC power status"< <rmegnmode<<endl;

[0233] / / Logical judgment of output bus status

[0234] / / Handle the failure

[0235] if(l_highbus.worksate==Huang)lmegnmode=4;

[0236] if(r_highbus.worksate==Huang)rmegnmode=4;

[0237] DCMainPowerconfig(lmegnmode,rmegnmode,gmode,

[0238] apumode);

[0239]

[0240] Step 5: Perform system integration testing on the component simulation module, configuration control simulation module, console module, and operation scheduling control module.

[0241] If the test fails, analyze the cause. If it is a component simulation module construction defect, return to step one and rebuild the component simulation module; if it is a configuration control simulation module construction defect, return to step two and rebuild the configuration control simulation module; if it is a console module construction defect, return to step three and rebuild the console module; if it is a run scheduling module construction defect, return to step four and rebuild the run scheduling module.

[0242] The method for constructing an aircraft power supply system training simulation model disclosed in the above embodiment is a method for constructing a real-time power supply system simulation model based on C language. The model is highly modularized based on C language, supports rapid changes and optimization, and has high real-time performance, flexibility and scalability. The constructed model has cross-platform operation capabilities and can effectively adapt to domestic operating systems. In addition, it can run independently as training software dedicated to the power supply system, and can also be integrated with other aircraft system training simulation models or related hardware equipment to form an aircraft training simulation model or dedicated training equipment with more powerful training functions.

[0243] The aircraft power supply system training simulation model construction method disclosed in the above embodiment is provided with a console module, which can conveniently implement system configuration conversion and fault injection, support power supply system operation testing and typical procedure training, and better meet relevant training needs.

[0244] On the other hand, an aircraft power supply system training simulation model is provided, which is constructed based on the aircraft power supply system training simulation model construction method disclosed in the above embodiment. Figure 3 shown.

[0245] Component simulation module, including generator, distribution box, intelligent contactor, control switch, ground power supply, main generator, auxiliary generator, main battery, flight control battery, power converter, bus bar, connection contactor, circuit breaker and typical load simulation models

[0246] Declare and define the components. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, and LPDC.h, and the component type definition file is sysprt.cpp.

[0247] Construct configuration control simulation modules, including power system configuration control simulation module and distribution system configuration control simulation module.

[0248] The power system configuration control simulation module is mainly based on the real aircraft power system configuration, and completes the normal working configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system; the distribution system configuration control simulation module mainly completes the status of the intelligent contactors and circuit breakers in the distribution system according to the power system configuration status, control switch status and load status.

[0249] The configuration control simulation module mainly consists of the subsystem configuration configuration file and configuration control file. The configuration configuration file describes all the subsystem configurations and gives identification; the configuration control file determines the subsystem configuration selection based on upstream or related inputs.

[0250] The power system configuration configuration files mainly include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files.

[0251] The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

[0252] The console module is used to control the power supply system operation status and fault injection.

[0253] The console module is mainly implemented through the I0S_set function. Users can input corresponding parameters through the console module to control the operating status of the power supply system, understand the working principle of the power supply system, fault phenomena and their handling methods, and meet relevant training needs.

[0254] The operation scheduling module is constructed according to the operation logic of the power supply system.

[0255] The operation and scheduling module integrates the component simulation module, configuration control simulation module, and console module into a system, mainly realizing the system initialization and power supply system comprehensive control and management logic simulation, completing the model startup initialization and system simulation operation based on control input and the output of simulation results.

[0256] The operation scheduling module is mainly composed of WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files. Among them, the WorklLogic.h file completes the declaration of system operation related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation related functions according to the logic.

[0257] The aircraft power supply system training simulation model disclosed in the above embodiment is a C language-based aircraft power supply system training simulation model, which can be applied to small-scale aircraft desktop-level simulation training equipment and large-scale physical / semi-physical-level simulation training equipment. Through the console module input, it can conveniently and quickly simulate the normal and faulty operating states of the power supply system, support power supply system operation testing and typical program training, and better meet training needs.

[0258] Users can utilize the aircraft power supply system training simulation model disclosed in the above implementation, input relevant variables through the console module, run the scheduling control module according to the input variables and the power supply system, run the logic control configuration model simulation module, simulate the normal and faulty working states of the power supply system and the related configuration conversion logic, thereby helping users quickly understand the working principle of the aircraft power supply system, the fault phenomena of the power supply system and the handling methods.

[0259] In addition, technicians in the field should also be able to realize that the various modules and units of the aircraft power supply system training simulation model disclosed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, this application generally describes them according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Technicians in the field can choose to adopt different methods to implement the described functions for each specific application and its actual constraints, but such implementation should not be considered to be beyond the scope of this application.

[0260] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. Those skilled in the art should understand that the scope of protection of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or replacements to the relevant technical features, and the technical solutions after these changes or replacements will fall within the scope of protection of the present application.< / thread> < / chrono> < / cmath>

Claims

1. A method for constructing a training simulation model for an aircraft power supply system, characterized in that: include: Step 1: Build component simulation module: Sort out the power supply system composition and external interfaces, analyze the characteristics of related components and interfaces, build simulation models for components, declare and define components, and build component simulation modules; Step 2: Build the configuration control simulation module: Conduct power supply system principle analysis and build power supply system configuration control simulation modules and distribution system configuration control simulation modules; Step 3: Build the console module: Based on the external interface and training requirements of the power supply system, a console module is built to control the power supply system operation status and fault injection; Step 4: Build the operation scheduling module: Conduct analysis on the integrated control and management principles of the power supply system and build an operation and scheduling module according to the operation logic of the power supply system; The operation scheduling module integrates the component simulation module, configuration control simulation module, and console module to realize system initialization and power supply system comprehensive control and management logic simulation; Step 5: Perform system integration testing on the component simulation module, configuration control simulation module, console module, and operation scheduling control module; If the test fails, analyze the cause. If it is a component simulation module construction defect, return to step one and rebuild the component simulation module; if it is a configuration control simulation module construction defect, return to step two and rebuild the configuration control simulation module; if it is a console module construction defect, return to step three and rebuild the console module; if it is a run scheduling module construction defect, return to step four and rebuild the run scheduling module.

2. The method for constructing an aircraft power supply system training simulation model according to claim 1, characterized in that: In step 1, component simulation modules are constructed, including generators, distribution boxes, intelligent contactors, control switches, ground power supplies, main generators, auxiliary generators, main batteries, flight control batteries, power converters, busbars, connection contactors, circuit breakers, and typical load simulation modules. Declare and define the components. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, and LPDC.h, and the component type definition file is sysprt.cpp.

3. The method for constructing an aircraft power supply system training simulation model according to claim 2, wherein: In step 2, the constructed power system configuration control simulation module is based on the actual aircraft power system configuration, and completes the normal working configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system; the distribution system configuration control simulation module completes the status of the intelligent contactors and circuit breakers in the distribution system according to the power system configuration status, control switch status and load status; The configuration control simulation module consists of the subsystem configuration configuration file and the configuration control file. The configuration configuration file describes all subsystem configurations and gives identifiers; the configuration control file determines the subsystem configuration selection based on upstream or related inputs. The power system configuration configuration files include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files. The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

4. The method for constructing an aircraft power supply system training simulation model according to claim 3, wherein: In step three, build the console module and implement it through the I0S_set function.

5. The method for constructing an aircraft power supply system training simulation model according to claim 4, characterized in that: In step 4, the operation scheduling module is constructed, which consists of the WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files. Among them, the WorklLogic.h file completes the declaration of system operation related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation related functions according to the logic.

6. An aircraft power supply system training simulation model, constructed based on the aircraft power supply system training simulation model construction method according to claim 1, characterized in that: include: Component simulation module, including component simulation model, declares and defines components; Configuration control simulation module, including power system configuration control simulation module and distribution system configuration control simulation module; Console module, used to control the power supply system operating status and fault injection; The operation scheduling module is constructed according to the operation logic of the power supply system, and the component simulation module, configuration control simulation module, and console module are systematically integrated to realize the system initialization and power supply system comprehensive control and management logic simulation.

7. The aircraft power supply system training simulation model according to claim 6, characterized in that: Component simulation modules include generators, distribution boxes, intelligent contactors, control switches, ground power supplies, main generators, auxiliary generators, main batteries, flight control batteries, power converters, bus bars, connection contactors, circuit breakers, and typical load simulation modules; Declare and define the components. The component declaration files are Syspart.h, Source.h, Battery.h, HPDC.h, and LPDC.h, and the component type definition file is sysprt.cpp.

8. The aircraft power supply system training simulation model according to claim 7, characterized in that: The power system configuration control simulation module is based on the actual aircraft power system configuration and completes the normal operation configuration, fault configuration and related configuration conversion control of subsystems such as the main power system, auxiliary power system, secondary power system, emergency power system, and ground power system. The power distribution system configuration control simulation module completes the status of the intelligent contactors and circuit breakers in the power distribution system according to the power system configuration status, control switch status and load status. The configuration control simulation module consists of the subsystem configuration configuration file and the configuration control file. The configuration configuration file describes all subsystem configurations and gives identifiers; the configuration control file determines the subsystem configuration selection based on upstream or related inputs. The power system configuration configuration files include the AC main power system, auxiliary power system, DC power system, emergency power system, and ground power system configuration configuration files. The configuration control files mainly include the AC power supply system configuration control files and the DC power supply system configuration control files. The distribution system configuration control file mainly includes the primary distribution system and secondary distribution system configuration configuration files. The configuration control file is the distribution system configuration control file.

9. The aircraft power supply system training simulation model according to claim 8, characterized in that: The console module is implemented through the I0S_set function.

10. The aircraft power supply system training simulation model according to claim 9, characterized in that: The operation scheduling module consists of WorklLogic.h, initialsyspart.cpp, and powersupply.cpp files. Among them, the WorklLogic.h file completes the declaration of system operation related functions, initialsyspart.cpp completes the system initialization work, and powersupply.cpp completes the scheduling of system operation related functions according to the logic.

Citation Information

Patent Citations

  • PLC network automation comprehensive practical training device

    CN111627282A

  • Power distribution control test platform for more-electric aircraft

    CN114465353A