CN103170979B - Online robot parameter identification method based on inertia measurement instrument - Google Patents

Online robot parameter identification method based on inertia measurement instrument Download PDF

Info

Publication number
CN103170979B
CN103170979B CN201310048565.2A CN201310048565A CN103170979B CN 103170979 B CN103170979 B CN 103170979B CN 201310048565 A CN201310048565 A CN 201310048565A CN 103170979 B CN103170979 B CN 103170979B
Authority
CN
China
Prior art keywords
robot
delta
attitude
coordinate system
measurement instrument
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
CN201310048565.2A
Other languages
Chinese (zh)
Other versions
CN103170979A (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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201310048565.2A priority Critical patent/CN103170979B/en
Publication of CN103170979A publication Critical patent/CN103170979A/en
Application granted granted Critical
Publication of CN103170979B publication Critical patent/CN103170979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides the online robot parameter identification method based on inertia measurement instrument, including step: (1) robot kinematics models, the joint of robot and attitude are linked together;(2) use the attitude of inertia measurement instrument robot measurement, and in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), attitude data is estimated, thus obtaining stable robot pose;(3) the attitude identification machine Radix Ginseng number of robot is utilized.The present invention, by attitude data being estimated in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), thus obtaining stable robot pose, and utilizes the parameter of the Attitude estimation robot of robot.

Description

Online robot parameter identification method based on inertia measurement instrument
Technical field
The present invention relates to robot calibration method, particularly to a kind of method of online robot parameter identification based on inertia measurement instrument.
Background technology
The industrial robot that great majority use at present remains employing teaching programming, particularly in automobile industry.But, the off-line programing industry of teaching programming as an alternative, its importance steadily improves.The main cause of this trend is that the demand shortening downtime and improving robot utilization rate is greatly increased.
In successful off-line programing example, robot not only has repeatability, and has accuracy.The repeatability of robot is not by the impact of programmed method, but is subject to the impact of random error (limited resolution such as combined coding device).By contrast, in the accuracy of robot, the systematic error of absolute fix is almost entirely and to be caused by robot off-line programming.Lack the one of the main reasons of accuracy, be not mating between the prediction of motion model and real system.Robot perseverance appearance error is owing to several sources, including the deviation that geometric parameter error (such as linkage length and combine skew) and shift in position are predicted.
One of problem hindering off-line programing development is the static immobilization of the low precision of robot system and dynamically positions.Robot calibration improves the positioning precision of robot, can be used to make diagnostic tool simultaneously, is widely used in the production and maintenance of robot.Robot static calibration is a process that numerical value is identified and New Mathematical Model realizes combining modeling, measurement, robot real physical characteristics.The measuring process of calibration process be determine real machine people " be best suitable for " parameter arrange institute requisite.The types entail measured combines tool location and corresponding co-location.Owing to the quality of combination is less than what obtained by initial data concentration, obtain one group of good data very important.Use one of video camera trend of video measuring system seemingly current robot calibration system's development carrying out calibration machine people, but being still limited by by the research group of big budget company sponsors in the knowledge involved by this field, the interest of its distribution technology details is little.
Summary of the invention
The present invention proposes the online robot parameter identification method based on inertia measurement instrument.Inertia measurement instrument is fixed on the distal portion of robot, by attitude data being estimated in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), thus obtaining stable robot pose, and utilize the parameter of the Attitude estimation robot of robot.
The online robot parameter identification method based on inertia measurement instrument of the present invention, comprises the steps:
S1, robot kinematics's modeling, link together the joint of robot and attitude;
S2, using the attitude of inertia measurement instrument robot measurement, and in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), attitude data being estimated, thus obtaining stable robot pose;
S3, utilize the attitude identification machine Radix Ginseng number of robot.
Model the robot kinematics's model obtained described in step S1 and meet the rule that following kinematics parameters is identified:
1) integrity: robot kinematics's model should have enough parameters to define any possible deviation standard value;
2) seriality: the minor variations of the necessary corresponding kinematics parameters of any minor variations of robot architecture;
3) minimality: kinematics model must only comprise the parameter of minimal amount.
Step S1 includes:
Position and the attitude of robot end is defined according to DH model;By the conversion of continuous uniform, the kinematical equation obtained is defined as:
T N 0 = T N 0 ( v ) = T 1 0 T 2 1 . . . T N N - 1 = Π i = 1 N T i i - 1 - - - ( 1 )
Here definition robot body coordinate system is 0 coordinate system, and robot end's coordinate system is N coordinate system, and wherein N is the total number of link rod coordinate system or connecting rod;It is from 0 ordinate transform to the transition matrix of N coordinate system, namely from robot body ordinate transform to the transition matrix of robot end's coordinate system;Being the translation matrix being tied to i coordinate system from i-1 coordinate, i is connecting rod numbering, and the value of i is 1 ~ N;It is the parameter vector of robot, wherein contains connecting rod error;
vi=v′i+Δvi(2)
Here viIt is the parameter vector of connecting rod i, v 'iIt is the scalar of connecting rod i,It it is the parameter error vector of connecting rod i;It is defined as according to the kinematical equation that DH model obtains:
K N 0 = K N 0 ( v ) = K 1 0 K 2 1 . . . K N N - 1 = Π i = 1 N K i i - 1 - - - ( 3 )
With
K i i - 1 = T i i - 1 ( v i ′ + Δv i ) = T i i + ΔT i - - - ( 4 )
Consider connecting rod variable, have
K N 0 = T N 0 + ΔT , ΔT = ΔT ( u , Δv ) - - - ( 5 )
HereWithDefinition is consistent, is all from 0 ordinate transform to the transition matrix of N coordinate system, is distinctive in thatBe actual value andIt it is ideal value;It it is the actual translation matrix being tied to i coordinate system from i-1 coordinate;Δ T is error translation matrix;Being joint angle vector, θ is joint angle;Therefore span is'sIt it is a function relevant to joint angle vector u and link parameters error vector Δ v.
Described step S2 includes:
One inertia measurement instrument is installed in the distal portion of measured robot and determines the rolling of robot end, pitching and deflection attitude;Inertia measurement instrument is by a triaxial accelerometer, two two axis gyroscope instrument and three axle magnetometer compositions;
Define three coordinate system: body coordinate system xbybzb, inertia measurement instrument coordinate system xsyszsWith terrestrial coordinate system xeyeze;Inertia measurement instrument coordinate system xsyszsThe accelerometer of corresponding three orthogonal installations and the axle of magnetometer;Owing to inertia measurement instrument is rigidly mounted on robot end, it is assumed that body coordinate system xbybzbWith inertia measurement instrument coordinate system xsyszsIn conjunction with;Earth fixed coordinate system xeyezeFollow north-Dong-under (NED) pact, wherein xePoint to north, yePoint to east and zeUnder sensing;Inertia measurement instrument can measure the rolling of himself, pitching and deflection attitude;Definition is around xeRotation φ represent rolling, around yeThe rotation θ of axle represents pitching and around zeThe rotation ψ of axle represents deflection;According to Euler's rotation theorem, from Eulerian angles φ, θ and ψ being converted to quaternary number q:
q = q 0 q 1 q 2 q 3 = cos ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) sin ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) - cos ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) - sin ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) - - - ( 6 )
And being constrained to of four Euler Parameter:
q 0 2 + q 1 2 + q 2 2 + q 3 2 = 1 - - - ( 7 )
Here q0It is scalar component and (q1,q2,q3) it is vector section;So be tied to the attitude cosine matrix of earth fixed coordinate system from inertia measurement instrument coordinateCan be represented as:
M s e = q 0 2 + q 1 2 - q 2 2 - q 3 2 2 ( q 1 q 2 - q 0 q 3 ) 2 ( q 0 q 2 + q 1 q 3 ) 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 - q 1 2 + q 2 2 - q 3 2 2 ( q 2 q 3 - q 0 q 1 ) 2 ( q 1 q 3 - q 0 q 2 ) 2 ( q 0 q 1 + q 2 q 3 ) q 0 2 - q 1 2 - q 2 2 - q 3 2 - - - ( 8 ) ;
There are white noise and random walk due to gyroscope and magnetometer, in order to obtain stable data, utilize Kalman filtering to estimate the state of inertia measurement instrument from one group of noisy and incomplete measurement;From the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kkTransfer equation be:
xk=Ak·xk-1+B·uk-1+wk-1(9)
zk=H·xk+vk
Here xkIt is the state vector of n × 1, represents the inertia measurement instrument state of moment k;A is the state transition matrix of n × n;B is the system input matrix of n × p;uk-1Being the k-1 moment definitiveness input vector of p × 1, p is the number of definitiveness input;wk-1It it is the n × 1 process noise vector in k-1 moment;zkIt it is the m × 1 measurement vector in k moment;H is the observation matrix of m × n and vkIt it is the measurement noise vector of m × 1;N=7, m=6 herein;With the quaternion differential equation of time correlation it is:
∂ q 0 / ∂ t ∂ q 1 / ∂ t ∂ q 2 / ∂ t ∂ q 3 / ∂ t = q 0 - q 1 - q 2 - q 3 q 1 q 0 - q 3 q 2 q 2 q 3 q 0 - q 1 q 3 - q 2 q 1 q 0 · 0 v x / 2 v y / 2 v z / 2 - - - ( 10 )
Wherein vx,vy,vzIt is that inertia measurement instrument is at axle xs,ys,zsAngular velocity;Due to state xkIncluding quaternary number state and angular velocity, so xkThere is following form:
xk=[q0,kq1,kq2,kq3,kvx,kvy,kvz,k](11)
Here q0, k, q1, k, q2, k, q3, k, vX, k, vY, k,vz,kBeing quaternary number state and the angular velocity in k moment, can obtain from equation (10), State Transferring equation is:
A k = 1 0 0 0 - q 1 , k · Δt / 2 - q 2 , k · Δt / 2 - q 3 , k · Δt / 2 0 1 0 0 q 0 , k · Δt / 2 q 3 , k · Δt / 2 q 2 , k · Δt / 2 0 0 1 0 q 3 , k · Δt / 2 q 0 , k · Δt / 2 - q 1 , k · Δt / 2 0 0 0 1 - q 2 , k · Δt / 2 q 1 , k · Δt / 2 q 0 , k · Δt / 2 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 - - - ( 12 )
Here Δ t is sample time, owing to not controlling input, allows B=0n×p, then B uk-1=0n×1;Using angular velocity to estimate quaternary number state, obtaining process noise vector is
wk=[0000wxwywz]T(13)
Here wx,wy,wzIt it is the process noise of angular velocity;Owing to using gyroscope to measure angular velocity, observation matrix H is
H=[03×4I3×3](14)
In order to meet (7), definitionThe definitiveness quaternary number q in k momentkCan be standardized as:
qk=[q0,k/Dq1,k/Dq2,k/Dq3,k/D](15)
In conjunction with formula (9) to formula (15), can from the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kk
Described step S3 includes:
Assuming that measuring attitude number is s, then can again be expressed as from robot body ordinate transform to the kinesiology formula of robot end's coordinate system
K ^ = K ^ N 0 = ( K ^ ( u 1 , v ) , K ^ ( u 2 , v ) , . . . , K ^ ( u s , v ) ) T - - - ( 16 )
And
Δ T ^ = Δ T ^ N 0 = ( Δ T ^ ( u 1 , v ) , Δ T ^ ( u 2 , v ) , . . . , Δ T ^ ( u s , v ) ) T - - - ( 17 )
Here ui(i=1,2 ..., s) be ith measurement attitude joint angle vector;
Reference formula (3), (4), (5), hereDefinition withDefinition consistent,Definition with Δ T is consistent;
The target of kinesiology identification is by calculating parameter vector v=v '+Δ v, it is desirable to minimize that calculate and between the attitude measured difference;
K ^ ( u , v ) = Z ( u ) - - - ( 18 )
Be aboutThe function of attitude and Z (u)=(Z (u1),Z(u2) ... Z (us))TIt it is the measurement functions of joint angle vector;
For each measurement attitude Z (ui), there is attitude measurementAnd position measurementAnd
If measurement system can provide attitude measurement and position measurement, each attitude can formulate 12 and measure equation.If measurement system provides only attitude measurement, each attitude measurement may only be formulated three and measure equation, from equation (18), has
K ^ ( u , v ) = Z ( u ) = K ^ ( u , v ) + C ( u , Δv ) - - - ( 20 )
Here C isThe difference function of attitude assembly.The relation of Jacobian matrix and C is as follows:
C(u,Δv)=J·Δv(21)
And
C ( u , Δv ) = Z ( u ) - K ^ ( u , v ) - - - ( 22 )
Work as use
With
Equation (21) is rewritable is
J·h=b(25)
In order to solve nonlinear equation (25), Levenberg-Marquardt(LM algorithm) it is used to the data of fit non-linear model;When s is far longer than N, the most special and the most conventional method is nonlinear least square method.
The present invention has such advantages as relative to prior art and effect:
The present invention is fixed on the distal portion of robot inertia measurement instrument, by attitude data being estimated in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), thus obtaining stable robot pose, and utilize the parameter of the Attitude estimation robot of robot.
Accompanying drawing explanation
Fig. 1 is the flow chart of the online robot parameter identification based on inertia measurement instrument.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Embodiment:
The present invention comprises the steps:
S1, robot kinematics's modeling, link together the joint of robot and attitude;
S2, using the attitude of inertia measurement instrument robot measurement, and in conjunction with Quaternion Algorithm (FQA) and Kalman filtering (KFs), attitude data being estimated, thus obtaining stable robot pose;
S3, utilize the attitude identification machine Radix Ginseng number of robot.
Model the robot kinematics's model obtained described in step S1 and meet the rule that following kinematics parameters is identified:
1) integrity: robot kinematics's model should have enough parameters to define any possible deviation standard value;
2) seriality: the minor variations of the necessary corresponding kinematics parameters of any minor variations of robot architecture;
3) minimality: kinematics model must only comprise the parameter of minimal amount.
Step S1 includes:
Position and the attitude of robot end is defined according to DH model;By the conversion of continuous uniform, the kinematical equation obtained is defined as:
T N 0 = T N 0 ( v ) = T 1 0 T 2 1 . . . T N N - 1 = Π i = 1 N T i i - 1 - - - ( 1 )
Here definition robot body coordinate system is 0 coordinate system, and robot end's coordinate system is N coordinate system, and wherein N is the total number of link rod coordinate system or connecting rod;It is from 0 ordinate transform to the transition matrix of N coordinate system, namely from robot body ordinate transform to the transition matrix of robot end's coordinate system;Being the translation matrix being tied to i coordinate system from i-1 coordinate, i is connecting rod numbering, and the value of i is 1 ~ N;It is the parameter vector of robot, wherein contains connecting rod error;
vi=v′i+Δvi(2)
Here viIt is the parameter vector of connecting rod i, v 'iIt is the scalar of connecting rod i,It it is the parameter error vector of connecting rod i;It is defined as according to the kinematical equation that DH model obtains:
K N 0 = K N 0 ( v ) = K 1 0 K 2 1 . . . K N N - 1 = Π i = 1 N K i i - 1 - - - ( 3 )
With
K i i - 1 = T i i - 1 ( V i ′ + Δ v i ) = T i i + Δ T i - - - ( 4 )
Consider connecting rod variable, have
K N 0 = T N 0 + ΔT , ΔT = ΔT ( u , Δv ) - - - ( 5 )
HereWithDefinition is consistent, is all from 0 ordinate transform to the transition matrix of N coordinate system, is distinctive in thatBe actual value andIt it is ideal value;It it is the actual translation matrix being tied to i coordinate system from i-1 coordinate;Δ T is error translation matrix;Being joint angle vector, θ is joint angle;Therefore span is'sIt it is a function relevant to joint angle vector u and link parameters error vector Δ v.
Described step S2 includes:
One inertia measurement instrument is installed in the distal portion of measured robot and determines the rolling of robot end, pitching and deflection attitude;Inertia measurement instrument is by a triaxial accelerometer, two two axis gyroscope instrument and three axle magnetometer compositions;
Define three coordinate system: body coordinate system xbybzb, inertia measurement instrument coordinate system xsyszsWith terrestrial coordinate system xeyeze;Inertia measurement instrument coordinate system xsyszsThe accelerometer of corresponding three orthogonal installations and the axle of magnetometer;Owing to inertia measurement instrument is rigidly mounted on robot end, it is assumed that body coordinate system xbybzbWith inertia measurement instrument coordinate system xsyszsIn conjunction with;Earth fixed coordinate system xeyezeFollow north-Dong-under (NED) pact, wherein xePoint to north, yePoint to east and zeUnder sensing;Inertia measurement instrument can measure the rolling of himself, pitching and deflection attitude;Definition is around xeRotation φ represent rolling, around yeThe rotation θ of axle represents pitching and around zeThe rotation ψ of axle represents deflection;According to Euler's rotation theorem, from Eulerian angles φ, θ and ψ being converted to quaternary number q:
q = q 0 q 1 q 2 q 3 = cos ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) sin ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) - cos ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) - sin ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) - - - ( 6 )
And being constrained to of four Euler Parameter:
q 0 2 + q 1 2 + q 2 2 + q 3 2 = 1 - - - ( 7 )
Here q0It is scalar component and (q1,q2,q3) it is vector section;So be tied to the attitude cosine matrix of earth fixed coordinate system from inertia measurement instrument coordinateCan be represented as:
M s e = q 0 2 + q 1 2 - q 2 2 - q 3 2 2 ( q 1 q 2 - q 0 q 3 ) 2 ( q 0 q 2 + q 1 q 3 ) 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 - q 1 2 + q 2 2 - q 3 2 2 ( q 2 q 3 - q 0 q 1 ) 2 ( q 1 q 3 - q 0 q 2 ) 2 ( q 0 q 1 + q 2 q 3 ) q 0 2 - q 1 2 - q 2 2 - q 3 2 - - - ( 8 ) ;
There are white noise and random walk due to gyroscope and magnetometer, in order to obtain stable data, utilize Kalman filtering to estimate the state of inertia measurement instrument from one group of noisy and incomplete measurement;From the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kkTransfer equation be:
xk=Ak·xk-1+B·uk-1+wk-1
zk=H·xk+vk(9)
Here xkIt is the state vector of n × 1, represents the inertia measurement instrument state of moment k;A is the state transition matrix of n × n;B is the system input matrix of n × p;uk-1Being the k-1 moment definitiveness input vector of p × 1, p is the number of definitiveness input;wk-1It it is the n × 1 process noise vector in k-1 moment;zkIt it is the m × 1 measurement vector in k moment;H is the observation matrix of m × n and vkIt it is the measurement noise vector of m × 1;N=7, m=6 herein;With the quaternion differential equation of time correlation it is:
∂ q 0 / ∂ t ∂ q 1 / ∂ t ∂ q 2 / ∂ t ∂ q 3 / ∂ t = q 0 - q 1 - q 2 - q 3 q 1 q 0 - q 3 q 2 q 2 q 3 q 0 - q 1 q 3 - q 2 q 1 q 0 · 0 v x / 2 v y / 2 v z / 2 - - - ( 10 )
Wherein vx,vy,vzIt is that inertia measurement instrument is at axle xs,ys,zsAngular velocity;Due to state xkIncluding quaternary number state and angular velocity, so xkThere is following form:
xk=[q0,kq1,kq2,kq3,kvx,kvy,kvz,k](11)
Here q0, k, q1, k, q2, k, q3, k, vX, k, vY, k,vz,kBeing quaternary number state and the angular velocity in k moment, can obtain from equation (10), State Transferring equation is:
A k = 1 0 0 0 - q 1 , k · Δt / 2 - q 2 , k · Δt / 2 - q 3 , k · Δt / 2 0 1 0 0 q 0 , k · Δt / 2 q 3 , k · Δt / 2 q 2 , k · Δt / 2 0 0 1 0 q 3 , k · Δt / 2 q 0 , k · Δt / 2 - q 1 , k · Δt / 2 0 0 0 1 - q 2 , k · Δt / 2 q 1 , k · Δt / 2 q 0 , k · Δt / 2 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 - - - ( 12 )
Here Δ t is sample time, owing to not controlling input, allows B=0n×p, then B uk-1=0n×1;Using angular velocity to estimate quaternary number state, obtaining process noise vector is
wk=[0000wxwywz]T(13)
Here wx,wy,wzIt it is the process noise of angular velocity;Owing to using gyroscope to measure angular velocity, observation matrix H is
H=[03×4I3×3](14)
In order to meet (7), definitionThe definitiveness quaternary number q in k momentkCan be standardized as:
qk=[q0,k/Dq1,k/Dq2,k/Dq3,k/D](15)
In conjunction with formula (9) to formula (15), can from the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kk
Described step S3 includes:
Assuming that measuring attitude number is s, then can again be expressed as from robot body ordinate transform to the kinesiology formula of robot end's coordinate system
K ^ = K ^ N 0 = ( K ^ ( u 1 , v ) , K ^ ( u 2 , v ) , . . . , K ^ ( u s , v ) ) T - - - ( 16 )
And
Δ T ^ = Δ T ^ N 0 = ( Δ T ^ ( u 1 , v ) , Δ T ^ ( u 2 , v ) , . . . , Δ T ^ ( u s , v ) ) T - - - ( 17 )
Here ui(i=1,2 ..., s) be ith measurement attitude joint angle vector;
Reference formula (3), (4), (5), hereDefinition withDefinition consistent,Definition with Δ T is consistent;
The target of kinesiology identification is by calculating parameter vector v=v '+Δ v, it is desirable to minimize that calculate and between the attitude measured difference;
K ^ ( u , v ) = Z ( u ) - - - ( 18 )
Be aboutThe function of attitude and Z (u)=(Z (u1),Z(u2) ... Z (us))TIt it is the measurement functions of joint angle vector;
For each measurement attitude Z (ui), there is attitude measurementAnd position measurementAnd
If measurement system can provide attitude measurement and position measurement, each attitude can formulate 12 and measure equation.If measurement system provides only attitude measurement, each attitude measurement may only be formulated three and measure equation, from equation (18), has
K ^ ( u , v ) = Z ( u ) = K ^ ( u , v ) + C ( u , Δv ) - - - ( 20 )
Here C isThe difference function of attitude assembly.The relation of Jacobian matrix and C is as follows:
C(u,Δv)=J·Δv(21)
And
C ( u , Δv ) = Z ( u ) - K ^ ( u , v ) - - - ( 22 )
Work as use
With
Equation (21) is rewritable is
J·h=b(25)
In order to solve nonlinear equation (25), Levenberg-Marquardt(LM algorithm) it is used to the data of fit non-linear model;When s is far longer than N, the most special and the most conventional method is nonlinear least square method.
Above-described embodiment is the present invention preferably embodiment; but embodiments of the present invention are also not restricted to the described embodiments; the change made under other any spirit without departing from the present invention and principle, modification, replacement, combination, simplification; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (4)

1. based on the online robot parameter identification method of inertia measurement instrument, it is characterised in that comprise the following steps:
S1, robot kinematics's modeling, link together the joint of robot and attitude, specifically include:
Position and the attitude of robot end is defined according to DH model;By the conversion of continuous uniform, the kinematical equation obtained is defined as:
T N 0 = T N 0 ( v ) = T 1 0 T 2 1 ... T N N - 1 = Π i = 1 N T i i - 1 - - - ( 1 )
If robot body coordinate system is 0 coordinate system, robot end's coordinate system is N coordinate system, and wherein N is the total number of link rod coordinate system or connecting rod;It is from 0 ordinate transform to the transition matrix of N coordinate system, namely from robot body ordinate transform to the transition matrix of robot end's coordinate system;Being the translation matrix being tied to i coordinate system from i-1 coordinate, i is connecting rod numbering, and the value of i is 1~N;It is the parameter vector of robot, wherein contains connecting rod error;
vi=v 'i+Δvi(2)
Wherein viIt is the parameter vector of connecting rod i, v 'iIt is the scalar of connecting rod i,It is connecting rod i
Parameter error vector;It is defined as according to the kinematical equation that DH model obtains:
K N 0 = K N 0 ( v ) = K 1 0 K 2 1 ... K N N - 1 = Π i = 1 N K i i - 1 - - - ( 3 )
With
K i i - 1 = T i i - 1 ( v i ′ + Δv i ) = T i i + ΔT i - - - ( 4 )
Consider connecting rod variable, have
K N 0 = T N 0 + Δ T , Δ T = Δ T ( u , Δ v ) - - - ( 5 )
WhereinWithDefinition is consistent, is all from 0 ordinate transform to the transition matrix of N coordinate system, is distinctive in thatBe actual value andIt it is ideal value;It it is the actual translation matrix being tied to i coordinate system from i-1 coordinate;Δ T is error translation matrix;Being joint angle vector, θ is joint angle;Therefore span is'sIt it is a function relevant to joint angle vector u and link parameters error vector Δ v;
S2, using the attitude of inertia measurement instrument robot measurement, and in conjunction with Quaternion Algorithm and Kalman filtering, attitude data being estimated, thus obtaining stable robot pose;
S3, utilize the attitude identification machine Radix Ginseng number of robot.
2. the online robot parameter identification method based on inertia measurement instrument according to claim 1, it is characterised in that model the robot kinematics's model obtained described in step S1 and meet the character that following kinematics parameters is identified:
1) integrity: robot kinematics's model should have enough parameters to define any possible deviation standard value;
2) seriality: the minor variations of the necessary corresponding kinematics parameters of any minor variations of robot architecture;
3) minimality: kinematics model must only comprise the parameter of minimal amount.
3. the online robot parameter identification method based on inertia measurement instrument according to claim 1, it is characterised in that described step S2 comprises the following steps:
One inertia measurement instrument is installed in the distal portion of measured robot and determines the rolling of robot end, pitching and deflection attitude;Inertia measurement instrument is by a triaxial accelerometer, two two axis gyroscope instrument and three axle magnetometer compositions;
Define three coordinate system: body coordinate system xbybzb, inertia measurement instrument coordinate system xsyszsWith terrestrial coordinate system xeyeze;Inertia measurement instrument coordinate system xsyszsThe accelerometer of corresponding three orthogonal installations and the axle of magnetometer;Owing to inertia measurement instrument is rigidly mounted on robot end, it is assumed that body coordinate system xbybzbWith inertia measurement instrument coordinate system xsyszsIn conjunction with;Earth fixed coordinate system xeyezeFollow north-Dong-lower pact, wherein xePoint to north, yePoint to east and zeUnder sensing;Inertia measurement instrument can measure the rolling of himself, pitching and deflection attitude;Definition is around xeRotation φ represent rolling, around yeThe rotation θ of axle represents pitching and around zeThe rotation ψ of axle represents deflection;According to Euler's rotation theorem, from Eulerian angles φ, θ and ψ being converted to quaternary number q:
q = q 0 q 1 q 2 q 3 = cos ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) sin ( φ / 2 ) cos ( θ / 2 ) cos ( ψ / 2 ) - cos ( φ / 2 ) sin ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) + sin ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) cos ( φ / 2 ) cos ( θ / 2 ) sin ( ψ / 2 ) - sin ( φ / 2 ) sin ( θ / 2 ) cos ( ψ / 2 ) - - - ( 6 )
And being constrained to of four Euler Parameter:
q 0 2 + q 1 2 + q 2 2 + q 3 2 = 1 - - - ( 7 )
Wherein q0It is scalar component and (q1,q2,q3) it is vector section;So be tied to the attitude cosine matrix of earth fixed coordinate system from inertia measurement instrument coordinateCan be represented as:
M s e = q 0 2 + q 1 2 - q 2 2 - q 3 2 2 ( q 1 q 2 - q 0 q 3 ) 2 ( q 0 q 2 + q 1 q 3 ) 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 - q 1 2 + q 2 2 - q 3 2 2 ( q 2 q 3 - q 0 q 1 ) 2 ( q 1 q 3 - q 0 q 2 ) 2 ( q 0 q 1 + q 2 q 3 ) q 0 2 - q 1 2 - q 2 2 - q 3 2 - - - ( 8 ) ;
There are white noise and random walk due to gyroscope and magnetometer, in order to obtain stable data, utilize Kalman filtering to estimate the state of inertia measurement instrument from one group of noisy and incomplete measurement;From the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kkTransfer equation be:
x k = A k · x k - 1 + B · u k - 1 + w k - 1 z k = H · x k + v k - - - ( 9 )
Wherein xkIt is the state vector of n × 1, represents the inertia measurement instrument state of moment k;A is the state transition matrix of n × n;B is the system input matrix of n × p;uk-1Being the k-1 moment definitiveness input vector of p × 1, p is the number of definitiveness input;wk-1It it is the n × 1 process noise vector in k-1 moment;zkIt it is the m × 1 measurement vector in k moment;H is the observation matrix of m × n and vkIt it is the measurement noise vector of m × 1;N=7, m=6 herein;With the quaternion differential equation of time correlation it is:
∂ q 0 / ∂ t ∂ q 1 / ∂ t ∂ q 2 / ∂ t ∂ q 3 / ∂ t = q 0 - q 1 - q 2 - q 3 q 1 q 0 - q 3 q 2 q 2 q 3 q 0 - q 1 q 3 - q 2 q 1 q 0 · 0 v x / 2 v y / 2 v z / 2 - - - ( 10 )
Wherein vx,vy,vzIt is that inertia measurement instrument is at axle xs,ys,zsAngular velocity;Due to state xkIncluding quaternary number state and angular velocity, so xkThere is following form:
xk=[q0,kq1,kq2,kq3,kvx,kvy,kvz,k](11)
Here q0,k,q1,k,q2,k,q3,k,vx,k,vy,k,vz,kBeing quaternary number state and the angular velocity in k moment, can obtain from equation (10), State Transferring equation is:
A k = 1 0 0 0 - q 1 , k · Δ t / 2 - q 2 , k · Δ t / 2 - q 3 , k · Δ t / 2 0 1 0 0 q 0 , k · Δ t / 2 q 3 , k · Δ t / 2 q 2 , k · Δ t / 2 0 0 1 0 q 3 , k · Δ t / 2 q 0 , k · Δ t / 2 - q 1 , k · Δ t / 2 0 0 0 1 - q 2 , k · Δ t / 2 q 1 , k · Δ t / 2 q 0 , k · Δ t / 2 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 - - - ( 12 )
Wherein Δ t is sample time, owing to not controlling input, allows B=0n×p, then B uk-1=0n×1;Using angular velocity to estimate quaternary number state, obtaining process noise vector is
wk=[0000wxwywz]T(13)
Here wx,wy,wzIt it is the process noise of angular velocity;Owing to using gyroscope to measure angular velocity, observation matrix H is
H=[03×4I3×3](14)
In order to meet (7), definitionThe definitiveness quaternary number q in k momentkCan be standardized as:
qk=[q0,k/Dq1,k/Dq2,k/Dq3,k/D](15)
In conjunction with formula (9) to formula (15), can from the inertia measurement instrument state x of moment k-1k-1Estimate the inertia measurement instrument state x of moment kk
4. the online robot parameter identification method based on inertia measurement instrument according to claim 1, it is characterised in that described step S3 comprises the following steps:
Assuming that measuring attitude number is s, then can again be expressed as from robot body ordinate transform to the kinesiology formula of robot end's coordinate system
K ^ = K ^ N 0 ( K ^ ( u 1 , v ) , K ^ ( u 2 , v ) , ... , K ^ ( u s , v ) ) T - - - ( 16 )
And
Δ T ^ = Δ T ^ N 0 = ( Δ T ^ ( u 1 , v ) , Δ T ^ ( u 2 , v ) , ... , Δ T ^ ( u s , v ) ) T - - - ( 17 )
Here ui(i=1,2 ..., s) be ith measurement attitude joint angle vector;
Reference formula (3), (4), (5), hereDefinition withDefinition consistent,Definition with Δ T is consistent;
The target of kinesiology identification is by calculating parameter vector v=v'+ Δ v, it is desirable to minimize that calculate and between the attitude measured difference;
K ^ ( u , v ) = Z ( u ) - - - ( 18 )
Be aboutThe function of attitude and Z (u)=(Z (u1),Z(u2),...Z(us))TIt it is the measurement functions of joint angle vector;
For each measurement attitude Z (ui), there is attitude measurementAnd position measurementAnd
If measurement system can provide attitude measurement and position measurement, each attitude can formulate 12 and measure equation;If measurement system provides only attitude measurement, each attitude measurement may only be formulated three and measure equation, from equation (18), has
K ^ ( u , v ) = Z ( u ) = K ^ ( u , v ) + C ( u , Δ v ) - - - ( 20 )
Here C isThe difference function of attitude assembly;The relation of Jacobian matrix and C is as follows:
C (u, Δ v)=J Δ v (21)
And
C ( u , Δ v ) = Z ( u ) - K ^ ( u , v ) - - - ( 22 )
Work as use
With
Equation (21) is rewritable is
J h=b (25)
Adopting nonlinear least square method, solve nonlinear equation (25), Levenberg-Marquardt and LM algorithm is used to the data of fit non-linear model.
CN201310048565.2A 2013-02-06 2013-02-06 Online robot parameter identification method based on inertia measurement instrument Active CN103170979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310048565.2A CN103170979B (en) 2013-02-06 2013-02-06 Online robot parameter identification method based on inertia measurement instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310048565.2A CN103170979B (en) 2013-02-06 2013-02-06 Online robot parameter identification method based on inertia measurement instrument

Publications (2)

Publication Number Publication Date
CN103170979A CN103170979A (en) 2013-06-26
CN103170979B true CN103170979B (en) 2016-07-06

Family

ID=48631391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310048565.2A Active CN103170979B (en) 2013-02-06 2013-02-06 Online robot parameter identification method based on inertia measurement instrument

Country Status (1)

Country Link
CN (1) CN103170979B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103538067B (en) * 2013-10-08 2015-08-19 南京航空航天大学 A kind of forward kinematics solution method of the rapid solving Stewart parallel institution based on hypercomplex number
CN103927451B (en) * 2014-04-21 2017-03-22 西北工业大学 Ontrack identification method for system parameters of space robot
CN104608129B (en) * 2014-11-28 2016-06-08 江南大学 Based on the robot calibration method of plane restriction
CN105252538B (en) * 2015-11-06 2017-09-05 邹海英 A kind of Novel industrial robot teaching machine
CN107478223A (en) * 2016-06-08 2017-12-15 南京理工大学 A kind of human body attitude calculation method based on quaternary number and Kalman filtering
CN106996765A (en) * 2017-03-21 2017-08-01 上海岭先机器人科技股份有限公司 A kind of robot joint angles measuring method based on attitude transducer
CN109483555B (en) * 2018-05-17 2022-01-04 上海节卡机器人科技有限公司 Method for identifying parameters of statics model of serial rotary joint industrial robot
CN108927825B (en) * 2018-08-16 2019-11-01 居鹤华 Multi-axis robot structural parameters accurate measurement method based on axis invariant
CN110587603A (en) * 2019-09-05 2019-12-20 北京工业大学 Pose self-induction joint module motion control system based on multi-sensor data fusion
CN111687845B (en) * 2020-06-23 2021-11-30 哈尔滨工业大学 Mechanical arm kinematics parameter calibration method based on inertia measurement unit
CN113524262A (en) * 2021-08-20 2021-10-22 太仓中科信息技术研究院 Virtual-real fusion precision optimization device and method for camera robot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4698572A (en) * 1986-04-04 1987-10-06 Westinghouse Electric Corp. Kinematic parameter identification for robotic manipulators
CN1195778A (en) * 1997-02-01 1998-10-14 利顿系统有限公司 Attitude determination utilizing inertial measurment unit and plurality of satellite transmitters
CN1763477A (en) * 2005-11-04 2006-04-26 北京航空航天大学 Mixed calibration method for Inertial measurement unit capable of eliminating gyro constant drift

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4698572A (en) * 1986-04-04 1987-10-06 Westinghouse Electric Corp. Kinematic parameter identification for robotic manipulators
CN1195778A (en) * 1997-02-01 1998-10-14 利顿系统有限公司 Attitude determination utilizing inertial measurment unit and plurality of satellite transmitters
CN1763477A (en) * 2005-11-04 2006-04-26 北京航空航天大学 Mixed calibration method for Inertial measurement unit capable of eliminating gyro constant drift

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A fasting tool tracking system using an IMU and a position sensor with kalman filters and a fuzzy expert system;Seng-Hoon Peter Won;《IEEE transactions on industrla electronics》;20090531;第56卷(第5期);全文 *
Complete, minimal and model-continuous kinematic models for robot calibration;Schröer K等;《Robotics and Computer-Integrated Manufacturing》;20070331;第13卷(第1期);全文 *
基于拟欧拉角信号的连续力矩姿态机动控制;荆武兴等;《宇宙学报》;19960430;第17卷(第2期);全文 *

Also Published As

Publication number Publication date
CN103170979A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN103170979B (en) Online robot parameter identification method based on inertia measurement instrument
JP4876204B2 (en) Small attitude sensor
CN106289246B (en) A kind of flexible link arm measure method based on position and orientation measurement system
JP5618066B2 (en) Force control robot calibration apparatus and method
Ren et al. A novel self-calibration method for MIMU
Chu et al. Inertial parameter identification using contact force information for an unknown object captured by a space manipulator
CN104483973B (en) Low-orbit flexible satellite attitude tracking control method based on sliding-mode observer
CN104197927A (en) Real-time navigation system and real-time navigation method for underwater structure detection robot
CN105865452B (en) A kind of mobile platform position and orientation estimation method based on indirect Kalman filtering
Zhang et al. Calibration of miniature inertial and magnetic sensor units for robust attitude estimation
Zongwei et al. A low-cost calibration strategy for measurement-while-drilling system
Miletović et al. Improved Stewart platform state estimation using inertial and actuator position measurements
CN114216456A (en) Attitude measurement method based on IMU and robot body parameter fusion
Majarena et al. Modelling and calibration of parallel mechanisms using linear optical sensors and a coordinate measuring machine
Bai et al. Improved preintegration method for gnss/imu/in-vehicle sensors navigation using graph optimization
Wang et al. Complete relative pose error model for robot calibration
JP2009186244A (en) Tilt angle estimation system, relative angle estimation system, and angular velocity estimation system
He et al. Estimating the orientation of a rigid body moving in space using inertial sensors
Liu et al. Comparison of sensor fusion methods for an SMA-based hexapod biomimetic robot
JPS60151711A (en) Calibration system for robot hand visual coordinate system
Li et al. Gyro-aided camera-odometer online calibration and localization
Blachuta et al. Attitude and heading reference system based on 3D complementary filter
CN113119102A (en) Humanoid robot modeling method and device based on floating base flywheel inverted pendulum
TW202024571A (en) Calibration method of multiple inertial measurement units on multi-linkage system
Zhang et al. Joint angle estimation for floating base robots utilizing MEMS IMUs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant