A simulation system and method based on virtual-real coupling

Through the virtual-real coupling simulation system, flexible configuration and switching between simulation models and physical equipment are realized, which solves the problems of tedious module switching and inconsistent status in traditional simulation systems, and improves the accuracy and effectiveness of simulation.

CN117973076BActive Publication Date: 2024-09-03ORIENTAL SPACE (XIAN) AEROSPACE TECHNOLOGY CO LTD +3
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410306266.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-09-03
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

Switching between virtual and physical forms of modules in traditional simulation systems is cumbersome and the system is fragmented, making it impossible to achieve flexible configuration and switching between simulation models and physical devices, resulting in inconsistent status and difficulty in ensuring the effectiveness of regression testing.

Method used

Design a simulation system based on virtual and real coupling, obtain the parameter information of the equipment to be simulated through the simulator, determine the corresponding simulation model, and perform simulation operations through the simulation information processing unit or simulation engine to achieve flexibility between the simulation model and the physical equipment. Configuration and switching realize complete decoupling of the simulation system and the equipment to be simulated.

Benefits of technology

It improves the accuracy and effectiveness of simulation, realizes flexible configuration and switching between simulation models and physical equipment, ensures the consistency of the status of the simulation system and the equipment to be simulated, and enhances the authenticity and reliability of the simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117973076B
    Figure CN117973076B
Patent Text Reader

Abstract

The present invention provides a simulation system and method based on virtual-real coupling, wherein the simulation system includes: a preset device to be simulated, the preset device to be simulated includes: a physical device to be simulated and a virtual device to be simulated; a simulation machine connected to the preset device to be simulated, the simulation machine is used to obtain parameter information of the preset device to be simulated, and determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information; a preset simulation information processing unit and a preset simulation engine connected to the simulation machine, the preset simulation information processing unit or the preset simulation engine is used to call at least one simulation model, perform simulation operations on the preset device to be simulated for the input variables corresponding to the simulation model, and obtain simulation operation results. The solution provided by the present invention can realize flexible configuration and switching between simulation models and physical devices, realize complete decoupling of the simulation system and the device to be simulated, and thus improve the accuracy of the simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of simulation technology, and in particular to a simulation system and method based on virtual-real coupling. Background Art

[0002] Simulation is a process of conducting experimental research on the actual system by building a model of the actual system (mathematical model, physical effect model or mathematical-physical effect model). System simulation is a comprehensive discipline based on a variety of theories and technologies, using computers, corresponding software and other physical effect equipment as tools, and using virtual experimental methods to conduct analysis and research, and then make decisions. From the definition of system simulation, it can be seen that the research object, system model and simulation system (high-performance computer) used for rapid model solution are the three basic elements of system simulation. In system simulation at different stages, the components of the simulation system are not the same. Adding physical objects to the simulation can conduct a more comprehensive assessment of the system and solve modeling problems such as strong nonlinearity of some components and difficult identification of parameters. The increase of physical objects in simulation is related to the development stage and the purpose of the test. In different development stages or different simulation purposes, whether a module involved in the simulation is in virtual or physical form is often not fixed, and configuration switching needs to be performed in the simulation system.

[0003] However, when using traditional means for simulation, switching between virtual and physical forms of system modules is rather cumbersome, and the simulation system, simulation software, and simulation hardware are isolated from each other, making it difficult to use a unified system architecture throughout the entire development process, and unable to ensure the state consistency of the simulated object and the effectiveness of regression testing. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a simulation system and method based on virtual-real coupling to achieve flexible configuration and switching between simulation models and physical devices, and to achieve complete decoupling of the simulation system from the device to be simulated.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a simulation system based on virtual-real coupling, comprising:

[0006] Preset devices to be simulated, the preset devices to be simulated include: physical devices to be simulated and virtual devices to be simulated;

[0007] A simulation machine that is communicatively connected to the preset device to be simulated, the simulation machine being used to obtain parameter information of the preset device to be simulated, and to determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information;

[0008] A preset simulation information processing unit and a preset simulation engine are communicatively connected to the simulation machine, and the preset simulation information processing unit or the preset simulation engine is used to call at least one of the simulation models, perform simulation operations on the preset device to be simulated for the input variables corresponding to the simulation model, and obtain simulation operation results.

[0009] Optionally, the simulation system based on virtual-reality coupling further includes: a host computer respectively connected to communicate with the simulation machine, the preset simulation information processing unit and the preset simulation engine.

[0010] Optionally, a preset variable pool is provided in the simulation machine, and the preset variable pool is used to store acquired parameter information and simulation operation results.

[0011] Optionally, the parameter information of the preset device to be simulated acquired by the simulation machine includes:

[0012] The operation data information generated by the physical device to be simulated during operation and / or the physical characteristic data information of the virtual device to be simulated.

[0013] Optionally, the simulation machine determines at least one simulation model corresponding to the preset device to be simulated according to the parameter information, including:

[0014] The simulation machine determines a first simulation model of the physical device to be simulated according to the operation data information;

[0015] The simulation machine determines a second simulation model of the virtual device to be simulated according to the physical characteristic data information.

[0016] Optionally, the simulation machine determines, according to the operation data information, a first simulation model of the physical device to be simulated, including:

[0017] Storing the operation data information in an optical fiber according to a preset storage address to obtain optical fiber reflection memory data with a preset storage address;

[0018] The first simulation model is determined according to the optical fiber reflection memory data.

[0019] Optionally, the simulation machine determines the second simulation model of the virtual device to be simulated according to the physical characteristic data information, including:

[0020] The second simulation model is determined according to the geometric relationship between the physical property data information.

[0021] Optionally, the preset simulation information processing unit calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including:

[0022] Calling a first preset input interface function through the preset information processing unit to read the optical fiber reflection memory data of the first simulation model at the first preset address and use it as a first input variable;

[0023] A first simulation operation result is obtained according to the first input variable and the second preset address.

[0024] Optionally, the preset simulation engine calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including:

[0025] Calling a second preset input interface function through the preset simulation engine to obtain a second input variable from a preset variable pool, wherein the preset variable pool includes a plurality of different variables and an input interface and an output interface of the second simulation model;

[0026] The second input variable is simulated by the second simulation model to obtain a second simulation result.

[0027] An embodiment of the present invention further provides a simulation method based on virtual-real coupling, which is applied to the simulation system as described in any one of the above items, comprising:

[0028] Obtain parameter information of the preset device to be simulated;

[0029] Determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information;

[0030] At least one of the simulation models is called through a preset simulation information processing unit or a preset simulation engine, and simulation operations are performed on input variables corresponding to the simulation model to obtain simulation operation results.

[0031] The above solution of the present invention includes at least the following beneficial effects:

[0032] The above-mentioned scheme of the present invention provides a simulation system and method based on virtual-reality coupling, wherein the simulation system includes: a preset device to be simulated, the preset device to be simulated includes: a physical device to be simulated and a virtual device to be simulated; a simulation machine communicatively connected to the preset device to be simulated, the simulation machine is used to obtain parameter information of the preset device to be simulated, and determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information; a preset simulation information processing unit and a preset simulation engine communicatively connected to the simulation machine, the preset simulation information processing unit or the preset simulation engine is used to call at least one of the simulation models, perform simulation operations on input variables corresponding to the simulation model, and obtain simulation operation results, so as to realize flexible configuration and switching between the simulation model and the physical device, realize complete decoupling of the simulation system and the device to be simulated, and thereby improve the accuracy of the simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 Schematic diagram of the architecture of a simulation system based on virtual-real coupling provided by an embodiment of the present invention;

[0034] Figure 2 It is a flowchart of a simulation method based on virtual-real coupling provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0036] like Figure 1 As shown, an embodiment of the present invention provides a simulation system based on virtual-real coupling, comprising:

[0037] Preset devices to be simulated, the preset devices to be simulated include: physical devices to be simulated and virtual devices to be simulated;

[0038] A simulation machine that is communicatively connected to the preset device to be simulated, the simulation machine being used to obtain parameter information of the preset device to be simulated, and to determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information;

[0039] A preset simulation information processing unit and a preset simulation engine are communicatively connected to the simulation machine, and the preset simulation information processing unit or the preset simulation engine is used to call at least one of the simulation models, perform simulation operations on input variables corresponding to the simulation model, and obtain simulation operation results.

[0040] In this embodiment, the preset device to be simulated may be a physical device with optical fiber communication capability, or a virtual device simulated according to simulation requirements; by processing parameter information corresponding to different types of devices to be simulated (physical devices, virtual devices), a simulation model of at least one mode of the preset device to be simulated may be constructed and obtained;

[0041] The simulation information processing unit may be a hardware device with an operating system, and has a customized interface for communication connection with a physical device to be simulated, and may provide a virtual experimental environment for the operation of the simulation model; the preset simulation information processing unit may be associated with a preset physical device to be simulated, or may directly obtain parameter information of the preset physical device to be simulated, and the preset simulation information processing unit may collect parameter information of the physical device through a specific bus, and run a simulation model corresponding to the preset physical device to be simulated in the preset simulation information processing unit, and the simulation model corresponds to only one mode;

[0042] The preset simulation engine may be computer software or an application program, and may also provide a virtual experimental environment for the operation of the simulation model; the preset simulation engine may include multiple simulation models, each simulation model corresponds to a preset device to be simulated (the preset device to be simulated may be a physical device or a virtual device), and each simulation model includes at least one mode of simulation model;

[0043] In the simulation system, the preset simulation engine is communicatively connected with the preset simulation information processing unit; the simulation system may include multiple simulation models corresponding to different preset devices to be simulated, most of the simulation models run in the preset simulation engine, and the simulation models that need to be replaced with physical devices run in the preset simulation information processing unit; the simulation model running in the simulation information processing unit outputs the simulation result by the preset simulation information processing unit, and the simulation result can be sent to the preset simulation engine through optical fiber, and the preset simulation engine interacts with the simulation operation results according to the connection relationship between the simulation model interfaces configured before the simulation;

[0044] The simulation models of at least one mode are all dynamic link libraries encapsulated based on a unified API interface, and the simulation models of at least one model are called by the preset simulation engine or the preset simulation information processing unit; here, the calling methods of the preset simulation engine or the preset simulation information processing unit are standardized, and each simulation model of at least one simulation model corresponds to a standard input interface and output interface, and the input interface and the output interface are also standardized;

[0045] In an implementable example of the present invention, the input interface and the output interface may adopt open source standards such as FMI or standards such as Matlab S-Function or NIDLL, and operations such as loading, initializing, instantiating, setting parameters, setting input, calculating single steps, reading results, terminating calculations, and releasing memory of the simulation model are all defined as standard functions, so as to facilitate integrated simulation of models established by any modeling means;

[0046] In an optional embodiment of the present invention, the simulation system may further include: a host computer that is respectively connected to the simulation machine, the preset simulation information processing unit, and the preset simulation engine in communication, and a networking device that is connected to the host computer in communication and has an optical fiber reflection memory; the host computer is used to control the operation of the simulation machine, and at the same time provide set configuration information for the construction of the simulation model and the operation mode of the preset simulation information processing unit; the preset simulation engine runs in the simulation machine, obtains the relevant parameter information of the preset device to be simulated through the simulation machine, and constructs simulation models of different modes according to different types of parameter information, and calls simulation models of different modes through the preset simulation engine for simulation calculations and calls a specific simulation model (the simulation model corresponds to a specific physical device to be simulated) through the preset simulation information processing unit for simulation calculations to improve the authenticity and reliability of the simulation; at the same time, since the simulation models of different modes are all based on a unified API interface encapsulation and have unified standard input and output interfaces, the output data of the simulation models of different modes are a black box for the preset simulation engine, and the simulation models of different modes can be flexibly switched, thereby achieving complete decoupling of the simulation model and the physical device;

[0047] In the simulation system, the preset simulation information processing unit has two working modes: one is to run the first simulation model corresponding to a specific physical device, which is called the equivalent mode; the other is to interact with the physical device through a hardware interface such as a bus to run the second simulation model of the physical device (the second simulation model can be the actual operation data of the physical device), which is called the data transparent transmission mode; both the equivalent mode and the data transparent transmission mode can realize data interaction with the simulation machine through the optical fiber reflection memory network provided by the networking device of the optical fiber reflection memory; the preset simulation information processing unit is a black box for the entire simulation system, and the input variable data of the simulation model operation can come from the physical device or from the simulation model running therein. As long as the physical meaning of the relevant input variables and the address protocol in the networking device of the optical fiber reflection memory are determined, the simulation system does not need to consider the source of the input variables provided by the preset simulation information processing unit;

[0048] In this simulation system, for each preset device to be simulated, there is a simulation model of at least one mode. When the device is actually simulated, the simulation models of different modes can be selected through the preset simulation engine according to the actual needs of the simulation, so as to switch between simulation models of different modes; at the same time, the simulation model corresponding to the specific physical device is called by the preset simulation information processing unit, so that the flexible configuration and switching of the specific physical device during simulation can be realized, thereby improving the authenticity, accuracy and effectiveness of the simulation.

[0049] In an optional embodiment of the present invention, a preset variable pool is provided in the simulation machine, and the preset variable pool is used to store the acquired parameter information and simulation operation results.

[0050] In this embodiment, the preset variable pool is a preset variable database, which may include a variety of different input variables, simulation operation results, and input interfaces and output interfaces of simulation models, and can realize data interaction between simulation models.

[0051] In an optional embodiment of the present invention, the parameter information of the preset device to be simulated acquired by the simulation machine may include:

[0052] The operation data information generated by the physical device to be simulated during operation and / or the physical characteristic data information of the virtual device to be simulated.

[0053] In this embodiment, the operation data information is the data information (which may include specified input data and corresponding output data) generated by the preset device to be simulated under the actual operation conditions of the specified input. At this time, the preset device to be simulated may be a physical device with optical fiber communication capability; the operation data information may be collected by sensors and transmitted to the optical fiber reflective memory network through optical fiber communication; the physical characteristic data information represents the logical relationship between the input and output of the preset device to be simulated when it is running. At this time, the preset device to be simulated may be a physical device with optical fiber communication capability, or it may be a virtual device corresponding to the physical device; it should be noted that, here, the logical relationship between the input and output corresponding to the physical device and the virtual device should be the same.

[0054] In an optional embodiment of the present invention, the simulation machine determines at least one simulation model corresponding to the preset device to be simulated according to the parameter information, which may include:

[0055] The simulation machine determines the first simulation model of the physical device to be simulated according to the operation data information; specifically: the simulation machine performs optical fiber storage on the operation data information according to a preset storage address to obtain optical fiber reflection memory data with a preset storage address; and determines the first simulation model according to the optical fiber reflection memory data; here, the operation data information of the preset device to be simulated can be collected by a preset sensor, transmitted to the optical fiber reflection memory network through optical fiber, and the operation data information of different preset devices to be simulated is simultaneously performed optical fiber storage according to the preset storage address, thereby obtaining optical fiber reflection memory data, and the optical fiber reflection memory data has a preset storage address; here, the set of optical fiber reflection memory data with a preset storage address is the first simulation model, so that when performing subsequent simulation operation, the operation data information corresponding to the preset storage address can be found based on the specified acquisition instruction;

[0056] The simulation machine determines the second simulation model of the virtual device to be simulated based on the physical characteristic data information; specifically: the simulation machine determines the second simulation model based on the geometric relationship between the physical characteristic data information; here, the geometric relationship is used to describe the calculation relationship between the input and output of the preset device to be simulated, and then based on the geometric relationship between the physical characteristic data information, a mathematical model of the preset device to be simulated can be constructed, and the mathematical model is determined as the second simulation model.

[0057] In an optional embodiment of the present invention, the preset simulation information processing unit calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including:

[0058] The preset simulation information processing unit calls the first preset input interface function to read the optical fiber reflection memory data of the first simulation model at the first preset address and uses it as the first input variable; and obtains the first simulation operation result according to the first input variable and the second preset address.

[0059] In this embodiment, the first preset input interface function can be set according to the actual simulation needs and the type of simulation model corresponding to the physical device to be simulated; it should be known that for a specific physical device to be simulated, the standard form of the corresponding input and output interface functions is certain;

[0060] The first preset address may be the address for obtaining the input variable of the simulation model specified in the acquisition instruction received by the preset simulation information processing unit; the first preset address is matched with the preset storage address in the first simulation model, and after the match is successful, the optical fiber reflection memory data at the current preset storage address is read and used as the first input variable of the first simulation model; further, the second preset address is matched with the preset storage address in the first simulation model, and after the match is successful, the first input variable is written to the preset storage address currently matching the second preset address and used as the first simulation operation result of the first simulation model;

