CN109033688B - Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant - Google Patents

Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant Download PDF

Info

Publication number
CN109033688B
CN109033688B CN201810933321.5A CN201810933321A CN109033688B CN 109033688 B CN109033688 B CN 109033688B CN 201810933321 A CN201810933321 A CN 201810933321A CN 109033688 B CN109033688 B CN 109033688B
Authority
CN
China
Prior art keywords
axis
formula
mechanical arm
equation
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810933321.5A
Other languages
Chinese (zh)
Other versions
CN109033688A (en
Inventor
居鹤华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201810933321.5A priority Critical patent/CN109033688B/en
Priority to PCT/CN2018/112758 priority patent/WO2020034416A1/en
Publication of CN109033688A publication Critical patent/CN109033688A/en
Application granted granted Critical
Publication of CN109033688B publication Critical patent/CN109033688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/1605Simulation of manipulator lay-out, design, modelling of manipulator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design

Abstract

The invention discloses a universal 7R mechanical arm inverse solution modeling and calculating method based on shaft invariants, wherein 7 rotating shafts are set, a picking point is positioned on the axis of a 7 th shaft, and a mechanical arm with a 5 th shaft and a 6 th shaft which are not coaxial is a universal 7R mechanical arm; the general 7R mechanical arm controls the 7 th shaft to align with a desired position and a desired posture through the front 6 shafts, so that the 7 th shaft can rotate infinitely or the 7 th shaft is controlled to meet radial alignment; the 7R mechanical arm kinematics equation is expressed by adopting a Jub-Gibbs quaternion expression, a point with a certain distance from a 6 th axis to a pickup point is taken as a nominal pickup point, the inverse solution of the universal 6R mechanical arm is calculated firstly, then a numerical iteration method is applied, the motion planning and the inverse solution calculation of the universal 7R mechanical arm are completed, and the problem that the inverse solution of the 7R mechanical arm cannot be calculated in the prior art is solved.

Description

Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant
Technical Field
The invention relates to an inverse solution modeling and resolving method for a 7R mechanical arm of a multi-axis robot, and belongs to the technical field of robots.
Background
An important aspect of autonomous robot research is the need to solve the problem of kinematic modeling of variable topology robots. In the MAS, a Dynamic Graph Structure (Dynamic Graph Structure) is provided, a directional Span tree based on a motion axis can be dynamically established, and a foundation is laid for researching robot modeling and control of a Variable Topology Structure (Variable Topology Structure). Therefore, an inverse solution principle of the universal mechanical arm based on an axis invariant needs to be provided, a completely parameterized positive kinematics model containing a coordinate system, polarity, structural parameters and joint variables needs to be established, and a pose equation needs to be calculated in real time; on one hand, the autonomy of the robot can be improved, and on the other hand, the absolute accuracy of the robot posture control can be improved.
Because the universal 6R mechanical arm does not have the concurrent constraint, the inverse solution calculation in the prior art is very difficult, and the decoupling constraint has to be complied with in engineering, so that the constraint not only increases the processing and assembling difficulty of the mechanical arm, but also reduces the absolute positioning precision of the mechanical arm. The inverse solution of the universal 7R mechanical arm is extremely high in calculation complexity and cannot be realized at all under the condition of the prior art.
Disclosure of Invention
The invention aims to solve the technical problem of providing a universal 7R mechanical arm inverse solution modeling and solving method based on axis invariants, and solving the problem that the 7R mechanical arm inverse solution cannot be calculated in the prior art.
In order to solve the technical problems, the invention adopts the following technical scheme:
a universal 7R mechanical arm inverse solution modeling and resolving method based on an axis invariant is characterized in that,
7 rotating shafts are set, the picking point is positioned on the axis of the 7 th shaft, and the mechanical arm with the 5 th shaft and the 6 th shaft which are not coaxial is a universal 7R mechanical arm; the general 7R mechanical arm controls the 7 th shaft to align with a desired position and a desired posture through the front 6 shafts, so that the 7 th shaft can rotate infinitely or the 7 th shaft is controlled to meet radial alignment;
will give the desired position of the 7 th axis
Figure BDA0001767184820000011
And 7 th axis desired attitude
Figure BDA0001767184820000012
And given the desired position of the 6 th axis
Figure BDA0001767184820000013
And the 6 th axis desired attitude
Figure BDA0001767184820000014
The inverse solution problem of (2) is equivalent, and a 7R mechanical arm kinematic equation is expressed by adopting an Jubes-Gibbs quaternion expression;
and establishing a general 7R mechanical arm increment pose equation based on the axis invariant motion planning of the general mechanical arm, taking a point with a certain distance from a pickup point on the 6 th axis as a nominal pickup point, calculating the inverse solution of the general 6R mechanical arm, and then applying a numerical iteration method to complete the motion planning and inverse solution calculation of the general 7R mechanical arm.
If 7R axis chain is givenil7=(i,1:7],il1=03The expected position vector and the Ju-Gibbs quaternion are respectively recorded as
Figure BDA0001767184820000015
And
Figure BDA0001767184820000016
the 7R arm kinematics polynomial equation characterized by the axis invariant is then:
Figure BDA0001767184820000021
wherein:
Figure BDA0001767184820000022
the matrix formed by the system structure parameters and the quaternion of the expected Ju-Gibbs attitude is expressed as
Figure BDA0001767184820000023
Figure BDA0001767184820000024
Figure BDA0001767184820000025
Figure BDA0001767184820000026
In the formula, the character is a continuation character;
Figure BDA0001767184820000027
zero vectors and radial vectors of the shafts 5 to 6 and 6 to 7 are respectively represented;
Figure BDA0001767184820000028
is axis invariant
Figure BDA0001767184820000029
A cross-product matrix of; 03=[0 0 0]T
Figure BDA00017671848200000210
Figure BDA00017671848200000211
Figure BDA00017671848200000212
A 4 x 4 matrix representing system configuration parameters;
Figure BDA0001767184820000031
express get
Figure BDA0001767184820000032
The first row of elements of (a), and so on,
Figure BDA0001767184820000033
express get
Figure BDA0001767184820000034
Row k +1 elements of (1); the upper right corner expression form [ 2 ]]Representing the form of expression [. cndot. ] taken by rows or columns]Representing taking all columns;
Figure BDA0001767184820000035
express get3E5Row 3, all columns;4n5is the coordinate vector of bar 4 to bar 5, which is an axis invariant;
Figure BDA0001767184820000036
is axis invariant4n5The other bars are the same.
Elimination of tau5And τ6The subsequent pose equation (200) is a 4-element polynomial equation of order 2.
The general mechanical arm motion planning based on the axis invariant specifically comprises the following steps:
【1】 Establishing an incremental pose equation of a universal 7R axis chain;
【2】 And performing motion planning on the universal 7R mechanical arm based on the partial velocity iteration.
Define the Ju-Gibbs incremental quaternion:
the Ju-Gibbs norm quaternion is
Figure BDA0001767184820000037
Wherein: axial invariant
Figure BDA0001767184820000038
Figure BDA0001767184820000039
Is a joint variable; if it is used
Figure BDA00017671848200000310
Representing attribute placeholders, the form of expression in the formula
Figure BDA00017671848200000311
Representing a member access character; expression form power symbol in formula
Figure BDA00017671848200000312
To represent
Figure BDA00017671848200000318
To the x-th power of; the right upper corner is marked with ^ or
Figure BDA00017671848200000313
Representing a separator.
Defining Jubs incremental quaternions
Figure BDA00017671848200000314
Wherein:
Figure BDA00017671848200000315
in the step [1 ], if a 6R axis chain is givenil7=(i,1:7],il1=03Position vector and Ju-Gibbs incremental quaternionAre respectively marked as
Figure BDA00017671848200000316
And
Figure BDA00017671848200000317
then the general 6R mechanical arm increment pose equation represented by the Ju-Gibbs increment quaternion is expressed as:
Figure BDA0001767184820000041
Figure BDA0001767184820000042
wherein:
Figure BDA0001767184820000043
Figure BDA0001767184820000044
3n4is the coordinate vector of bar 3 to bar 4, which is an axis invariant;
Figure BDA0001767184820000045
is axis invariant3n4The other rods are in the same way; \\ is a continuation symbol;
Figure BDA0001767184820000046
Figure BDA0001767184820000047
zero vectors and radial vectors of the shafts 5 to 6 and 6 to 7 are respectively represented;
Figure BDA0001767184820000048
is axis invariant
Figure BDA0001767184820000049
A cross-product matrix of; 03=[00 0]T
Figure BDA00017671848200000410
Figure BDA00017671848200000411
The system structure parameter matrix composed of row quaternions is expressed as
Figure BDA00017671848200000412
Wherein the content of the first and second substances,
Figure BDA00017671848200000413
a 4 x 4 matrix representing system configuration parameters; the upper right corner expression form [ 2 ]]Representing the form of expression [. cndot. ] taken by rows or columns]Representing taking all columns;
Figure BDA0001767184820000051
express get3E5Row i and all columns.
Analyzing the inverse solution of the incremental pose of the general 7R mechanical arm, wherein the formula (239) is related to the { epsilonlI ∈ [1:4 }. Re-expression of the formula (239) as
A·[ε1ε2ε3ε4]T=b; (247)
If A-1Exist, solution (245) to
1ε2ε3ε4]T=A-1·b; (248)
Thus, a complete inverse solution is obtained.
By incremental position vectors
Figure BDA0001767184820000052
And Gibbs incremental quaternion
Figure BDA0001767184820000053
And (5) applying an iterative approximation algorithm to align the pose of the universal 7R mechanical arm to the expected pose.
In the step [ 2 ], the step of iterative optimization based on the bias speed is as follows:
the kinematic chain is recorded as
Figure BDA0001767184820000054
l∈(i,1:6]Is provided with
Figure BDA0001767184820000055
Note the book
Figure BDA0001767184820000056
Noting the expected poses as
Figure BDA0001767184820000057
And
Figure BDA0001767184820000058
and is provided with
Figure BDA0001767184820000059
Co-writing formula (251) as
Figure BDA00017671848200000510
Obtained by applying a gradient descent method of the formula (252)
Figure BDA00017671848200000511
Wherein: step >0, Step → 0; is provided with
Figure BDA00017671848200000512
Selecting Step size from initial state
Figure BDA00017671848200000513
Starting iteration until the final state
Figure BDA00017671848200000514
(1) Determining an objective function
Figure BDA0001767184820000061
Goal representation
Figure BDA0001767184820000062
And
Figure BDA0001767184820000063
the variance of (a);
(2) selecting a step length;
(3) and carrying out iterative calculation to obtain a steady state solution, namely the pose inverse solution of the universal mechanical arm.
Determining step size using construction method
Figure BDA0001767184820000064
Only when
Figure BDA0001767184820000065
Then, Step → 0, Goal → 0;
Figure BDA0001767184820000066
wherein: epsilon(i,6]=[ε1ε2… ε6](ii) a Step size is determined by equations 257 and 253
Figure BDA0001767184820000067
Wherein:
Figure BDA0001767184820000068
iterative process
Taking Step of equation 258, the iterative calculation is performed by equation 259:
Figure BDA0001767184820000069
wherein: when in use
Figure BDA00017671848200000610
When so, the iteration process is ended;
for the iterative process of equation (259), then
δGoal≤0, (260)
That is, the iterative process of equation (259) must converge;
when in use
Figure BDA00017671848200000611
Then obtain a steady state solution phi(i,6]Namely, the pose inverse solution of the universal mechanical arm is obtained.
The invention achieves the following beneficial effects:
the invention establishes a general 7R mechanical arm increment pose equation and carries out real-time inverse solution calculation. Is characterized in that:
the method has the advantages of simple and elegant kinematic chain symbolic system, pseudo code function, iterative structure and guarantee of reliability and mechanization calculation of system implementation.
The method has an iterative formula based on an axis invariant, and the real-time performance of calculation is ensured; the complete parameterization of a coordinate system, polarity and system structure parameters is realized, the reversible solution kinematics based on the axis invariant has uniform expression and a simple structured hierarchical model, and the universality of the pose analysis inverse solution is ensured.
Structural parameters based on the fixed shaft invariant obtained by precision measurement of the laser tracker are directly applied, and the accuracy of pose inverse solution is ensured; therefore, the absolute positioning and attitude determination precision of the system is close to the repetition precision.
Drawings
FIG. 1 a natural coordinate system and axis chain;
FIG. 2 is a fixed axis invariant;
FIG. 3 is a schematic view of the fixed axis rotation;
FIG. 4 is a derived invariant of an axis invariant.
Detailed Description
The invention is further described below. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Define 1 natural coordinate axes: a unit reference axis having a fixed origin, referred to as being coaxial with the axis of motion or measurement, is a natural coordinate axis, also referred to as the natural reference axis.
Defining 2 a natural coordinate system: as shown in fig. 1, if the multi-axis system D is located at the zero position, the directions of all cartesian body coordinate systems are the same, and the origin of the body coordinate system is located on the axis of the moving shaft, the coordinate system is a natural coordinate system, which is simply referred to as a natural coordinate system.
The natural coordinate system has the advantages that: (1) the coordinate system is easy to determine; (2) the joint variable at zero is zero; (3) the system postures at the zero position are consistent; (4) and accumulated errors of measurement are not easily introduced.
From definition 2, it can be seen that the natural coordinate system of all the rods coincides with the orientation of the base or world system when the system is in the zero position. With the system in zero position
Figure BDA0001767184820000071
Time, natural coordinate system
Figure BDA0001767184820000072
Vector around axis
Figure BDA0001767184820000073
Angle of rotation
Figure BDA0001767184820000074
Will be provided with
Figure BDA0001767184820000075
Go to F[l]
Figure BDA0001767184820000076
In that
Figure BDA0001767184820000077
Coordinate vector of
Figure BDA0001767184820000078
At F[l]Coordinate vector of
Figure BDA0001767184820000079
Is constant, i.e. has
Figure BDA00017671848200000710
According to the formula, the method has the advantages that,
Figure BDA00017671848200000711
or
Figure BDA00017671848200000712
Independent of adjacent coordinate systems
Figure BDA00017671848200000713
And F[l](ii) a So it is called
Figure BDA00017671848200000714
Or
Figure BDA00017671848200000715
Is axis invariant. When invariance is not emphasized, the method can be called a coordinate axis vector (axis vector for short).
Figure BDA00017671848200000716
Or
Figure BDA00017671848200000717
Characterized by being a body
Figure BDA00017671848200000718
Coordinate vector of reference unit common to body l, and reference point
Figure BDA00017671848200000719
And OlIs irrelevant. Body
Figure BDA00017671848200000720
The body l is a rod or a shaft.
The axis invariants are essentially different from coordinate axes:
(1) the coordinate axis is a reference direction with a zero position and unit scales, and can describe the position of translation along the direction, but cannot completely describe the rotation angle around the direction, because the coordinate axis does not have a radial reference direction, namely, the zero position representing rotation does not exist. In practical applications, the radial reference of the shaft needs to be supplemented. For example: in the Cartesian system F [ ]l]In the rotation around lx, ly or lz is used as a reference zero position. The coordinate axes themselves are 1D, with 3 orthogonal 1D reference axes constituting a 3D cartesian frame.
(2) The axis invariant is a 3D spatial unit reference axis, which is itself a frame. It itself has a radial reference axis, i.e. a reference null. The spatial coordinate axes and their own radial reference axes may define cartesian frames. The spatial coordinate axis may reflect three basic reference properties of the motion axis and the measurement axis.
The axis vector of the chainless index is recorded in the literature
Figure BDA0001767184820000081
And is called the Euler Axis (Euler Axis), and the corresponding joint Angle is called the Euler Angle. The present application is no longer followed by the euler axis, but rather is referred to as the axis invariant because the axis invariant has the following properties:
【1】 Given rotation transformation array
Figure BDA0001767184820000082
Since it is a real matrix whose modes are unity, it has a real eigenvalue λ1And two complex eigenvalues λ conjugated to each other2=eAnd lambda3=e-iφ(ii) a Wherein: i is a pure imaginary number. Therefore, | λ1|·||λ2||·||λ 31, to obtain lambda 11. Axial vector
Figure BDA0001767184820000083
Is a real eigenvalue λ 11, is an invariant;
【2】 Is a 3D reference shaft, not only having an axial reference direction, but also having a radial reference null, as will be described in section 3.3.1.
【3】 Under a natural coordinate system:
Figure BDA0001767184820000084
i.e. axial invariant
Figure BDA0001767184820000085
Is a very special vector, has invariance to the derivative of time and has very good mathematical operation performance;
for an axis invariant, its absolute derivative is its relative derivative. Since the axis invariant is a natural reference axis with invariance, its absolute derivative is always a zero vector. Thus, the axis invariants have invariance to the time differential. Comprises the following steps:
Figure BDA0001767184820000086
【4】 In a natural coordinate system, passing an axial vector
Figure BDA0001767184820000087
And joint variables
Figure BDA0001767184820000088
Can directly describe the rotating coordinate array
Figure BDA0001767184820000089
It is not necessary to establish a separate system for the rods other than the roots. Meanwhile, the measurement precision of the system structure parameters can be improved by taking the only root coordinate system to be defined as reference;
【5】 Using axial vectors
Figure BDA00017671848200000810
The method has the advantages that a completely parameterized unified multi-axis system kinematics and dynamics model comprising a topological structure, a coordinate system, a polarity, a structure parameter and a mechanics parameter is established.
Factor vector elIs a reaction of with F[l]Any vector, base vector, of consolidation
Figure BDA00017671848200000811
Is and
Figure BDA00017671848200000812
any vector of consolidation, in turn
Figure BDA00017671848200000813
Is F[l]And
Figure BDA00017671848200000814
a common unit vector, therefore
Figure BDA00017671848200000815
Is F[l]And
Figure BDA00017671848200000816
a common basis vector. Thus, the axis is invariant
Figure BDA00017671848200000817
Is F[l]And
Figure BDA00017671848200000818
common reference base. The axis invariants are parameterized natural coordinate bases, and are primitives of the multi-axis system. The translation and rotation of the fixed shaft invariant are equivalent to the translation and rotation of a coordinate system fixedly connected with the fixed shaft invariant.
When the system is in a zero position, the natural coordinate system is used as a reference, and coordinate axis vectors are obtained through measurement
Figure BDA00017671848200000819
In the kinematic pair
Figure BDA00017671848200000820
Axial vector during motion
Figure BDA00017671848200000821
Is not provided withA variable; axial vector
Figure BDA00017671848200000822
And joint variables
Figure BDA00017671848200000823
Uniquely identifying kinematic pair
Figure BDA00017671848200000824
The rotational relationship of (1).
Thus, with the natural coordinate system, only a common reference frame need be determined when the system is in the null position, rather than having to determine individual body coordinate systems for each rod in the system, as they are uniquely determined by the axis invariants and the natural coordinates. When performing system analysis, the other natural coordinate systems, apart from the base system, to which the bars are fixed, only occur conceptually, and are not relevant to the actual measurement. The theoretical analysis and engineering functions of a natural coordinate system on a multi-axis system (MAS) are as follows:
(1) the measurement of the structural parameters of the system needs to be measured by a uniform reference system; otherwise, not only is the engineering measurement process cumbersome, but the introduction of different systems introduces greater measurement errors.
(2) A natural coordinate system is applied, and except for the root rod piece, the natural coordinate systems of other rod pieces are naturally determined by the structural parameters and the joint variables, so that the kinematics and dynamics analysis of the MAS system is facilitated.
(3) In engineering, the method can be applied to optical measurement equipment such as a laser tracker and the like to realize the accurate measurement of the invariable of the fixed shaft.
(4) As the kinematic pairs R and P, the spiral pair H and the contact pair O are special cases of the cylindrical pair C, the MAS kinematics and dynamics analysis can be simplified by applying the cylindrical pair.
Definition 3 invariant: the quantities that are not measured in dependence on a set of coordinate systems are called invariant.
Define 4 rotational coordinate vectors: vector around coordinate axis
Figure BDA0001767184820000091
Rotated to an angular position
Figure BDA0001767184820000092
Coordinate vector of
Figure BDA0001767184820000093
Is composed of
Figure BDA0001767184820000094
Define 5 translation coordinate vectors: vector along coordinate axis
Figure BDA0001767184820000095
Translation to linear position
Figure BDA0001767184820000096
Coordinate vector of
Figure BDA0001767184820000097
Is composed of
Figure BDA0001767184820000098
Define 6 natural coordinates: taking the vector of the natural coordinate axis as a reference direction, and marking the angular position or linear position of the zero position of the system as qlCalled natural coordinates; weighing the quantity mapped one by one with the natural coordinate as a joint variable; wherein:
Figure BDA0001767184820000099
define 7 mechanical zero: for kinematic pair
Figure BDA00017671848200000910
At an initial time t0Zero position of time, joint absolute encoder
Figure BDA00017671848200000911
Not necessarily zero, which is called mechanical zero;
hence the joint
Figure BDA00017671848200000912
Control amount of
Figure BDA00017671848200000913
Is composed of
Figure BDA00017671848200000914
Defining 8 natural motion vectors: will be represented by natural coordinate axis vectors
Figure BDA00017671848200000915
And natural coordinate qlDetermined vector
Figure BDA00017671848200000916
Referred to as natural motion vectors. Wherein:
Figure BDA00017671848200000917
the natural motion vector realizes the unified expression of the translation and rotation of the shaft. Vectors to be determined from natural coordinate axis vectors and joints, e.g.
Figure BDA0001767184820000101
Called free motion vector, also called free helix. Obviously, axial vector
Figure BDA0001767184820000102
Is a specific free helix.
Define 9 the joint space: by joint natural coordinates qlThe space represented is called joint space.
Define a 10-bit shape space: a cartesian space expressing a position and a posture (pose for short) is called a configuration space, and is a dual vector space or a 6D space.
Defining 11 a natural joint space: with reference to natural coordinate system and by joint variables
Figure BDA0001767184820000103
Indicating that there must be at system zero
Figure BDA0001767184820000104
Is called the natural joint space.
As shown in FIG. 2, a given link
Figure BDA0001767184820000105
Origin OlPosition-dependent vector
Figure BDA0001767184820000106
Constrained axis vector
Figure BDA0001767184820000107
Is a fixed axis vector, is denoted as
Figure BDA0001767184820000108
Wherein:
Figure BDA0001767184820000109
axial vector
Figure BDA00017671848200001010
Is the natural reference axis for the natural coordinates of the joint. Due to the fact that
Figure BDA00017671848200001011
Is an axis invariant, so it is called
Figure BDA00017671848200001012
For the invariants of fixed axes, it characterizes kinematic pairs
Figure BDA00017671848200001013
The natural coordinate axis is determined. Fixed shaft invariant
Figure BDA00017671848200001014
Is a chain link
Figure BDA00017671848200001015
Natural description of structural parameters.
Defining 12 a natural coordinate axis space: the fixed axis invariant is used as a natural reference axis, and a space represented by corresponding natural coordinates is called a natural coordinate axis space, which is called a natural axis space for short. It is a 3D space with 1 degree of freedom.
As shown in figure 2 of the drawings, in which,
Figure BDA00017671848200001016
and
Figure BDA00017671848200001017
without rod omegalIs a constant structural reference.
Figure BDA00017671848200001018
Determines the axis l relative to the axis
Figure BDA00017671848200001019
Five structural parameters of (a); and joint variable qlTogether, the rod omega is expressed completelylThe 6D bit shape. Given a
Figure BDA00017671848200001020
The natural coordinate system of the fixed rod can be determined by the structural parameters
Figure BDA00017671848200001021
And joint variables
Figure BDA00017671848200001022
And (4) uniquely determining. Balance shaft invariant
Figure BDA00017671848200001023
Fixed shaft invariant
Figure BDA00017671848200001024
Variation of joint
Figure BDA00017671848200001025
And
Figure BDA00017671848200001026
is naturally invariant. Obviously, invariant by a fixed axis
Figure BDA00017671848200001027
And joint variables
Figure BDA00017671848200001028
Natural invariance of constituent joints
Figure BDA00017671848200001029
And from a coordinate system
Figure BDA00017671848200001030
To F[l]Determined spatial configuration
Figure BDA00017671848200001031
Having a one-to-one mapping relationship, i.e.
Figure BDA00017671848200001032
Given a multi-axis system D ═ T, a, B, K, F, NT }, in the system null position, only the base or inertial frame is established, as well as the reference points O on the axeslOther rod coordinate systems are naturally determined. Essentially, only the base or inertial frame need be determined.
Given a structural diagram with a closed chain connected by kinematic pairs, any kinematic pair in a loop can be selected, and a stator and a mover which form the kinematic pair are divided; thus, a loop-free tree structure, called Span tree, is obtained. T represents a span tree with direction to describe the topological relation of tree chain motion.
I is a structural parameter; a is an axis sequence, F is a rod reference system sequence, B is a rod body sequence, K is a kinematic pair type sequence, and NT is a sequence of constraint axes, i.e., a non-tree.
Figure BDA0001767184820000111
For taking an axis sequence
Figure BDA0001767184820000112
Is a member of (1). The revolute pair R, the prismatic pair P, the helical pair H and the contact pair O are special cases of the cylindrical pair C.
The basic topological symbol and operation for describing the kinematic chain are the basis for forming a kinematic chain topological symbol system, and are defined as follows:
【1】 The kinematic chain is identified by a partially ordered set (].
【2】A[l]Is a member of the axis-taking sequence A; since the axis name l has a unique number corresponding to A[l]Number of (2), therefore A[l]The computational complexity is O (1).
【3】
Figure BDA0001767184820000113
Is a father axis of the taking axis l; shaft
Figure BDA0001767184820000114
The computational complexity of (2) is O (1). The computation complexity O () represents the number of operations of the computation process, typically referred to as the number of floating point multiplies and adds. The calculation complexity is very complicated by the expression of the times of floating point multiplication and addition, so the main operation times in the algorithm circulation process are often adopted; such as: joint pose, velocity, acceleration, etc.
【4】
Figure BDA0001767184820000115
For taking an axis sequence
Figure BDA0001767184820000116
A member of (a);
Figure BDA0001767184820000117
the computational complexity is O (1).
【5】llkTo take the kinematic chain from axis l to axis k, the output is represented as
Figure BDA0001767184820000118
And is
Figure BDA0001767184820000119
Cardinal number is recorded as $llk|。llkThe execution process comprises the following steps: execute
Figure BDA00017671848200001110
If it is
Figure BDA00017671848200001111
Then execute
Figure BDA00017671848200001112
Otherwise, ending.llkThe computational complexity is O (# |)llk|)。
【6】ll is a child of axis l. The operation is represented in
Figure BDA00017671848200001113
Finding the address k of the member l; thus, a sub-A of the axis l is obtained[k]. Due to the fact that
Figure BDA00017671848200001114
Has no off-order structure, thereforelThe computational complexity of l is
Figure BDA00017671848200001115
【7】lL denotes obtaining a closed sub-tree consisting of the axis L and its sub-tree, l l is a subtree containing no L; recursive executionll, the computational complexity is
Figure BDA00017671848200001116
【8】 Adding and deleting operations of branches, subtrees and non-tree arcs are also necessary components; thus, the variable topology is described by a dynamic Span tree and a dynamic graph. In the branchllkIn, if
Figure BDA00017671848200001117
Then remember
Figure BDA00017671848200001118
Figure BDA00017671848200001119
Namely, it is
Figure BDA00017671848200001120
Representing the child of member m taken in the branch.
The following expression or expression form is defined:
the shafts and the rod pieces have one-to-one correspondence; quantity of property between axes
Figure BDA00017671848200001121
And the amount of attribute between the rods
Figure BDA00017671848200001122
Has the property of order bias.
Appointing:
Figure BDA00017671848200001127
representing attribute placeholders; if the attribute P or P is location-related, then
Figure BDA00017671848200001123
Is understood to be a coordinate system
Figure BDA00017671848200001124
To F[l]The origin of (a); if the property P or P is directional, then
Figure BDA00017671848200001125
Is understood to be a coordinate system
Figure BDA00017671848200001126
To F[l]
Figure BDA0001767184820000121
And
Figure BDA0001767184820000122
are to be understood as a function of time t, respectively
Figure BDA0001767184820000123
And
Figure BDA0001767184820000124
and is
Figure BDA0001767184820000125
And
Figure BDA0001767184820000126
is t0A constant or array of constants at a time. But in the body
Figure BDA0001767184820000127
And
Figure BDA0001767184820000128
should be considered a constant or an array of constants.
In the present application, the convention: in a kinematic chain symbolic operation system, attribute variables or constants with partial order include indexes representing partial order in name; or the upper left corner and the lower right corner, or the upper right corner and the lower right corner; the direction of the parameters is always from the upper left corner index to the lower right corner index of the partial order index or from the upper right corner index to the lower right corner index. For example:
Figure BDA0001767184820000129
can be briefly described as (representing k to l) translation vectors; r isl kRepresents the line position (from k to l);krlrepresents a translation vector (from k to l); wherein: r represents the "translation" attribute, and the remaining attributes correspond to: the attribute token phi represents "rotate"; the attribute symbol Q represents a "rotation transformation matrix"; attribute characterRepresents a "kinematic chain"; attribute character u represents a "unit vector"; the attribute symbol ω represents "angular velocity"; the angle index i represents an inertial coordinate system or a geodetic coordinate system; other corner marks can be other letters and can also be numbers.
The symbolic specification and convention of the application are determined according to the principle that the sequence bias of the kinematic chain and the chain link are the basic unit of the kinematic chain, and reflect the essential characteristics of the kinematic chain. The chain index represents the connection relation, and the upper right index represents the reference system. The expression of the symbol is simple and accurate, and is convenient for communication and written expression. Meanwhile, the data are structured symbolic systems, which contain elements and relations for forming each attribute quantity, thereby facilitating computer processing and laying a foundation for automatic modeling of a computer. The meaning of the index needs to be understood through the context of the attribute symbol; such as: if the attribute symbol is of a translation type, the index at the upper left corner represents the origin and the direction of a coordinate system; if the attribute is of the pivot type, the top left indicator represents the direction of the coordinate system.
(1)lS-a point S in the bar l; and S denotes a point S in space.
(2)
Figure BDA00017671848200001210
Origin O of bar kkTo the origin O of the rod llA translation vector of (a);
Figure BDA00017671848200001211
in a natural coordinate system F[k]The coordinate vector from k to l;
(3)
Figure BDA00017671848200001212
-origin OkTo point lSA translation vector of (a);
Figure BDA00017671848200001213
at F[k]A lower coordinate vector;
(4)
Figure BDA00017671848200001214
-origin OkA translation vector to point S;
Figure BDA00017671848200001215
at F[k]A lower coordinate vector;
(5)
Figure BDA00017671848200001216
-a connecting rod member
Figure BDA00017671848200001217
And a kinematic pair of the rod piece l;
Figure BDA00017671848200001218
kinematic pair
Figure BDA00017671848200001219
An axis vector of (a);
Figure BDA00017671848200001220
and
Figure BDA00017671848200001221
are respectively at
Figure BDA00017671848200001222
And F[l]A lower coordinate vector;
Figure BDA00017671848200001223
is an axis invariant, being a structural constant;
Figure BDA0001767184820000131
as rotation vector, rotation vector/angle vector
Figure BDA0001767184820000132
Is a free vector, i.e. the vector mayFree translation;
(6)
Figure BDA0001767184820000133
along the axis
Figure BDA0001767184820000134
The linear position (translational position) of (c),
Figure BDA0001767184820000135
-about an axis
Figure BDA0001767184820000136
The angular position of (a), i.e. joint angle, joint variable, is a scalar;
(7) when the index of the lower left corner is 0, the index represents a mechanical zero position; such as:
Figure BDA0001767184820000137
-a translation shaft
Figure BDA0001767184820000138
The mechanical zero position of the magnetic field sensor,
Figure BDA0001767184820000139
-a rotating shaft
Figure BDA00017671848200001310
Mechanical zero position of (a);
(8) 0-three-dimensional zero matrix; 1-a three-dimensional identity matrix;
(9) appointing: "\\" represents a continuation symbol;
Figure BDA00017671848200001311
representing attribute placeholders; then
Power symbol
Figure BDA00017671848200001312
To represent
Figure BDA00017671848200001339
To the x-th power of; the right upper corner is marked with ^ or
Figure BDA00017671848200001313
A representation separator; such as:
Figure BDA00017671848200001314
or
Figure BDA00017671848200001315
Is composed of
Figure BDA00017671848200001316
To the x power of.
Figure BDA00017671848200001317
To represent
Figure BDA00017671848200001340
The transpose of (1) indicates transposing the set, and no transpose is performed on the members; such as:
Figure BDA00017671848200001318
Figure BDA00017671848200001319
the projection symbol is a projection vector or a projection sequence of a vector or a second-order tensor to a reference base, namely a coordinate vector or a coordinate array, and the projection is dot product operation "·"; such as: position vector
Figure BDA00017671848200001320
In a coordinate system F[k]The projection vector in (1) is recorded as
Figure BDA00017671848200001321
Figure BDA00017671848200001322
Is a cross multiplier; such as:
Figure BDA00017671848200001323
is axis invariant
Figure BDA00017671848200001324
A cross-product matrix of; given any vector
Figure BDA00017671848200001325
Is cross-multiplication matrix of
Figure BDA00017671848200001326
The cross-multiplication matrix is a second order tensor.
Cross-multiplier operations have a higher priority than projecters
Figure BDA00017671848200001327
The priority of (2). Projecting sign
Figure BDA00017671848200001328
Is higher priority than the member access character
Figure BDA00017671848200001329
Or
Figure BDA00017671848200001330
Member access sign
Figure BDA00017671848200001331
Priority higher than power symbol
Figure BDA00017671848200001332
(10) Projection vector of unit vector in geodetic coordinate system
Figure BDA00017671848200001333
Unit zero vector
Figure BDA00017671848200001334
(11)
Figure BDA00017671848200001335
Zero position by origin
Figure BDA00017671848200001336
To the origin OlIs translated by the vector of
Figure BDA00017671848200001337
Representing the location structure parameter.
(12)iQlA rotation transformation matrix in relative absolute space;
(13) taking the vector of the natural coordinate axis as a reference direction, and marking the angular position or linear position of the zero position of the system as qlCalled natural coordinates; variation of joint
Figure BDA00017671848200001338
Natural joint coordinate phil
(14) For a given ordered set r ═ 1,4,3,2]TRemember r[x]The representation takes the x-th row element of the set r. Frequently remembered [ x ]]、[y]、[z]And [ omega ]]This is shown with the elements in columns 1, 2, 3 and 4.
(15)iljRepresents a kinematic chain from i to j;llktaking a kinematic chain from an axis l to an axis k;
given kinematic chain
Figure BDA0001767184820000141
If n represents a Cartesian rectangular system, it is called
Figure BDA0001767184820000142
Is a Cartesian axis chain; if n represents a natural reference axis, then call
Figure BDA0001767184820000143
Is a natural axis chain.
(16) Rodrigues quaternion expression form:
Figure BDA0001767184820000144
euler quaternion expression:
Figure BDA0001767184820000145
quaternion (also called axis quaternion) representation of invariants
Figure BDA0001767184820000146
High-dimensional determinant calculation of the block matrix:
note the book<1:n>Represents a natural number [1: n ]]Has a total of n! An example. Given a matrix M of size n × n belonging to a number domain, the elements of j rows and i columns are noted
Figure BDA0001767184820000147
Figure BDA0001767184820000148
Is defined according to determinant
Figure BDA0001767184820000149
Wherein: i [ I1, … in]Showing the arrangement<i1,…in>The number of the reverse orders of (1). The computational complexity of equation (1) is: n! N product times and n! The secondary addition has exponential calculation complexity and can only be applied to determinants with smaller dimensions. For the determinant with larger dimension, Laplace formula is usually applied to carry out recursion operation and memorize
Figure BDA00017671848200001410
Is composed of
Figure BDA00017671848200001411
The adjoint Matrix (adjoint Matrix) of (2) then has
Figure BDA00017671848200001412
The simpler algorithm usually applies gaussian elimination or LU decomposition, and first converts the matrix into a triangular matrix or a product of triangular matrices by elementary transformation, and then calculates the determinant. The determinant calculation method for the number domain is not suitable for a high-dimensional polynomial matrix, and a determinant calculation method for a block matrix needs to be introduced. The determinant for computing Vector Polynomial (Vector multinomial) is a specific block matrix determinant computing problem, which expresses the intrinsic relationship of vectors and determinants at the Vector level. And the block matrix determinant calculation expresses the intrinsic rules of the block matrix and the determinant from the matrix level.
If given a vector polynomial
Figure BDA00017671848200001413
Wherein:
Figure BDA00017671848200001414
and
Figure BDA00017671848200001415
is a 3D coordinate vector of the image,
Figure BDA00017671848200001416
is a polynomial variable sequence; if contract
Figure BDA00017671848200001417
Then there is
Figure BDA0001767184820000151
The derivation steps of the above formula are: due to the fact that
Figure BDA0001767184820000152
Therefore, the formula (4) is established.
The expressions (3) and (4) can be generalized to n-dimensional space. Equation (3) helps analyze the intrinsic regularity of the determinant from the vector level; for example, when any two vectors are parallel or three vectors are coplanar, the corresponding determinant is zero. Formula (4) indicates that: determinants of vector polynomials are prone to "combinatorial explosion".
Example 1
Given 2-dimensional row vector polynomials
Figure BDA0001767184820000153
Figure BDA0001767184820000154
On the one hand, is obtained by the formula (4)
Figure BDA0001767184820000155
On the other hand, in the case of a liquid,
Figure BDA0001767184820000156
the above results verify the correctness of equation (4).
Giving a determinant calculation theorem of a block matrix:
if the matrix with the size of (n + M) · (n + M) is M, the matrix with the size of n.n
Figure BDA0001767184820000157
Is a sub-matrix formed by the first n rows and any n columns of elements of the square matrix M and has the size of m.m
Figure BDA0001767184820000158
Is a sub-matrix formed by M rows and the rest M columns of elements behind the square matrix M; the sequences cn and cm, which are composed of the matrix sequence numbers arranged in ascending order, are the sequences [1: m + n ]]A subset of [ cn, cm ]]∈<1:n+m>And has a cm ∪ cn ═ 1: m + n](ii) a Then the square matrix M determinant and the block matrix
Figure BDA0001767184820000159
And
Figure BDA00017671848200001510
has a determinant relationship of
Figure BDA00017671848200001511
Carrying out a stepped calculation principle on the determinant:
for an S × S matrix, each entry is for τ1Polynomial of order n. When the determinant of the matrix is calculated, the original determinant can be changed into an upper triangular determinant through primary row transformation, and then nonzero diagonal elements are multiplied to obtain a polynomial expression of the determinant. Since the formula is 0, τ is obtained1All solutions of (a).
The step-stepping method comprises the steps of firstly sorting the highest order of the first row of the determinant from high to low, and then carrying out primary row transformation elimination for at most (S-1) multiplied by n times to obtain the determinant with the first element of the first row not being 0. And performing primary row transformation elimination on the residue sub-formulas of the 1 st row and the 1 st column of the determinant, and sequentially performing iterative solution.
Example 2
Through the primary line transformation of the matrix, the method obtains
Figure BDA0001767184820000161
A matrix of row ladders.
The method comprises the following steps: rk represents the k-th row. To obtain
Figure BDA0001767184820000162
Then obtain
Figure BDA0001767184820000163
An N-order polynomial system based on 'N carry word':
if n 'n-element 1-order' polynomial power products
Figure BDA0001767184820000164
The medium independent variable appears repeatedly for N times to obtain N 'N-element N-order' polynomial systems
Figure BDA0001767184820000165
"N-element N-order polynomial system" and "N-bit N-carry word"
Figure BDA0001767184820000166
And (4) isomorphism.
Figure BDA0001767184820000167
Figure BDA0001767184820000168
Figure BDA0001767184820000169
Figure BDA0001767184820000171
Dixon polynomials of N "nth order N" polynomial systems:
introducing an auxiliary variable [ y2,y3,…,yn]And is provided with
Figure BDA0001767184820000172
In the multivariate polynomial (8), with the auxiliary variable YmThe first m sequentially replacing original variables (OriginalVariables) XnM variables in the (b) are marked with "|" as a replacing operator to obtain an Extended polynomial
Figure BDA0001767184820000173
Figure BDA0001767184820000174
In which the upper right hand symbols α, α represent powers;
from formula (6) and formula (12)
Figure BDA0001767184820000175
Wherein:
Figure BDA0001767184820000176
defining separable compositional variables
Figure BDA0001767184820000177
And
Figure BDA0001767184820000178
the following were used:
Figure BDA0001767184820000179
the following equations (14) and (15) show that: replaceable type
Figure BDA00017671848200001710
Is about
Figure BDA00017671848200001711
And
Figure BDA00017671848200001712
double linear type of (1). Accordingly, the polynomial system replaced by the auxiliary variable is denoted by
Figure BDA00017671848200001713
Given N 'N-element N-order' polynomial systems
Figure BDA00017671848200001714
Defining the Dixon polynomial as
Figure BDA0001767184820000181
Is obtained by formula (17)
Figure BDA0001767184820000182
The isolated variables in formula (15) differ from the literature: original variablesXn-1Assisted variable Yn-1The ordering of the substitutions is different, as are the Dixon polynomials. Dixon determinant of this polynomial taking into account equations (13) and (18)
Figure BDA0001767184820000183
In cartesian space, a determinant consisting of a position vector or a rotation vector represents a Volume (Volume) in which the vector opens up into space; there is a constancy of volume in different cartesian spaces. Wherein:
Figure BDA0001767184820000184
the orders and the number of the replacement variable terms of the Dixon determinant of N 'N-element N-order' polynomials are respectively as follows:
Figure BDA0001767184820000185
n "N-ary N-th order" Dixon matrices:
given N "N-ary N-th order" polynomial systems Fn(Yn-1|Xn-1) N is not less than 2; presence and elimination of variable x2,…,xnIndependent Dixon matrixSΘS(x1) Of Dixon polynomials thereof
Figure BDA0001767184820000186
Expressed as a separate variable
Figure BDA0001767184820000187
And
Figure BDA0001767184820000188
double linear type of (2):
Figure BDA0001767184820000189
α[l]∈[0,N·(n-l+1)-1]],l∈[2:n](23)
Figure BDA0001767184820000191
is a Dixon matrix of size SxS, the [ i ] th][j]Member is univariate x1Polynomial of order N:
Figure BDA0001767184820000192
wherein:
Figure BDA0001767184820000193
if it is
Figure BDA0001767184820000194
Then there is
Figure BDA0001767184820000195
Dixon elimination and solution of N 'N-element N-order' polynomials
Consider formula (22) if
Figure BDA0001767184820000196
So that
Det(SΘS(x1))=0。 (28)
The 'n-elements' in the formula (28) are called as the necessary conditions of Dixon elimination elements, so that a feasible solution is obtained. If it isSΘSIf there is a zero row or zero column vector, x cannot be established1A polynomial equation of (a); at this time, through elementary transformation except scalar product, willSΘSBecomes a Row ladder (Row Echelon) matrix Ech (SΘS) (ii) a Obtaining the square matrix after calculating the product of the input axes (Pivot) of the matrix
Figure BDA0001767184820000197
Namely atSΘSS' independent column vectors are selected.
Any one of N 'N-element N-order' polynomial systems
Figure BDA0001767184820000198
Examples of (A), (B) are denoted by
Figure BDA0001767184820000199
Wherein:
Figure BDA00017671848200001910
Figure BDA00017671848200001911
and is provided with
Figure BDA00017671848200001912
According to
Figure BDA00017671848200001913
Determining Dixon matrix, separation variables
Figure BDA00017671848200001914
And
Figure BDA00017671848200001915
selecting
Figure BDA00017671848200001916
And
Figure BDA00017671848200001917
satisfy the requirement of
Figure BDA00017671848200001918
Determining bilinear forms
Figure BDA00017671848200001919
Figure BDA00017671848200001920
Wherein:
Figure BDA00017671848200001921
neutralization of
Figure BDA00017671848200001922
The corresponding column lines are linearly independent. Due to the fact that
Figure BDA00017671848200001923
Is obtained from formula (22) and formula (25)
Figure BDA00017671848200001924
It is referred to as a knot or elimination. Formula (32) is a univariate x1A polynomial equation of (a); n-1 unknowns are eliminated; thus, a univariate x can be obtained1Is possible. If x1At the same time satisfy
Figure BDA0001767184820000201
X is then1Is a correct solution. Will have solved x1Substituted formula (34) having the formula (32)
Figure BDA0001767184820000202
At will, therefore, get
Figure BDA0001767184820000203
Namely have
Figure BDA0001767184820000204
If necessary under the conditions
Figure BDA0001767184820000205
Solve equation (35) to obtain the eliminated variable
Figure BDA0001767184820000206
The solution of (1); otherwise, the complete solution needs to be obtained by combining equation (16). Considering equation (25), x on both sides of equation (22)1The order is equal, so it must be
Figure BDA0001767184820000207
If at the same time satisfy
Figure BDA0001767184820000208
Then can be solved by formula (35)
Figure BDA0001767184820000209
N-1 mutually different combination variables; thus, solutions for all independent variables are obtained.
Given N 'N-ary N' polynomials
Figure BDA00017671848200002010
The Dixon matrix calculation steps are as follows:
① determining system structure, the equation number and independent variable number are n, and the independent variable is Xn(ii) a The polynomial complex variable is expressed as
Figure BDA00017671848200002011
The replacement variable is noted
Figure BDA00017671848200002012
The number of the replacing variables is n-1; dixon matrix of size S.S is denoted
Figure BDA00017671848200002013
The member coefficient is represented by the formula (24), wherein: s is determined by equation (32); the variable to be eliminated is x1
② from formula (8) x α and
Figure BDA00017671848200002014
correspondence relationship, in expression (11)
Figure BDA00017671848200002015
There are at most S terms.
③ Dixon (F) is calculated according to equation (19) and the Sarrus rulen(Yn-1|Xn-1) ); according to
Figure BDA00017671848200002016
And corresponding N carry word operation results are obtained, and polynomial combination is completed.
④ Dixon matrix members are shown as equation (32), and Dixon matrices are calculated from equation (32)SΘS(n + 1). S2A coefficient.
⑤ when the direct solution criterion of equations (37) and (38) is satisfied, all numerical solutions are obtained from equations (34) and (35).
Example 3
Dixon elimination is performed on the polynomial system (39).
Figure BDA00017671848200002017
The method comprises the following steps: the formula is 4 '4-element 1-order' polynomial systems, and satisfies the Dixon elimination condition. From formula (19) and formula (22) to obtain
Figure BDA0001767184820000211
Wherein:
Figure BDA0001767184820000212
5 solutions were obtained from equations (34) and (40):
Figure BDA0001767184820000213
Figure BDA0001767184820000214
Figure BDA0001767184820000215
wherein:
Figure BDA00017671848200002126
is not a solution to the system of equations. Other solutions are substituted into formula (35), respectively. When in use
Figure BDA0001767184820000216
When obtained from formula (35)
Figure BDA0001767184820000217
Obtaining by solution: tau is3=1,τ4-2. Will be provided with
Figure BDA0001767184820000218
τ3And τ4T is obtained by substituting formula (39)21. Likewise, three other sets of solutions are available. Obviously, the dependent variable does not satisfy equation (26), and the Dixon matrix shown in equation (40) is asymmetric. This example shows that a Dixon determinant of zero is sufficient for a multiple linear polynomial system.
Fixed axis rotation based on axis invariants
As shown in FIG. 3, axis vectors are given
Figure BDA0001767184820000219
And unit vector consolidated therewith
Figure BDA00017671848200002110
For unit vectors before rotation
Figure BDA00017671848200002111
Figure BDA00017671848200002112
To system zero axis
Figure BDA00017671848200002113
Is projected vector of
Figure BDA00017671848200002114
To the radial axis of the system
Figure BDA00017671848200002115
Has a moment vector of
Figure BDA00017671848200002116
Radial vector is
Figure BDA00017671848200002117
Axial vector
Figure BDA00017671848200002118
Relative to the rod member
Figure BDA00017671848200002119
And omegalOr natural coordinate system
Figure BDA00017671848200002120
And F[l]Is fixed and not changed, so the rotation is called fixed axis rotation. Unit vector
Figure BDA00017671848200002121
Around shaft
Figure BDA00017671848200002122
Rotation of
Figure BDA00017671848200002123
Rear, rotated null vector
Figure BDA00017671848200002124
To system zero axis
Figure BDA00017671848200002125
Is projected vector of
Figure BDA0001767184820000221
Zero vector after rotation
Figure BDA0001767184820000222
To the radial axis of the system
Figure BDA0001767184820000223
Has a moment vector of
Figure BDA00017671848200002238
An axial component of
Figure BDA0001767184820000224
So as to obtain the Rodrigues vector equation with chain indexes
Figure BDA0001767184820000225
Factor unit vector
Figure BDA0001767184820000226
Is arbitrary and
Figure BDA00017671848200002237
obtaining the Rodrigues equation of rotation with chain index
Figure BDA0001767184820000227
If it is
Figure BDA0001767184820000228
From formula (42) to
Figure BDA0001767184820000229
If it is
Figure BDA00017671848200002210
I.e. coordinate system
Figure BDA00017671848200002211
And F[l]The directions of (A) and (B) are identical, and the formula (42) shows that: antisymmetric part
Figure BDA00017671848200002212
Must have
Figure BDA00017671848200002213
Thus, the system zero is a natural coordinate system
Figure BDA00017671848200002214
And F[l]The sufficient requirement for coincidence, i.e. the direction of the natural coordinate system at the initial moment is consistent, is a precondition for the zero definition of the system. The kinematics and dynamics of the multi-axis system can be conveniently analyzed by utilizing a natural coordinate system.
Figure BDA00017671848200002215
Formula (43) relates to
Figure BDA00017671848200002216
And
Figure BDA00017671848200002217
is an axis invariant
Figure BDA00017671848200002218
A second order polynomial of (a). Given natural null vector
Figure BDA00017671848200002219
As
Figure BDA00017671848200002220
Zero reference of
Figure BDA00017671848200002221
And
Figure BDA00017671848200002222
representing the null vector and the radial vector, respectively. Formula (43) is
Figure BDA00017671848200002223
Symmetrical part
Figure BDA00017671848200002224
Representing zero-axis tensor, antisymmetric part
Figure BDA00017671848200002225
Representing the radial-axis tensor, respectively the axial-outer product tensor
Figure BDA00017671848200002226
Orthogonal, thereby determining a three-dimensional natural axis space; the formula (43) only comprises a sine and cosine operation, 6 product operations and 6 sum operations, and the calculation complexity is low; at the same time, the passing shaft does not change
Figure BDA00017671848200002227
And joint variables
Figure BDA00017671848200002228
The parameterization of the coordinate system and the polarity is realized.
For axle chain
Figure BDA00017671848200002229
Is provided with
Figure BDA00017671848200002230
Is obtained from formula (44) and formula (43)
Figure BDA00017671848200002231
Then
Figure BDA00017671848200002232
Is that
Figure BDA00017671848200002233
And
Figure BDA00017671848200002234
multiple linear type of (a), wherein: l is an element ofilk. Formula (43) can be represented as
Figure BDA00017671848200002235
The modified Cayley transform is designated (45). Namely have
Figure BDA00017671848200002236
The normalized position equation is
Figure BDA0001767184820000231
Determination of "jubes" quaternion:
for any rod member
Figure BDA0001767184820000232
Define the "Ju-Gibbs" (Ju-Gibbs) canonical quaternion isomorphic with Euler quaternion:
Figure BDA0001767184820000233
wherein:
Figure BDA0001767184820000234
is a Gibbs vector. The Gibbs conjugate quaternion is:
Figure BDA0001767184820000235
wherein:
Figure BDA0001767184820000236
it is clear that,
Figure BDA0001767184820000237
is composed of
Figure BDA0001767184820000238
The square of the mode. Since the Cure-Gibbs quaternion is a quaternion, it satisfies the fourElement multiplication operation
Figure BDA0001767184820000239
Wherein:
Figure BDA00017671848200002310
is obtained by the formula (52)
Figure BDA00017671848200002311
Conventionally, the expected postures of the single joints and the kinematic chains are expressed by a standard Ju-Gibbs quaternion (the standard Ju-Gibbs quaternion is abbreviated as the quaternion with 1); however, their product operation is usually irregular, i.e. its scale is not 1. From the formula (53): only given axes l and
Figure BDA00017671848200002319
the norm Ju-Gibbs quaternion, and the two axes are orthogonal,
Figure BDA00017671848200002312
is a canonical quaternion.
Is obtained by formula (53)
Figure BDA00017671848200002313
By four-dimensional complex nature
Figure BDA00017671848200002314
Note the book
Figure BDA00017671848200002315
Is obtained by the formula (52)
Figure BDA00017671848200002316
Therefore, it is
Figure BDA00017671848200002317
Is a unit Ju-Gibbs quaternion.
From formula (48) to formula (50) and formula (55)
Figure BDA00017671848200002318
Is obtained from formula (50), formula (54) and formula (57)
Figure BDA0001767184820000241
DCM-like and properties:
for axle chain
Figure BDA0001767184820000242
The canonical attitude equation is:
Figure BDA0001767184820000243
is obtained by formula (59)
Figure BDA0001767184820000244
Figure BDA0001767184820000245
In the formula (I), the compound is shown in the specification,
Figure BDA0001767184820000246
is a rotation transformation matrix;
Figure BDA0001767184820000247
auxiliary variable y for representationlFirst l of the sequence of substitution of the original variable τlTaking "|" as a replacement operator for l variables in the list;
wherein:
Figure BDA0001767184820000248
from the formula (61):iQnand
Figure BDA00017671848200002414
is about taukN is multiplied by a polynomial of order 2. From the formula (60): due to the fact that
Figure BDA0001767184820000249
And
Figure BDA00017671848200002410
similarly, it is called DCM-like (DCM, directional cosine matrix). Is obtained by the formula (62)
Figure BDA00017671848200002411
Obviously, DCM-like can be expressed by Ju-Gibbs quaternion. Therefore, the equation of the attitude of equation (59) and the equation of the position of equation (47) are expressions with respect to the quaternion of Ju-Gibbs.
Inverse of block matrix:
if reversible square matrixes K, B and C are given, wherein B and C are square matrixes of l × l and C × C respectively; A. d are matrices of l × c, c × l, respectively, an
Figure BDA00017671848200002412
Then there is
Figure BDA00017671848200002413
Pointing alignment principle based on Ju-Gibbs quaternion
Considering axle chainsillWherein
Figure BDA0001767184820000251
If make the axis vector
Figure BDA0001767184820000252
Vector of desired axis
Figure BDA0001767184820000253
Aligned, there is at least one Ju-Gibbs direction quaternion
Figure BDA0001767184820000254
Wherein:
Figure BDA0001767184820000255
Figure BDA0001767184820000256
and is provided with
Figure BDA0001767184820000257
The specific establishment steps of the above formula are as follows:
cayley positive transformation of fixed axis rotation
Figure BDA0001767184820000258
Is obtained by the formula (69)
Figure BDA0001767184820000259
Is obtained by the formula (70)
Figure BDA00017671848200002510
And
Figure BDA00017671848200002511
due to the fact that
Figure BDA00017671848200002512
And
Figure BDA00017671848200002513
is a unit vector, if
Figure BDA00017671848200002514
And is
Figure BDA00017671848200002515
Then there is
Figure BDA00017671848200002516
Formula (73) shows
Figure BDA00017671848200002517
And
Figure BDA00017671848200002518
are orthogonal to each other. The optimal axial vector is obtained from the equations (72) and (73)
Figure BDA00017671848200002519
And
Figure BDA00017671848200002520
the formula (66) is obtained from the formulae (74) and (75). If it is
Figure BDA00017671848200002521
Or
Figure BDA00017671848200002522
Is obtained by the formula (70)
Figure BDA00017671848200002523
Is obtained by formula (76)
Figure BDA00017671848200002524
Due to the fact that
Figure BDA00017671848200002525
Thus obtained from formula (77)
Figure BDA0001767184820000261
And
Figure BDA00017671848200002613
the formulae (67) and (68) are obtained from the formulae (78) and (79), respectively. After the syndrome is confirmed.
The pointing alignment principle based on the Ju-Gibbs quaternion shows that: there is at least one desired Ju-Gibbs quaternion
Figure BDA0001767184820000262
Make unit vector
Figure BDA0001767184820000263
And the expected unit vector
Figure BDA0001767184820000264
And (4) aligning.
Example 4
Considering axle chainsil6Derived from the principle of pointing alignment based on Ju-Gibbs quaternion
Figure BDA0001767184820000265
2R direction inverse solution based on Ju-Gibbs quaternion
Based on the alignment of the Ju-Gibbs quaternion orientation, the 2R direction inverse solution is explained.
If a 6R rotating chain is givenil6=(i,1:6]]In the direction of the 5 th axis joint Ju-Gibbs, the quaternion is desirably expressed as
Figure BDA0001767184820000266
And the 3 rd shaft joint Ju-Gibbs standard quaternion is
Figure BDA0001767184820000267
There is an inverse solution when pointing to the alignment
Figure BDA0001767184820000268
Figure BDA0001767184820000269
Wherein:
Figure BDA00017671848200002610
Figure BDA00017671848200002611
quaternion in Ju-Gibbs orientation
Figure BDA00017671848200002612
Satisfy the requirement of
Figure BDA0001767184820000271
The specific establishment steps of the above formula are as follows:
first, consider Euler quaternion-based pose alignment. By
Figure BDA0001767184820000272
To obtain
Figure BDA0001767184820000273
Is obtained by the formula (86)
Figure BDA0001767184820000274
Wherein:
Figure BDA0001767184820000275
is obtained by the formula (64) and the formula (88)
Figure BDA0001767184820000276
Is obtained by formula (87)
Figure BDA0001767184820000277
Wherein:
Figure BDA0001767184820000278
is obtained by formula (89) and formula (90)
Figure BDA0001767184820000279
Is obtained by the formula (92)
Figure BDA00017671848200002710
If it is
Figure BDA00017671848200002711
The two sides of the formula (92) and the formula (93) are correspondingly divided
Figure BDA00017671848200002712
Second, consider the directional alignment of the Ju-Gibbs quaternion. Due to the fact that
Figure BDA0001767184820000281
Thus, (82) was obtained. Is obtained by the formula (58)
Figure BDA0001767184820000282
The joint variable is represented by a canonical Ju-Gibbs quaternion which is obtained by the formula (53)
Figure BDA0001767184820000283
Is obtained by formula (96)
Figure BDA0001767184820000284
Due to the fact that3n4And4n5independently, as can be seen from the formula (83),3E5must be present. It is clear that,
Figure BDA0001767184820000285
by3n4And4n5and (4) uniquely determining. By substituting formula (96), formula (97) and formula (91) for formula (95)
Figure BDA0001767184820000286
If it is
Figure BDA0001767184820000287
Obtained by the 1 st line of the formula (98)
Figure BDA0001767184820000288
By substituting formula (99) for formula (98)
Figure BDA0001767184820000289
The two principles are equivalent to each other as shown in the formulas (94) and (100). Obtained by 2 nd and 3 rd of formula (100)
Figure BDA00017671848200002810
From the equation (101), the equation (80) holds. Factoring in the memory (100) into 4 equations, 2 independent variables, and constraint equations derived from the 4 th element in equations (101) and (100)
Figure BDA00017671848200002811
If it is
Figure BDA00017671848200002812
From formula (93) to C4C50; is obtained by formula (87)
Figure BDA00017671848200002813
Is obtained by formula (103)
Figure BDA00017671848200002814
It is clear that,
Figure BDA00017671848200002815
when in use
Figure BDA00017671848200002816
When, if
Figure BDA00017671848200002817
Is obtained by the formula (102)
Figure BDA00017671848200002818
If it is
Figure BDA00017671848200002819
Is obtained by the formula (102)
Figure BDA0001767184820000291
From equation (106): or either
Figure BDA0001767184820000292
Or either
Figure BDA0001767184820000293
From the equations (106) and (101), the equation (81) is also established. When in use
Figure BDA0001767184820000294
When, if
Figure BDA0001767184820000295
Equation (80) also holds. After the syndrome is confirmed.
Quaternion in Ju-Gibbs orientation
From the formulae (80), (81) and (99)
Figure BDA0001767184820000296
And is
Figure BDA0001767184820000297
Handle
Figure BDA0001767184820000298
Substitution into the above two equations results in equation (84), which shows a particular Ju-Gibbs quaternion, referred to as the Ju-Gibbs orientation quaternion.
Example 5
Continuing with example 4, consider a chain of axlesil6And is provided with3n4=1[x]4n5=1[y]Is obtained by the formula (83)3 E 51. Is obtained from formula (80) and formula (81)
Figure BDA0001767184820000299
Figure BDA00017671848200002910
Figure BDA00017671848200002911
Obtained by the formula (81):
Figure BDA00017671848200002912
the 2R direction inverse solution principle based on the Ju-Gibbs quaternion shows that the Ju-Gibbs quaternion and the Euler quaternion are isomorphic; meanwhile, equation (63) shows that DCM-like represented by Ju-Gibbs quaternion is isomorphic with DCM. Therefore, the pose relation can be completely expressed by applying the Ju-Gibbs quaternion.
If given a kinematic chainiln,k∈ilnExpectation criterion Ju-Gibbs quaternion
Figure BDA00017671848200002913
And the expected position vector
Figure BDA00017671848200002914
Consider equations (47) and (95); the position and orientation alignment relationship is expressed as
Figure BDA00017671848200002915
And has a modulus invariance
Figure BDA00017671848200002916
Compared with the Euler quaternion and the dual quaternion, the pose alignment represented by the Ju-Gibbs quaternion has no redundant equation; through pointing alignment, the joint variables of the 4 th axis and the 5 th axis can be solved, and a foundation is laid for 6R and 7R mechanical arm inverse solution.
Dixon determinant principle of calculation based on axis invariants:
and the Dixon determinant basic properties of the radial invariant and the kinematic chain are provided based on the axis invariant, so that a foundation is laid for the inverse kinematics analysis of the robot based on the axis invariant.
【1】 Axial invariant
First, axis invariants have a substantial difference from coordinate axes: the coordinate axis is a reference direction with a zero position and unit scales, can describe the linear position of the axial translation, but cannot completely describe the angular position around the axial direction, because the coordinate axis does not have a radial reference direction per se, namely, a zero position representing rotation does not exist. In practical applications, a supplementary radial reference of the coordinate axes is required. The coordinate axes are 1D, and 3 orthogonal coordinate axes form a 3D Cartesian frame; the axis invariant is a 3D spatial unit reference axis (3D reference axis for short) with a radial reference null. The "3D reference axis" and its radial reference null may determine the corresponding cartesian system. The three basic properties of coaxiality, polarity and zero position of the motion axis and the measurement axis can be accurately reflected by the axis invariants based on a natural coordinate system.
Second, the axis invariants are fundamentally different from the euler axis: the Direction Cosine Matrix (DCM) is a real matrix, and the axis vector is a feature vector corresponding to the feature value 1 of the DCM and is an invariant; the fixed shaft invariant is a 3D reference shaft, and has an original point, an axial direction and a radial reference zero position; under a natural coordinate system, the axis invariance does not depend on the adjacent fixed natural coordinate system, namely, the axis invariance has an unchangeable natural coordinate under the adjacent fixed natural coordinate system; the shaft invariants have excellent mathematical operation functions such as power zero characteristics and the like; in a natural coordinate system, the DCM and the reference polarity can be uniquely determined through the axis invariants and the joint coordinates; it is not necessary to establish a separate system for each rod, and the workload of modeling can be greatly simplified.
Meanwhile, the only Cartesian rectangular coordinate system to be defined is used as a reference, and the measuring axis is invariant, so that the measuring precision of the structural parameters can be improved. Based on the excellent operation and attributes of the axis invariants, iterative kinematics and kinetics equations including topological structure, coordinate system, polarity, structure parameters and kinetics parameters can be established.
The following equations (59) and (47) show that: the attitude and position equations of multiaxial systems are essentially multivariate second-order polynomial equations, the inverse solution of which is essentially attributable to the elimination problem of multivariate second-order polynomials, including two subproblems of Dixon matrix and Dixon determinant calculations. The expression 3R mechanical arm position equation of the formula (47) is 3 '3-element 2-order' polynomials, the inverse solution is calculated by applying a Dixon elimination method, two alternative variables are provided, and the maximum possible order is 16 when an 8 x 8 Dixon determinant is calculated. As can be seen from the formula (4): determinant calculation is an arrangement process and faces the problem of 'combinatorial explosion'.
All questions that are not solvable within a certain polynomial time are called NP questions. Non-deterministic algorithms decompose the problem into two phases, "guess" and "verify": the "guess" phase of the algorithm is non-deterministic, and the "verify" phase of the algorithm is deterministic, with verification to determine if the guessed solution is correct. If it can be calculated within the polynomial time, it is called the polynomial non-deterministic problem. The elimination of multivariate polynomials is generally considered an NP problem. General application
Figure BDA0001767184820000301
The basis is to perform elimination of the multivariate polynomial and has to resort to heuristic "guessing" and "verification" to solve the problem.
【2】 Radial invariance
Structural parameters
Figure BDA0001767184820000311
And
Figure BDA0001767184820000312
are structural variables of the chain links l, which can be obtained by external measurement in the zero position of the system. As shown in fig. 4, the null vector, the radial vector, and the axial vector are invariant independent of the rotation angle. Wherein the null vector is a particular radial vector.
Any vector can be decomposed into a null vector and an axial vector, so
Figure BDA0001767184820000313
Wherein:
Figure BDA0001767184820000314
Figure BDA0001767184820000315
consider a chain link
Figure BDA0001767184820000316
The D-H parameter is
Figure BDA0001767184820000317
It is clear that,
Figure BDA0001767184820000318
is a shaft l and
Figure BDA0001767184820000319
the common perpendicular or common radial vector of (a),
Figure BDA00017671848200003110
is the axial vector of the axis l. From equation (112): any one of the structure parameter vectors
Figure BDA00017671848200003111
Decomposable into zero invariants independent of coordinate system
Figure BDA00017671848200003112
And axial invariance
Figure BDA00017671848200003113
Their radial vectors are noted
Figure BDA00017671848200003114
Vector of structural parameters
Figure BDA00017671848200003115
And axis invariant
Figure BDA00017671848200003116
The radial coordinate system is uniquely defined with 2 independent dimensions. If two axial invariants
Figure BDA00017671848200003117
And
Figure BDA00017671848200003118
collinear, then it is marked
Figure BDA00017671848200003119
If two zero-position invariants
Figure BDA00017671848200003120
And
Figure BDA00017671848200003121
and any two radial invariants
Figure BDA00017671848200003122
And
Figure BDA00017671848200003123
coplanar is then recorded
Figure BDA00017671848200003124
Therefore, the axial invariants and the null invariants shown in equation (110) are the decomposition of the structural parameter vector to the natural axis.
From the equations (113) and (114): the determinant of three radial vectors of the same axis is zero; the determinant of any two axial vectors of the same axis is zero. Dixon determinant computations can be simplified with axis invariants and their derived invariants.
The null, radial and axial vectors derived from the axis invariants have the following relationships:
Figure BDA00017671848200003125
Figure BDA00017671848200003126
Figure BDA00017671848200003127
equation (115) is called the inversion equation of the zero vector; the expression (116) is called as a interchange expression of a zero vector and a radial vector; equation (117) is referred to as the radial vector invariance equation. From formula (109), formula (115) to formula (117)
Figure BDA0001767184820000321
Figure BDA0001767184820000322
Is obtained by the formula (118)
Figure BDA0001767184820000323
Due to the fact that
Figure BDA0001767184820000324
Is that
Figure BDA0001767184820000325
Is a structural constant of the symmetric part, so that the expression (118) is a vector
Figure BDA0001767184820000326
Is a symmetric decomposition. Due to the fact that
Figure BDA0001767184820000327
Is that
Figure BDA0001767184820000328
So that equation (119) is a vector
Figure BDA0001767184820000329
Is disclosed in (1). Equation (120) is referred to as a return-to-zero equation.
【3】 Kinematic chain Dixon determinant Properties
Definition of
Figure BDA00017671848200003210
Is obtained by the formula (52)
Figure BDA00017671848200003211
Wherein:
Figure BDA00017671848200003212
considering equation (122), if M is a matrix of 4.4, then there is
Figure BDA00017671848200003213
Figure BDA00017671848200003214
Figure BDA00017671848200003215
And is provided with
Figure BDA0001767184820000331
Is obtained from the formula (62) and the formula (110)
Figure BDA0001767184820000332
Is proved by formula (126)
Figure BDA0001767184820000333
Is represented by formula (129)
Figure BDA0001767184820000334
Formula (127) can be
Figure BDA0001767184820000335
And
Figure BDA0001767184820000336
can be converted into
Figure BDA0001767184820000337
Multiple linear types of (a). At the same time, the user can select the desired position,
Figure BDA0001767184820000338
for ylAnd τlWith symmetry (rotation). Is obtained from formula (111), formula (118) and formula (119)
Figure BDA0001767184820000339
Equation (129) is derived from three independent structural parameters
Figure BDA00017671848200003310
And a motion variable τlAnd (4) forming. Is represented by formula (129)
Figure BDA00017671848200003311
Figure BDA00017671848200003312
Is obtained from formula (127) and formula (131)
Figure BDA00017671848200003313
From formula (127) and formula (132)
Figure BDA0001767184820000341
DCM-like based 2R direction inverse solution
Giving 6R axial chainil6=(i,1:6]Axial vector of3n4And4n5the desired 5 th axis DCM is
Figure BDA0001767184820000342
DCM of the desired 3 rd axis is
Figure BDA0001767184820000343
Direction vector5l6To the desired direction
Figure BDA0001767184820000344
The inverse solution of the alignment needs to satisfy the following equation:
Figure BDA0001767184820000345
the establishment steps of the above equation are:
direction vector5l6To the desired direction
Figure BDA0001767184820000346
Alignment needs to be satisfied
Figure BDA0001767184820000347
Is obtained by the formula (60)
Figure BDA0001767184820000348
Namely, it is
Figure BDA0001767184820000349
Equation (137) is re-expressed as equation (134).
Cayley transform based on axis invariants
When a given angle
Figure BDA00017671848200003410
Then, the sine and cosine and the sine and cosine of the half angle are constants; for convenient expression, record
Figure BDA00017671848200003411
Is obtained by formula (138)
Figure BDA0001767184820000351
Definition of
Figure BDA0001767184820000352
Therefore it has the advantages of
Figure BDA0001767184820000353
Figure BDA0001767184820000354
And radial vector
Figure BDA0001767184820000355
And tangential vector
Figure BDA0001767184820000356
Is a linear relation, scale
Figure BDA0001767184820000357
Is "Rodrigues Linear invariant". Is generally called as
Figure BDA0001767184820000358
Namely, it is
Figure BDA0001767184820000359
For Rodrigues or Gibbs vectors, and
Figure BDA00017671848200003510
referred to as Modified Rodrigues Parameters (MRPs).
3R mechanical arm position inverse solution method based on axis invariant
Given 3R rotating chain
Figure BDA00017671848200003511
And desired attitude
Figure BDA00017671848200003512
Axial invariant sequence
Figure BDA00017671848200003513
Finding joint variable sequence
Figure BDA00017671848200003514
This is the 3R pose inverse solution problem.
【1】 And obtaining n 'n-element 2-order' polynomial equations according to the n-element 3D vector pose equation of the mechanical arm.
Equation of 3R kinematics from equation (47)
Figure BDA00017671848200003515
Is obtained by the formula (142)
Figure BDA00017671848200003516
Is obtained by formula (143)
Figure BDA00017671848200003517
If remember
Figure BDA00017671848200003518
Then the general formula (61) and the formula (145)
Figure BDA00017671848200003519
From formula (144) and formula (145)
Figure BDA0001767184820000361
Next, a Dixon determinant structural model and characteristics of the kinematic equation of the 3R manipulator are explained. Obtaining a 3R kinematic polynomial equation from equation (147)
Figure BDA0001767184820000362
Polynomial system F3(Y2|T2) According to the formula of bilinear determinant
Figure BDA0001767184820000363
Then there is
Figure BDA0001767184820000364
Wherein:
Figure BDA0001767184820000365
Figure BDA0001767184820000366
is obtained from the formula (18), the formula (147) and the formula (148)
Figure BDA0001767184820000367
Expression (151) is established from expression (22) and expression (153). Is obtained from formula (127) and formula (145)
Figure BDA0001767184820000368
Figure BDA0001767184820000371
Is obtained from formula (145), formula (154) and formula (155)
Figure BDA0001767184820000372
Wherein: applying a formula (133) calculation
Figure BDA0001767184820000373
Obviously, y in the formula (156)2Order β 2 ∈ 0:3]And y3Order β 3 ∈ [0:1 ] for]. Consider the last three terms of equation (153):
Figure BDA0001767184820000374
y in (1)2Order β 2 ∈ 0:3]And y3Order β 3 ∈ [0:1 ] for];
Figure BDA0001767184820000375
Y in (1)2Order β 2 ∈ 0:2]And y3Order β 3 ∈ [0:1 ] for];
Figure BDA0001767184820000376
Y in (1)2Order of β 2 e [0:3 ]]And y3Order of β 3 e [0:1 ]]. From the above, it can be seen that: y in formula (153)2Order β 2 ∈ 0:3]And y3Order of β 3 e [0:1 ]]. So, S is 8.
From formula (145), formula (153) to formula (156):
Figure BDA0001767184820000377
the medium combined variable coefficient is independent column vector, so it is selected
Figure BDA0001767184820000378
To form a square matrix
Figure BDA0001767184820000379
Remainder ofColumn vector is given by
Figure BDA00017671848200003710
Are related. Therefore, the formula (147) is established.
【2】 The determinant calculation is simplified by applying a Dixon determinant calculation method based on axis invariants and a high-dimensional determinant calculation method of block matrixes.
According to the Dixon determinant property of kinematic chain, obtained from formula (127) and formula (145)
Figure BDA00017671848200003711
Figure BDA00017671848200003712
Figure BDA0001767184820000381
Figure BDA0001767184820000382
Respectively representing axes 2 to 3, and axes 3 to 3SNull, radial and axial vectors.
Obtained by formula (157)
Figure BDA0001767184820000383
Is obtained by formula (158)
Figure BDA0001767184820000384
Is obtained by formula (159)
Figure BDA0001767184820000385
Is obtained by formula (153)
Figure BDA0001767184820000386
Substituting formulae (160) to (162) for formula (163) to obtain
Figure BDA0001767184820000387
【3】 Using Dixon elimination elements and solving principles of N 'N-element N-order' polynomials to finish pose inverse solution calculation, wherein: and obtaining a unary high-order polynomial equation according to the determinant of the Dixon matrix as 0, and solving the solution of the unary high-order polynomial equation by applying the unary high-order polynomial equation based on the friend matrix.
Unary nth order polynomial p (x) a0+a1x+…an-1xn-1+xnWith n solutions. If a matrix A can be found, satisfy | A- λl·1n|·vl0, wherein: is an element of [1: n ]],λlIs the eigenvalue, v, of the matrixlIs the corresponding feature vector. If the characteristic equation of the matrix A is
Figure BDA0001767184820000391
The Matrix is called a friend Matrix of the polynomial p (x), and thus, the polynomial equation p (λ:)l) Solution to 0 as characteristic equation | a- λ of its friend matrix al·1nSolution of 0.
If the polynomial p (x) has a lattice of
Figure BDA0001767184820000392
The matrix formed by the eigenvectors of matrix a is a van der monde (Vandermonde) matrix
Figure BDA0001767184820000393
And is provided with
p(λl)=|A-λl·1n|=0 (167)。
From the formulae (28), (151) and (152)
Figure BDA0001767184820000394
Since S is 8, the calculation of equation (1) is applied
Figure BDA0001767184820000395
The complexity of (c) is 8.8! 322560; and performing determinant calculation of secondary partitioning by applying an equation (5), wherein: the 2 · 2 block matrix has a computational complexity of 4! (2 · 2! +2 · 2! + 1)/(2! 2!) ═ 30, and the 4 · 4 partition matrices have a computational complexity of 8! (30+30+1)/(4 |) 4270. In general, equation (168) relates to τ116 order polynomial equation.
Second, axis invariant based universal 6R mechanical arm pose inverse solution method
6 rotating shafts are set, the picking point is located on the axis of the 6 th shaft, and the mechanical arm with the 4 th shaft and the 5 th shaft which are not coaxial is a universal 6R mechanical arm. The 6 th shaft is controlled to be aligned with a desired position and direction through the front 5 shafts, the 6 th shaft can be infinitely rotated or the 6 th shaft is controlled to meet the radial alignment.
The pose inverse solution of the universal 6R mechanical arm based on the axis invariant is as follows:
given the 6 th axis desired position vector
Figure BDA0001767184820000396
And desired attitude
Figure BDA0001767184820000397
And given the 6 th axis desired position vector
Figure BDA0001767184820000398
And 5 th axis desired attitude
Figure BDA0001767184820000401
The inverse solution problem of (2) is equivalent; a generic 6R robot arm is essentially a 5R axis chain system.
If a 6R axis chain is givenil6=(i,1:6],il1=036 th axis desired position vectorIs composed of
Figure BDA0001767184820000402
And 5 th axis desired attitude
Figure BDA0001767184820000403
The 3 rd axis joint Ju-Gibbs standard quaternion is
Figure BDA0001767184820000404
Other axis expression ways are the same; the 6R arm kinematics polynomial equation characterized by the axis invariant is then:
Figure BDA0001767184820000405
wherein
Figure BDA0001767184820000406
In the formula, the character is a continuation character;
Figure BDA0001767184820000407
respectively represent the zero vector and the radial vector of the shafts 4 to 5 and 5 to 6;
Figure BDA0001767184820000408
is axis invariant
Figure BDA0001767184820000409
A cross-product matrix of; 03=[0 0 0]T
Figure BDA00017671848200004010
Figure BDA00017671848200004011
The matrix formed by the system structure parameters and the quaternion of the expected Ju-Gibbs attitude is expressed as
Figure BDA00017671848200004012
Figure BDA00017671848200004013
Figure BDA00017671848200004014
Wherein the content of the first and second substances,
Figure BDA00017671848200004015
a 4 x 4 matrix representing system configuration parameters;
Figure BDA00017671848200004016
express get
Figure BDA00017671848200004017
The first row of elements of (a), and so on,
Figure BDA00017671848200004018
express get
Figure BDA00017671848200004019
Row k +1 elements of (1); the upper right corner expression form [ 2 ]]Representing the form of expression [. cndot. ] taken by rows or columns]Representing taking all columns;
Figure BDA00017671848200004020
express get3E5Row 3, all columns.
And defined as follows:
Figure BDA0001767184820000411
the establishment procedure for the above equation is given below:
expectation of
Figure BDA0001767184820000412
Desired attitude to 5 th axis
Figure BDA0001767184820000413
Alignment, if given a kinematic chainiln,k∈ilnExpectation criterion Ju-Gibbs quaternion
Figure BDA0001767184820000414
And the expected position vector
Figure BDA0001767184820000415
The position and orientation alignment relationship is expressed as
Figure BDA0001767184820000416
Is obtained by formula (175)
Figure BDA0001767184820000417
Further, it is obtained by the formula (58)
Figure BDA0001767184820000418
Formula (170) is obtained from formula (52), and formula (176) is obtained
Figure BDA0001767184820000419
Is obtained by formula (53)
Figure BDA00017671848200004110
Wherein:
Figure BDA00017671848200004111
from formula (177) and formula (178)
Figure BDA00017671848200004112
Is obtained by the formula (64)
Figure BDA00017671848200004113
Substituting formula (181) for formula (177)
Figure BDA00017671848200004114
Wherein:
Figure BDA00017671848200004115
formula (172) is obtained from formula (183). From formula (172) and formula (182)
Figure BDA00017671848200004116
Figure BDA0001767184820000421
The formula (184) relates to
Figure BDA0001767184820000422
Desired attitude
Figure BDA0001767184820000423
And 4-axis and 5-axis structural parameters. Is obtained by the formula (62)
Figure BDA0001767184820000424
In one aspect, the formula (184), formula (185), and formula (186) are used to obtain
Figure BDA0001767184820000425
On the other hand, the compounds represented by the formulas (176), (184) and (187)
Figure BDA0001767184820000426
So that
Figure BDA0001767184820000427
From formula (185) to (174)
Figure BDA0001767184820000428
Is obtained by the formula (184) and the formula (174)
Figure BDA0001767184820000429
Equations (184) through (190) are used for subsequent equation simplification, and C with superscripts and subscripts is a structural constant matrix. Considering the 2 norm on both sides of the equation (182)
Figure BDA00017671848200004210
Consider whenil1=03The position vector of time is aligned
Figure BDA00017671848200004211
Is obtained from formula (47) and formula (193)
Figure BDA00017671848200004212
Further, obtain
Figure BDA00017671848200004213
Namely have
Figure BDA0001767184820000431
Obviously, there are
Figure BDA0001767184820000432
Left-hand of formula (194) from formula (110), formula (176) and formula (195)
Figure BDA0001767184820000433
Structural parameters
Figure BDA0001767184820000434
And
Figure BDA0001767184820000435
are structural variables of the chain links l, which can be obtained by external measurement in the zero position of the system. The null, radial and axial vectors are invariant independent of the angle of rotation. Wherein the null vector is a particular radial vector.
Is obtained by the formula (110), the formula (185), the formula (190) and the formula (188)
Figure BDA0001767184820000436
Is obtained from formula (190) and formula (197)
Figure BDA0001767184820000437
From the formulae (184), (190) and (198)
Figure BDA0001767184820000441
Substituting (194) with formula (196) and formula (199), and eliminating both sides
Figure BDA0001767184820000442
To obtain the formula (169).
Elimination of tau4And τ5The subsequent position equation (169) is 3 '3-element 2-order' polynomial equations which can be equivalent to the 3R mechanical arm problem, the inverse solution method of the 3R mechanical arm position based on the axis invariant is adopted for solving, and the general 6R mechanical arm position is calculated in real timeThe basis is established for the inverse solution of the R-axis mechanical arm. On one hand, the absolute positioning precision of the 6R mechanical arm is improved; on the other hand, the 4 th shaft and the 5 th shaft of the traditional decoupling mechanical arm can move in the root direction structurally, so that the structure of the mechanical arm can be optimized, and the flexibility of the 6R mechanical arm in avoiding obstacles is improved.
Third, general 7R mechanical arm pose inverse solution based on axis invariant
The robot arm is called to have 7 rotating shafts, the picking point is positioned on the 7 th shaft axis, and the 5 th shaft and the 6 th shaft are not coaxial, and is a universal 7R robot arm. The general 7R mechanical arm controls the 7 th shaft to be aligned with a desired position and posture through the front 6 shafts, and the 7 th shaft rotates infinitely or the 7 th shaft is controlled to meet the requirement of radial alignment. Thus, a 7R universal robot arm has greater flexibility of space operation than a 6R robot arm.
Given a desired position
Figure BDA0001767184820000443
And desired attitude
Figure BDA0001767184820000444
Inverse solution problem of (1) to given desired position
Figure BDA0001767184820000445
And desired attitude
Figure BDA0001767184820000446
The 7R mechanical arm is essentially a 6R axis chain system, and can be solved according to the above-mentioned axis invariant-based 6R mechanical arm position inverse solution method. Next, the inverse solution process of the general 7R robot will be described.
If 7R axis chain is givenil7=(i,1:7],il1=03The expected position vector and the Ju-Gibbs quaternion are respectively recorded as
Figure BDA0001767184820000447
And
Figure BDA0001767184820000448
the 7R arm kinematics polynomial equation characterized by the axis invariant is then:
Figure BDA0001767184820000451
wherein:
Figure BDA0001767184820000452
the matrix formed by the system structure parameters and the quaternion of the expected Ju-Gibbs attitude is expressed as
Figure BDA0001767184820000453
Figure BDA0001767184820000454
Figure BDA0001767184820000455
Figure BDA0001767184820000456
The establishment steps of the above formula are as follows:
expectation of
Figure BDA0001767184820000457
And posture
Figure BDA0001767184820000458
Alignment, obtained by the formula (175)
Figure BDA0001767184820000459
Further, it is obtained by the formula (58)
Figure BDA00017671848200004510
Formula (201) is obtained from formula (52), and formula (206) is obtained
Figure BDA0001767184820000461
Is obtained by formula (53)
Figure BDA0001767184820000462
Wherein:
Figure BDA0001767184820000463
is obtained by the formula (207) and the formula (208)
Figure BDA0001767184820000464
Is obtained by the formula (64)
Figure BDA0001767184820000465
By substituting formula (211) for formula (210)
Figure BDA0001767184820000466
Wherein:
Figure BDA0001767184820000467
expression (203) is obtained from expression (213). Is obtained from the formula (203) and the formula (212)
Figure BDA0001767184820000468
Figure BDA0001767184820000469
Formula (214) relates to
Figure BDA00017671848200004610
Posture
Figure BDA00017671848200004611
And constraint equations of 5-axis and 6-axis structural parameters. From formula (203) to (205) and
Figure BDA0001767184820000471
is obtained from formula (214) and formula (205)
Figure BDA0001767184820000472
Equations (214) to (217) are used for subsequent equation simplification, and C is a structural constant matrix. Consider the two-sided 2-norm of equation (216)
Figure BDA0001767184820000473
Is obtained by the formula (62)
Figure BDA0001767184820000474
On the one hand, the compounds represented by the formulae (216), (215) and (219)
Figure BDA0001767184820000475
On the other hand, the expression (206), (214) and (220) are used to obtain
Figure BDA0001767184820000476
So that
Figure BDA0001767184820000477
The attitude equation in equation (200) is derived from equation (222).
Consider whenil1=03The position vector of time is aligned
Figure BDA0001767184820000478
Is obtained from formula (47) and formula (223)
Figure BDA0001767184820000479
Further, obtain
Figure BDA0001767184820000481
Namely have
Figure BDA0001767184820000482
Obviously, there are
Figure BDA0001767184820000483
A left-hand version of formula (224) from formula (206) and formula (225)
Figure BDA0001767184820000484
Is obtained from the formula (110), the formula (215), the formula (216) and the formula (221)
Figure BDA0001767184820000485
Is obtained from formula (216) and formula (227)
Figure BDA0001767184820000491
From formula (214), formula (217) and formula (228)
Figure BDA0001767184820000492
Will be the formula (226) and formula(229) Substituted (224) and erased on both sides
Figure BDA0001767184820000493
And (5) obtaining a position equation in (200).
Elimination of tau5And τ6The subsequent pose equation (200) is a 4-element polynomial equation of order 2.
Ju-Gibbs incremental quaternion and Properties
The calculation complexity of the pose inverse solution of the universal 7R mechanical arm is high, and the technical problem of real-time calculation needs to be solved. In engineering, the calculation accuracy is a relative concept, and the engineering requirements can be met only by ensuring that the numerical calculation accuracy is 4 to 6 times higher than the accuracy of the system structure parameters. The attitude equation shown in equation (59) and the position equation shown in equation (47) are essentially expressions of the Ju-Gibbs quaternion. The engineering precision requirement can be met as long as the equations (59) and (47) have enough calculation precision. Firstly, a 'Jub-Gibbs' increment quaternion (Delta-quaternion) is provided, then a general 7R mechanical arm increment pose equation is established, and real-time inverse solution calculation is carried out.
【1】 "Jubs" incremental quaternion definition
Definitions of "Jubs" incremental quaternions
Figure BDA0001767184820000501
Wherein:
Figure BDA0001767184820000502
it is obvious that the "Jubs" incremental quaternion is a four-dimensional complex number, and has
Figure BDA0001767184820000503
【2】 "Jubs" incremental quaternion property
Is obtained by the formula (48) and the formula (230)
Figure BDA0001767184820000504
Is obtained by the formula (51)
Figure BDA0001767184820000505
Is obtained by the formula (234)
Figure BDA0001767184820000506
Is obtained by the formula (50)
Figure BDA0001767184820000507
Is obtained from formula (236) and formula (54)
Figure BDA0001767184820000508
Is obtained by the formula (62)
Figure BDA0001767184820000509
2. Universal 7R mechanical arm motion planning based on axis invariants
The inverse solution of the universal 7R mechanical arm cannot be realized under the prior art because of extremely high calculation complexity. However, the pick-up point located on the 7 th axis is usually located at a small distance from the 6 th axis. Therefore, a point closer to the picking point on the 6 th axis is taken as a nominal picking point, and the inverse solution of the universal 6R mechanical arm is calculated firstly; based on the motion planning and the inverse solution calculation, a numerical iteration method is applied to complete the motion planning and the inverse solution calculation of the universal 7R mechanical arm. The problem of establishing and solving the incremental (Delta) pose equation of the general 7R mechanical arm is discussed below.
【1】 General 7R axis chain increment pose equation
The incremental pose equation of the general 7R axis chain represented by the Gibbs incremental quaternion is stated first, and finally the inverse solution is solved.
If a 6R axis chain is givenil7=(i,1:7],il1=03The position vector and the Ju-Gibbs increment quaternion are respectively recorded as
Figure BDA0001767184820000511
And
Figure BDA0001767184820000512
then the general 6R mechanical arm increment pose equation represented by the Ju-Gibbs increment quaternion is expressed as:
Figure BDA0001767184820000513
Figure BDA0001767184820000514
wherein:
Figure BDA0001767184820000515
3n4is the coordinate vector of bar 3 to bar 4, which is an axis invariant;
Figure BDA0001767184820000521
is axis invariant3n4The other rods are in the same way; \\ is a continuation symbol;
Figure BDA0001767184820000522
Figure BDA0001767184820000523
zero vectors and radial vectors of the shafts 5 to 6 and 6 to 7 are respectively represented;
Figure BDA0001767184820000524
is axis invariant
Figure BDA0001767184820000525
A cross-product matrix of; 03=[0 0 0]T
Figure BDA0001767184820000526
Figure BDA0001767184820000527
The system structure parameter matrix composed of row quaternions is expressed as
Figure BDA0001767184820000528
Figure BDA0001767184820000529
Figure BDA00017671848200005210
Figure BDA00017671848200005211
Figure BDA00017671848200005212
Figure BDA00017671848200005213
Next, the incremental pose inverse solution of the generic 7R manipulator is analyzed. It is apparent that equation (239) relates to [. epsilon. ]lI ∈ [1:4 }. Re-expression of the formula (239) as
A·[ε1ε2ε3ε4]T=b (247)
If A-1Exist, solution (245) to
1ε2ε3ε4]T=A-1·b。 (248)
From formula (235) and formula (248)
Figure BDA00017671848200005214
From equation (215) to ε5And epsilon6. ToThis gives the full inverse solution.
The inverse solution of the pose of the universal 7R mechanical arm is as follows: may be indexed by incremental position vectors
Figure BDA00017671848200005215
And Gibbs incremental quaternion
Figure BDA00017671848200005216
An Iterative Approximation (Iterative Approximation) algorithm is applied to align the pose of the universal 7R mechanical arm with the expected pose.
【2】 Universal 7R mechanical arm motion planning based on partial velocity iteration
When k ∈ilnFrom the formulas (3.304) to (3.306)
Figure BDA0001767184820000531
Figure BDA0001767184820000532
The kinematic chain is recorded as
Figure BDA0001767184820000533
Is obtained by formula (249) and formula (250)
Figure BDA0001767184820000534
Note the book
Figure BDA0001767184820000535
Noting the expected poses as
Figure BDA0001767184820000536
And
Figure BDA0001767184820000537
and is provided with
Figure BDA0001767184820000538
Write formula (251) togetherIs composed of
Figure BDA0001767184820000539
Obtained by the Method of formula (252) by using Gradient (Gradient Descent Method/GDM) reduction Method
Figure BDA00017671848200005310
Wherein: step >0, Step → 0. Is obviously provided with
Figure BDA00017671848200005311
Selecting Step size from initial state
Figure BDA00017671848200005312
Starting iteration until the final state
Figure BDA00017671848200005313
The iterative optimization steps based on the yaw rate are as follows:
(1) determining an objective function
Figure BDA00017671848200005314
Obviously, the Goal stands for
Figure BDA00017671848200005315
And
Figure BDA00017671848200005316
the variance of (c).
(2) Selecting a step size
In one aspect, the step size is determined using a construction method
Figure BDA0001767184820000541
Then, as shown in equations (253) and (256): only when
Figure BDA0001767184820000542
When, Step → 0, Goal → 0.
On the other hand, it is obtained from the formulas (231) and (252)
Figure BDA0001767184820000543
Wherein: epsilon(i,6]=[ε1ε2… ε6]T. Step size is determined by equations 257 and 253
Figure BDA0001767184820000544
(3) Iterative process
On the one hand, if Step size Step of equation (258) is taken, the iterative calculation is performed by equation (259):
Figure BDA0001767184820000545
wherein: when in use
Figure BDA0001767184820000546
When so, the iterative process ends. For the iterative process of equation (259), then
δGoal≤0, (260)
I.e., the iterative process of equation (259) must converge.
The derivation process of the iterative calculation formula is as follows: is obtained from the formula (252) and the formula (255)
Figure BDA0001767184820000547
From formula (253), formula (256) and formula (261)
Figure BDA0001767184820000551
Since equation (256) is theoretically equivalent to equation (258), equation (258) may be used instead of equation (256). But formulae (256) andthe calculation process of equation (258) is different: because the word length of the computer is limited, the computer can be used for a long time
Figure BDA0001767184820000552
The former precision is increasingly poor, while the latter is increasingly high; at the same time, the latter is relatively computationally inexpensive. Therefore, in engineering applications, it is better to apply the step size in equation (258).
When in use
Figure BDA0001767184820000553
Then obtain a steady state solution phi(i,6]Namely, the pose inverse solution of the universal mechanical arm is obtained.
The general 7R mechanical arm motion planning based on the deflection speed is characterized in that: through iteration, the expected pose is gradually approached, and a path from the initial pose to the expected pose can be obtained. Because this method is a goal-oriented optimization process, real-time performance is poor. If the joint increment is controlled in the iteration process, the constraint of joint speed can be met; therefore, a set of inverse solutions corresponding to the expected pose is also obtained while the motion planning is completed.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A universal 7R mechanical arm inverse solution modeling and resolving method based on an axis invariant is characterized in that,
defining a natural coordinate system: if the multi-axis system D is in a zero position, all the Cartesian body coordinate systems have the same direction, and the origin of the body coordinate system is located on the axis of the moving shaft, the coordinate system is a natural coordinate system;
when the system is in a zero position, the natural coordinate systems of all the rod pieces are consistent with the direction of the base or the world system; with the system in zero position
Figure FDA0002338681250000011
Time, natural coordinate system
Figure FDA0002338681250000012
Vector around axis
Figure FDA0002338681250000013
Angle of rotation
Figure FDA0002338681250000014
Will be provided with
Figure FDA0002338681250000015
Go to F[l]
Figure FDA0002338681250000016
In that
Figure FDA0002338681250000017
Coordinate vector of
Figure FDA0002338681250000018
At F[l]Coordinate vector of
Figure FDA0002338681250000019
Is constant, i.e. has
Figure FDA00023386812500000110
Figure FDA00023386812500000111
Or
Figure FDA00023386812500000112
Independent of adjacent coordinate systems
Figure FDA00023386812500000113
And F[l](ii) a Balance
Figure FDA00023386812500000114
Or
Figure FDA00023386812500000115
Is an axis invariant;
appointing: in a kinematic chain symbolic operation system, attribute variables or constants with partial order include indexes representing partial order in name; or the upper left corner and the lower right corner, or the upper right corner and the lower right corner; for a certain attribute symbol, the direction of the attribute symbol is always from the upper left corner index to the lower right corner index of the partial order index, or from the upper right corner index to the lower right corner index;
determination of "jubes" quaternion:
as for any of the bar members l,
Figure FDA00023386812500000116
define the Ju-Gibbs norm quaternion isomorphic with Euler quaternion:
Figure FDA00023386812500000117
wherein:
Figure FDA00023386812500000118
is a Gibbs vector;
7 rotating shafts are set, the picking point is positioned on the axis of the 7 th shaft, and the mechanical arm with the 5 th shaft and the 6 th shaft which are not coaxial is a universal 7R mechanical arm; the general 7R mechanical arm controls the 7 th shaft to align with a desired position and a desired posture through the front 6 shafts, so that the 7 th shaft can rotate infinitely or the 7 th shaft is controlled to meet radial alignment;
will give the desired position of the 7 th axis
Figure FDA00023386812500000119
And 7 th axis desired attitude
Figure FDA00023386812500000120
Inverse solution ofSubject to given 6 th axis desired position
Figure FDA00023386812500000121
And the 6 th axis desired attitude
Figure FDA00023386812500000122
The inverse solution problem of (2) is equivalent, and a 7R mechanical arm kinematic equation is expressed by adopting an Jubes-Gibbs quaternion expression;
and establishing a general 7R mechanical arm increment pose equation based on the axis invariant motion planning of the general mechanical arm, taking a point with a certain distance from a pickup point on the 6 th axis as a nominal pickup point, calculating the inverse solution of the general 6R mechanical arm, and then applying a numerical iteration method to complete the motion planning and inverse solution calculation of the general 7R mechanical arm.
2. The inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 1,
if 7R axis chain is givenil7=(i,1:7],il1=03The expected position vector and the Ju-Gibbs quaternion are respectively recorded as
Figure FDA00023386812500000123
And
Figure FDA00023386812500000124
the 7R arm kinematics polynomial equation characterized by the axis invariant is then:
Figure FDA0002338681250000021
wherein:
Figure FDA0002338681250000022
the matrix formed by the system structure parameters and the quaternion of the expected Ju-Gibbs attitude is expressed as
Figure FDA0002338681250000023
Figure FDA0002338681250000024
Figure FDA0002338681250000025
Figure FDA0002338681250000026
In the formula, the character is a continuation character;
Figure FDA0002338681250000027
zero vectors and radial vectors of the shafts 5 to 6 and 6 to 7 are respectively represented;
Figure FDA0002338681250000028
is axis invariant
Figure FDA0002338681250000029
A cross-product matrix of; 03=[0 0 0]T
Figure FDA00023386812500000210
Figure FDA00023386812500000211
Figure FDA00023386812500000212
A 4 x 4 matrix representing system configuration parameters;
Figure FDA00023386812500000213
express get
Figure FDA00023386812500000214
The first row of elements of (a), and so on,
Figure FDA00023386812500000215
express get
Figure FDA00023386812500000216
Row k +1 elements of (1); the upper right corner expression form [ 2 ]]Representing the form of expression [. cndot. ] taken by rows or columns]Representing taking all columns;
Figure FDA00023386812500000217
express get3E5Row 3, all columns;4n5is the coordinate vector of bar 4 to bar 5, which is an axis invariant;
Figure FDA0002338681250000031
is axis invariant4n5The other rods are in the same way; expression form power symbol in formula
Figure FDA0002338681250000032
To represent
Figure FDA0002338681250000033
To the x-th power of; the right upper corner is marked with ^ or
Figure FDA0002338681250000034
A representation separator;
elimination of tau5And τ6The subsequent pose equation (200) is a 4-element polynomial equation of order 2.
3. The inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 1,
the general mechanical arm motion planning based on the axis invariant specifically comprises the following steps:
【1】 Establishing an incremental pose equation of a universal 7R axis chain;
【2】 And performing motion planning on the universal 7R mechanical arm based on the partial velocity iteration.
4. The inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 3,
define the Ju-Gibbs incremental quaternion:
the Ju-Gibbs norm quaternion is
Figure FDA0002338681250000035
Wherein: axial invariant
Figure FDA0002338681250000036
Figure FDA0002338681250000037
Is a joint variable; if it is used
Figure FDA0002338681250000038
Representing attribute placeholders, the form of expression in the formula
Figure FDA0002338681250000039
Representing a member access character; defining Jubs incremental quaternions
Figure FDA00023386812500000310
Wherein:
Figure FDA00023386812500000311
5. the inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 4,
in the step [1 ], if a 6R axis chain is givenil7=(i,1:7],il1=03The position vector and the Ju-Gibbs increment quaternion are respectively recorded as
Figure FDA00023386812500000312
And
Figure FDA00023386812500000313
then the general 6R mechanical arm increment pose equation represented by the Ju-Gibbs increment quaternion is expressed as:
Figure FDA0002338681250000041
Figure FDA0002338681250000042
Figure FDA0002338681250000043
wherein:
Figure FDA0002338681250000044
3n4is the coordinate vector of bar 3 to bar 4, which is an axis invariant;
Figure FDA0002338681250000045
is axis invariant3n4The other rods are in the same way; character of continuation;
Figure FDA0002338681250000046
zero vectors and radial vectors of the shafts 5 to 6 and 6 to 7 are respectively represented;
Figure FDA0002338681250000047
is axis invariant
Figure FDA0002338681250000048
A cross-product matrix of;03=[0 00]T
Figure FDA0002338681250000049
the system structure parameter matrix composed of row quaternions is expressed as
Figure FDA00023386812500000410
Wherein the content of the first and second substances,
Figure FDA00023386812500000411
a 4 x 4 matrix representing system configuration parameters; the upper right corner expression form [ 2 ]]Representing the form of expression [. cndot. ] taken by rows or columns]Representing taking all columns;
Figure FDA00023386812500000412
express get3E5Row i and all columns.
6. The inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 5,
analyzing the inverse solution of the incremental pose of the general 7R mechanical arm, wherein the formula (239) is related to the { epsilonlL belongs to the linear equation of [1:4 ]; re-expression of the formula (239) as
A·[ε1ε2ε3ε4]T=b; (247)
If A-1Exist, solution (245) to
1ε2ε3ε4]T=A-1·b; (248)
Thus, a complete inverse solution is obtained.
7. The inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 6,
by incremental position vectors
Figure FDA0002338681250000051
And Gibbs incremental quaternion
Figure FDA0002338681250000052
And (5) applying an iterative approximation algorithm to align the pose of the universal 7R mechanical arm to the expected pose.
8. The inverse solution modeling and solving method for a generic 7R manipulator based on axis invariants according to claim 7,
in the step [ 2 ], the step of iterative optimization based on the bias speed is as follows:
the kinematic chain is recorded as
Figure FDA0002338681250000053
l∈(i,1:6]Is provided with
Figure FDA0002338681250000054
Note the book
Figure FDA0002338681250000055
Noting the expected poses as
Figure FDA0002338681250000056
And
Figure FDA0002338681250000057
and is provided with
Figure FDA0002338681250000058
Figure FDA0002338681250000059
Co-writing formula (251) as
Figure FDA00023386812500000510
Obtained by applying a gradient descent method of the formula (252)
Figure FDA00023386812500000511
Wherein: step >0, Step → 0; is provided with
Figure FDA00023386812500000512
Selecting Step size from initial state
Figure FDA00023386812500000513
Starting iteration until the final state
Figure FDA00023386812500000514
(1) Determining an objective function
Figure FDA00023386812500000515
Goal representation
Figure FDA00023386812500000516
And
Figure FDA00023386812500000517
the variance of (a);
(2) selecting a step length;
(3) and carrying out iterative calculation to obtain a steady state solution, namely the pose inverse solution of the universal mechanical arm.
9. The inverse solution modeling and solving method for a universal 7R mechanical arm based on axis invariants as claimed in claim 8, wherein the step size is determined by using a construction method
Figure FDA0002338681250000061
Only when
Figure FDA0002338681250000062
Then, Step → 0, Goal → 0;
Figure FDA0002338681250000063
wherein: epsilon(i,6]=[ε1ε2…ε6](ii) a Step size is determined by equations 257 and 253
Figure FDA0002338681250000064
Wherein:
Figure FDA0002338681250000065
10. the inverse solution modeling and solving method for a generic 7R robot arm based on axis invariants according to claim 8,
iterative process
Taking Step of equation 258, the iterative calculation is performed by equation 259:
Figure FDA0002338681250000066
wherein: when in use
Figure FDA0002338681250000067
When so, the iteration process is ended;
for the iterative process of equation (259), then
δGoal≤0, (260)
That is, the iterative process of equation (259) must converge;
when in use
Figure FDA0002338681250000068
Then obtain a steady state solution phi(i,6]I.e. a universal robot armThe pose of (1) is solved reversely.
CN201810933321.5A 2018-08-16 2018-08-16 Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant Active CN109033688B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810933321.5A CN109033688B (en) 2018-08-16 2018-08-16 Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant
PCT/CN2018/112758 WO2020034416A1 (en) 2018-08-16 2018-10-30 Axis-invariant based inverse solution modeling and solving method for universal 7r robotic arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810933321.5A CN109033688B (en) 2018-08-16 2018-08-16 Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant

Publications (2)

Publication Number Publication Date
CN109033688A CN109033688A (en) 2018-12-18
CN109033688B true CN109033688B (en) 2020-03-31

Family

ID=64630516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810933321.5A Active CN109033688B (en) 2018-08-16 2018-08-16 Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant

Country Status (2)

Country Link
CN (1) CN109033688B (en)
WO (1) WO2020034416A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967099B (en) * 2020-07-20 2021-04-27 居鹤华 Optimal solving method for vector polynomial system of multi-degree-of-freedom mechanical arm

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104999463A (en) * 2015-07-09 2015-10-28 哈尔滨工程大学 Configuration-plane-based motion control method for redundant robot manipulator
CN106156425A (en) * 2016-07-05 2016-11-23 北京邮电大学 A kind of Universal-purpose quick Kinematic Model method of modular mechanical arm
CN107729637A (en) * 2017-10-09 2018-02-23 燕山大学 Redundant degree of freedom manipulator motion planning and evaluation method based on arm shape angle range

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423190B1 (en) * 2009-06-11 2013-04-16 Kabushiki Kaisha Yaskawa Denki Manipulator system
JP5815094B1 (en) * 2014-09-04 2015-11-17 富士重工業株式会社 Body manufacturing equipment
CN104834809B (en) * 2015-04-17 2016-05-18 中国石油大学(华东) Based on the seven freedom mechanical arm inverse kinematics method for solving of artificial bee colony search
JP6816364B2 (en) * 2016-02-25 2021-01-20 セイコーエプソン株式会社 Controls, robots, and robot systems
CN107066645A (en) * 2016-12-01 2017-08-18 西北工业大学 A kind of seven freedom biasing mechanism arm is against solution method
CN107203653B (en) * 2017-04-12 2020-05-05 山东科技大学 Inverse kinematics general solving method of six-degree-of-freedom series robot
CN107490965B (en) * 2017-08-21 2020-02-07 西北工业大学 Multi-constraint trajectory planning method for space free floating mechanical arm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104999463A (en) * 2015-07-09 2015-10-28 哈尔滨工程大学 Configuration-plane-based motion control method for redundant robot manipulator
CN106156425A (en) * 2016-07-05 2016-11-23 北京邮电大学 A kind of Universal-purpose quick Kinematic Model method of modular mechanical arm
CN107729637A (en) * 2017-10-09 2018-02-23 燕山大学 Redundant degree of freedom manipulator motion planning and evaluation method based on arm shape angle range

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
移动机械臂环境感知与运动规划的研究;张祥;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170215;第2017年卷(第02期);第I140-1114页 *
高精度解耦六自由度机械臂逆运动学解法;付荣等;《计算机测量与控制》;20101231;第18卷(第7期);第1637-1644页 *

Also Published As

Publication number Publication date
WO2020034416A1 (en) 2020-02-20
CN109033688A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN108942942B (en) Multi-axis robot inverse kinematics modeling and resolving method based on axis invariants
CN108972558B (en) Multi-axis robot dynamics modeling method based on axis invariants
CN108983705B (en) Positive kinematics modeling and resolving method of multi-axis robot system based on axis invariants
de Wit et al. Theory of robot control
Müller Screw and Lie group theory in multibody dynamics: recursive algorithms and equations of motion of tree-topology systems
CN109079784B (en) A kind of multi-axis robot system modelling and control method based on axis invariant
Orekhov et al. Solving cosserat rod models via collocation and the magnus expansion
Müller Approximation of finite rigid body motions from velocity fields
CN109033688B (en) Inverse solution modeling and resolving method for universal 7R mechanical arm based on axis invariant
CN108959828B (en) Inverse solution modeling and resolving method for universal 3R mechanical arm based on axis invariant
CN109015641B (en) The inverse solution modeling of general 6R mechanical arm based on axis invariant and calculation method
JPH0947987A (en) Manipulator simulating method and device
CN109079850B (en) D-H system and D-H parameter determination method of multi-axis robot based on axis invariance
CN108942943B (en) Positive kinematics calculation method of multi-axis robot based on axis invariants
CN109117451B (en) Tree chain robot dynamics modeling and resolving method based on axis invariants
CN111967099B (en) Optimal solving method for vector polynomial system of multi-degree-of-freedom mechanical arm
Stölzle et al. Modelling handed shearing auxetics: Selective piecewise constant strain kinematics and dynamic simulation
CN108959829B (en) Non-ideal joint robot dynamics modeling method based on axis invariant
Serban Dynamic and sensitivity analysis of multibody systems
CN112084592A (en) Folding truss dynamics analysis system, method, device and storage medium
CN109086544B (en) Closed-chain robot dynamics modeling and resolving method based on axis invariant
WO2020034418A1 (en) Modeling method for 1r/2r/3r inverse solutions on basis of axis invariants and dh parameters
Taves et al. Dwelling on the Connection Between SO (3) and Rotation Matrices in Rigid Multibody Dynamics–Part 2: Comparison Against Formulations Using Euler Parameters or Euler Angles
CN108803350B (en) Dynamic modeling and resolving method for movable base multi-axis robot based on axis invariants
Daney et al. Calibration of parallel robots: on the Elimination of Pose–Dependent Parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant