Apparatus and method for controlling moving object, and computer-readable recording medium in which program for implementing method in computer is recorded

Information

  • Patent Grant
  • 10556340
  • Patent Number
    10,556,340
  • Date Filed
    Wednesday, December 9, 2015
    9 years ago
  • Date Issued
    Tuesday, February 11, 2020
    4 years ago
Abstract
According to an embodiment of the present invention, an apparatus for controlling a moving object includes a trajectory control unit configured to control a trajectory of the moving object and a position control unit configured to control a position of the moving object. Thus, it is possible to control an angle at which the moving object enters a target point.
Description
TECHNICAL FIELD

The present invention relates to a control of a moving object, and more particularly, an apparatus and method for controlling a trajectory so that a moving object arrives at a target point and a computer-readable recording medium having a program recorded therein for executing the method in a computer.


BACKGROUND ART

Along with the advance of technology associated with various moving objects such as an atmospheric aircraft, for example, unmanned reconnaissance aircraft, a drone, and a precision guided weapon, a spacecraft, for example, a satellite and a lunar lander, a soccer robot, and an unmanned submarine, there is a need for a technology for efficiently controlling a moving object.


In particular, it is necessary to accurately move a moving object from a start point to a target point. To this end, there is a need to move a moving object to a target point at a desired angle.


Although various trajectory guidance algorithms have been introduced to move a moving object to a target point, there is no technology to accurately enter the target point at a desired angle.


DETAILED DESCRIPTION OF THE INVENTION
Technical Problem

The present invention provides an apparatus and method for controlling a moving object by controlling a trajectory of the moving object and allowing the moving object to enter a target point at a desired angle.


Technical Solution

According to an embodiment of the present invention, there is provided an apparatus for controlling a moving object, the apparatus including a trajectory control unit configured to control a trajectory of the moving object and a position control unit configured to control a position of the moving object.


The trajectory control unit and the position control unit may use an error quaternion of the moving object to control the trajectory of the moving object and the position of the moving object, respectively.


The error quaternion of the moving object may be extracted from a quaternion indicating a trajectory of a current point of the moving object and a quaternion indicating a trajectory of a target point of the moving object.


The error quaternion qe of the moving object may be obtained by the following equation:

qe=qt*∘q

where qt is a target quaternion q, i.e., the trajectory of the target point, qt* is a conjugate of the quaternion qt, which indicates the trajectory of the target point, and q is the quaternion indicating the trajectory of the current point, and ∘ is multiplication of a preceding quaternion of ∘ and a following quaternion of ∘ and an operational expression of a vector and a scalar.


The trajectory of the moving object and position information including the trajectory may be expressed by the following equation:

{circumflex over (q)}e=qe+εqe

where {circumflex over (q)}e is a dual quaternion and represents trajectory information qe of the moving object and position information qe′ including the trajectory information of the moving object.


The position control unit may further use a difference between a position of the target point of the moving object and a position of the current point of the moving object to control the position of the moving object.


The position control unit may control the position of the moving object by the following equation:

qe′=½(pe∘qe)

where pe is the difference between the position pt of the target point of the moving object and the position p of the current point of the moving object, and qe′ represents a position value including the trajectory information of the moving object.


The apparatus may further include an update unit configured to update the trajectory of the current point of the moving object and the position of the current point of the moving object.


The update unit may update the trajectory of the current point of the moving object and the position of the current point of the moving object by integrating a result of the following equation:

{circumflex over ({dot over (p)})}=½{circumflex over (q)}e∘{circumflex over (ω)}

where {circumflex over (ω)}. {circumflex over (ω)} is a trajectory changing rate and a position changing rate over time of the moving object and the trajectory changing rate, that is, a curvature may be represented as uT, which is a torque value that represents a rotational force, and the position changing rate may be represented as uF, which is a force for controlling the position.


A part for setting an entry angle at the target point of the moving object expresses a desired entry angle ρt of Xt, Yt, and Zt of FIG. 5 as a value [ρxtρytρzt]. The value is input to a quaternion qt indicating a target trajectory of the moving object. According to an embodiment of the present invention, there is provided a method of controlling a moving object, the method including controlling a trajectory of the moving object and controlling a position of the moving object.


According to an embodiment of the present invention, there is provided a computer-readable recording medium having a program for executing a method of controlling a moving object stored therein, the method including controlling a trajectory of the moving object and controlling a position of the moving object.


Advantageous Effects of the Invention

According to an embodiment of the present invention, it is possible for a moving object to accurately move from a start point to a target point. In particular, according to an embodiment of the present invention, it is possible to accurately control an entry angle when a moving object reaches a target point by controlling a trajectory of the moving object.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of an apparatus for controlling a moving object according to an embodiment of the present invention.



FIG. 2 is a flowchart showing a method of controlling a moving object of an apparatus for controlling a moving object according to an embodiment of the present invention.



FIGS. 3 and 4 illustrate a dual quaternion using Plücker coordinates.



FIGS. 5 and 6 show examples for illustrating a principle by which a moving object moves from a start point to a target point.



FIGS. 7 to 12 show a simulation result obtained by applying a method of controlling a moving object and a method of entering a moving object at a desired angle according to an embodiment of the present invention.





MODE OF THE INVENTION

While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that there is no intent to limit the invention to the particular forms disclosed, but on the contrary, the invention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.


Although the terms “first,” “second,” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of the present invention. The term “and/or” includes any and all combinations of one or more of associated listed items.


It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Conversely, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present.


The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well unless the context clearly indicates otherwise. It will be further understood that the terms “comprises,” “comprising,” “includes,” “including,” and/or “having,” when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.


Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which example embodiments belong. It will be further understood that terms, e.g., those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.


Hereinafter, example embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the figures, the same reference numerals are used to denote the same elements throughout the drawings and redundant descriptions thereof will be omitted.


An apparatus and method for controlling a moving object according to an embodiment of the present invention controls a trajectory and a position of a moving object using a dual quaternion to enter a desired target point at a desired angle.


A dual quaternion is formed by expanding a quaternion, which is calculated in a linear differential equation, to a dual number system, in which rotary motion and translational motion are handled at the same time. By using a dual quaternion, it is possible to simultaneously express attitude and a position in a three-dimensional space and represent a single state variable with eight values.


Thus, a dual quaternion has advantages in terms of compactness, no singularity, and low computational complexity.



FIG. 1 is a block diagram of an apparatus for controlling a moving object according to an embodiment of the present invention, and FIG. 2 is a flowchart showing a method of controlling a moving object of an apparatus for controlling a moving object according to an embodiment of the present invention.


Referring to FIG. 1, an apparatus 100 for controlling a moving object includes a trajectory control unit 110, a position control unit 120, and an update unit 130.


Referring to FIGS. 1 and 2, the trajectory control unit 1120 controls a trajectory of a moving object (S100), and the position control unit 120 controls a position of the moving object (S110). Thus, an angle at which a moving object enters a target point may be controlled.


Here, the trajectory control unit 110 and the position control unit 120 may use an error quaternion of the moving object to control the trajectory and position of the moving object, respectively. Here, a trajectory refers to a path along which a moving object moves, that is, a curved shape formed by the movement of a moving object. There are an unlimited number of trajectories along a moving object may move from a start point to a target point, and an angle at which the moving object enters the target point may be adjusted depending on the trajectory of the moving object.


Here, the error quaternion of the moving object may be extracted from a quaternion of a current position of the moving object and a quaternion of a target point of the moving object.


The error quaternion qe of the moving object may be obtained by the following Equation:

qe=qt*∘q


where qt* is a conjugate of the quaternion qt that represents the trajectory of the target point, and q is the quaternion that represents the trajectory of the current point. Here, the trajectory of the target point refers to an instantaneous trajectory of the target point, and the trajectory of the current point refers to an instantaneous trajectory of the current point.


Also, the position control unit 120 may further use a difference between a position of the target point of the moving object and a position of the current point of the moving object to control the position of the moving object.


That is, the position control unit 120 may control the position of the moving object by using the following equation:

qe′=½(pe∘qe)

where pe is the difference between the position pt of the target point of the moving object and the position p of the current point of the moving object.


The update unit 130 updates the trajectory of the current point of the moving object and the position of the current point of the moving object (S120). In this case, the update unit 130 may use quaternion kinematics to update the trajectory of the current point of the moving object and the position of the current point of the moving object. That is, the update unit 130 may update the trajectory of the current point of the moving object and the position of the current point of the moving object by integrating a result of the following equation:

{dot over ({circumflex over (p)})}=½{circumflex over (q)}e∘{circumflex over (ω)}

where {circumflex over (ω)}=[uT:0]+ε[uF:0], {circumflex over (q)}e=qe+εqe′, uT is a torque for controlling the trajectory of the moving object, and uF is a force for controlling the position of the moving object.


The concept of a dual quaternion will be briefly described before the apparatus and method for controlling a moving object according to an embodiment of the present invention are described in detail.


A dual quaternion will be expressed as the following equation:

{circumflex over (q)}=q+εq′

where {circumflex over (q)} is a dual quaternion, q is a real part of the dual quaternion, q′ is a dual part of the dual quaternion, and c is a separator for separating the real part and the dual part of the dual quaternion from each other ε2=0 and ε≠0.


According to an embodiment of the present invention, the dual quaternion {circumflex over (q)} may be expressed using q, which represents an angle of the trajectory of the moving object, and q′, which represents the position of the moving object. Here, q′ may be derived from q, and specifically, may be derived as the following equation:

q′=½(p∘q)

where ∘ indicates multiplication. q1∘q2 may be represented as qs1qv2+qs2qv1+qv1×qv2, qsqs2−qv1qv2 when a quaternion q1 has a scalar value qs1 and a vector value qv1 and a quaternion q2 has a scalar value qs2 and a vector value qv2.


Such a dual quaternion may be described in further detail by using the Plücker coordinates of FIG. 3.


Referring to FIG. 3, when a coordinate O is positioned on a vector passing through a point P, a coordinate B is positioned on a vector I passing through the point P, a moving object moves from a start point, that is, the coordinate O having a predetermined position and attitude on the space, to a target point, that is, the coordinate B having another determined position and attitude, the moving object may rotate with respect to a vector n, which is a moment vector passing through the point P. That is, the moving object may rotate along a circular arc to move to the target point at the target attitude. In detail, when two coordinates, that is, the coordinate B and the coordinate O are present as Plücker coordinates, and the vector I passing through the central point P is expressed in additional consideration of a rotation component, the vector I may be expressed as p×l. The vector I may be expressed as {circumflex over (l)}=l+ε(p×l)=l+εn by using dual numbers.


Such a principle may be applied to a three-dimensional space, as shown in FIG. 4 and the following equations:

{circumflex over (l)}1=l1+ε(p1×l1)
{circumflex over (l)}2=l2+ε(p2×l2)


Dual Angle

{circumflex over (θ)}=θ+εd{circumflex over (n)}=n+ε(c×n)
{circumflex over (l)}1,{circumflex over (l)}2=cos {circumflex over (θ)}
{circumflex over (l)}1,{circumflex over (l)}2=sin {circumflex over (θ)}{circumflex over (n)}


A method of controlling a moving object using a dual quaternion according to an embodiment of the present invention will be described below in further detail.



FIG. 5 shows an example for illustrating a principle by which a moving object moves from a start point Pi to a target point Pt, and FIG. 6 shows another example for illustrating a principle by which a moving object moves from a start point Pi to a target point Pt.


Referring to FIGS. 5 and 6, when a moving object is intended to move from the start point Pi to the target point Pt, a trajectory formed to start in parallel with a plane yz at the start point Pi and to vertically enter the plane yz at the target point Pt is illustrated as an example.



FIG. 5 shows that I1 has the same length as I2, that is, an altitude of the start point of the moving object and a distance of the target point of the moving object are the same with respect to a point C, as an example.


The point C, which is a central point through which the vector n, which is a rotational axis, passes, serves as a center of a circle, a moving object starts and arrives as an arrow from Pi, which is the start point, to Pt, which is the destination point, and θ is 90 degrees.



FIG. 6 shows an example of vertically rotating and applying the principles of FIGS. 1 and 5 and illustrates an example in which an altitude of the start point of the moving object and a distance of the target part of the moving object are different, with respect to a point Ci on the plane yz.


From FIG. 6, it is possible to find a quaternion qi at Pi, which is the start point, for forming the trajectory of Pi to a desired curvature. When qi is regarded as a quaternion value representing the angle of the trajectory of the moving object at Pi, a dual quaternion may be expressed in additional consideration of its position by using the following equation:

{circumflex over (q)}t=qi+εqi′=qi+ε½(pi∘qi)


Similarly, qt at the target point Pt may also be found and may be expressed by the following equation:

{circumflex over (q)}t=qt+εqt′=qt+ε½(pt∘qt)


According to an embodiment of the present invention, the trajectory control unit 110 may use an error quaternion of a moving object to control a trajectory of the moving object. The effort quaternion of the moving object may be extracted through a difference between a quaternion of a current point of the moving object, i.e., q and a quaternion of a target point of the moving object, i.e., qt. Here, the quaternion of the current point of the moving object may be a quaternion of a start point of the moving object when the moving object has not yet moved and may be a quaternion of a point at which the moving object is currently positioned when the moving object is moving.


That is, qe=qt*∘q, qt* is a conjugate of the quaternion qt of the target point, and q is the quaternion of the current point.


The trajectory control unit 110 may extract uT using the error quaternion qe. That is, uT may be extracted as uT=−K1qe, K1 is a gain, and uT is a torque for controlling the trajectory of the moving object. uT may represent a curved shape of the trajectory of the moving object. This serves to form a curved shape while moving the point C that has an angle θi and is a rotational center point through which the vector n of FIG. 6 passes.


Also, the position control unit 120 may use a dual part qe′ of an error dual quaternion to control the position of the moving object. As described above, a dual quaternion of the quaternion q of the current point and a dual quaternion of the quaternion qt of the target point are found as {circumflex over (q)} and {circumflex over (q)}t, respectively, and an error dual quaternion is found as {circumflex over (q)}e={circumflex over (q)}t*∘{circumflex over (q)} from the dual quaternions. The error dual quaternion may be expressed as {circumflex over (q)}e=qe+εqe′ and may be extracted using qe′=½(pe∘qe). Here, Pe is a difference between the position Pt of the target point of the moving object and the position P of the current point of the moving object, that is, Pe=Pt−P.


The position control unit 120 may extract uF using the dual part qe′ of the error dual quaternion. That is, uF may be extracted as uF=K2qe′, K2 is a gain, and uF is a control force.


Since the moving object moves from the start point to the target point, the quaternion of the moving object continues to change. Thus, the update unit 130 updates the trajectory of the current point of the moving object and the position of the current point of the moving object. When the update unit 130 extracts the trajectory of the current point of the moving object and the position of the current point of the moving object, the trajectory control unit 110 and the position control unit 120 may control the trajectory and position of the moving object by using a result value of the update unit 130 as the trajectory and position of the current point of the moving object.


To this end, the update unit 130 may use quaternion kinematics. That is, the update unit 130 may update the trajectory and position of the current point of the moving object by using the following equation:

{circumflex over ({dot over (p)})}=½{circumflex over (q)}e∘{circumflex over (ω)}

where {circumflex over (ω)}=[uT:0]+[uF:0], {circumflex over (q)}e=qe+εqe′, uT is a torque for controlling the trajectory of the moving object, and uF is a force for controlling the position of the moving object.


A result value {circumflex over ({dot over (P)})} of the above equation represents an instantaneous rate of change of the dual quaternion of the moving object. Thus, when {circumflex over ({dot over (P)})} is integrated, an angle and a position of the current point of the moving object may be calculated. FIGS. 7 to 12 show a simulation result obtained by applying a method of controlling a moving object according to an embodiment of the present invention.


Referring to FIGS. 7 and 8, a situation in which a moving object starts in parallel with a ground surface at a start point and reaches the ground surface at the target point in a vertical direction (90 degrees) is simulated. It can be seen that the target point is reached at a desired angle when an altitude is shorter than a distance as shown in FIG. 8 as well as when the altitude is longer than the distance as shown in FIG. 7.



FIG. 9 shows that four moving objects that start at different initial speeds in different directions may reach the same target point at the same entry angle.



FIG. 10 shows coordinates that are transformed to set a desired entry angle other than a vertical descending angle with respect to the same target point.



FIGS. 11 and 12 show that a moving object may start at the same start point and reach the same target point at three angles. Also, it can be seen that the moving object may enter the target point at a desired angle.


As described above, according to an embodiment of the present invention, the moving object may control a trajectory when the target point is reached. The method and apparatus according to an embodiment of the present invention may be applied to a soccer robot, an unmanned submarine, etc., as well as a missile and a lunar lander.


The exemplary embodiment of the present invention is not only implemented by an apparatus and a method, but also can be implemented through a program for realizing functions corresponding to the configuration of the exemplary embodiment of the present invention or a recording medium having the program recorded thereon.


While the present invention has been described with reference to exemplary embodiments, it will be understood by those of ordinary skill in the art that variations and modifications of the invention may be made without departing from the spirit and scope of the invention as defined by the appended claims.

Claims
  • 1. An apparatus for controlling a moving object, the apparatus comprising: a trajectory control unit configured to control a trajectory of the moving object; anda position control unit configured to control a position of the moving object,wherein the trajectory control unit and the position control unit use an error quaternion of the moving object to control the trajectory of the moving object and the position of the moving object, respectively,wherein the error quaternion of the moving object is extracted from a quaternion indicating a trajectory of a current point of the moving object and a quaternion indicating a trajectory of a target point of the moving object, andwherein the error quaternion (qe) of the moving object is obtained by the following equation: {circumflex over (q)}e={circumflex over (q)}t*∘{circumflex over (q)}where qt* is a conjugate of the quaternion (qt) indicating the trajectory of the target point and q is the quaternion indicating the trajectory of the current point.
  • 2. The apparatus of claim 1, wherein the position control unit further uses a difference between a position of the target point of the moving object and a position of the current point of the moving object to control the position of the moving object.
  • 3. The apparatus of claim 2, wherein the position control unit controls the position of the moving object by the following equation: qe′=½(pe∘qe)where pe is the difference between the position (pt) of the target point of the moving object and the position (p) of the current point of the moving object.
  • 4. The apparatus of claim 3, further comprising an update unit configured to update the trajectory of the current point of the moving object and the position of the current point of the moving object.
  • 5. The apparatus of claim 4, wherein the update unit updates the trajectory of the current point of the moving object and the position of the current point of the moving object by integrating a result of the following equation: {circumflex over ({dot over (p)})}=½{circumflex over (q)}e∘{circumflex over (ω)}where {circumflex over (ω)}=[uT:0]+[uF:0], {circumflex over (q)}e=qe+εqe′, uT is a torque for controlling the trajectory of the moving object, and uF is a force for controlling the position of the moving object.
  • 6. A method of controlling a moving object, the method comprising: controlling a trajectory of the moving object; and controlling a position of the moving object, wherein the controlling of a trajectory of the moving object and the controlling of a position of the moving object comprise using an error quaternion of the moving object to control the trajectory of the moving object and the position of the moving object, respectively,wherein the error quaternion of the moving object is extracted from a quaternion indicating a trajectory of a current point of the moving object and a quaternion indicating a trajectory of a target point of the moving object,wherein an error quaternion (qe) of the moving object is obtained by the following equation: qe=qt*∘q where qt* is a conjugate of the quaternion qt indicating the trajectory of the target point, and q is the quaternion indicating the trajectory of the current point.
  • 7. The method of claim 6, wherein the controlling of a position of the moving object comprises further using a difference between a position of the target point of the moving object and a position of the current point of the moving object to control the position of the moving object.
  • 8. The method of claim 7, wherein the controlling of a position of the moving object comprises controlling the position of the moving object by the following equation: qe′=½(pe∘qe)where pe is the difference between the position (pt) of the target point of the moving object and the position (p) of the current point of the moving object.
  • 9. The method of claim 8, further comprising updating the trajectory of the current point of the moving object and the position of the current point of the moving object.
  • 10. The method of claim 9, wherein the updating comprises updating the trajectory of the current point of the moving object and the position of the current point of the moving object by integrating a result of the following equation: {dot over ({circumflex over (p)})}=½{circumflex over (q)}e∘{circumflex over (ω)}where {circumflex over (ω)}=[uT:0]+ε[uF:0], {circumflex over (q)}e=qe+εqe′, uT is a torque for controlling the trajectory of the moving object, and uF is a force for controlling the position of the moving object.
  • 11. A computer-readable recording medium having a program for executing a method of controlling a moving object stored therein, the method comprising: controlling a trajectory of the moving object; andcontrolling a position of the moving object,wherein the controlling of a trajectory of the moving object and the controlling of a position of the moving object comprise using an error quaternion of the moving object to control the trajectory of the moving object and the position of the moving object, respectively,wherein the error quaternion of the moving object is extracted from a quaternion indicating a trajectory of a current point of the moving object and a quaternion indicating a trajectory of a target point of the moving object,wherein an error quaternion (qe) of the moving object is obtained by the following equation: qe=qt*∘q where qt* is a conjugate of the quaternion qt indicating the trajectory of the target point, and q is the quaternion indicating the trajectory of the current point.
Priority Claims (2)
Number Date Country Kind
10-2014-0179463 Dec 2014 KR national
10-2015-0174307 Dec 2015 KR national
PCT Information
Filing Document Filing Date Country Kind
PCT/KR2015/013421 12/9/2015 WO 00
Publishing Document Publishing Date Country Kind
WO2016/093607 6/16/2016 WO A
US Referenced Citations (5)
Number Name Date Kind
5875993 Weiss Mar 1999 A
6154691 Bailey Nov 2000 A
6860451 Wang Mar 2005 B1
20070164167 Bachelder Jul 2007 A1
20170326730 Kwon Nov 2017 A1
Foreign Referenced Citations (5)
Number Date Country
2002274499 Sep 2002 JP
100765671 Oct 2007 KR
1020120069510 Jun 2012 KR
1020120070291 Jun 2012 KR
101456576 Oct 2014 KR
Related Publications (1)
Number Date Country
20170326730 A1 Nov 2017 US