CN106483866A - Guidance and control semi-matter simulating system timing method and system - Google Patents

Guidance and control semi-matter simulating system timing method and system Download PDF

Info

Publication number
CN106483866A
CN106483866A CN201510527598.4A CN201510527598A CN106483866A CN 106483866 A CN106483866 A CN 106483866A CN 201510527598 A CN201510527598 A CN 201510527598A CN 106483866 A CN106483866 A CN 106483866A
Authority
CN
China
Prior art keywords
vmic
clock
memory network
reflective memory
count value
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
CN201510527598.4A
Other languages
Chinese (zh)
Other versions
CN106483866B (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.)
Shanghai Institute of Electromechanical Engineering
Original Assignee
Shanghai Institute of Electromechanical Engineering
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 Shanghai Institute of Electromechanical Engineering filed Critical Shanghai Institute of Electromechanical Engineering
Priority to CN201510527598.4A priority Critical patent/CN106483866B/en
Publication of CN106483866A publication Critical patent/CN106483866A/en
Application granted granted Critical
Publication of CN106483866B publication Critical patent/CN106483866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a kind of Guidance and control semi-matter simulating system timing method and system, methods described includes:Clock control is carried out by the RTX real time operating system on time control experiment calculation machine, produces the Interruption of RTX high precision clock;Then interruption broadcast is carried out by VMIC reflective memory network in the gate time of timing, and frame period count value, the frame time number that count value is experienced for l-G simulation test is write in VMIC reflective memory network particular address;Each system node computer is had no progeny in receiving and reads frame period count value in VMIC reflective memory network particular address, and calculates data read address according to frame period count value, carries out Models computed, and writes the result into VMIC reflective memory network.The present invention can solve the problem that the synchronous problem of data and clock between each node of existing semi-matter simulating system.

Description

Guidance and control semi-matter simulating system timing method and system
Technical field
The present invention relates to a kind of Guidance and control semi-matter simulating system timing method and system.
Background technology
Semi-matter simulating system is to simulate echo signal in laboratory and be analyzed, to guidance control system, the system that verifies.Semi-matter simulating system plays indispensable effect to reducing R&D costs, shortening lead time, offer Development Level.
Semi-Physical Simulation Test System is a large complicated system, also known as Hardware-in-the-loop simu- lation, it is a kind of by access loop in kind for part to replace the emulation mode of corresponding mathematics model in simulation process, each simulation computer is linked together by it by the communication technology.For ensureing data and clock synchronization between each node, simulation process must be a real-time simulation process, and so-called real-time simulation refers to the time scale factor of simulation model and the identical emulation of the time scale factor of real system.During HWIL simulation, system must realize real-time reception dynamic input within the given time cycle, and produce real-time dynamical output, that is the information that physical unit must be sent from normatron in given time reception, and required physical unit information is returned to normatron unit.If timing has error, analogue system will cause simulation result deviation occur as normatron is inconsistent with information in kind, additionally due to there is mass data communication in semi-matter simulating system, data syn-chronization will be the another factor for affecting systematic function.Therefore, timing data is synchronous is of great significance for semi-matter simulating system tool.
Content of the invention
It is an object of the invention to provide a kind of Guidance and control semi-matter simulating system timing method and system, can solve the problem that the synchronous problem of data and clock between each node of existing semi-matter simulating system.
For solving the above problems, the present invention provides a kind of Guidance and control semi-matter simulating system timing method, including:
Clock control is carried out by the RTX real time operating system on time control experiment calculation machine, produces the Interruption of RTX high precision clock;
Then interruption broadcast is carried out by VMIC reflective memory network in the gate time of timing, and frame period count value, the frame time number that count value is experienced for l-G simulation test is write in VMIC reflective memory network particular address;
Each system node computer is had no progeny in receiving and reads frame period count value in VMIC reflective memory network particular address, and calculates data read address according to frame period count value, carries out Models computed, and writes the result into VMIC reflective memory network.
Further, in the above-mentioned methods, the RTX high precision clock is CLOCK_2 type clock.
According to the another side of the present invention, a kind of Guidance and control semi-matter simulating system timing system is provided, including:
RTX real time operating system on time control experiment calculation machine, for carrying out clock control, produces the Interruption of RTX high precision clock, then carries out interruption broadcast by VMIC reflective memory network in the gate time of timing;
VMIC reflective memory network, then carries out interruption broadcast for the gate time in timing;
Each system node computer, reads frame period count value in VMIC reflective memory network particular address for having no progeny in receiving, and calculates data read address according to frame period count value, carry out Models computed, and write the result into VMIC reflective memory network.
Further, in said system, the RTX high precision clock that institute RTX real time operating system is produced is CLOCK_2 type clock.
Compared with prior art, the present invention produces high precision timing clock by RTX real time operating system, count value is write by way of the distribution of VMCI reflective memory network is interrupted and to reflective memory card to realize analogue system time synchronized and data syn-chronization, accurate timing can be carried out to semi-matter simulating system, can realize high precision clock and data syn-chronization between each node.
Description of the drawings
Fig. 1 is the flow chart of the Guidance and control semi-matter simulating system timing method of one embodiment of the invention;
Fig. 2 is the connection figure of the Guidance and control semi-matter simulating system timing system of one embodiment of the invention.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, the present invention is further detailed explanation with reference to the accompanying drawings and detailed description.
As illustrated in fig. 1 and 2, the present invention provides a kind of Guidance and control semi-matter simulating system timing method, including:
Step S1, by the RTX on time control experiment calculation machine(Real-Time eXtension)Real time operating system carries out clock control, produces the Interruption of RTX high precision clock;Here, by setting up new RTX program process under RTX real time operating system, each system node operation program must be all RTX real-time program, time control experiment calculation machine is clocked into process, and base program is as follows:
RtGetClockTime(CLOCK_2,&pTime1);
do
{
RtGetClockTime(CLOCK_2,&pTime2);
run_time=pTime2.QuadPart-pTime1.QuadPart;
}while(run_time<(unsigned long)(step_time*10000));
Step S2, then carries out interruption broadcast by VMIC reflective memory network in the gate time of timing, and writes frame period count value, the frame time number that count value is experienced for l-G simulation test in VMIC reflective memory network particular address;Here, above-mentioned RtGetClockTime can obtain present system time, program obtains a fiducial time first, it is compared with fiducial time with current time afterwards, interruption distribution is carried out after reaching timing cycle, interruption is distributed by VMIC reflective memory network, and count value, the frame time number that count value is experienced for l-G simulation test is write in VMIC reflective memory network particular address;
Step S3, each system node computer is had no progeny in receiving and reads frame period count value in VMIC reflective memory network particular address, and data read address is calculated according to frame period count value, carry out Models computed, and write the result into VMIC reflective memory network, here, each system node computer is interrupted as frame run time starting point with receiving reflective memory, time and data syn-chronization mark are used as by frame period count value, this ensures that there the synchronization of each node time, and the data for reading are this frame data, do not result in emulation data corruption.The present invention can carry out accurate timing to semi-matter simulating system, and each system node intercomputer can realize high precision clock and data syn-chronization.
Preferably, step S1, the RTX high precision clock is CLOCK_2 type clock, this clock is the full accuracy clock that can be provided under RTX, its precision is 100ns, it is possible to achieve the accurate timing controlled of system, clock control precision can reach 100ns, the timing cycle can be less than 1 millisecond, can meet the requirement of existing analogue system.
As shown in Fig. 2 according to the another side of the present invention, a kind of Guidance and control semi-matter simulating system timing system is also provided, including:
RTX on time control experiment calculation machine(Real-Time eXtension)Real time operating system 1, for carrying out clock control, produces the Interruption of RTX high precision clock, then carries out interruption broadcast by VMIC reflective memory network 2 in the gate time of timing;
VMIC reflective memory network 2, then carries out interruption broadcast for the gate time in timing;
Each system node computer 3, reads frame period count value in VMIC reflective memory network particular address for having no progeny in receiving, and calculates data read address according to frame period count value, carry out Models computed, and write the result into VMIC reflective memory network 2.
Preferably, RTX(Real-Time eXtension)The RTX high precision clock that real time operating system 1 is produced is CLOCK_2 type clock.
In sum, the present invention produces high precision timing clock by RTX real time operating system, count value is write by way of the distribution of VMCI reflective memory network is interrupted and to reflective memory card to realize analogue system time synchronized and data syn-chronization, accurate timing can be carried out to semi-matter simulating system, can realize high precision clock and data syn-chronization between each node.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment was stressed is the difference with other embodiment, between each embodiment identical similar portion mutually referring to.
Professional further appreciates that, unit and algorithm steps in conjunction with each example of the embodiments described herein description, can be with electronic hardware, computer software or the two be implemented in combination in, in order to the interchangeability of hardware and software is clearly demonstrated, composition and the step of each example are generally described in the above description according to function.These functions are executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Professional and technical personnel can use different methods to realize described function to each specific application, but this realization is it is not considered that beyond the scope of this invention.
Obviously, those skilled in the art can to invention carry out various change and modification without departing from the spirit and scope of the present invention.So, if these modifications of the present invention and modification belong within the scope of the claims in the present invention and its equivalent technologies, then the present invention is also intended to including including these changes and modification.

Claims (4)

1. a kind of Guidance and control semi-matter simulating system timing method, it is characterised in that include:
Clock control is carried out by the RTX real time operating system on time control experiment calculation machine, produces the Interruption of RTX high precision clock;
Then interruption broadcast is carried out by VMIC reflective memory network in the gate time of timing, and frame period count value, the frame time number that count value is experienced for l-G simulation test is write in VMIC reflective memory network particular address;
Each system node computer is had no progeny in receiving and reads frame period count value in VMIC reflective memory network particular address, and calculates data read address according to frame period count value, carries out Models computed, and writes the result into VMIC reflective memory network.
2. Guidance and control semi-matter simulating system timing method as claimed in claim 1, it is characterised in that the RTX high precision clock is CLOCK_2 type clock.
3. a kind of Guidance and control semi-matter simulating system timing system, it is characterised in that include:
RTX real time operating system on time control experiment calculation machine, for carrying out clock control, produces the Interruption of RTX high precision clock, then carries out interruption broadcast by VMIC reflective memory network in the gate time of timing;
VMIC reflective memory network, then carries out interruption broadcast for the gate time in timing;
Each system node computer, reads frame period count value in VMIC reflective memory network particular address for having no progeny in receiving, and calculates data read address according to frame period count value, carry out Models computed, and write the result into VMIC reflective memory network.
4. Guidance and control semi-matter simulating system timing system as claimed in claim 1, it is characterised in that the RTX high precision clock that institute RTX real time operating system is produced is CLOCK_2 type clock.
CN201510527598.4A 2015-08-26 2015-08-26 Guidance and control semi-matter simulating system timing method and system Active CN106483866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510527598.4A CN106483866B (en) 2015-08-26 2015-08-26 Guidance and control semi-matter simulating system timing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510527598.4A CN106483866B (en) 2015-08-26 2015-08-26 Guidance and control semi-matter simulating system timing method and system

Publications (2)

Publication Number Publication Date
CN106483866A true CN106483866A (en) 2017-03-08
CN106483866B CN106483866B (en) 2019-07-23

Family

ID=58233996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510527598.4A Active CN106483866B (en) 2015-08-26 2015-08-26 Guidance and control semi-matter simulating system timing method and system

Country Status (1)

Country Link
CN (1) CN106483866B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776060A (en) * 2016-11-25 2017-05-31 江西洪都航空工业集团有限责任公司 A kind of shared drive algorithm
CN108021034A (en) * 2017-11-08 2018-05-11 江西洪都航空工业集团有限责任公司 A kind of accurate timing and the system and method for data synchronization
CN109407552A (en) * 2018-12-17 2019-03-01 上海机电工程研究所 A kind of most matter simulating system synergy emulation methods
CN110109373A (en) * 2019-04-01 2019-08-09 江南机电设计研究所 A kind of missile guidance control system semi-physical emulation platform automation simulation method
CN110581862A (en) * 2019-10-23 2019-12-17 上海机电工程研究所 general adaptation method and system based on RFM (radio frequency modulation) multiple real-time simulation units
CN110687829A (en) * 2019-10-28 2020-01-14 上海机电工程研究所 Method, system, medium, and apparatus for implementing a simulation clock with a precision greater than a set threshold
CN111580751A (en) * 2020-03-30 2020-08-25 上海机电工程研究所 0-1 dynamic data transmission and storage method and system based on reflective memory network
CN114047712A (en) * 2021-10-12 2022-02-15 中国电子科技集团公司第二十九研究所 Data communication method of semi-physical simulation system based on reflective memory network
CN114966580A (en) * 2022-05-25 2022-08-30 西安电子科技大学 Dynamic scattering echo simulation method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609615A (en) * 2008-06-19 2009-12-23 广东电子工业研究院有限公司 A kind of real-time semi-physical simulation system and collecting method thereof
CN101645813A (en) * 2009-09-07 2010-02-10 中国电子科技集团公司第三十研究所 Distributed semi-physical network simulation system and controlling method of semi-physical port thereof
CN102096376A (en) * 2010-12-30 2011-06-15 中国科学院长春光学精密机械与物理研究所 Mixed time sequence synchronous control method in physical simulation
DE102010043661A1 (en) * 2010-11-09 2012-05-10 Dspace Digital Signal Processing And Control Engineering Gmbh Vehicle control unit testing device for use in hardware in-the-loop simulator, has computing unit and signal generating card that are connected with serial bus interface for receiving and/or sending time and angle synchronous messages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609615A (en) * 2008-06-19 2009-12-23 广东电子工业研究院有限公司 A kind of real-time semi-physical simulation system and collecting method thereof
CN101645813A (en) * 2009-09-07 2010-02-10 中国电子科技集团公司第三十研究所 Distributed semi-physical network simulation system and controlling method of semi-physical port thereof
DE102010043661A1 (en) * 2010-11-09 2012-05-10 Dspace Digital Signal Processing And Control Engineering Gmbh Vehicle control unit testing device for use in hardware in-the-loop simulator, has computing unit and signal generating card that are connected with serial bus interface for receiving and/or sending time and angle synchronous messages
CN102096376A (en) * 2010-12-30 2011-06-15 中国科学院长春光学精密机械与物理研究所 Mixed time sequence synchronous control method in physical simulation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李强,王民钢: "导弹半实物仿真中定时及数据同步问题研究", 《计算机测量与控制》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776060A (en) * 2016-11-25 2017-05-31 江西洪都航空工业集团有限责任公司 A kind of shared drive algorithm
CN108021034A (en) * 2017-11-08 2018-05-11 江西洪都航空工业集团有限责任公司 A kind of accurate timing and the system and method for data synchronization
CN109407552A (en) * 2018-12-17 2019-03-01 上海机电工程研究所 A kind of most matter simulating system synergy emulation methods
CN110109373A (en) * 2019-04-01 2019-08-09 江南机电设计研究所 A kind of missile guidance control system semi-physical emulation platform automation simulation method
CN110109373B (en) * 2019-04-01 2022-04-19 江南机电设计研究所 Automatic simulation method for missile guidance control system semi-physical simulation platform
CN110581862A (en) * 2019-10-23 2019-12-17 上海机电工程研究所 general adaptation method and system based on RFM (radio frequency modulation) multiple real-time simulation units
CN110687829A (en) * 2019-10-28 2020-01-14 上海机电工程研究所 Method, system, medium, and apparatus for implementing a simulation clock with a precision greater than a set threshold
CN111580751A (en) * 2020-03-30 2020-08-25 上海机电工程研究所 0-1 dynamic data transmission and storage method and system based on reflective memory network
CN111580751B (en) * 2020-03-30 2023-05-12 上海机电工程研究所 0-1 dynamic data transmission and storage method and system based on reflective memory network
CN114047712A (en) * 2021-10-12 2022-02-15 中国电子科技集团公司第二十九研究所 Data communication method of semi-physical simulation system based on reflective memory network
CN114966580A (en) * 2022-05-25 2022-08-30 西安电子科技大学 Dynamic scattering echo simulation method and related device

Also Published As

Publication number Publication date
CN106483866B (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN106483866A (en) Guidance and control semi-matter simulating system timing method and system
JPH0458072B2 (en)
US7822591B2 (en) Logic circuit model conversion apparatus and method thereof; and logic circuit model conversion program
US9690889B2 (en) Method for adjusting a timing derate for static timing analysis
CN107533473B (en) Efficient waveform generation for simulation
CN107491581A (en) A kind of method and clock generator that simulating, verifying is carried out to digital circuit
CN109923483A (en) Simulator and emulation mode
US8036874B2 (en) Software executing device and co-operation method
CN107844678B (en) Spice simulation method containing IP/Memory time sequence path
TWI661358B (en) Simulation device
US8428914B2 (en) Method and simulator for real-time calculation of state variables of a process model
CN105183641A (en) Data consistency check method and system for kernel module
JP4175953B2 (en) High-level synthesis apparatus, hardware verification model generation method, hardware verification method, control program, and readable recording medium
US7606694B1 (en) Framework for cycle accurate simulation
CN108021034A (en) A kind of accurate timing and the system and method for data synchronization
CN117033113B (en) Control circuit and method for signal delay
TW201708836A (en) Protocol based automated tester stimulus generator
US20170091361A1 (en) System and process for simulating the behavioral effects of timing violations between unrelated clocks
CA1212770A (en) Method for propagating unknown digital values in a hardware based complex circuit simulation system
US20100114552A1 (en) Methods and apparatus for clock simulation with calibration
CN111193509B (en) Automatic calibration method and system for source synchronous data sampling points
JP2880827B2 (en) Power system training simulator
CN117193937A (en) Method and device for automatically outputting virtualized super-fusion implementation
JP6506010B2 (en) Power consumption estimation technology for semiconductor integrated circuits
CN115510782A (en) Method for locating verification error, electronic device and storage medium

Legal Events

Date Code Title Description
C06 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