SIMULATION SYSTEM
20170371988 ยท 2017-12-28
Inventors
Cpc classification
G06F30/33
PHYSICS
Y02P90/02
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G05B2219/32343
PHYSICS
G05B19/41815
PHYSICS
G06F17/00
PHYSICS
G06F9/455
PHYSICS
International classification
Abstract
A simulation system capable of synchronizing the input and output of signals between a plurality of simulation devices with the same accuracy as in the case of actual devices is provided with the plurality of simulation devices configured to perform processing in response to input signals and to output output signals and an input/output signal management device configured to output the input signals to the simulation devices and to receive the output signals from the simulation devices. The input/output signal management device stores processing response times p in the simulation devices. Virtual reception times vt of the output signals are individually calculated based on times t at which the input signals are output to the simulation devices and the processing response times p. One of the plurality of output signals received at the earliest virtual reception time vt is output as the input signal for another of the simulation devices.
Claims
1. A simulation system which comprises a plurality of simulation devices configured to perform processing in response to input signals and to output output signals and an input/output signal management device configured to output the input signals to the simulation devices and to receive the output signals from the simulation devices, wherein the input/output signal management device stores processing response times p in the plurality of simulation devices, calculates virtual reception times vt of the output signals based on times t at which the input signals are output to the plurality of simulation devices and the processing response times p, and outputs one of the plurality of output signals received at the earliest virtual reception time vt as the input signal for another of the simulation devices.
2. The simulation system according to claim 1, wherein the input/output signal management device performs processing for outputting the output signal received at the earliest virtual reception time vt with a certain time delay after processing for calculating the virtual reception times vt of the output signals from the plurality of simulation devices.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other objects and features of the present invention will be obvious from the ensuing description of embodiments with reference to the accompanying drawings, in which:
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] First, there will be described an outline of a deceleration stop function during high-speed cycle machining according to one embodiment of the present invention.
[0021] Firstly problems of a prior art technique will be described to facilitate understanding of the present invention.
[0022]
[0023] Thus, the actual devices and the simulation devices may sometimes be different in the output order of the output signals S1 and S2. This is because the response processing time of the actual devices 1 and 2 is different from that of the simulation devices 111 and 112. If the order of the input/output signals varies in this manner, the operations achieved by the actual devices and the simulation devices are inevitably completely different as a whole.
[0024] The following is a description of an embodiment of the present invention to solve this problem. The configuration of a simulation system 100 according co the embodiment of the present invention will first be described with reference to
[0025] The simulation system 100 comprises a plurality of simulation devices 11n and an input/output signal management device 120. The plurality of simulation devices 11n and the input/output signal management device 120 are connected to one another for communication.
[0026] The plurality of simulation devices 11n are devices that virtually achieve their operations without activating the actual devices. Since various simulators can be used as the simulation devices 11n, a description of specific configurations is omitted herein.
[0027] The input/output signal management device 120 is a device that mediates input/output signals between the plurality of simulation devices 11n.
[0028] Typically, the simulation devices 11n and the input/output signal management device 120 are each provided with a central processing unit, storage device, and input/output device. These devices are information processing devices in which the central processing unit performs programs stored in the storage device, thereby achieving predetermined functions. The simulation devices 11n and the input/output signal management device 120 may be either implemented individually by different pieces of hardware or mounted as logically different substances on a single or distributed pieces of hardware.
[0029] The simulation devices 11n can input and output signals to and from other simulation devices 11n. In the present embodiment, however, all input and output signals are transmitted and received through the input/output signal management device 120. Thus, no signals can be directly transmitted or received between the plurality of simulation devices 11n. The simulation devices 11n receive all the input signals from the input/output signal management device 120 and transmit all the output signals to the input/output signal management device 120.
[0030] An operation example of the simulation system 100 will now be described with reference to
[0031] A coordinated operation of the actual devices 1 to 3 will now be described with reference to
[0032] The simulation devices 111 to 113 also perform a similar coordinated operation. More specifically, the simulation device 111 starts its operation triggered by the input signal S1 and outputs the output signal S2. The simulation device 112 starts its operation triggered by the input signal S3 and outputs the output signal S4. Moreover, the simulation device 113 is assumed to start its operation on receiving the output signal S2 of the simulation device 111 or the output signal S4 of the simulation device 112, whichever is output earlier.
[0033] Moreover, the input/output signal management device 120 of the present embodiment manages virtual times of two systems. Thus, it is incorporated with two clocks with different time zones the clock 1 is used to perform processing for receiving output signals from the simulation devices 11n (Steps S101 to S104 and Steps S201 to S204 described later). On the other hand, the clock 2 is used to perform processing for outputting input signals to the simulation devices 11n (Steps S301 and S302). The clock 2 is set to be delayed behind the clock 1 by a certain period of time, or more specifically, by a sufficient period of time for the output of all the output signals. In this way, the input/output signal management device 120 can output appropriate input signals after evaluating the temporal order of all the output signals.
[0034] Preprocessing:
[0035] First, the input/output signal management device. 120 loads a predetermined storage area with processing response times p1 and p2 elapsed from the reception of the input signals S1 and S3 by the actual devices 1 and 2 until the output signals S2 and S4 are output.
[0036] S101:
[0037] The simulation device 111 receives the input signal S1 from the input/output signal management device 120 at a time t1.
[0038] S102:
[0039] The simulation device 111 performs response processing and outputs the output signal S2 to the input/output signal management device 120.
[0040] S103:
[0041] The input/output signal management device 120 acquires the processing response time p1 in the actual devices from the predetermined storage area.
[0042] S104:
[0043] The input/output signal management device 120 adds the processing response time p1 to the time t1 to obtain a time vt1. The input/output signal management device 120 manages the output signal S2 as a signal received at the time vt1. Specifically, it loads, for example, the output signal S2 and the time vt1 correspondingly into a predetermined storage means.
[0044] S201:
[0045] The simulation device 112 receives the input signal S3 from the input/output signal management device 120 at a time t2.
[0046] S202:
[0047] The simulation device 111 performs response processing and outputs the output signal S4 to the input/output signal management device 120.
[0048] S203:
[0049] The input/output signal management device 120 acquires the processing response time p2 from the predetermined storage area.
[0050] S204:
[0051] The input/output signal management device 120 adds the processing response time p2 to the time t2 to obtain a time vt2. The input/output signal management device 120 manages the output signal S4 as a signal received at the time vt2. Specifically, it loads, for example, the output signal S4 and the time vt2 correspondingly into a predetermined storage means.
[0052] S301:
[0053] The input/output signal management device 120 outputs an input signal to the simulation device 113. Here the input/output signal management device 120 compares the reception times vt1 and vt2 of the output signals S2 and S4, which have already been received, and transmits Output signal S2 having reached at the earlier time vt1 as Input signal S5 to the simulation device 113.
[0054] S302:
[0055] The simulation device 113 performs response processing and outputs the output signal S6 to an output destination (input/output signal management device 120 or external device (not shown)).
[0056] As described above, the input/output signal management device 120 performs processing to output the input signal to the simulation device 113 when the time vt1 in the clock 2 is reached. The clock 2 is set to be delayed by the certain period of time behind Clock 1, which manages the reception of the output signals from the simulation devices 111 and 112. Thus, after a plurality of output signals are all output, the input/output signal management device 120 can evaluate the order relationship of virtual times at which the output signals are output and output the appropriate input signals to the simulation device 113.
[0057] According to the present embodiment, the input/output signal management device 120 calculates the output times of the output signals from the simulation devices 11n based on the processing response times of the actual devices. Moreover, the input/output signal management device 120 evaluates the output order of the output signals on the virtual times and outputs the appropriate input signals to the other simulation devices 11n. Thus, the input and output of the signals between the plurality of simulation devices 11n can be synchronized with the same accuracy as in the case of the actual devices.
[0058] While embodiments of the present invention have been described herein, the invention is not limited to the above-described embodiments and may be suitably modified and embodied in various forms.