-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello Aaditya, Great question! This is a somewhat arbitrary simplification. It came from somewhere but I don't remember exactly where I saw it — likely it's from a course that's actually taught by Auke Ijspeert himself. In any case, the intuition is simply that "if r is bigger than the nominal/target R, it should go down, otherwise it should go up, subject to some gain." The two dynamical systems are very similar. As an arbitrary example, if we choose R=1, a=10, r(0)=2, r'(0)=-1, then we can observe the following time evolution: Indeed, if we further plot the phase portrait and overlay the example trajectories on top, we observe: An important advantage of the original form from Ijspeert et al., 2007 is that it constraints the system so that |r'(t)| never gets too large (see how the blue line never goes below r'<2 in the first figure on the right). The intuition:
Graphically, you can see that the arrows in the Quiver plot slowly push the state to the other side of the diagonal-ish line, where the r' gets pushed down toward 0. A somewhat constrained |r'| might avoid numerical instabilities. I've attached the plotting script below. Let me know if this answers your question. |
Beta Was this translation helpful? Give feedback.
Hello Aaditya,
Great question! This is a somewhat arbitrary simplification. It came from somewhere but I don't remember exactly where I saw it — likely it's from a course that's actually taught by Auke Ijspeert himself.
In any case, the intuition is simply that "if r is bigger than the nominal/target R, it should go down, otherwise it should go up, subject to some gain." The two dynamical systems are very similar. As an arbitrary example, if we choose R=1, a=10, r(0)=2, r'(0)=-1, then we can observe the following time evolution:
Indeed, if we further plot the phase portrait and overlay the example trajectories on top, we observe:
so both dynamical systems have the same fixed point, and …