Difference between revisions of "SimpleMotion motion control strategies"
From Granite Devices Knowledge Wiki
[checked revision] | [checked revision] |
Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Strategy !! Implementation !! Features !! Cons !! Need real-time host !! Synchronized multi-axis motion | + | ! Strategy !! Implementation !! Features !! Cons !! Need real-time host !! Synchronized multi-axis motion !! Example implementation |
|- | |- | ||
| Parameter communication || | | Parameter communication || | ||
Line 13: | Line 13: | ||
|| | || | ||
*No multi-axis synchronization, all axes operate in point-to-point mode individually | *No multi-axis synchronization, all axes operate in point-to-point mode individually | ||
− | || No || No | + | || No || No || [https://github.com/GraniteDevices/SimpleMotionV2Examples PointToPointExample] |
|- | |- | ||
| Buffered motion commands || | | Buffered motion commands || | ||
Line 24: | Line 24: | ||
*Use of {{param|CIS}} smoothens any motion above 250 Hz to silky smooth | *Use of {{param|CIS}} smoothens any motion above 250 Hz to silky smooth | ||
|| | || | ||
− | *Delay caused by buffering (0. | + | *Delay caused by buffering (0.2-1.0 sec buffering is recommended to avoid buffer underruns and stopping of motion) |
*Update rate will reduce as more axes are added to the system (due to bus bandwidth limit) | *Update rate will reduce as more axes are added to the system (due to bus bandwidth limit) | ||
*Some added complexity in programming | *Some added complexity in programming | ||
− | || No || Yes | + | || No || Yes|| [https://github.com/GraniteDevices/SimpleMotionV2Examples BufferedMotionStreamExample] |
|- | |- | ||
| Real-time motion commands || | | Real-time motion commands || | ||
Line 41: | Line 41: | ||
*For smooth unterrupted motion, need hard real-time host, such as RTLinux, [[PLC]] or microcontroller platform. | *For smooth unterrupted motion, need hard real-time host, such as RTLinux, [[PLC]] or microcontroller platform. | ||
*[[SimpleMotion V2 USB adapter]] may add uncertainty to timing, so use of other adapter may be necessary (PCI, PCI-E, PLC port or other peripheral, such as microcontroller USART). | *[[SimpleMotion V2 USB adapter]] may add uncertainty to timing, so use of other adapter may be necessary (PCI, PCI-E, PLC port or other peripheral, such as microcontroller USART). | ||
− | || Yes || Yes | + | || Yes || Yes || Coming to GitHub |
|} | |} | ||
Revision as of 12:03, 11 February 2016
SimpleMotion V2 allows building single and multi-axis motion control applications in three different strategies. The table below summarizes the options.
Strategy | Implementation | Features | Cons | Need real-time host | Synchronized multi-axis motion | Example implementation |
---|---|---|---|---|---|---|
Parameter communication |
Send setpoint commands to a target drive with simple "write parameter" commands |
|
|
No | No | PointToPointExample |
Buffered motion commands |
List of positions are uploaded to drive command buffers and executed by drives based on clock |
|
|
No | Yes | BufferedMotionStreamExample |
Real-time motion commands |
Position commands are sent to drives just like in parameter communication strategy, except in high update rate and from real-time host |
|
|
Yes | Yes | Coming to GitHub |