CN106598884B - A kind of when frequency difference compensation method of multistage emulation platform bridge joint - Google Patents

A kind of when frequency difference compensation method of multistage emulation platform bridge joint Download PDF

Info

Publication number
CN106598884B
CN106598884B CN201611048516.9A CN201611048516A CN106598884B CN 106598884 B CN106598884 B CN 106598884B CN 201611048516 A CN201611048516 A CN 201611048516A CN 106598884 B CN106598884 B CN 106598884B
Authority
CN
China
Prior art keywords
bridge joint
resolving
period
time
multistage
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.)
Expired - Fee Related
Application number
CN201611048516.9A
Other languages
Chinese (zh)
Other versions
CN106598884A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201611048516.9A priority Critical patent/CN106598884B/en
Publication of CN106598884A publication Critical patent/CN106598884A/en
Application granted granted Critical
Publication of CN106598884B publication Critical patent/CN106598884B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/105Program control for peripheral devices where the programme performs an input/output emulation function

Abstract

The invention discloses a kind of when frequency difference compensation methodes of multistage emulation platform bridge joint, the method are as follows: analogue system prime frame cycle T is subjected to n times equal part, the resolving of main simulation and calculation and sensory system is completed with two kinds of periods of T and T/n respectively, multistage emulation platform bridge joint conversion does not set the fixed cycle simultaneously, but with the main emulation cycle of handshake response Tactics-level analogue system.The application can efficiently solve the real-time and synchronism that data between different stage combat simulation system are transmitted, and the appearance of time cycle more demanding sensory system break be avoided, as pausing occurs in what comes into a driver's or shakes.

Description

A kind of when frequency difference compensation method of multistage emulation platform bridge joint
Technical field
The present invention relates to a kind of when frequency difference compensation methodes of multistage emulation platform bridge joint.
Background technique
System combat emulates on the basis of constructing virtual battlefield environment, will be in war system by certain coupled relation Each independent, loose couplings systems such as campaign grade, Tactics-level, weapon platform grade, weapongrade (containing guided missile and jamming equipment) It connects, and the interbehavior between them is modeled using the bridging technology of multi-environment, heterogenous, multiresolution, Realize that the interconnection interoperability between combat simulation systems at different levels is managed to emerge in large numbers the overall efficiency of system combat fighting The verifying of the Combat Efficiency Evaluation of the research and innovation of opinion and the new tactics of new architecture, all has powerful supporting role, is high skill Promote the important means of theories for military operations achievement functionization under the conditions of art.
Since the size in the emulation frame period of each rank combat simulation system is different, such as the current campaign grade frame period It is 10 seconds, and the Tactics-level frame period is 30 milliseconds, differs more than 330 times, it is at different levels when implementing system combat simulation study and training It is easy to appear leakage frame phenomenons for data conversion between other analogue system, and causing multistage operation to emulate, data are inconsistent, it is imitative to fight It really takes action the problems such as asynchronous, these problems directly influence the result and conclusion of system combat simulation study and training.
Currently, it is synchronous to generally use frame period realization system in each rank operation simulation and calculation network platform.So-called frame Period refers to, entire simulation time is divided into the isometric simulation run period according to the build-in attribute of simulation object, this when Between section become emulation frame period, referred to as frame period.Control node is resolved using the frame period as synchronization signal, is carried out periodically real-time Simulation calculating and generation interaction data, and the operation result in former frame period will be kept before next frame cycle operation terminates.Cause This, the operation result in any one frame period will remain unchanged in a frame period.According to each rank combat simulation system Object and the different of index require, and the size in emulation frame period is different, and generally several milliseconds Dao several seconds.
War is a typical complex gigantic system, and the analogue system type and level being related to due to system combat emulation are numerous More, the relationship between each rank analogue system is also complicated various.System combat emulate when frequency difference compensation calculation difficult point be as What fully and effectively solves the real time problems between the combat simulation system of different type different stage.Pass through network at present Distributed architecture makes multiple stage computers undertake resolving task, by system-wide simulation and calculation division module, it is ensured that the reality of resolving Shi Xing.But some softwares resolving module design task is single, is difficult to divide, and has and resolves task amount uncertainty, i.e., with complete set The work of system constantly changes workload.Therefore, by by the method for system-wide simulation and calculation division module there is also precision not Enough problems need comparatively more accurate computation model.
Summary of the invention
Aiming at the problems existing in the prior art, the purpose of the present invention is to provide a kind of multistage emulation platform bridge joint when Frequency difference compensation method, this method can efficiently solve the real-time that data between different stage combat simulation system are transmitted and Synchronism avoids the appearance of time cycle more demanding sensory system break, as pausing occurs in what comes into a driver's or shakes.
To achieve the above object, the invention adopts the following technical scheme:
It is a kind of multistage emulation platform bridge joint when frequency difference compensation method, the method are as follows: by analogue system prime frame cycle T into Row n times equal part completes main simulation and calculation with the T period, and the resolving of sensory system, while multistage emulation platform are completed with the T/n period Bridge joint conversion does not set the fixed cycle, but with the main emulation cycle of handshake response Tactics-level analogue system;It is described multistage imitative True platform bridges conversion does not set the fixed cycle specifically: sends information data after having resolved every time at once, is resolved next time Work.
Further, described that main simulation and calculation is completed with the T period, the resolving of sensory system is completed with the T/n period specifically:
Tactical Simulation system prime frame cycle T is divided into n subframe period Δ T, it may be assumed that
T=n Δ T
If bridge joint convert practical resolving time function as C (t), then resolve need to period of sub-frame number are as follows: ceil (C (t)/ΔT);Bridge joint is set again and converts the resolving renewal time function by frame periodic communication as D (t), then triadic relation calculates public Formula are as follows:
D (t)=Δ Tceil (C (t)/Δ T);
Ceil (x) is the function that rounds up in formula;
If the maximum value of resolving time function C (t) is not more than (n+1) Δ T, i.e.,
C(t)max≤T+(1/n)·T;
Then:
D(t)max=(1/n) Tceil ((n+1) Δ T/ Δ T)=T+ (1/n) T;
It is more than the frame period when realistic bridges connect the conversion resolving time, but is more than when the time being not more than (1/n) T, bridge joint turns The renewal time changed will not be 2T, but T+ (1/n) T;In this way, the time that bridge joint conversion resolves can float up and down, Without causing the scenery picture of emulator in Tactical Simulation system to be shaken.
The present invention has following advantageous effects:
Present invention efficiently solves real-times and synchronism that data between different stage combat simulation system are transmitted, keep away The appearance for having exempted from time cycle more demanding sensory system break, as pausing occurs in what comes into a driver's or shakes.
Detailed description of the invention
Fig. 1 is the timing diagram of bridge joint conversion and Tactical Simulation prime frame periodic communication in the prior art;
Fig. 2 is the timing diagram that jackshaft of the present invention connects conversion Yu Tactical Simulation prime frame periodic communication.
Specific embodiment
In the following, being made a more thorough explanation with reference to attached drawing to the present invention, shown in the drawings of exemplary implementation of the invention Example.However, the present invention can be presented as a variety of different forms, it is not construed as the exemplary implementation for being confined to describe here Example.And these embodiments are to provide, to keep the present invention full and complete, and it will fully convey the scope of the invention to this The those of ordinary skill in field.
The present invention provides a kind of when frequency difference compensation method of multistage emulation platform bridge joint, this method are as follows: by analogue system Prime frame cycle T carries out n times equal part, completes main simulation and calculation with the T period, the resolving of sensory system is completed with the T/n period, while more Grade emulation platform bridge joint conversion does not set the fixed cycle, but with the main emulation cycle of handshake response Tactics-level analogue system; The multistage emulation platform bridge joint conversion does not set the fixed cycle specifically: sends information data after having resolved every time at once, carries out Work is resolved next time.
Main simulation and calculation is completed with the T period, the resolving of sensory system is completed with the T/n period specifically:
Tactical Simulation system prime frame cycle T is divided into n subframe period Δ T, it may be assumed that
T=n Δ T
If bridge joint convert practical resolving time function as C (t), then resolve need to period of sub-frame number are as follows: ceil (C (t)/ΔT);Bridge joint is set again and converts the resolving renewal time function by frame periodic communication as D (t), then triadic relation calculates public Formula are as follows:
D (t)=Δ Tceil (C (t)/Δ T);
Ceil (x) is the function that rounds up in formula;
If the maximum value of resolving time function C (t) is not more than (n+1) Δ T, i.e.,
C(t)max≤T+(1/n)·T;
Then:
D(t)max=(1/n) Tceil ((n+1) Δ T/ Δ T)=T+ (1/n) T;
It is more than the frame period when realistic bridges connect the conversion resolving time, but is more than when the time being not more than (1/n) T, bridge joint turns The renewal time changed will not be 2T, but T+ (1/n) T;In this way, the time that bridge joint conversion resolves can float up and down, Without causing the scenery picture of emulator in Tactical Simulation system to be shaken.
As shown in Figure 1, between campaign grade analogue system and Tactics-level analogue system during data conversion, with war Use as a servant the variation of operation in grade analogue system, resolving amount also when it is big when small, the time of the variation of this resolving amount to resolving It has a huge impact.When using frame periodic communication (the frame period is set as 30ms), if resolving amount is excessive to cause system overload Operation, the renewal time interval of the time interval and Tactics-level analogue system that resolve frame does not just resynchronize.Therefore, in the control of frame frequency It will appear two kinds of phenomenons such as Fig. 1 under mode processed:
1) when the fixed cycle, illustrate by taking 30 frame per second as an example.It is not in problem when resolving amount is less than or equal to 1/30s, But when resolving amount is greater than 1/30s, it will same piece image is shown in two or more time intervals, rather than it is directly aobvious Show lower piece image, has exceeded the boundary for resolving frame.In this way, it may appear that frame losing phenomenon increases the time interval that two frames resolve, meeting The pause of some sensory systems in Tactical Simulation system is caused, for example, emulation what comes into a driver's occurs pausing or shake.3rd frame as shown in figure 1 And the 5th lose the 4th frame between frame.
2) on-fixed periodic mode, this mode are calling bridge joint conversion program operations as fast as possible, do not have to keep one The frame frequency of a fixation.It will appear repetition resolving or frame losing phenomenon when resolving the time used more than or less than 1/30s.In Fig. 2 2nd frame repeats to resolve 2 times, and loses the 4th frame between the 3rd frame and the 5th frame.
Campaign grade analogue system can be transferred to the target of Tactics-level analogue system by the method for solving above-mentioned frame losing phenomenon Quantity provide a upper limit value, with the resolving ability of minimum resolving time to the target in campaign grade analogue system carry out require and Limitation.This method affects the design of campaign grade analogue system, very not from the design requirement of Tactics-level analogue system Rationally.
As shown in Fig. 2, can effectively solve the problems, such as Fig. 1 using method of the invention;Practical reality of the invention The value of Shi Zhong, n should consider that bridge joint conversion resolves needs, consider the resolving of the main simulation and calculation system of Tactical Simulation system again Period.In this embodiment, we take n=3, at this moment, such as take T=30ms, C (t)max=40ms then obtains D (t)max=40ms, And it sets up bridging software and responds Tactical Simulation dominant frequency T in a manner of handshake (when bridge joint, which resolves the period, is greater than T, with bridge joint It resolves based on the period, when bridge joint, which resolves the period, is less than T, based on the Tactical Simulation period).
The prediction of present invention aspect position when data conversion between campaign grade and Tactics-level combat simulation system with And the resolving of bridge joint conversion is started with communication, frequency difference compensation method when proposing system combat emulation, it can be very using this method It solves the problems, such as well to encounter when different stage analogue system interconnection interoperability, suitable for grinding for system combat analogue system Study carefully and constructs.
It is described above simply to illustrate that of the invention, it is understood that the present invention is not limited to the above embodiments, meets The various variants of inventive concept are within the scope of the present invention.

