A remote adaptation method and device for a simulation center, and a simulation method
By analyzing and mapping ARINC664 bus protocol packets, generating adaptation codes, and using the industrial Internet private network to achieve clock unification, the adaptation problem between remote remote devices and simulation centers is solved, the real-time and efficiency of remote joint simulation is improved, and the cost of system integration testing is reduced.
Patent Information
- Application Number
- CN202210673383.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-06-14
AI Technical Summary
The existing technology cannot adapt the remote remote equipment and simulation center, resulting in the inability to perform effective integration verification, which increases the modification cost and iteration period of the system integration test phase.
By analyzing the ARINC664 bus protocol data packets, configuring the mapping relationship between output and input variables and bus parameters, ARINC664 interface adaptation code is generated, and the interaction between ARINC664 bus data and simulation center bus data is realized through the industrial Internet private network, combining the time-system function to achieve clock uniformity, and supporting remote joint simulation in remote areas.
The interaction between ARINC664 bus data and simulation center bus data is realized, which improves the real-time and efficiency of remote joint simulation in remote areas, and reduces the cost and iteration period of system integration testing.
Smart Images

Figure CN114995192B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of airborne system simulation, and in particular to a remote adaptation method and device for a simulation center, and a simulation method. Background Art
[0002] With technological innovation and the increasing complexity of airborne systems, the traditional R&D model based on closed internal network collaboration is becoming increasingly unsuitable for airborne system applications. Establishing an airborne system collaborative R&D ecosystem based on the airborne industrial internet can provide a unified basic information platform for the R&D of civil aircraft airborne systems, achieving an industrial ecosystem that fully integrates information technology and airborne system development.
[0003] Simulation is a crucial step in the forward development of airborne systems. It can identify design flaws early, reducing the iteration cycle after product development. To avoid the high modification costs and extensive iteration time associated with physical design errors discovered during the system integration testing phase, and to address the difficulty of integrating and verifying products developed by remote airborne units during joint simulation, existing methods use a hierarchical hybrid clock synchronization method to synchronize the clocks of the hardware-in-the-loop simulation interface and the simulation system within the same local area network environment. However, this still fails to achieve remote hardware-in-the-loop joint simulation. Summary of the Invention
[0004] In response to the defects in the existing technology, the present invention provides a remote adaptation method and device, and a simulation method for a simulation center to solve the problem that the existing joint simulation method cannot adapt remote devices to the simulation center for integrated verification.
[0005] In a first aspect, the present invention provides a remote adaptation method for a simulation center, applicable to an ARINC 664 interface airborne device, comprising:
[0006] Parse ARINC664 bus protocol data packets into output variables to interact with the bus;
[0007] Configure the mapping relationship between output and input variables and bus parameters;
[0008] Generate ARINC664 interface adaptation code: read the data mapping table, read data from the data bus and submit it to the data bus, and accept scheduling instructions;
[0009] Encapsulate the ARINC664 interface adaptation code and generate executable simulation tasks.
[0010] It can be seen from the above technical solutions that the remote adaptation method of a simulation center provided by the present invention realizes the interaction between ARINC664 bus data and simulation center bus data.
[0011] Optionally, parsing the ARINC664 bus protocol data packet into an output variable includes:
[0012] Get the virtual link number;
[0013] After identifying the AFDX port number, obtain the FDS by identifying the FDS ID and then obtain the FDS frame data set;
[0014] Parse the frame data and generate an array.
[0015] Optionally, it also includes receiving satellite time signal, including:
[0016] Based on the precise clock information of the received satellite timing signal, the ARINC664 interface data is timestamped;
[0017] The simulation center obtains interface data through a dedicated network and calls timing resources to achieve clock unification between the ARINC664 interface and the virtual integration and simulation verification system.
[0018] Optionally, it also includes driving an Ethernet network to encapsulate input variables into bus protocol data packets to perform stimulus input and fault injection on the airborne device to be tested.
[0019] In a second aspect, the present invention provides a remote real-time joint simulation method for devices in different locations, applicable to airborne physical devices with ARINC664 interfaces, comprising:
[0020] Generate a simulation task executable on the device side based on the remote adaptation method of the simulation center of the first aspect and any possible implementation manner;
[0021] Call the model adapter through the virtual cloud desktop, configure the mapping relationship between the model input and output variables and the bus data, and encapsulate the generated model to execute the simulation task;
[0022] Remote users in different locations can configure the required simulation resources of the current hardware-in-the-loop joint simulation environment on demand;
[0023] Upload simulation tasks executable on the device side and on the model side to the configured simulation environment through the industrial Internet private network;
[0024] Remote users in different locations send simulation control commands to implement simulation.
[0025] Optionally, the simulation environment is configured by the following method, including:
[0026] Remote users configure the semi-physical joint simulation environment based on user authority control, call the model adapter and the virtual integration and simulation verification system of the simulation center through the virtual cloud desktop, and configure on demand to form a joint simulation environment for the current ARINC664 interface airborne equipment.
[0027] Optionally, the model-side executable simulation task is generated by a remote user calling a model adaptation service provided by a simulation center through a virtual cloud desktop, including:
[0028] Import the model, analyze the SCADE / SIMULINK model, and extract the model interface information;
[0029] Configure the mapping relationship between input and output variables and data in the real-time bus;
[0030] Automatically generate adapter code: read the data mapping table, read data from the data bus, submit the results to the data bus, and accept the bus scheduling instructions;
[0031] Complete the encapsulation of the model and adapter code, and generate the model side to execute simulation tasks.
[0032] Optionally, it also includes:
[0033] Monitor ARINC664 interface data in real time, and filter and display ARINC664 interface data within the simulation cycle after the simulation is completed.
[0034] In a third aspect, an embodiment of the present invention provides an adaptation device, including:
[0035] Parsing module, used to parse ARINC664 bus protocol data packets into output variables to interact with the bus;
[0036] Mapping module, used to configure the mapping relationship between output and input variables and bus parameters;
[0037] A generation module is used to generate ARINC664 interface adaptation code: read the data mapping table, read data from the data bus and submit it to the data bus, and accept scheduling instructions;
[0038] The encapsulation module is used to encapsulate the ARINC664 interface adaptation code and generate executable simulation tasks.
[0039] Optionally, the parsing module is specifically configured to:
[0040] Get the virtual link number;
[0041] After identifying the AFDX port number, obtain the FDS by identifying the FDS ID and then obtain the FDS frame data set;
[0042] Parse the frame data and generate an array.
[0043] Optionally, the terminal further includes a time synchronization module, specifically configured to:
[0044] Based on the precise clock information of the received satellite timing signal, the ARINC664 interface data is timestamped;
[0045] The simulation center obtains interface data through a dedicated network and calls timing resources to achieve clock unification between the ARINC664 interface and the virtual integration and simulation verification system.
[0046] Optionally, the terminal further includes an Ethernet network driver module, which is specifically used to encapsulate input variables into bus protocol data packets to perform stimulus input and fault injection on the airborne device to be tested.
[0047] By adopting the above technical solution, this application has the following beneficial effects:
[0048] This application realizes the interaction between ARINC664 bus data and simulation center bus data through a remote adaptation method, converts the real physical signals generated by physical devices into ARINC664 bus data packets according to the ARINC664 bus protocol, parses the bus data packets by calling the ARINC664 interface adaptation service provided by the Industrial Internet Simulation Center, and uses the time synchronization function to realize real-time interaction between the parsed business data and the real-time simulation bus. Combined with the synchronous / asynchronous joint simulation operation mechanism and diversified simulation function components, remote real-time joint simulation of physical devices is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly describes the drawings required for the specific embodiments or the description of the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. Elements or parts in the drawings are not necessarily drawn to scale.
[0050] Figure 1 A flowchart of a remote adaptation method for a simulation center provided by an embodiment of the present invention is shown;
[0051] Figure 2 A flowchart of a remote adaptation method for a simulation center provided by an embodiment of the present invention is shown;
[0052] Figure 3 A schematic diagram of the physical architecture of the simulation method provided by an embodiment of the present invention is shown;
[0053] Figure 4 A flowchart of a remote real-time joint simulation method for devices in different locations provided by an embodiment of the present invention is shown;
[0054] Figure 5 A structural block diagram of an adaptation device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0055] The following embodiments of the technical solution of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore only examples and are not intended to limit the scope of protection of the present invention.
[0056] It should be noted that, unless otherwise specified, the technical or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0057] like Figure 1 As shown, the embodiment of the present invention discloses a remote adaptation method for a simulation center, which is applicable to an ARINC664 interface airborne device, including:
[0058] S101, parse the ARINC664 bus protocol data packet into output variables to interact with the bus. Figure 2 Shown, including:
[0059] Obtain the virtual link number; after identifying the AFDX port number, obtain the FDS by identifying the FDS ID and, consequently, the FDS frame data set; parse the frame data to generate an array. To enable interaction with the bus, the ARINC 664 bus protocol data sent by the physical device under test is generated into an array through the above steps, allowing the data to be read by the simulated bus.
[0060] S102: Configure the mapping relationship between output and input variables and bus parameters.
[0061] S103. Generate ARINC664 interface adaptation code: read the data mapping table, read data from the data bus and submit it to the data bus, and accept scheduling instructions.
[0062] S104: Encapsulate the ARINC664 interface adaptation code to generate an executable simulation task.
[0063] Furthermore, the method further includes step S5, which is used to receive a satellite timing signal, specifically including:
[0064] Based on the precise clock information of the received satellite timing signal, the ARINC664 interface data is timestamped;
[0065] The simulation center obtains interface data through a dedicated network and calls timing resources to achieve clock unification between the ARINC664 interface and the virtual integration and simulation verification system.
[0066] Based on the precise clock information provided by the received satellite timing signals, input and output interface terminals can time-stamp ARINC 664 interface data in real time. The Industrial Internet-based simulation center retrieves interface data through a dedicated network and calls timing resources to achieve clock synchronization between the ARINC 664 interface and the virtual integration and simulation verification system, improving the real-time performance of remote co-simulation of ARINC 664 interface physical devices.
[0067] Optionally, the adaptation method includes driving an Ethernet network to encapsulate input variables into bus protocol packets for stimulus input and fault injection into the airborne device under test. The Ethernet network driver remotely connects the executable simulation task to the simulation center via the Industrial Internet private network, completing the reception of ARINC 664 interface data from the simulation bus and the stimulus input and fault injection into the physical device under the ARINC 664 interface. Receiving the input stimulus or fault injection into the physical device under test is the reverse process of step S101.
[0068] In one embodiment, based on Figure 3 The physical architecture shown provides a remote real-time co-simulation method for equipment in different locations, which is applicable to airborne physical equipment with ARINC664 interface. Figure 4 ,include:
[0069] S201: Generate a device-side executable simulation task, which is generated based on the aforementioned remote adaptation method of the simulation center. This method uses the same inventive concept as the aforementioned remote adaptation method of the simulation center and can achieve the same beneficial effects, so it will not be repeated here.
[0070] S202: The remote user configures the simulation resources required for the current hardware-in-the-loop joint simulation environment as needed. The simulation resources are configured using the following method:
[0071] Remote users configure the semi-physical joint simulation environment based on user authority control, call the model adapter and the virtual integration and simulation verification system of the simulation center through the virtual cloud desktop, and configure on demand to form a joint simulation environment for the current ARINC664 interface airborne equipment.
[0072] S203. Upload the device-side executable simulation task and the model-side executable simulation task to the configured simulation environment via the industrial Internet private network. The model-side executable simulation task is implemented by a remote user using a virtual cloud desktop to call the model adaptation service provided by the simulation center. The remote user completes the following operations based on the model adaptation task:
[0073] Import the model, automatically analyze the SCADE / Simulink model, and extract the model interface information: what parameters and inputs and outputs the model requires, such as data types, initial values, and other specific parameters.
[0074] Configure the mapping relationship between input and output variables and data in the real-time bus.
[0075] Automatically generate adapter code: read the data mapping table, read data from the data bus, submit the results to the data bus, and accept scheduling instructions;
[0076] Automatically encapsulate the model and adapter code to generate simulation tasks that can be executed on the model side.
[0077] S204: The remote user at a different location sends a simulation control command to implement simulation.
[0078] All simulation tasks are sent to the real-time simulation bus for scheduling. Before performing a specific simulation, the relevant parameters of the simulation project must be configured. Remote users can call the simulation configuration and control components to achieve the following functions:
[0079] 1) Configure the relevant parameters of the simulation project, such as the full-speed and real-time modes of the bus, the synchronization period of the simulation; configure the parameters of each simulation task, such as synchronous or asynchronous mode, the synchronization period interval in synchronous mode, remote or local mode, and background display or hiding;
[0080] 2) Control the running status of each simulation task, such as start, pause, stop, single step and other operations.
[0081] Furthermore, the remote user gives simulation control commands, such as start, pause, stop and other control commands, to control the running status of the simulation task.
[0082] The real-time simulation bus is developed based on virtual shared memory and combined with a data read and write synchronization mechanism. Each simulation task runs as an independently running application, and the read and write operations of the shared memory are processed separately to ensure the coordinated operation of the joint simulation.
[0083] The simulation task obtains simulation control instructions from the bus and executes simulation behaviors, including initialization, restart, and loading specified scenarios. The simulation task can also obtain the required input data from the bus and submit the output results of the simulation run to the bus.
[0084] The scheduling process of the real-time simulation bus will reserve resource space based on the priority attributes of each simulation task to ensure that high-level tasks can complete simulation control instructions first and are not blocked by other tasks.
[0085] Furthermore, the remote real-time joint simulation method for devices at different locations further includes:
[0086] Monitor ARINC664 interface data in real time, and filter and display ARINC664 interface data within the simulation cycle after the simulation is completed.
[0087] Remote users can call the data acquisition and monitoring component to select the ARINC664 interface data or model output parameters to be monitored and display them graphically. After the simulation is completed, remote users can call the simulation data analysis and processing component to select the ARINC664 interface data or model output parameters to be monitored and filter and display them.
[0088] In one embodiment, an adaptor is provided, see Figure 5 ,include:
[0089] Parsing module, used to parse ARINC664 bus protocol data packets into output variables to interact with the bus;
[0090] Mapping module, used to configure the mapping relationship between output and input variables and bus parameters;
[0091] A generation module is used to generate ARINC664 interface adaptation code: read the data mapping table, read data from the data bus and submit it to the data bus, and accept scheduling instructions;
[0092] The encapsulation module is used to encapsulate the ARINC664 interface adaptation code and generate executable simulation tasks.
[0093] Optionally, the parsing module is specifically configured to:
[0094] Get the virtual link number;
[0095] After identifying the AFDX port number, obtain the FDS by identifying the FDS ID and then obtain the FDS frame data set;
[0096] Parse the frame data and generate an array.
[0097] Optionally, the terminal further includes a time synchronization module, specifically configured to:
[0098] Based on the precise clock information of the received satellite timing signal, the ARINC664 interface data is timestamped;
[0099] The simulation center obtains interface data through a dedicated network and calls timing resources to achieve clock unification between the ARINC664 interface and the virtual integration and simulation verification system.
[0100] Optionally, the terminal further includes an Ethernet network driver module, which is specifically used to encapsulate input variables into bus protocol data packets to perform stimulus input and fault injection on the airborne device to be tested.
[0101] The input / output interface terminal 20 provided in the embodiment of the present application and the remote adaptation method of the above-mentioned simulation center adopt the same inventive concept and can achieve the same beneficial effects, which will not be repeated here.
[0102] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0103] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A remote real-time joint simulation method for devices in different locations, applicable to airborne physical devices with ARINC664 interface, characterized in that: include: Generate simulation tasks that can be executed on the device side based on the remote adaptation method of the simulation center; The remote adaptation method of the simulation center includes: Parse ARINC664 bus protocol data packets into output variables to interact with the bus; Configure the mapping relationship between output and input variables and bus parameters; Generate ARINC664 interface adaptation code: read the data mapping table, read data from the data bus and submit it to the data bus, and accept scheduling instructions; Encapsulate the ARINC664 interface adaptation code to generate executable simulation tasks; It also includes the reception of satellite time signals, including: Based on the precise clock information of the received satellite timing signal, the input and output interface terminals time-stamp the ARINC664 interface data; The simulation center obtains interface data through a dedicated network and calls timing resources to achieve clock unification between the ARINC664 interface and the virtual integration and simulation verification system. Call the model adapter through the virtual cloud desktop, configure the mapping relationship between the model input and output variables and the bus data, and encapsulate the generated model to execute the simulation task; Remote users in different locations can configure the required simulation resources of the current hardware-in-the-loop joint simulation environment on demand; Upload simulation tasks executable on the device side and on the model side to the configured simulation environment through the industrial Internet private network; Remote users in different locations send simulation control commands to implement simulation.
2. The method according to claim 1, characterized in that The step of parsing the ARINC664 bus protocol data packet into output variables includes: Get the virtual link number; After identifying the AFDX port number, obtain the FDS by identifying the FDS ID and then obtain the FDS frame data set; Parse the frame data and generate an array.
3. The method according to claim 1 or 2, characterized in that It also includes driving the Ethernet network to encapsulate input variables into bus protocol data packets to stimulate input and inject faults into the airborne equipment under test.
4. The method according to claim 1, wherein The simulation environment is configured by the following method, including: Remote users configure the semi-physical joint simulation environment based on user authority control, call the model adapter and the virtual integration and simulation verification system of the simulation center through the virtual cloud desktop, and configure on demand to form a joint simulation environment for the current ARINC664 interface airborne equipment.
5. The method according to claim 4, characterized in that The model-side executable simulation task is generated by a remote user using a virtual cloud desktop to call the model adaptation service provided by the simulation center, including: Import the model, analyze the SCADE / SIMULINK model, and extract the model interface information; Configure the mapping relationship between input and output variables and data in the real-time bus; Automatically generate adapter code: read the data mapping table, read data from the data bus, submit the results to the data bus, and accept the bus scheduling instructions; Complete the encapsulation of the model and adapter code, and generate the model side to execute simulation tasks.
6. The method according to claim 5, characterized in that Also includes: Monitor ARINC664 interface data in real time, and filter and display ARINC664 interface data within the simulation cycle after the simulation is completed.
Citation Information
Patent Citations
Universal processing system for multi-bus data conversion of avionics system
CN112068808A
Proxy system and method for multi-level, multi-granularity and cross-domain joint simulation test
CN112541280A
Remote distributed joint simulation method
CN113051040A