CN109623812B - Mechanical arm trajectory planning method considering spacecraft body attitude motion - Google Patents
Mechanical arm trajectory planning method considering spacecraft body attitude motion Download PDFInfo
- Publication number
- CN109623812B CN109623812B CN201811470615.5A CN201811470615A CN109623812B CN 109623812 B CN109623812 B CN 109623812B CN 201811470615 A CN201811470615 A CN 201811470615A CN 109623812 B CN109623812 B CN 109623812B
- Authority
- CN
- China
- Prior art keywords
- mechanical arm
- attitude
- spacecraft
- motion
- planning
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000008859 change Effects 0.000 claims abstract description 28
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 6
- 239000011159 matrix material Substances 0.000 claims description 56
- 239000013598 vector Substances 0.000 claims description 27
- 230000008569 process Effects 0.000 claims description 20
- 239000012636 effector Substances 0.000 claims description 16
- 230000009466 transformation Effects 0.000 claims description 11
- 238000009499 grossing Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 4
- 230000007704 transition Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 claims 1
- 238000004364 calculation method Methods 0.000 abstract description 7
- 238000005259 measurement Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention discloses a mechanical arm trajectory planning method considering spacecraft body attitude motion, and belongs to the field of multi-body system trajectory planning. The specific implementation method of the invention is as follows: firstly, determining the position of the tail end of a mechanical arm and the change track of attitude pointing by a quintic polynomial path planning method in the initial state of a spacecraft; according to the planning of the attitude motion of the central body of the spacecraft, the original expected position and the variation of the pointing direction of the central body in a coordinate system of the spacecraft body, which are generated due to the attitude motion of the central body, are obtained, so that the motion planning of the mechanical arm is compensated; correspondingly summing the original trajectory planning and the compensation planning of the tail end of the mechanical arm, recording as a final mechanical arm tail end point trajectory, and planning the motion trajectory of each joint angle of the mechanical arm through a kinematics pseudo-inverse algorithm so as to realize the mechanical arm trajectory planning considering the attitude motion of the spacecraft body; the method has the advantages of reducing the real-time calculation pressure of the satellite-borne computer, improving the track planning efficiency and the like.
Description
Technical Field
The invention relates to a mechanical arm trajectory planning method considering spacecraft attitude motion, and belongs to the field of multi-body system trajectory planning.
Background
In the process of executing on-orbit operation by a spacecraft system carrying the mechanical arm, a control target is usually the position and attitude pointing direction of an actuator at the tail end of the mechanical arm, and physical quantities which can be directly controlled in a model of the spacecraft system are the position and attitude of a central body of the spacecraft and the rotation angle of each section of mechanical arm joint. Therefore, in order to point the end effector at a desired position in space in a certain attitude, the motion of the robotic arm needs to be planned by a trajectory planning algorithm. In the related research of the trajectory planning of the mechanical arm, the position and the attitude orientation of the mechanical arm are usually described in a spacecraft central body coordinate system under the actual conditions of engineering measurement. However, in an actual task, a spacecraft central body may have a certain attitude motion, so that under the condition that the spatial position and the attitude orientation which are expected to be reached are not changed, the original expected position and the attitude orientation are also changed relative to the spacecraft central body. Therefore, under the condition that the spacecraft central body has attitude motion, the motion influence of the spacecraft central body needs to be considered and corresponding motion compensation needs to be added in the trajectory planning of the mechanical arm. However, in the existing related documents, most of researches only mention real-time motion compensation of the mechanical arm based on measurement of a target by a satellite-borne sensor, the method has a large calculation amount, and puts high requirements on the real-time calculation capability of a satellite-borne computer, and few documents perform open-loop planning on the motion compensation of the mechanical arm.
Disclosure of Invention
The invention discloses a mechanical arm trajectory planning method considering spacecraft body attitude motion, which aims to solve the problems that: when the expected position and the direction of the end actuator on the mechanical arm are fixed and unchanged in the inertial space, the trajectory planning of the end actuator of the mechanical arm is compensated according to the attitude motion information of the central body of the spacecraft, so that the end actuator of the mechanical arm can reach the original expected position and the direction in the inertial space under the condition that the central body of the spacecraft has attitude motion, the trajectory planning of the mechanical arm considering the attitude motion of the spacecraft body is realized, and the planning efficiency is high.
The purpose of the invention is realized by the following technical scheme.
The invention discloses a mechanical arm track planning method considering spacecraft body attitude motion. According to the planning of the attitude motion of the central body of the spacecraft, the original expected position and the variation of the pointing direction of the central body in the coordinate system of the spacecraft body, which are generated due to the attitude motion of the central body, are obtained, so that the motion planning of the mechanical arm is compensated. And correspondingly summing the original trajectory planning and the compensation planning at the tail end of the mechanical arm, recording the sum as a final mechanical arm tail end point trajectory, and obtaining the motion trajectory of each joint angle of the mechanical arm through a kinematic pseudo-inverse algorithm so as to realize the mechanical arm trajectory planning considering the spacecraft body attitude motion. The method has the advantages of reducing the real-time calculation pressure, improving the track planning efficiency and the like.
The invention discloses a mechanical arm trajectory planning method considering spacecraft body attitude motion, which comprises the following steps:
the method comprises the following steps: and determining the position and attitude pointing change track of the tail end actuator on the mechanical arm by a quintic polynomial path planning method in the initial state of the spacecraft.
Defining a central body coordinate system f of a service spacecraft at an initial moment in an initial state of the spacecraftb0And the system of inertia feCoincident, central body coordinate system fbMoves with the movement of the central body. Obtaining the initial position of the mechanical arm end actuator under the system according to the initial states of the service spacecraft central body and the mechanical armAnd initial attitude headingPresetting the maximum value of the motion speed of the service spacecraft central body and the mechanical arm and the original expected position of the service spacecraft central body under a coordinate systemPointing to the original expected attitudeDue to initial attitude pointingVector and original expected attitude pointingThree incompletely independent components are respectively arranged in the vector, and the initial attitude points toVector and original expected attitude pointingThe vectors are all represented by directional cosines, the vectors beingThe first two components are selected as control quantities, but the corresponding third component has both positive and negative possibilities to avoid the uncertainty caused by the presence of both positive and negative possibilities, the orientation of the attitude represented by the direction cosine is translated into two azimuth angles α in spacenAnd αeThe first and second time derivatives of the attitude of the end effector are determined and converted to first and second time derivatives of the direction cosine, angle α is definednRepresenting attitude headingAnd the main system XbObZbAngle between planes, αeRepresenting attitude headingIn the main system XbObZbProjection on plane and body system ObZbThe angle between the axes.
According to the azimuth angle αnAnd αeIs defined as
In gesture-based pointingSolving azimuth αeIn order to avoid singularity due to zero denominator, azimuth α is seteThe solution process of (2) is defined as:
wherein:representing gestural pointingThe second component of (a) is,representing gestural pointingThe third component.
Initial attitude pointing by end actuatorsObtaining an initial azimuth αn_0And αe_0Pointing by the end-effector to the desired attitudeObtaining an original desired azimuth αn_r0And αe_r0. Bringing the end effector to the desired positionAnd original desired azimuth αn_r0And αe_r0And initial positionAnd initial azimuth αn_0And αe_0And performing difference to obtain the original position variation and the original azimuth angle variation of the end actuator.
In the method for planning the fifth-order polynomial, the coefficient to be determined of the fifth-order polynomial is solved according to the difference value of variables in the states of the start and the end of a task and the limitation of the change rate, and then the second-order smooth change process of the planning quantity with respect to time is obtained. The expected value of the planned quantity theta is recorded as thetarThe value of the initial state is recorded as theta0Defining the first derivative in the variation of the parameterHas a maximum value ofMaximum of the second derivative isThen according to the fifth order polynomial, there are:
wherein,the time coefficient tau is the current time t and the task duration tfThe ratio of (a) to (b).
According to the constraint conditions such as the limitation of the characteristic of the fifth-order polynomial and the change rate of the planning quantity, the task duration has the following constraint:
selecting the smallest one of the conditions simultaneously meeting the formula as the shortest time required by the task, thereby obtaining the shortest task time t meeting the motion constraint of each mechanical armf. On finding the task duration tfThen, based on the method of the fifth order polynomial, the planning quantity θ and its first and second time derivatives are:
in the process of planning the track of the mechanical arm, the planned quantity is the position of an actuator at the tail end of the mechanical armAnd attitude pointingSolving the position of the mechanical arm end actuator by the method of the fifth-order polynomialAnd azimuth angleAndsmooth continuous first and second time derivatives.
Due to the azimuth angle of the mechanical arm end actuatorAndis difficult to write into a form of showing the angular velocity of the mechanical arm joint, and the posture points toThe track can be written into a form of showing the angular velocity of the mechanical arm joint, and the planning of the mechanical arm joint track is facilitated. Therefore, before solving the joint angle motion law through the inverse kinematics relation of the mechanical arm, the azimuth angle of the end actuator on the mechanical arm is usedAndand its trajectory is converted into attitude pointingThe change trajectory of (2). According to the azimuthAndpointing to the postureThe geometrical relationship between the two is as follows:
Wherein α is the azimuth angleAndformed matrix of phi azimuth α matrix and attitude orientationThe conversion matrix between is specifically written as:
at this point, the lower position of the end effector in the Cartesian space is obtained through the programming of a quintic polynomial methodPointing to the postureSmoothing successive ideal first and second time derivative matricesAnd
due to attitude pointingThe three components in the vector are not completely independent, so thatRepresenting gestural pointingThe first two components of the vector, denotedWherein:
position of mechanical arm end actuator obtained by formulaPointing to the postureSmoothing successive first and second time derivative matricesAndnamely, the mechanical arm end actuator obtained by the quintic polynomial programming method moves to the original expected positionPointing to the original expected attitudeThe trajectory of (2).
Secondly, performing attitude motion planning according to the attitude motion requirement of the central body of the spacecraft, and simultaneously obtaining the original expected position of the systemPointing to the postureThe changing trajectory due to the central body attitude motion compensates for the trajectory planning of the robotic arm.
At a desired position in the central body of the spacecraftBy the inertial space position vector in which it is locatedThe relative position with respect to an inertial space position vector R of the center of mass of the spacecraft centerbody is represented, and the transition from the inertial frame to the spacecraft frame is:
wherein: a. thebeA coordinate transformation matrix representing the inertial system to the spacecraft body system,indicating a desired position in the central body of a spacecraftExpressed under the inertial system.
Converting the coordinate into matrix A according to the rotation relationship of the coordinate systembeRate of change and angular velocity ω of rotation of the central body of the spacecraftbThe relationship between them is:
the first and second derivatives of the relative motion of the original desired point position are expressed as:
a certain attitude orientation e in inertial spacefeThe process of switching to the spacecraft system is as follows:
efb=Abeefe(1.11)
according to the relation between the change rate of the coordinate transformation matrix and the rotation speed of the coordinate system, the attitude of the spacecraft system points to efbThe first and second time derivatives of (d) are:
wherein: a. thebeA coordinate transformation matrix representing the inertial system to the spacecraft body system,representing angular velocity omega of rotation of the central body of a spacecraftbThe cross-multiplication matrix of (a) is specifically written as:
thereby obtaining a certain expected position of the central body of the spacecraft in the inertial space under the condition of attitude motionAnd a certain attitude heading efbThe first and second time derivatives of the change in the spacecraft centerbody coordinate system are noted as:
Obtained in the formulaAndand compensating the trajectory planning of the mechanical arm according to the change trajectory generated by the attitude motion of the spacecraft central body in the position and the attitude direction in the inertial space.
Step three: and correspondingly summing the motion tracks of the tail end points obtained in the first step and the second step, and solving the motion track of each joint angle by adopting a mechanical arm kinematics pseudo-inverse algorithm to realize mechanical arm track planning considering the attitude motion condition of the spacecraft body.
The track of the tail end point of the mechanical arm in the initial state of the spacecraft, which is obtained in the step oneAndthe compensation quantity generated by the attitude motion of the spacecraft central body obtained in the step twoAndcorresponding sums, recorded as end point trajectoriesAndas input for the planning of the joint trajectory of the mechanical arm:
based on the kinematic relationship between the position and attitude orientation of the end actuator and the mechanical arm system, the motion of the mechanical arm in a Cartesian space is converted into the motion in a joint configuration space in a manner of pseudo-inverse solution of the Jacobian matrix.
The position and attitude orientation matrix of the end-effector in Cartesian space is recorded asRecording the joint angle of each mechanical arm as η, the position and orientation matrix has the following relationship with the first derivative of the joint angle:
wherein J(η)Is the jacobian matrix of the joint angle of the mechanical arm.
According to the formula, the obtained end point trackAndand solving the motion trail of the joint angle of the mechanical arm in a reverse way according to the known kinematic relationship of the mechanical arm. And performing pseudo-inverse operation on the Jacobian matrix in the solving process, wherein the solved operation formula is as follows:
Obtaining ideal motion trail of each joint angle of the mechanical arm through a formulaAndthe mechanical arm can reach the preset expected position and the posture pointing direction in the inertial space under the condition that the central body of the spacecraft carries out the posture motion, and then the mechanical arm trajectory planning considering the posture motion of the spacecraft body is realized.
The method also comprises the following four steps: the angular trajectory of each joint of the mechanical arm planned in the third stepAndthe motion control to the mechanical arm is realized through the controller.
Preferably, in order to improve the condition that singularity is easy to occur in the pseudo-inverse operation process of the Jacobian matrix, a robust adjusting item is added in the operation, and singularity is avoided to a certain extent at the cost of sacrificing precision. The factor influencing the adjusting weight in the robust adjusting term is recorded as lambda, the larger the value of the lambda is, the larger the adjusting effect on the Jacobian matrix is, and the larger the error is brought. Adjusted pseudo-inverse operation expressionComprises the following steps:
wherein In×nRepresenting an identity matrix, its dimensions and a planned end point trajectory matrixAndthe number of rows of (c) is the same.
Has the advantages that:
1. the invention discloses a mechanical arm trajectory planning method considering spacecraft body attitude motion, which is used for solving the change of an expected position and attitude direction of an original inertia space of a system while planning spacecraft central body attitude motion, and compensating motion planning of a mechanical arm, so that the mechanical arm can still reach the original expected position and attitude direction in the inertia space when the central body performs attitude motion.
2. According to the method for planning the trajectory of the mechanical arm in consideration of the attitude motion of the spacecraft body, disclosed by the invention, the influence of the attitude motion of the central body of the spacecraft is taken into consideration in the open-loop motion planning of the mechanical arm, the motion of the mechanical arm is planned in real time without depending on the measurement information of the expected position and the attitude direction, so that the calculation requirement of the trajectory planning of the mechanical arm is reduced under the condition of the requirement of the attitude motion of the spacecraft, the calculation pressure of the on-orbit real-time trajectory planning of the mechanical arm is reduced, and the.
3. The mechanical arm trajectory planning method considering the spacecraft body attitude motion disclosed by the invention is supplemented in two traditional solving methods. First, pointing at the passing attitudeSolving azimuth αeIn order to avoid singularity caused by denominator being zero, a judgment is added in the traditional azimuth angle solving method, and when the attitude points toWhere the first and third components are both 0 define azimuth αeIs 0. Secondly, in order to reduce the possibility of singularity occurrence in pseudo-inverse solution of the Jacobian matrix of the joint angle of the mechanical arm, a robust adjusting item is added in the pseudo-inverse solution process, and singularity is avoided to a certain extent at the cost of sacrificing precision.
Drawings
Fig. 1 is a schematic flow chart of a robot arm trajectory planning method considering spacecraft body attitude motion disclosed by the invention.
FIG. 2 is a schematic view of an end effector attitude heading vector and azimuth.
Fig. 3(a) is a graph showing the x-axis position tracking result.
Fig. 3(b) is a diagram showing the result of y-axis position tracking.
Fig. 3(c) is a graph showing the result of z-axis position tracking.
Fig. 4(a) is a difference diagram between the robot arm end point position and the desired position.
Fig. 4(b) is a difference diagram between the robot arm end point attitude heading and the desired attitude heading.
Fig. 5 is a comparison of whether determinant values of a jacobian matrix of joint angles of the mechanical arm supplement robust adjustment items in the mechanical arm trajectory planning process.
Detailed Description
For a better understanding of the objects and advantages of the present invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings and examples.
Example 1:
the embodiment discloses a track planning method for a mechanical arm composed of five sections of arm rods, and the track planning and simulation are carried out on the tail end position and the attitude direction of the mechanical arm aiming at the attitude motion task condition of a central body of a spacecraft. As shown in fig. 1, the method for planning the trajectory of the robot arm considering the attitude motion of the spacecraft body disclosed in this embodiment may be completed through the following steps:
the method comprises the following steps: and determining the position and attitude pointing change track of the tail end actuator on the mechanical arm by a quintic polynomial path planning method in the initial state of the spacecraft.
Initial values of relevant parameters of the spacecraft and the mechanical arm carried by the spacecraft are shown in table 1.
TABLE 1 spacecraft Central body and robot arm initial parameters
Defining azimuth αnRepresenting attitude headingAnd the main system XbObZbAngle between planes, αeRepresenting attitude headingIn the main system XbObZbProjection on plane and body system ObZbAngle between axes according to azimuth αnAnd αeIs defined as
In gesture-based pointingSolving azimuth αeIn order to avoid singularity due to zero denominator, azimuth α is seteThe solution process of (2) is defined as:
wherein:representing gestural pointingThe second component of (a) is,representing gestural pointingThe third component.
According to the data shown in Table 1, the mechanical arm tail end is obtained through the spacecraft kinematics relationshipInitial position under spacecraft systemAnd azimuth angleAndformed matrix azimuth matrix α0Comprises the following steps:
α0=[14.94 95.14]Tdeg
the differences between the attitude of the central body, the end position of the robot arm and the attitude heading at the beginning and end states are shown in table 2.
TABLE 2 Start and end State parameter Differences
In the method for planning the fifth-order polynomial, the coefficient to be determined of the fifth-order polynomial is solved according to the difference value of variables in the states of the start and the end of a task and the limitation of the change rate, and then the second-order smooth change process of the planning quantity with respect to time is obtained. The expected value of the planned quantity theta is recorded as thetarThe value of the initial state is recorded as theta0Defining the maximum value of the first derivative in the parameter variation asMaximum of the second derivative isThen according to the fifth order polynomial, there are:
wherein,the time coefficient tau is the current time t and the task duration tfThe ratio of (a) to (b).
According to the constraint conditions such as the change rate of the characteristics of the fifth-order polynomial and the variables in the initial and final states of the task, the task duration is constrained as follows:
substituting constraint conditions such as mechanical arm joint motion and the like to obtain the shortest task time t meeting the constraint of the spacecraft central body motion and each mechanical arm motion simultaneouslyfIt was 57.5 s.
Adopting a method of a fifth-order polynomial to adjust the tail end position of the mechanical armAnd azimuth angle αn、αeAnd spacecraft central body attitude motion, the planning quantity and the first and second derivatives thereof are expressed as:
according to azimuth αnAnd αePointing to the postureThe geometrical relationship between the two is as follows:
Wherein phi is an azimuth α matrix and an attitude headingThe conversion matrix between is specifically written as:
at this point, the lower position of the end effector in the Cartesian space is obtained through the programming of a quintic polynomial methodPointing to the postureSmoothing successive ideal first and second time derivative matricesAnd
due to attitude pointingThe three components in the vector are not completely independent, so thatRepresenting gestural pointingThe first two components of the vector, denotedWherein:
derived mechanical arm end actuator positionPointing to the postureSmoothing successive first and second time derivative matricesAndnamely, the mechanical arm end actuator obtained by the quintic polynomial programming method moves to the original expected positionPointing to the original expected attitudeThe trajectory of (2). The solid line illustrated as "p 1" in fig. 3 is the result of performing only the original spatial fixation position without compensating for the tracking situation.
Step two: carrying out attitude motion planning according to the attitude motion requirement of the central body of the spacecraft, and simultaneously obtaining the original expected position of the systemPointing to the postureThe changing trajectory due to the central body attitude motion compensates for the trajectory planning of the robotic arm.
A desired position in the central body of the spacecraftDevice for placingBy the inertial space position vector in which it is locatedThe relative position with respect to an inertial space position vector R of the center of mass of the spacecraft centerbody is represented, and the transition from the inertial frame to the spacecraft frame is:
wherein: a. thebeA coordinate transformation matrix representing the inertial system to the spacecraft body system,indicating a desired position in the central body of a spacecraftExpressed under the inertial system.
Converting the coordinate into matrix A according to the rotation relationship of the coordinate systembeRate of change and angular velocity ω of rotation of the central body of the spacecraftbThe relationship between them is:
the first and second derivatives of the relative motion of the original desired point position are expressed as:
a certain attitude orientation e in inertial spacefeThe process of switching to the spacecraft system is as follows:
efb=Abeefe
according to the relation between the change rate of the coordinate transformation matrix and the rotation speed of the coordinate system, the attitude of the spacecraft system points to efbThe first and second time derivatives of (d) are:
wherein: a. thebeCoordinate transformation matrix, omega, representing the inertial system to the spacecraft body systembRepresenting the rotating angular speed of the central body of the spacecraft, the wave number above the central body is marked by a cross-multiplication matrix,the specific writing is as follows:
thereby obtaining a certain expected position of the central body of the spacecraft in the inertial space under the condition of attitude motionAnd a certain attitude heading efbThe first and second time derivatives of the change in the spacecraft centerbody coordinate system are noted as:
Andand compensating the trajectory planning of the mechanical arm according to the change trajectory generated by the attitude motion of the spacecraft central body in the position and the attitude direction in the inertial space.
Step three: and correspondingly summing the motion tracks of the tail end points obtained in the first step and the second step, and solving the motion track of each joint angle by adopting a mechanical arm kinematics pseudo-inverse algorithm to realize mechanical arm track planning considering the attitude motion condition of the spacecraft body.
The track of the tail end point of the mechanical arm in the initial state of the spacecraft, which is obtained in the step oneAndthe compensation quantity generated by the attitude motion of the spacecraft central body obtained in the step twoAndcorresponding sums, recorded as end point trajectoriesAndas input for the planning of the joint trajectory of the mechanical arm:
based on end-effectorsThe kinematic relationship between the position and attitude orientation and the mechanical arm system converts the motion of the mechanical arm in a Cartesian space into the motion in a joint configuration space in a mode of pseudo-inverse solution of the Jacobian matrix. The position and attitude orientation matrix of the end-effector in Cartesian space is recorded asThe joint angle of each mechanical arm is recorded asThe pose matrix and the first derivative of the joint angle have the following relationship:
wherein J(η)Jacobian matrix for the arm joint angle:
in the formula AbjIs a coordinate transformation matrix from the j section mechanical arm coordinate system to the main system,jis a j section mechanical arm rotating shaft direction matrix, ejtIs the attitude pointing vector r between the jth section of mechanical arm and the tail end actuatorjtIs the vector from the center of mass of the jth arm to the center of mass of the end effector.
In order to enable the number of the degrees of freedom of the mechanical arm to meet the planning requirements of position and posture pointing, the tail end joint of the mechanical arm has three degrees of freedom. In order to determine the attitude orientation of the end actuator, the relation between the rotation angular speed of the end actuator relative to the last mechanical arm and the joint angle of the end actuator is defined to be the same as the relation between the angular speed and the attitude angle in the 3-1-2 rotation mode in the spacecraft attitude kinematics. End effector coordinate system f5Coordinate system f of the previous section of mechanical arm4A conversion matrix of45=(Ay(θ(2))Ax(θ(1))Az(θ(3)))TAnd θ (k) represents the kth component of the attitude angle θ.
According to the obtained tail end point trackAndand solving the motion trail of the joint angle of the mechanical arm in a reverse way according to the known kinematic relationship of the mechanical arm. And performing pseudo-inverse operation on the Jacobian matrix in the solving process, wherein the solved operation formula is as follows:
The obtained ideal motion track of each joint angle of the mechanical armAndthe planning method can realize the planning of the mechanical arm track considering the attitude motion of the spacecraft body, so that the mechanical arm can reach the preset expected position and the attitude direction in the inertial space under the condition that the spacecraft central body carries out the attitude motion. As shown in fig. 3(a), fig. 3(b) and fig. 3(c) by the dashed line labeled "p 12", the result of the mechanical arm motion compensation based on the central body attitude motion substantially reduces the difference between the target and the target when no compensation planning is performed, and improves the planning accuracy. As shown in fig. 4(a) and 4(b), the difference between the planned trajectory of the robot arm considering the attitude motion of the spacecraft body and the desired position and attitude heading is finally converged to zero, which indicates that the desired value can be reached.
The method also comprises the following four steps: machine for planning three middle stepsAngular orbit of each joint of mechanical armAndthe motion control to the mechanical arm is realized through the controller.
Preferably, in order to improve the condition that singularity is easy to occur in the pseudo-inverse operation process of the Jacobian matrix, a robust adjusting item is added in the operation, and singularity is avoided to a certain extent at the cost of sacrificing precision. The factor influencing the adjusting weight in the robust adjusting term is recorded as lambda, the larger the value of the lambda is, the larger the adjusting effect on the Jacobian matrix is, and the larger the error is brought. In the modified pseudo-inverse operation expressionComprises the following steps:
in the formula I5×5Representing a five-dimensional identity matrix.
In this embodiment, the adjustment factor λ is 10-3. As shown in fig. 5, whether to add a robust adjustment term has an effect on the jacobian matrix determinant values, the closer to zero the more likely it is to generate singularities.
Under the trajectory planning method of the mechanical arm, the tail end of the mechanical arm can reach a certain fixed expected position and attitude direction in an inertial space under the condition that the central body of the spacecraft carries out certain attitude motion, the motion of the mechanical arm is planned in real time without depending on measurement information of the expected position and the attitude direction, the calculation pressure of the on-orbit real-time trajectory planning of the mechanical arm is reduced, and the planning efficiency is improved.
The above detailed description is intended to illustrate the objects, aspects and advantages of the present invention, and it should be understood that the above detailed description is only exemplary of the present invention and is not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (5)
1. The mechanical arm trajectory planning method considering spacecraft body attitude motion is characterized by comprising the following steps of: comprises the following steps of (a) carrying out,
the method comprises the following steps: determining the position of a mechanical arm end actuator and the change track of the attitude pointing direction by a quintic polynomial path planning method in the initial state of the spacecraft;
secondly, performing attitude motion planning according to the attitude motion requirement of the central body of the spacecraft, and simultaneously obtaining the original expected position of the systemPointing to the postureCompensating the trajectory planning of the mechanical arm due to the changing trajectory generated by the attitude motion of the central body;
step three: correspondingly summing the motion tracks of the tail end points obtained in the first step and the second step, solving the motion track of each joint angle by adopting a mechanical arm kinematics pseudo-inverse algorithm, and realizing mechanical arm track planning considering the attitude motion condition of the spacecraft body;
the specific implementation method of the step one is that,
defining a central body coordinate system f of a service spacecraft at an initial moment in an initial state of the spacecraftb0And the system of inertia feCoincident, central body coordinate system fbMove with the movement of the central body; obtaining the initial position of the tail end of the mechanical arm under the system according to the initial states of the central body and the mechanical arm of the service spacecraftAnd initial attitude headingPresetting the maximum value of the motion speed of the service spacecraft central body and the mechanical arm and the original expected position of the service spacecraft central body under a coordinate systemPointing to the original expected attitudeDue to initial attitude pointingVector and original expected attitude pointingAll vectors are expressed by direction cosine and the moduli of the vectors are all 1, so that the initial attitude points toVector and original expected attitude pointingRespectively having three components which are not completely independent, so that the first two components are respectively selected as variables, but the corresponding third component has positive and negative possibilities, and in order to avoid uncertainty caused by the positive and negative possibilities, the attitude direction represented by direction cosine is converted into two azimuth angles α in spacenAnd αeThe first and second time derivatives of the attitude of the end effector are obtained and converted into the first and second time derivatives of the direction cosine, the azimuth is defined αnRepresenting attitude headingAnd the main system XbObZbAngle between planes, αeRepresenting attitude headingIn the main system XbObZbProjection on plane and body system ObZbThe included angle between the axes;
according to the azimuth angle αnAnd αeIs defined as
in gesture-based pointingSolving azimuth αeIn order to avoid singularity due to zero denominator, azimuth α is seteThe solution process of (2) is defined as:
wherein:representing gestural pointingThe second component of (a) is,representing gestural pointingThe third component;
through powderEnd actuator initial attitude pointingObtaining an initial azimuth αn_0And αe_0Pointing by the end-effector to the desired attitudeObtaining an original desired azimuth αn_r0And αe_r0(ii) a Bringing the end effector to the desired positionAnd original desired azimuth αn_r0And αe_r0And initial positionAnd initial azimuth αn_0And αe_0Making a difference to obtain the original position variation and the original azimuth variation of the tail end actuator;
in the quintic polynomial planning method, a coefficient to be determined of a quintic polynomial is solved according to a difference value of a variable in a task starting state and a task ending state and a change rate limit, and a second-order smooth change process of a planning quantity with respect to time is further obtained; the expected value of the planned quantity theta is recorded as thetarThe value of the initial state is recorded as theta0Defining the maximum value of the first derivative in the parameter variation asMaximum of the second derivative isThen according to the fifth order polynomial, there are:
wherein,the time coefficient tau is the current time t and the task duration tfThe ratio of (A) to (B);
according to the constraint conditions such as the limitation of the characteristic of the fifth-order polynomial and the change rate of the planning quantity, the task duration has the following constraint:
selecting the smallest one of the conditions simultaneously meeting the formula as the shortest time required by the task, thereby obtaining the shortest task time t meeting the motion constraint of each mechanical armf(ii) a On finding the task duration tfThen, based on the method of the fifth order polynomial, the planning quantity θ and its first and second time derivatives are:
in the process of planning the track of the mechanical arm, the planned quantity is the position of an actuator at the tail end of the mechanical armAnd attitude pointingSolving the position of the mechanical arm end actuator by the method of the fifth-order polynomialAnd azimuth angleAndsmooth continuous first and second time derivatives;
due to the azimuth angle of the mechanical arm end actuatorAndis difficult to write into a form of showing the angular velocity of the mechanical arm joint, and the posture points toThe track can be written into a form of showing the angular velocity of the mechanical arm joint, which is beneficial to planning the mechanical arm joint track; therefore, before solving the joint angle motion law through the inverse kinematics relation of the mechanical arm, the azimuth angle of the end actuator on the mechanical arm is usedAndand its trajectory is converted into attitude pointingThe change trajectory of (2); according to the azimuthAndpointing to the postureThe geometrical relationship between the two is as follows:
Wherein α is the azimuth angleAndformed matrix of phi azimuth α matrix and attitude orientationThe conversion matrix between is specifically written as:
at this point, the lower position of the end effector in the Cartesian space is obtained through the programming of a quintic polynomial methodPointing to the postureSmoothing successive ideal first and second time derivative matricesAnd
due to attitude pointingThe three components in the vector are not completely independent, so thatRepresenting gestural pointingThe first two components of the vector, denotedWherein:
position of mechanical arm end actuator obtained by formulaPointing to the postureSmoothing successive first and second time derivative matricesAndnamely, the mechanical arm end actuator obtained by the quintic polynomial programming method moves to the original expected positionPointing to the original expected attitudeThe trajectory of (2).
2. As claimed inSolving 1 the mechanical arm trajectory planning method considering spacecraft body attitude motion is characterized in that: step four, the angular trajectory of each joint of the mechanical arm planned in the step three is further includedAndthe motion control to the mechanical arm is realized through the controller.
3. The method for planning a trajectory of a robotic arm taking into account attitude motion of a spacecraft of claim 1, wherein: the concrete implementation method of the second step is that,
at a desired position in the central body of the spacecraftBy the inertial space position vector in which it is locatedThe relative position with respect to an inertial space position vector R of the center of mass of the spacecraft centerbody is represented, and the transition from the inertial frame to the spacecraft frame is:
wherein: a. thebeA coordinate transformation matrix representing the inertial system to the spacecraft body system,indicating a desired position in the central body of a spacecraftExpressed in the inertial system;
coordinate transformation based on coordinate system rotation relationshipMatrix AbeRate of change and angular velocity ω of rotation of the central body of the spacecraftbThe relationship between them is:
the first and second derivatives of the relative motion of the original desired point position are expressed as:
a certain attitude orientation e in inertial spacefeThe process of switching to the spacecraft system is as follows:
efb=Abeefe(0.11)
according to the relation between the change rate of the coordinate transformation matrix and the rotation speed of the coordinate system, the attitude of the spacecraft system points to efbThe first and second time derivatives of (d) are:
wherein: a. thebeA coordinate transformation matrix representing the inertial system to the spacecraft body system,representing angular velocity omega of rotation of the central body of a spacecraftbThe cross-multiplication matrix of (1) is specifically written as:
thereby obtaining a certain expected position of the central body of the spacecraft in the inertial space under the condition of attitude motionAnd a certain attitude heading efbFirst and second order times of change in spacecraft centerbody coordinate systemThe intermediate derivative, which is noted as:
4. The method for planning a trajectory of a robotic arm taking into account the attitude motion of a spacecraft of claim 3, wherein: the third step is realized by the concrete method that,
the track of the tail end point of the mechanical arm in the initial state of the spacecraft, which is obtained in the step oneAndthe compensation quantity generated by the attitude motion of the spacecraft central body obtained in the step twoAndcorresponding sums, recorded as end point trajectoriesAndas input for the planning of the joint trajectory of the mechanical arm:
based on the kinematic relationship between the position and attitude orientation of the tail end actuator and the mechanical arm system, converting the motion of the mechanical arm in a Cartesian space into the motion in a joint configuration space by a pseudo-inverse solution mode of a Jacobian matrix;
the position and attitude orientation matrix of the end-effector in Cartesian space is recorded asRecording the joint angle of each mechanical arm as η, the position and orientation matrix has the following relationship with the first derivative of the joint angle:
wherein J(η)A jacobian matrix of the joint angle of the mechanical arm;
according to the formula, the obtained end point trackAndsolving the motion trail of the joint angle of the mechanical arm in a reverse way according to the known kinematic relationship of the mechanical arm; and performing pseudo-inverse operation on the Jacobian matrix in the solving process, wherein the solved operation formula is as follows:
Obtaining ideal motion trail of each joint angle of the mechanical arm through a formulaAndthe mechanical arm can reach the preset expected position and the posture pointing direction in the inertial space under the condition that the central body of the spacecraft carries out the posture motion, and then the mechanical arm trajectory planning considering the posture motion of the spacecraft body is realized.
5. The method for planning a trajectory of a robotic arm taking into account the attitude motion of a spacecraft of claim 4, wherein: in order to improve the condition that singularity is easy to occur in the pseudo-inverse operation process of the Jacobian matrix, a robust adjusting item is added in the operation, and singularity is avoided to a certain extent at the cost of sacrificing precision; the factor influencing the adjusting weight in the robust adjusting item is recorded as lambda, the larger the value of the lambda is, the larger the adjusting effect on the Jacobian matrix is, and meanwhile, the larger the error is brought; adjusted pseudo-inverse operation expressionComprises the following steps:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811470615.5A CN109623812B (en) | 2018-12-04 | 2018-12-04 | Mechanical arm trajectory planning method considering spacecraft body attitude motion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811470615.5A CN109623812B (en) | 2018-12-04 | 2018-12-04 | Mechanical arm trajectory planning method considering spacecraft body attitude motion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109623812A CN109623812A (en) | 2019-04-16 |
CN109623812B true CN109623812B (en) | 2020-09-15 |
Family
ID=66070836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811470615.5A Active CN109623812B (en) | 2018-12-04 | 2018-12-04 | Mechanical arm trajectory planning method considering spacecraft body attitude motion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109623812B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108068108B (en) * | 2016-11-16 | 2021-02-02 | 沈阳高精数控智能技术股份有限公司 | Method for controlling motion of in-plane swinging telescopic robot |
CN112318512B (en) * | 2020-11-03 | 2021-07-02 | 北京理工大学 | Method and system for determining degree of freedom of spinal vertebra of robot mouse |
CN114505865B (en) * | 2022-03-15 | 2024-06-25 | 上海大学 | Pose tracking-based mechanical arm path generation method and system |
CN116494250B (en) * | 2023-06-26 | 2023-11-03 | 极限人工智能(北京)有限公司 | Mechanical arm control method, controller, medium and system based on speed compensation |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103235597A (en) * | 2013-04-09 | 2013-08-07 | 北京理工大学 | Rapid stable joint control method for attitude maneuver of spacecraft |
CN106891335A (en) * | 2017-03-23 | 2017-06-27 | 北京空间飞行器总体设计部 | A kind of submissive and control method for coordinating of the in-orbit capture process of robot for space |
CN108132601A (en) * | 2017-12-06 | 2018-06-08 | 西北工业大学 | A kind of method for inhibiting spacecraft pedestal attitude disturbance using mechanical arm |
CN108214519A (en) * | 2017-12-18 | 2018-06-29 | 北京航空航天大学 | A kind of aerial any attitude extremely lands the self-adjusting quadruped robot of posture |
EP3351355A1 (en) * | 2015-09-18 | 2018-07-25 | Kawasaki Jukogyo Kabushiki Kaisha | Device and method for positioning processing tool |
CN108621162A (en) * | 2018-05-09 | 2018-10-09 | 广西科技大学 | A kind of manipulator motion planning method |
-
2018
- 2018-12-04 CN CN201811470615.5A patent/CN109623812B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103235597A (en) * | 2013-04-09 | 2013-08-07 | 北京理工大学 | Rapid stable joint control method for attitude maneuver of spacecraft |
EP3351355A1 (en) * | 2015-09-18 | 2018-07-25 | Kawasaki Jukogyo Kabushiki Kaisha | Device and method for positioning processing tool |
CN106891335A (en) * | 2017-03-23 | 2017-06-27 | 北京空间飞行器总体设计部 | A kind of submissive and control method for coordinating of the in-orbit capture process of robot for space |
CN108132601A (en) * | 2017-12-06 | 2018-06-08 | 西北工业大学 | A kind of method for inhibiting spacecraft pedestal attitude disturbance using mechanical arm |
CN108214519A (en) * | 2017-12-18 | 2018-06-29 | 北京航空航天大学 | A kind of aerial any attitude extremely lands the self-adjusting quadruped robot of posture |
CN108621162A (en) * | 2018-05-09 | 2018-10-09 | 广西科技大学 | A kind of manipulator motion planning method |
Also Published As
Publication number | Publication date |
---|---|
CN109623812A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109623812B (en) | Mechanical arm trajectory planning method considering spacecraft body attitude motion | |
CN107490965B (en) | Multi-constraint trajectory planning method for space free floating mechanical arm | |
CN112757306B (en) | Inverse solution multi-solution selection and time optimal trajectory planning algorithm for mechanical arm | |
CN110421547B (en) | Double-arm robot cooperative impedance control method based on estimation dynamics model | |
CN101402199B (en) | Hand-eye type robot movable target extracting method with low servo accuracy based on visual sensation | |
CN107505947B (en) | Space robot captured target despinning and coordination control method | |
CN108508749A (en) | A kind of anti-interference iterative learning control method of Space Manipulator System for arresting noncooperative target | |
CN105772917B (en) | A kind of three joint spot welding robot's Trajectory Tracking Control methods | |
CN111702762A (en) | Industrial robot operation attitude optimization method | |
CN107263466B (en) | Base undisturbed control method of space robot based on quadratic programming problem | |
CN109782601A (en) | A kind of coordination mechanical arm adaptive neural network synchronization robust Controller Design method | |
CN107450317A (en) | A kind of space manipulator self-adapting power control method for coordinating | |
CN114942593B (en) | Mechanical arm self-adaptive sliding mode control method based on disturbance observer compensation | |
CN108189034B (en) | Method for realizing continuous track of robot | |
CN114986498B (en) | Cooperative control method for mobile operation arm | |
Zhao et al. | Minimum base disturbance control of free-floating space robot during visual servoing pre-capturing process | |
CN115302502A (en) | Mechanical arm trajectory planning method combining grabbing network and grabbing pose selection and adjustment | |
CN117301064B (en) | Double-arm robot safety cooperative control method based on fixed time convergence | |
CN114055467B (en) | Space pose online simulation system based on five-degree-of-freedom robot | |
Tangpattanakul et al. | Optimal trajectory of robot manipulator using harmony search algorithms | |
CN115256371B (en) | Neural network-based method for presetting movement time of road rescue mobile mechanical arm | |
CN116540721A (en) | Space robot optimal track planning method based on improved genetic particle swarm algorithm | |
CN113305831B (en) | Design method and system of position observer for space manipulator adaptive coordination control | |
CN116141329A (en) | Space closed-loop double-arm robot motion control method based on self-correction control | |
CN113867157B (en) | Optimal trajectory planning method and device for control compensation and storage device |
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 |