Claims (2)

1. a kind of when frequency difference compensation method of multistage emulation platform bridge joint, which is characterized in that the method are as follows: by analogue system master Frame cycle T carries out n times equal part, completes main simulation and calculation with the T period, the resolving of sensory system is completed with the T/n period, while multistage Emulation platform bridge joint conversion does not set the fixed cycle, but with the main emulation cycle of handshake response Tactics-level analogue system;Institute It states multistage emulation platform bridge joint conversion and does not set the fixed cycle specifically: send information data after having resolved every time at once, carry out down It is primary to resolve work.
2. the when frequency difference compensation method of multistage emulation platform bridge joint according to claim 1, which is characterized in that described with T Period completes main simulation and calculation, and the resolving of sensory system is completed with the T/n period specifically:
Tactical Simulation system prime frame cycle T is divided into n subframe period Δ T, it may be assumed that
T=n·ΔT
If bridge joint convert practical resolving time function as C(t), then resolve need to period of sub-frame number are as follows: ceil(C(t)/Δ T);It sets bridge joint again convert through the resolving renewal time function of frame periodic communication as D (t), then triadic relation's calculation formula are as follows:
D (t)=Δ Tceil(C(t)/Δ T);
Ceil(x in formula) it is the function that rounds up;
If resolving time function C(t) maximum value be not more than (n+1) Δ T, i.e.,
C(t)max≤ T+(1/n) T;
Then:
D(t)max=(1/n) Tceil((n+1) Δ T/Δ T)=T+(1/n) T;
It is more than the frame period when realistic bridges connect the conversion resolving time, but is more than when the time being not more than (1/n) T, to bridge conversion Renewal time will not be 2T, but T+(1/n) T;In this way, the time that bridge joint conversion resolves can float up and down, without The scenery picture of emulator in Tactical Simulation system can be caused to shake.
CN201611048516.9A 2016-11-21 2016-11-21 A kind of when frequency difference compensation method of multistage emulation platform bridge joint Expired - Fee Related CN106598884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611048516.9A CN106598884B (en) 2016-11-21 2016-11-21 A kind of when frequency difference compensation method of multistage emulation platform bridge joint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611048516.9A CN106598884B (en) 2016-11-21 2016-11-21 A kind of when frequency difference compensation method of multistage emulation platform bridge joint

Publications (2)

Publication Number Publication Date
CN106598884A CN106598884A (en) 2017-04-26
CN106598884B true CN106598884B (en) 2019-06-14

Family

ID=58593132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611048516.9A Expired - Fee Related CN106598884B (en) 2016-11-21 2016-11-21 A kind of when frequency difference compensation method of multistage emulation platform bridge joint

Country Status (1)

Country Link
CN (1) CN106598884B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297703B (en) * 2019-06-11 2021-11-05 国网江苏省电力有限公司 Method and device for simulating hardware task scheduling in real-time simulation system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329834A (en) * 2007-06-21 2008-12-24 北京巨数数字技术开发有限公司 Method for generating impulse signal as well as control circuit and display system using the same
CN102665141A (en) * 2012-05-16 2012-09-12 哈尔滨工业大学深圳研究生院 AVS (audio video standard) audio and video presynchronizing method based on RTP (real time protocol) package

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100063786A1 (en) * 2008-09-11 2010-03-11 Harke Michael C Co-Simulation Process

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329834A (en) * 2007-06-21 2008-12-24 北京巨数数字技术开发有限公司 Method for generating impulse signal as well as control circuit and display system using the same
CN102665141A (en) * 2012-05-16 2012-09-12 哈尔滨工业大学深圳研究生院 AVS (audio video standard) audio and video presynchronizing method based on RTP (real time protocol) package

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
全系统网络延迟分析方法;黄安祥;《系统仿真学报》;20120630;第24卷(第6期);全文
分布式作战仿真系统实时互联关键技术研究;姚刚;《工程科技II辑》;20120216(第3期);全文

Also Published As

Publication number Publication date
CN106598884A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
JP2020009468A5 (en)
CN105677443B (en) A kind of Heterogeneous simulation system
CN107222510A (en) A kind of game synchronization method, system and relevant device
RU2010146965A (en) SYSTEMS FOR MODELING EVENTS IN A REAL ENVIRONMENT
JP5549237B2 (en) Test environment construction program, test environment construction method, and test apparatus
CN108961910A (en) A kind of VR fire drill device
CN112883586B (en) Analog simulation system and method based on double logic layer agents
CN106598884B (en) A kind of when frequency difference compensation method of multistage emulation platform bridge joint
RU2019126462A (en) UNIVERSAL VIRTUALIZATION PLATFORM FOR SYSTEMS USING SOFTWARE LEVELS FOR HARDWARE ABSTRACT
CN111968204B (en) Motion display method and device for bone model
CN103049628A (en) Accelerating method and system of online game
CN109459939A (en) The method and simulator of real-time simulation are provided for controller exploitation
Petersen et al. Dynamic link network emulation: A model-based design
Nussbaum et al. Lightweight emulation to study peer-to-peer systems
Xu et al. Consistent synchronization of action order with least noticeable delays in fast-paced multiplayer online games
Wallace et al. Realism in modeling and simulation with implications for virtual reality, augmented reality, and immersive environments
CN109521691A (en) A kind of power grid full-view simulation system and power grid panorama emulation mode
CN111443806B (en) Interactive task control method and device, electronic equipment and storage medium
Barella et al. Agent architectures for intelligent virtual environments
CN109088786A (en) One kind is for testing Helicopter Simulator network delay method
Roberts et al. Bounding inconsistency using a novel threshold metric for dead reckoning update packet generation
Maxwell et al. Make large-scale virtual training a reality
Mondesire et al. An analysis of increased vertical scaling in three-dimensional virtual world simulation
Frazier 3.7 Fighting COVID-19 with Simulation
US20180098185A1 (en) Smart hardware operation method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190614

Termination date: 20191121

CF01 Termination of patent right due to non-payment of annual fee