Initialization test method, device, equipment, medium and product for simulation equipment
By determining whether the equipment system starts initialization in the flight simulation equipment and setting the model initialization status of all models according to the initialization elements, the problem of lack of standardized testing processes in the existing technology is solved, and systematic initialization testing of the simulation equipment is realized, and testing performance and accuracy are improved.
Patent Information
- Application Number
- CN202410803964.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The lack of guiding testing procedures and methods in the prior art leads to lack of standard references in the logic, functions and status of the flight simulation equipment during the QTG initialization process, and there is no standard process for each parameter status and parameter setting order, which affects the initialization status.
Provide an initialization test method for simulating equipment. By determining whether the equipment system of the flight simulation equipment begins to be initialized, and setting the model initialization status of all models according to the initialization elements, determining the initial model, and implementing the initialization test of all models in sequence until the system initialization test is completed.
Systematized initialization testing of simulation equipment is realized, ensuring that model initialization elements are reasonably set, and improving the initialization testing performance and accuracy of simulation equipment.
Smart Images

Figure CN118915485B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of flight simulation testing, and in particular to an initialization testing method, device, equipment, medium and product for a simulation device. Background Art
[0002] In recent years, with the rapid development of the aviation manufacturing industry and the increase in flight training, the research and development of domestic flight simulation equipment has entered a new stage of development, and the demand for the development and application of the flight simulator qualification test guide (QTG) system is increasing.
[0003] At present, there is a lack of guiding test processes and methods for QTG initialization in China. There is no standard reference for the logic, function and status of different system simulation models during the QTG initialization process. With current technology, QTG initialization focuses more on flight simulation-related systems, without considering the status of the simulator as a whole aircraft's onboard systems. In addition, for the flight system, there is no standard process and method for the various parameter states and parameter setting sequences to meet the initialization requirements, and different parameter setting sequences also have an impact on the initialization status. Summary of the invention
[0004] The present invention provides an initialization test method, device, equipment, medium and product for a simulation device, which are used to solve the defects in the prior art that there is a lack of guiding test procedures and methods, and there is no standard procedure and method for each parameter state and parameter setting sequence to meet the initialization requirements. The present invention realizes the initialization test of the simulation device, takes into account the initialization elements of the model, determines the initialization state, and realizes the initialization test of all models of the simulation device system in sequence according to the model initialization test sequence, thereby improving the initialization test performance of the simulation device.
[0005] The present invention provides an initialization test method for a simulation device, comprising the following steps:
[0006] Determine whether the device system of the flight simulation device has started initialization;
[0007] When the device system of the flight simulation device starts to be initialized, the model initialization states of all models in the device system are set according to the initialization elements of the flight simulation device, and the initial model is determined; wherein the initial model is the first initialized model determined according to the order of all models and model initialization tests;
[0008] Based on the model initialization state corresponding to the initial model, determining whether the initial model is initialized;
[0009] If the initial model is not initialized, the system is normally solved according to the model information corresponding to the initial model to determine the solution result, and whether the initial model is initialized is determined according to the solution result;
[0010] If the initialization of the initial model is completed, the initialization completion flag corresponding to the initial model is sent, and the execution is returned to determine whether the device system of the flight simulation device has started the initialization step. According to the model initialization test sequence, it is determined in turn whether all models of the device system have been initialized, until all models of the device system are initialized, and the initialization completion identification set of all models is received. According to the initialization completion identification set, it is determined that the system initialization test of the simulation device is completed.
[0011] According to an initialization test method for a simulation device provided by the present invention, before determining whether the device system of the flight simulation device starts to initialize, it also includes: receiving a test instruction identifier sent by the test software; wherein the test software contains model information and a test instruction identifier corresponding to all models of the device system; determining whether the flight simulation device test guide starts to initialize according to the test instruction identifier; if the flight simulation device test guide does not start to initialize, the initialization test ends; if the flight simulation device test guide starts to initialize, starting to execute the step of determining whether the device system of the flight simulation device starts to initialize.
[0012] According to an initialization test method for a simulation device provided by the present invention, determining whether a device system of a flight simulation device has started initialization includes: determining whether the device system of the flight simulation device has received an initialization start identifier; if the device system of the flight simulation device has received an initialization start identifier, determining that the device system has started initialization; if the device system of the flight simulation device has not received an initialization start identifier, determining that the device system has not started initialization.
[0013] According to an initialization test method for a simulation device provided by the present invention, when the device system of the flight simulation device has not started initialization, the system freezing logic of the device system is started, and the execution is returned to determine whether the device system of the flight simulation device has received an initialization start identification step; wherein the system freezing logic refers to the device system maintaining the state of the previous step.
[0014] According to an initialization test method for a simulation device provided by the present invention, based on the model initialization state corresponding to the initial model, determining whether the initial model has been initialized, includes: determining the model preset parameters corresponding to the initial model; determining whether the initial model has been initialized based on the model initialization state, model preset parameters and preset conditions corresponding to the initial model; wherein the preset conditions are preset initialization completion judgment conditions; if it is determined that the model initialization state and the model preset parameters meet the preset conditions, then it is determined that the initial model has been initialized; if it is determined that the model initialization state and the model preset parameters do not meet the preset conditions, then it is determined that the initial model has not been initialized.
[0015] According to an initialization test method for a simulation device provided by the present invention, if the initialization of the initial model is completed, an initialization completion flag corresponding to the initial model is sent, and the method returns to execute whether the device system of the flight simulation device starts the initialization step, including: if the initialization of the initial model is completed, an initialization completion flag corresponding to the initial model is sent, and the model freezing logic of the initial model is started; and according to the model freezing logic, the method returns to execute whether the device system of the flight simulation device starts the initialization step.
[0016] The present invention also provides an initialization test device for a simulation device, comprising the following modules:
[0017] A first determination module is used to determine whether a device system of the flight simulation device starts initialization;
[0018] A second determination module is used to set the model initialization state of all models in the device system according to the initialization elements of the flight simulation device when the device system of the flight simulation device starts to be initialized, and determine the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence;
[0019] The third determination module is used to determine whether the initialization of the initial model is completed based on the model initialization state corresponding to the initial model; the fourth determination module is used to perform a normal system solution to determine a solution result according to the model information corresponding to the initial model if the initialization of the initial model is not completed, and determine whether the initialization of the initial model is completed according to the solution result;
[0020] The fifth determination module is used to send an initialization completion flag corresponding to the initial model if the initialization of the initial model is completed, and return to execute to determine whether the device system of the flight simulation device has started the initialization step, and determine whether all models of the device system have been initialized in turn according to the model initialization test sequence, until all models of the device system are initialized, and the initialization completion mark set of all models is received, and determine that the system initialization test of the simulation device is completed according to the initialization completion mark set.
[0021] The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, an initialization test method for any of the above-mentioned simulation devices is implemented.
[0022] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the initialization test method of any simulation device as described above is implemented.
[0023] The present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned initialization test methods for the simulation device.
[0024] The present invention provides a method, device, equipment, medium and product for testing initialization of a simulation device. The method determines whether the device system of the flight simulation device starts to be initialized. When the device system of the flight simulation device starts to be initialized, the model initialization states of all models in the device system are set according to the initialization elements of the flight simulation device, and the initial model is determined. The initial model is the first initialized model determined according to all models and the model initialization test sequence. Based on the model initialization state corresponding to the initial model, it is determined whether the initial model is initialized. If the initial model is not initialized, the system is normally solved according to the model information corresponding to the initial model to determine the solution result, and it is determined whether the initial model is initialized according to the solution result. If the initial model is initialized, an initialization completion flag corresponding to the initial model is sent, and the step of determining whether the device system of the flight simulation device starts to be initialized is returned. It is determined whether all models of the device system are initialized according to the model initialization test sequence, until all models of the device system are initialized, and the initialization completion mark set of all models is received, and it is determined that the system initialization test of the simulation device is completed according to the initialization completion mark set. The technical solution of the present invention is used to solve the defects in the prior art that there is a lack of guiding test processes and methods, and there is no standard process and method for each parameter state and parameter setting sequence to meet the initialization requirements. It realizes the initialization test of the simulation device, takes into account the initialization elements of the model, determines the initialization state, and realizes the initialization test of all models of the simulation device system in sequence according to the model initialization test sequence, thereby improving the initialization test performance of the simulation device. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 This is one of the flow charts of the initialization test method of the simulation device provided by the present invention.
[0027] Figure 2 It is a schematic diagram of the model initialization test sequence provided by the present invention;
[0028] Figure 3 This is the second flow chart of the initialization test method of the simulation device provided by the present invention.
[0029] Figure 4 It is a structural schematic diagram of the initialization test device of the simulation device provided by the present invention.
[0030] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] Combine the following Figure 1-Figure 3 The initialization test method for the simulation device provided by the present invention is described. The initialization test method for the simulation device provided by the present invention can be applicable to the objective test initialization situation of the flight simulation device. The executor of the method can be an electronic device or an initialization test device for the simulation device arranged in the electronic device. The initialization test device for the simulation device can be implemented by software, hardware or a combination of both. Figure 1 FIG. 1 is one of the flow charts of the initialization test method of the simulation device provided by the present invention, such as Figure 1 As shown, the method specifically includes the following:
[0033] Step 101: Determine whether the device system of the flight simulation device starts initialization.
[0034] In this step, the simulation device is a flight simulation device. In this embodiment, the flight simulation device specifically refers to a simulator device, and the application scenario when initializing the flight simulation device is an objective test, which is not limited in this embodiment.
[0035] In one embodiment, it is determined whether a device system of a flight simulation device has started initialization. The specific implementation method is as follows: determine whether the device system of the flight simulation device has received an initialization start identifier; if the device system of the flight simulation device has received an initialization start identifier, determine that the device system has started initialization; if the device system of the flight simulation device has not received an initialization start identifier, determine that the device system has not started initialization.
[0036] In this step, the initialization start identifier is an identifier for determining whether the device system of the flight simulation device starts initialization. The initialization start identifier is sent to the flight simulation device through the test software, and the test software is information software connected to the flight simulation device.
[0037] Specifically, determine whether the device system of the flight simulation device receives the initialization start identifier sent by the test software. If it is determined that the device system of the flight simulation device receives the initialization start identifier, then determine that the device system starts initialization; if it is determined that the device system of the flight simulation device does not receive the initialization start identifier, then determine that the device system does not start initialization.
[0038] The advantage of such a setting is that the initialization start state of the device system of the flight simulation device can be determined in real time based on the initialization start identifier, thereby improving the real-time monitoring capability of the device system of the flight simulation device.
[0039] Step 102: setting the model initialization states of all models in the device system according to the initialization elements of the flight simulation device, and determining the initial model.
[0040] In this step, the initial model is the first initialized model determined according to the order of all models and model initialization tests. Figure 2 It is a schematic diagram of the model initialization test sequence provided by the present invention, such as Figure 2 As shown, the models of the equipment system include a power system simulation model, a wind and turbulence simulation model, a hydraulic system simulation model, a fuel system simulation model, a mass simulation model, a flight simulation model, a landing gear system simulation model, an atmospheric environment simulation model, a high lift system simulation model, a power system simulation model, a flight control system simulation model and a control system simulation model, which are not limited in this embodiment. Figure 2 The initialization sequence in the initialization phase of the device system is used to perform overall initialization processing.
[0041] The main considerations for determining the model initialization order are as follows: All models of the equipment system need to be in a power supply state to maintain normal operation, so the power system simulation model needs to be initialized before other simulation models; the landing gear system simulation model, the control system simulation model and the high lift system simulation model need to be in normal pressure supply conditions to maintain normal operation, so the hydraulic system simulation model needs to be initialized before the landing gear system simulation model, the control system simulation model and the high lift system simulation model; the power system simulation model can only be started when there is fuel, so the fuel system simulation model needs to be initialized before the power system simulation model; the landing gear cannot be retracted on the ground, so the flight simulation model needs to be initialized before the landing gear system simulation model Flight parameter settings; the fuel mass is part of the total weight of the aircraft, and the fuel weight will affect the mass distribution of the aircraft, so the fuel system simulation model needs to be initialized before the mass simulation model; wind can affect the aircraft's flight state parameters, so wind and turbulence The simulation model needs to be initialized before the flight parameters are set; the mass characteristics of the aircraft will affect the flight performance parameters, so the mass simulation model needs to be initialized before the flight parameters are set; the atmospheric environment simulation model is set according to the relationship between ambient temperature, pressure altitude and altitude, so the flight simulation model needs to be initialized before the atmospheric environment simulation model flight parameter setting; the retractable angle of the flaps and slats is affected by the flight state, so the flight simulation model needs to be initialized before the high lift system simulation model flight parameter setting; the simulator trimming needs to be performed under accurate configuration state, so the landing gear system simulation model, mass simulation model and high lift system simulation model need to be initialized before trimming; trimming is mainly based on pressure altitude and corrected airspeed, and the corrected airspeed is affected by the atmospheric environment, so the atmospheric environment simulation model needs to be initialized before trimming; the power system simulation model and the flight control system simulation model need to respond to the simulator trim state, so the simulator trimming needs to be performed before the power system simulation model and the flight control system simulation model.
[0042] During the QTG initialization phase, the initialization order of each model of the equipment system is achieved by constraining its front-end system model, and the condition for each system model to start initialization is that the front-end system model has completed initialization. The initialization order of each system model is shown in Table 1 below. Table 1 specifically shows the constraints before each model of the equipment system. Among them, due to the particularity of balancing and the inability of flight state parameters to be completed in the flight dynamics initialization process, a separate balancing initialization process is set. And under normal circumstances, the front-end flight simulation model parameter setting of the high-lift system simulation model, because balancing must be performed after the atmospheric environment simulation model, mass simulation model, and high-lift system simulation model are all initialized. In order to ensure the conditions for balancing, the front unit of the high-lift system simulation model is adjusted to the atmospheric environment simulation model.
[0043] Table 1
[0044]
[0045] Specifically, when the equipment system of the flight simulation device starts to initialize, the initialization elements corresponding to all models in the equipment system of the flight simulation device are determined, and then the initialization states of the models are set respectively according to the initialization elements corresponding to all models one by one, and the first initialized model in the model initialization test sequence is determined as the initial model.
[0046] The initialization elements are initialization requirements corresponding to different models, as shown in Table 2. Table 2 shows the initialization elements corresponding to different models of the device system.
[0047] Table 2
[0048]
[0049] Step 103: Based on the model initialization state corresponding to the initial model, determine whether the initial model has been initialized.
[0050] Specifically, after determining the model initialization state corresponding to the initial model, determine whether the initial model is initialized according to the model initialization state. If it is determined that the initial model does not set all power system switch quantities of the equipment system to the normal power supply position, then it is determined that the initial model is not initialized, and continue to execute step 104; if the initial model sets all power system switch quantities of the equipment system to the normal power supply position, and the initial model initialization completion mark is determined after the setting is completed, then it is determined that the initial model initialization is completed, and continue to execute step 105.
[0051] Step 104: Perform normal system calculation according to the model information corresponding to the initial model to determine the calculation result, and determine whether the initial model is initialized according to the calculation result.
[0052] Specifically, if the initial model is not initialized, the model information corresponding to the initial model is obtained, the device system performs normal system solution according to the model information, determines the solution result, and determines whether the initial model is initialized according to the solution result. The cycle is executed until the initial model is initialized and then step 105 is executed.
[0053] Step 105, sending the initialization completion flag corresponding to the initial model, and returning to execute to determine whether the device system of the flight simulation device has started the initialization step, and determining whether all models of the device system have been initialized in turn according to the model initialization test sequence, until all models of the device system have been initialized, and receiving the initialization completion mark set of all models, and determining that the system initialization test of the simulation device is completed according to the initialization completion mark set.
[0054] Specifically, if the initialization of the initial model is completed, the initialization completion flag corresponding to the initial model is sent. The initialization completion flag is used to remind the equipment system that the initial model has been initialized. Further execution is performed to determine whether the equipment system of the flight simulation device has started the initialization step. According to the model initialization test sequence, it is determined in turn whether all models of the equipment system have been initialized, until all models of the equipment system are initialized, and the initialization completion mark set of all models is received, and the system initialization test of the simulation device is determined to be completed according to the initialization completion mark set.
[0055] In a specific implementation, whether all models of the device system have been initialized is determined in sequence according to the model initialization test sequence until all models of the device system have been initialized and a set of initialization completion identifiers of all models are received. The completion of the system initialization test of the simulated device is determined according to the set of initialization completion identifiers, as follows: When the initialization identifier of the device system is received, initialization begins. First, the wind and turbulence simulation model and the power supply system simulation model begin to initialize.
[0056] The wind and turbulence simulation model sets the wind speed and direction information collected in the verification data to the simulator system and performs wind direction conversion. spd =Wspd Init , wind direction setting value W dir =Wdir Init -D rwy , Wspd Init Represents the initialization wind speed in the verification data, Wdir Init represents the initialization wind direction in the validation data, D rwy Indicates the runway deviation, which is calculated by the initial runway heading in the verification data and the current runway heading of the flight simulator, as shown in D rwy =Dirrwy Init -Dir rwy After the setting is completed, the wind and turbulence simulation unit initialization completion mark is sent, Dirrwy Init Indicates the initial runway heading, Dir rwy Indicates the current runway heading of the flight simulation device. The power system simulation model sets all power system switch quantities to the normal power supply position, and after the setting is completed, sends the power system simulation unit initialization completion mark to the device system.
[0057] After the wind and turbulence simulation model and the power system simulation model are initialized, the initialization of the hydraulic system simulation model and the fuel system simulation model is started synchronously.
[0058] The hydraulic system simulation model sets all hydraulic system switches to the normal pressure supply position, and sends the hydraulic system simulation unit initialization completion mark after the setting is completed. The fuel system simulation model sets all fuel system switches to the normal position, and sets the initialization fuel volume in the verification data to the device system of the flight simulation device. The setting value Qty of the i-th tank fuel volume of the hydraulic system simulation model fueli =Qfueli Init , among which, Qfuel Init To verify the initialization value of the i-th fuel tank in the data, after the setting is completed, the fuel system initialization completion mark is sent to the device system.
[0059] After confirming that the hydraulic system simulation model initialization is completed, start the initialization processing of the mass simulation model, parameter configuration of the flight simulation model, landing gear system simulation model, atmospheric environment simulation model, high lift system simulation model, flight simulation model, power system simulation model, flight control system simulation model and control system simulation model in turn.
[0060] The mass simulation model sets the weight, center of gravity, and moment of inertia of the system to the initial values in the verification data. After the settings are completed, a mass simulation unit initialization completion mark is sent to the equipment system.
[0061] The parameter configuration of the flight simulation model sequentially sets the relative runway position, altitude, attitude, speed, and angular velocity as the initialization values in the verification data. Among them, since the credibility of each parameter in different situations in the verification data is different, the altitude setting needs to be differentiated according to the state. For ground subjects, it is set to the normal parking altitude of the simulator. When close to the ground, the radio altitude in the verification data is used for setting, and when high in the air, the pressure altitude in the verification data is used for setting; when setting the attitude, the heading needs to consider the runway deviation; for the speed setting, the ground speed setting is used on the ground, and the true airspeed setting is used in the air. For the longitudinal position relative to the runway position, it is set to PosRwyX=PosRwyX Init , PosRwyX is the relative runway longitudinal position setting value, PosRwyX Init To verify the initialization value of the longitudinal position relative to the runway in the data, the lateral position relative to the runway position is set to PosRwyY = PosRwyY Init , PosRwyY is the relative runway lateral position setting value, PosRwyY Init Initialize the relative runway lateral position in the validation data. For the altitude setting, the altitude setting value of the flight simulation device Alt is the altitude setting value of the flight simulator, RwyZ is the runway elevation, AbsH is the parking altitude, RA init and HP initis the initial value of radio altitude and pressure altitude in the verification data. For attitude setting, θ=θ Init , θ is the pitch angle, θ Init To verify the initialization value of the pitch angle in the data; is the roll angle, To verify the initialization value of the roll angle in the data; Heading = Heading Init -D rwy , Heading is the heading setting value, Heading Init is the initialization value of the heading setting value in the verification data, D rwy For the speed setting, the speed setting value of the aircraft axis of the flight simulation device Gs init To verify the initialization value of ground speed in the data, Vt init To verify the initialization value of vacuum speed in the data, DCM E2B DCM is the transformation matrix from the earth axis to the body axis. V2B They are the conversion matrices from the airflow axis system to the body axis system. For the setting of angular velocity, the angular velocity setting value of the flight simulation device is ω=ω Init ,ω Init To verify the initialization value of the angular velocity in the data.
[0062] The landing gear system simulation model is initialized by setting the brake pedal position, front wheel steering handle position and foot pedal position to the initialization values in the verification data. The landing gear system simulation model performs normal iterative solution. When the landing gear position, brake pressure and front wheel steering angle solved by the system are consistent with the initialized landing gear position in the verification data, the landing gear system simulation model is considered to be initialized, and the landing gear system simulation model initialization completion flag is sent to the equipment system.
[0063] The atmospheric environment simulation model is initialized based on the external environment temperature initialization value and pressure altitude in the verification data file, and the current environmental parameters are set to calculate the relative standard atmospheric deviation. After the calculation is completed, the atmospheric environment system initialization completion mark is sent to the device system. Specifically, for the pressure altitude deviation T Init To verify the initial value of the external environment temperature in the data, ΔT is the temperature drop gradient, Alt is the pressure altitude at the current altitude, which is calculated in the parameter setting of the flight simulation model; P is the set sea level pressure, P0 is the standard sea level pressure, and T0 is the standard sea level temperature. T temp =(Alt+Alt Diff )*ΔT+T0, Alt is the pressure altitude at the current altitude, Alt Diffis the pressure altitude deviation, ΔT is the temperature drop gradient, and T0 is the standard sea level temperature.
[0064] The initialization of the high-lift system simulation model is to set the flap and slat handle positions to the initialization values in the verification data. The high-lift system simulation model performs normal iterative solution. When the flap deflection angle and slat deflection angle solved by the system are consistent with the initialization positions in the verification data, the high-lift system simulation model is considered to have been initialized, and a high-lift system simulation model initialization completion flag is sent to the equipment system.
[0065] The balancing initialization of the flight simulation model is to use the initialized rudder, current thrust and flight status in the verification data as the model input for aerodynamic solution, calculate and output the current force state, if the hand is balanced, the initialization is determined to be completed; if the force is unbalanced, the deviation is superimposed on the basis of the initialized rudder and current thrust, and a cyclic calculation is performed until the force balance is achieved, and the current rudder and thrust data are recorded and output as the rudder and engine thrust required for balancing, and the initialization is determined to be completed.
[0066] The initialization of the power system simulation model is to use the initialization value of the throttle lever handle in the verification data as input to calculate the current engine thrust. If the current thrust is inconsistent with the thrust required for balancing, the deviation is superimposed on the basis of the initialized throttle lever handle, and a cyclic calculation is performed until the current thrust is consistent with the thrust required for balancing, and the power system simulation model initialization completion mark is sent to the equipment system.
[0067] The initialization of the flight control system simulation model takes the initialization control data in the verification data and the current flight status as input, calculates and outputs the actual rudder angle. If the actual rudder angle is inconsistent with the required rudder, the deviation is superimposed on the initialization control data, and a loop calculation is performed until the actual rudder angle is consistent with the required rudder. The current control data is recorded and output as the required control amount, and the flight control system simulation model initialization completion mark is sent to the equipment system.
[0068] The initialization of the control system simulation model is to receive the required control surface angle output by the flight control system simulation model, and move the control device to the required control position by setting a fixed control device movement rate, so that the initialization is completed, and send the control system simulation model initialization completion mark to the device system, so that the overall initialization of the device system of the flight simulation device is completed.
[0069] The present invention provides an initialization test method for a simulation device, which determines whether a device system of a flight simulation device starts to be initialized; when the device system of the flight simulation device starts to be initialized, sets the model initialization states of all models in the device system according to the initialization elements of the flight simulation device, and determines the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence; determines whether the initial model is initialized based on the model initialization state corresponding to the initial model; if the initial model is not initialized, performs normal system solution according to the model information corresponding to the initial model to determine the solution result, and determines whether the initial model is initialized according to the solution result; if the initial model is initialized, sends an initialization completion flag corresponding to the initial model, and returns to execute the step of determining whether the device system of the flight simulation device starts to be initialized, determines whether all models of the device system are initialized according to the model initialization test sequence, until all models of the device system are initialized, and receives the initialization completion mark set of all models, and determines that the system initialization test of the simulation device is completed according to the initialization completion mark set. On the basis of the above-mentioned embodiments, the technical scheme of the present invention is used to solve the defects in the prior art that there is a lack of guiding test processes and methods, and there is no standard process and method for each parameter state and parameter setting sequence to meet the initialization requirements, to realize the initialization test of the simulation equipment, to determine the initialization state by considering the initialization elements of the model, and to realize the initialization test of all models of the equipment system of the flight simulation equipment in sequence according to the model initialization test sequence, to consider the interaction and influence between the models of the equipment system, and to consider the influence of the initialization state on the performance of the whole equipment system, so as to improve the equipment system initialization test performance of the flight simulation equipment.
[0070] Figure 3 FIG. 2 is a flow chart of the initialization test method of the simulation device provided by the present invention. Figure 3 As shown, further determining whether the initial model is initialized based on the model initialization state corresponding to the initial model, and if the initial model is initialized, sending an initialization completion flag corresponding to the initial model, and returning to execute the step of determining whether the device system of the flight simulation device starts initialization is further limited, the method includes the following:
[0071] Step 201: Receive a test instruction identifier sent by the test software.
[0072] In this step, the test software includes model information and test instruction identifiers corresponding to all models of the device system.
[0073] Specifically, to determine whether the device system of the flight simulation device has started initialization, it is necessary to receive a test instruction identifier sent by the test software and receive the test instruction identifier.
[0074] Step 202: Determine whether the flight simulation device test guide has been initialized based on the test instruction identifier.
[0075] Specifically, if the test instruction identifier is not received, it is determined that the flight simulation device test guide has not been initialized, and step 203 is executed; if the test instruction identifier is received, it is determined that the flight simulation device test guide has been initialized, and step 204 is executed.
[0076] Step 203: The initialization test ends.
[0077] Specifically, if the flight simulation device test guide is not initialized and started, the initialization test of the device system of the flight simulation device is completed.
[0078] Step 204: Determine whether the device system of the flight simulation device starts initialization.
[0079] Specifically, if the flight simulation device test guide starts initialization, it is determined whether the device system of the flight simulation device starts initialization. If the device system of the flight simulation device does not start initialization, step 205 is executed; if the device system of the flight simulation device starts initialization, step 206 is executed.
[0080] Step 205: System freeze logic of the device system.
[0081] In this step, the system freeze logic means that the device system maintains the state of the previous step, that is, maintains the state of the flight simulation device test guide initialization start, and returns to execute the step of determining whether the device system of the flight simulation device starts the initialization step.
[0082] Specifically, when the device system of the flight simulation device has not started initialization, the system freeze logic of the device system is started, and the execution returns to the step of determining whether the device system of the flight simulation device has received an initialization start identification.
[0083] Step 206: Set the model initialization status of all models in the device system according to the initialization elements of the flight simulation device, and determine the initial model.
[0084] Among them, the initial model is the first initialized model determined according to the order of all models and model initialization tests; specifically, if the equipment system of the flight simulation device starts to initialize, the initialization elements of each model of the flight simulation device are determined, the model initialization status of all models in the equipment system is set according to the initialization elements of the flight simulation device, and the initial model is determined.
[0085] Step 207: Determine whether the initial model is initialized.
[0086] Specifically, after setting the model initialization states of all models in the device system according to the initialization elements of the flight simulation device, determine whether the initial model is initialized based on the model initialization state corresponding to the initial model. If the initial model is not initialized, execute 208; if the initial model is initialized, execute step 209. When receiving the settlement result of the model, determine whether the initial model is initialized based on the solution result. If the initial model is not initialized, execute 208 until it is determined that the initial model is initialized, and continue to execute step 209.
[0087] In one embodiment, based on the model initialization state corresponding to the initial model, it is determined whether the initial model has been initialized. The specific implementation method is as follows: determine the model preset parameters corresponding to the initial model; determine whether the initial model has been initialized based on the model initialization state, model preset parameters and preset conditions corresponding to the initial model; if it is determined that the model initialization state and the model preset parameters meet the preset conditions, it is determined that the initial model initialization is completed; if it is determined that the model initialization state and the model preset parameters do not meet the preset conditions, it is determined that the initial model has not been initialized.
[0088] In this step, the model preset parameters are preset parameters for determining whether the initialization state meets preset conditions; the preset conditions are preset conditions for determining whether the initialization is complete, and different models have different preset conditions.
[0089] Specifically, determine the model preset parameters corresponding to the initial model; determine whether the initial model is initialized based on the model initialization state, model preset parameters and preset conditions corresponding to the initial model; if it is determined that the model initialization state and the model preset parameters meet the preset conditions, then determine that the initial model initialization is completed; if it is determined that the model initialization state and the model preset parameters do not meet the preset conditions, then determine that the initial model is not initialized.
[0090] Step 208: Perform normal system solution according to the model information corresponding to the initial model to determine the solution result.
[0091] Specifically, if the initial model is not initialized, the system is normally solved according to the model information corresponding to the initial model to determine the solution result, and the solution result is returned to step 207 to determine whether the initial model is initialized. After it is determined that the initial model is initialized, step 209 is continued.
[0092] Step 209: Send an initialization completion flag corresponding to the initial model, and start the model freezing logic of the initial model.
[0093] In this step, the model freezing logic refers to initializing the initial model to maintain the current state.
[0094] Specifically, if the initialization of the initial model is completed, an initialization completion flag corresponding to the initial model is sent, and the model freezing logic of the initial model is started to maintain the current initialization state of the initial model.
[0095] Step 210, return to execute according to the model freeze logic to determine whether the equipment system of the flight simulation device has started the initialization step, and determine in sequence according to the model initialization test sequence whether all models of the equipment system have been initialized, until all models of the equipment system have been initialized, and the initialization completion identification set of all models has been received, and determine that the system initialization test of the simulation device is completed according to the initialization completion identification set.
[0096] Specifically, the model freezing logic of the initial model is started. Return to execute the step of determining whether the device system of the flight simulation device has started initialization. Determine whether all models of the device system have been initialized in turn according to the model initialization test sequence, until all models of the device system have been initialized, and the initialization completion identification set of all models is received, and determine that the system initialization test of the simulation device is completed according to the initialization completion identification set.
[0097] The present invention provides an initialization test method for a simulation device, which receives a test instruction identifier sent by test software; determines whether a flight simulation device test guide has been initialized according to the test instruction identifier; if the flight simulation device test guide has not been initialized, the initialization test of the device system of the flight simulation device ends; if the flight simulation device test guide has been initialized, it starts to determine whether the device system of the flight simulation device has started to be initialized; when the device system of the flight simulation device has not started to be initialized, it starts the system freezing logic of the device system, and returns to execute the step of determining whether the device system of the flight simulation device has received an initialization start identifier; if the device system of the flight simulation device has started to be initialized, it determines the initialization elements of each model of the flight simulation device, sets the model initialization status of all models in the device system according to the initialization elements of the flight simulation device, and determines the initial model; determines whether the initial model has been initialized; if the initial model has not been initialized, performs normal system solution according to the model information corresponding to the initial model to determine the solution result,
[0098] Determine whether the initial model is initialized, and after determining that the initial model is initialized, send the initialization completion flag corresponding to the initial model, and start the model freezing logic of the initial model; return to the execution according to the model freezing logic to determine whether the device system of the flight simulation device starts the initialization step, and determine whether all models of the device system are initialized in sequence according to the model initialization test sequence, until all models of the device system are initialized, and receive the initialization completion mark set of all models, and determine that the system initialization test of the simulation device is completed according to the initialization completion mark set. On the basis of the above embodiments, the technical solution of the present invention is used to solve the defects of the lack of guiding test procedures and methods in the prior art, and the lack of standard procedures and methods for various parameter states and parameter setting sequences to meet the initialization requirements, realize the initialization test of the simulation device, consider the initialization elements of the model, determine the initialization state, and realize the initialization test of all models of the device system of the flight simulation device in sequence according to the model initialization test sequence, so as to improve the initialization test performance of the flight simulation device.
[0099] The initialization test device of the simulation device provided by the present invention is described below. The initialization test device of the simulation device described below and the initialization test method of the simulation device described above can be referred to each other.
[0100] Figure 4 is a schematic diagram of the structure of the initialization test device of the simulation device provided by the present invention, referring to Figure 4 As shown, the initialization test device 300 of the simulation device includes: a first determination module 301, a second determination module 302, a third determination module 303, a fourth determination module 304 and a fifth determination module 305; wherein,
[0101] The first determination module 301 is used to determine whether the device system of the flight simulation device starts to be initialized.
[0102] The second determination module 302 is used to set the model initialization state of all models in the device system according to the initialization elements of the flight simulation device when the device system of the flight simulation device starts to be initialized, and determine the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence;
[0103] The third determination module 303 is used to determine whether the initialization of the initial model is completed based on the model initialization state corresponding to the initial model.
[0104] The fourth determination module 304 is used to perform a normal system solution to determine a solution result according to the model information corresponding to the initial model if the initialization of the initial model is not completed, and determine whether the initialization of the initial model is completed according to the solution result.
[0105] The fifth determination module 305 is used to send an initialization completion flag corresponding to the initial model if the initialization of the initial model is completed, and return to execute to determine whether the device system of the flight simulation device has started the initialization step, and determine in sequence according to the model initialization test sequence whether all models of the device system have been initialized, until all models of the device system have been initialized, and the initialization completion mark set of all models has been received, and determine that the system initialization test of the simulation device is completed according to the initialization completion mark set.
[0106] In an exemplary embodiment, the device also includes a test initialization module, which is used to: receive a test instruction identifier sent by the test software before determining whether the equipment system of the flight simulation device has started initialization; wherein the test software contains model information and test instruction identifiers corresponding to all models of the equipment system; determine whether the flight simulation device test guide has been initialized according to the test instruction identifier; if the flight simulation device test guide has not started initialization, the initialization test ends; if the flight simulation device test guide starts initialization, start executing the step of determining whether the equipment system of the flight simulation device has started initialization.
[0107] In an exemplary embodiment, the first determination module 301 is specifically used to: determine whether the device system of the flight simulation device receives an initialization start identifier; if the device system of the flight simulation device receives an initialization start identifier, determine that the device system starts initialization; if the device system of the flight simulation device does not receive an initialization start identifier, determine that the device system does not start initialization.
[0108] In an exemplary embodiment, the apparatus further includes: a system freeze module, which is used to: when the device system of the flight simulation device has not started initialization, start the system freeze logic of the device system, and return to execute a step of determining whether the device system of the flight simulation device has received an initialization start identification; wherein the system freeze logic refers to the device system maintaining the state of the previous step.
[0109] In an exemplary embodiment, the third determination module 303 is specifically used to: determine the model preset parameters corresponding to the initial model; determine whether the initial model has been initialized based on the model initialization state, model preset parameters and preset conditions corresponding to the initial model; wherein the preset conditions are preset initialization completion judgment conditions; if it is determined that the model initialization state and the model preset parameters meet the preset conditions, then it is determined that the initial model initialization is complete; if it is determined that the model initialization state and the model preset parameters do not meet the preset conditions, then it is determined that the initial model has not been initialized.
[0110] In an exemplary embodiment, the fourth determination module 304 sends an initialization completion flag corresponding to the initial model if the initialization of the initial model is completed, and returns to execute whether the device system of the flight simulation device starts the initialization step, specifically for: if the initialization of the initial model is completed, sends an initialization completion flag corresponding to the initial model, and starts the model freezing logic of the initial model; returns to execute whether the device system of the flight simulation device starts the initialization step according to the model freezing logic.
[0111] The device of this embodiment can be used to execute the method of any embodiment in the embodiment of the initialization test method side of the simulation device. Its specific implementation process and technical effects are similar to those in the embodiment of the initialization test method side of the simulation device. For details, please refer to the detailed description in the embodiment of the initialization test method side of the simulation device, which will not be repeated here.
[0112] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call the logic instructions in the memory 430 to execute the initialization test method of the simulation device, which includes: determining whether the device system of the flight simulation device starts to initialize; when the device system of the flight simulation device starts to initialize, setting the model initialization status of all models in the device system according to the initialization elements of the flight simulation device, and determining the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence; based on the model initialization status corresponding to the initial model, determining whether the initial model is initialized; if the initial model is not initialized, performing normal system solution according to the model information corresponding to the initial model to determine the solution result, and determining whether the initial model is initialized according to the solution result; if the initial model is initialized, sending the initialization completion flag corresponding to the initial model, and returning to execute the step of determining whether the device system of the flight simulation device starts to initialize, determining whether all models of the device system are initialized according to the model initialization test sequence, until all models of the device system are initialized, and receiving the initialization completion identification set of all models, and determining that the system initialization test of the simulation device is completed according to the initialization completion identification set.
[0113] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0114] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the initialization test method of the simulation device provided by the above methods, the method including: determining whether the equipment system of the flight simulation device starts to be initialized; when the equipment system of the flight simulation device starts to be initialized, setting the model initialization state of all models in the equipment system according to the initialization elements of the flight simulation device, and determining the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence; based on the model initialization state corresponding to the initial model, determining whether the initial model is initialized; if the initial model is not initialized, performing normal system solution according to the model information corresponding to the initial model to determine the solution result, and determining whether the initial model is initialized according to the solution result; if the initial model is initialized, sending the initialization completion flag corresponding to the initial model, and returning to execute the step of determining whether the equipment system of the flight simulation device starts to be initialized, determining whether all models of the equipment system are initialized according to the model initialization test sequence, until all models of the equipment system are initialized, and receiving the initialization completion identification set of all models, determining that the system initialization test of the simulation device is completed according to the initialization completion identification set.
[0115] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when executed by a processor to execute the initialization test method for the simulation device provided by the above-mentioned methods, the method comprising: determining whether the device system of the flight simulation device has started to initialize; when the device system of the flight simulation device starts to initialize, setting the model initialization status of all models in the device system according to the initialization elements of the flight simulation device, and determining the initial model; wherein the initial model is the first initialized model determined according to all models and the model initialization test sequence; based on the model initialization status corresponding to the initial model, determining whether the initial model has been initialized; if the initial model has not been initialized, performing normal system solution according to the model information corresponding to the initial model to determine the solution result, and determining whether the initial model has been initialized according to the solution result; if the initial model has been initialized, sending the initialization completion flag corresponding to the initial model, and returning to execute the step of determining whether the device system of the flight simulation device has started to initialize, determining whether all models of the device system have been initialized in turn according to the model initialization test sequence, until all models of the device system have been initialized, and receiving the initialization completion identification set of all models, determining that the system initialization test of the simulation device is completed according to the initialization completion identification set.
[0116] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for initializing a simulation device, characterized in that: include: Determine whether the device system of the flight simulation device has started initialization; When the device system of the flight simulation device starts to be initialized, the model initialization states of all models in the device system are set according to the initialization elements of the flight simulation device, and an initial model is determined; wherein the initial model is the first initialized model determined according to the order of all models and model initialization tests; Determining whether the initial model is initialized based on the model initialization state corresponding to the initial model; If the initial model is not initialized, performing normal system calculation according to the model information corresponding to the initial model to determine the calculation result, and determining whether the initial model is initialized according to the calculation result; If the initialization of the initial model is completed, the initialization completion flag corresponding to the initial model is sent, and the process returns to execute the step of determining whether the equipment system of the flight simulation device has started the initialization step. According to the model initialization test sequence, it is determined in turn whether all models of the equipment system have been initialized, until all models of the equipment system have been initialized, and the initialization completion mark set of all models is received. According to the initialization completion mark set, it is determined that the system initialization test of the simulation device is completed.
2. The initialization test method of the simulation device according to claim 1, characterized in that: Before determining whether the device system of the flight simulation device starts initialization, the method further includes: Receiving a test instruction identifier sent by test software; wherein the test software contains model information corresponding to all models of the device system and the test instruction identifier; Determining whether the flight simulation device test guide has been initialized and started according to the test instruction identifier; If the flight simulation device test guide is not initialized and started, the initialization test ends; If the flight simulation device test guide starts initialization, the step of determining whether the device system of the flight simulation device starts initialization is executed.
3. The initialization test method of the simulation device according to claim 1, characterized in that: The step of determining whether the device system of the flight simulation device starts initialization includes: Determining whether a device system of the flight simulation device receives an initialization start identifier; If the device system of the flight simulation device receives the initialization start identifier, it is determined that the device system starts initialization; if the device system of the flight simulation device does not receive the initialization start identifier, it is determined that the device system does not start initialization.
4. The initialization test method of the simulation device according to claim 3, characterized in that: Also includes: When the device system of the flight simulation device has not started initialization, the system freezing logic of the device system is started, and the step of determining whether the device system of the flight simulation device has received an initialization start identification is returned to execute; wherein, the system freezing logic means that the device system maintains the state of the previous step.
5. The initialization test method of the simulation device according to claim 1, characterized in that: The determining whether the initialization of the initial model is completed based on the model initialization state corresponding to the initial model includes: Determine the model preset parameters corresponding to the initial model; Determining whether the initial model is initialized based on the model initialization state, the model preset parameters and preset conditions corresponding to the initial model; wherein the preset conditions are preset initialization completion determination conditions; If it is determined that the model initialization state and the model preset parameters meet the preset conditions, then it is determined that the initial model initialization is completed; If it is determined that the model initialization state and the model preset parameters do not meet the preset conditions, it is determined that the initial model is not initialized.
6. The initialization test method of the simulation device according to claim 1, characterized in that: If the initialization of the initial model is completed, an initialization completion flag corresponding to the initial model is sent, and the step of returning to execute the step of determining whether the device system of the flight simulation device starts initialization is performed, including: If the initialization of the initial model is completed, an initialization completion flag corresponding to the initial model is sent, and the model freezing logic of the initial model is started; The step of determining whether the device system of the flight simulation device starts initialization is executed according to the model freezing logic.
7. An initialization test device for a simulation device, characterized in that: include: A first determination module is used to determine whether a device system of the flight simulation device starts initialization; A second determination module is used to set the model initialization state of all models in the equipment system according to the initialization elements of the flight simulation device when the equipment system of the flight simulation device starts to be initialized, and determine the initial model; wherein the initial model is the first initialized model determined according to the order of all the models and the model initialization test; A third determination module, configured to determine whether the initialization of the initial model is complete based on the model initialization state corresponding to the initial model; A fourth determination module is used for performing a normal system solution to determine a solution result according to the model information corresponding to the initial model if the initialization of the initial model is not completed, and determining whether the initialization of the initial model is completed according to the solution result; The fifth determination module is used to send an initialization completion flag corresponding to the initial model if the initialization of the initial model is completed, and return to execute the step of determining whether the equipment system of the flight simulation device has started the initialization step, and determine in sequence whether all models of the equipment system have been initialized according to the model initialization test sequence until all models of the equipment system have been initialized, and an initialization completion mark set of all models has been received, and determine that the system initialization test of the simulation device is completed according to the initialization completion mark set.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the initialization test method of the simulation device as claimed in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the initialization test method of the simulation device according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the initialization test method of the simulation device according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Equipment initialization method, device, electronic equipment and computer storage medium
CN111443954A
Method for wind tunnel assisted training of flight control law of tilt rotorcraft
CN115167180A