This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

\UseRawInputEncoding

Standard Dual Quaternion Optimization and Its Applications in Hand-Eye Calibration and SLAM

Liqun Qi111Department of Applied Mathematics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong; Department of Mathematics, School of Science, Hangzhou Dianzi University, Hangzhou 310018 China ([email protected]).
Abstract

Several common dual quaternion functions, such as the power function, the magnitude function, the 22-norm function and the kkth largest eigenvalue of a dual quaternion Hermitian matrix, are standard dual quaternion functions, i.e., the standard parts of their function values depend upon only the standard parts of their dual quaternion variables. Furthermore, the sum, product, minimum, maximum and composite functions of two standard dual functions, the logarithm and the exponential of standard unit dual quaternion functions, are still standard dual quaternion functions. On the other hand, the dual quaternion optimization problem, where objective and constraint function values are dual numbers but variables are dual quaternions, naturally arises from applications. We show that to solve an equality constrained dual quaternion optimization problem, we only need to solve two quaternion optimization problems. If the involved dual quaternion functions are all standard, the optimization problem is called a standard dual quaternion optimization problem, and some better results hold. Then, we show that the dual quaternion optimization problems arising from the hand-eye calibration problem and the simultaneous localization and mapping (SLAM) problem are equality constrained standard dual quaternion optimization problems.

Key words. Standard dual quaternion functions, dual quaternion optimization, quaternion optimization, hand-eye calibration, simultaneous localization and mapping.

1 Introduction

Dual quaternions have wide applications in robotics, 3D motion modelling and control, and computer graphics [1, 2, 4, 9, 10, 13, 14, 15, 16, 17, 23].

According to [18], the magnitudes of dual quaternions and the 22-norms of dual quaternion vectors are dual numbers. A total order was defined for dual numbers in [18]. Thus, dual quaternion optimization problems, where objective and constraint function values are dual numbers but variables are dual quaternions, naturally arise. In particular, the least squares approach results in such optimization problems. In Section 5, we will present such dual quaternion optimization problems arising from hand-eye calibration. However, how to solve a dual quaternion optimization problem is still a problem. First, there is no calculus concepts for dual quaternion functions. Even the limit concept is not established for dual quaternion functions. Second, unlike quaternion optimization problems, which can be transformed to one-level real optimization problems, general dual quaternion optimization problems are essentially bilevel optimization problems. These are difficulties.

Fortunately, some common dual quaternion functions are easy to handle. Several common dual quaternion functions, such as the power function, the magnitude function, the 22-norm function and the kkth largest eigenvalue of a dual quaternion Hermitian matrix, are standard dual quaternion functions. The standard parts of the function values of these functions depend upon only the standard parts of their dual quaternion variables. Furthermore, the sum, product, minimum, maximum and composite functions of two standard dual functions, the logarithm and the exponential of a standard unit dual quaternion functions, are still standard dual quaternion functions. Then we show that to solve an equality constrained dual quaternion optimization problem, we only need to solve two quaternion optimization problems. For a dual quaternion optimization problem, if its objective and constraint functions are all standard, then we call it a standard dual quaternion optimization problem, and some better results hold there. Finally, we show that the dual quaternion optimization problems arising from the hand-eye calibration problem are equality constrained standard dual quaternion optimization problems, and thus relatively easier to handle. This provides a method to solve this problem.

In the next section, we present some preliminary knowledge on dual numbers, dual quaternions and quaternion optimization. Standard dual quaternion functions are studied in Section 3. A solution method for the equality constrained dual quaternion optimization problem is proposed, and standard dual quaternion optimization is discussed in Section 4. In Section 5, we show that equality constrained standard dual quaternion optimization problem has some better properties. Finally, in Sections 6 and 7, we show that the dual quaternion optimization problems arising from the hand-eye calibration problem and the simultaneous localization and mapping (SLAM) problem are equality constrained standard dual quaternion optimization problems.

Scalars, vectors and matrices are denoted by small letters, bold small letters and capital letters, respectively. Dual numbers and dual quaternions are distinguished by a hat symbol.

2 Dual Numbers, Quaternions and Dual Quaternions

2.1 Dual Numbers

The set of the dual numbers is denoted as ^\hat{\mathbb{R}}. Following the literature such as [23], we use the hat symbol to denote dual numbers and dual quaternions. A dual number q^\hat{q} has the form q^=q+qdϵ\hat{q}=q+q_{d}\epsilon, where qq and qdq_{d} are real numbers, and ϵ\epsilon is the infinitesimal unit, satisfying ϵ2=0\epsilon^{2}=0. The quaternion qq is called the real part or the standard part of q^\hat{q}, and the quaternion qdq_{d} is called the dual part or the infinitesimal part of q^\hat{q}. The infinitesimal unit ϵ\epsilon is commutative in multiplication with real numbers, complex numbers and quaternion numbers. If q0q\not=0, q^\hat{q} is said to be appreciable, otherwise, q^\hat{q} is said to be infinitesimal.

A total order was introduced in [18] for dual numbers. Given two dual numbers p^,q^^\hat{p},\hat{q}\in\hat{\mathbb{R}}, p^=p+pdϵ\hat{p}=p+p_{d}\epsilon, q^=q+qdϵ\hat{q}=q+q_{d}\epsilon, where pp, pdp_{d}, qq and qdq_{d} are real numbers, we say that p^q^\hat{p}\leq\hat{q}, if either p<qp<q, or p=qp=q and pdqdp_{d}\leq q_{d}. In particular, we say that p^\hat{p} is positive, nonnegative, nonpositive or negative, if p^>0\hat{p}>0, p^0\hat{p}\geq 0, p^0\hat{p}\leq 0 or p^<0\hat{p}<0, respectively.

2.2 Quaternions

The set of the quaternions is denoted by \mathbb{Q}. A quaternion qq has the form q=q0+q1𝐢+q2𝐣+q3𝐤,q=q_{0}+q_{1}\mathbf{i}+q_{2}\mathbf{j}+q_{3}\mathbf{k}, where q0,q1,q2q_{0},q_{1},q_{2} and q3q_{3} are real numbers, 𝐢,𝐣\mathbf{i},\mathbf{j} and 𝐤\mathbf{k} are three imaginary units of quaternions, satisfying

𝐢2=𝐣2=𝐤2=𝐢𝐣𝐤=1,𝐢𝐣=𝐣𝐢=𝐤,𝐣𝐤=𝐤𝐣=𝐢,𝐤𝐢=𝐢𝐤=𝐣.\mathbf{i}^{2}=\mathbf{j}^{2}=\mathbf{k}^{2}=\mathbf{i}\mathbf{j}\mathbf{k}=-1,~{}~{}\mathbf{i}\mathbf{j}=-\mathbf{j}\mathbf{i}=\mathbf{k},~{}~{}\mathbf{j}\mathbf{k}=-\mathbf{k}\mathbf{j}=\mathbf{i},~{}~{}\mathbf{k}\mathbf{i}=-\mathbf{i}\mathbf{k}=\mathbf{j}.

The real part of qq is Re(q)=q0(q)=q_{0}. The imaginary part of qq is Im(q)=q1𝐢+q2𝐣+q3𝐤(q)=q_{1}\mathbf{i}+q_{2}\mathbf{j}+q_{3}\mathbf{k}. The multiplication of quaternions satisfies the distribution law, but is noncommutative.

The conjugate of q=q0+q1𝐢+q2𝐣+q3𝐤q=q_{0}+q_{1}\mathbf{i}+q_{2}\mathbf{j}+q_{3}\mathbf{k} is q:=q0q1𝐢q2𝐣q3𝐤.q^{*}:=q_{0}-q_{1}\mathbf{i}-q_{2}\mathbf{j}-q_{3}\mathbf{k}. The magnitude of qq is |q|=q02+q12+q22+q32.|q|=\sqrt{q_{0}^{2}+q_{1}^{2}+q_{2}^{2}+q_{3}^{2}}. It follows that the inverse of a nonzero quaternion qq is q1=q/|q|2.q^{-1}={q^{*}/|q|^{2}}. For any two quaternions pp and qq, we have (pq)=qp(pq)^{*}=q^{*}p^{*}.

A quaternion is said imaginary if its real part is zero. If qq is imaginary, then q=qq^{*}=-q. In the literature [23], it is called a vector quaternion. Various 3D vectors, such as position vectors, displacement vectors, linear velocity vectors, and angular velocity vectors, can be represented as imaginary quaternions.

If |q|=1|q|=1, then qq is called a unit quaternion, or a rotation quaternion. A spatial rotation around a fixed point of θ\theta radians about a unit axis (x1,x2,x3)(x_{1},x_{2},x_{3}) that denotes the Euler axis is given by the unit quaternion

q=cos(θ/2)+x1sin(θ/2)𝐢+x2sin(θ/2)𝐣+x3sin(θ/2)𝐤=eθ2x.q=\cos(\theta/2)+x_{1}\sin(\theta/2)\mathbf{i}+x_{2}\sin(\theta/2)\mathbf{j}+x_{3}\sin(\theta/2)\mathbf{k}=e^{{\theta\over 2}x}. (1)

where the unit axis xx is an imaginary unit quaternion x=x1𝐢+x2𝐣+x3𝐤x=x_{1}\mathbf{i}+x_{2}\mathbf{j}+x_{3}\mathbf{k}. We may also write

lnq=θ2x.\ln q={\theta\over 2}x. (2)

A unit quaternion qq is always invertible and q1=qq^{-1}=q^{*}.

The collection of nn-dimensional quaternion vectors is denoted by n{\mathbb{Q}}^{n}. For 𝐱=(x1,x2,,xn),𝐲=(y1,y2,,yn)n\mathbf{x}=(x_{1},x_{2},\cdots,x_{n})^{\top},\mathbf{y}=(y_{1},y_{2},\cdots,y_{n})^{\top}\in{\mathbb{Q}}^{n}, define 𝐱𝐲=i=1nxiyi\mathbf{x}^{*}\mathbf{y}=\sum_{i=1}^{n}x_{i}^{*}y_{i}, where 𝐱=(x1,x2,,xn)\mathbf{x}^{*}=(x_{1}^{*},x_{2}^{*},\cdots,x_{n}^{*}) is the conjugate transpose of 𝐱\mathbf{x}.

2.3 Dual Quaternions and Unit Dual Quaternions

The set of dual quaternions is denoted by ^\hat{\mathbb{Q}}. A dual quaternion q^^\hat{q}\in\hat{\mathbb{Q}} has the form

q^=q+qdϵ,\hat{q}=q+q_{d}\epsilon, (3)

where q,qdq,q_{d}\in\mathbb{Q} are the standard part and the dual part of q^\hat{q}, respectively. If q0q\not=0, then we say that q^\hat{q} is appreciable. If qq and qdq_{d} are imaginary quaternions, then q^\hat{q} is called an imaginary dual quaternion.

The conjugate of q^\hat{q} is

q^=q+qdϵ.\hat{q}^{*}=q^{*}+q_{d}^{*}\epsilon. (4)

Thus, if q^=q^\hat{q}=\hat{q}^{*}, then q^\hat{q} is a dual number. If q^\hat{q} is imaginary, then q^=q^\hat{q}^{*}=-\hat{q}.

The magnitude of q^\hat{q} was defined in [18] as

|q^|:={|q|+(qqd+qdq)2|q|ϵ,ifq0,|qd|ϵ,otherwise,|\hat{q}|:=\left\{\begin{aligned} |q|+{(qq_{d}^{*}+q_{d}q^{*})\over 2|q|}\epsilon,&\ {\rm if}\ q\not=0,\\ |q_{d}|\epsilon,&\ {\rm otherwise},\end{aligned}\right. (5)

which is a dual number.

For two dual quaternions p^=p+pdϵ\hat{p}=p+p_{d}\epsilon and q^=q+qdϵ\hat{q}=q+q_{d}\epsilon, their addition and multiplications are defined as

p^+q^=(p+q)+(pd+qd)ϵ\hat{p}+\hat{q}=\left(p+q\right)+\left(p_{d}+q_{d}\right)\epsilon

and

p^q^=pq+(pqd+pdq)ϵ.\hat{p}\hat{q}=pq+\left(pq_{d}+p_{d}q\right)\epsilon.

A dual number is always commutative with a dual quaternion or a dual quaternion vector.

A dual quaternion q^\hat{q} is called invertible if there exists a quaternion p^\hat{p} such that p^q^=q^p^=1\hat{p}\hat{q}=\hat{q}\hat{p}=1. A dual quaternion q^\hat{q} is invertible if and only if q^\hat{q} is appreciable. In this case, we have

q^1=q1q1qdq1ϵ.\hat{q}^{-1}=q^{-1}-q^{-1}q_{d}q^{-1}\epsilon.

If |q^|=1|\hat{q}|=1, then q^\hat{q} is called a unit dual quaternion. A unit dual quaternion q^\hat{q} is always invertible and we have q^1=q^{\hat{q}}^{-1}={\hat{q}}^{*}. The 3D motion of a rigid body can be represented by a unit dual quaternion. We have

q^q^=(q+qdϵ)(q+qdϵ)=qq+(qqd+qdq)ϵ=q^q^.\hat{q}\hat{q}^{*}=(q+q_{d}\epsilon)(q^{*}+q_{d}^{*}\epsilon)=qq^{*}+(qq_{d}^{*}+q_{d}q^{*})\epsilon=\hat{q}^{*}\hat{q}.

Thus, q^\hat{q} is a unit dual quaternion if and only if qq is a unit quaternion, and

qqd+qdq=qqd+qdq=0.qq_{d}^{*}+q_{d}q^{*}=q^{*}q_{d}+q_{d}^{*}q=0. (6)

Suppose that there is a rotation qq\in{\mathbb{Q}} succeeded by a translation pbp^{b}\in{\mathbb{Q}}, where pbp^{b} is an imaginary quaternion. The superscripts bb and ss represent the relation of the rigid body motion with respect to the body frame attached to the rigid body and the spatial frame which is relative to a fixed coordinate frame. Then the whole transformation can be represented by unit dual quaternion q^=q+qdϵ\hat{q}=q+q_{d}\epsilon, where qd=12qpbq_{d}={1\over 2}qp^{b}. Note that we have

qqd+qdq=12[q(pb)q+qpbq]=12q[(pb)+pb]q=0.qq_{d}^{*}+q_{d}q^{*}={1\over 2}\left[q(p^{b})^{*}q^{*}+qp^{b}q^{*}\right]={1\over 2}q\left[(p^{b})^{*}+p^{b}\right]q^{*}=0.

Thus, a transformation of a rigid body can be represented by a unit dual quaternion

q^=q+ϵ2qpb,\hat{q}=q+{\epsilon\over 2}qp^{b}, (7)

where qq is a unit quaternion to represent the rotation, and pbp^{b} is the imaginary quaternion to represent the translation or the position. In (7), qq is the attitude of the rigid body, while q^\hat{q} represents the transformation.

Combining (7) with (2), we have

lnq^=12(θx+ϵpb).\ln\hat{q}={1\over 2}(\theta x+\epsilon p^{b}). (8)

A unit dual quaternion q^\hat{q} serves as both a specification of the configuration of a rigid body and a transformation taking the coordinates of a point from one frame to another via rotation and translation. In (7), if q^\hat{q} is the configuration of the rigid body, then qq and pbp^{b} are the attitude of and position of the rigid body respectively.

Denote the collection of nn-dimensional dual quaternion vectors by ^n{\hat{\mathbb{Q}}}^{n}.

For 𝐱^=(x^1,x^2,,x^n)\hat{\mathbf{x}}=(\hat{x}_{1},\hat{x}_{2},\cdots,\hat{x}_{n})^{\top}, 𝐲^=(y^1,y^2,,y^n)^n\hat{\mathbf{y}}=(\hat{y}_{1},\hat{y}_{2},\cdots,\hat{y}_{n})^{\top}\in{\hat{\mathbb{Q}}}^{n}, define 𝐱^𝐲^=i=1nx^iy^i\hat{\mathbf{x}}^{*}\hat{\mathbf{y}}=\sum_{i=1}^{n}\hat{x}_{i}^{*}\hat{y}_{i}, where 𝐱^=(x^1,x^2,,x^n)\hat{\mathbf{x}}^{*}=(\hat{x}_{1}^{*},\hat{x}_{2}^{*},\cdots,\hat{x}_{n}^{*}) is the conjugate transpose of 𝐱^\hat{\mathbf{x}}. We say 𝐱^\hat{\mathbf{x}} is appreciable if at least one of its component is appreciable.

For 𝐱^=(x^1,x^2,,x^n)\hat{\mathbf{x}}=(\hat{x}_{1},\hat{x}_{2},\cdots,\hat{x}_{n})^{\top}, by [18], if not all of x^i\hat{x}_{i} are infinitesimal, its 22-norm is defined as

𝐱^2=i=1n|x^i|2.\|\hat{\mathbf{x}}\|_{2}=\sqrt{\sum_{i=1}^{n}|\hat{x}_{i}|^{2}}. (9)

If all x^i\hat{x}_{i} are infinitesimal, we have x^i=(xi)dϵ\hat{x}_{i}=(x_{i})_{d}\epsilon for i=1,2,,ni=1,2,\ldots,n. Then we have

𝐱^2=i=1n|(xi)d|2ϵ.\|\hat{\mathbf{x}}\|_{2}=\sqrt{\sum_{i=1}^{n}|(x_{i})_{d}|^{2}}\epsilon. (10)

3 Standard Dual Quaternion Functions

We call a function f^:^n^\hat{f}:{\hat{\mathbb{Q}}}^{n}\to{\hat{\mathbb{R}}} a dual quaternion function. Let

f^(𝐱^)=f(𝐱^)+ϵfd(𝐱^)\hat{f}(\hat{\mathbf{x}})=f(\hat{\mathbf{x}})+\epsilon f_{d}(\hat{\mathbf{x}})

and

𝐱^=𝐱+ϵ𝐱d,\hat{\mathbf{x}}=\mathbf{x}+\epsilon\mathbf{x}_{d},

where f(𝐱^),fd(𝐱^)f(\hat{\mathbf{x}}),f_{d}(\hat{\mathbf{x}})\in\mathbb{Q}, 𝐱,𝐱dn\mathbf{x},\mathbf{x}_{d}\in{\mathbb{Q}}^{n} are the standard parts and dual parts of f^(𝐱^)\hat{f}(\hat{\mathbf{x}}) and 𝐱^\hat{\mathbf{x}}, respectively. If f(𝐱^)f(𝐱)f(\hat{\mathbf{x}})\equiv f(\mathbf{x}) for all 𝐱^^n\hat{\mathbf{x}}\in{\hat{\mathbb{Q}}}^{n}, then we say that f^\hat{f} is a standard dual quaternion function.

A simple example is the power function. Consider the power function f^(x^)=(x^)m\hat{f}(\hat{x})=(\hat{x})^{m} for a positive integer mm. Let x^=x+ϵxd\hat{x}=x+\epsilon x_{d}. Then f^(x^)=(x^)m=xm+mϵxm1xd\hat{f}(\hat{x})=(\hat{x})^{m}=x^{m}+m\epsilon x^{m-1}x_{d}, i.e., f(x^)=xm=f^(x)f(\hat{x})=x^{m}=\hat{f}(x). By (5), the magnitude function is also a standard quaternion function. By (5), (9) and (10), the 22-norm function is also a standard quaternion function. A fourth example is f^(A^)=λ^k(A^)\hat{f}(\hat{A})=\hat{\lambda}_{k}(\hat{A}), where A^\hat{A} is the an n×nn\times n dual quaternion Hermitian matrix, λ^k(A^)\hat{\lambda}_{k}(\hat{A}) is the kkth largest eigenvalue of AA, 1kn1\leq k\leq n. By Theorem 4.1 of [19], this is also a standard dual quaternion function.

Furthermore, many operations preserve standard dual quaternion functions.

Theorem 3.1.

Suppose that f^,g^:^n^\hat{f},\hat{g}:{\hat{\mathbb{Q}}}^{n}\to{\hat{\mathbb{R}}} are two standard dual quaternion functions. Then their sum, product, minimum and maximum functions are still standard dual quaternion functions.

Proof.

Let h^(𝐱^)=f^(𝐱^)+g^(𝐱^)\hat{h}(\hat{\mathbf{x}})=\hat{f}(\hat{\mathbf{x}})+\hat{g}(\hat{\mathbf{x}}). Then h^=h+ϵhd\hat{h}=h+\epsilon h_{d}, where

h(𝐱^)=f(𝐱^)+g(𝐱^)=f(𝐱)+g(𝐱)=h(𝐱),h(\hat{\mathbf{x}})=f(\hat{\mathbf{x}})+g(\hat{\mathbf{x}})=f(\mathbf{x})+g(\mathbf{x})=h(\mathbf{x}),

i.e., h^\hat{h} is also a standard dual quaternion function. This proves the first conclusion.

Let h^(𝐱^)=f^(𝐱^)g^(𝐱^)\hat{h}(\hat{\mathbf{x}})=\hat{f}(\hat{\mathbf{x}})\hat{g}(\hat{\mathbf{x}}). Then h^=h+ϵhd\hat{h}=h+\epsilon h_{d}, where

h(𝐱^)=f(𝐱^)g(𝐱^)=f(𝐱)g(𝐱)=h(𝐱),h(\hat{\mathbf{x}})=f(\hat{\mathbf{x}})g(\hat{\mathbf{x}})=f(\mathbf{x})g(\mathbf{x})=h(\mathbf{x}),

i.e., h^\hat{h} is also a standard dual quaternion function. This proves the second conclusion.

Let h^(𝐱^)=min{f^(𝐱^),g^(𝐱^)}\hat{h}(\hat{\mathbf{x}})=\min\{\hat{f}(\hat{\mathbf{x}}),\hat{g}(\hat{\mathbf{x}})\}. Then h^=h+ϵhd\hat{h}=h+\epsilon h_{d}, where

h(𝐱^)=min{f(𝐱^),g(𝐱^)}=min{f(𝐱),g(𝐱)}=h(𝐱),h(\hat{\mathbf{x}})=\min\{f(\hat{\mathbf{x}}),g(\hat{\mathbf{x}})\}=\min\{f(\mathbf{x}),g(\mathbf{x})\}=h(\mathbf{x}),

i.e., h^\hat{h} is also a standard dual quaternion function. This proves the third conclusion.

The fourth conclusion can be proved similarly.

Corollary 3.2.

Suppose that f^1,,f^m:^n^\hat{f}_{1},\cdots,\hat{f}_{m}:{\hat{\mathbb{Q}}}^{n}\to{\hat{\mathbb{R}}} are mm standard dual quaternion functions, where mm is a positive integer. Then their sum, product, minimum and maximum functions are still standard dual quaternion functions.

Corollary 3.3.

Suppose that f^:^n^\hat{f}:{\hat{\mathbb{Q}}}^{n}\to{\hat{\mathbb{R}}} is a standard dual quaternion functions, and mm is a positive integer. Then (f^)m(\hat{f})^{m} is still a standard dual quaternion function.

Theorem 3.4.

Suppose that f^:^^\hat{f}:\hat{\mathbb{Q}}\to{\hat{\mathbb{R}}} is a standard unit dual quaternion function. Then its logarithm and exponential functions are still standard dual quaternion functions.

Proof.

We have

f^(x^)=f(x^)+ϵfd(x^)=f(x)+ϵfd(x^),\hat{f}(\hat{x})=f(\hat{x})+\epsilon f_{d}(\hat{x})=f(x)+\epsilon f_{d}(\hat{x}),

as f^\hat{f} is a standard dual quaternion function. Since ff is a unit dual quaternion function, we have |f(x)|=1|f(x)|=1. Thus, we may write

f^(x^)=f(x)+ϵ2f(x)pb.\hat{f}(\hat{x})=f(x)+{\epsilon\over 2}f(x)p^{b}.

Write

f(x)=cos(θ/2)+y1sin(θ/2)𝐢+y2sin(θ/2)𝐣+y3sin(θ/2)𝐤.f(x)=\cos(\theta/2)+y_{1}\sin(\theta/2)\mathbf{i}+y_{2}\sin(\theta/2)\mathbf{j}+y_{3}\sin(\theta/2)\mathbf{k}.

Then θ/2\theta/2 and y=y1𝐢+y2𝐣+y3𝐤y=y_{1}\mathbf{i}+y_{2}\mathbf{j}+y_{3}\mathbf{k} are functions of xx. By (8), we have

lnf^(x^)=12(θy+ϵpb).\ln\hat{f}(\hat{x})={1\over 2}(\theta y+\epsilon p^{b}).

Thus, lnf^\ln\hat{f} is still a standard dual quaternion function. Similarly, we may show that ef^e^{\hat{f}} is a standard dual quaternion function too. ∎

Theorem 3.5.

Suppose that f^:^^\hat{f}:\hat{\mathbb{Q}}\to{\hat{\mathbb{R}}} and g^:^n^\hat{g}:\hat{\mathbb{Q}}^{n}\to{\hat{\mathbb{R}}} are two standard unit dual quaternion functions. Then their composite function h^=f^g:^n^\hat{h}=\hat{f}\circ g:\hat{\mathbb{Q}}^{n}\to{\hat{\mathbb{R}}} is also a standard dual quaternion function.

Proof.

For 𝐱^n\hat{\mathbf{x}}\in{\mathbb{Q}}^{n},

h(𝐱^)=f(g^(𝐱^))=f(g(𝐱^))=f(g(𝐱))=h(𝐱),h(\hat{\mathbf{x}})=f(\hat{g}(\hat{\mathbf{x}}))=f(g(\hat{\mathbf{x}}))=f(g(\mathbf{x}))=h(\mathbf{x}),

where the second and the third equalities hold because f^\hat{f} and g^\hat{g} are standard unit dual quaternion functions respectively. Thus, h^\hat{h} is also a standard dual quaternion function. ∎

4 Equality Constrained Dual Quaternion Optimization

In this section, we propose a solution method for the following equality constrained dual quaternion optimization problem (EQDQO):

min{f^(𝐱^):h^j(𝐱^)=0,j=1,,m},\min\{\hat{f}(\hat{\mathbf{x}}):\hat{h}_{j}(\hat{\mathbf{x}})=0,\ j=1,\cdots,m\}, (11)

where 𝐱^^n\hat{\mathbf{x}}\in{\hat{\mathbb{Q}}}^{n}, f^\hat{f} and h^j\hat{h}_{j} for j=1,,mj=1,\cdots,m are dual quaternion functions. If f^\hat{f} and h^j\hat{h}_{j} for j=1,,mj=1,\cdots,m are all standard dual quaternion functions, then this problem is called an equality constrained standard dual quaternion optimization problem (EQSDQO). EQSDQO arises in many applications, as the most dual quaternion application problems are unit dual quaternion application problems, and their constraints may only have the unit requirement. In the next section, we will see that the dual quaternion optimization problem arising from the hand-eye calibration problem is an EQSDQO.

We have f^(𝐱^)=f(𝐱+𝐱dϵ)+fd(𝐱+𝐱dϵ)ϵ\hat{f}(\hat{\mathbf{x}})=f(\mathbf{x}+\mathbf{x}_{d}\epsilon)+f_{d}(\mathbf{x}+\mathbf{x}_{d}\epsilon)\epsilon. We may regard ff and fdf_{d} as real valued functions f¯\bar{f} and f¯d\bar{f}_{d}, with 2n2n-dimensional quaternion vector variables (𝐱,𝐱d)(\mathbf{x},\mathbf{x}_{d}), i.e.,

f¯(𝐱,𝐱d)f(𝐱+𝐱dϵ),f¯d(𝐱,𝐱d)fd(𝐱+𝐱dϵ).\bar{f}(\mathbf{x},\mathbf{x}_{d})\equiv f(\mathbf{x}+\mathbf{x}_{d}\epsilon),\ \bar{f}_{d}(\mathbf{x},\mathbf{x}_{d})\equiv f_{d}(\mathbf{x}+\mathbf{x}_{d}\epsilon).

We now abuse the notation, and simply write

f(𝐱,𝐱d)f(𝐱+𝐱dϵ),fd(𝐱,𝐱d)fd(𝐱+𝐱dϵ),f(\mathbf{x},\mathbf{x}_{d})\equiv f(\mathbf{x}+\mathbf{x}_{d}\epsilon),\ f_{d}(\mathbf{x},\mathbf{x}_{d})\equiv f_{d}(\mathbf{x}+\mathbf{x}_{d}\epsilon),

i.e., we now simply regard ff and fdf_{d} as real valued functions, with 2n2n-dimensional quaternion vector variables (𝐱,𝐱d)(\mathbf{x},\mathbf{x}_{d}). We may treat hjh_{j} and (hj)d(h_{j})_{d} similarly. Then we have the following theorem.

Theorem 4.1.

Suppose that LIL^{I} is the optimal function value of the equality constrained quaternion optimization problem (EQQOPI):

min{f(𝐱,𝐱d):hj(𝐱,𝐱d)=0,(hj)d(𝐱,𝐱d)=0,j=1,,m},\min\{f(\mathbf{x},\mathbf{x}_{d}):h_{j}(\mathbf{x},\mathbf{x}_{d})=0,(h_{j})_{d}(\mathbf{x},\mathbf{x}_{d})=0,\ j=1,\cdots,m\}, (12)

and (𝐱opt,𝐱dopt)(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}) is a global optimal solution of the following equality constrained quaternion optimization problem (EQQOPII):

min{fd(𝐱,𝐱d):f(𝐱,𝐱d)=LI,hj(𝐱,𝐱d)=0,(hj)d(𝐱,𝐱d)=0,j=1,,m}.\min\{f_{d}(\mathbf{x},\mathbf{x}_{d}):f(\mathbf{x},\mathbf{x}_{d})=L^{I},\ h_{j}(\mathbf{x},\mathbf{x}_{d})=0,\ (h_{j})_{d}(\mathbf{x},\mathbf{x}_{d})=0,\ j=1,\cdots,m\}. (13)

Then 𝐱^opt=𝐱opt+ϵ𝐱dopt\hat{\mathbf{x}}^{opt}=\mathbf{x}^{opt}+\epsilon\mathbf{x}_{d}^{opt} is a global optimal solution of EQDQO (11).

Proof.

Since 𝐱^opt=𝐱opt+ϵ𝐱dopt\hat{\mathbf{x}}^{opt}=\mathbf{x}^{opt}+\epsilon\mathbf{x}_{d}^{opt} satisfies all the constraints of EQDQO, and the standard part and the dual part of ff attain their global minimal values, the conclusion follows. ∎

Let 𝐱=𝐱0+𝐱1𝐢+𝐱2𝐣+𝐱3𝐤\mathbf{x}=\mathbf{x}_{0}+\mathbf{x}_{1}\mathbf{i}+\mathbf{x}_{2}\mathbf{j}+\mathbf{x}_{3}\mathbf{k} and 𝐱d=𝐱4+𝐱5𝐢+𝐱6𝐣+𝐱7𝐤\mathbf{x}_{d}=\mathbf{x}_{4}+\mathbf{x}_{5}\mathbf{i}+\mathbf{x}_{6}\mathbf{j}+\mathbf{x}_{7}\mathbf{k}. Then we may further regard f(𝐱,𝐱d)f(\mathbf{x},\mathbf{x}_{d}), fd(𝐱,𝐱d)f_{d}(\mathbf{x},\mathbf{x}_{d}), hj(𝐱,𝐱d)h_{j}(\mathbf{x},\mathbf{x}_{d}) and (hj)d(𝐱,𝐱d)(h_{j})_{d}(\mathbf{x},\mathbf{x}_{d}) as real valued functions with real vector variables 𝐱k\mathbf{x}_{k} for k=0,,7k=0,\cdots,7. Then we only need to apply ordinary nonlinear optimization techniques to analyze and to solve (12-13). However, we may apply the approach in [20] to simplify the language.

In the following, as in [20], we say that the real valued functions f,fd,hj,(hj)df,f_{d},h_{j},(h_{j})_{d} are continuously differentiable, if they are continuously differentiable with respect to real vector variables 𝐱k\mathbf{x}_{k} for k=0,,7k=0,\cdots,7. We now take ff as an example, and the same argument applies to fd,hjf_{d},h_{j} and (hj)d(h_{j})_{d}. Let =n×n\mathbb{H}={\mathbb{Q}}^{n}\times{\mathbb{Q}}^{n}. Denote the partial derivatives and gradient of ff at (𝐱,𝐱d)(\mathbf{x},\mathbf{x}_{d}) as

𝐱f(𝐱,𝐱d)=𝐱0f(𝐱,𝐱d)+𝐱1f(𝐱,𝐱d)𝐢+𝐱2f(𝐱,𝐱d)𝐣+𝐱3f(𝐱,𝐱d)𝐤,{\partial\over\partial\mathbf{x}}f(\mathbf{x},\mathbf{x}_{d})={\partial\over\partial\mathbf{x}_{0}}f(\mathbf{x},\mathbf{x}_{d})+{\partial\over\partial\mathbf{x}_{1}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{i}+{\partial\over\partial\mathbf{x}_{2}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{j}+{\partial\over\partial\mathbf{x}_{3}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{k},
𝐱df(𝐱,𝐱d)=𝐱4f(𝐱,𝐱d)+𝐱5f(𝐱,𝐱d)𝐢+𝐱6f(𝐱,𝐱d)𝐣+𝐱7f(𝐱,𝐱d)𝐤,{\partial\over\partial\mathbf{x}_{d}}f(\mathbf{x},\mathbf{x}_{d})={\partial\over\partial\mathbf{x}_{4}}f(\mathbf{x},\mathbf{x}_{d})+{\partial\over\partial\mathbf{x}_{5}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{i}+{\partial\over\partial\mathbf{x}_{6}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{j}+{\partial\over\partial\mathbf{x}_{7}}f(\mathbf{x},\mathbf{x}_{d})\mathbf{k},
f(𝐱,𝐱d)=(𝐱f(𝐱,𝐱d),𝐱df(𝐱,𝐱d)).\nabla f(\mathbf{x},\mathbf{x}_{d})=\left({\partial\over\partial\mathbf{x}}f(\mathbf{x},\mathbf{x}_{d}),{\partial\over\partial\mathbf{x}_{d}}f(\mathbf{x},\mathbf{x}_{d})\right).

Then f(𝐱,𝐱d)\nabla f(\mathbf{x},\mathbf{x}_{d})\in\mathbb{H}. With the R-linear independence concept and Theorem 4.3 of [20], we may have the first optimality conditions for (12-13). This is essentially the linear independence constraint qualification in real nonlinear optimization.

5 Equality Constrained Standard Dual Quaternion Optimization

If f^\hat{f} and h^j\hat{h}_{j} for j=1,,mj=1,\cdots,m are all standard dual quaternion functions, then (EQQOPI) has the form

min{f(𝐱):hj(𝐱)=0,(hj)d(𝐱,𝐱d)=0,j=1,,m},\min\{f(\mathbf{x}):h_{j}(\mathbf{x})=0,(h_{j})_{d}(\mathbf{x},\mathbf{x}_{d})=0,\ j=1,\cdots,m\}, (14)

and (EQQOPII) has the form

min{fd(𝐱,𝐱d):f(𝐱)=LI,hj(𝐱)=0,(hj)d(𝐱,𝐱d)=0,j=1,,m}.\min\{f_{d}(\mathbf{x},\mathbf{x}_{d}):f(\mathbf{x})=L^{I},\ h_{j}(\mathbf{x})=0,\ (h_{j})_{d}(\mathbf{x},\mathbf{x}_{d})=0,\ j=1,\cdots,m\}. (15)

Then we may have some better results. See the theorem and its corollary below. We call such a dual quaternion optimization problem a standard dual quaternion optimization problem.

Theorem 5.1.

Suppose that ff, hjh_{j} for j=1,,mj=1,\cdots,m are continuously differentiable.

Assume (𝐱opt,𝐱dopt)(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}) is an optimal solution of (14). If {hj(𝐱opt):j=1,,m}\left\{\nabla h_{j}(\mathbf{x}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], and {𝐱d(hj)d(𝐱opt,𝐱dopt):j=1,,m}\left\{{\partial\over\partial\mathbf{x}_{d}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], then there are real Lagrangian multipliers λj\lambda_{j} for j=1,,mj=1,\cdots,m, such that

f(𝐱opt)+j=1mλjhj(𝐱opt)=0,\nabla f(\mathbf{x}^{opt})+\sum_{j=1}^{m}\lambda_{j}\nabla h_{j}(\mathbf{x}^{opt})=0, (16)

and

hj(𝐱opt)=0,(hj)d(𝐱opt,𝐱dopt)=0,forj=1,,m.h_{j}(\mathbf{x}^{opt})=0,\ (h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0,\ {\rm for}\ j=1,\cdots,m. (17)

Assume (𝐱opt,𝐱dopt)(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}) is an optimal solution of (15). If {f(𝐱opt),hj(𝐱opt):j=1,,m}\left\{\nabla f(\mathbf{x}^{opt}),\nabla h_{j}(\mathbf{x}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], and {𝐱d(hj)d(𝐱opt,𝐱dopt):j=1,,m}\left\{{\partial\over\partial\mathbf{x}_{d}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], then there are real Lagrangian multipliers σ\sigma and λj\lambda_{j} for j=1,,mj=1,\cdots,m, such that

fd(𝐱opt,𝐱dopt)+σf(𝐱opt)+j=1mλjhj(𝐱opt)=0,\nabla f_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})+\sigma\nabla f(\mathbf{x}^{opt})+\sum_{j=1}^{m}\lambda_{j}\nabla h_{j}(\mathbf{x}^{opt})=0, (18)

and

f(𝐱opt)=LI,hj(𝐱opt)=0,(hj)d(𝐱opt,𝐱dopt)=0,forj=1,,m.f(\mathbf{x}^{opt})=L^{I},\ h_{j}(\mathbf{x}^{opt})=0,\ (h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0,\ {\rm for}\ j=1,\cdots,m. (19)
Proof.

By Theorem 4.3 of [20] and the property of block triangular matrices, if {hj(𝐱opt):j=1,,m}\left\{\nabla h_{j}(\mathbf{x}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], and {𝐱d(hj)d(𝐱opt,𝐱dopt):j=1,,m}\left\{{\partial\over\partial\mathbf{x}_{d}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], then there are real Lagrangian multipliers λj\lambda_{j} and μj\mu_{j} for j=1,,mj=1,\cdots,m, such that

f(𝐱opt)+j=1m[λjhj(𝐱opt)+μj𝐱(hj)d(𝐱opt,𝐱dopt)]=0,\nabla f(\mathbf{x}^{opt})+\sum_{j=1}^{m}\left[\lambda_{j}\nabla h_{j}(\mathbf{x}^{opt})+\mu_{j}{\partial\over\partial\mathbf{x}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})\right]=0, (20)
j=1mμj𝐱d(hj)d(𝐱opt,𝐱dopt)=0,\sum_{j=1}^{m}\mu_{j}{\partial\over\partial\mathbf{x}_{d}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0, (21)

and

hj(𝐱opt)=0,(hj)d(𝐱opt,𝐱dopt)=0,forj=1,,m.h_{j}(\mathbf{x}^{opt})=0,\ (h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0,\ {\rm for}\ j=1,\cdots,m. (22)

Since {𝐱d(hj)d(𝐱opt,𝐱dopt):j=1,,m}\left\{{\partial\over\partial\mathbf{x}_{d}}(h_{j})_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}):j=1,\cdots,m\right\} is R-linearly independent in the sense of [20], by (21), all μj=0\mu_{j}=0. We have the first result of this theorem. The second result can be derived similarly. ∎

Actually, Theorem 5.1 may be stated and proved in the Language of real optimization. That way is somewhat tedious.

Corollary 5.2.

Let m=1m=1 and denote hh1h\equiv h_{1}. Suppose that ff and hh are continuously differentiable.

Assume (𝐱opt,𝐱dopt)(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}) is an optimal solution of (14). Assume that h(𝐱opt)𝟎\nabla h(\mathbf{x}^{opt})\not=\mathbf{0}, and 𝐱dhd(𝐱opt,𝐱dopt)𝟎{\partial\over\partial\mathbf{x}_{d}}h_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})\not=\mathbf{0}. Then there is a real Lagrangian multiplier λ\lambda, such that

f(𝐱opt)+λh(𝐱opt)=0,\nabla f(\mathbf{x}^{opt})+\lambda\nabla h(\mathbf{x}^{opt})=0, (23)

and

h(𝐱opt)=0,hd(𝐱opt,𝐱dopt)=0.h(\mathbf{x}^{opt})=0,\ h_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0. (24)

Assume (𝐱opt,𝐱dopt)(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt}) is an optimal solution of (15). If {f(𝐱opt),h(𝐱opt)}\left\{\nabla f(\mathbf{x}^{opt}),\nabla h(\mathbf{x}^{opt})\right\} is R-linearly independent in the sense of [20], then there are real Lagrangian multipliers σ\sigma and λ\lambda, such that

fd(𝐱opt,𝐱dopt)+σf(𝐱opt)+λh(𝐱opt)=0\nabla f_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})+\sigma\nabla f(\mathbf{x}^{opt})+\lambda\nabla h(\mathbf{x}^{opt})=0 (25)

and

f(𝐱opt)=LI,h(𝐱opt)=0,hd(𝐱opt,𝐱dopt)=0.f(\mathbf{x}^{opt})=L^{I},\ h(\mathbf{x}^{opt})=0,\ h_{d}(\mathbf{x}^{opt},\mathbf{x}_{d}^{opt})=0. (26)

In practice, we may only find an approximal value of LIL^{I}, an error analysis is necessary in the application of this approach.

This approach cannot be extended to the inequality constraint case naturally, the optimal index set there is dependent upon the concrete solution.

6 Hand-Eye Calibration

The hand-eye calibration problem (the sensor-actuator problem) is an important application problem in robot research. They can be solved by using dual quaternions [10, 15, 16]. In this section, we formulate it as an equality constrained dual quaternion optimization problem, and show that this problem is a standard dual quaternion optimization problem.

In 1989, Shiu and Ahmad [21] and Tsai and Lenz [22] formulated the hand-eye calibration problem as a matrix equation

AX=XB,AX=XB, (27)

where XX is the transformation matrix from the camera (eye) to the gripper (hand), A=A2A11A=A_{2}A_{1}^{-1} and B=B21B1B=B_{2}^{-1}B_{1}, AiA_{i} is the transformation matrix from the camera to the world coordinate system, and BiB_{i} is the transformation matrix from the robot base to the gripper [10]. They are all 4×44\times 4 matrices, AiA_{i} and BiB_{i} can be measured, while XX is the variable matrix. Assume that there are n+1n+1 measurements (poses) AiA_{i} and BiB_{i} for i=1,,n+1i=1,\cdots,n+1. Denote A(i)=Ai+1Ai1A^{(i)}=A_{i+1}A_{i}^{-1} and B(i)=Bi+11BiB^{(i)}=B_{i+1}^{-1}B_{i}, for i=1,,ni=1,\cdots,n. Then the problem is to find the best solution XX of

A(i)X=XB(i),A^{(i)}X=XB^{(i)}, (28)

for i=1,,ni=1,\cdots,n. In 1999, Daniilidis [10] proposed to use dual quaternions to solve this problem. See Figure 1 for the geometry of this model.

Refer to caption
Figure 1: AX=XBAX=XB Hand-Eye Calibration Model.

In 1994, Zhuang, Roth and Sudhaker [26] generalized (27) to

AX=YB,AX=YB, (29)

where YY is the transformation matrix from the world coordinate system to the robot base. Assume that we have nn measurements (poses) for i=1,,ni=1,\cdots,n. Then the problem is to find the best solution XX and YY of

AiX=YBi,A_{i}X=YB_{i}, (30)

for i=1,,ni=1,\cdots,n. In 2010, Li, Wang and Wu [15] proposed to use dual quaternions to solve this problem. Also see [16]. See Figure 2 for the geometry of this model.

Refer to caption
Figure 2: AX=YBAX=YB Hand-Eye Calibration Model.

As the 3D movement of a rigid body may also be expressed by unit dual quaternions, we may rewrite (28) and (30) as

a^(i)x^=x^b^(i),\hat{a}^{(i)}\hat{x}=\hat{x}\hat{b}^{(i)}, (31)

for i=1,,ni=1,\cdots,n, and

a^ix^=y^b^i,\hat{a}_{i}\hat{x}=\hat{y}\hat{b}_{i}, (32)

for i=1,,ni=1,\cdots,n, where a^(i)\hat{a}^{(i)}, b^(i)\hat{b}^{(i)}, a^i\hat{a}_{i}, b^i\hat{b}_{i}, x^\hat{x} and y^\hat{y} are corresponding unit dual quaternions. We may solve (31) and (32) by the following minimization problems:

min{i=1n|a^(i)x^x^b^(i)|:|x^|2=1},\min\left\{\sum_{i=1}^{n}|\hat{a}^{(i)}\hat{x}-\hat{x}\hat{b}^{(i)}|:|\hat{x}|^{2}=1\right\}, (33)

and

min{i=1n|a^ix^y^b^i|:|x^|2=1,|y^|2=1}.\min\left\{\sum_{i=1}^{n}|\hat{a}_{i}\hat{x}-\hat{y}\hat{b}_{i}|:|\hat{x}|^{2}=1,|\hat{y}|^{2}=1\right\}. (34)

Then (33) and (34) are equality constrained dual quaternion optimization problems. By the analysis in Section 3, all the functions involved are standard dual quaternion optimization problems. Thus, they are equality constrained standard dual quaternion optimization problems.

Note that by (5), the magnitudes in the objective functions of (33) and (34) cannot be replaced by their squares as for a dual quaternion number q^\hat{q}, |q^|=0|\hat{q}|=0 and |q^|2=0|\hat{q}|^{2}=0 are not equivalent.

Consider (33). We have f^(x^)=i=1n|a^(i)x^x^b^(i)|\hat{f}(\hat{x})=\sum_{i=1}^{n}|\hat{a}^{(i)}\hat{x}-\hat{x}\hat{b}^{(i)}| and h^(x^)=|x^|21\hat{h}(\hat{x})=|\hat{x}|^{2}-1. Then EQSDQO has the form

min{f^(x^):h^(x^)=0}.\min\{\hat{f}(\hat{x}):\hat{h}(\hat{x})=0\}. (35)

By (9) and (10),

h(x,xd)=h(x)=|x|21,h(x,x_{d})=h(x)=|x|^{2}-1,

and

hd(x,xd)=xxd+xdx.h_{d}(x,x_{d})=xx_{d}^{*}+x_{d}x^{*}.

Similarly, we have

f(x,xd)=f(x)=i=1n|a(i)xxb(i)|,f(x,x_{d})=f(x)=\sum_{i=1}^{n}|a^{(i)}x-xb^{(i)}|,

and fd(x,xd)f_{d}(x,x_{d}) can be computed by (5). Then, (EQQOPI) has the form

min{f(x):h(x)=0,hd(x,xd)=0,},\min\{f(x):h(x)=0,h_{d}(x,x_{d})=0,\}, (36)

and (EQQOPII) has the form

min{fd(x,xd):f(x)=LI,h(x)=0,hd(x,xd)=0}.\min\{f_{d}(x,x_{d}):f(x)=L^{I},\ h(x)=0,\ h_{d}(x,x_{d})=0\}. (37)

We may apply Theorems 4.1 and 5.1 as well as Corollary 5.2 now. In particular, we have h(xopt)=2xopt0\nabla h(x^{opt})=2x^{opt}\not=0 as |xopt|2=1|x^{opt}|^{2}=1. The problem (34) can be treated similarly.

7 Pose Graph Optimization

The simultaneous localization and mapping (SLAM) problem is a very hot topic in robotic research [5]. The applications of SLAM include not only field robots, but also underwater navigation [25], unmanned aerial vehicle (UAV) [3], planetary exploration rover [24]. The graph-based approach poses the SLAM problem to the pose graph optimization problem. In 2016, Cheng, Kim, Jiang and Che [9] studied dual quaternion-based graph SLAM. In this section, we show that the dual quaternion pose graph optimization problem is a standard dual quaternion optimization problem.

Pose graph optimization estimates nn robot poses from mm relative pose measurements. The dual quaternion pose graph problem can be visualized as a directed graph G=(V,E)G=(V,E) [6], where each vertex iVi\in V corresponds to a robot pose x^i\hat{x}_{i} for i=1,,ni=1,\cdots,n, and each directed edge (arc) (i,j)E(i,j)\in E corresponds to a relative measurement q^ij\hat{q}_{ij}, a unit dual quaternion. Thus, x^i\hat{x}_{i} for i=1,,ni=1,\cdots,n, are nn unknown unit dual quaternion variables. The cardinality of the edge set |E|=m|E|=m as we have mm relative measurements. By the pose relation, the relative pose y^ij\hat{y}_{ij} should be

y^ij=x^ix^j.\hat{y}_{ij}=\hat{x}_{i}^{*}\hat{x}_{j}.

Then the error at the edge (i,j)(i,j) is

e^ij=q^ijx^ix^j.\hat{e}_{ij}=\hat{q}_{ij}-\hat{x}_{i}^{*}\hat{x}_{j}.

We may regard 𝐞^=(e^ij:(i,j)E)\hat{\bf e}=(\hat{e}_{ij}:(i,j)\in E) as an mm-dimensional dual quaternion vector, i.e., 𝐞^^m\hat{\bf e}\in{\hat{\mathbb{Q}}}^{m}. Then we have the following minimization model for this pose graph optimization problem:

min{𝐞^2:|x^i|2=1,i=1,,n},\min\left\{\|\hat{\bf e}\|_{2}:|\hat{x}_{i}|^{2}=1,i=1,\cdots,n\right\}, (38)

where 𝐞^2\|\hat{\bf e}\|_{2} is defined by (9) and (10). By the discussion in Section 3, this is an equality constrained standard dual quaternion optimization problem.

We will study the algorithm aspect of applying standard dual quaternion optimization approach to the hand-eye calibration problem and the SLAM problem in further coming papers.


Acknowledgment I am thankful to Chen Ling, Ziyan Luo and Zhongming Chen for the discussion on standard dual quaternion optimization, to Wei Li for the discussion on hand-eye calibration, to Jiantong Cheng for the discussion on SLAM, to Guyan Ni for introducing Jiantong Cheng to me, and to Chen Ouyang and Jinjie Liu for Figures 1 and 2.


References

  • [1] H. Abaunza, P. Castillo, A. Victorino and R. Lozano, “Dual quaternion modeling and control of a quad-rotor aerial manipulator”, Journal of Intelligent & Robotic Systems 88 (2017) 267-283.
  • [2] G. Brambley and J. Kim, “Unit dual quaternion-based pose optimization for visual runway observations”, IET Cyber-Systems and Robotics 2 (2020) 181-189.
  • [3] M. Bryson and S. Sukkarieh, “Building a robust implementation of bearing - only inertial SLAM for a UAV”, Journal of Field Robotics 24 (2007) 113-143.
  • [4] S. Bultmann, K. Li and U.D. Hanebeck, “Stereo visual SLAM based on unscented dual quaternion filtering”, 2019 22th International Conference on Information Fusion (FUSION) (2019) 1-8.
  • [5] C. Cadena, L. Carlone, H. Carrillo, Y. Latif, D. Scaramuzza, J. Neira, I. Reid and J.J. Leonard, “Past, present and future of simultaneous localization and mapping: Toward the robust-perception age”, IEEE Transactions on Robotics 32 (2016) 1309-1332.
  • [6] L. Carlone, R. Tron, K. Daniilidis and F. Dellaert, “Initialization techniques for 3D SLAM: A survey on Rotation and its use in pose graph optimization”, IEEE International Conference on Robotics and Automation (ICRA) (2015) 4597-4604.
  • [7] Y. Chen, L. Qi and X. Zhang, “Color image completion using a low-rank quaternion matrix approximation”, Pacific Journal of Optimization 18 (2022) 55-75.
  • [8] Y. Chen, X. Xiao and Y. Zhou, “Low-rank quaternion approximation for color image processing”, IEEE Transactions on Image Processing 29 (2019) 1057-7149.
  • [9] J. Cheng, J. Kim, Z. Jiang and W. Che, “Dual quaternion-based graph SLAM”, Robotics and Autonomous Systems 77 (2016) 15-24.
  • [10] K. Daniilidis, “Hand-eye calibration using dual quaternions”, The International Journal of Robotics Research 18 (1999) 286-298.
  • [11] J. Flamant, S. Miron and D. Brie, “A general framework for constrained convex quaternion optimization”, IEEE Transactions on Signal Processing, doi:10.1109/TSP.2021.3137746.
  • [12] Z. Jia, M.K. Ng and G. Song, “Robust quaternion matrix completion with applications to image inpaiting”, Numerical Linear Algebra with Applications 26 (2019) e2245.
  • [13] B. Kenright, “A beginners guide to dual-quaternions”, 20th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision, Plzen, Czech, 2012.
  • [14] G. Leclercq, Ph. Lefévre and G. Blohm, “3D kinematics using dual quaternions: Theory and applications in neuroscience”, Frontiers in Behavioral Neuroscience 7 (2013) Article 7, 1-25.
  • [15] A. Li, L. Wang and D. Wu, “Simultaneous robot-world and hand-eye calibration using dual-quaternions and Kronecker product”, International Journal of the Physical Sciences 5 (2010) 1530-1536.
  • [16] W. Li, N. Lv, M. Dong and X. Lou, “Simultaneous robot-world/hand-eye calibration using dual quaternion”, Robot 40 (in Chinese) (2018) 301-308.
  • [17] X. Peng, X. Shi and Y. Gong, “Dual-quaternion-based modelling and control for motion tracking of a tumbling target”, Journal of Systems Engineering and Electronic 30 (2019) 985-994.
  • [18] L. Qi, C. Ling and H. Yan, “Dual quaternions and dual quaternion vectors”, Communications on Applied Mathematics and Computation DOI: 10.1007/s42967-022-00189-y.
  • [19] L. Qi and Z. Luo, “Eigenvalues and singular values of dual quaternion matrices”, to appear in: Pacific Journal of Optimization.
  • [20] L. Qi, Z. Luo, Q. Wang and X. Zhang, “Quaternion matrix optimization: Motivation and analysis”, Journal of Optimization Theory and Applications, DOI: 10.1007/s10957-021-01906-y.
  • [21] Y. Shiu and S. Ahmad, “Calibration of wrist-mounted robotic sensors by solving homogeneous transform equation of the form AX=XBAX=XB”, IEEE Transactions on Robotics and Automation 5 (1989) 16-27.
  • [22] R. Tsai and R. Lenz, “A new technique for fully autonomous and efficient 3D robotic hand/eye calibration”, IEEE Transactions on Robotics and Automation 5 (1989) 345-358.
  • [23] X. Wang, C. Yu and Z. Lin, “A dual quaternion solution to attitude and position control for rigid body coordination”, IEEE Transactions on Robotics 28 (2012) 1162-1170.
  • [24] E. Wei, S. Jin and Q. Zhang, “Autonomous navigation of mars probe using X-ray pulsars: Modeling and results”, Advances in Space Research 51 (2013) 849-857.
  • [25] S.B. Williams, P. Newman and G. Dissanayake, “Autonomous underwater simultaneous localization and map building”, IEEE International Conference on Robotics and Automation (ICRA), (2000) 1793-1798.
  • [26] H.Q. Zhuang, Z. Roth and R. Sudhakar, “Simultaneous robot-world and tool/flange calibration by solving homogeneous transformation of the form AX=YBAX=YB”, IEEE Transactions on Robotics and Automation 10 (1994) 549-554.