[0061] Taking vehicle operation simulation as an example, when the preset storage address #00111111 in the optical fiber reflective memory network matches the first preset address, a double data starting with the preset storage address #00111111 is used as the accelerator pedal input variable signal, and assigning a value to this address is to write the accelerator pedal value, which is the first simulation operation result output by the first simulation model; through the first simulation model and in combination with the physical device, the preset device to be simulated is simulated, thereby improving the accuracy of the simulation results.

[0062] In an optional embodiment of the present invention, the preset simulation engine calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including:

[0063] The preset simulation engine calls a second preset input interface function to obtain a second input variable from a preset variable pool, wherein the preset variable pool includes a plurality of different variables and an input interface and an output interface of the second simulation model; and the second input variable is simulated by the second simulation model to obtain a second simulation result.

[0064] In this embodiment, the second preset input interface function can be set according to the actual simulation needs and the specific type of the preset simulation engine;

[0065] When performing simulation, the preset simulation engine calls the second preset input interface function, obtains the specified variable from the preset variable pool, and uses it as the second input variable of the second simulation model; further, the second input variable is single-step calculated according to the second simulation model to obtain a calculated second simulation operation result;

[0066] In an achievable example, for example, a vehicle is simulated, and the second input variable obtained by the preset simulation engine is the vehicle's current speed, direction and other motion states and the driver's accelerator, brake and other pedal signals and steering wheel signals. The second simulation model can be a vehicle dynamics model. The vehicle dynamics model calculates the rate of change of parameters such as the direction and speed of the vehicle at the current moment under the current input state (the vehicle's current speed, direction and other motion states and the driver's accelerator, brake and other pedal signals and steering wheel signals) according to the above input and the dynamic mathematical model encapsulated in the model, and performs an integral operation to obtain the vehicle's current motion state after integration. The specific mathematical form of the second simulation model can be expressed as:

[0067] F(der(X), t, X, U) = 0;

[0068] Where t represents the current time, X represents the current state variable, U represents the current input, der(X) represents the state variable derivative / rate of change to be solved, and F represents the preset function relationship;

[0069] After the second simulation model calculates der(X), an integration operation is performed on it: X=integral(der(X), h), where h represents a preset integration step.

[0070] like Figure 2 As shown, an embodiment of the present invention further provides a simulation method based on virtual-real coupling, which is applied to the simulation system as described in any one of the above items, comprising:

[0071] Step 21, obtaining parameter information of the preset device to be simulated;

[0072] Step 22, determining at least one simulation model corresponding to the preset device to be simulated according to the parameter information;

[0073] Step 23, calling at least one of the simulation models through a preset simulation information processing unit or a preset simulation engine, performing simulation operations on input variables corresponding to the simulation model, and obtaining simulation operation results.

[0074] Further, based on the above steps 21 to 23, the following steps may also be included:

[0075] Step 24: store the first simulation operation result of the first simulation model and the second simulation operation result of the second simulation model into the preset variable pool, and update the preset variable pool.

[0076] In this embodiment, after the first simulation model and the second simulation model perform simulation operations, the first simulation operation results and the second simulation operation results can be respectively stored in the preset variable pool through the corresponding output interfaces through the preset simulation engine to update the variables in the preset variable pool; at the same time, since the preset variable pool contains the input interfaces corresponding to the first simulation model and the second simulation model maintained by the preset simulation engine, the preset simulation engine can be used to realize the interaction of variable data between different simulation models;

[0077] Furthermore, based on the first simulation operation result of the first simulation model operation, the geometric relationship between the variables in the second simulation model can be verified and adjusted, so that the second simulation model can be further improved in terms of accuracy and authenticity and accuracy of the simulation;

[0078] In the simulation system disclosed in the above-mentioned embodiment of the present invention, parameter information of the preset device to be simulated is obtained through a simulation machine that is communicatively connected to the preset device to be simulated, and at least one simulation model of different modes corresponding to the preset device to be simulated is determined according to different types of parameter information; further, at least one simulation model and input variables corresponding to the simulation model are called through a preset simulation information processing unit and a preset simulation engine that are communicatively connected to the simulation machine to perform simulation operations on the preset device to be simulated, and obtain simulation operation results; by selecting simulation models of different modes through the preset simulation engine, switching between simulation models of different modes can be achieved; by running the simulation model of a specific physical device to be simulated through the preset simulation information processing unit, flexible configuration and switching between the simulation model and the physical device can be achieved, and complete decoupling of the simulation system and the device to be simulated is achieved to meet the actual needs of the simulation, thereby improving the authenticity, accuracy and effectiveness of the simulation.

[0079] The embodiment of the present invention further provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0080] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0081] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0082] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0083] 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, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0084] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0085] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0086] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0087] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0088] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A simulation system based on virtual-real coupling, characterized in that: include: Preset devices to be simulated, the preset devices to be simulated include: physical devices to be simulated and virtual devices to be simulated; A simulation machine that is communicatively connected to the preset device to be simulated, the simulation machine being used to obtain parameter information of the preset device to be simulated, and to determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information; A preset simulation information processing unit and a preset simulation engine that are communicatively connected to the simulation machine, wherein the preset simulation information processing unit or the preset simulation engine is used to call at least one of the simulation models, perform simulation operations on the preset device to be simulated for input variables corresponding to the simulation model, and obtain simulation operation results; The parameter information of the preset device to be simulated obtained by the simulation machine includes: Operation data information generated during operation of the physical device to be simulated and / or physical characteristic data information of the virtual device to be simulated; The simulation machine determines at least one simulation model corresponding to the preset device to be simulated according to the parameter information, including: The simulation machine determines a first simulation model of the physical device to be simulated according to the operation data information; The simulation machine determines a second simulation model of the virtual device to be simulated according to the physical characteristic data information; The simulation machine determines a first simulation model of the physical device to be simulated according to the operation data information, including: Storing the operation data information in an optical fiber according to a preset storage address to obtain optical fiber reflection memory data with a preset storage address; The first simulation model is determined according to the optical fiber reflection memory data.

2. The simulation system based on virtual-real coupling according to claim 1, characterized in that: Also includes: A host computer is respectively connected to communicate with the simulation machine, the preset simulation information processing unit and the preset simulation engine.

3. The simulation system based on virtual-real coupling according to claim 1, characterized in that: The simulation machine is provided with a preset variable pool, and the preset variable pool is used to store the acquired parameter information and simulation operation results.

4. The simulation system based on virtual-real coupling according to claim 1, characterized in that: The simulation machine determines a second simulation model of the virtual device to be simulated according to the physical characteristic data information, including: The second simulation model is determined according to the geometric relationship between the physical property data information.

5. The simulation system based on virtual-real coupling according to claim 1, characterized in that: The preset simulation information processing unit calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including: Calling a first preset input interface function through the preset simulation information processing unit to read the optical fiber reflection memory data of the first simulation model at the first preset address and use it as a first input variable; A first simulation operation result is obtained according to the first input variable and the second preset address.

6. The simulation system based on virtual-real coupling according to claim 1, characterized in that: The preset simulation engine calls at least one of the simulation models, performs simulation operations on input variables corresponding to the simulation model, and obtains simulation operation results, including: Calling a second preset input interface function through the preset simulation engine to obtain a second input variable from a preset variable pool, wherein the preset variable pool includes a plurality of different variables and an input interface and an output interface of the second simulation model; The second input variable is simulated by the second simulation model to obtain a second simulation result.

7. A simulation method based on virtual-real coupling, characterized in that: A simulation system according to any one of claims 1 to 6, comprising: Obtaining parameter information of the preset device to be simulated; Determine at least one simulation model corresponding to the preset device to be simulated according to the parameter information; At least one of the simulation models is called through a preset simulation information processing unit or a preset simulation engine, a simulation operation is performed on the input variables corresponding to the simulation model, and a simulation operation result is obtained.

Citation Information

Patent Citations

  • Three-dimensional dynamic whole-process simulation method for storm surge and flood routing in complex flooding areas

    CN102663827A

  • Semi-physical simulation system and semi-physical simulation method

    CN104730937A

  • Portable debugging device and method for whole-plant DCS of nuclear power plant

    CN104751924A

  • Offline simulation method and computer storage medium

    CN111949365A

  • Virtuality and reality combined information network verification platform

    CN114338418A