• Nie Znaleziono Wyników

Jerk by axes in motion along a space curve

N/A
N/A
Protected

Academic year: 2021

Share "Jerk by axes in motion along a space curve"

Copied!
5
0
0

Pełen tekst

(1)

DOI: 10.15632/jtam-pl.55.4.1437

JERK BY AXES IN MOTION ALONG A SPACE CURVE

Michael Tsirlin

ELMO Motion Control, Petah Tiqva, Israel e-mail: mz695444@gmail.com

In the paper, a formula for calculation of the jerk of a point moving along a space curve is derived. Such a formula is needed for control of motion to calculate jerks (second derivatives of the velocity) by axes of motion. On the basis of this formula, an expression for the maximum admissible velocity on the space curve to satisfy limitation by the jerk is given as well. Such a requirement also arises in the motion control.

Keywords:jerk, motion control, profiler

1. Introduction

In the multi axis motion control, a motion command may contain four kinematics parameters: position, velocity, acceleration and jerk. Such a command must be issued for each axis x, y and z controlled by a servo on each control cycle. While calculation of the velocity and acceleration is trivial, calculation of jerk (that is mainly used for analysis of motion) is a new demand. In a number of papers devoted to the motion control, a tangential jerk along the trajectory is considered while the problem of jerk caused by a high curvature on the transition curve between two line segments is a new one. For a particular case of planar motion, the jerk vector was considered by Shot (1978). In this special case, the jerk can be resolved into tangential and normal components. As will be shown below, in the case of 3D space motion, the jerk vector has three components although the acceleration vector still can be decomposed into tangential and normal.

Consider a space curve in the 3D space defined by a vector function γ(σ) = {ϕx(σ), ϕy(σ), ϕz(σ)}. In further considerations, any special nature of the parameter σ (σ – is not time or arc length s) and any special limit of the parameter variation are not supposed. We suppose here that γ(σ) is a continuous mapping σ → R3, σ ∈ [a, b] with three

times differentiable coordinate functions ϕx(σ), ϕy(σ), ϕz(σ) that define geometrical properties of the curve.

As γ(σ) = {ϕx(σ), ϕ′y(σ), ϕ′z(σ)} then the unit tangent vector can be defined as τ (σ) = {ϕ′x(σ)/kγ(σ)k, ϕ

y(σ)/kγ′(σ)k, ϕ′z(σ)/kγ′(σ)k}.

The second derivative a(σ) = γ′′(σ) = {ϕ′′x(σ), ϕ′′y(σ), ϕ′′z(σ)} with a normal compo-nent an(σ) = a(σ) − [a(σ) · τ (σ)]τ (σ). Then, the unit normal vector can be defined as

n= an(σ)/kan(σ)k.

The binormal unit vector b(σ) can be defined as τ (σ) × n(σ). Thus, we know the Frenet--Serret frame τ (σ), n(σ) and b(σ) for each parameter value σ.

Consider a point moving along a curve defined by its radius-vector r(t). For each control cycle (at time t) from the profiler calculations we know the position increment along the curve s(t), velocity along the curve ds/dt = v(t), acceleration along the curve d2s/dt2 = a(t) and jerk along the curve d3s/dt3 = J(t), where s is a distance along the curve. The value of the curve parameter σ is not known but with the use of numerical methods, the mapping s → σ can be done with any required precision.

(2)

2. Vector of jerks for the position increment s(t)

The velocity and acceleration vectors of the point moving along the space curve are defined by

v(t) = dr dt = τ ds dt  a(t) = dv dt = τ d2s dt2  + nds dt 2 1 ρ(s) = τ d2s dt2  + nds dt 2 K1(s) (2.1)

where K1(s) and ρ(s) are the curvature and radius of the curvature at point s.

The vector of the third derivative (jerk) can be calculated as da(t)/dt

J(t) = da dt = ds ds dt d2s dt2 + τ d3s dt3  +dn ds ds dt 3 K1(s) + n dhds dt 2 K1(s) i dt (2.2) At first, we consider n dhds dt 2 K1(s) i dt = n h 2ds dt d2s dt2K1(s) + ds dt 2dK1(s) ds ds dt i (2.3) By the Frenet-Serret formulas

ds = K1n

dn

ds = −K1τ+ K2b (2.4)

The curvature K1 and torsion K2for an arbitrary curve parameter σ (which is not necessarily

the arc length s) at the parameter point σ are calculated by K1(σ) = (σ) × γ′′(σ)k (σ)k3 K2(σ) = (σ), γ′′(σ), γ′′′(σ)] (σ) × γ′′(σ)k2 = (σ) × γ′′(σ)] · γ′′′(σ) (σ) × γ′′(σ)k2 (2.5)

where γ(σ), γ′′(σ), γ′′′(σ) are known curve derivatives, and the curve parameter σ can be found from the numerical mapping s → σ (if σ 6= s) that must be done for each point s. We calculate curvature and torsion at the parameter point σ that corresponds to the increment s along the curve. Point s is a point where the profiler calculations have just determined ds/dt, d2s/dt2,

d3s/dt3. So, at the point s, we can use K1(σ) and K2(σ) instead of K1(s) and K2(s). Below we

use designations K1 and K2.

From (2.2)-(2.4), we get J(t) = K1n ds dt d2s dt2 + τ d3s dt3  + (−K1τ+ K2b) ds dt 3 K1 + nh2ds dt d2s dt2K1+ ds dt 2dK1(s) ds ds dt i = τhd 3s dt3 − K 2 1 ds dt 3i + nhK1(s) ds dt d2s dt2 + 2 ds dt d2s dt2K1+ ds dt 2dK1(s) ds ds dt i + bK2 ρ ds dt 3 = τhd 3s dt3 ds dt 3 K12i+ nh3ds dt d2s dt2K1+ ds dt 3dK1(s) ds i + bhK2 ds dt 3 K1 i (2.6)

Since we do not know the function K1(s) then calculation of its derivative at the point s

requires special consideration. K1(s) = K1[s(σ)] = K1σ(σ), and by differentiating both sides we

get dK1(s) ds = dK1σ(σ) ds = dK1σ(σ) ds = dK1σ(σ) .ds = dK1σ(σ) 1 (σ)k (2.7)

(3)

where instead of the unknown dσ/ds we used the derivative ds/dσ = kγ′(σ)k of the inverse function s(σ), that is a curve length function

dK1σ(σ) = d(σ)×γ(σ)k′′(σ)k3 =dkγ (σ) × γ′′(σ)k (σ)k3− kγ(σ) × γ′′(σ)kdkγ (σ)k3  1 (σ)k6 = dkγ (σ) × γ′′(σ)k 1 (σ)k3 − K1(σ) dkγ′(σ)k3 1 (σ)k3 (2.8)

Below we assume that for any vector p the derivative of its Euclidean norm can be calculated as kpk = 1 2(p p+ pp) 1 pp = pp kpk dkγ(σ) × γ′′(σ)k = (σ) × γ′′(σ)] [γ′′(σ) × γ′′(σ) + γ(σ) × γ′′′(σ)] (σ) × γ′′(σ)k = (σ) × γ′′(σ)] [γ(σ) × γ′′′(σ)] (σ) × γ′′(σ)k dkγ′(σ)k3 = 3kγ (σ)k2dkγ (σ)k = 3kγ (σ)k2γ (σ)γ′′(σ) (σ)k = 3kγ (σ)k[γ(σ)γ′′(σ)] (2.9)

So, finally we get dK1σ(σ) = (σ) × γ′′(σ)] [γ(σ) × γ′′′(σ)] (σ)k3(σ) × γ′′(σ)k − 3K1(σ) γ(σ)γ′′(σ) (σ)k2 (2.10)

Another derivation of (2.10) was given by Angeles (2003, pp. 371-372).

In some cases (cubic spline with iterative adaptation of the parameter σ or PH-curve proposed by Farouki (2010)) we can use the curve parameter close or equal to natural σ = s. In such cases, the curvature K1 and its derivative dK1/ds are defined as

K1 = kγ′′(s)k = q [ϕ′′ x(σ)]2+ [ϕ′′y(σ)]2+ [ϕ′′z(σ)]2 dK1 ds = 1 K1 [ϕ′′x(σ)ϕ′′′x(σ) + ϕ′′y(σ)ϕ′′′y (σ) + ϕ′′z(σ)ϕ′′′z(σ)] = γ ′′(σ)γ′′′(σ) ′′(s)k (2.11)

In (2.6), we have come to the vector

J(t) = τ (σ)C1+ n(σ)C2+ b(σ)C3 (2.12)

The vectors τ (σ), n(σ) and b(σ) are defined above, and the scalar coefficients C1, C2, C3 are

also known from (2.6) C1= d3s dt3 K1 ρ ds dt 3 = J(t) − K12v3(t) C2= 3 ds dt d2s dt2K1+ ds dt 3dK1(s) ds = 3v(t)a(t)K1+ v 3(t)dK1(σ) 1 (σ)k C3= K2 ρ ds dt 3 = K1K2v3(t) (2.13)

(4)

3. Applications of the formula

In the case of uniform motion with ds/dt = V , d2s/dt2= 0 and d3s/dt3 = 0 we get

C1= − K1 ρ ds dt 3 = −K12V3 C2= ds dt 3dK1(s) ds = V 3dK1(σ) 1 (σ)k C3= K2 ρ ds dt 3 = K1K2V3 (3.1)

In the case of plane 2D motion with K2= 0

C1= d 3s dt3 K1 ρ ds dt 3 = J(t) − K12v3(t) C2= 3v(t)a(t)K1+ v3(t) dK1(σ) 1 (σ)k C3= 0 (3.2)

Formulas (3.1) can be used for the estimation of the maximum velocity V admissible on the curve to satisfy condition kJk ¬ Jmax. While generating the trajectory, instead of K1(s) and

K2(s) we know K1(σ) and K2(σ) for any parameter value σ. So, in the case of uniform motion

with ds/dt = V and designation Kf1= [dK1(σ)/dσ]/kγ′(σ)k we get

kJ(σ)k = q K4 1(σ)V6+ V6Kf12+ K12(σ)K22(σ)V6 = V3 q K4 1(σ) +Kf12+ K12(σ)K22(σ) = V3 q Ψ (σ) (3.3) and the maximum velocity admissible at all trajectory points must satisfy

V ¬ 3 Jmax 6 p max Ψ (σ) (3.4)

In most applications, the point σ∗ that produces Ψ (σ∗) = max Ψ (σ) belongs to a small neigh-borhood of the point σp such that γ(σp) can be called the peak of the curve.

In the case of 2D uniform motion, ds/dt = V , K2(σ) = 0, and we get

kJ(σ)k = V3

q

K4

1(σ) +Kf12 (3.5)

Fig. 1. (a) Velocity vector modulus. (b) Jerk vector modulus

In Fig. 1a, we can see a velocity decrease from 5 · 105 down to 218560.65 to satisfy the

condition kJ(σ)k ¬ 109. It happens on the transition curve between two lines constructed as a 3D septic polynomial. In Fig. 1b, we can see that the jerk comes exactly to the limiting value (time is measured in seconds, velocity in count/s, jerk in count/s3). The calculations have been

(5)

References

1. Angeles J., 2003, Fundamentals of Robotic Mechanical Systems: Theory, Methods and Algorithms, Springer

2. Farouki R.T., 2010, Pythagorean-Hodograph Curves, Springer 3

3. Schot S.H., 1978, Jerk: the time rate of change of acceleration, American Journal of Physics, 46, 11, 1090-1105

Cytaty

Powiązane dokumenty

In this paper we continue our study of exactly 2-to-1 maps from continua onto arc-continua, without the hypothesis of tree-likeness, and we have found some simple conditions on

Recently, Juneja and Srivastava[9| have obtained the classical interpretation of convergence in the space r F,,(p) of all entire functions whose index pair does not

In [5] we have constructed a linear orthonormai frame field along a curve in the space P(p,g) of p—dimensional planes in the (p + g)-dimensional euclidean space E p + i , i']le

Je»eli ramiona k¡ta przetniemy dwie- ma prostymi równolegªymi, to odcinki wyznaczone na jednym ramieniu k¡ta s¡ proporcjonalne do odpowiednich odcinków na drugim ramieniu

[Recenzja]: Zdzisław Gębołyś, Bibliografi a druków w języku polskim wydanych na Litwie od 1944 do 2014 roku, Sosnowiec-Wilno 2015, Wydawca: Stowarzy-.. szenie Naukowców

"The main objectives of the mission are to understand how and where the solar wind plasma and the magnetic field originate in the corona; how solar transients, like flares

The present paper gives similar estimates for other zeta-functions (Theo- rem 1), and improves the constants in the above inequalities for the Riemann zeta-function (Theorem 2)..

We observe that Cohen’s result, formulated for algebraic number fields, is par- tially explicit and gives, in the case of the rational field, the following bound:.. Under the