Difference between revisions of "AXY:Element Synchronization/Design"

From SoftMC-Wiki
Jump to: navigation, search
(Pre-Calculation)
(Master Profile)
Line 47: Line 47:
  
 
<center>
 
<center>
<gallery widths= 400px heights= 200px>
+
<gallery widths= 400px heights= 300px>
 
Image:AXY;MasterProfiler.png|''Master profiler''
 
Image:AXY;MasterProfiler.png|''Master profiler''
 
Image:AXY;MasterProfilerAcceleration.png|''Master profiler accleration''
 
Image:AXY;MasterProfilerAcceleration.png|''Master profiler accleration''
Line 53: Line 53:
 
</center>
 
</center>
  
[[Image:AXY;SyncListProfiles.png | Sync List profiles]]
+
 
 +
 
 +
<gallery widths= 600px heights= 300px>
 +
Image:AXY;SyncListProfiles.png|''Sync List profiles''
 +
</gallery>

Revision as of 08:45, 6 February 2012

Element Synchronization Design

Common algorithms to both SyncStart and SyncAll:


Pre-Calculation

Is done in MotionManager task, initiated by message sent from SyncStart/All commands:

In case of SyncStart we sperately execute MotCalc on every element from the sync-list: (el1 , el2 , el3 , ... eln ):

FOR element FROM sync-list
   element->MotCalc()
NEXT

In case of SyncAll it is little bit more complicated, every element is pre-calculated in order to estimate it's own max profile values:

FOR element FROM sync-list
element->MotCalc() ==> Li , Vi , Ai , Di , Jai ,  Jdi
NEXT

And then generate a master profile with the following parameters:

Master Profile

The master profile data-structure will be copied to the profile-data-structure of all other elements. Master profile:

, , , , ,


where

The master profile data-structure will be copied to the profile-data-structure of all other elements.

The complete system of the sync-list motion profiles will be executed together just be scaling each of them by the factor of: