Elmo DSP 402 User Manual

Page of 116
CANopen DSP 402 Implementation Guide 
 
MAN-CAN402IG (Ver. 1.2) 
 
 
92 
12.3.1 Linear 
Interpolation 
Linear interpolation requires only the position specified in data record object 0x60C1. The 
structure of the position data is according to data type 0x41 (refer to the Elmo CANopen 
Implementation Guide
). The velocity at each time point is calculated by finding the 
difference between the corresponding position and the position of the previous point, as 
in the following figure. 
Time
T start
T
T
T
T
P0
P1
P2
P3
 
Figure 10: Linear IP 
In the linear interpolation, two set points can be given in one message and thereby save 
on busload and real time requirements. 
12.3.2 Spline 
Interpolation 
In cubic spline interpolation, the user specifies both the position and the speed at each 
time point. The record data type is 0x44 (refer to the Elmo CANopen Implementation 
Guide
). The drive constructs the motion path to be at the given time, at the given position, 
with the given speed, as in the following figure. Spline interpolation can yield a more 
accurate path specification with fewer time points, but it requires the care in constructing 
the speed data. 
Time
T start
T
T
T
T
P0
P1
P2
P3
 
Figure 11: Spline IP