CN104749966A - Method and system of dynamic switching of full digital simulation and semi-physical simulation - Google Patents

Method and system of dynamic switching of full digital simulation and semi-physical simulation Download PDF

Info

Publication number
CN104749966A
CN104749966A CN201510134998.9A CN201510134998A CN104749966A CN 104749966 A CN104749966 A CN 104749966A CN 201510134998 A CN201510134998 A CN 201510134998A CN 104749966 A CN104749966 A CN 104749966A
Authority
CN
China
Prior art keywords
simulation
hardware
full digital
model
digital trigger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510134998.9A
Other languages
Chinese (zh)
Other versions
CN104749966B (en
Inventor
沙海亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Runke General Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201510134998.9A priority Critical patent/CN104749966B/en
Publication of CN104749966A publication Critical patent/CN104749966A/en
Application granted granted Critical
Publication of CN104749966B publication Critical patent/CN104749966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method of dynamic switching of full digital simulation and semi-physical simulation. The method of the dynamic switching of the full digital simulation and the semi-physical simulation includes: generating a simulation mode variable; judging the type of the simulation mode variable; when the type of the simulation mode variable is judged to be the full digital simulation, controlling a mathematic model to start a full digital simulation mode, and receiving and transmitting data through a full digital simulation data sharing area; when the type of the simulation mode variable is judged to be the semi-physical simulation, controlling the mathematic model to start a semi-physical simulation mode, and receiving and transmitting the data through a semi-physical simulation data area. The method of the dynamic switching of the full digital simulation and the semi-physical simulation achieves free switching of a simulation model between the full digital simulation and the semi-physical simulation, and improves simulation efficiency. The invention further discloses a system of the dynamic switching of the full digital simulation and the semi-physical simulation.

Description

The method and system of a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime
Technical field
The present invention relates to model emulation technical field, particularly relate to the method and system of a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime.
Background technology
Full digital trigger technique and hardware-in-the-loop simulation carry out defining according to the type of model dividing, and wherein, full digital trigger technique represents that all realistic models are all mathematical models, and the data interaction between mathematical model is mainly in shared drive mode; Hardware-in-the-loop simulation represents the form of mathematical model and physical model (or in kind) associative simulation, and mathematical model communicates mainly through real physical interface with the data interaction of physical model.In the application process of reality, for different test scenes and test configuration requirements, there is the demand that full digital trigger technique and hardware-in-the-loop simulation frequently switch.
In prior art, the switching of full digital trigger technique and hardware-in-the-loop simulation is mainly by revising mathematical model and changing emulated data transceive communications interface.That is, when needs carry out full digital trigger technique, by exploitation mathematical model, the data transmit-receive between mathematical model uses full digital trigger technique communication interface; When needs switch to hardware-in-the-loop simulation from full digital trigger technique, by artificially revising mathematical model, make amended mathematical model meet hardware-in-the-loop simulation, after then amended mathematical model being connected with hardware-in-the-loop simulation interface, access is corresponding in kind.Because full digital trigger technique and hardware-in-the-loop simulation are the processes of testing that iterates, therefore, the full digital trigger technique of prior art and hardware-in-the-loop simulation changing method need to revise mathematical model frequently, easily introduce more mistake and simulation efficiency is low.
Summary of the invention
The invention provides the method and system of a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime, realistic model can be switched freely between full digital trigger technique and hardware-in-the-loop simulation, improve simulation efficiency.
The invention provides a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime, comprising:
Generate simulation model variable;
Judge described simulation model type of variables;
When described simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance;
When described simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Preferably, also comprise before described generation simulation model variable:
Judge whether to need to start mathematical model, if so, then:
Control described mathematical model and be in starting state.
Preferably, the mathematical model that described generation has full digital trigger technique pattern and a hardware-in-the-loop simulation pattern comprises:
Build full digital trigger technique model and hardware-in-the-loop simulation model;
Configuration simulation model variable range;
Configuration control interface.
Preferably, described generation full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district comprise:
Shared region is built in shared drive;
Be full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district by the logical partitioning of described shared region.
Preferably, describedly to be comprised by described hardware-in-the-loop simulation data field transceiving data:
By common communication service interface transmitting-receiving hardware-in-the-loop simulation data sharing district's data and hardware interface data.
A kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system, comprising:
First generation module: for generating simulation model variable;
First judge module: for judging described simulation model type of variables;
First control module: for when described simulation model type of variables is full digital trigger technique, controls described mathematical model and starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance; When described simulation model type of variables is hardware-in-the-loop simulation, controls described mathematical model and start the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Preferably, described system also comprises:
Second judge module: need to start mathematical model for judging whether;
Second control module: for when needs start described mathematical model, controls described mathematical model and is in starting state.
Preferably, described system also comprises the first generation module for generating the mathematical model with full digital trigger technique pattern and hardware-in-the-loop simulation pattern, and described second generation module comprises:
First builds module, for building full digital trigger technique model and hardware-in-the-loop simulation model;
First configuration module, for configuring simulation model variable range;
Second configuration module, for configuring control interface.
Preferably, described system also comprises the 3rd generation module for generating full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district, and described 3rd generation module comprises:
Second builds module, for building shared region in shared drive;
Logical partitioning module, for by the logical partitioning of described shared region being full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district.
Preferably, described system also comprises: common communication service interface;
Described common communication service interface is for receiving and dispatching hardware-in-the-loop simulation data sharing district's data and hardware interface data.
From such scheme, the method of a kind of full digital trigger technique provided by the invention and hardware-in-the-loop simulation switching at runtime, first by generating simulation model variable, when simulation model type of variables is full digital trigger technique, control described mathematical model and start full digital trigger technique pattern, by described full digital trigger technique data sharing district transceiving data, when simulation model type of variables is hardware-in-the-loop simulation, control described mathematical model and start hardware-in-the-loop simulation pattern, by described hardware-in-the-loop simulation data field transceiving data.Achieve realistic model by simulation model variable freely to switch between full digital trigger technique and hardware-in-the-loop simulation, improve simulation efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of Fig. 1 a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in the embodiment of the present invention;
The process flow diagram of Fig. 2 a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in another embodiment of the present invention;
The process flow diagram of Fig. 3 a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in another embodiment of the present invention;
The structured flowchart of Fig. 4 a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system disclosed in the embodiment of the present invention;
The structured flowchart of Fig. 5 a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system disclosed in another embodiment of the present invention;
The structured flowchart of Fig. 6 a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system disclosed in another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in the embodiment of the present invention, comprising:
S101, generation simulation model variable;
S102, judge described simulation model type of variables;
S103, when simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance;
S104, when simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Concrete, the course of work of above-described embodiment is: in the process of emulation, when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first generates simulation model variable, and described simulation model variable generates, for selecting simulation model according to emulation demand.Then the type of artificial variable is judged, when simulation model type of variables is full digital trigger technique, the full digital trigger technique pattern generated in advance in control mathematical model Boot Model, the full digital trigger technique data sharing district by generating in advance between mathematical model completes the transmitting-receiving of data; When simulation model type of variables is hardware-in-the-loop simulation, the hardware-in-the-loop simulation pattern generated in advance in control mathematical model Boot Model, the hardware-in-the-loop simulation data field by generating in advance between mathematical model and material object completes the transmitting-receiving of data.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, improve simulation efficiency.
As shown in Figure 2, a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in another embodiment of the present invention, comprising:
S201, judge whether to need to start mathematical model, if so, then enter step S202;
S202, control described mathematical model and be in starting state;
S203, generation simulation model variable;
S204, judge described simulation model type of variables;
S205, when simulation model type of variables is full digital trigger technique, controls described mathematical model and start the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance;
S206, when simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Concrete, the course of work of above-described embodiment is: in the process of emulation, when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first judge whether to need to start current mathematical model, namely the need of current mathematical model work, such as, in hardware-in-the-loop simulation process, by mock-up alternative mathematical model, replaced mathematical model can be set to halted state, have the mathematical model of data interaction to be set to starting state by with mock-up.When judging to need to start current mathematical model, control mathematical model is in starting state.Then generate simulation model variable, described simulation model variable generates, for selecting simulation model according to emulation demand.Then the type of artificial variable is judged, when simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, and the full digital trigger technique data sharing district by generating in advance between mathematical model completes the transmitting-receiving of data; When simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, and the hardware-in-the-loop simulation data field by generating in advance between mathematical model and material object completes the transmitting-receiving of data.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, and achieve the control of mathematical model duty, improve simulation efficiency.
As shown in Figure 3, a kind of method of full digital trigger technique and hardware-in-the-loop simulation switching at runtime disclosed in another embodiment of the present invention, comprising:
S301, structure full digital trigger technique model and hardware-in-the-loop simulation model;
S302, configuration simulation model variable range;
S303, configuration control interface;
S304, in shared drive, build shared region;
S305, be full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district by shared region logical partitioning;
S306, judge whether to need to start described mathematical model, if so, then enter step S307;
S307, control described mathematical model and be in starting state;
S308, generation simulation model variable;
S309, judge described simulation model type of variables;
S310, when simulation model type of variables is full digital trigger technique, control mathematical model starts full digital trigger technique pattern, by full digital trigger technique data sharing district transceiving data;
S311, when simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts hardware-in-the-loop simulation pattern;
S312, by common communication service interface transmitting-receiving hardware-in-the-loop simulation data sharing district's data and hardware interface data.
Concrete, the course of work of above-described embodiment is: when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first the mathematical model with full digital trigger technique model and hardware-in-the-loop simulation model is built according to emulation demand, and in mathematical model, configure simulation model variable range and control interface, wherein, full digital trigger technique model is used for realizing full digital trigger technique, and hardware-in-the-loop simulation model is used for realizing hardware-in-the-loop simulation; Simulation model variable range is for receiving simulation model variable, and control interface is for receiving the control signal of control mathematical model state.
Then in shared drive, building shared region, is full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district by shared region logical partitioning; Full digital trigger technique data sharing district is used for data transmit-receive during full digital trigger technique, and hardware-in-the-loop simulation data sharing district is used for data transmit-receive during hardware-in-the-loop simulation.
Then judge whether to need to start current mathematical model, namely the need of current mathematical model work, such as, in hardware-in-the-loop simulation process, can by mock-up alternative mathematical model, replaced mathematical model is set to halted state, has the mathematical model of data interaction to be set to starting state by with mock-up.When judging to need to start current mathematical model, control mathematical model is in starting state.
Then generate simulation model variable, described simulation model variable generates, for selecting simulation model according to emulation demand.Then judge the type of artificial variable, when simulation model type of variables is full digital trigger technique, control mathematical model starts full digital trigger technique model, is completed the transmitting-receiving of data between mathematical model by full digital trigger technique data sharing district; When simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts hardware-in-the-loop simulation model, and built bridge between hardware-in-the-loop simulation data sharing district and hardware interface in kind by common communication service interface, realize the simulation communication between mathematical model and material object.Common communication service interface comprises two parts, and a part is towards the variable data transceiver interface of mathematical model, and a part is towards the interface data transceiver interface of hardware interface in kind; Common communication service interface is responsible for the two-way interactive of route, administrative model variable data and hardware interface data, ensure that the mutual independence of data model and hardware interface simultaneously.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, and achieve the control of mathematical model duty, improve simulation efficiency.
As shown in Figure 4, a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system disclosed in the embodiment of the present invention, comprising: the first generation module 41, first judge module 42 and the first control module 43; Wherein:
First generation module 41: for generating simulation model variable;
First judge module 42: for judging simulation model type of variables;
First control module 43: for when simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance; When simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Concrete, the principle of work of above-described embodiment is: in the process of emulation, when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first generates simulation model variable by the first generation module 41, described simulation model variable generates, for selecting simulation model according to emulation demand.Then the type of artificial variable is judged by the first judge module 42, when simulation model type of variables is full digital trigger technique, started the full digital trigger technique pattern generated in advance by the first control module 43 control mathematical model, the full digital trigger technique data sharing district by generating in advance between mathematical model completes the transmitting-receiving of data; When simulation model type of variables is hardware-in-the-loop simulation, started the hardware-in-the-loop simulation pattern generated in advance by the first control module 43 control mathematical model, the hardware-in-the-loop simulation data field by generating in advance between mathematical model and material object completes the transmitting-receiving of data.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, improve simulation efficiency.
As shown in Figure 5, another embodiment of the present invention also discloses a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system, comprising: the first generation module 51, first judge module 52, first control module 53, second judge module 54 and the second control module 55; Wherein:
Second judge module 54: need to start described mathematical model for judging whether;
Second control module 55: for when needs start mathematical model, control mathematical model is in starting state;
First generation module 51: for generating simulation model variable;
First judge module 52: for judging simulation model type of variables;
First control module 53: for when simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance; When simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
Concrete, the principle of work of above-described embodiment is: in the process of emulation, when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first judge whether to need to start current mathematical model by the second judge module 54, namely the need of current mathematical model work, such as, in hardware-in-the-loop simulation process, by mock-up alternative mathematical model, replaced mathematical model can be set to halted state, have the mathematical model of data interaction to be set to starting state by with mock-up.When the second judge module 54 judges to need to start current mathematical model, be in starting state by the second control module 55 control mathematical model.Then generate simulation model variable by the first generation module 51, described simulation model variable generates, for selecting simulation model according to emulation demand.Then the type of artificial variable is judged by the first judge module 52, when simulation model type of variables is full digital trigger technique, started the full digital trigger technique pattern generated in advance by the first control module 53 control mathematical model, the full digital trigger technique data sharing district by generating in advance between mathematical model completes the transmitting-receiving of data; When simulation model type of variables is hardware-in-the-loop simulation, started the hardware-in-the-loop simulation pattern generated in advance by the first control module 53 control mathematical model, the hardware-in-the-loop simulation data field by generating in advance between mathematical model and material object completes the transmitting-receiving of data.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, and achieve the control of mathematical model duty, improve simulation efficiency.
As shown in Figure 6, a kind of full digital trigger technique and hardware-in-the-loop simulation switching at runtime system disclosed in another embodiment of the present invention, comprise: the first generation module 61, first judge module 62, first control module 63, second judge module 64, second control module 65, the second generation module 66 be made up of the first structure module 661, first configuration module 662 and the second configuration module 663, the 3rd generation module 67 be made up of the second structure module 671 and logical partitioning module 672, and common communication service interface 68; Wherein:
First builds module 661, for building full digital trigger technique model and hardware-in-the-loop simulation model;
First configuration module 662, for configuring simulation model variable range;
Second configuration module 663, for configuring control interface;
Second builds module 671, for building shared region in shared drive;
Logical partitioning module 672, for by shared region logical partitioning being full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district;
Second judge module 64: need to start described mathematical model for judging whether;
Second control module 65: for when needs start mathematical model, control mathematical model is in starting state;
First generation module 61: for generating simulation model variable;
First judge module 62: for judging simulation model type of variables;
First control module 63: for when simulation model type of variables is full digital trigger technique, control mathematical model starts full digital trigger technique pattern, by full digital trigger technique data sharing district transceiving data; When simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts hardware-in-the-loop simulation pattern;
Common communication service interface 68: for receiving and dispatching hardware-in-the-loop simulation data sharing district's data and hardware interface data.
Concrete, the principle of work of above-described embodiment is: when needs carry out full digital trigger technique and hardware-in-the-loop simulation switches, first build module 661 according to emulation demand by first and build the mathematical model with full digital trigger technique model and hardware-in-the-loop simulation model, and simulation model variable range is configured by the first configuration module 662 in mathematical model, control interface is configured by the second configuration module 663, wherein, full digital trigger technique model is used for realizing full digital trigger technique, and hardware-in-the-loop simulation model is used for realizing hardware-in-the-loop simulation; Simulation model variable range is for receiving simulation model variable, and control interface is for receiving the control signal of control mathematical model state.
Then building module 671 by second and build shared region in shared drive, is full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district by logical partitioning module 672 by shared region logical partitioning; Full digital trigger technique data sharing district is used for data transmit-receive during full digital trigger technique, and hardware-in-the-loop simulation data sharing district is used for data transmit-receive during hardware-in-the-loop simulation.
Then judge whether to need to start current mathematical model by the second judge module 64, namely the need of current mathematical model work, such as, in hardware-in-the-loop simulation process, can by mock-up alternative mathematical model, replaced mathematical model is set to halted state, has the mathematical model of data interaction to be set to starting state by with mock-up.When the second judge module 64 judges to need to start current mathematical model, be in starting state by the second control module 65 control mathematical model.
Then generate simulation model variable by the first generation module 61, described simulation model variable generates, for selecting simulation model according to emulation demand.Then the type of artificial variable is judged by the first judge module 62, when simulation model type of variables is full digital trigger technique, start full digital trigger technique model by the first control module 63 control mathematical model, between mathematical model, completed the transmitting-receiving of data by full digital trigger technique data sharing district; When simulation model type of variables is hardware-in-the-loop simulation, hardware-in-the-loop simulation model is started by the first control module 63 control mathematical model, and built bridge between hardware-in-the-loop simulation data sharing district and hardware interface in kind by common communication service interface 68, realize the simulation communication between mathematical model and material object.Common communication service interface 68 comprises two parts, and a part is towards the variable data transceiver interface of mathematical model, and a part is towards the interface data transceiver interface of hardware interface in kind; Common communication service interface is responsible for the two-way interactive of route, administrative model variable data and hardware interface data, ensure that the mutual independence of data model and hardware interface simultaneously.Achieve realistic model freely switching between full digital trigger technique and hardware-in-the-loop simulation by simulation model variable, and achieve the control of mathematical model duty, improve simulation efficiency.
If the function described in the present embodiment method using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present invention contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a method for full digital trigger technique and hardware-in-the-loop simulation switching at runtime, is characterized in that, comprising:
Generate simulation model variable;
Judge described simulation model type of variables;
When described simulation model type of variables is full digital trigger technique, control mathematical model starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance;
When described simulation model type of variables is hardware-in-the-loop simulation, control mathematical model starts the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
2. method according to claim 1, is characterized in that, also comprises before described generation simulation model variable:
Judge whether to need to start mathematical model, if so, then:
Control described mathematical model and be in starting state.
3. method according to claim 1 and 2, is characterized in that, the mathematical model that described generation has full digital trigger technique pattern and hardware-in-the-loop simulation pattern comprises:
Build full digital trigger technique model and hardware-in-the-loop simulation model;
Configuration simulation model variable range;
Configuration control interface.
4. method according to claim 1 and 2, is characterized in that, described generation full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district comprise:
Shared region is built in shared drive;
Be full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district by the logical partitioning of described shared region.
5. method according to claim 1 and 2, is characterized in that, is describedly comprised by described hardware-in-the-loop simulation data field transceiving data:
By common communication service interface transmitting-receiving hardware-in-the-loop simulation data sharing district's data and hardware interface data.
6. full digital trigger technique and a hardware-in-the-loop simulation switching at runtime system, is characterized in that, comprising:
First generation module: for generating simulation model variable;
First judge module: for judging described simulation model type of variables;
First control module: for when described simulation model type of variables is full digital trigger technique, controls described mathematical model and starts the full digital trigger technique pattern generated in advance, by the full digital trigger technique data sharing district transceiving data generated in advance; When described simulation model type of variables is hardware-in-the-loop simulation, controls described mathematical model and start the hardware-in-the-loop simulation pattern generated in advance, by the hardware-in-the-loop simulation data field transceiving data generated in advance.
7. system according to claim 6, is characterized in that, also comprises:
Second judge module: need to start mathematical model for judging whether;
Second control module: for when needs start described mathematical model, controls described mathematical model and is in starting state.
8. the system according to claim 6 or 7, is characterized in that, also comprise the first generation module for generating the mathematical model with full digital trigger technique pattern and hardware-in-the-loop simulation pattern, described second generation module comprises:
First builds module, for building full digital trigger technique model and hardware-in-the-loop simulation model;
First configuration module, for configuring simulation model variable range;
Second configuration module, for configuring control interface.
9. the system according to claim 6 or 7, is characterized in that, also comprise the 3rd generation module for generating full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district, described 3rd generation module comprises:
Second builds module, for building shared region in shared drive;
Logical partitioning module, for by the logical partitioning of described shared region being full digital trigger technique data sharing district and hardware-in-the-loop simulation data sharing district.
10. the system according to claim 6 or 7, is characterized in that, also comprises: common communication service interface;
Described common communication service interface is for receiving and dispatching hardware-in-the-loop simulation data sharing district's data and hardware interface data.
CN201510134998.9A 2015-03-26 2015-03-26 A kind of method and system of full digital trigger technique and HWIL simulation switching at runtime Active CN104749966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134998.9A CN104749966B (en) 2015-03-26 2015-03-26 A kind of method and system of full digital trigger technique and HWIL simulation switching at runtime

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134998.9A CN104749966B (en) 2015-03-26 2015-03-26 A kind of method and system of full digital trigger technique and HWIL simulation switching at runtime

Publications (2)

Publication Number Publication Date
CN104749966A true CN104749966A (en) 2015-07-01
CN104749966B CN104749966B (en) 2017-11-10

Family

ID=53589835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134998.9A Active CN104749966B (en) 2015-03-26 2015-03-26 A kind of method and system of full digital trigger technique and HWIL simulation switching at runtime

Country Status (1)

Country Link
CN (1) CN104749966B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918293A (en) * 2017-12-15 2018-04-17 四川汉科计算机信息技术有限公司 Universal type simulation system
CN111443618A (en) * 2020-04-09 2020-07-24 上海航天控制技术研究所 Multi-mode online real-time autonomous switching simulation system and method for GNC system
CN112182867A (en) * 2020-09-21 2021-01-05 上海机电工程研究所 Aircraft hybrid simulation test method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078180A1 (en) * 2002-10-16 2004-04-22 Allen Richard Craig Method for automatically decomposing dynamic system models into submodels
CN102436184A (en) * 2011-10-08 2012-05-02 厦门大学 EMP (embedded microprocessor)-based double-target machine control real-time simulation system
CN102592025A (en) * 2012-01-12 2012-07-18 中国人民解放军国防科学技术大学 Virtual experimental platform of unmanned underwater vehicle mission planning system and experimental method
CN103399779A (en) * 2013-07-02 2013-11-20 中国科学院沈阳自动化研究所 Semi-physical simulation platform and simulation method thereof used in cement clinker calcining process
CN104133379A (en) * 2014-08-15 2014-11-05 哈尔滨工业大学 Simulation method for four-rotor aircraft

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078180A1 (en) * 2002-10-16 2004-04-22 Allen Richard Craig Method for automatically decomposing dynamic system models into submodels
CN102436184A (en) * 2011-10-08 2012-05-02 厦门大学 EMP (embedded microprocessor)-based double-target machine control real-time simulation system
CN102592025A (en) * 2012-01-12 2012-07-18 中国人民解放军国防科学技术大学 Virtual experimental platform of unmanned underwater vehicle mission planning system and experimental method
CN103399779A (en) * 2013-07-02 2013-11-20 中国科学院沈阳自动化研究所 Semi-physical simulation platform and simulation method thereof used in cement clinker calcining process
CN104133379A (en) * 2014-08-15 2014-11-05 哈尔滨工业大学 Simulation method for four-rotor aircraft

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
李洪波 等: "网络控制系统仿真平台的设计与实现", 《系统仿真学报》 *
王宁强 等: "基于MATLAB的卫星姿态控制半物理实时仿真平台", 《系统仿真学报》 *
王轶辰 等: "嵌入式软件可靠性仿真测试分布式系统", 《中国航空学会可靠性工程专业委员会第十届学术年会》 *
郭伟雷,李少洪: "基于VC++/OpenGL的引信仿真测试可视化系统软件设计", 《微计算机信息》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918293A (en) * 2017-12-15 2018-04-17 四川汉科计算机信息技术有限公司 Universal type simulation system
CN111443618A (en) * 2020-04-09 2020-07-24 上海航天控制技术研究所 Multi-mode online real-time autonomous switching simulation system and method for GNC system
CN111443618B (en) * 2020-04-09 2023-03-07 上海航天控制技术研究所 Multi-mode online real-time autonomous switching simulation system and method for GNC system
CN112182867A (en) * 2020-09-21 2021-01-05 上海机电工程研究所 Aircraft hybrid simulation test method and system
CN112182867B (en) * 2020-09-21 2023-02-17 上海机电工程研究所 Aircraft hybrid simulation test method and system

Also Published As

Publication number Publication date
CN104749966B (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN109848985B (en) Robot graphic programming method and device and intelligent terminal
US8612197B1 (en) Large scale simulation architecture for distributed networking waveforms
KR100929252B1 (en) 3D stereoscopic content-based interactive technology education
JP6753200B2 (en) Methods, systems and computer programs for cloud-based computing clusters for simulated operator training systems
KR100929256B1 (en) 3D stereoscopic content-based interactive technology education system
CN104730937A (en) Semi-physical simulation system and semi-physical simulation method
CN104486234A (en) Method and server for uninstalling service exchanger to physical network card
CN104698950A (en) Peripheral device control method, microcontroller, upper computer and system
CN104424145A (en) Electronic device and data transmission method
CN104749966A (en) Method and system of dynamic switching of full digital simulation and semi-physical simulation
CN105787986A (en) Three-dimensional graph rendering method and device
CN105808071A (en) Display control method and device and electronic equipment
CN104424122A (en) Electronic equipment and memory dividing method
CN104317640B (en) The analogue system and method for a kind of Aerial Electronic Equipment
CN110941934A (en) FPGA prototype verification development board segmentation simulation system, method, medium and terminal
CN108228965B (en) Simulation verification method, device and equipment for memory cell
CN109472104A (en) A kind of 500KV substation VR Construction simulation method and device
Khastgir et al. Development of a drive-in driver-in-the-loop fully immersive driving simulator for virtual validation of automotive systems
CN106815021A (en) A kind of operation processing method of application, apparatus and system
CN111381794A (en) Control method and device for robot eye lamp, terminal device and medium
CN103456034A (en) Scene editor and editing method based on distribution type baking illumination
CN104462010A (en) Electronic equipment and state control method
CN110502838A (en) Spare parts management strategy optimization model based on emulation
CN115079820A (en) Virtual scene dynamic switching method, system, storage medium and equipment
CN104423782A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant