Simulation Synchronization Using Adaptive Virtual Time Scaling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The synchronization of different simulation systems in computer-aided design and manufacturing systems often results in freeze states due to mismatched virtual and real-time scales, leading to jerky motion in graphical representations, as they lack effective synchronization mechanisms.
Innovation Solution
A method and system that adjust the speed of the first simulation system operating at a linear speed by calculating and updating a scaling factor based on the virtual time stamps from both systems, ensuring synchronized execution without freeze states.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If synchronization mechanisms involve both simulation systems regularly into a freeze state, then the virtual time systems can be aligned, but the graphical representation exhibits jerky motion and the system becomes difficult to work with
Solution Approach 1:
The patent applies dynamics by making the scaling factor adjustable and adaptive rather than fixed. The scaling factor is dynamically modified based on the time difference detected between the two simulation systems, allowing the first simulation system to adapt its speed continuously to maintain synchronization without freezing, thereby eliminating jerky motion while preserving synchronization accuracy.
Solution Approach 2:
The patent changes the parameter of the scaling factor from a constant value to a dynamically adjustable value. By modifying the scaling factor based on the detected time difference between simulation systems, the patent enables smooth speed adjustment that maintains synchronization without causing the visual artifacts associated with freeze-state approaches.
2Stability of the object's composition
If the first simulation system runs at a constant linear speed, then the execution is stable and predictable, but it cannot adapt to the varying speed requirements of the second simulation system
Solution Approach 1:
The patent transforms the static scaling factor into a dynamic parameter that can be adjusted in real-time. The scaling factor is modified based on the time difference detected between the two simulation systems, enabling the first simulation system to adapt its execution speed while maintaining overall stability through controlled, incremental adjustments rather than abrupt changes.
Solution Approach 2:
The patent implements a feedback mechanism where the time difference between the two simulation systems is continuously detected and used to adjust the scaling factor. This closed-loop control allows the system to maintain stability while adapting to varying speed requirements, as the scaling factor is adjusted based on actual performance data from the second simulation system.
3Reliability
If the scaling factor is adjusted frequently to match varying speeds, then synchronization accuracy improves, but computational overhead increases
Solution Approach 1:
The patent applies partial action by adjusting the scaling factor only when necessary, based on the detected time difference between simulation systems. Rather than continuously modifying the scaling factor at every possible opportunity, the system performs adjustments selectively based on actual synchronization needs, reducing unnecessary computational overhead while maintaining adequate synchronization accuracy.
Data Source
AI summary
A method synchronizes first and second simulation systems, each operating in a free running operation thereby exchanging data to run the simulation systems. The method includes: a) providing the first simulation system (PLCSIM) being enabled to run in cycles at a linear speed determined by repeatably setting a scaling factor (sn); b) providing the second simulation system (Process Simulate) to run in cycles at different speeds; c) the second simulation system requests at the end of a cycle a virtual time stamp from the first simulation system; d) calculating on the basis of the virtual time stamp a virtual duration time Atnfs and on the basis of the virtual time stamp after completion of the cycle of the second simulation system a virtual duration time Atnss; and e) calculating an update sn+1 for the scaling factor according the most recent scaling factor sn multiplied by Atnss/Atnfs.


