WO2020034420A1 - 一种基于轴不变量的多轴机器人逆运动学建模与解算方法 - Google Patents

一种基于轴不变量的多轴机器人逆运动学建模与解算方法 Download PDF

Info

Publication number
WO2020034420A1
WO2020034420A1 PCT/CN2018/112809 CN2018112809W WO2020034420A1 WO 2020034420 A1 WO2020034420 A1 WO 2020034420A1 CN 2018112809 W CN2018112809 W CN 2018112809W WO 2020034420 A1 WO2020034420 A1 WO 2020034420A1
Authority
WO
WIPO (PCT)
Prior art keywords
axis
vector
chain
motion
invariant
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.)
Ceased
Application number
PCT/CN2018/112809
Other languages
English (en)
French (fr)
Inventor
居鹤华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to EP18930026.2A priority Critical patent/EP3838501A4/en
Publication of WO2020034420A1 publication Critical patent/WO2020034420A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/16—Program controls
    • B25J9/1694—Program controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697—Vision controlled systems
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/16—Program controls
    • B25J9/1602—Program controls characterised by the control system, structure, architecture
    • B25J9/1607—Calculation of inertia, jacobian matrixes and inverses
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/003—Program-controlled manipulators having parallel kinematics
    • B25J9/0054—Program-controlled manipulators having parallel kinematics with kinematics chains having a spherical joint at the base
    • B25J9/0057—Program-controlled manipulators having parallel kinematics with kinematics chains having a spherical joint at the base with kinematics chains of the type spherical-prismatic-spherical
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/16—Program controls
    • B25J9/1602—Program controls characterised by the control system, structure, architecture
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/16—Program controls
    • B25J9/1602—Program controls characterised by the control system, structure, architecture
    • B25J9/1605—Simulation of manipulator lay-out, design, modelling of manipulator
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00—Program-controlled manipulators
    • B25J9/16—Program controls
    • B25J9/1656—Program controls characterised by programming, planning systems for manipulators
    • B25J9/1664—Program controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/30—Nc systems
    • G05B2219/39—Robotics, robotics to robotics hand
    • G05B2219/39077—Solve inverse geometric model by iteration, no matrixes inversion

Definitions

  • Robots are a very hot area right now. A lot of scientific and engineering manpower has been invested in this field over the past few decades, and it has been studied for many years. However, once the number of axes and degrees of freedom are increased to a certain number, according to the existing textbooks and known methods of observation, modeling, calculation and control, they often fall into complex and out-of-control problems, and even cannot be solved.
  • the present invention proposes an estimate that can be used in a variety of different multi-axis robot designs from modeling, forward kinematics, inverse kinematics, and mechanical equations to completely and effectively solve the actual engineering project. Approaches to control issues.
  • the present invention can be implemented as a robot, and the present invention can also be a set of program codes that can be downloaded remotely by the robot, or even remotely connected through a network, to perform part or all of the calculation by a computer or servo other than the robot entity.
  • the diversity of technical means should not affect the scope of the invention that should be protected, nor should it be considered that possible implementation methods of the invention include program code or seem to involve a considerable number of mathematical codes, which are classified as scientific principles or mathematical methods. . Since the series of concepts of the present invention can be implemented into specific technical solutions and solve practical technical problems, it should be considered to be indeed within the scope of protection of the patent law.
  • the present invention proposes a complete observation method for multi-axis robots. According to this observation method, different components of various different multi-axis robots, and even joints that look different, can be used in a complete isomorphic manner. , Described with a clear set of pictograms and language.
  • This topological space composed of kinematic chains can carry out the motion axis symbols and operations described below, and these operations will conform to the physical characteristics of a real-world robot. For example, for a multi-axis robot with three rods connected through two rotating shafts, when the motor inside these rotating shafts rotates a set angle, the relative positions of the three rods will be involved with each other. At this time, how to calculate from which position the ends of the three rods will move from which position belongs to positive kinematics in robotics. This involves iterative calculations between multiple axis coordinate systems.
  • some rods themselves have limiting conditions, such as being moved to a relative coordinate angle by a certain housing during the movement process. Or, there are some places in the working environment that are not accessible to certain members. These limits can be used as limiting parameters in the inverse kinematics solution process.
  • these inverse kinematics can find a more efficient operation than the current inverse kinematics. method.
  • these arithmetic methods can be written into corresponding program codes or circuits.
  • the inventor further constructed a set of multi-axis robot mechanics equations based on kinematics and this set of linguistic symbol systems, and the characteristics of the related axis invariants.
  • this complete set of mechanical equations as long as the values of some known variables in the set of mechanical equations are given, the values of other variables can be found by solving the set of mechanical equations. For example, in this mechanical equation, inputting the mass of a multi-axis robot rod, the movement of each axis joint, the rotational speed, acceleration, etc., can estimate the force of the multi-axis robot at different positions.
  • this set of mechanical equations can also be used to calculate how to operate the motors of each axis joint when a certain end value of a multi-axis robot wants to be stressed or applied.
  • Output Power can also be used to calculate how to operate the motors of each axis joint when a certain end value of a multi-axis robot wants to be stressed or applied.
  • the robot control circuit used in the survey vehicle can be directly placed on the robot arms of various machine tools as long as some parameters are set and adjusted. This is of great benefit to the manufacturing cost and complexity of processing chips.
  • the present invention establishes a chain topology calculus symbol system with a rigorous motion chain index system and a motion chain coordinate system that is suitable for modern computer symbol calculus;
  • Autonomous behavior control is based on the kinematics and dynamics of multi-axis systems and modern computers.
  • the laws of the system itself and the external environment must be followed.
  • the symbology in different fields is different. For example, there are no consistent mechanical drawing languages, 3D model languages, and professional symbol languages, and there are significant obstacles to integrating these symbol systems. Due to the lack of consistent engineering and technical specifications and technical language, there are obstacles in the exchange of information in different fields, and it is difficult to ensure the quality of various robot developments.
  • the kinematics and dynamics modeling and autonomous behavior control of the multi-axis system not only realize the parameterization of the system topology, coordinate system, structural parameters, and dynamic parameters, but also ensure the accuracy and real-time performance of calculations and measurements. .
  • modularization of modeling and control is achieved, and the efficiency of system integration and the reliability and inheritance of engineering applications are improved.
  • the invention complies with the philosophical principle of isomorphism, and based on the principles of topological order invariance, metric tensor invariance and duality, mechanized modeling and calculus, it establishes a symbolic calculus that is suitable for modern computers for symbolic calculus.
  • Systematic, kinematic and dynamic equations of multi-axis systems based on axis invariants.
  • parameterization of the system topology, coordinate system, structural parameters and dynamic parameters is achieved.
  • it is an iterative formula of an axis invariant in a three-dimensional (3D) vector space, which ensures the calculation accuracy and real-time performance.
  • 3D three-dimensional
  • the kinematics and dynamics of the multi-axis system are automatically and numerically and explicitly modeled by the computer, and the forward and inverse kinematics and forward and inverse dynamics are solved.
  • the invention can indirectly sense the action state of the multi-axis system and the environment, and indirectly sense the action force of the multi-axis system and the environment.
  • the invention can improve the absolute positioning accuracy, dynamic response of the system, restrain the vibration, and realize the lightweight of the system. Therefore, the present invention can improve the autonomous behavior of the multi-axis system, and provide friendly, efficient, and high-quality operations and services.
  • the chain theory of modern set theory is a partially ordered set theory, which is the universal law of the objective world including the tree chain system.
  • Chain theory is not only applicable to the action relationship of the motion chain, but also to the action relationship of the action chain.
  • Tensor analysis theory is a mathematical tool for the study of continuous medium particles and field theory. It has an Einstein index system.
  • the invention draws on the chain theory and tensor analysis theory of modern set theory to establish a symbolic calculus system for kinematic chains, which traditionally relies on the kinematics and dynamics of multibody systems that rely on natural language annotations and mathematical language descriptions.
  • the theory is transformed into a 3D operation algebra theory system based on the chain symbol system.
  • the theory used to construct the invention has the following characteristics:
  • the present invention provides a motion chain symbol calculation system having a chain sequence as a core.
  • the symbol system specification with chain indicators the physical properties of kinematics and dynamics can be accurately expressed.
  • the kinematics and dynamics of the kinematic chain are succinctly expressed in the ordering laws.
  • the present invention has a structural parameter of a fixed axis invariant and a natural coordinate system.
  • the method of accurate structural parameters of the multi-axis system is solved.
  • it also solves the problem of automatically determining the D-H system and D-H parameters based on the fixed axis invariants.
  • the problem of real-time establishment and calculation of real-time inverse solution of the universal 6-axis reversible solution is solved.
  • the kinematics and dynamic equations of the multi-axis system constructed by the present invention have invariant iterative formulas.
  • the present invention unifies the fixed-axis rotation in 3D space, the Rogered quaternion, Euler quaternion, and dual quaternion in 4D space through the invariant of the axis, and solves the bi-vector attitude, motion spin and Force spin.
  • the present invention establishes an iterative formula of displacement, velocity, acceleration, and yaw rate based on an axis invariant.
  • the Root-Kane dynamic equation based on the axis invariant is established for the rooted tree chain, closed chain, non-rooted tree chain and closed chain.
  • the kinematics and dynamics equations of a multi-axis system are parameterized equations about the topology, coordinate system and polarity, structural parameters, and motion parameters of the multi-axis system. They have the accuracy and real-time of forward and inverse solutions. They have the pseudo-code function of chain indicators, and are axiomatic theoretical systems based on topological axioms and metric axioms, which ensure the correctness and reliability of complex system modeling.
  • this symbol system can be designed as a corresponding program code and function library. In addition to the easy modeling of the entire system, even if there is any error in the system, it can still maintain a certain operating capacity through feedback from the sensor or after the engineer adjusts the settings. In other words, this technical solution has good fault tolerance.
  • a control method for controlling a multi-axis robot device.
  • the multi-axis machine device includes a link set and a joint set.
  • the rods in the set are combined through the joints of the joint set.
  • the control method includes the following steps.
  • the joint set is converted into a corresponding axis set.
  • One joint in the joint set corresponds to a sub-axis set of the axis set.
  • the axis of the axis set is a translation axis or a rotation axis.
  • the set of axes is used to correspondingly describe the multi-axis machine device.
  • An axis invariant corresponding to an axis of the axis set is used to calculate a control parameter of the multi-axis machine device. Among them, for two members of one axis, the axis invariant of this axis will not change with the corresponding joint movement. And, the multi-axis machine device is controlled using the calculated control parameters.
  • this method may further include converting the joint set into data corresponding to the corresponding axis set and storing the data in the memory of the control circuit.
  • this method may further include storing data corresponding to the description of the multi-axis machine and the set of axes in the memory of the control circuit, and by modifying the data corresponding to the description , Directly adjust the update calculation of the control method.
  • this system unlike traditional settings that require re-modeling and complicated debugging checks as long as the settings are changed, through this system, only the adjusted parameters need to be provided directly to create a new model.
  • This feature enables the mass production of parts of machinery and equipment to reduce costs, but at the same time maintains the flexibility of the assembled multi-axis machinery. Any adjustment can respond quickly and accurately complete the newly set modeling and related calculations.
  • the axis set is used to describe the multi-axis machine device correspondingly, and an axis invariant corresponding to the axis of the axis set is used to calculate a control parameter of the multi-axis machine device, Among them, for two members of an axis, the axis invariant of this axis will not change with the corresponding joint movement.
  • This method may further include sensor measurement data for the joints of the joint set, and combine at least one positive kinematic parameter of the multi-axis machine device with the axis invariant of the axis set to predict the Motion trajectory of a multi-axis machine.
  • control method may further include solving a motion equation corresponding to a given motion trajectory of the multi-axis machine device, and finding the joint of the joint set corresponding to the given motion trajectory. control parameter.
  • the following content will specifically illustrate the calculation of related motion equations.
  • this control method may also include sensor measurement data for the joints of the joint set, and combine at least one mechanical parameter of the multi-axis machine device with the axis invariant of the axis set to predict the The force of each part of the multi-axis machine device.
  • the axis set may correspond to a directed expansion tree structure.
  • the directed expanded tree structure if there is a non-tree connection relationship between some axes, it is recorded as a non-tree connection combination.
  • This multi-axis machine device as a whole corresponds to a set of axes through a one-to-one isomorphic correspondence method, and achieves an isomorphic correspondence relationship.
  • the model established by this axis set can also find a completely corresponding operation.
  • performing operations in the model established by this set of axes can also correspond to the movement of the multi-axis machine device.
  • a mechanical model can also be established on the basis of kinematics, and corresponding calculations or solutions can be performed.
  • the set of rods is further expanded into a set of virtual rods corresponding one-to-one with the shaft set, so that each member of the set of virtual rods corresponds exactly to one axis of the set of axes. .
  • control circuit calculates at least one positive kinematics parameter of the multi-axis machine device based on the sensor measurement data of the joints of the joint set and the invariant of the axis of the set of axes, It can be used to predict the trajectory of the multi-axis machine.
  • control circuit autonomously operates the multi-axis machine device for the joint trajectory corresponding to the motion trajectory corresponding to the rod, according to a preset rule.
  • control circuit solves a motion equation corresponding to a given motion trajectory of the multi-axis machine device, and finds the control parameter of a joint of a joint set corresponding to the given motion trajectory.
  • control circuit calculates at least one mechanical parameter of the multi-axis machine device based on the sensor measurement data of the joints of the joint set, in combination with the invariant of the axis of the axis set, and Prediction of the force of each part of the multi-axis machine device.
  • control circuit solves a mechanical equation corresponding to a given mechanical parameter of the multi-axis machine device, and finds the control parameter of a joint of a joint set corresponding to the given mechanical parameter.
  • the bars of the analyzed multi-axis machine device have a link set and a joint set, and the bars in the set are connected through the joints of the joint set.
  • This design system may include an input unit for a designer to convert the joint set into a corresponding axis set, and one joint in the joint set corresponds to a sub-axis set of the axis set, and the axes of the axis set include translation
  • CAD computer-aided design tools
  • the design of the basic data input can refer to half of the current technical documents, which will not be described in detail here.
  • This analysis system further includes a processing unit that uses the axis set to describe the multi-axis machine device correspondingly, and uses an axis invariant corresponding to the axis of the axis set to calculate the control of the multi-axis machine device parameter. For two members of an axis, the axis invariant of this axis does not change with the corresponding joint movement.
  • This analysis system further includes an analysis unit that analyzes and verifies the design of the multi-axis machine device using the calculated control parameters.
  • processing unit and analysis unit mentioned here may be partially completed by hardware, or may be produced by a combination of software and hardware.
  • relevant logic can also be written as code, which is executed in whole or in part on the user's computer or on a remote server.
  • the input unit may include setting parameters for the joints of the joint set, and combining at least one positive kinematics parameter of the multi-axis machine device with the axis invariant of the axis set, To predict the trajectory of the multi-axis machine.
  • the processing unit further includes calculating a mechanical parameter of the multi-axis machine device by using a mechanical equation constructed using the set of axes.
  • a control method for controlling a multi-axis robot device.
  • the multi-axis machine device includes a link set and a joint set.
  • the rods in the set are combined through the joints of the joint set.
  • the control method includes the following steps.
  • the joint set is converted into a corresponding axis set, and one joint in the joint set corresponds to a sub-axis set of the axis set.
  • the axis of the axis set includes two types: a translation axis and a rotation axis.
  • axis set to describe the multi-axis machine device correspondingly, and use the axis set to establish a variety of different dynamic equations, in which the axis invariant corresponding to the axis set is used.
  • a control method for controlling a multi-axis robot device.
  • the multi-axis machine device includes a link set and a joint set.
  • the rods in the set are combined through the joints of the joint set.
  • the control method includes the following steps.
  • the axis set to describe the multi-axis machine device correspondingly, and calculate the corresponding axis invariant using the axis of the axis set. For two members of an axis, the axis invariant of this axis does not change with the corresponding joint movement.
  • the invariance of the axis invariant is used to establish an iterative kinematic equation based on the axis invariant.
  • the symbols of the iterative kinematics equation correspond to pseudo codes, which can clearly reflect the topological relationship and chain order relationship of the kinematic chain of the multi-axis machine device.
  • the calculated control parameters are used to control the multi-axis machine device.
  • a quaternion with orthogonal normalization is used for iterative calculations instead of rotating the transformation matrix to increase the accuracy of the calculated parameters.
  • this approach can avoid the accumulation of errors and greatly increase the accuracy and stability of the overall system.
  • an axis invariant can be applied to express rotation as a rotation vector.
  • the iterative kinematics equation has a natural zero axis and a system zero axis, and the axis invariant has excellent operation performance in 3D space and 4D space, and meets the axioms of motion chains and axioms of measurement, and The function of the pseudo code is accurate in physical meaning.
  • a control method for controlling a multi-axis robot device.
  • the multi-axis machine device includes a link set and a joint set.
  • the rods in the rod set are coupled through the joints of the joint set.
  • This control method includes the following steps.
  • the joint set is converted into a corresponding axis set, and one joint in the joint set corresponds to a sub-axis set of the axis set.
  • the axis of the axis set includes two types: a translation axis and a rotation axis.
  • the kinematics model of this multi-axis machine is constructed by the invariant of the axis, and the calculation result is directly superimposed with another connected multi-axis machine to calculate the motion parameters of the combined multi-axis machine.
  • a complex system can be divided into multiple parts for calculation under the framework of axis invariants.
  • these separately calculated local machine modules can also combine the results of operations to form an overall complex result.
  • it can be calculated together by various methods below.
  • this method may provide a hardware or software interface for superimposing the parameters of the multi-axis machine device with another multi-axis machine device to directly measure the motion of the combined multi-axis machine device parameter.
  • the multi-axis machine device and the another multi-axis machine device can be switched between separation and combination, and controlled by the same control circuit after combination.
  • Another operation mode also includes switching between the separation and combination of the multi-axis machine device and the other multi-axis machine device, and after the combination, through multiple control circuits located in the two multi-axis machine devices. Controlled by co-operation.
  • control method may further include detecting whether the multi-axis machine device is combined with another multi-axis machine device, and automatically starting a combined superposition calculation.
  • control method may further include detecting an error between the actual motion parameter and the estimated motion parameter of the multi-axis machine device, and using the error to readjust the kinematics model.
  • the kinematic model after adjustment is used to calculate related kinematic parameters through the readjustment.
  • the corresponding symbols in the kinematics model can be found through the following introduction. These symbols can correspond to pseudo-code, and then be written into corresponding software or circuits. Therefore, the operation of the entire kinematics model can be performed by calling the circuit or code corresponding to the pseudo code.
  • control method may include an interface for communicating with the code of the application layer to complete the function of the autonomous machine operation.
  • robots There are many uses for robots. One of them is the control of manufacturing robots used in factories. At this time, the measurement parameters of the kinematic model and an external measuring device can be used to substitute the operation of the equipment to be assembled to complete the control of the multi-axis machine device to achieve the function of the manufacturing robot.
  • This control method can also use the motion parameters to substitute into the mechanical equations to calculate the forces experienced by each component of the multi-axis machine device.
  • the kinematic parameters it is possible to estimate the force to be withheld, and then the multi-axis machine device can be controlled more precisely and effectively. This will greatly help the robot to operate more efficiently.
  • Current machine systems often require fixed bases or heavy weights because complex mechanical parameters cannot be calculated.
  • the present invention can establish a simple and operable kinematic model and a mechanical model based on the axis invariant to calculate various parameters required for control or analysis.
  • the bottom layer of a robot control system that was difficult to establish in the past can be constructed through the present invention. Moreover, such a bottom layer has a very concise representation mode, which can be directly converted into corresponding codes or circuits and optimized.
  • FIG. 2 is an exemplary diagram of the structure of a prism pair.
  • Fig. 3 is a comparison diagram of the identifier, belonging type and schematic diagram of the motion pair in the system.
  • Fig. 5 is a comparison diagram of the basic structure abbreviations.
  • Figure 6a is an exemplary diagram of a cylindrical robotic arm.
  • Figure 6b is an exemplary diagram of a spherical robotic arm.
  • Fig. 6c is an exemplary diagram of a rotary robotic arm.
  • FIG. 7 is a schematic diagram of a gear train differential mechanism of a rocker-type six-wheeled robot.
  • FIG. 9 is an exemplary diagram of a closed-chain type robot.
  • FIG. 10 is a diagram of a directed chain Span tree of the CE3 lunar inspector.
  • FIG. 11 is a reference diagram of coordinate axes and basis vectors.
  • FIG. 14 is a relationship diagram between a base vector and a base frame.
  • FIG. 17 is a reference diagram of a fixed axis invariant.
  • Fig. 19 is a D-H rotation diagram.
  • FIG. 20 is a structural diagram of a decoupling robot.
  • Figure 21a and Figure 21b are diagrams showing the relationship between two sets of coordinate systems.
  • FIG. 22 is a radial projection and a natural zero map.
  • Figure 24 is an ortho-mirror image.
  • Figure 25a is a vector illustration of the vector before the axis is rotated.
  • Fig. 25b is a vector diagram of Fig. 25a after fixed axis rotation.
  • Figure 26 shows the meaning of Cayley parameters.
  • FIG. 27 is a pole figure in a two-dimensional space.
  • FIG. 28 is a motion spiral diagram.
  • Figure 29 shows the principle of precise measurement of axis invariants.
  • FIG. 30 is an origin determination diagram of a fixed axis invariant.
  • FIG. 31 is a meaning diagram of the deflection speed.
  • Fig. 32 is a relationship diagram between a fixed-axis invariant and a configuration dual quaternion.
  • Figure 33 is a spiral radial invariant graph.
  • Fig. 34 is a relationship diagram between the natural coordinate system and the D-H system.
  • FIG. 35 is a schematic diagram of the solar wing coordinate system of the lunar inspector.
  • FIG. 36 is an interference diagram of an omnidirectional antenna and a right wing, and an omnidirectional antenna and a solar wing.
  • Figure 37 is a schematic diagram of the 2DOF mast of the lunar inspector.
  • Fig. 38 is a D-H series diagram of the CE3 inspector robot arm.
  • Fig. 39 is a derived invariant graph of axis invariants.
  • Figure 40 shows a high-precision universal robotic arm (left 6R, center 7R, right 8R).
  • Figure 41 shows a humanoid arm (left 7R, right 8R).
  • Figure 42 shows the structure of a human arm.
  • Figure 43 Robot flexible machining center (left 6R3F, right 6R4F).
  • Figure 44 is a schematic diagram of a planar 2R robotic arm.
  • Figure 45 shows an ideal spring mass pendulum.
  • Figure 46 shows a closed subtree of a multi-axis system.
  • Figure 47 is a schematic diagram of a universal 3R robotic arm.
  • Figure 48 is a schematic diagram of internal friction and viscous force.
  • Figure 49 is a diagram of a three-wheeled movement system.
  • Figure 50 shows the CE3 lunar patrol mobile system.
  • FIG. 51 is a tracking control diagram of a multi-axis system based on a linearization compensator.
  • FIG. 52 is a force level control diagram of a multi-axis system based on an inverse mode compensator.
  • Figure 53 is a block diagram of a fuzzy variable structure control.
  • Fig. 54 is a control law diagram of fuzzy variable structure control.
  • the robot motion system is an important part of the robot system. It is an organic whole composed of robot joints, robot internal sensors, external sensors and control software modules.
  • Part (Part) a single piece that forms an inseparable electromechanical system; parts include: cams, bolts, sheet metal, etc.
  • Component A basic unit that forms an electromechanical system without relative movement with each other; mechanical components include: connecting rods, frames, etc.
  • Link A component that is often composed of separately processed parts such as connecting rod bodies, connecting rod heads, bearing pads, sleeves, bolts, nuts, cotter pins, and other parts.
  • components are often collectively referred to as shaped rods, simply referred to as rods. Regardless of the shape of the component, the component that plays the main supporting role in the robot body is called a rod.
  • the frame usually consists of trusses, sheet metal and fasteners.
  • Modular Independent functional module of mechanical or electrical assembly process, with independent mechanical, electrical and other assembly interfaces.
  • Mechanical parts include: reducer, coupling, brake, etc .
  • electrical parts include: motor, shaft encoder, etc.
  • Linkage A mechanical movement device that is determined by a group of mechanical parts, mechanical components and motion pairs; including: wheel drive mechanism, wheel direction mechanism, rotor mechanism, flapping mechanism, swing mechanism, single-axis / double-axis clouds ⁇ ⁇ Taiwan agencies.
  • the main functions of the mechanism are: forming and releasing the connected or fastened state of the robot components; deploying the robot components to the required position and posture; the internal force generated by the relative motion between the mechanisms, and the external force generated by the relative motion of the mechanism and the environment, together A change in the motion state of the robot is produced.
  • Assembly An independent functional module composed of mechanical or electrical components that does not rely on other mechanical components, with independent mechanical, electrical and other assembly interfaces.
  • the assembly contains: integrated robot joints, steering machines, gear trains, etc.
  • the structure is the skeleton that supports scientific instruments and other sub-systems.
  • the mechanism is the part that the robot produces.
  • the mechanism and structure belong to the mechanical system.
  • the main function of the structure is to provide installation space, installation location and installation method for the equipment and other sub-systems carried by the robot; provide effective electromagnetic protection, dust protection and mechanical protection for the equipment; provide the required rigid conditions for the specific equipment To ensure the required position and accuracy of high-gain antennas, optical components and sensors; to provide the physical properties required for specific instruments or other sub-systems; for example: heat radiation or thermal insulation performance, conductive or insulation performance.
  • the rack is also considered as a bar.
  • Robot motion behavior The robot uses a comprehensive electronic system to perceive itself and the state of the environment, coordinate the execution of sequential actions, and realize the process of changes in the state of itself and the environment (Procedure); including: energy storage behavior, obstacle crossing behavior, grasping behavior, etc.
  • Robotic motor skills refer to the motor behavioral capabilities possessed by robots, and are unmotivated motor behaviors.
  • Robotic kinematics studies the process of robot's own and environment's motion state characterization and the interaction between states.
  • Robot dynamics studies the action process of the robot itself and its environmental forces and the state of motion of the robot.
  • Robot joints are an important part of a robot and determine its kinematics and dynamic behavior.
  • the natural environment or natural space is three-dimensional (3D), which is an objective quantity or invariant. Accordingly, there are 3 independent translational degrees of freedom (DOF) at any point in space. Any three independent points are consolidated into a rigid body with three independent directions, so the rigid body attitude has 3 independent rotational degrees of freedom; the rigid body attitude is the derived state of any three independent points.
  • the three independent translational degrees of freedom and the three rotational degrees of freedom correspond to three independent translational axes and three independent rotation axes.
  • Independent translation axis or rotation axis means that any two axes are not coaxial, that is, not coaxial.
  • Robot joint usually consists of high power density torque motor, reducer, high precision absolute encoder, brake and motor driver. Some force control joints are also equipped with force sensors.
  • Robot joints are different from joints in ordinary electromechanical systems.
  • High-performance robot joints have the following basic characteristics: light weight, compact structure, high power density, and joint output torque must be large enough; reducers and encoders have high accuracy and are usually better than 3 arc minutes or higher, the accuracy of the encoder is usually 4 to 6 times better than the accuracy of the backlash of the reducer; the motor and the reducer have high efficiency, less heat, and high reliability, and usually require a reliability of 8000hrs or higher.
  • the motor driver has three loops of current, speed and position control, and usually uses EtherCAT communication. It adopts a hollow shaft structure design to improve pipeline reliability.
  • the encoder is installed on the motor side through the feed shaft of the reducer to improve the joint position detection accuracy. Integrated design of brake and reducer input shaft (Shaft); integrated design of reducer output shaft and absolute encoder rotor; integrated design of joint base and robot rod; thereby improving joint reliability and reducing joint quality.
  • the Hall-effect-based sensor has the following characteristics: it is a true solid-state device that can meet 30 billion operations, with high reliability and long life; it has an operating speed of 100,000 operations per second, and meets the needs of high dynamic response; Can meet the wide temperature requirements of -40 to + 150 ° C; Hall sensors are often used in electronic commutation devices of brushless motors; when a polarized motor rotor passes through the Hall sensor, it generates an alternating rotor position signal for Controls the conduction state of the motor power module.
  • Brushless DC (Blushless DC / BLDC) motor is composed of stator, rotor and electronic commutator; the driver is composed of commutation control logic unit, power module, and motor control module and communication module (not shown).
  • the rotor of the motor is composed of magnetic steel of permanent magnet material "neodymium-iron-boron" or “sm-cobalt"; a magnetic field with alternating polarities is formed in the radial direction.
  • Robot motors require higher magnetic field strengths to ensure that the motors have a lighter mass.
  • the electronic commutator detects the relative position of the rotor and the stator, and usually consists of three Hall sensors.
  • the position signal is input to the commutation control logic unit to generate the timing for controlling the power module; thus, an electromagnetic field (EMF) is established and rotated, and the rotor is operated to generate power output.
  • EMF electromagnetic field
  • Non-reversing sparks reduce electromagnetic interference, improve reliability, and reduce mechanical noise.
  • the motor driver can adjust the motor speed N (RPM) by controlling the three-phase power frequency f (Hz).
  • a certain amount of power frequency the more the rotor poles, the lower the motor speed; by increasing the number of pole pairs, the motor output torque is increased; the motor with more pole pairs has a flat structure, called a torque motor.
  • Low-speed torque motors usually have higher reliability and are easy to match with reducers.
  • Adaptation to increase the number of pole pairs (3 to 6 pairs) can also reduce the total mass of the motor and the reducer and improve the dynamic performance of the force-controlled robot. When the number of pole pairs is too high, the quality of the motor will be too large, which is difficult to apply in robot engineering.
  • the brushless DC motor controls the motor current by controlling the duty cycle of the three-phase voltage; the motor rotation speed is calculated by the number of zero crossings detected in a unit time, and the PID speed driver generates the desired current; The ring implements speed control.
  • the position can be obtained by speed integration, the desired speed is generated by the position loop driver, and the position and force control is achieved by the speed loop and current loop.
  • Planetary gear reducer consists of sun gear, planet gear, planet carrier and outer ring gear. Because the ring gear is fixed, the motor drives the sun gear at the input end, and the planet gear and the planet carrier orbit around the sun gear.
  • the reducer relies on the meshing transmission of gears, it is difficult to reduce the revolution speed of the planetary gears; the reduction ratio is usually 3 to 10. Transmission efficiency reaches 97 to 98%. Backlash of precision planetary gear reducer can be controlled to 1Rad Min.
  • the planetary gear reducer has a symmetrical structure, so that the planetary gear is uniformly stressed. If a large reduction ratio is required, it can be connected in series as a multi-stage planetary gear reducer, usually up to 4 stages; it is usually cylindrical in structure, with low space utilization and greatly reduced efficiency. At the same time, due to the small number of teeth meshed by the planetary gear reducer, the load capacity is poor. In robotics, planetary gears are often used in the first stage of a reducer.
  • Cycloid reducer (cycloid reducer) consists of cycloid gears, needle teeth and needle sleeves, swing arms and so on. The crank rotates once, and the cycloid gear travels one tooth; thus, the differential gear with a large reduction ratio is reduced. Due to the hard tooth surface and multi-tooth meshing, the reducer has a large output torque, strong overload capacity and impact resistance. Cycloidal pinwheel reducer also has the advantages of high transmission efficiency, small size, light weight, few failures, long life, stable and reliable operation, low noise, easy disassembly and assembly, easy maintenance, simple structure and good force ratio characteristics. The precision of precision cycloidal pinwheel reducer can usually reach 1Rad Min or higher.
  • RV (Rotate Vector) transmission is a two-stage closed planetary gear train. It consists of a first-stage involute cylindrical gear planetary reduction mechanism and a second-stage cycloid pinwheel reduction mechanism. This reducer has the double advantages of planetary reducer and cycloid pinwheel reducer. At present, RV reducer is the mainstream reducer of robot reducer.
  • Harmonic reducer consists of rigid wheel, flexible wheel and wave generator.
  • the outside of the wave generator is an elliptical ellipse; the number of external teeth of the ellipse is less than the number of internal teeth of the rigid wheel, that is, one less per half cycle.
  • the input shaft is connected to the wave generator through a bearing. When the input shaft rotates, the ellipsoidal wheel transmits the force to the flexible gear, and the external teeth of the flexible gear and the rigid gear mesh through the internal teeth. When the input shaft rotates for half a turn, the external gear of the flexible gear moves one tooth relative to the internal gear of the rigid gear to achieve gear differential transmission.
  • the single-stage harmonic reducer has a transmission ratio of 60 to 300 or more. 25 to 30% of the total number of gear tooth pairs are in mesh at the same time, and the movement accuracy can reach 10 to 60 RadSec. Because the material used is 50% less, its volume and weight are reduced by at least 1/3, and it has the advantages of high accuracy and high bearing capacity. However, because the outer teeth of the flexible wheel and the inner teeth of the rigid wheel adopt elastic meshing and require a certain pre-stress, the harmonic reducer is not resistant to impact, has poor force ratio characteristics, and is not as reliable as the RV reducer. Because the harmonic reducer has the highest accuracy, it is widely used in robot joints.
  • Resolver usually consists of a cylindrical stator and a rotor; it is an induction micromotor that maintains a certain function relationship between the output voltage and the rotor angle. It is a sensor that converts the angular position into an electrical signal, and it is also a solving element that can perform coordinate conversion and function operations.
  • XF is called a resolver transmitter
  • XB is called a resolver transformer
  • the resolver transmitter sends an electrical signal related to the mechanical rotation angle and changes in a certain functional relationship; the resolver transformer receives this signal and generates and outputs an electrical signal related to the difference between the mechanical rotation angles of the two parties.
  • the servo amplifier receives the output signal of the resolver transformer as the control signal of the servo motor.
  • the primary part of the resolver transmitter is generally provided with two-phase windings on the rotor, one of which is used as the excitation winding to input a single-phase AC voltage; the other is shorted to offset the magnetic flux on the axis and improve the accuracy.
  • the secondary is also a quadrature two-phase winding.
  • the primary of a resolver transformer is generally on the stator and consists of two-phase windings that are orthogonal; the secondary is a single-phase winding without orthogonal windings.
  • the voltage on the excitation side and the output side are the same frequency, but there is a phase difference.
  • the sine phase and cosine phase are in phase in the electrical time phase, but the amplitudes change with the rotation angle as a sine and cosine function, respectively.
  • the resolver accuracy is moderate, usually up to 3 Rad min, good seismic resistance and low price. But because the output is an analog signal, a specific resolver interface board is required.
  • Optical absolute encoder consists of LED light source, prism, code disc (grating disc) and light sensor.
  • the light source forms a parallel light parallel to the optical axis through the prism and is projected to the code disc.
  • the code disc is a transparent grid made of Gray code on an opaque substrate; it also contains a binary incremental grid. Because the code disc is coaxial with the motor, when the motor rotates, the code disc rotates at the same speed as the motor, and a number of pulse signals are detected and output by a detection device composed of electronic components such as light emitting diodes.
  • the light is converted into an electrical signal by a light sensor through a code wheel.
  • the gray code is read by the light sensor and converted to an absolute angle; the binary incremental grid is continuously read to calculate the speed of the code wheel rotation.
  • the material of the encoder code disc is glass, metal, plastic; the glass code disc is a thin scribe line deposited on the glass, which has good thermal stability, high accuracy, fragility and high cost; the metal code disc is engraved with on-off
  • the grid is not fragile, but because the metal has a certain thickness, the accuracy is limited, and it is easy to deform. Its thermal stability is an order of magnitude worse than that of glass.
  • the plastic code disc is economical, its cost is low, and it is not fragile. And deformation, but the accuracy, thermal stability and life are worse. Therefore, the accuracy of the optical absolute encoder depends on the accuracy of the code disc material and lithography.
  • the precision of the high-precision optical absolute encoder can reach 1RadSec, which is much higher than that of other types of absolute encoders.
  • Kinematic pair is a kinematic abstraction of the joints of a mechanical system.
  • Robot motion analysis is the basis of motion system design and control. From the perspective of motion analysis and synthesis, the robot motion system is regarded as a kinematic chain (KC) composed of rods and motion pairs. The bar represents the space to which it is consolidated.
  • KC kinematic chain
  • FIG. 1 is an exemplary diagram of the structure of a sports pair.
  • the movement pair is composed of a first rod 101 and a second rod 102, forming a simple mechanism with relative movement; this simple mechanism makes the first lever 101 and the second lever 102 has a definite movement, and is the first lever 101 and the second lever
  • the 102 are both in direct contact and have relative motion.
  • the motion pair is a constraint that includes both the relative motion of the two rods and the relative motion of the two rods; the dimension of the free motion is called the degree of freedom (DOF), and the dimension of the constraint is the degree of constraint (DOC).
  • DOE degree of freedom
  • DOC degree of constraint
  • the component in the direction of the moving accessory is called the stator; the component in the direction of the moving accessory is called the mover.
  • the stator is opposite to the mover.
  • stator and mover that make up any kinematic pair k are And l, record the motion pair as Means connecting rod And l's motion sub-class or motion sub-cluster. Due to sports Means stator It is connected to the mover l, so it represents a two-way connection relationship. Will be To l and from l to Ordered connections, called total ordered connections; To l or from l to An ordered connection is called a partial order connection; the partial order and the total order reflect whether the connection has a direction.
  • the rotary joint shown in FIG. 1 has a degree of freedom of rotation on its motion axis, and there is a constraint degree composed of three translation constraint axes and two rotation constraint axes.
  • the rotating pair may also have a variety of possible variations, including prism pairs, spiral pairs, cylindrical pairs, ball pairs, contact pairs, ball pin pairs, and other possible variations. structure.
  • FIG. 2 is an exemplary diagram of the structure of a prism pair.
  • the prism pair is composed of a first rod member 201 and a second rod member 202, the prism pair has a translational freedom degree on its motion axis, and there are two translational constraint axes and three rotational constraint axes.
  • the screw pair has a degree of rotation freedom on its moving axis, and the axis generates axial displacement when the axis rotates.
  • the cylindrical pair has one translational freedom degree and one rotational freedom degree on its motion axis; there are two translational constraint axes and two rotational constraint axes.
  • the ball pair has three rotation axes, that is, it has three rotational degrees of freedom; it has three translational constraint axes.
  • the contact pair has only one ideal contact point, and there are only three axial rotations and two axial translations; there is an axial unilateral translational constraint.
  • Unilateral constraint means that one direction of the axis is constrained; corresponding to the default bilateral constraint, which means that both directions of the axis are constrained.
  • the ball pin pair has two independent rotation axes, that is, it has two rotation degrees of freedom; there are three translational constraint axes and one rotational constraint axis.
  • Classification according to the degree of constraint introduced by the motion pair the motion pair with one degree of constraint is called a class I pair; the motion pair with two degrees of restraint is called a class II pair, and so on.
  • the two components of the motion pair directly contact to form a contact point, a contact line, or a contact surface.
  • the motion pair with surface contact between the component and the component is called the low pair, and the pressure at the contact portion is low; the motion pair with point and line contact between the component and the component is called the high pair, and the pressure at the contact portion is high.
  • FIG. 3 is a comparison diagram of the identifier, belonging type and schematic diagram of the motion pair in the system.
  • Common types of motion pairs are spherical pair 301, ball pin pair 302, cylindrical pair 303, spiral pair 304, prism pair 305 and rotating pair 306.
  • Figure 4 supplements the three motion pairs outside the system.
  • the wheel-terrain contact motion pair 401 is a motion pair whose position is constrained by the ground / infinite facet and the contact point of the wheel.
  • the consolidation pair describes the relationship between the robot fixedly installed on the base and the environment.
  • the earth symbol can also represent the aircraft body on which the space robot is installed.
  • the motion pair outside the system plays an important role in mobile robot motion analysis.
  • Fig. 5 is a comparison diagram of the basic structure abbreviations.
  • the inertial center symbol I is added, because the center of mass is the basic physical property of the dynamic modeling of a space robot. It is meaningless to talk about the kinetic energy, momentum and other physical quantities of the member without the centroid of the member. Therefore, the center of mass of the rod is the basic element of the robot mechanical diagram.
  • the earth or inertial space identifier is denoted as i.
  • the center of inertia I and the space of inertia i constitute a natural loop or closed chain.
  • R / P pairs that is, rotation pairs or prism pairs; they are the basic pairs of other composite movements. Any composite pair can be equivalent with a certain number of R / P, and their motion axes are independent of each other.
  • Some R / P pairs are capable of outputting power and are output pairs of actuators; for example: the output shaft of a rotary motor and a reducer is equivalent to R; the output shaft of a linear motor is equivalent to P pair; the virtual pair V is equivalent to three R pair of axes and P pair of three axes.
  • the constraint axis of the prism pair or the rotation pair restricts the line position and angular position, which is called a complete constraint; the configuration from the initial moment to any moment is determined and integrable. Because the simple motion pair is composed of two co-axial axes, and any one of the axes is consolidated with a rod; therefore, the shaft is equivalent to the rod in terms of motion, that is, the shaft and the rod can be mixed.
  • the basic motion pairs R and P, the spiral pair H, and the contact pair O can be regarded as special cases of the cylindrical pair C; at the same time, the motion pairs R and P can be combined into other composite motion pairs. Therefore, the cylindrical pair is used as a general model of the motion pair.
  • the stator and rotor of the simple motion pair, R or P are coaxial with each other and are consolidated with different rods.
  • the motion between the rods is essentially the relative motion between the moving shafts. Therefore, in terms of kinematics, the cylindrical pair C is a primitive of the motion pair and has completeness. .
  • the motion mechanism composed of at least two simple motion pairs connected in a certain order is called a motion chain (KC); the motion chain is an abstraction of the motion mechanism at the kinematic level.
  • a simple kinematic pair is the basic unit that forms a kinematic chain and is called a chaining pair. Expressing the topological and metric relationships of a kinematic chain is the basic premise of a kinematic chain analysis.
  • the constraint pair is a kinematic abstraction of the constraint between two joints. Often Represents a constraint pair.
  • the number of axes of the motion pair is the degree of freedom, and the number of constraint axes is the attribute of the motion pair itself.
  • the constraint axis inside the motion pair only restricts the movement in the direction of the axis, and does not constitute a constraint pair, that is, the motion pair is different from the constraint pair and the constraint axis.
  • the primitives of the constraint pair need to be determined to simplify the kinematics analysis. Because all space movements can be described by the motion pair, the constraints of all space can be described by restricting the relative position or speed of different motion axes; therefore, the relative position or velocity constraint between different motion pair axes is the basic element of the constraint pair, With kinematics completeness. In theory, the constraint pairs are divided into complete constraints and incomplete constraints, bilateral constraints and unilateral constraints.
  • Position constraint refers to a constraint where the relative line positions of the points on the two constraint axes or the relative rotation angles of the two axes are controlled.
  • the speed constraint refers to the constraint that the relative linear velocity of the points on the two constraint axes or the angular velocity of the relative rotation of the two axes are controlled.
  • a complete constraint is a constraint where the relative speed is integrable.
  • the position constraint must be a complete constraint; if the relative speed is not integrable, it is a non-complete constraint.
  • Bilateral constraints refer to constraints in which both directions of the motion axis are controlled; unilateral constraints refer to constraints in which the direction of the motion axis is controlled in a single direction.
  • the motion axis, the constraint axis and the measurement axis are the basic elements of the motion system.
  • the natural axis of the joint and measurement unit is the natural reference axis of spatial motion, also known as the spatial reference axis (Spacial axis), and has the following basic attributes:
  • Coaxiality and directionality are the basic attributes of actuators and sensors.
  • the control and detection quantities are for a specific axial direction.
  • one degree of freedom of the joint corresponds On a separate axis of motion. Therefore, in terms of connection and kinematics, the axis is the basic unit of the joint and the basic unit of the multibody system.
  • the control amount and detection amount are the relative motion between the two axes on the same axis (Kinematic Quantities); either the axial translation (Axial translation) or the axial rotation (Axial Rotation). Otherwise, it is physically uncontrollable and untestable; the controllable and measurable amount of movement must have a corresponding axial connection in the structure.
  • Polarity is another basic attribute of actuators and sensors: joint angular position or line position is a scalar with positive and negative; usually, it is positive when following the right-hand rule; it is negative when following the left-hand rule.
  • Zero reference is another basic attribute of actuator and sensor reference: the coaxial connection between the sensor and the reducer has a mechanical zero position; accordingly, the motor driver usually has an electronic zero position.
  • the spatial reference relationship is the basis of the motion of the joint and the rod.
  • the zero position is essentially a rotating radial reference axis.
  • the three dimensions of the axis position space are the objective attributes of the axis entity. For a mechanical system connected by a number of motion pairs, ignoring all the measures expressed by distance and angle is just a topological relationship.
  • a shaft-to-shaft connection system From the perspective of measurement, a continuous three-dimensional space and an abstract three-dimensional axis space are mapped one by one; the position and direction of the axis are naturally characterized by the corresponding measurement system. Therefore, whether it is a linear axis or a curved axis, as long as it is a continuous body, it means an axis.
  • Sports pair The coaxiality, polarity, and zero indicate that: (1) there is a one-to-one correspondence between the member and the shaft; (2) the attribute amount between the shafts And attributes between members Partial order; (3) Attributes between axes It has direct detectability of coaxial installation; (4) because the structural parameters of the members can be directly measured in engineering, the attribute amount between the members It is also directly detectable in nature. (5) The kinematics and dynamics need to adapt to the topological structure, structural parameters, reference system and polarized parameter requirements of the multi-axis system in order to ensure the ease of use and reliability of the theoretical system and software system.
  • a robotic topology system refers to a system that ignores the size of the members and only considers the movement pair and the members connected to each other; the same type of topology system has the same type of connection relationship; when the size of the rod changes continuously, the topological relationship or The structure remains the same.
  • the robot motion chain is divided into three types: string chain, tree chain and closed chain.
  • Figure 6a is an exemplary diagram of a cylindrical robotic arm.
  • Figure 6b is an exemplary diagram of a spherical robotic arm.
  • Fig. 6c is an exemplary diagram of a rotary robotic arm.
  • the cylindrical mechanical arm includes a machine base 601, a rotary 6R mechanical arm body and a gripper.
  • the main body of the rotary 6R robot arm is mainly composed of a first member and a rotating pair 0 R 1 602, a second member and a rotating pair 1 R 2 603, a third member and a rotating pair 2 R 3 604.
  • the pickup is composed of a first pickup lever and a rotating pair 3 R 4 605, a second pickup lever and a rotating pair 4 R 5 606, and a third pickup lever and a rotating pair 5 R 6 607.
  • R is the identifier of the rotating pair, and the upper left and right subscripts respectively indicate the number of the rods consolidated with the stator and the mover of the rotating pair, which indicate the topological relationship of the connection of the moving pair.
  • the spherical robot arm includes a base 6011, a rotary 6R robot arm body, and a picker.
  • the main body of the rotary 6R manipulator is mainly composed of a first member and a rotating pair 0 R 1 6021, a second member and a rotating pair 1 R 2 6031, a third member and a rotating pair 2 R 3 6041.
  • the picker is composed of a first pickup lever and a rotating pair 3 R 4 6051, a second pickup lever and a rotating pair 4 R 5 6061, and a third pickup lever and a rotating pair 5 R 6 6071.
  • the rotary robot arm includes a base 60111, a rotary 6R robot arm body, and a picker.
  • the main body of the rotary 6R robot arm is mainly composed of a first member and a rotating pair 0 R 1 60211, a second member and a rotating pair 1 R 2 60311, a third member and a rotating pair 2 R 3 60411.
  • the picker is composed of a first pickup lever and a rotating pair 3 R 4 60511, a second pickup lever and a rotating pair 4 R 5 60611, and a third pickup lever and a rotating pair 5 R 6 60711.
  • the cylindrical robot arm and the spherical robot arm have a prism pair in addition to a rotation pair.
  • the three rotating auxiliary shafts of the picker intersect at one point, which is called the wrist center.
  • the desired position when the picker picks up an object is called Pick Points; the pick points are always on the sphere with the wrist center as the center. Therefore, when controlling such a robotic arm to pick up an object, it can be divided into three steps: first, the three-axis attitude is calculated from the expected attitude of the picker relative to the world; then, the expected wrist position is calculated based on the expected attitude and spherical radius; finally, Determine the triaxial angle based on the desired wrist center position.
  • a robot arm which performs such position control and attitude control independently is called a decoupling robot arm.
  • the wrist center is located on the cylindrical surface of the robotic arm's working space; for a spherical robotic arm, the wrist center is located on the spherical surface of the robotic arm's working space.
  • a simple kinematic chain is determined by the connection of the mechanical arm rods by a movement, which is called a single chain or chain.
  • the chain is an ordered collection of members. It is denoted as [0,1,2,3,4,5,6], where 7 serial numbers indicate 7 rods, and two adjacent rods are connected by a motion pair.
  • the CE3 Rover mobile system is a six-wheel independent drive rocker arm system consisting of a rocker arm mechanism, four steering gears, and six drive wheels.
  • the rocker mechanism is composed of a right main arm / rocker, a left main arm / rocker, a right jib (Bogie), a left jib, and a differential mechanism.
  • the right main arm and the left main arm are respectively consolidated with the right and left shafts of the differential mechanism.
  • the left jib and the right jib are connected to the left main arm and the right jib, respectively, by rotating the jib.
  • the left front and right front direction mechanisms are connected to the left main arm and the right main arm respectively through a rotating joint; the left rear and right rear direction mechanisms are connected to the left and right jib respectively through a rotating pair.
  • the rocker arm mechanism is a tree-like structure, called a tree-shaped kinematic chain or a tree-type chain.
  • FIG. 8 is a simplified structural diagram of a rod-type differential mechanism of a rocker-type six-wheeled robot.
  • the left main arm 801 and the left differential arm 803 are consolidated, and the right main arm 802 and the right differential arm 804 are consolidated.
  • the left differential arm 803 is connected to the average link through two ball pairs and a left differential link.
  • the right differential arm is connected to the average link through two ball pairs and a right differential link.
  • the left main arm 801 and the right main arm 802 are connected to the horizontal axis 805 through a rotating pair, respectively.
  • the horizontal axis 805 is in the same plane as the average link, and the plane is the angle bisector of the left main arm 801 and the right main arm 802.
  • the left main arm 801 and the right main arm 802 are connected to the left jib 806 and the right jib 807 through a rotary joint, respectively.
  • the mobile system shown in FIG. 7 and FIG. 8 is a closed chain with a loop; the differential is equivalent to two rotating pairs with constraints, which make the two rotating pairs constitute a loop.
  • the main topology of the system is a tree structure, it is customarily called a tree chain structure.
  • FIG. 9 is an exemplary diagram of a closed-chain type robot.
  • the robot consists of 6 mobile pairs 901, 12 ball pairs 902, and 14 rods 903.
  • the rod 903 connected through the motion pair constitutes a circuit. It is a structure with a loop, called Parallel KC or Closed-loop KC. Closed chains can always be broken down into tree chains.
  • Tree chain topology is the most basic structural constraint of a tree chain robot.
  • robot kinematics analysis, dynamic analysis and scenario calculation the robot topology relationship is the most basic constraint.
  • any motion pair in the loop can be selected, and the stator and the mover constituting the motion pair can be separated; thus, a loop-free tree structure is obtained.
  • Called Span Tree also known as Spanning Tree.
  • the branched branches are called Non-tree arcs or chords.
  • Span tree is the support set of the corresponding graph.
  • Robot kinematics and dynamics depend on the topology of the robot, and the topological relationship is the role of connection relationship: it reflects the connection relationship between rods, reflects the reference relationship between the amount of movement between rods, and also reflects the relationship between the amount of movement between rods. Partial ordering, that is, one-way connection, is the basis of full ordering, that is, two-way connection.
  • Axiom 1.1 Tree-typed axis-chain (AC) uses partial order as its core and describes three basic facts of tree-type motion systems:
  • Tree-typed Axis-chain / AC axioms are the basis of the kinematics and dynamics theory of multi-axis systems, and the cornerstones of the subsequent axioms of motion chains topology and metrics. Therefore, a directed Span tree needs to be established to describe the topological relationship of the tree chain movement.
  • any node l or rod ⁇ l and axis A l have unique numbers; the abbreviated name of the rod is recorded as the motion axis sequence A according to the number.
  • the motion axis sequence is referred to as the axis sequence (Axis Sequence / AS).
  • a directed Span tree has the following basic properties:
  • any node or member has a unique parent node or member; therefore, connecting members And rod ⁇ l One-to-one mapping with the rod ⁇ l ; if all the motion pairs have only one motion axis (the composite motion pair is equivalent to several simple motion pairs in series), the motion pair The member ⁇ l and the l-th motion axis A [l] are mapped one by one.
  • a directed Span tree composed of N + 1 members, whose N members or motion axes are mapped one by one with the Natural Number set (0,1, ..., N); therefore, one directed Span
  • the topology of a tree is equivalent to the topology of a natural number set.
  • the abbreviated names of the members are unique, any member has a unique number, and the order of the abbreviated names of the members is determined by the order of their corresponding numbers.
  • the identification numbers of the structural parameters and the motion parameters of the member are mapped one by one with the member numbers.
  • Mathematical space contains two aspects:
  • Space is a set. It is customary to refer to the members of a set collectively as points, which may be real-world space points or abstract mathematical space points.
  • the basic operational relations that space points obey are called spatial structures.
  • vector space has an additive structure of algebraic multiplication and vector sum.
  • the formalization of space is how to correctly represent the points in space and the basic relations of space points;
  • Zemelo and Fraenkel proposed the axiomatic system of ZF set theory, and based on this, proposed the ZFC axiom system. It has been proved that the axiomatic mathematical theory is the axiomatic system of ZFC set theory.
  • Mathematical theory is the basis for studying all natural sciences, and it is no exception to the robot kinematic chain symbol system. Modern set theory unifies mathematics in different disciplines. Mathematics in any category is a mathematical symbol system that is isomorphic to its research object.
  • a collection is the sum of objects with certain properties; these objects are called the elements or points of the collection. Collection members may also be collections; but a collection cannot be a member of itself; this is a separable reflection of the system level.
  • the number field (set) is expressed as: natural number Integer Real number plural among them:
  • Empty set a set without any elements, with symbols Representation; the empty set is a member of any set.
  • Axiomatic set theory is the basic system for establishing mathematical symbol systems. It consists of atoms, first-order predicates / judgments, functors / functions within the axiomatic set theory symbol system. Based on this, by adding atoms and predicates in the application domain, a corresponding application symbol system can be established. Therefore, the axiomatic set theory symbol system is referred to as the meta-system.
  • Atomic symbols refer to the basic object symbols (Object Symbols), major property symbols (Minor Property Symbols) and sub-property symbols (Minor Property Symbols) of the system under study. For example: resistor R 1 , capacitor C 2 , energy E, action A 1 and so on. Any system is always separable and always structured. The atomic character of the system under investigation corresponds to the research level of the system.
  • New object symbols and attribute symbols are composed of atomic collection members, which are called compound object symbols and compound attribute symbols. They are the basic existence of the researched objects, so atomic symbols, compound object symbols, and composite attribute symbols are collectively referred to as atomic symbols.
  • Predicate symbol It means a clear judgment symbol in the system under study, that is, it is either true or not. It is composed of a predicate relation symbol and several placeholders, and has the form P ( ⁇ , ). Among them: P is a predicate relation, () is a delimiter, and ⁇ , ... indicates several placeholders. A predicate represents a clear judgment.
  • Functor It represents the functional relationship of the system under study. It is composed of a functional relationship and a number of placeholders in the form of f ( ⁇ , ). Among them: f is a predicate relation symbol, () is a delimiter, and ⁇ , ... represents several placeholders. A functor represents a functional relationship; unlike a predicate, it is not a binary judgment.
  • [3] [] represents an ordered set, sequence or matrix; for example: [x, y, z].
  • ⁇ represents the set identifier; for example: ⁇ x, y, z ⁇ , its members are not ordered.
  • ⁇ represents the attribute placeholder; for example: P ( ⁇ , ⁇ , ⁇ ).
  • [8] ⁇ , ... represents any number of placeholders; for example: P ( ⁇ , ).
  • ⁇ means include; for example: a ⁇ b.
  • x ⁇ s, s ⁇ C ⁇ ⁇ ⁇ s
  • s ⁇ C ⁇ , A ⁇ B ⁇ x
  • ⁇ means many-to-one mapping or mapping; for example: A ⁇ B
  • ⁇ indicates dot product or dot product; ⁇ indicates cross product or cross product; * indicates complex product; ⁇ indicates algebraic product;
  • the letter to the right of the symbol indicates a variable; the predicate P ( ⁇ , 7) indicates a rule, and only the output when the predicate P is true can constitute a member of its range.
  • a predicate expression is a judgment, and two matching predicate expressions are a positive judgment.
  • the meta-system is the basis of the ZF axiom system.
  • a meta-system is composed of atoms; atoms are the unit of meta-systems.
  • a minimum of atoms, functors, and predicates constitute a complex theoretical system to ensure the conciseness of the theory.
  • the mathematical metasystem provides unified language and logical operations for different branches of mathematics.
  • the only object in ZF is a collection.
  • the members in a collection are a collection. Any member of a collection is also a collection.
  • the ZF axiom is the cornerstone of modern set theory. The collection of the following axioms is a bit obscure, you can ignore them and not hinder subsequent reading.
  • Axiom of extensionality Any member z of the set x is a member of the set y, and any member z of the set y is a member of the set x. In short: if the members of two sets are equal, then the two sets are equal;
  • Axiom of regularity / axiom of foundation There is a member y for any non-empty set x, making x ⁇ y an empty set; that is, In short: there is a member in any non-empty set that has no intersection with the set. Such a set is called a good base set.
  • Axiom of empty set the existence of a set It has no elements.
  • Axiom of union Combine any group member Y of any set C into a set A.
  • the members of any collection are mergeable.
  • Axiom of power set all subsets of any set x constitute a new set y; that is, In short: Decompose any set member set until all member sets are empty sets, and all the sets obtained are called power sets.
  • Axiom of infinity there is a set x, the empty set is its element, and any element y ⁇ ⁇ y ⁇ is also its element; that is, In short: for an infinite set, there must be a set containing that set.
  • Algebraic multiplication is a special form of matrix multiplication. It is very common and necessary that symbolic overloading depends on the calculation functions performed by the operands. Therefore, symbolic operations need to be defined based on the amount of attributes.
  • the structured name has a clear meaning and is the basic form of attribute quantity expression. After the members of a set are defined, the relationship between members should be expressed as an operation or an action relationship, and a functor represents a mapping relationship between members; actions or operations represented by predicates help to understand the physical meaning of symbols.
  • the first-order predicate is used to represent the function relationship, which is not only readable, but also unambiguous; for example, the predicate fetch (A, B) means that A fetches B; similarly, as a metasystem of multi-axis system modeling and control theory, All objects are regarded as collections, and an axiomatic theoretical system needs to be established. Because the multi-axis system modeling and control theory is aimed at robotics engineering or mechatronics engineering, it is a discipline with a clear application background. Any attribute and the relationship between attributes are accurate and clear; all relations have predicates or functors. Structure. For example, definition Means connecting rod And the kinematic pair of rod l, this is the expression form of predicate.
  • the system attribute variables and constants all use concise, physically clear names, and they are all represented by an ordered array, that is, a matrix; the name of the regular body represents the constant, and the name of the italic body represents the time t. variable.
  • a kinematic chain symbolic calculus system with kinematic chain axioms as its core is provided to provide a meta-system for modeling and control theory of multi-axis systems.
  • a chain is a collection with a partial order. It is an important research content of modern set theory. Because the chain theory of modern set theory is the basic law generally followed by the objective world containing motion chains. Based on this, the theoretical analysis of kinematic chains can be guided at the topological level.
  • a be a set, call a ⁇ ⁇ a ⁇ the successor of a, and record it as a + or S (a).
  • the successor of a is the element closest to a and ⁇ a.
  • A is a set. If A meets the following conditions, A is called an inductive set:
  • piano's axiom of natural numbers zero is a natural number; each natural number has a successor; zero is not a successor to any natural number; different natural numbers have different successors.
  • a set consisting of natural numbers contains zero, and whenever the set contains a certain natural number, it also contains the successor of this number, then the set contains all natural numbers.
  • Natural number set It is a reciprocating induction process of 0, 1, 2, and 3.
  • Natural number set Also known as Null, Is an atomic character, meaning empty; Represents the content of a slot, and represents an object that can occupy 1 slot; Represents an object occupying 2 slots; etc. Therefore, natural numbers are a one-to-one mapping of the positions of natural entities.
  • the natural number set has: transitivity, a ⁇ a + ; positive order relationship, a ⁇ a + ;
  • the mapping of the set X to a subset R of the set X ⁇ X is called a relation R. If (a, b) ⁇ R, it is denoted as a R b . Therefore, the relation R of the set X is a subset of X ⁇ X.
  • a, b ⁇ X Indicates that at least one element in a is smaller than the element in b.
  • the ordinal operator is usually expressed as ⁇ , ⁇ , [2].
  • the less than criterion here can be different, it can be any form of universal number, or it can be other conventions.
  • Partially ordered set The ordered operation of the set X ⁇ is transitive, reflexive, and antisymmetric, and (X, ⁇ ) is called a partially ordered set (Partially Set).
  • Chain For set A, If k ⁇ i or k>i; then (A, ⁇ ) is a linear ordered set, called a chain. In short, a chain is an ordered collection. In this book, other ordered sets outside the motion chain are called sequences.
  • a continuous interval is a partially ordered set, which is a chain with an infinite number of members, which is usually expressed by interval characters. That is: ⁇ x ⁇ L
  • k ⁇ x ⁇ i ⁇ (k, i); ⁇ x ⁇ X
  • k ⁇ x ⁇ i ⁇ [k, i); ⁇ x ⁇ X
  • k ⁇ x ⁇ i ⁇ (K, i]; ⁇ x ⁇ X
  • k ⁇ x ⁇ i ⁇ [k, i].
  • Partially ordered set [1,2,3] is a chain. If the set ⁇ x, y, z ⁇ has members satisfying x ⁇ y and y ⁇ z; then the partially ordered set [x, y, z] is a chain. Obviously, the members of vectors and matrices are in an ordered arrangement. When the sequence number is used as the criterion for ordering, the vectors and matrices are also chains. Chain is the basic object of mathematical research and one of the basic forms of natural existence.
  • Natural number set For natural number sets If Then i ⁇ i + . Natural number collection It is transitive; if i ⁇ i + and i + ⁇ k, then i ⁇ k. Natural number set Is a chain.
  • Isomorphic chain For a chain X and like a chain Y, the function f: X ⁇ Y; If f (a) ⁇ f (b), then chain X and image chain Y are called isomorphic chains;
  • a first-order predicate functor / operation- is introduced, and it is found that the new operation result is not necessarily an element of the natural number set, that is, the subtraction operation in the natural number domain is not self-closing, so it needs to be extended Natural number set In integer set
  • division / operation it is found that the operation is not self-closing, and a real number set R is generated. Introduced the square operation on the real number set, and found the complex number set
  • the rotation of a two-dimensional Cartesian vector space can be mapped to a product operation in a three-dimensional complex space; the rotation of a three-dimensional Cartesian vector space can be mapped to a product operation in a four-dimensional complex space.
  • Mathematical space is gradually expanded by non-closure of space operations. As a result, mathematical space is continuously extended, which expands human vision; vector space is the basic mathematical space. They are essentially either partially ordered or fully ordered spaces.
  • chains include: Action chains, Behavior chains, Kinematic chains / KC, etc., which are universal forms of existence. The nature of the chain is an ordered topological relationship; on the one hand, the system topology determines the system's kinematics and dynamic behavior processes; on the other hand, so far, the topology symbols and the system behavior process modeling and analysis are separated, that is, the topological symbols are not Participating in the process of multi-body kinematics and dynamics modeling, it is difficult to reveal the basic laws of complex systems.
  • the existing multibody kinematics and dynamics lack topological symbol systems.
  • the order between the links is invariant.
  • system modeling not only the topology and chain order of the system need to be expressed, but also the chain order invariance of kinematics and dynamic processes (Invariants of Chaining Order) must be guaranteed. Only in this way can the objectivity of the symbol system be guaranteed.
  • Vector space also called linear space
  • linear space is one of the central contents and basic concepts of linear algebra. Assume Is a number field and a vector space And two operations:
  • ⁇ represents algebraic multiplication or matrix multiplication
  • + represents algebraic addition or matrix addition
  • joint motion is the relative motion between the mover of the joint and the stator; the joint coordinates of the relative motion, that is, the linear position and the angular position are called natural coordinates, and are based on the joint coordinate axis.
  • Joint Axis is a reference scalar; due to rotation, joint coordinates have a non-linear relationship with displacement (displacement), velocity (velocity), and acceleration (acceleration).
  • a six-dimensional vector merged by two three-dimensional vectors is called a spiral; therefore, the spiral is also called double vectors (Double Vectors).
  • a dual vector composed of a three-dimensional rotational speed vector and a translational velocity vector is referred to as a motion spin amount; a dual vector composed of a three-dimensional torque vector force vector is referred to as a force spin amount.
  • Tensor invariants reflect: the invariance of the attributes of things; to measure the attributes of things, there must be a reference object; there is an inevitable relationship between the measurement of different reference objects, that is, the regular objectivity.
  • the characteristic quantity of a thing attribute must indicate its reference object.
  • the vector space has the basic algebraic structure of "Addition and Scalar Product” (Fundamental Algebraic Structures), and also contains additional structures:
  • a real or complex vector space plus Norms structure becomes normed vector space
  • a real or complex vector space plus Inner product structure becomes inner product space, or unitary space
  • Cartesian Cartesian coordinate system the linear space is an Isometric Projection space with preserving distances and conforming angles, that is, the norm of the vector and the angle between the vectors remain unchanged.
  • Cartesian Cartesian coordinate system is generally used.
  • Vectors belong to the category of geometry and have intuitive comprehensibility, but they lack the analyzability of algebraic geometry; they need to be organically combined.
  • the objective world is the process of moving from one set of states to another through the execution of a set of actions; expressing the movement of space through the actions of space is not only easy to understand, but also easy to implement by computer software engineering. Therefore, this chapter proposes the kinematic chain symbol system, and revises and develops the classic vector space theory on the basis of guaranteeing topological invariance and measurement inferiority to establish action-based, algebraic geometry-based, Topological symbols participate in explicit modeling (Explicit / Analytical Modelling) motion chain symbol calculation system.
  • the computer system itself is a matrix array indexed by addresses; the storage and presentation of information also needs to be stored in an array.
  • the partial ordering of directed Span trees is a basic feature of multi-axis systems. Therefore, (1) a chain or a partially ordered set is the basis of symbolic theory, and a fully ordered set is a special form corresponding to a partially ordered set; (2) the attributes of things are uniformly represented by a matrix, which is not only concise in expression but also adapts to numerical Structural characteristics of the computer.
  • a real or complex matrix is a collection of partial orders.
  • k to j's position vector for Obviously, Predicates representing positions from k to j.
  • the kinematic chain is a partially ordered chain; Both means The connection to the rod l, which also means from the rod l to the rod Connection Have total order;
  • total order and partial order are attributes of an object itself.
  • the corresponding symbol system has not yet appeared in mechanics and robot theory.
  • i l i an empty or ordinary chain.
  • the inertial space (environment) is denoted by i, and the ordinary chain i l i always exists.
  • attribute variables or constants with partial order include the index (Index / Indices) indicating partial order in the name; either the upper left corner and lower right corner indicators, or the upper right corner and lower right corner indicators; Their directions are always from the upper left indicator to the lower right indicator, or from the upper right indicator to the lower right indicator.
  • index Indices
  • n represents the Cartesian Cartesian system
  • Cartesian AC / CAC Cartesian AC / CAC
  • n a natural axis of motion, it is called It is a natural AC / NAC.
  • the chain ⁇ L, ⁇ is an ordered set, where: ⁇ determines the ordered structure of the chain.
  • Order structure is one of the basic structures of topology systems and measurement systems.
  • RHS Order right-hand order
  • the order of the coordinate axes is determined by the right-hand rule, such as [x, y, z] T ; therefore, the default coordinates follow the right-hand order.
  • the ascending order of the numbers is determined to be right-handed; for example, [1,2,3].
  • the connection order of the chains is referred to as chain order, which is determined by the original order structure of the research object.
  • LHS Order left hand order
  • the chain order is objective; the permutation order is subjective.
  • the written symbol system is the isomorphic system of the research object, the permutation order is also a chain order in essence; it is the language expression order of the chain order.
  • the order of the motion chain from root to leaf is called Forward Order, and the reverse is called Backward Order; the corresponding root identification number is always smaller than the leaf identification number; the corresponding root identification number is The "zoom-rotation-translation" process to the leaf is called positive motion.
  • This motion process essentially originates from the reference of self motion (Self Reference): With its own system as a reference, the shape is first scaled, then its own system reference is rotated, and finally its own system reference is used. Translation. For example: to reach the target, the robot first needs to adjust the attitude, and then perform translation after reaching the desired attitude; repeat this process until it reaches the target.
  • forward order, positive order, and right-hand order are corresponding or equivalent; the reverse order, reverse order, and left-hand order are corresponding or equivalent.
  • Forward and reverse are relative to the direction in which the Span tree is connected; positive and reverse are relative to the reference axis or reference direction; right-hand and left-hand are relative to the writing direction.
  • index sets and references are the basic representation methods and basic operation methods of computer symbol processing.
  • n m, where: [ ⁇ ] Means taking rows or columns; * means any symbol or constant. If
  • High-dimensional tree kinematic chain analysis requires the aid of symbolic calculations and calculations of modern computers; based on this, the corresponding tree kinematic chain kinematics and dynamics analysis and modeling tools can be developed.
  • the symbolic system of kinematic chains needs to be combined with modern computer theory. Establishing a symbol operation that meets the needs of modern computers helps to understand the inherent laws of kinematics and dynamics of complex kinematic chains, and completes the development of computer software.
  • the basis of robot intelligence lies in the versatility of software modules.
  • the kinematics and dynamics of a multi-axis system must be parameterized by topology, coordinate system, kinematics, and dynamic parameters. In theoretical analysis, they need to be treated as parameters.
  • the index symbol [ ⁇ ] the relationship between the attribute quantity and its sub-attributes can be concisely characterized.
  • a directed span tree based on the motion axis is proposed; then, a symbol system and basic operations of the directed span tree are established to lay the foundation for the construction of the symbolic system of the motion chain.
  • the chain symbols of modern set theory are not specifically for the analysis of kinematic chains. It is necessary to adapt the chain symbols according to the basic characteristics of kinematic chains.
  • any compound motion pair can be composed of two basic motion pairs, namely the rotation pair R and the prism pair P.
  • the child member ⁇ l has only one parent member And the rod ⁇ l and the movement axis A [l] or the movement pair Is mapped one by one, that is, the member ⁇ l or the axis A [l] or the motion pair Equivalent in correspondence. Therefore
  • D ⁇ T, A, B, K, F, NT ⁇ ;
  • A is the sequence of axes
  • F ⁇ F [l]
  • l ⁇ A ⁇ is the sequence of the tree chain coordinate system
  • B ⁇ B [l]
  • l ⁇ A ⁇ is the member dynamic body (referred to as Body) sequence
  • NT is the sequence of the constraint axis, that is, non-tree.
  • each node represents a unique motion axis, and all motion axes are arranged in positive order to form an axis sequence A;
  • System D has
  • all motion pairs are divided into two categories: by the axis sequence A and its parent axis sequence
  • the determined motion pair the constraint pair determined by the non-tree constraint set NT member.
  • the non-tree constraint set NT can completely reflect the connection relationship of a graph.
  • l l k is the kinematic chain from axis l to axis k, and the output is expressed as And
  • the cardinality is written as
  • l l k execution process execution If Then execute Otherwise, end.
  • the computational complexity of l l k is O (
  • l L means to obtain a closed subtree composed of axis l and its subtrees, Is a subtree without l; recursively execute l l with a computational complexity of
  • the calculation complexity O () represents the number of operations in the calculation process, and usually refers to the number of floating-point multiplications and additions. It is very tedious to express the calculation complexity by the number of floating-point multiplication and addition, so the main operation times in the algorithm loop process are often used; for example, the number of operations such as joint pose, speed, and acceleration.
  • the chain symbol has the following functions in high-degree-of-freedom kinematics and dynamics analysis:
  • MAS multi-axis system
  • any axis has its own 3D point space. This space is called axis space, and any axis space has only one degree of freedom. Therefore, the axis chain directed Span tree essentially represents the motion space composed of a set of motion axes.
  • the compound kinematic pair is equivalent to a series of simple kinematic pairs in series, forming an axis chain describing the compound kinematic pair, which represents the motion space of the compound kinematic pair, the degree of freedom of this space and the number of kinematic axes of the compound kinematic pair equal.
  • the center of inertia or center of mass I of the rod l is denoted as l I , which indicates that the center of inertia I is a child of the rod l.
  • l I an arbitrary point
  • l S represents any point S on the rod l
  • the point l S is a child of the rod l
  • F [l] represents a 3D Cartesian space composed of any point l S. Therefore, any point is a point under the tree chain space and is a component of the Span tree.
  • volume sequence B ⁇ B [l]
  • the dynamic body B [l] is a subordinate property of the geometric body ⁇ l .
  • the span span tree of the MAS system is an Axis Chain Full-Span Tree.
  • Tree root i represents the world, including force The force application point i S ; the inertial space i is jointly determined by the MAS under study and the environment force application point.
  • FIG. 11 is a reference diagram of coordinate axes and basis vectors. 11, the one-dimensional coordinate axis l 1101 and the origin O l 1102 units constituting the group e l 1103, a scale having a reference line direction; it is primitives (Primitive) constituting the reference system.
  • the scale of the coordinate point S 1104 on the one-dimensional coordinate axis l 1101 is the coordinate.
  • the Cartesian Cartesian coordinate system (Cartesian system) is composed of three orthogonal coordinate axes.
  • the angle and distance in Cartesian coordinates are invariant, that is, the characteristics of conformal and conformal distance; they are the basis of the analysis of the robot system.
  • the base vector represents a set of independent unit vectors in space; in engineering, the corresponding measurement units (Metric Units) also need to be considered.
  • the basis vector e l is objective; for example, the instantaneous axis of rotation of a rigid body.
  • the base frame is both objective and subjective; on the one hand, the base frame is equivalent to the base vector; on the other hand, the base frame is artificially constructed.
  • a Cartesian space is a space having an inner product (dot product) " ⁇ " and a cross product " ⁇ " operation.
  • the premise of the dot product operation and the cross product operation of the two vectors is a vector; the premise of the dot product operation and the cross product operation of the two coordinate vectors is a coordinate vector in the same reference system, which can be unified into an algebraic multiplication operation " ⁇ ".
  • FIG. 12 is a projection vector diagram of a vector.
  • the position vector from the origin O l 1201 to the point l S 1202 1203 Projection Vector for one-dimensional coordinate axis l 1204 or basis vector e l 1206 1205 is called vector Coordinates on axis l.
  • the projection vector (referred to as projection) on the reference axis l is And have Among them, r is a translation 3D vector, and its elements determine the direction and size of the vector.
  • the projection vector depends on the unit coordinate axis or the unit base. This reference base is also called Projective Bases.
  • Position vector The projection vector in the coordinate system F [k] is written as And have
  • a vector, or first-order tensor is the algebraic product of the base vector and the coordinate vector.
  • a vector with invariance is represented as
  • the basis vector e l is the unit basis of the three-dimensional space and is an independent symbol; That is At the same time, the relationship between the bases is expressed by projected scalars, or coordinates. Therefore
  • the upper left corner k represents the frame of reference, ie Is the coordinate array under k system; The direction of is from the origin Ok of the k system to the point S in the l system.
  • An array with two identical coordinate bases e k For reference, please refer to FIG. 15, which is a base component diagram of a three-dimensional second-order tensor. As shown in FIG. 15, it includes 9 second-order base components obtained from a Cartesian Product of two base vectors; a capital letter J represents a 3 ⁇ 3 coordinate array corresponding to the base components. Second-order tensor with invariance Expressed as
  • the coordinate array of the second-order tensor is the coordinate matrix
  • the 6 non-diagonal elements of the coordinate represent the coordinates corresponding to the hexahedral normal, and the 3 diagonal elements represent the coordinates corresponding to the three axes.
  • the rotational inertia tensor, strain and stress tensor are all second-order tensors.
  • Equation (1.35) shows that the second-order coordinate tensor and the second-order polynomial of the basis remain unchanged, that is, the second-order tensor has invariance.
  • Second-order tensor is a linear combination of 9 second-order basis components. Tensors represent the objectivity of things and are the basis for the establishment of algebraic systems, that is, the basic formulas of algebraic systems usually need to be proved by the invariance of tensor.
  • the dyadic (Dyad) composed of two coordinate vectors in formula (1.36) is called a second-order coordinate tensor.
  • Transpose [ ⁇ ] T means transpose the collection and do not perform transpose on the members; for example,
  • the above-mentioned symbol specifications and conventions are determined based on the two principles of the partial order of the kinematic chain and the links being the basic unit of the kinematic chain, reflecting the essential characteristics of the kinematic chain.
  • the above indicators are also called chain indicators, which indicate the connection relationship, and the upper right indicator represents the reference system.
  • the symbolic expression is concise and accurate, which is convenient for communication and written expression.
  • they are structured symbol systems that contain the elements and relationships that make up each attribute quantity, which is convenient for computer processing and lays the foundation for computer automatic modeling.
  • the meaning of the indicator needs to be understood in the context (context) of the attribute; for example: if the attribute is of the translation type, the indicator at the upper left corner indicates the origin and direction of the coordinate system; if the attribute is of the rotation type, the indicator at the upper left corner indicates The direction of the coordinate system.
  • Cartesian coordinate system In robotics engineering, the Cartesian coordinate system is defined first; then the relationship between the coordinate systems is determined by engineering measurements; finally, the coordinate system is used as a reference for robot kinematics and dynamics analysis. The relationship between members needs to be measured by the coordinate system with which they are consolidated. However, the orthogonality of the Cartesian coordinate axes is a very strong constraint, and it only happens in theory. Historically, the Cartesian system has never been challenged.
  • the spatial position of a set of measuring points with minimal optical characteristics is measured without the need for three-axis two-orthogonal constraints; then, according to certain criteria, the Cartesian coordinate system is determined indirectly through calculation.
  • the accuracy of the measuring points is easy to meet the requirements of engineering accuracy, the errors caused by calculation can be ignored; thus, the accuracy of the Cartesian coordinate system is guaranteed.
  • This is a process of measuring first and then defining; it is the opposite of the traditional process of measuring first and then defining a Cartesian coordinate system.
  • Natural coordinate system If the multi-axis system D is at zero position, all Cartesian body coordinate systems have the same direction, and the origin of the body coordinate system is on the axis of the motion axis, then the coordinate system is a natural coordinate system, referred to as the natural coordinate system. .
  • Invariant A quantity that does not depend on a set of coordinate systems for measurement is called an invariant.
  • Figure 16 is a natural coordinate system and axis invariant diagram, including rotation angle 1601, axis vector 1602. As shown in Figure 16, the system is at zero Joint coordinate system Vector around axis 1602 rotation angle 1601 will Go to F [l] ; in Coordinate vector with Coordinate vector under F [l] Identity, that is
  • the coordinate axis is a reference direction with a zero position and a unit scale. It can describe the position of translation in that direction, but it cannot fully describe the rotation angle around the direction, because the coordinate axis itself does not have a radial reference direction, that is There is a zero position that characterizes rotation. In practical applications, the radial reference of this shaft needs to be supplemented. For example: in Cartesian F [l] , to rotate around lx, you need to use ly or lz as the reference zero.
  • the coordinate axis itself is 1D, and three orthogonal 1D reference axes constitute a 3D Cartesian frame.
  • the axis invariant is a 3D spatial unit reference axis, which is itself a frame. It has its own radial reference axis, the reference mark.
  • the spatial coordinate axis and its own radial reference axis determine the Cartesian frame.
  • the spatial coordinate axis can reflect the three basic reference attributes of the motion axis and the measurement axis.
  • [2] is a 3D reference axis, which has not only the axial reference direction but also the radial reference direction, that is, the zero position.
  • Equation (1.37) shows that in the natural coordinate system: Axis invariant It is a very special vector and has very good mathematical operation performance. It will be analyzed and applied in subsequent chapters.
  • the basis vector e l is any vector consolidated with F [l] .
  • the basis vector With Any vector of consolidation, Is F [l] and Common unit vector, so Is F [l] and Shared basis vector. So the axis is invariant Is F [l] and Common reference base.
  • Axis invariants are parameterized Natural Base Coordinates, which are the primitives of multi-axis systems.
  • the natural coordinate system of other members is naturally determined by the structural parameters and joint coordinates, which is helpful for the kinematics and dynamics analysis of the MAS system.
  • optical measurement equipment such as laser trackers can be applied to achieve accurate measurement of fixed axis invariants.
  • the cylindrical pair can be used to simplify the MAS kinematics and dynamics analysis.
  • axis invariants have very good operational performance in theory, for example, axis invariants With shaft internal force Are orthogonal, so the axis is invariant Internal shaft force Decoupled Natural Orthogonal Complement; Iterative kinematics and dynamics equations based on Natural Invariant can be established, which not only guarantees the accuracy and simplicity of the modeling, but also the calculation Real-time.
  • the advantages of the natural coordinate system are: (1) the coordinate system is easy to determine; (2) the joint coordinates at the zero position are zero; (3) the system attitude is the same at the zero position;
  • Natural coordinates Take the coordinate axis vector as the reference direction, the joint angular position or line position relative to the zero position of the system, and record it as q l ; the quantity that is mapped one by one to the natural coordinates is the joint variable;
  • Natural motion vector Relative axis vector Motion coordinate vector for translation or rotation q l for
  • the natural motion vector realizes the Uniform Expression of axis translation and rotation.
  • a vector to be determined by the natural axis vector and the joint such as Called Free Motion Vector, also known as Free Screw.
  • the axis vector Is a specific free spiral.
  • the spiral is a 3D vector.
  • Joint space The space represented by joint coordinates q l is called joint coordinate space, referred to as joint space.
  • configuration space the two Cartesian spaces that express the position and attitude (Position and Orientation for short) are configuration space (Configuration Space / CS), which are dual vector space or 6D space .
  • Natural joint space using natural coordinate system as a reference Means that there must be when the system is zero Space for natural joint space. It is a natural joint coordinate space.
  • FIG. 17 is a reference diagram of a fixed axis invariant. As shown in Figure 17, there are rods 1701 and lever 1702, given the link Origin O l subject to position vector 1703 Constrained Axis Vector 1704 is Fixed Axis-vector, recorded as among them:
  • Axis vector Is the natural reference axis of the Natural Coordinates of Joints. Because Is an axis invariant, so Is a fixed axis invariant, which characterizes the Structural relationship. Fixed axis invariant Is a link Natural description of structural parameters.
  • the fixed axis invariant is a unit reference axis of natural motion (translation and rotation), which is called Natural Coordinate-axis / NCA; the coordinate that uses it as a reference is the natural coordinate or joint coordinate to describe natural translation With rotation.
  • Natural coordinate axis space The fixed axis invariant representation is used as the natural reference axis, and the space expressed by the corresponding natural coordinate is called the natural coordinate axis space, which is referred to as the natural axis space. It is a 3D space with 1 degree of freedom.
  • the axis vector 1704 and position vector 1703 does not change due to the movement of the rod ⁇ l , it is a constant structural reference quantity.
  • the five structural parameters of ;; together with the motion parameter q l , the 6D configuration of the rod ⁇ l is fully expressed. given ,
  • the joint coordinate system consolidated by the rod can be determined by the structural parameters And joint coordinates Only OK.
  • fixed axis invariants Is the natural coordinate axis of the motion axis l. It is different from the Cartesian coordinate axis in that the Cartesian system has three orthogonal Cartesian coordinate axes, and the natural coordinate axis has only one coordinate axis.
  • three independent natural coordinate axes can define both a three-dimensional oblique coordinate system and a Cartesian rectangular coordinate system.
  • three independent natural coordinate axes can be defined as the translational coordinate system of the body; another three independent natural coordinate axes can be defined as the rotation coordinate system of the body;
  • Six independent natural coordinate axes serve as a six-dimensional spatial reference for the body's translation and rotation. Therefore, the natural reference system based on the natural coordinate axis has the flexibility that Cartesian Cartesian coordinate system does not have.
  • Rotate 3D vector And 3D translation vector Collaborative 6D form It is called fixed motion screw (Fixed Motion Screw) or motion vector. It has one translational freedom and one rotational freedom. Accordingly, said Is a fixed helical shaft, referred to simply as a helical shaft; obviously, It is a structural spiral axis, which is a special case of a spiral axis. Because the fixed spiral is a 3D spiral whose origin is constrained, the fixed spiral is called a 3D spiral. With motion spiral Corresponding, respectively and Speed and acceleration spirals. The opposite of the fixed motion spiral is the 3D Force Screw. Obviously, the spiral axis has 5 independent parameters including 3P position and 2R attitude.
  • Equation (1.46) is equivalent to equation (1.47), and
  • the I is a translational motion vector and is a fixed motion spiral Special case.
  • Joint coordinates are also called natural coordinates; there are also joint speed and joint acceleration; they are collectively called natural motion.
  • the natural axis space is a Natural Coordinate-Axis Chain system composed of a set of independent natural coordinate axes, referred to as the Natural Axis Chain / NAS system for short.
  • Equation (1.30) shows that an axis invariant consolidated with an axis space is equivalent to the unit basis vector of that space; translation and rotation of a fixed axis invariant is equivalent to the natural system to which translation and rotation are consolidated; fixed axis
  • the translation and rotation of an invariant is a spiral movement; the motion sequence of the natural coordinate axis chain and the actual motion chain have an isomorphic relationship; the motion chain is a spatial relationship chain composed of an ordered set of fixed axis invariants.
  • equations (1.46) to (1.50) are ORed to ensure that the number of kinematics and dynamics equations of the subsequent multi-axis system corresponds to the degrees of freedom.
  • equations (1.46) to (1.50) allocate the calculation space of the axis motion naturally (Naturally / Ina natural way); this is essentially different from the classic motion spiral.
  • the kinematic chain measurement system is composed of natural coordinate system, natural invariant and natural spiral; it and the chain topology system constitute the kinematic chain symbol calculation system. Natural expression often means simplicity, precision, elegance, and clarity ("Natural expression" of simplicity, accuracy, elegance, and clarity); further, revealing the nature of multi-axis systems; thus, improving the accuracy, speed, and reliability of system calculations.
  • FIG. 18 is a rotation diagram determined by a double vector.
  • the origin O 1 1805 is a unit vector from the initial time t 0 1801 rotation angle Unit vector from 1804 to t
  • the rotation of 1802 is equivalent to the vector around the axis 1803 Warp 1804 angle of rotation.
  • This shows that the rotation of a directed line segment to a directed line segment is essentially a rotation about an axis.
  • Zero vector To the current vector A vector that rotates 1/4 turn in the direction is called to Radial vector. This shows that the rotation determined by the double vector is equivalent to the spiral motion, where:
  • the translational movement along the axis, the rotation around the axis, and its composite motion are all helical motions.
  • the axis of the cylindrical pair is called a screw axis.
  • the prism pair, the rotation axis pair, and the helical pair are special cases of helical motion; using the helical axis of the helical motion as a general motion axis or constraint axis helps simplify the implementation of the system.
  • the shaft chain based on the helical movement axis is called a helical shaft chain.
  • the fixed-axis invariant is essentially a spiral-axis invariant; it can be known from equation (1.46) that the fixed-axis invariant is the reference axis of the motion vector.
  • a kinematic chain system characterized by a motion axis is called a natural axis chain system; a kinematic chain system characterized by a Cartesian coordinate axis is called a Cartesian axis chain system.
  • the latter is a special case of the former.
  • formula (1.46) to formula (1.50) based on the translation vector and rotation vector, the spiral motion with the spiral axis invariant as the core is described; its spatial dimension can be adaptively according to the category of the motion axis or constraint axis Allocation; thus, ensuring the flexibility of multi-axis system analysis. Therefore, the formulas (1.46) to (1.50) are called natural spirals, which are different from the 6D, that is, the double vector spirals in the existing literature.
  • the 6D motion vector is obtained by formula (1.46) Vector with fixed axis The relationship is as follows:
  • the motion pair Root member The movement must lead to the movement of the blade member 1.
  • the DH system and the DH parameter determination process follow the order from root to leaf; the factor node has a unique identification, and the structural parameters and movement parameter indicators of the blade member 1 are in phase with the corresponding rod member indicators Correspondence; the measurement of motion parameters and structural parameters is based on its parent axis.
  • the DH coordinate system because the DH system is not a natural coordinate system and the structural parameter expression is unnatural: the DH system and the DH parameter determination process are relatively complicated; Are motion parameters, structure parameters The indicator of is following the parent indicator, which violates the agreement of the tree chain system indicator to follow the child indicator. Therefore, the DH system and the DH parameter determination process are not suitable for tree chain systems.
  • the solution to this contradiction is:
  • the corresponding axis is marked as l, and the members are numbered starting from 1, so that the DH number follows the sub-index.
  • the expected point C (carpal heart) is consolidated with the rod l; the virtual pair l V c is introduced, and the passing point C is z c ′ , z l ′
  • the DH establishment process needs to be based on the natural coordinate system, that is, when the system is zero, the direction of the reference system remains the same; around the axis Turn The process is to turn the axis With shaft Alignment process Turn The process is to turn the axis The process of alignment with the axis l′ z. Weigh Reference zero for joint angles, Reference mark for twist angle. In the DH parameters, and Is a structural parameter; and Is the reference mark. Note The DH joint coordinate is ⁇ l and the natural joint coordinate is e l ; then
  • D-H system determination rules are just one of many methods. As long as the coordinates of three structural parameters and one motion parameter are guaranteed, they can be regarded as D-H systems.
  • the purpose of applying D-H system is to simplify the analysis and solution of inverse kinematics.
  • Reference objects usually include: reference points, reference axes, reference systems, and so on. Immutability is the objectivity of the attributes of things and the laws of their interaction. Order invariance, tensor invariance and duality are the basic criteria for systematic research.
  • Tensor invariance means that the sum of the algebraic products of all base components and coordinate components is invariant.
  • the invariance of tensors including scalars, vectors, and second-order tensors is an objective reflection of system properties; it is equivalent to the product of different units of measure and the number of measures to remain unchanged; otherwise, it will cause artificial measurement errors.
  • Order invariance means that the connection order of the system does not change due to different references. No matter how complicated the spatial system is, it always uses points as the primitive. Under different system levels, there is an orderly relationship between points, including: the positional relationship between adjacent points, the motion transfer relationship between particles, and the particles. The internal force transmission relationship among others. Order invariance is the basic guarantee for the correctness of theoretical systems and computing systems.
  • the amount of movement of the chain link is physically controllable and measurable.
  • the chain link is the basic unit of the kinematic chain concatenation process and is insurmountable; otherwise, the transferability of the motion chain is violated.
  • Equations (1.54) to (1.55) show: Joint angle position And line position Rotation vector And translation vector It is the basic attribute of a kinematic chain; the equivalence of positive and reverse order is total order.
  • Equations (1.56) to (1.57) show: the additivity of the coordinate vector i p l of the attribute p and the second-order coordinate tensor i P l of the attribute P to the closed subtree k L; reflecting the action of the leaf force on the root direction Force transmission and additivity.
  • the reference index of any sum term must be consistent, and the index of any product term meets the cancellation principle, that is, the lower right corner index of the previous product term and the upper left corner index of the next product term are the same and can be canceled.
  • the chain order on both sides of the equation is the same, that is, the connection order of the kinematic chain remains the same.
  • Equations (1.58) and (1.59) show: the coordinate vector of the attribute p Second-order coordinate tensor for attribute P For the concatenation of the motion chain i l j ; it has an iterative relationship. Reflects the concatenation and additivity of root motion to leaf motion.
  • Cartesian Cartesian coordinate space is a three-dimensional dot product space or unitary space.
  • the distance and angle with respect to different Cartesian Cartesian coordinate systems (referred to as Cartesian system for short) are invariant.
  • Cartesian system In the dot product space, in addition to addition and scalar multiplication operations, vectors also have dot product and cross product operations.
  • the Cartesian system is the basic element or primitive of a three-dimensional vector space.
  • Cartesian system is a system of three natural coordinate axes orthogonal to each other. Therefore, the Cartesian coordinate system is a special case of the natural coordinate system.
  • Cartesian Cartesian coordinate system F [l] O l- x l y l z l is composed of the origin O l and three orthogonal coordinate axes; the unit vector of the coordinate axis is called the coordinate base, which is written as and Are three separate symbols, and have
  • the coordinate base 1 becomes a unit cube; any unit cube 1 on the rotating rigid body is equivalent to the base vector e l .
  • the vector Are the base vector e l and the coordinate vector
  • the dot product of is a linear expression about the basis components; a vector is a first-order tensor and is an invariant;
  • Base vector e l with coordinates Forms a "base frame-coordinate" pair.
  • the linguistic expression of materialistic dialectics is: the base vector el and the coordinate vector Represent the two aspects of the position vector that are dual to each other. They are interdependent and an indivisible whole.
  • the calculation result is a matrix, that is, the outer order of two first-order vectors is 2 orders. Obviously, the inner product of two first-order vectors is 0, that is, a scalar.
  • the outer product of the base vector e l and the base vector (first-order tensor) e l is the dyadic vector of the base vector e l , that is, the second-order tensor is formed by the scalar product operation “ ⁇ ”, that is, the base vector e l Position vector) relative to itself;
  • Basis vector and the outer dot product of the basis vector e l is defined as
  • Is The coordinate array used as a reference is the three base components of e l Projection vector of three basis components; Is a sequence of projection vectors. Because the Cartesian axis is orthogonal, Orthogonal Projection, with attributes of "conformal” and "distance-tolerant".
  • the outer dot product of the coordinate base is a projected scalar between the base components; from the formula (1.29), it can be known that the inner product of the base vector is a scalar projection between the base vectors. According to the formula, although the directional cosine is completely ordered, the directional cosine matrix is partially ordered.
  • the eigenvector corresponding to the eigenvalue 1 is the axis invariant
  • the formula and the formula are coordinate transformation, that is, a projection vector formula.
  • the vector represented by the relative F [l] on the right is projected onto the left of the operator System;
  • the formula is the left-order form of the projection vector, which is about to be located in the projection operator Relative
  • the vector represented by the system is projected to the F [l] system to the right of the operator.
  • the "right-hand rule” is essentially used to determine the right-hand spiral.
  • the thumb refers to the direction of the "screw moment”.
  • Translation and rotation are two dual aspects of spiral motion, and force and moment are two dual aspects of force spiral.
  • “Spiral moment” is simply referred to as “moment”, which is a rotation effect generated by the translation process of a fixed vector.
  • the zero vector Action on the current vector The "spiral moments" are the vectors in their axes Rotation effect.
  • the zero vector can be determined according to the right-hand rule To current vector Axis vector That is, their axis vectors are obtained by the cross product of two vectors.
  • the "spiral moment" should be regarded as an action, the process of which is: firstly project to the radial vector and then rotate around the zero vector by 1/4 turn.
  • the “cross product” of the coordinate vector can be replaced by the corresponding “cross product matrix”, and the cross product symbol is usually not used in the future;
  • Rotation in the root direction involves translation in the leaf direction, which satisfies the cancellation rule of l ⁇ l chain order, reflecting the duality of translation and rotation.
  • the projection symbol clearly expresses the function relationship of the chain order, and writing is simple and convenient.
  • a simple rotation around a coordinate axis is just a special form of rotation.
  • the rigid body rotates around any axis in space, and the rotation transformation matrix from the pre-rotation to the post-rotation state can be uniquely determined by the rotation axis vector and the rotation angle.
  • the coordinate vector has a unique corresponding matrix, and the coordinate vector is the axis vector of the corresponding matrix.
  • Any matrix k M l can be expressed as among them: Is a symmetric array, Weigh for the opposition. From the above, There are axis vectors.
  • Definition 13 antisymmetric matrix of matrix k M l
  • the axis vector of is the axis vector of the matrix k M l .
  • the formula is a transformation formula of the second-order tensor coordinate array, that is, a similar transformation formula.
  • the similarity transformation is the coordinate transformation of the second-order tensor is the projection.
  • the projection of the second-order tensor can clearly express the chain order relationship, and the writing is very concise.
  • Equation (1.111) shows that the homogeneous transformation matrix has concatenation.
  • the body l ′ is generally a special-shaped rod.
  • the drawing unit may be inconsistent with the unit used in robot motion analysis and navigation control, or the robot rod itself has a three-axis deformation. It is often necessary to adjust any point l ′ S on the rod l ′ according to its system l ′ Three-axis scaling is performed, and the scaled volume is the same volume l.
  • the lens realizes the variable scaling transformation of the object point l ′ S and the image point l S of the scene, and it is often applied to the homogeneous scaling transformation in machine vision calculation. Therefore, scaling homogeneous transformation is one of the basic calculation methods for robot motion chain analysis.
  • Rotation vector / angle vector Is a free vector; that is, the vector is free to translate.
  • Is a scalar is a natural coordinate or a joint coordinate, and represents the amplitude or magnitude of the rotation.
  • Is the rotation vector With axis vector The inner product / projection is the angle.
  • Rotation vector Rotate the axis around the unit Angle is Of rotation.
  • the rotation vector is described using the rotation vector.
  • the translation vector is described by the translation vector They represent the state of rotation and state of translation, respectively.
  • Rotation vector It is rotation around a fixed axis, also known as fixed axis rotation.
  • Rotary pair in a robot system Motion vector or And angular position or To represent the rotation vector or Is the most natural representation of rotation; Motion vector or And line position or To represent, translation vector or It is a natural representation of translation.
  • Forward motion has self-reference: for rotation, from the initial state Around the axis Turn After the angle, to the final state l; the corresponding rotation vector is For translation, from the initial state Along the axis Translation To the final state l; the corresponding translation vector is For the same individual, the sequence of movement is usually: first zoom, then rotate, then translate.
  • Natural coordinate system natural invariants and natural coordinates are natural representations of natural space: rotation vector Cosine matrix with direction Equivalent, with invariance of 3D natural space dimension; natural axis invariant Relatively adjacent natural coordinate system And the coordinates of l are unchanged, which has the invariance of natural coordinates; With natural coordinates or It has nothing to do with the invariance of natural reference axis.
  • any column of the cross product matrix is the spiral moment of the corresponding coordinate axis.
  • the cross product matrix has the invariance of the spiral pitch.
  • equation (1.123) can be expressed as

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

一种基于轴不变量的多轴机器人逆运动学建模与解算方法,用于控制多轴机器装置,其中多轴机器人系统包含杆件序列与关节序列,使用轴序列来对应描述多轴机器人系统,并且利用轴序列的轴对应的轴不变量及轴链来计算多轴机器人系统的控制参数;多轴机器人系统通过拓扑上的轴基元及度量上的轴不变量基元,构建与轴一一映射的同构系统,以及使用计算出的控制参数来控制多轴机器人系统。

Description

一种基于轴不变量的多轴机器人逆运动学建模与解算方法 技术领域
本发明关于一种机器人、机器人自主控制系统与机器人自主控制系统内运用的方法,且特别关于一种多轴机器人,多轴机器人自主控制系统与多轴机器人自主控制系统内运用的方法。
背景技术
机器人是目前非常热门的领域。这个领域过去几十年已经投入了大量的科学与工程人力,而且研究了多年。然而,一旦遇到轴的数目与自由度增加到一定数量的时候,按照现有的教科书以及已知的观察、建模、计算与控制方式,往往会陷入复杂失控,甚至无法求解的难题。
首先,过去的做法缺少一般化的能力。对于不同的机器人往往需要重新研究,建立对应的运动学与力学模型。
其次,过去的做法在建模的过程,所用的图示以及语言通常是不精确也不完整的。这导致许多的参数在建模的初期并没有被考虑进去。后续的整个建模,包括程序化代码的编写时,就必须个别考虑跟解决之前没有考虑的参数与细节。这对于复杂系统,例如自由度更高的机器人应用时,往往意味着大量的隐藏臭虫(bug)会藏在整个建模的系统里头。这会影响整个系统开发的效率,并且透过这种没有完整考量下开发出来的系统,往往有很多稳定性问题难以解决。
此外,过去的做法在遇到复杂度比较高的时候,运算量会大幅增加或甚至找不出解答,以及计算精度大受影响。换言之,对于需要即时运算控制以达成自主控制的机器人来说,就成了重大的缺陷。
因此,虽然现在已经有很多的机器人相关的理论,但是却仍然缺少一个完整有效的设计框架与对应的运算与控制方法,可以在各种不同机器人实际开发过程中,方方面面地解决建模,模型内的运算结构与规则,到正运动学,逆运动学,以及力学计算的相关问题。
发明内容
因此,本发明提出了一个可使用在各种不同的多轴机器人设计中,从建模、正运动学、逆运动学以及力学方程式各个不同角度都能完整、有效解决工程实际要面对的估算与控制问题的方法。
对于熟悉机器人设计领域的人员,他们可以透过本发明文件的说明,使用不同的编程工具、电路,设计出符合本发明概念的各种多轴机器人、用在这些多轴机器人内的自主控制系统,以及在这些自主控制系统内执行的运算方法。
换言之,对于机器人设计领域的技术人员来说,他们可以用下列的发明,设计出一个完整的机器人,或是针对一个已经存在的机器人,修改或替换内部的运算与控制电路,或是撰写根据本发明的程序代码,载入已经存在的机器人的控制系统,让这些程序代码透过跟这个控制系统进行结合而达成本发明的技术效果。这些不同的切入方式,只要符合本发明文件所介绍的精神,都应该被认为属于本发明所涵盖的范围。
必须说明的是,在目前的电子与机械领域中,软件以及硬件的关联与组合变化非常多元。换言之本发明可以实现成一个机器人,本发明也可以是一组可被机器人远端下载的程序代码,或甚至透过网路远端连线,将运算一部分或全部由机器人实体以外的电脑或伺服器来加以执行。实现技术手段的多样性,不应该影响本发明应该被保护的范围,也不应该认为本发明可能实现方法包括程序代码或看起来涉及相当多的数学代号,就被归类为科学原理或数学方法。由于本发明的一系列概念可以落实为具体的技术方案,解决实际的技术问题,应该被认为确实属于专利法所要保护的范围。
以下所说明的内容,虽然会涉及相当多的数学,但是这些数学是基于工程技术观点对于实际多轴机器人进行观察所建立的模型。并且,这些数学代号很大比例可以转换成可编写程序的伪代码。这些伪代码,包括所设计的矩阵运算、方程式求解,都可以透过针对不同处理器或电路,编写成对应的程序,或全部或部分设计成对应的电路以加速运算。
这些数学代号背后代表的都是实际上各种机器人各个关节的马达输入或输出数值,各个手臂段的质量、角度、位置、力矩,轮子与地面的摩擦力、变形、转动角度等等。换言之,这个发明能够达成并且希望被保护的是根据这一系列完整的发明创新概念,所衍生出来的机器人、机器人自主控制系统以及机器人自主控制系统的方法,而非表面上的数学或物理原理,应该是属于可以被专利保护的标的。
由于这整个发明比较复杂,这份专利说明文件会尽可能地将各个环节的步骤加以说明。并且,由于整个发明涉及的方法本身就是在处理一个复杂系统,相关的说明初步看起来会相当复杂。但是,一旦对其理解后,就会发现这些看起来复杂的表述以及跟过去不同的运算方式,可以大幅度降低复杂度。
透过以下所说明的方法,首先可以完整地覆盖从各种看起来不同的探勘车辆、工具机器手臂、仿生机器人,用同样的逻辑跟语言建立模型。并且,透过以下说明的方法,不管是机 器人设计领域中最重要的正运动学、逆运动学或力学方程式求解,都能够有清楚简单的操作步骤,并根据这些操作步骤编写成对应的代码或电路,完成具体的机器人技术方案。而且,这些计算由于发明人全面性地观察了多轴机器人背后技术问题的本质,找出这个非常多人研究却没有人特别找出的关键点,包括从轴不变量来建构模型、建构正运动学、逆运动学、运动方程式以及求解。察觉他人未察觉的问题、针对技术问题提出可以解决技术问题的手段,并且这个技术手段可以产生意想不到的功效,这些都应该属于非显而易见,进而足以让本发明具有专利法上的进步性。
以下先针对本发明背后原理主要的特征加以说明,设计机器人领域中的技术人员可以参考实施方式里头附带的完整说明,在理解后根据各种不同的设计需求,设计出符合本发明概念的多轴机器人、多轴机器人的自主控制系统,或是在多轴机器人控制系统上面执行的方法。
首先,本发明针对多轴机器人提出了一个完整的观察方式,针对这个观察方式,可以将各种不同的多轴机器人的不同元件,甚至看起来不同的关节,用同构(isomorphic)的完整方式,以一套清晰的图示符号与语言加以描述。
换言之,给定一个具体的多轴机器人,例如探勘车、工具机台的机器手臂、仿生机器人,设计者可以快速并且完整地描述这个多轴机器人。这套符号跟语言有助于描述整个机器人运动学跟力学涉及的相关问题。然而,必须说明的是,发明人利用了这套图示符号跟语言以及对应的运动学与力学,成功地设计了多种不同的多轴机器人自主控制系统。一般设计者也可以直接利用这套图示符号与语言。但是,即使使用者运用看起来不同的符号名称,只要符合本发明所揭露的发明概念,应该也属于本发明的范围。
透过这套清晰的图示符号与语言,设计者可以将一个多轴机器人的各种不同的关节,转换成等价的多个平动以及转动轴。这些轴之间可以构成有向Span树以及偏序运动链。以下的发明详细说明会解释这些参考现代集合论设计的符号以及语言,不但跟所关注的机器人系统产生同构的关系,而且本身构成了一个具有完备性的模型。为了证明跟显示这套语言系统的完备性,我们在专利说明文件甚至提供了相关公理的推导与证明。
这个由运动链构成的拓扑空间,可以进行下述说明的运动轴符号与操作,并且这些操作会符合一个对应真实世界机器人的物理特性。举例来说,对于有三个杆件透过两个转动轴连接的多轴机器人,当这些转动轴内部的马达转动一个设定角度时,这三个杆件彼此的相对位置会彼此牵连。此时,如何计算这三个杆件的末端会从哪个位置移动到哪个位置,就属于机器人学里头的正运动学。这会涉及到多个轴坐标系之间的迭代计算。设计者可以在下面的对应章节,可以看到这些符号系统跟本发明提出的技术特征,例如应用轴不变量的特性,如何 用在正运动学的各种技术问题进行运作与计算。设计者在看完这些说明后,可以根据不同的设计需求,编写出对应的程序代码或设计对应的电路。这些编写程序代码的细节或电路设计的不同方法,设计者应该可以在一般的电子电路设计与编程参考书籍中取得相关的信息,本发明文件不会对于这些细节的程序编码或电路设计进行累赘的描述。
此外,如果已经设定对应的结果,例如希望将多轴机器人的末端吸盘,移动到多轴机器人利用摄像头等机器视觉所判断的某个特定位置以拾取某个物件,这时候如何设定每个轴关节马达的转动或移动角度,就构成逆运动学的主要问题。
当然,除了计算多轴机器人不同杆件的特定位置对应的轴操作量,有些杆件本身具有限制条件,例如在移动过程当移动到某个相对坐标角度会被某个壳体挡住。或是,工作环境有一些位置属于某些杆件不能进入的区域。这些限制可以作为逆运动学求解过程中的限制参数。
这些运算会涉及大量的坐标迭代计算以及求解。举例来说,下列的实施方式章节会说明如何用本发明基于轴不变量,更有效地计算机器人学里头很关键的D-H参数。并且,本发明的方法可以有效地计算高阶多元方程的对应解。这些解对应实际上各个轴关节的操作位移或转动角度。因此,并非单纯的科学原理或是数学公式,而是属于真实能应用、也是发明人希望能够保护的技术方案。
透过本发明的语言符号系统,轴不变量下建构的相关矩阵运算,以及针对目标位置的求解方程式的操作,这些逆运动学都可以相较于现行的逆运动学找出更有效率的运算方法。如上所述,这些运算方法可以编写成对应的程序代码或电路。
必须说明的是,设计者即使使用名称不同但实质意义相同的运算方法来设计对应的控制代码或电路时,应该仍然属于本发明的范围。再次强调,本发明范围并不限制于所提供的语言符号。
透过这样的正运动学、逆运动学,发明人并且提供了一个具体的探勘车实施例子,以证明这整套方法的具体可行。
接着透过下列的实施说明,发明人进一步基于运动学以及这套语言符号系统,以及相关的轴不变量的特性,建构了一整套的多轴机器人的力学方程。有了这套完整的力学方程,只要给定这套力学方程里头一部分已知变数数值,就可以透过对于这套力学方程的求解,找出其他变数的数值。例如,在这个力学方程中,输入多轴机器人杆件的质量、各个轴关节的移动、转动速度、加速度等,就可以对于多轴机器人不同位置的受力进行估算。此外,如同逆运动学所要解决的问题,这套力学方程也可以用来计算,当多轴机器人某个端点希望受力或施力是多少的目标值时,应该如何去操作各个轴关节的马达输出功率。
虽然过去已经有一些用来计算机器人领域的力学方程,但是本发明针对多轴机器人所提出的力学方程不管在计算效率或是能够求解的维度上,都相较于传统的力学方程有明显的优势。
此外,本发明提出的运动学或力学运算,设计者可以从下列的说明发现,有非常大量的运算是基于简洁的语言符号跟对应的矩阵运算。这些语言符号与对应的矩阵运算的特性使得这些运算可以很方便的对应到伪代码。甚至,设计者会发现大部分的伪代码背后的运算很大比例可以平行计算。换言之,使用目前的多处理器电路,搭配对应的编码,可以让整个运动学或力学的计算在很短的时间内达成。这对于需要即时得到结果,以便运用这些结果来进行多轴机器人参数设定,例如对于马达的控制电流设定的应用,具有非常实际的意义。
举例来说,即使过去的力学方程可以针对自主控制系统所需要解决问题,算出相同的解答。但是,如果不能在硬件电路的计算时间限制内即时算出,也无法顺利构成一个有用的机器人自主控制系统。
因此,这个发明可以实做成各种不同的形式,并且因此具有各种不同的范围。实际的范围请参照权利要求章节所定义的范围,以及针对这个发明的相关专利案件。
对于机器人控制系统来说,能够完整地掌握各个参数跟细节是非常有价值。举例来说,投放到灾区或甚至月球表面的探勘车,如果因为设计上的缺陷造成判断错误,造成的损失可能是非常高昂的代价。
此外,对于能够用统一的符号系统以及对应的运动学、力学方程来面对跟设计看起来可能完全不同的机器人系统,本身就是一件非常有价值的事情。举例来说,用在探勘车上的机器人控制电路,只要做一些参数的设定跟调整,就可以直接安置在各种不同工具机的机器手臂上。这对于处理芯片的制作成本跟复杂度,有非常大的好处。
并且,透过下面的说明,设计者可以理解到本发明针对机器人设计会遇到的技术问题所提出的技术方案,不管在计算效率或是稳定性,都有着比现有设计框架更好的优点。
本发明以现代集合论的链理论及张量分析理论为基础,建立了适应现代计算机符号演算的、具有严谨运动链指标系统及运动链坐标系统的链拓扑演算符号系统;构建了基于链拓扑演算符号系统的多体运动学、动力学建模及自主行为控制的理论。
自主行为控制是以多轴系统的运动学及动力学、现代计算机等为基础。实现各种机器人系统的自主行为必须遵从系统自身及外在环境的规律。然而,不同领域的符号系统各不相同。例如,不存在一致的机械制图语言、3D模型语言、专业符号语言,集成这些符号系统存在巨 大障碍。由于缺少一致的工程技术规范及技术语言,不同领域的信息交换存在障碍,难以保证各种机器人研制的质量。
这些机器人的设计需要仰赖现代数学、力学、天文学及计算机等学科的融合。换言之,要设计一个可靠的控制系统,需要建立一套适应现代计算机技术特点的多轴系统自主建模及控制的理论。
在本发明中,多轴系统运动学及动力学建模及自主行为控制既实现了系统拓扑、坐标系、结构参量及动力学参量的参数化,又保证了计算及测量的精确性与实时性。从而,实现建模与控制的模块化,提高系统集成的效率与工程应用的可靠性及继承性。
同时,基于轴不变量的运动学及动力学模型实现了对于系统拓扑(连接关系)、参考系、极性、结构及力学参量的参数化,是具有通用性的、高效率的、可直接翻译为计算机代码的机器人运动学与动力学系统,是实现机器人自主控制的基础。由于该系统具有计算机可理解的符号系统,计算机可以进行运动学及动力学分析,并具有自主判别推理结论正确性的机制,可以极大提升机器人对于运动学及动力学问题分析与求解的智能。
无论是复杂的天体系统,还是复杂的航天器系统,它们均具有客观的拓扑结构,该拓扑结构基础是树链。通过树链,将力学、天文学及计算机理论进行整合,不仅可以统一复杂大系统的符号表示及演算,而且可以产生诸多创新性的理论及工程技术成果。
本发明遵从同构的哲学原理,以拓扑的序不变性、度量的张量不变性与对偶性、机械化的建模与演算为原则,建立了适应现代计算机进行符号演算的,具有运动链符号演算系统的,基于轴不变量的多轴系统运动学及动力学方程。一方面,实现了系统拓扑、坐标系、结构参数及动力学参数的参数化。另一方面,是三维(3D)矢量空间的轴不变量的迭代式,保证了计算精度与实时性。同时,具有计算机伪代码的功能,保证工程实现的正确性与可靠性。以之为基础,开展多轴系统自主行为控制研究。由计算机自主地完成多轴系统的运动学与动力学的数值与显式建模,正逆运动学及正逆动力学的解算。本发明可以间接地感知多轴系统与环境的作用状态,间接地感知多轴系统与环境的作用力。本发明可以提高系统绝对定位精度、动态响应,抑制振动,实现系统轻量化。从而,本发明可以提高多轴系统自主行为能力,提供友好、高效、优质的作业与服务。
现代集合论的链(Chain)理论是偏序的集合理论,包含树链系统在内的客观世界的普遍规律。链理论不仅适用于运动链的作用关系,也适用于动作链的作用关系。张量分析理论是关于连续介质粒子及场论研究的数学工具,具有爱因斯坦指标系统。本发明借鉴了现代集合论的链(Chain)理论及张量(Tensor)分析理论,建立了运动链符号演算系统,将传统依赖 于自然语言注释与数学语言描述的多体系统运动学及动力学理论转化为以链符号系统为基础的3D操作代数理论体系。用来建构本发明的理论具有以下特点:
首先,本发明提供具有以链序为核心的运动链符号演算系统。一方面,通过具有链指标的符号系统规范,准确地表达运动学与动力学物理属性内涵。另一方面,简洁地表达了运动链的运动学与动力学内在的序作用规律。
其次,本发明具有链指标的3D操作代数系统。操作代数与算子代数的不同在于:操作代数既包含数值计算的矩阵操作,又包含树链拓扑操作。从而,使得多轴系统具有变拓扑结构的适应性、空间运算的紧凑性及操作的可理解性。避免了6D空间算子代数依赖系统拓扑的整体性、空间运算及分解的复杂性及空间算子的抽象性。适用于可变结构的多轴系统运动学及动力学建模。
另外,本发明提供了具有自然轴链的3D操作代数系统。运动的前向迭代及力作用的反向迭代是树链拓扑的基本特征。多体系统本质是多轴系统。运动副是轴与轴的约束副。运动链是轴链。运动副的公共单位轴不变量是自然参考轴,具有自然不变性,故称该单位轴不变量为轴不变量。轴不变量及对应的自然坐标唯一确定对应轴的自然坐标系。基于笛卡尔直角坐标系的运动链本质上是笛卡尔坐标轴链系统,它是自然轴链的3D操作代数的特例。
此外,本发明具有固定轴不变量的结构参数及自然坐标系统。一方面,解决了多轴系统结构参数精确的方法问题。另一方面,也解决了基于固定轴不变量自动确定D-H系与D-H参数的问题。同时,解决了通用6轴可逆解的运动学方程实时建立及实时逆解计算问题。
并且,本发明建构的多轴系统的运动学及动力学方程具有不变量的迭代式。本发明通过轴不变量统一了3D空间的定轴转动、4D空间的罗格里德四元数、欧拉四元数及对偶四元数,解决了6D空间的双矢量姿态、运动旋量及力旋量。本发明建立了基于轴不变量的位移、速度、加速度、偏速度的迭代式。本发明针对有根树链及闭链、无根树链与闭链,建立了基于轴不变量的居─凯恩动力学方程。多轴系统的运动学及动力学方程是关于多轴系统拓扑、坐标系与极性、结构参量及运动参量的参数化的方程,具有正逆解的精确性与实时性。它们具有链指标的伪代码功能,是建立于拓扑公理与度量公理基础上的公理化理论体系,保证了复杂系统建模的正确性与可靠性。
这整套技术可以用来制作成机器人的控制系统,包括一部分或全部在机器人的控制电路里头执行,或是局部或全部在远端的伺服器或外部电脑装置进行运算。此外,这整套技术可以用来制作分析工具,提供给设计者用来分析、验证所设计机器系统的正确性,或进行迭代设计的参考。换言之,这整套技术可以制作成一套完整的工具。此外,透过下面的说明将可 以理解,这整套系统所提到的模型具有极好的可扩充性。换言之,多个基于这整套系统建构的机器人模组可以叠加组合在一起,仍然可以用同一个技术方案来加以控制与分析。另外,由于这整套技术方案具有配套的简洁符号系统,而这套符号系统可以设计成对应的程序代码与函数库。这整套系统除了容易建模,即使系统有任何地方出错,仍然可以透过感测器回馈或是工程人员调整设定后,继续保持一定的运作能力。换言之,这个技术方案具有很好的容错能力。
根据本发明的一个实施例提供一种控制方法,用于控制多轴机器装置(multi-axis robot device)。所述多轴机器装置包含杆件集合(link set)与关节集合(joint set),所述杆件集合中之杆件透过所述关节集合的关节结合,此控制方法包含下列步骤。
将所述关节集合转换成对应的轴集合。关节集合中的一个关节对应成所述轴集合的子轴集合。所述轴集合的轴为平动轴或转动轴。
使用所述轴集合来对应描述所述多轴机器装置。利用所述轴集合的轴对应的轴不变量(axis invariant)来计算所述多轴机器装置的控制参数。其中,对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。并且,使用计算出的控制参数来控制所述多轴机器装置。
在一些实施例中,这个方法可以更包含将所述关节集合转换成对应的轴集合对应的数据存在控制电路的存储器中。
在一些实施例中,这个方法可以更包含将所述轴集合来对应所述多轴机器装置的描述对应的数据存在所述控制电路的所述存储器中,并且透过修改所述描述对应的数据,直接调整所述控制方法的更新计算。换言之,跟传统只要设定变更就需要重新建模并加以复杂的除错验算不同,透过这个系统,只需要直接提供调整后的参数即可直接建立新的模型。
这个特征能够大量制造机器设备的零件以降低成本,但同时可以保持组装的多轴机器装置的弹性。任何调整都可以快速反应并且准确的完成新设定的建模与相关的计算。
在一些实施例中,使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合的轴对应的轴不变量(axis invariant)来计算所述多轴机器装置的控制参数,其中对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。
这个方法也可以更包含针对所述关节集合的关节的感测器量测数据,结合所述轴集合的轴不变量来计算所述多轴机器装置的至少一正运动学参数,来预测所述多轴机器装置的运动轨迹。
此外,这个控制方法克更包含根据针对所述关节集合与所述杆件对应的所述运动轨迹,对照预设规则,自主操作所述多轴机器装置。
在另外的实施例中,这个控制方法可更包含针对所述多轴机器装置的给定运动轨迹对应的运动方程式求解,找出对应所述给定运动轨迹对应的关节集合的的关节的所述控制参数。以下的内容会具体举例说明相关运动方程式的计算。
此外,这个控制方法也可以包含针对所述关节集合的关节的感测器量测数据,结合所述轴集合的轴不变量来计算所述多轴机器装置的至少一力学参数,来预测所述多轴机器装置各部位的受力情况。
在另一些实施例中,这个控制方法也可包含针对所述多轴机器装置的给定力学参数对应的力学方程式求解,找出对应所述给定力学参数对应的关节集合的的关节的所述控制参数。
另外,所述轴集合可对应成一个有向展开树结构。并且,在对应所述有向展开树结构时,如果有些轴之间有非树连结关系,记录成一个非树连结结合。
这个多轴机器装置整体透过1对1的同构对应方式对应到轴集合,达成同构(isomorphic)的对应关系。换言之,在多轴机器装置进行一定的运动时,这个轴集合建立的模型也可以找到完全对应的运作。反之,在这个轴集合建立的模型中进行运算,也可以对应到所述多轴机器装置的运动。
除了运动学,也可以进一步在运动学的基础上建立力学模型,并且进行对应的计算或求解。在一些实施例中,所述杆件集合进一步扩张成与轴集合一对一对应的虚拟杆件集合,使得每个虚拟杆件集合的杆件与所述轴集合的一个轴刚好一对一对应。
根据本发明的另一实施例,提供一种多轴机器装置。这种多轴机器装置包含多个关节,构成关节集合;多个杆件,构成杆件集合,所述杆件集合中的杆件透过所述多个关节连接;以及控制电路,用来控制所述多个关节的运动,并且所述控制电路将所述关节集合转换成对应的轴集合,关节集合中的一个关节对应成所述轴集合的子轴集合,所述轴集合的轴包含平动轴与转动轴两种类型。
所述控制电路使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合的轴对应的轴不变量(axis invariant)来计算所述多轴机器装置的控制参数,其中对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。所述控制电路使用计算出的控制参数来控制所述多轴机器装置的关节。
以下会介绍一套完整的符号以及对应的计算系统,用来对应跟描述各种多轴机器装置。
在一些实施例中,所述控制电路针对所述关节集合的关节的感测器量测数据,结合所述轴集合的轴不变量来计算所述多轴机器装置的至少一正运动学参数,可用来预测所述多轴机器装置的运动轨迹。
在一些实施例中,其中所述控制电路针对所述关节集合与所述杆件对应的所述运动轨迹,对照预设规则,自主操作所述多轴机器装置。
在一些实施例中,所述控制电路针对所述多轴机器装置的给定运动轨迹对应的运动方程式求解,找出对应所述给定运动轨迹对应的关节集合的关节的所述控制参数。
在一些实施例中,其中所述控制电路针对所述关节集合的关节的感测器量测数据,结合所述轴集合的轴不变量来计算所述多轴机器装置的至少一力学参数,来预测所述多轴机器装置各部位的受力情况。
在一些实施例中,所述控制电路针对所述多轴机器装置的给定力学参数对应的力学方程式求解,找出对应所述给定力学参数对应的关节集合的的关节的所述控制参数。
除了作为控制方法或是多轴机器装置本身,本发明也可以基于相同的技术特征,制作成设计系统,用来设计与验证多轴机器装置。这种设计系统可将各种多轴机器系统对应成以轴不变量建构起来的运动以及/或力学模型,来分析与验证各种设计的可行性、正确性与完整性。
所被分析的多轴机器装置的杆件具有杆件集合(link set)与关节集合(joint set),所述杆件集合中之杆件透过所述关节集合的关节结合。这个此设计系统可包含输入单元,供设计者将所述关节集合转换成对应的轴集合,关节集合中的一个关节对应成所述轴集合的子轴集合,所述轴集合的轴包含平动轴与转动轴两种类型。举例来说,设计者可用XML档案作为参数输入的方式,或是跟电脑辅助设计工具(CAD)结合,在里头透过互动式命令列或图像操作界面来输入新哪管参数。基本的数据输入的设计可以参照目前一半的技术文件,在此不再详细赘述。
这个分析系统还包括处理单元,使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合的轴对应的轴不变量(axis invariant)来计算所述多轴机器装置的控制参数。对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。
这个分析系统还包括分析单元,使用计算出的控制参数来分析验证所述多轴机器装置的设计。
这里提到的处理单元与分析单元可以一部分用硬件完成,也可以用软件与硬件结合的方式来制作。实际上也可以将相关的逻辑编写成代码,全部或部分在使用者的电脑上执行或是在远端的伺服器执行。
在实际建立这个系统时,所述输入单元可包含针对所述关节集合的关节设定参数,并结合所述轴集合的轴不变量来计算所述多轴机器装置的至少一正运动学参数,来预测所述多轴机器装置的运动轨迹。
在实际建立这个系统时,所述处理单元更包含利用对于使用所述轴集合建构的力学方程式,计算所述多轴机器装置的力学参数。
根据本发明的另一个实施例,提供一种控制方法,用于控制多轴机器装置(multi-axis robot device)。所述多轴机器装置包含杆件集合(link set)与关节集合(joint set),所述杆件集合中之杆件透过所述关节集合的关节结合,此控制方法包含下列步骤。
将所述关节集合转换成对应的轴集合,关节集合中的一个关节对应成所述轴集合的子轴集合,所述轴集合的轴包含平动轴与转动轴两种类型。
使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合来建立多种不同的动力学方程,这些动力学方程里头使用所述轴集合对应的轴不变量。
根据本发明的另一实施例提供一种控制方法,用于控制多轴机器装置(multi-axis robot device)。所述多轴机器装置包含杆件集合(link set)与关节集合(joint set),所述杆件集合中之杆件透过所述关节集合的关节结合,此控制方法包含下列步骤。
将所述关节集合转换成对应的轴集合,关节集合中的一个关节对应成所述轴集合的子轴集合,所述轴集合的轴包含平动轴与转动轴两种类型。
使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合的轴计算对应的轴不变量(axis invariant)。对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。
利用轴不变量的不变性建立基于轴不变量的迭代式运动学方程。并且,所述迭代式运动学方程的符号对应到伪代码,可清晰反应所述多轴机器装置运动链的拓扑关系与链序关系。使用计算出的控制参数来控制所述多轴机器装置。
在一些实施例中,在所述迭代式运动学方程里头,使用具有正交归一的四元数来做迭代计算,取代旋转变换矩阵,以增加所计算参数的精确性。相较于传统直接用旋转变换矩阵进行迭代计算,这种做法可以避免错误的累加,而大幅增加整体系统的精确性跟稳定性。
此外,在所述迭代式运动学方程中,可应用轴不变量,将转动表达为转动矢量。
在一些实施例中,所述迭代式运动学方程具有自然零位轴及系统零位轴,轴不变量在3D空间及4D空间下具有优良的操作性能,满足运动链公理及度量公理,并且具有伪代码的功能,物理含义准确。
在一些实施例里头,在所述迭代式运动方程用来计算旋转运动参数的旋转变换矩阵可用轴不变量来表示。
根据本发明提供的另一实施例,提供一种控制方法,用于控制多轴机器装置(multi-axis robot device)。所述多轴机器装置包含杆件集合(link set)与关节集合(joint set)。所述杆件集合中之杆件透过所述关节集合的关节结合。这个控制方法包含下列步骤。
将所述关节集合转换成对应的轴集合,关节集合中的一个关节对应成所述轴集合的子轴集合,所述轴集合的轴包含平动轴与转动轴两种类型。
使用所述轴集合来对应描述所述多轴机器装置,并且利用所述轴集合的轴计算对应的轴不变量(axis invariant),其中对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变。
透过轴不变量建构这个多轴机器装置的运动学模型,并且将计算的结果直接跟另一个连接的多轴机器装置进行叠加运算,以计算组合的多轴机器装置的运动参数。
换言之,一个复杂的系统在轴不变量的架构下,可以分割成多个局部来计算。另一方面,这些分开计算的局部机器模组也可以将运算的结果组合起来构成整体的复杂结果。此外,也可以透过下列各种不同的方法来一起计算。
举例来说,这个方法可提供一个硬件或软件的接口(interface),让所述多轴机器装置与另一个多轴机器装置的参数进行叠加,以直接计所述组合的多轴机器装置的运动参数。
在另外的实施例中,所述多轴机器装置与所述另一个多轴机器装置可以在分离与组合之间切换,并且在组合后透过同一个控制电路加以控制。
另一种操作方式,也包括所述多轴机器装置与所述另一个多轴机器装置在分离与组合之间切换,并且在组合后透过位于两个多轴机器装置的多个控制电路透过协同运算加以控制。
或者,所述的控制方法可更包含侦测所述多轴机器装置是否与另一个多轴机器装置组合,并且自动启动组合的叠加计算。
在一些实施例中,所述控制方法可更包含侦测所述多轴机器装置的实际运动参数跟推算的运动参数之间的误差,并且用所述误差来重新调整所述运动学模型。
这个对于自主运作的机器装置特别重要。因为所有的机器设备都有可能随着制造时候的误差,使用过程的零件老旧或破损而产生各种难以预期的变化。这些变化可以透过针对一些位置的 侦测加以测量。这些测量的结果可以跟透过轴不变量建立的模型所做的计算做比较。比较发现的误差可以回馈去调整轴不变量的模型,以达成整个系统具有一定的容错能力,加强整体的系统稳定性。
换言之,当所述多轴机器装置出现局部故障或变形时,透过所述重新调整,利用调整后的所述运动学模型来计算相关的运动学参数。
此外,所述运动学模型里头对应的符号,透过下面的介绍可以发现这些符号都可以对应伪代码,进而编写成对应的软件或是电路。因此,整个运动学模型的运算可透过呼叫对应伪代码的的电路或代码进行运算。
此外,在一些实施例中,控制方法可包含接口,用来跟应用层的代码沟通,以完成自主机器操作的功能。
机器人的用途非常多,其中一种就是用于工厂的制造用机器人的控制。这时候可以利用所述运动学模型搭配外部量测器的量测参数,代入所要组装设备的操作,完成控制所述多轴机器装置达成所述制造用机器人的功能。
这种控制方法也可以利用运动参数代入力学方程,计算所述多轴机器装置各部件所承受的力量。换言之,可以从运动学的参数,推算所承受的力量,进而可以更精密有效地控制所述多轴机器装置。这一点对于机器人能够更有效运作有很大的帮助。目前的机器系统通常需要固定基座或是很重的重量,因为无法计算复杂的力学参数。
相对地,本发明基于轴不变量可以建立起简洁可运算的运动学模型、力学模型,以计算各种控制或分析所需的参数。
因此,透过本发明可以建构出过去难以建立的机器人控制系统的底层。并且,这样的底层具有非常简洁的表示模式,可直接转换成对应的代码或电路,并且加以优化。
图示说明
图1为运动副的结构示范图。
图2为棱柱副的结构示范图。
图3为系统内运动副的标识符、所属类型及简图比较图。
图4为系统外运动副的标识符、所属类型及简图比较图。
图5为基本结构简记符比较图。
图6a为柱面机械臂示范图。
图6b为球面机械臂示范图。
图6c为回转机械臂示范图。
图7为摇臂式六轮机器人的轮系差速机构结构简图。
图8为摇臂式六轮机器人的杆系差速机构结构简图。
图9为闭链类型机器人示范图。
图10为CE3月面巡视器的轴链有向Span树图。
图11为坐标轴与基矢量参考图。
图12为矢量的投影矢量图。
图13为矢量在笛卡尔直角坐标系的投影矢量图。
图14为基矢量与基架关系图。
图15为三维二阶张量的基分量图。
图16为自然坐标系与轴不变量图。
图17为固定轴不变量参考图。
图18为由双矢量确定的转动图。
图19为D-H转动图。
图20为解耦机械手结构图。
图21a、图21b为两组坐标系关系图。
图22为径向投影及自然零位图。
图23为矢量的镜像变换图。
图24为正射镜像图。
图25a为矢量做定轴转动前矢量图。
图25b为图25a做定轴转动后矢量图。
图26为Cayley参数含义图。
图27为二维空间下极点图。
图28为运动螺旋图。
图29为轴不变量精测原理。
图30为固定轴不变量的原点确定图。
图31为偏速度的含义图。
图32为固定轴不变量与位形对偶四元数的关系图。
图33为螺旋径向不变量图。
图34为自然坐标系与D-H系的关系图。
图35为月面巡视器太阳翼坐标系示意图。
图36为全向天线与右翼、全向天线与太阳翼干涉图。
图37为月面巡视器2DOF桅杆示意图。
图38为CE3巡视器机械臂D-H系图。
图39为轴不变量的导出不变量图。
图40为高精度通用机械臂(左6R,中7R,右8R)。
图41为类人手臂(左7R右8R)。
图42为人的手臂结构。
图43机器人柔性加工中心(左6R3F,右6R4F)。
图44为平面2R机械臂示意图。
图45为理想的弹簧质量摆。
图46为多轴系统的闭子树。
图47为通用3R机械臂示意图。
图48为内摩擦力及粘滞力示意图。
图49为三轮移动系统图。
图50为CE3月面巡视器移动系统。
图51为基于线性化补偿器的多轴系统跟踪控制图。
图52为基于逆模补偿器的多轴系统力位控制图。
图53为模糊变结构控制框图。
图54为模糊变结构控制控制律图。
具体实施方式
由于这个发明概念包括一连串相互关联的内容,为了便于设计者理解本发明的内容,并能够基于这样的理解而实施本发明的内容,以下将分章节搭配图示针对本发明加以说明。设计者可以从其他部分的说明找到对应的实施细节,进而利用技术领域中熟悉的电子电路或程序编程,将本发明落实成各种不同的技术方案。
第一部分。运动链符号演算系统 Equation Chapter 1 Section 1
机器人运动系统是机器人系统的重要组成部分,是由机器人关节、机器人内传感器、外传感器及控制软件模块构成的有机整体。
零件(Part):组成机电系统不可拆分的单个制件;零件包含:凸轮、螺栓、板金等。
构件(Component):组成机电系统的、彼此间无相对运动的基本单元;机械构件包含:连杆、机架等。
连杆(Link):常常由单独加工的连杆体、连杆头、轴瓦、轴套、螺栓、螺母、开口销等零件组成的一个构件。在机器人领域,通常将构件统称为异型杆件,简称为杆件。无论构件的外形如何,把机器人本体中起主要支撑作用的构件均称为杆件。机架通常由桁架、板金及紧固件组成。
部件(Modular):机械或电气装配过程的独立功能模块,具有独立机械、电器等装配接口。机械部件包含:减速器、联轴器、制动器等;电气部件包含:电机、轴编码器等。
机构(Linkage):由一组机械零件、机械构件及运动副组成完成确定的机械运动装置;包含:车轮驱动机构、车轮方向机构、旋翼机构、扑翼机构、回转机构、单轴/双轴云台机构。机构的主要功能在于:形成和释放机器人部件的连接或紧固状态;使机器人部件展开到所需位置与姿态;通过机构间的相对运动产生的内力、机构与环境的相对运动产生的外力,共同产生对机器人运动状态的改变。
总成(Assembly):机械或电气部件构成的不依赖其它机械部件的独立功能模块,具有独立机械、电器等装配接口。总成包含:一体化的机器人关节、方向机、轮系等。
结构是支撑科学仪器和其他分系统的骨架,机构是机器人产生动作的部件,机构和结构都属于机械系统,在设计上存在着相同或相似之处。结构主要功能在于:为机器人携带的仪器设备和其它分系统提供安装空间、安装位置和安装方式;为仪器设备提供有效的电磁防护、粉尘防护、力学保护;为特定仪器设备提供所需的刚性条件,保证高增益天线、光学部件和传感器所需的位姿精度;为特定仪器设备或其他分系统提供所需的物理性能;例如:热辐射或绝热性能、导电或绝缘性能。在机器人分析时,机架也视为杆件。
机器人运动行为:机器人通过综合电子系统对自身及环境状态的感知,协调执行序列的动作,实现自身及环境状态变迁的过程(Procedure);包含:蓄能行为、越障行为、抓取行为等。机器人运动技能是指机器人拥有的运动行为能力,是未受激励的运动行为。
机器人运动学(Kinematics)研究机器人自身及环境运动状态表征及状态间相互作用的过程。机器人动力学(Dynamics)研究机器人自身及环境作用力与机器人运动状态的作用过程。
机器人关节(Joints)是机器人重要组成部分,决定着机器人运动学与动力学行为能力。
自然环境即自然的空间是三维(3D)的,这是一个客观的量或不变量。相应地,空间中任一点有3个独立平动自由度(DOF)。任意三个独立的点固结成为一个刚体,具有三个独立方向,故刚体姿态具有3个独立转动自由度;刚体姿态是其任三个独立点的导出状态。三个独立的平动自由度及三个转动自由度对应三个独立平动轴(Translational axis)及三个独立的转动轴(Rotational axis)。独立的平动轴或转动轴是指任两个轴不共轴线即不共轴。
机器人关节(Joint)通常由由高功率密度力矩电机、减速器、高精度绝对编码器、抱闸及电机驱动器组成。有的力控制关节也装配力传感器。
机器人关节区别于普通机电系统中的关节,高性能的机器人关节具有以下基本特点:关节质量轻、结构紧凑、功率密度大,关节输出力矩要足够大;减速器及编码器精度高,通常优于3角分或更高,通常编码器精度要优于减速器背隙(Backlash)精度4至6倍;电机及减速器的效率高,热量少,高可靠性,通常需要可靠8000hrs或更高。电机驱动器具有电流、速度及位置三环控制,通常采用EtherCAT通信;采用中空轴结构设计,提高管线可靠性;编码器通过减速器的馈轴在电机侧安装,提高关节位置检测精度;电机转子、抱闸及减速器入轴(Shaft)一体化设计;减速器出轴与绝对编码器转子一体化设计;关节底座与机器人杆件一体化设计;从而,提高关节可靠性,降低关节质量。
关节
Figure PCTCN2018112809-appb-000001
通过减速器法兰与父杆件
Figure PCTCN2018112809-appb-000002
固结,通过输出轴法兰与子杆件l固结;通过关节,实现相邻杆件的相对运动控制。
霍尔效应:当载流导体的电流I受与之正交的定向磁场B作用时,在该磁场方向产生霍尔电势V H。霍尔电势V H(V)与电流I(Amp)及电流正交的磁场强度B(Gauss)成正比;
V H∝I·B。        (1.1)
基于霍尔效应的敏感器具有以下特点:是真正的固态器件,可以满足300亿次的操作,具有高可靠及长寿命的特点;具有10万次/秒的操作速度,满足高动态响应需求;可满足―40至+150℃宽温需求;霍尔敏感器常用于无刷电机的电子换向器件;当极化的电机转子通过霍尔敏感器时,产生交变的转子位置信号,用于控制电机功率模块的导通状态。
无刷直流(Blushless DC/BLDC)电机由定子、转子及电子换向器组成;驱动器由换向控制逻辑单元、功率模块,以及未画出的电机控制模块及通信模块等组成。
电机转子由永磁材料“钕-铁-硼”或“钐钴”的磁钢构成;在径向上形成极性交替的磁场。机器人电机需要较高的磁场强度,才能保证电机具有较轻的质量。
电子换向器检测转子与定子的相对位置,通常由三个霍尔传感器构成。位置信号输入给换向控制逻辑单元,产生控制功率模块的时序;从而,建立与旋转电磁磁场(Electromagnetic Field/EMF),拖动转子运行,产生功率输出。
用电子开关器件代替传统的接触式换向器和电刷,无换向火花降低了电磁干扰、提高了可靠性,降低了机械噪声。
交流同步电机转子极对数P给定时,电机驱动器通过控制三相电源频率f(Hz),可以调节电机转速N(RPM),
N=60·f/P。       (1.2)
显然,电源频率一定量,转子极数越多,电机转速越低;通过增加极对数,提高电机输出力矩;极对数多的电机,呈扁平的结构,称为力矩电机。低速的力矩电机的可靠性通常更高,易与减速器匹配;适应提高极对数(3至6对),也可降低电机及减速器的总质量,提高力控机器人的动态性能。极对数过高时,电机的质量将偏大,在机器人工程上难以应用。
给定电流参考时,直流无刷电机通过控制三相电压的占空比,控制电机电流;通过单位时间内检测的过零次数计算电机转动的速度,由PID速度驱动器产生期望的电流;经电流环实现速度控制。同样,通过速度积分可以得到位置,由位置环驱动器产生期望的速度,再由速度环及电流环实现位置及力的控制。
在通信上,通常遵从串口、CAN/CANOpen、EtherCAT/COE协议。对于力控电机由于要实现多轴协调控制,需要根据机器人动力学过程实时地控制关节电机的电流;需要保证电流环的控制速度;通常需要EtherCAT总线(100Mbps),通常CAN总线(1Mbps)难以满足力控制机器人应用需求。具有EtherCAT总线的驱动器通常开放电流环,而CAN总线的驱动器通常不会开放电流环,主要因为CAN总线速率不够,易造成机电事故。
行星轮减速器由太阳轮、行星轮及行星架、外齿圈组成。因为齿圈固定,电机驱动输入端的太阳轮,行星轮及行星架绕太阳轮产生公转。
由于该减速器依赖齿轮的啮合传动,行星轮公转速度难以降低;减速比通常为3~10。传动效率达97~98%。精密行星轮减速器背隙可控制至1Rad Min。行星轮减速器由于结构上具有对称性,使得行星轮受力均匀。若需求大减速比,可以串接为多级行星轮减速器,通常 至多4级;在结构上通常呈圆柱形,空间利用率不高,效率大大衰减。同时,由于行星轮减速器啮合的齿数少,导致负载能力差。在机器人工程中,行星轮通常用于减速器第1级。
摆线针轮减速器(Cycloid reducer)由摆线齿轮、针齿及针齿套、转臂等构成。曲柄转一周,摆线齿轮走一齿;从而,实现具有大减速比的差动齿轮减速。由于硬齿面且多齿啮合,该减速器输出力矩较大,过载能力强,抗冲击。摆线针轮减速器同时具有传动效率高,体积小,重量轻,故障少,寿命长,运转平稳可靠、噪音小,拆装方便,容易维修,结构简单及力比特性好的优点。精密摆线针轮减速器精度通常可达1Rad Min或更高。
RV(Rotate Vector)传动是二级封闭行星轮系,第一级渐开线圆柱齿轮行星减速机构和第二级摆线针轮减速机构两部分组成。该减速器具有行星减速器及摆线针轮减速器的双重优点。目前,RV减速器是机器人减速器的主流减速器。
谐波减速器(Harmonic reducer)由刚轮、柔轮及波发生器组成。波发生器外部是椭圆形的椭轮;椭轮外齿数目比刚轮内齿数目少2个,即每半周少1个。输入轴通过轴承与波生器连接。当输入轴转动时,椭轮将力传递给柔轮,柔轮外齿与刚轮通过内齿啮合;输入轴转动半周,柔轮外齿相对刚轮内齿相对移动一个齿,实现齿轮差速传动。
单级谐波减速器的传动比达60~300或更大。齿轮齿副总数中有25~30%同时处于啮合,运动精度可达10~60Rad Sec。由于使用的材料要少50%,其体积及重量至少减少1/3,具有高精度、高承载力等优点。但由于柔轮外齿与刚轮内齿采用弹性啮合且需要有一定的预应力,故谐波减速器不抗冲击,力比特性差,可靠性也不及RV减速器。由于谐波减速器精度最高,在机器人关节中得到了广泛使用。
旋转变压器简称旋变(Resolver),通常由圆柱形的定子与转子组成;是一种输出电压与转子转角保持一定函数关系的感应式微电机。它是一种将角位置转换为电信号的传感器,也是能进行坐标换算和函数运算的解算元件。
XF称作旋变发送机,XB称作旋变变压器。旋变发送机发送一个与机械转角有关的、作一定函数关系变化的电气信号;旋变变压器接受这个信号、并产生和输出一个与双方机械转角之差有关的电气信号。伺服放大器接受旋变变压器的输出信号,作为伺服电动机的控制信号。经放大,驱动伺服电动机旋转,并带动接受方旋转变压器转轴l及其它相连的机构,直至达到和发送机方一致的角位置
Figure PCTCN2018112809-appb-000003
旋变发送机的初级,一般在转子上设有正交的两相绕组,其中一相作为励磁绕组,输入单相交流电压;另一相短接,以抵消交轴磁通,改善精度。次级也是正交的两相绕组。旋变变压器的初级一般在定子上,由正交的两相绕组组成;次级为单项绕组,没有正交绕组。
作为旋变发送机它的励磁绕组是由单相电压供电,电压可以写为以下形式:
Figure PCTCN2018112809-appb-000004
其中:
Figure PCTCN2018112809-appb-000005
—励磁电压的幅值,ω—励磁电压的角频率。励磁绕组的励磁电流产生的交变磁通,在次级输出绕组中感生出电动势。当转子转动时,由于励磁绕组和次级输出绕组的相对位置发生变化,因而次级输出绕组感生的电动势也发生变化。又由于次级输出的两相绕组在空间成正交的90°电角度,因而两相输出电压如下式:
Figure PCTCN2018112809-appb-000006
其中:u x—正弦相的输出电压,u y—余弦相的输出电压,
Figure PCTCN2018112809-appb-000007
—次级输出电压的幅值;
Figure PCTCN2018112809-appb-000008
—励磁方和次级输出方电压之间的相位角,
Figure PCTCN2018112809-appb-000009
—发送机转子的转角。
可以看出,励磁方和输出方的电压是同频率的,但存在着相位差。正弦相和余弦相在电的时间相位上是同相的,但幅值彼此随转角分别作正弦和余弦函数变化。通过一定的解算芯片和算法,就能将电机的转子角位置和转速计算出来。
旋变精度适中,通常可达3Rad Min,抗震性好,价格较低。但由于输出的是模拟信号,需要特定的旋变接口板。
光学绝对编码器由LED光源、棱镜、码盘(光栅盘)及光敏感器组成。光源经棱镜形成平行于光轴的平行光,投射至码盘。码盘是在不透明的基底上按格雷码制成透明的栅格;同时,也包含二进制的增量栅格。由于码盘与电动机同轴,电动机旋转时,码盘与电动机同速旋转,经发光二极管等电子元件组成的检测装置检测输出若干脉冲信号。光线通过码盘由光敏感器转换成电信号。通过光敏感器读取格雷码,并转换为绝对角度;连续读取二进制的增量栅格,可计算码盘转动的速度。
编码器码盘的材料有玻璃、金属、塑料;玻璃码盘是在玻璃上沉积很薄的刻线,其热稳定性好,精度高,易碎,成本高;金属码盘刻有光路通断的栅格,不易碎,但由于金属有一定的厚度,精度就有限制,易变形,其热稳定性就要比玻璃的差一个数量级;塑料码盘是经济型的,其成本低,不易碎及变形,但精度、热稳定性及寿命均要差一些。因此,光学绝对编码器的精度取决于码盘材料及光刻的精度。
高精度的光学绝对编码器精度可达1Rad Sec,比其它类型的绝对编码器精度要高很多。在电接口上,通常遵从SSI、EnDat、BiSS等协议。
无论是电机、减速器、绝对编码器,还是抱闸,共轴安装是一体化关节的基本保证;否 则,会导致结构的破坏。一组传感器及执行器具有共轴的特性称为共轴性(Coaxality);即共轴安装的两根轴等价为一根轴。
运动副(Kinematic pair)是机械系统的关节在运动学上的抽象。机器人运动分析是运动系统设计及控制的基础。从运动分析与综合的角度,将机器人运动系统视为由杆件与运动副组成的运动链(Kinematic chain/KC)。杆件代表与该杆件固结的空间。
请参照图1。图1为运动副的结构示范图。所述运动副是由第一杆件l 101与第二杆件
Figure PCTCN2018112809-appb-000010
102组成,形成具有相对运动的简单机构;這種简单机构使所述第一杆件l 101与所述第二杆件
Figure PCTCN2018112809-appb-000011
102具有确定的运动,是所述第一杆件l 101与所述第二杆件
Figure PCTCN2018112809-appb-000012
102间既直接接触又有相对运动的联接。运动副是既包含两杆件的相对运动,又包含两杆件相对运动的约束;称自由运动的维度为自由度(DOF),约束的维度为约束度(Degree of constraint/DOC)。
将运动副根向的构件称为定子;将运动副叶方向的构件称为动子。定子与动子是相对的。
记组成任一个运动副k的定子及动子分别为
Figure PCTCN2018112809-appb-000013
及l,记该运动副为
Figure PCTCN2018112809-appb-000014
表示连接杆件
Figure PCTCN2018112809-appb-000015
及l的运动副类或运动副簇。因运动副
Figure PCTCN2018112809-appb-000016
表示定子
Figure PCTCN2018112809-appb-000017
与动子l的连接,故它表示的是双向连接关系。将由
Figure PCTCN2018112809-appb-000018
至l且由l至
Figure PCTCN2018112809-appb-000019
的有序连接,称为全序的连接;将由
Figure PCTCN2018112809-appb-000020
至l或由l至
Figure PCTCN2018112809-appb-000021
的有序连接,称为偏序的连接;偏序及全序反映连接是否有存在方向。
请再度参照图1。图1所示的转动副在其运动轴(Motion axle)上有一个转动自由度,存在由三个平动约束轴(Constraint axes)及两个转动约束轴构成的约束度。
除了图1给出的一种转动副示范图,所述转动副还可以有多种可能的变化,包含棱柱副、螺旋副、圆柱副、球副、接触副、球销副等多种可能的结构。
请参照图2。图2为棱柱副的结构示范图。所述棱柱副由第一杆件l 201与第二杆件
Figure PCTCN2018112809-appb-000022
202组成,所述棱柱副在其运动轴上有一个平动自由度,存在两个平动约束轴及三个转动约束轴。
螺旋副在其运动轴上存在一个转动自由度,该轴转动时产生轴向位移。存在三个独立的平动约束轴及两个转动约束轴。圆柱副在其运动轴上具有一个平动自由度及一个转动自由度;存在两个平动约束轴及两个转动约束轴。球副存在三个转动轴,即具有三个转动自由度;具有三个平动约束轴。接触副有且仅有一个理想的接触点,仅存在三个轴向转动及两个轴向平动;存在一个轴向的单边平动约束。单边约束意即轴的一个方向受约束;对应于默认的双边约束,意即轴的两个方向均受约束。球销副存在两个独立的转动轴,即具有两个转动自由度;存在三个平动约束轴及一个转动约束轴。
根据运动副所引入的约束度分类:把有且有一个约束度的运动副称为I级副;把有且有两个约束度的运动副称为Ⅱ级副,依此类推。
运动副的两构件直接接触构成接触点、接触线或接触面。构件与构件之间为面接触的运动副称为低副,其接触部分的压强较低;构件与构件之间为点、线接触的运动副称为高副,其接触部分的压强较高。
请参照图3。图3为系统内运动副的标识符、所属类型及简图比较图。常见的运动副类型有球面副301、球销副302、圆柱副303、螺旋副304、棱柱副305与转动副306。
除图3给出的机器人系统内的运动副,图4补充了三个系统外运动副。请参照图4。其中,轮地(wheel-terrain)接触运动副O 401是地面/无限小平面与轮接触点位置约束的运动副。对于自然环境下轮式机器人而言,轮地间不同接触位置对应不同的接触副,因为轮地接触点位置及接触面法向不同。固结副描述底座固定安装的机器人与环境间的关系,该大地符亦可表示空间机器人安装的飞行器本体。系统外运动副对于移动机器人运动分析具有重要的作用。
请参照图5。图5为基本结构简记符比较图。图5中,增加了惯性中心(Inertial center)符I,因为质心是空间机器人动力学建模的基本物理属性,离开杆件质心,谈杆件的动能、动量等物理量毫无意义。因此,杆件质心是机器人机械简图的基本要素。大地或惯性空间(Inertial Space)标识符记为i。由后续章节可知,惯性中心I与惯性空间i构成自然的回路或闭链。
从运动学及动力学分析的角度,将运动副划分为两大类:
R/P副,即转动副或棱柱副;它们是构成其它复合运动的基本运动副,任何复合副都可以用一定数量的R/P来等价,且它们的运动轴是相互独立的。有的R/P副能够输出动力,是执行器的输出副;例如:旋转电机及减速器的输出轴等价于R;直线电机的输出轴等价于P副;虚副V等价于三轴的R副及三轴的P副。棱柱副或转动副的约束轴约束了线位置及角位置,称其为完整约束;由初始时刻至任一时刻的位形是确定的,可积的。因简单运动副是由两个共轴线的轴构成,且任一轴与一个杆件固结;故在运动关系上轴与杆件等价,即轴与杆件可混用。
O副,即接触副;理想的轮地接触可视为接触副。由于该约束副仅约束了关节速度而不是位形;由于存在相对滑动,由初始时刻至任一时刻的位形是不确定的,不可积的;该约束副为非完整约束副。
由上可知,基本的运动副R及P、螺旋副H、接触副O可以视为圆柱副C的特例;同时,运动副R及P可以组合为其它复合运动副。故将圆柱副用于运动副的通用模型。简单运动副即R或P的定子与转子具有共轴性,分别与不同杆件固结,杆件间的运动本质上运动轴间的 相对运动。因此,在运动学上,圆柱副C是运动副的基元,具有完备性。。
称至少两个简单运动副按一定次序连接构成的运动机构(Kinematic Linkage)为运动链(KC);运动链是运动机构在运动学层次的抽象。简单运动副是构成运动链的基本单位,称之为链节(Chaining Pair)。表达运动链的拓扑关系及度量关系是运动链分析的基本前提。
约束副是两个关节间所受的约束在运动学上的抽象。常以
Figure PCTCN2018112809-appb-000023
表示约束副。
在简单运动副内部,除了运动轴(Motion axis)的自由度之外,也存在轴向的约束。运动副的运动轴数即自由度,约束轴数即约束度是运动副自身的属性。运动副内部的约束轴仅约束轴方向的运动,不构成约束副,即运动副与约束副、约束轴是不同的概念。
与运动副的理论抽象一样,需要确定约束副的基元,以简化运动学分析。因为通过运动副可以描述所有的空间运动,因此可以通过约束不同运动轴的相对位置或速度来描述所有空间的约束;所以,不同运动副轴间的相对位置或速度约束是约束副的基元,具有运动学上的完备性。在理论上,将约束副区分为完整约束及非完整约束,双边约束及单边约束。
位置约束是指两约束轴上的点的相对线位置或两轴相对转动角度受控的约束。速度约束是指两约束轴上点的相对线速度或两轴相对转动的角速度受控的约束。完整约束是指相对速度可积的约束,位置约束必为完整约束;若相对速度不可积,则为非完整约束。双边约束是指运动轴两个方向都受控的约束;而单边约束是指运动轴单个方向受控的约束。
通过以上运动副及约束副分析可知:由运动轴、约束轴及测量轴是运动系统的基元。关节及测量单元的自然轴是空间运动的自然参考轴,又称为空间参考轴(Spacial axis),具有以下基本属性:
(1)共轴性及方向性是执行器及传感器参考的基本属性:一方面,控制量及检测量是对特定轴向(Axial direction)而言的;另一方面,关节的一个自由度对应于一个独立的运动轴。因此,在连接及运动关系上,轴是关节的基本单位,也是构成多体系统的基本单位。更重要的是:控制量及检测量是共轴线的两轴间相对的运动量(Kinematic Quantities);要么是轴向的平动(Axial Translation),要么是轴向的转动(Axial Rotation)。否则,在物理上是不可控的,也是不可测的;可控及可测的运动量在结构上必须存在相应的轴向连接。
极性是执行器及传感器的另一个基本属性:关节角位置或线位置是具有正负的标量;通常,遵从右手法则(Right-hand Rule)时,为正;遵从左手法则时,为负。
(2)零参考是执行器及传感器参考的又一基本属性:传感器与减速器的共轴连接具有机械零位;相应地,电机驱动器通常具有电子零位。空间参考关系是运动副及杆件运动的基础。零位本质上是转动的径向参考轴。
(3)轴位置空间的三个维度是轴实体的客观属性:对于由可数个运动副连接而成的机械系统,忽视全部与距离及角度表示的度量,仅从拓扑关系上看,就是一个轴与轴的连接的系统。从度量的角度上看,一个连续的三维空间与一个抽象的三维轴空间一一映射;轴的位置及方向自然由相应的度量系统表征。因此,无论是线型的轴,还是弯曲的轴,在拓扑上,只要是连续的一个体,就表示是一个轴。
运动副
Figure PCTCN2018112809-appb-000024
的共轴性、极性与零位表明:(1)杆件与轴具有一一对应性;(2)轴间的属性量
Figure PCTCN2018112809-appb-000025
及杆件间的属性量
Figure PCTCN2018112809-appb-000026
具有偏序性;(3)轴间的属性量
Figure PCTCN2018112809-appb-000027
具有共轴安装的直接可检测性;(4)因杆件的结构参量在工程上直接可以测量,故杆件间的属性量
Figure PCTCN2018112809-appb-000028
本质上也具有直接可检测性。(5)运动学及动力学需要适应多轴系统的拓扑结构、结构参数、参考系及极性的参数化需求,才能保证理论系统及软件系统的易用性与可靠性。
机器人拓扑系统(Topological System)是指忽略杆件的尺寸、仅考虑运动副及杆件相互连接构成的系统;同一类拓扑系统具有相同类型的连接关系;当杆件尺寸连续变化时,拓扑关系或结构保持不变。按拓扑关系将机器人运动链分为:串链、树链及闭链三种类型。
串链类型:请同时参照图6a、图6b、图6c。图6a为柱面机械臂示范图。图6b为球面机械臂示范图。图6c为回转机械臂示范图。
图6a中,所述柱面机械臂包含机底座601、回转6R机械臂本体与拾取器(Gripper)。所述回转6R机械臂本体主要由第一杆件及转动副 0R 1 602、第二杆件及转动副 1R 2 603、第三杆件及转动副 2R 3 604组成。所述拾取器由第一拾取器杆件及转动副 3R 4 605、第二拾取器杆件及转动副 4R 5 606、第三拾取器杆件及转动副 5R 6 607组成。显然,R是转动副的标识符,左上标及右下标分别指明了与该转动副的定子与动子固结的杆件编号,表明了运动副连接的拓扑关系。
图6b中,所述球面机械臂包含底座6011、回转6R机械臂本体与拾取器。所述回转6R机械臂本体主要由第一杆件及转动副 0R 1 6021、第二杆件及转动副 1R 2 6031、第三杆件及转动副 2R 3 6041组成。所述拾取器由第一拾取器杆件及转动副 3R 4 6051、第二拾取器杆件及转动副 4R 5 6061、第三拾取器杆件及转动副 5R 6 6071组成。
图6c中,所述回转机械臂包含底座60111、回转6R机械臂本体与拾取器。所述回转6R机械臂本体主要由第一杆件及转动副 0R 1 60211、第二杆件及转动副 1R 2 60311、第三杆件及转动副 2R 3 60411组成。所述拾取器由第一拾取器杆件及转动副 3R 4 60511、第二拾取器杆 件及转动副 4R 5 60611、第三拾取器杆件及转动副 5R 6 60711组成。
所述柱面机械臂、所述球面机械臂除了转动副外还有棱柱副。其中,所述拾取器三个转动副轴共交于一点,称之为腕心。将拾取器拾取物体时期望位置称为拾取点(Pick Points);拾取点总是位于以腕心为球心的球面上。故控制这样的机械臂拾取物体时,可分为三个步骤:首先,由拾取器相对世界的期望姿态计算三轴姿态;然后,根据期望姿态及球面半径,计算期望的腕心位置;最后,根据期望的腕心(Wrist Center)位置,确定三轴角度。将这种位置控制与姿态控制独立进行的机械臂称为解耦机械臂。对于柱面机械臂,腕心位于机械臂工作空间的柱面上;对于球面机械臂,腕心位于机械臂工作空间的球面上。
机械臂杆件通过运动的连接确定了一个简单运动链,称之为单链或链。该链是有序的杆件集合。记为[0,1,2,3,4,5,6],其中7个序号表示7个杆件,两相邻杆件通过运动副相连接。
树链类型:CE3巡视器(Rover)移动系统是六轮独立驱动的摇臂系统,由摇臂机构、四个舵机、六个驱动轮组成。
摇臂机构由右主臂/摇臂(Rocker)、左主臂/摇臂、右副臂(Bogie)、左副臂、差速机构组成。右主臂、左主臂分别与差速机构右轴及左轴固结。左副臂及右副臂分别通过转动副与左主臂及右主臂连接。左前及右前方向机构分别通过转动副与左主臂及右主臂连接;左后及右后方向机构分别与左副臂及右副臂通过转动副连接。通过主臂与副臂的摇动、差速机构的差速作用,保证车体悬挂于左、右主臂的角平分面上。故将该结构称为摇臂悬架,左右对称的部分分别称为左悬架与右悬架。摇臂机构是一个树形结构,称之为树形运动链或树链(Tree-Typed KC)。
请参照图7。图7為摇臂式六轮机器人的轮系差速机构结构简图。右主臂701、左主臂702分别与差速机构703的差速机构右轴704及差速机构左轴705固结。所述差速机构右轴704带动右斜齿轮706转动,所述差速机构左轴705带动左斜齿轮707转动,驱动与壳体710固结的前斜齿轮708、后斜齿轮709绕主臂轴实现差速转动;保证车箱底板711位于右主臂701与左主臂702的角平分线上。
请参照图8。图8为摇臂式六轮机器人的杆系差速机构结构简图。左主臂801与左差动臂803固结、右主臂802与右差动臂804固结。左差动臂803通过两个球副及左差动连杆与平均连杆连接。同样,右差动臂通过两个球副及右差动连杆与平均连杆连接。左主臂801及右主臂802分别通过转动副与横轴805连接。因此,当左主臂801与右主臂802运动时,横轴805与平均连杆在同一平面内,且该平面是左主臂801及右主臂802的角平分面。左主臂801与右主臂802分别通过转动副与左副臂806及右副臂807连接。
图7与图8所示的移动系统是一个具有回路的闭链;差速器等价为具有约束的两个转动副,该约束使这两个转动副构成了回路。但因该系统的主要拓扑结构是树形结构,故习惯上称其为树链结构。
闭链类型:请参照图9。图9为闭链类型机器人示范图。该机器人由6个移动副901、12个球副902、14个杆件903组成。通过运动副连接的杆件903构成回路。它是一个带回路的结构,称为并联运动链(Parallel KC)或闭链(Closed-loop KC)。闭链总可分解为树链。
由上可知,单链是树链的特殊情形,闭链可以分解为若干个树链;分析树链机器人的运动学及动力学具有非常重要的意义。树链拓扑是树链机器人最基本的结构约束,在机器人运动学分析、动力学分析及情景演算中,机器人拓扑关系是最基本约束条件。
为方便机器人运动学及动力学分析,在绘制结构简图时需要约定组成机器人运动系统的标识符及缩略标识符。
c―Chassis/车箱;i―Inertial Space/惯性空间(或导航系);
rr―Right Rocker/右主臂(副臂);rb―Right Bogie/右副臂;
lr―Left Rocker/左主臂(副臂);lb―Left Bogie/左副臂;
rfd―Right Front Direction/右前方向机;rrd―Right Rear Direction/右后方向机;
lfd―Left Front Direction/左前方向机;lrd―Left Rear Direction/左后方向机;
rfw―Right Front Wheel/右前轮;lfw―Left Front Wheel/左前轮;
rmw―Right Middle Wheel/右中轮;lmw―Left Middle Wheel/左中轮;
rrw―Right Rear Wheel/右后轮;lrw―Left Rear Wheel/左后轮;
rfc―Right Front Wheel-Earth Contractor/右前轮地接触点;
lfc―Left Front Wheel-Earth Contractor/左前轮地接触点;
rmc―Right Middle Wheel-Earth Contractor/右中轮地接触点;
lmc―Left Middle Wheel-Earth Contractor/左中轮地接触点;
rrc―Right Rear Wheel-Earth Contractor/右后轮地接触点;
lrc―Left Rear Wheel-Earth Contractor/左后轮地接触点;
根据机器人结构关系,应用图3至系统外运动副对于移动机器人运动分析具有重要的作用。
给定一个由运动副连接的具有闭链的结构简图,可以选定回路中任一个运动副,将组成该运动副的定子与动子分割开来;从而,获得一个无回路的树型结构,称之为Span树,亦称为生成树。称被分割的支路为非树弧(Non-tree arcs)或弦。Span树是对应图的支撑集。
机器人运动学与动力学依赖于机器人拓扑,拓扑关系即连接关系作用:反映杆件间的连接关系,反映杆件间运动量的参考关系,也反映杆件间运动量的作用关系。偏序(Partial ordering)即单向连接关系是全序(Full ordering)即双向连接的基础。
公理1.1:树型轴链(Tree-typed Axis-chain/AC)以偏序为核心,描述树型运动系统的三大基本事实:
事实1:当根向部件运动时,必然带动叶向的部件运动;即根部件的位置、速度及加速度由根向叶传递并叠加;表明运动具有由根至叶的偏序关系。简称为运动的前向(正向)链迭代(Motion Iteration of Forward Chaining)。
事实2:当叶向部件受外部作用力时,必然引起根向的杆件的力等效作用;即叶部件的力由叶向根传递并叠加;即表明力作用具有由叶至根的偏序关系。简称为力的反向(逆向)链迭代(Force Iteration of Backward Chaining)。
事实3:为了表征机器人运动学及动力学的行为过程,需要建立运动学及动力学度量的参考关系;该参考关系既包含作用过程的次序关系,又包含测量量与控制量的坐标参考关系。有向Span树为机器人运动学及动力学过程提供了拓扑次序参考基准。简称为拓扑与度量的链序参考(Chaining Reference of Topologies and Metrics)。
上述树型轴链(Tree-typed Axis-chain/AC)公理的三大基本事实是多轴系统运动学及动力学理论的基础,是后续运动链拓扑公理及度量公理的基石。因此,需要建立有向Span树,以描述树链运动的拓扑关系。
上述的偏序性是多轴系统(Multi-axis System/MAS)的基本特征,将贯穿本书的运动学及动力学的各个章节。通过对树中的节点进行编号,将Span树表述为偏序的拓扑系统。给定一个Span树,按如下流程对各节点进行编号:
【1】选取任一节点作为根,根编号为0;
【2】由根至叶选取任一支路l,令l=1,依次向叶编号至k l;
【3】若存在未编号的节点,则选取任一剩余的支路l+1,将该支路的根编号为k l+1,依次向叶编号至k l+1;否则,结束编号。
至此,任一节点l或杆件Ω l及轴A l具有了唯一的编号;依编号将杆件缩略名记为运动轴序列A。运动轴序列简称为轴序列(Axis Sequence/AS)。有向Span树具有以下基本性质:
【1】除根之外,任一节点或杆件均具有唯一的父节点或杆件;故连接杆件
Figure PCTCN2018112809-appb-000029
及杆件Ω l的运动副
Figure PCTCN2018112809-appb-000030
与杆件Ω l一一映射;若所有运动副仅有一个运动轴(复合运动副由数个简单运 动副串接等价),则运动副
Figure PCTCN2018112809-appb-000031
杆件Ω l及第l个运动轴A [l]两两之间一一映射。
【2】由一个根向节点至一个叶向节点的路径是唯一的。
【3】由根向节点至叶节点方向定义为前向或正向,反之为反向或逆向。
【4】由N+1个杆件构成的有向Span树,其N个杆件或运动轴与自然数(Natural Number)集(0,1,…,N]一一映射;故一个有向Span树的拓扑关系与一个自然数集的拓扑关系等价。
【5】
Figure PCTCN2018112809-appb-000032
表示l的父,且有偏序关系
Figure PCTCN2018112809-appb-000033
即叶向杆件的序总大于其根向杆件的序。
因杆件缩略名是唯一的,任一杆件有唯一的编号,杆件缩略名的次序由其对应编号的次序确定。相应地,杆件的结构参数及运动参数的标识号与该杆件编号一一映射。
有向Span树反映的是机器人拓扑关系。机器人行为不仅与机器人拓扑相关,而且与机器人运动学及动力学过程密切相关;需要应用拓扑空间及矢量空间的数学理论,分析机器人的运动学及动力学过程。因偏序集合是与自然数一一映射的集合,是现代集合论研究的重要内容;因此,首先需要了解现代集合论的数学基础知识;以之为基础,再进一步研究多轴系统运动学及动力学理论及工程问题。
以下通过公理化集合论的有益借鉴,提出运动链基础技术符号,明确多轴系统运动学及动力学研究的思路与目标。首先,简述现代集合论的基础,阐明偏序、链等基本概念;从而,提出运动链基础技术符号。然后,简述矢量空间基本概念;从而,确定建立以动作为核心的、基于代数几何的、拓扑符号参与显式建模的运动链符号演算系统的研究目标。
任一门类的数学都是研究特定数学空间的理论。数学空间包含两个方面:
(1)空间成员的形式化(Formalization)及空间成员关系的形式化。空间是一个集合,习惯上将集合成员统称为点,可能是真实世界空间点,亦可能是抽象的数学空间点;将空间点服从的基本运算关系称为空间结构(Spacial Structures)。比如,矢量空间具有代数乘、矢量和的可加性结构。空间的形式化就是如何正确地表示空间中的点及空间点的基本关系;
(2)空间关系的演算,即如何依据空间点的结构揭示同类空间内在规律与关系。
策梅洛(Zermelo)和弗伦克尔(Fraenkel)等提出了ZF集合论的公理化系统,以之为基础提出了ZFC公理系统。已经证明,公理化的数学理论就是ZFC集合论的公理系统。数学理论是研究一切自然科学的基础,对于机器人运动链符号系统也不例外。现代集合论统一了不同门类的数学。任一门类的数学是一个与其研究对象同构的数学符号系统。
若两个数学空间之间存在一一映射,那么这两个空间被叫做同构空间。同构也是基本的哲学思想。一个符号系统要与被研究系统等价,就需要保证符号系统与被研究系统的同构,从而,符号系统的演算才能与被研究系统的演化过程等价,即符号推理的分析过程才能反映 被研究对象的演化规律。同构反映的是规律的客观性。不以同构思想为基础,探究被研究对象及对应的符号系统规律,极易产生符号演算的错误。
经常应用一个熟知的数学空间,研究与该空间同构的另一个空间的运动;同构不仅是数学研究的基础,也是计算机软件、电子技术等实现的基础。
以现代集合论为基础,在同构哲学观点下,建立运动链符号演算系统,将运动链拓扑系统及运动链度量系统统一起来,构建机器人多轴系统建模与控制的统一理论框架。
集合论基础
集合是具有某种属性对象的总和;这些对象称为集合的元素或点。集合成员也可能是集合;但一个集合不可能是其自身的成员;这是系统层次可分的反映。
习惯上,数域(集合)表示为:自然数
Figure PCTCN2018112809-appb-000034
整数
Figure PCTCN2018112809-appb-000035
实数
Figure PCTCN2018112809-appb-000036
复数
Figure PCTCN2018112809-appb-000037
其中:
Figure PCTCN2018112809-appb-000038
任意一个集合I={i 0,i 1,…,i n,…}的成员具有唯一性,即i k≠i j,其中
Figure PCTCN2018112809-appb-000039
空集:不含任何元素的集合,用符号
Figure PCTCN2018112809-appb-000040
表示;空集是任何集合的成员。
集合论是研究集合的数学理论,包含集合、元素和成员关系等基本数学概念。在现代数学中,集合论和一阶谓词逻辑共同构成了数学的公理化基础,以未定义的“集合”与“集合成员”等术语来形式化地建构不同门类的数学空间;从而,以现代集合论统一了所有门类的数学理论。任一数学门类均是现代集合论的一个实例化。
现代集合论与运动链符号演算
公理化集合论是建立数学符号系统的基础系统。它由公理化集合论符号系统内部原子、一阶谓词/判断、函子/函数组成。以之为基础,增加应用域的原子及谓词,可以建立相应的应用符号系统。故将公理化集合论符号系统简称为元系统(Meta-system)。
原子符:指被研究系统的基本对象符(Object Symbols)、对象的主属性符(Major Property Symbols)及子属性符(Minor Property Symbols)。例如:电阻R 1、电容C 2、能量E、动作A 1等。任一系统总是可分的、总是有结构的。被研究系统的原子符与该系统的研究层次是相对应的。
由原子集合成员构成新的对象符及属性符,称为复合对象符及复合属性符。它们是被研究对象的基本存在,故将原子符、复合对象符、复合属性符统称为原子符。
谓词符:表示被研究系统中明确的判断符号,即要么成立要么不成立;它由谓词关系符及数个占位符构成,形如P(□,…)。其中:P是谓词关系符,()是界定符,□,…表示数个占位符。谓词表示一个明确的判断。
函子符:表示被研究系统的函数关系,它是由函数关系符及数个占位符构成,形如f(□,…)。其中:f是谓词关系符号,()是界定符,□,…表示数个占位符。函子表示的是一个函数关系;与谓词不同,它不是一个二值判断。
原子符与被研究系统的对象或属性存在一一映射关系;谓词符及函子符与被研究系统的对象或属性的作用关系存在一一映射。谓词判断及函子运算统称为系统的属性操作,简称为操作。由原子符及属性操作符构成的符号演算系统与被研究系统存在一一映射的关系,即符号系统与被研究系统是等价的;通过自然的(Natural)及结构化的(Structural)符号语言(Symbolic Language)描述自然的系统,才能反映被研究对象的运动过程。将谓词判断及函子运算的符号统称为属性操作符,包含连续的度量关系符及连接的拓扑关系符。
集合论常用的基本原子符包含:
【1】
Figure PCTCN2018112809-appb-000041
表示存在空集;
【2】I表示全集;
【3】[]表示有序的集合、序列或矩阵;例如:[x,y,z]。
【4】{}表示集合标识符;例如:{x,y,z},它的成员不分次序。
【5】,表示元素/项的分隔符;
【6】()仅当左边存在谓词时表示符号作用域的界定符;例如:P(x,y,z)。
【7】□表示属性占位符;例如:P(□,□,□)。
【8】□,…表示任意个数占位符;例如:P(□,…)。
集合论常用的基本一阶谓词/关系符号如下:
【1】
Figure PCTCN2018112809-appb-000042
表示存在;
Figure PCTCN2018112809-appb-000043
表示唯一存在;例如:
Figure PCTCN2018112809-appb-000044
【2】
Figure PCTCN2018112809-appb-000045
表示任意;例如:
Figure PCTCN2018112809-appb-000046
【3】=表示相等;例如:x=y。
【4】∈表示包含;例如:a∈b。
【5】∧表示且关系;∨表示或关系;
Figure PCTCN2018112809-appb-000047
表示反关系;例如:∧x,∨x,
Figure PCTCN2018112809-appb-000048
【6】
Figure PCTCN2018112809-appb-000049
表示能够推得/蕴含;例如:
Figure PCTCN2018112809-appb-000050
【7】
Figure PCTCN2018112809-appb-000051
表示双向推得/蕴含,例如:
Figure PCTCN2018112809-appb-000052
【8】:=表示赋值操作;例如:u:=b。
【9】∪表示集合合取操作;例如:∪C={x|x∈s,s∈C}=∪{s|s∈C},A∪B={x|x∈A∨x∈B}。
【10】∩表示集合析取操作;例如:A∩B={x|x∈A∧x∈B}。
【11】-表示集合减操作;例如:
Figure PCTCN2018112809-appb-000053
【12】→表示多对一映射或映射;例如:A→B
【13】
Figure PCTCN2018112809-appb-000054
表示一一映射;例如:
Figure PCTCN2018112809-appb-000055
【14】(□,…);其左侧除分隔符外无其它符号时表示无名谓词,仅当括号中各项为真时,该无名谓词输出为真。
【15】·表示点乘或点积;×表示叉乘或叉积;*表示复数积;·表示代数积;
因为集合中的成员也是集合,集合及成员可用大写或小写字母表示。
Figure PCTCN2018112809-appb-000056
符右侧字母表示变量;谓词P(□,…)表示的是规律,仅当谓词P为真时的输出才能构成其值域的成员。由谓词表达式表示的是判断,两个匹配的谓词表达式是一个肯定的判断。为书写方便,一元及二元谓词有左操作及右操作的表示形式,是P(□,…)的变体,例如:x=y表示相等操作,
Figure PCTCN2018112809-appb-000057
表示取反操作。
以元系统为基础,定义新的操作,可以构成新的符号系统。元系统是ZF公理系统的基础。
元系统由原子组成;原子是元系统组成单位,以最少的原子、函子及谓词构成复杂的理论系统,才能保证理论的简洁性。数学元系统为不同门类数学分支提供了统一的语言与逻辑操作。
ZF中唯一的对象是集合,集合中的成员是集合,集合任一组成员也是集合。ZF公理是现代集合论的基石。下面几个公理的集合表示有点晦涩,可以忽略它们,不防碍后续的阅读。
外延公理(Axiom of extensionality):集合x的任一成员z是集合y的成员,且集合y的任一成员z是集合x的成员。简言之:若两集合成员相等,则两集合相等;即有
Figure PCTCN2018112809-appb-000058
正则公理/基础公理(Axiom of regularity/axiom of foundation):对任一非空集合x存在一个成员y,使x∩y为空集;即有
Figure PCTCN2018112809-appb-000059
简言之:任一非空集合中存在一个成员与该集合无交集。这样的集合称为良基集。
例如,不允许出现x属于x的情况。显然,
Figure PCTCN2018112809-appb-000060
不是良基集。
空集存在公理(Axiom of empty set):即存在一个集合
Figure PCTCN2018112809-appb-000061
它没有任何元素。
配对公理(Axiom of pairing):任给两集合x及y,存在另一个集合z={x,y};即有
Figure PCTCN2018112809-appb-000062
简言之:任何集合与其它集合可组合成新的集合。
并集公理(Axiom of union):将任一集合C的任一组成员Y合并为一个集合A。
Figure PCTCN2018112809-appb-000063
简言之:任一集合的成员组是可归并的。
幂集公理(Axiom of power set):任一集合x的所有子集构成一新的集合y;即
Figure PCTCN2018112809-appb-000064
简言之:对任一集合成员集合分解,直至所有成员集合为空集,得到的所有集合称为幂集。
如果|x|=n,则|Power(x)|=2 n。故任一集合是可划分的。
无穷公理(Axiom of infinity):存在一个集合x,空集是其元素,且任意元素y∪{y}也是其元素;即有
Figure PCTCN2018112809-appb-000065
简言之:对无穷集合而言,一定存在包含该集合的集合。
根据皮亚诺公理系统对自然数的描述,存在一个包含所有自然数的集合。
关于分离公理模式、替换公理模式、AC选择公理请参阅文献。对不同集合引入一定的基本运算,形成一个特定的数学门类。
现代集合论意义在于:在元系统层次上,证明了当今不同数学门类的关系,也说明了不同门类的科学是可以通过现代集合论的符号系统来得到统一;从而,真正地实现不同学科的交叉。为多轴系统建模与控制理论的元系统,首先需要建立基本的集合表示方法:
【1】在集合论中,||表示有限集合的基数,即元素的个数,数乘·表示排列。例如:
Figure PCTCN2018112809-appb-000066
但有
Figure PCTCN2018112809-appb-000067
即有2·3=3·2。但二者的含义不同。代数乘是矩阵乘的特殊形式。符号重载即依赖于运算对象完成的计算功能不同是非常普遍及必要的。因此,符号运算需要根据属性量进行定义。
【2】无次序的集合即组合总可以通过有序的组合表示,组合是排列的特殊形式,排列是存在的一般形式。李的三个儿子a,b,c表达为Li′s sons=[a,b,c],[a,b,c]是有序的集合即向量,它是{a,b,c}的一个实例。因此,在本书后续部分,[]表示有序的集合;{}表示无序的集合。
【3】集合名称表示一类特定的集合;例如,在李的三个儿子Li′s sons=[a,b,c]中,集合名称Li′s sons是有结构的关系,而[a,b,c]是[□,□,□]的一个实例而已。结构化的名称具有清晰的内涵,是属性量表达的基本形式。在定义集合成员后,成员的关系均应表现为操作或作 用关系,而函子表示成员间的映射关系;以谓词表征的动作或操作有助于理解符号的物理内涵。
现代集合论是一个严谨的公理化理论体系,而目前的机器人运动学与动力学理论不是一个严谨的公理化体系,存在多种理论分支,需要将已证实的理论统一起来,才能构建包含最少属性符及最少操作的理论系统。
目前,力学理论不是一个具有最少属性符及操作的公理化系统。比如,平动速度用v表示,而平动加速度用a表示,速度v对时间t求导用v′表示;经常将力表示为
Figure PCTCN2018112809-appb-000068
这些表示存在歧义:比如,
Figure PCTCN2018112809-appb-000069
既不知道该力的作用点,也不知道力的施力点,不适应计算机处理的需求。这些非结构化的符号代表的属性需要通过注释才能理解,难以适应高自由度的机器人运动学及动力学分析的需求。
通过一阶谓词表征作用关系,不仅具有可读性,而且无歧义;例如,谓词fetch(A,B)表示A取回B;同样,作为多轴系统建模与控制理论的元系统,也将所有的对象视为集合,也需要建立公理化的理论体系。因为多轴系统建模与控制理论是针对机器人工程或机械电子工程的,是具有明确应用背景的学科,其任何属性及属性间的关系是精确的、明晰的;所有的关系具有谓词或函子的结构。比如,定义
Figure PCTCN2018112809-appb-000070
表示连接杆件
Figure PCTCN2018112809-appb-000071
及杆件l的运动副,这是谓词的表达形式。
在运动链符号演算系统中,系统属性变量及常量均采用简洁的、物理意义清晰的名称,它们均通过有序排列的集合即矩阵表示;正体的名称表示常量,斜体的名称表示关于时间t的变量。建立以运动链公理为核心的运动链符号演算系统为多轴系统建模与控制理论提供元系统。
由上可知,计算机语言是对现代集合论符号语言的有益补充,符号系统直接转化为计算机伪代码是解决系统工程实现的一个重要方面。
偏序集及皮亚诺的自然数集
由前述的基本事实可知:偏序是机器人系统的基本属性,链理论正是偏序的理论抽象。
链(Chain)是具有偏序的集合。它是现代集合论的重要研究内容。因为现代集合论的链理论是包含运动链的客观世界普遍遵循的基本规律。以之为基础,可以在拓扑层次上来指导运动链的理论分析。
设a为集合,称a∪{a}为a的后继(Successor),记为a+或S(a)。a的后继即为与a最邻近的且≥a的元素。
设A是集合,若A满足下列条件,称A为归纳集:
(1)
Figure PCTCN2018112809-appb-000072
(2)
Figure PCTCN2018112809-appb-000073
自然数集合
Figure PCTCN2018112809-appb-000074
是所有归纳集的并集。因为:记
Figure PCTCN2018112809-appb-000075
记
Figure PCTCN2018112809-appb-000076
记
Figure PCTCN2018112809-appb-000077
记
Figure PCTCN2018112809-appb-000078
Figure PCTCN2018112809-appb-000079
归纳可证之。
故有,皮亚诺的自然数公理:零是自然数;每个自然数都有一个后继;零不是任何自然数的后继;不同的自然数有不同的后继。设由自然数组成的某个集合含有零,且每当该集合含有某个自然数时,则同时含有这个数的后继,那么该集合包含有全部自然数。
自然数集
Figure PCTCN2018112809-appb-000080
是一个0生1、1生2、2生3的如此往复的归纳过程。
自然数集
Figure PCTCN2018112809-appb-000081
又称为核(Null),
Figure PCTCN2018112809-appb-000082
是原子符,表示空;
Figure PCTCN2018112809-appb-000083
表示空位的内容,表示一个可以占有1个空位的对象;
Figure PCTCN2018112809-appb-000084
表示占有2个空位的对象;等等。因此,自然数是自然实体位置的一一映射。自然数集具有:传递性,a∈a +;正序关系,a<a +;
给定集合X,称集合X至集合X×X的子集R的映射为关系R。如果(a,b)∈R,则记为 aR b。因此,集合X的关系R是X×X的子集。
若a,b∈X,
Figure PCTCN2018112809-appb-000085
表示a中至少存在一个元素小于b中的元素。序运算符通常表示为≤、<、
Figure PCTCN2018112809-appb-000086
[2]。当然,这里的小于的标准可以是不同的,既可以是任何形式的泛数,又可以是其它的约定。
传递性(Transitive):若
Figure PCTCN2018112809-appb-000087
aR b且 bR c;则有 aR c。
自反性(Reflexive):若
Figure PCTCN2018112809-appb-000088
则有 aR a。
反对称性(Anti-symmetric):若
Figure PCTCN2018112809-appb-000089
aR b且 bR a;则有a=b。
对称性(Symmetric):若
Figure PCTCN2018112809-appb-000090
aR b,则有 bR a;反之亦然。
偏序集:集合X的序运算≤具有传递性、自反性及反对称性,称(X,≤)为偏序集(Partially Set)。
将序运算≤及其传递性、自反性及反对称性统称为链序关系(Chaining order relations)。
链:对于集合A,
Figure PCTCN2018112809-appb-000091
若k≤i或k>i;则(A,≤)为线性序集,称之为链。简言之,链就是有序的集合。在本书中,将运动链之外的其它有序集合称为序列(Sequence)。
显然,连续的区间是偏序集合,是具有无限多个成员的链,通常以区间符表示之。即有:{x∈L|k<x<i}=(k,i);{x∈X|k≤x<i}=[k,i);{x∈X|k<x≤i}=(k,i];{x∈X|k≤x≤i}=[k,i]。
例如:偏序集合[1,2,3]是一个链。若集合{x,y,z},其成员满足x<y且y<z;则偏序 集合[x,y,z]是一个链。显然,矢量及矩阵的成员是有序的排列,在以排列序号作为排序的准则时,矢量及矩阵也是链。链是数学研究的基本对象,是自然存在的基本形式之一。
对于自然数集合
Figure PCTCN2018112809-appb-000092
若
Figure PCTCN2018112809-appb-000093
则有i<i +。自然数集合
Figure PCTCN2018112809-appb-000094
具有传递性;若i<i +,且i +<k,则i<k。故自然数集合
Figure PCTCN2018112809-appb-000095
是一个链。
给定集合X,且有一一映射f:X→Y,则有
Figure PCTCN2018112809-appb-000096
称两集合是同构的。
同构链:对于一个链X及像链Y,函数f:X→Y;若
Figure PCTCN2018112809-appb-000097
有f(a)≤f(b),则称链X及像链Y互为同构链;并记为
Figure PCTCN2018112809-appb-000098
在现实世界中,链关系是最基本的关系。例如:代数乘“·”具有拓扑关系运算;集合A={a 1,a 2}与集合B={b 1,b 2,b 3}进行排列得到二维集合A·B={a 1·b 1,a 1·b 2,a 1·b 3,a 2·b 1,a 2·b 2,a 2·b 3};其基数即成员的个数记为|A·B|=6;即有2·3=6。本质上表示一个排列a 1·b 1表示a 1与b 1有序的拓扑即连接关系。因为代数乘运算是链的基本运算,所以链关系自然是不同学科的基本关系。
以ZFC公理系统为基础,记
Figure PCTCN2018112809-appb-000099
记1=0+,2=1+等等,即形式化表示了自然数集合的表示。在自然数集中增加一阶谓词:加+、乘·、小于等于≤、小于<;它们构成了自然数空间的基本结构。在自然数域中,引入一阶谓词:函子/操作-,便发现新的运算结果不一定是自然数集的元素,即在自然数域中减-运算不是自闭的,于是需要拓广(Extend)自然数集,从而引入整数集
Figure PCTCN2018112809-appb-000100
在整数集
Figure PCTCN2018112809-appb-000101
中,引入一阶谓词:除/运算,便发现该运算也不是自闭的,于是产生了实数集R。在实数集上引入开方运算,发现了复数集
Figure PCTCN2018112809-appb-000102
特定的矢量空间运算与复数空间运算具有同构关系。例如:二维笛卡尔矢量空间的转动可以映射为三维复数空间的积运算;三维笛卡尔矢量空间的转动可以映射为四维复数空间的积运算。
数学空间正是空间运算不自闭(Non-closure)而逐步拓广的,数学空间也因此不断延伸,扩大了人类的视野;矢量空间是基本的数学空间。它们本质上要么是偏序的、要么是全序的空间。链的实例包含:动作链(Action chain)、行为链(Behavior chain)、运动链(Kinematic chain/KC)等,它是普遍的存在形式。链本质是有序的拓扑关系;一方面,系统拓扑决定系统运动学及动力学行为过程;另一方面,到目前为止,拓扑符号与系统行为过程建模与分析是分离的,即拓扑符号未参与多体运动学及动力学建模过程,难以揭示复杂系统的基本规律。
但是,现有的多体运动学及动力学缺少拓扑符号系统。链节间的次序具有不变性。在系统建模时,不仅需要表达系统的拓扑及链序,而且需要保证运动学及动力学过程的链序不变性(Invariants of Chaining Order),只有这样才能保证符号系统的客观性。
向量空间又称为线性空间,是线性代数的中心内容和基本概念之一。设
Figure PCTCN2018112809-appb-000103
是一个数域(Field)及一个向量空间
Figure PCTCN2018112809-appb-000104
和两个运算:
【1】向量加法:
Figure PCTCN2018112809-appb-000105
记作v+w,
Figure PCTCN2018112809-appb-000106
【2】标量乘法:
Figure PCTCN2018112809-appb-000107
记作a·v,
Figure PCTCN2018112809-appb-000108
其中:·表示代数乘或矩阵乘;+表示代数加或矩阵加。
矢量空间是具有正交基架的线性空间,且满足内积、叉积运算。矢量空间分析是机器人系统的基础,因为在矢量空间变换下,具有距离及角度的不变性。离开距离及角度的不变性,就无从谈论机器人运动学与动力学。空间任一点的位置、速度、加速度及作用力均是矢量。
然而,关节运动是关节的动子与定子的相对运动;称该相对运动的关节坐标即关节线位置(Linear Position)及角位置(Angular Position)为自然坐标(Natural Coordinates),是以关节坐标轴(Joint Axis)为参考的标量;由于存在转动,关节坐标与位移(Displacement)、速度(Velocity)、加速度(Acceleration)具有非线性关系。
称由两个三维矢量合并的一个六维矢量为螺旋;故螺旋又称为双矢量(Double Vectors)。将由三维转动速度矢量与平动速度矢量构成的双矢量称为运动旋量;将由三维力矩矢量力矢量构成的双矢量称为力旋量。
记r及p分别为三维的转动速度矢量及平动速度矢量,记r及p为两个实数;则旋量有S=r+p·ε及双数s=r+p·ε。
引入双数单位(Dual number unit)符号ε,且有
0·ε=0,1·ε=ε,ε 2=ε*ε=0;     (1.5)
存在以下点积与叉积运算:
Figure PCTCN2018112809-appb-000109
Figure PCTCN2018112809-appb-000110
双变量S=r+p·ε及s=r+p·ε的函数定义为
Figure PCTCN2018112809-appb-000111
式中ε 2=0反映串链中两个位移矢量的运算对运动链总位移无影响的物理事实。
以双矢量概念为基础,形成了在6D空间算子代数。在机器人动力学建模中具有重要应用。同样,也有双四元数,在6R机械臂运动学逆解中具有非常重要的作用。
张量不变量反映的是:事物属性的不变性;要度量事物的属性就必须有参考对象;相对不同参考对象的度量存在必然的联系,即规律的客观性。事物属性的表征量必须指明它的参考对象。
“张量分析”是由爱因斯坦最初提出的,以之为基础,建立了电磁场及力场等理论。“张量分析”被广泛应用于连续介质粒子系统的研究。“张量不变性(Invariants of Tensors)”是自然界最基本的规律,是事物客观性的反映。
矢量空间具有“加(Addition)及标量积(Scalar Product)”的基本代数结构(Fundamental Algebraic Structures),也包含额外结构:
【1】一个实数或复数矢量空间加上范数(Norms)结构则成为赋范矢量空间;【2】一个实数或复数矢量空间加上内积(Inner Product)结构则成为内积空间即酉空间;
【3】一个矢量空间加上极限(Limits)则成为拓扑矢量空间(Topological Vector Spaces);
【4】一个矢量空间加上双线性算子(Bilinear Operator)则成为域代数(Field Algebra);
【5】在笛卡尔直角坐标系下,线性空间是一个保距、保角(Preserving Distances and Angles)的等积投影(Isometric Projection)空间,即矢量的范数及矢量间的角度保持不变。在机器人运动学及动力学研究中,一般使用笛卡尔直角坐标系。
上述不同的数学空间,对于机器人研究者,常全序及偏序是一个对象自身的属性常感到过于抽象。在数学系统建立过程中,由于数学家更专注于数学理论的形式化及逻辑的严谨性,常常忽视其背后的应用。矢量空间及双矢量空间是机器人运动学与动力学研究的基础,由于缺乏由原子及操作构成的元系统、缺乏严谨的公理化理论体系及运动链符号系统,致使复杂机器人系统研究存在严重困难。比如,尽管具有拉格朗日、凯恩等分析动力学方法,但是难以建立简洁的高自由度多刚体动力学系统方程。
矢量属于几何的范畴,具有直观的可理解性,但缺乏代数几何的可分析性;需要将二者有机地结合。同时,客观世界是通过一组动作的执行,由一组状态牵移至另一组状态的过程;通过空间的动作表述空间的运动,不仅易于理解,而且易于计算机软件工程实现。因此,本章提出运动链符号系统,在保证拓扑不变性及度量不度性的基础上,修正及发展(Revise and Develop)经典的矢量空间理论,以建立以动作为核心的、基于代数几何的、拓扑符号参与显式建模(Explicit/Analytical Modelling)的运动链符号演算系统。
一方面,计算机系统自身是以地址为索引的矩阵阵列;信息的存贮及表示也需要以阵列 的方式保存。另一方面,有向Span树的偏序性是多轴系统的基本特点。因此,(1)链或偏序的集合是符号化理论的基础,全序的集合是对应偏序集合的特殊形式;(2)将事物的属性统一用矩阵表示,不仅表达简洁,而且适应数值计算机的结构特点。
首先,借鉴现代集合论的偏序集(□]表征运动链。记
Figure PCTCN2018112809-appb-000112
称 il l为运动链。空集表示空位。若空位具有父集合的地址,则集合概念拓广为链的概念;若空位无父集合地址,则为空集。
实矩阵或复矩阵是偏序的集合。记k至j的位置矢量
Figure PCTCN2018112809-appb-000113
为
Figure PCTCN2018112809-appb-000114
显然,
Figure PCTCN2018112809-appb-000115
表示由k至j位置的谓词。
运动链是一个偏序的链;而运动副
Figure PCTCN2018112809-appb-000116
既表示由杆件
Figure PCTCN2018112809-appb-000117
至杆件l的连接,又表示由杆件l至杆件
Figure PCTCN2018112809-appb-000118
的连接,故运动副
Figure PCTCN2018112809-appb-000119
具有全序;故有
Figure PCTCN2018112809-appb-000120
显然,全序及偏序是一个对象自身的属性。而力学及机器人理论上尚未出现相应的符号系统。
借鉴集合论的链理论,将运动副
Figure PCTCN2018112809-appb-000121
对应的简单运动链
Figure PCTCN2018112809-appb-000122
通过区间符表示为
Figure PCTCN2018112809-appb-000123
其中:
Figure PCTCN2018112809-appb-000124
是l的前继即父,l是
Figure PCTCN2018112809-appb-000125
的后继即子;称
Figure PCTCN2018112809-appb-000126
为链节,是运动链中的一个基本环节。
在Span树中,简单运动链
Figure PCTCN2018112809-appb-000127
与l一一映射,即
Figure PCTCN2018112809-appb-000128
故有
Figure PCTCN2018112809-appb-000129
因有序集合的子集也是有序的集合,故定义由
Figure PCTCN2018112809-appb-000130
至k的运动链
Figure PCTCN2018112809-appb-000131
为
Figure PCTCN2018112809-appb-000132
记
Figure PCTCN2018112809-appb-000133
为
Figure PCTCN2018112809-appb-000134
的前继(Predecessor)。故有
Figure PCTCN2018112809-appb-000135
同样,因有序集合的子集也是有序的集合,故有
il i=(i,i],| il i|=0。       (1.15)
称 il i为空链或平凡链。惯性空间(环境)记为i,平凡链 il i总是存在的。
在运动链符号演算系统中,具有偏序的属性变量或常量,在名称上包含表示偏序的指标(Index/Indices);要么包含左上角及右下角指标,要么包含右上角及右下角指标;它们的方向总是由左上角指标至右下角指标,或由右上角指标至右下角指标。例如:
Figure PCTCN2018112809-appb-000136
表示由k至l的位置矢量;其中:r是径向(Radial)的平动属性符;
Figure PCTCN2018112809-appb-000137
表示由k至l的线位置。
给定运动链
Figure PCTCN2018112809-appb-000138
若n表示笛卡尔直角系,则称
Figure PCTCN2018112809-appb-000139
为笛卡尔轴链(Cartesian AC/CAC);若n表示自然的运动轴,则称
Figure PCTCN2018112809-appb-000140
为自然轴链(Natural AC/NAC)。
链{L,≤}是有序的集合,其中:≤确定了链的序结构。序结构是拓扑系统及度量系统的基本结构之一。
在定义坐标系时,习惯使用右手序(RHS Order),即由右手法则确定坐标轴的次序,例如[x,y,z] T;故默认的坐标遵从右手序。相应地,也就确定了数的升序为右手序;例如[1,2,3]。链的连接次序简称链序,是由被研究对象本来的序结构确定的。在书写[x,y,z]、[1,2,3]等有序的集合时,习惯上由左至右书写,这样的书写次序称之为右手序。对应地,将基分量写成行的形式,称为左手序(LHS Order)。显然,链序是客观的;而排列次序是主观的。因为书面的符号系统是被研究对象的同构系统;故排列次序在本质上也是链序;是链序的语言表达次序。
将运动链由根至叶的次序称为前向序(Forward Order),反之称之为逆序(Backward Order);与之对应的根标识号总是小于叶的标识号;与之对应的由根至叶的“缩放—转动—平动”过程,称为正运动。这一运动过程本质上源于正运动的参考是自我参考(Self Reference)的:以自身的体系为参考,首先进行形状的缩放,再以自身的体系参考进行转动,最后以自身的体系参考进行平动。例如:机器人要到达目标,首先需要调整姿态,至期望的姿态后,再进行平动;如此反复,直到到达目标。
在本书中,前向序、正序、右手序是对应的或等价的;反向序、逆序、左手序是对应的或等价的。前向与反向是相对于Span树连接方向而言的;正序与逆序是相对于参考轴或参考方向而言的;右手序及左手序则是相对于书写方向而言的。
给定两个索引集r及c,按“词法”(Lexicographic Order)次序比较:若
Figure PCTCN2018112809-appb-000141
且r [1]=c [1]、…,r [k]=c [k],r [k+1]≠c [k+1];则有r [k+1]>c [k+1]。“词法正”是指字典中词汇编排次序。因此,无论被研究系统是否有序,只要被符号化,就一定有“词法”次序。
例如:若r=[1,4,3,2],c=[1,2,4,3];则有
Figure PCTCN2018112809-appb-000142
计算机在矩阵运算时,经常需要通过索引引用该矩阵中的分块矩阵,也需要对矩阵中的元素进行重新排列;索引集合及引用是计算机符号处理的基本表示方法及基本操作方法。
常记[n,…,m]为n:m,其中:
Figure PCTCN2018112809-appb-000143
[·]表示取行或列;*表示任意符号或常数。若|r|=|0|,索引集
Figure PCTCN2018112809-appb-000144
则称r为“词法正”的;若索引集
Figure PCTCN2018112809-appb-000145
则称r为“词法负”的。
高维度的树形运动链分析需要借助于现代计算机的符号演算与计算;以此为基础,才能开发相应的树形运动链运动学及动力学分析与建模的工具。运动链的符号系统需要与现代计算机理论相结合。建立适应现代计算机的符号操作需要,有助于理解复杂运动链的运动学及动力学的内在规律,并完成计算机软件开发。
在计算机系统中,无论是内存还是外存都是存贮阵列。引入索引符号[□]作用在于:
多轴系统理论的技术实现需要通过软件编程实现,期望多轴系统的运动学及动力学方程具有伪代码(Pseudo-code)的功能。
机器人智能的基础在于软件模块的通用性,多轴系统运动学及动力学要实现拓扑、坐标系、运动学及动力学参量的参数化,在理论分析时,需要将它们作为参量处理。通过索引符号[□],可以简洁地表征属性量与其子属性的关系。
【1】索引指标
给定有序的集合r=[1,4,3,2] T,记r [k]表示取集合r的第k行的元素。常记[x]、[y]、[z]、[w]表示取第1、2、3、4列的元素。这些索引指标主要为了分析矩阵成员间的关系。例如:
Figure PCTCN2018112809-appb-000146
Figure PCTCN2018112809-appb-000147
Figure PCTCN2018112809-appb-000148
【2】索引集
用于取元素序号的指标集合称之为索引集。例如,给定集合l=[1,3,5,7],索引集r=[1,4,3,2] T及c=[1,2,4,3];则有l [r]=[1,7,5,3],l [c]=[1,3,7,5]。进一步,给定矩阵Q,其中:
Figure PCTCN2018112809-appb-000149
则有
Figure PCTCN2018112809-appb-000150
【3】成员的幂符号
记
Figure PCTCN2018112809-appb-000151
或
Figure PCTCN2018112809-appb-000152
为标量
Figure PCTCN2018112809-appb-000153
的k次幂;其中:右上角角标∧或
Figure PCTCN2018112809-appb-000154
表示分隔符。
运动链拓扑空间
首先,以公理化集合论为基础,提出基于运动轴的有向Span树;然后,建立有向Span树的符号系统及基本运算,为运动链符号系统的构建奠定基础。然而,现代集合论的链符号不是专门针对运动链分析的,有必要根据运动链的基本特点对链符号进行适应性修改。
轴链有向Span树
任何复合运动副可由两个基本运动副组成,即转动副R与棱柱副P。在有向Span树T中,子杆件Ω l仅有一个父杆件
Figure PCTCN2018112809-appb-000155
且杆件Ω l与运动轴A [l]或运动副
Figure PCTCN2018112809-appb-000156
是一一映射的,即杆件Ω l或轴A [l]或运动副
Figure PCTCN2018112809-appb-000157
在对应关系上等价。故有
Figure PCTCN2018112809-appb-000158
记多轴系统为D={T,A,B,K,F,NT};其中:
Figure PCTCN2018112809-appb-000159
为有向Span树,A为轴序列,F={F [l]|l∈A}为树链坐标系序列,B={B [l]|l∈A}为杆件动力学体(简称体)序列,
Figure PCTCN2018112809-appb-000160
为运动副类型序列,NT为约束轴序列即非树。显然,运动轴序列A与体序列B、运动副类型序列K、参考系序列F是一一映射的关系;即
Figure PCTCN2018112809-appb-000161
轴序列A是多轴系统D={T,A,B,K,F,NT}所有轴构成的轴链;T,B,K,F分别与A一一映射,是关于轴A的序列;NT与T构成了多轴系统D的拓扑结构即图G。
请参照图10。图10为CE3月面巡视器的轴链有向Span树图。其中:虚副 ik c=(i,c1,c2,c3,c4,c5,c],即虚副 ik c等价于一个轴链 il c。同样,其它复合运动副都可以通过一个轴链等价。
【1】图10中,在拓扑上,每个节点代表一个唯一的运动轴,所有运动轴按正序排列构成轴序列A;
【2】由实有向线段表示的运动副连接关系,确定轴序列A的父序列
Figure PCTCN2018112809-appb-000162
给定l∈A,则有:
Figure PCTCN2018112809-appb-000163
【3】给定
Figure PCTCN2018112809-appb-000164
运动副
Figure PCTCN2018112809-appb-000165
按正序排列构成运动副类型序列K;
【4】给定
Figure PCTCN2018112809-appb-000166
虚线非树弧表示约束副
Figure PCTCN2018112809-appb-000167
存放于非树约束序列NT,即
Figure PCTCN2018112809-appb-000168
且有NT={ lC k|l∈A,k∈CA, lC k∈{R,P,H,O}};CA为约束副类型序列。
【5】系统D有|A|-|NT|个自由度,其中:|A|及|NT|表示轴序列A及父轴序列NT的基数。
在MAS系统D中,所有运动副分为两类:由轴序列A及其父轴序列
Figure PCTCN2018112809-appb-000169
确定的运动副、由非树约束集NT成员确定的约束副。轴序列A、父轴序列
Figure PCTCN2018112809-appb-000170
及非树约束集NT可以完整地反映一个图的连接关系。
请再度参照图10。由图10得轴序列及非树弧序列
A=(i,c1,c2,c3,c4,c5,c,rr,rb,rrd,rrw,rmw,rfd,rfw,lr,lb,lrd,lrw,lfd,lfw,lmw],   (1.19)
Figure PCTCN2018112809-appb-000171
由(1.18)及(1.19),得父轴序列
Figure PCTCN2018112809-appb-000172
运动链符号及基本操作如下:
【1】运动链由偏序集合(]标识。
【2】A [l]为取轴序列A的成员;因轴名l具有唯一的编号对应于A [l]的序号,故A [l]计算 复杂度为O(1)。
【3】
Figure PCTCN2018112809-appb-000173
为取轴l的父轴;由式(1.18)可知,
Figure PCTCN2018112809-appb-000174
计算复杂度为O(1)。
【4】
Figure PCTCN2018112809-appb-000175
为取轴序列
Figure PCTCN2018112809-appb-000176
的成员;由式(1.18)可知,故
Figure PCTCN2018112809-appb-000177
计算复杂度为O(1)。
【5】 ll k为取由轴l至轴k的运动链,输出表示为
Figure PCTCN2018112809-appb-000178
且
Figure PCTCN2018112809-appb-000179
基数记为| ll k|。 ll k执行过程:执行
Figure PCTCN2018112809-appb-000180
若
Figure PCTCN2018112809-appb-000181
则执行
Figure PCTCN2018112809-appb-000182
否则,结束。 ll k计算复杂度为O(| ll k|)。
【6】 ll为取轴l的子。该操作表示在
Figure PCTCN2018112809-appb-000183
中找到成员l的地址k;从而,获得轴l的子A [k]。因
Figure PCTCN2018112809-appb-000184
不具有偏序结构,故 ll的计算复杂度为
Figure PCTCN2018112809-appb-000185
【7】 lL表示获得由轴l及其子树构成的闭子树,
Figure PCTCN2018112809-appb-000186
为不含l的子树;递归执行 ll,计算复杂度为
Figure PCTCN2018112809-appb-000187
【8】支路、子树及非树弧的增加与删除操作也是必要的组成部分;从而,通过动态Span树及动态图(Dynamic Graph)描述可变拓扑结构(Variable Topology Structure)。在支路 ll k中,若
Figure PCTCN2018112809-appb-000188
则记
Figure PCTCN2018112809-appb-000189
即
Figure PCTCN2018112809-appb-000190
表示在支路中取成员m的子。
注:计算复杂度O()表示计算过程的操作次数,通常指浮点乘与加的次数。以浮点乘与加的次数表达计算复杂度非常烦琐,故常采用算法循环过程中的主要操作次数;比如:关节位姿、速度、加速度等操作的次数。
由(1.18)、(1.19)、及(1.21)得:
Figure PCTCN2018112809-appb-000191
及
Figure PCTCN2018112809-appb-000192
故有 cl lb=(c,lr,lb],| cl lb|=2,
Figure PCTCN2018112809-appb-000193
由式(1.21)得
Figure PCTCN2018112809-appb-000194
中成员为lb的地址为17及21,从而由A得到lb的子为lrd及lmw,递归得lrd的子为lrw;故得 lbL={lb,lmw,lrd,lrw}。
运动链拓扑公理
对于运动链
Figure PCTCN2018112809-appb-000195
有以下运动链拓扑公理(Topology Axioms of KC):
【1】 il n具有半开属性,即
Figure PCTCN2018112809-appb-000196
【2】 il n空链或平凡链 ik i的存在性,即
ik i∈ il n,| ik i|=0。      (1.23)
【3】 il n运动链具有串接性(可加性或可积性),即
il n= il l+ ll n,        (1.24)
il n= il l· ll n。        (1.25)
【4】 ll n具有可逆性,即
ll n=- nl l。       (1.26)
由式(1.26)可知:由l至n的链 ll n与n至l的链 nl l是可逆的。运动链的偏序被称为链序(Chaining Order/CO),故称前述的运动链符号系统为链符号系统(Symbol System of CO)。
由式(1.24)及式(1.26)可知运动链具有不变性:
【1】运动链链序的一致性,即组成链的各项链序必须一致;
【2】运动链传递的串接性,即相邻两项的链指标 l+ l或 l· l满足对消法则;
以上运动链四个拓扑公理反映了链序(上下指标的次序)的不变性是运动链运动学及动力学行为的基本准则。因此,链符号在高自由度运动学及动力学分析中具有以下作用:
【1】链符号是系统结构参数、运动参数及动力学参数表征的基础;
【2】明确运动参数间的依赖关系,是运动学及动力学分析的基础;
【3】表征运动学及动力学方程的链序不变性,保证方程的正确性。
轴链度量空间
多自由度(Multi-DoF)的机器人是典型的多轴系统(MAS),记为D={T,A,B,K,F,NT};其中:
Figure PCTCN2018112809-appb-000197
为有向Span树,A为轴序列,F为杆件参考系序列,B为杆件体序列,K为运动副类型集合,NT为约束轴的集合即非树。F为笛卡尔直角坐标系统。
要对系统属性进行距离及角度的度量(Metric),就需要建立由参考点、参考轴或笛卡尔系构成的运动链度量系统(Metric System)。度量系统不仅决定系统属性的描述形式,也影响系统属性间的计算精度与复杂性。比如:以地磁北向为参考,需考虑地磁方向的精确性问题,因为不同时间及地点的地磁方向与大小大不相同。在矢量空间下,参考轴是最基本的参考单位,参考系可以由一组独立的参考轴构成。在工程上,坐标系选择需要考虑测量手段、测量精度及应用习惯。与理论坐标系不同,精密机械工程的坐标系要具有可测量的光学特征(Optical Speckle/Spots);否则,既不能被人感知,又不能被光学设备检测。本节,首先建立轴链度量系统,再研究该系统的空间元素及关系,即度量空间(Metric Spaces)。
轴链完全Span树
通过对多体系统的分析,去除所有通过距离及角度进行度量的实体及关系,仅保留系统的连接关系,得到了以轴为基元的轴链有向Span树。
任一轴有其各自的3D点空间,称该空间为轴空间,且任一轴空间有且仅有一个自由度。因此,轴链有向Span树本质上表征了由一组运动轴构成的运动空间。复合运动副由一组串接的简单运动副等价,构成一个描述该复合运动副的轴链,表征的是该复合运动副的运动空间,该空间的自由度数与复合运动副的运动轴数相等。
为研究多体系统的运动学及动力学,需要在轴链有向Span树中增加通过距离及角度进行度量的实体及关系。点、线及体是3D轴空间构成要素。
【1】轴链有向Span树的点
杆件l的惯性中心或质心I记为l I,表示惯性中心I是杆件l的子。通常情况下,任意点记为S;而l S表示杆件l上的任意一点S,点l S是杆件l的子;F [l]表示由任意点l S构成的3D笛卡尔空间。因此,任何点是树链空间下的点,是Span树的组成要素。
【2】轴链有向Span树中的轴
将轴l中的x轴、y轴及z轴分别记为lx,ly及lz;以表明x轴、y轴及z轴的父为l轴。显然,x,y,z是多轴系统的专用符号,不能用作轴名。
【3】轴链有向Span树中的体
体序列B={B [l]|l∈A},其中:
Figure PCTCN2018112809-appb-000198
若
Figure PCTCN2018112809-appb-000199
则体l的质量为零,其中,l S是任意点,Ω l表示杆件l的几何体。动力学体B [l]是几何体Ω l的从属属性。
对于复合运动副
Figure PCTCN2018112809-appb-000200
仅轴A [l]与动力学体B [l]固结,其质量和转动惯量非零,而其它轴无质量与惯量;任一轴
Figure PCTCN2018112809-appb-000201
均固结几何体Ω k;显然,
Figure PCTCN2018112809-appb-000202
即Ω k是Ω l的子空间。
【4】轴链有向Span树中的力
环境i中的任一点i S作用于B [l]上点l S的力和力矩分别记为固定矢量(Fixed Vector)
Figure PCTCN2018112809-appb-000203
和
Figure PCTCN2018112809-appb-000204
环境中的点i S通过作用力与体上的点l S通过力
Figure PCTCN2018112809-appb-000205
及力矩
Figure PCTCN2018112809-appb-000206
构成了回路。
因匀速或绝对不动的惯性空间不存在,惯性空间总是相对的,故这种惯性空间无实际操作上的意义;轴链Span树根据被研究系统的范围确定该系统共有的根,该根即惯性空间。因此,MAS系统的轴链Span树是轴链完全Span树(Axis Chain Full-Span Tree)。树根i表示世 界,包含作用力
Figure PCTCN2018112809-appb-000207
的施力点i S;惯性空间i由被研究的MAS及环境施力点共同确定。
投影矢量及张量不变性
运动链属性的度量总要相对于一定的坐标轴;否则,将无法度量运动链的属性。请参照图11,图11为坐标轴与基矢量参考图。如图11所示,一维坐标轴l 1101由原点O l 1102及单位基e l 1103构成,是具有刻度的方向参考线;它是构成参考系的基元(Primitive)。一维坐标轴l 1101上的坐标点S 1104的刻度即为坐标。
整体形式的基矢量e l 1103表示一个客观的单位方向;其分量形式记为
Figure PCTCN2018112809-appb-000208
即由三个独立的有序符号组成,表示三个独立的自由度。
笛卡尔直角坐标系(笛卡尔系)由三个两两正交的坐标轴构成。在笛卡尔坐标下的角度及距离具有不变性,即保角及保距的特性;它们是机器人系统分析的基础。同时,符合人们对事物的认知习惯。笛卡尔直角坐标系即参考标架(Reference Frame)F [l]=O l-x ly lz l由原点O l及基矢量(Base Vector)e l构成;其中:
Figure PCTCN2018112809-appb-000209
称
Figure PCTCN2018112809-appb-000210
为基架(Base Frame),包含三个独立的符号,表示三个独立的维度。在数学中基矢量表示空间中一组独立的单位矢量;在工程中还需要考虑基矢量对应的度量单位(Metric Units)。基矢量e l是客观的;比如,刚体的瞬时转动轴。而基架既是客观的,又是主观的;一方面,是基架与基矢量是等价,另一方面是基架是人为构造的。
笛卡尔空间是具有内积(点积)“·”及叉积“×”运算的空间。两个矢量的点积运算及叉积运算前提是矢量;两个坐标矢量的点积运算及叉积运算前提是同一参考系下坐标向量,可以统一为代数乘运算“·”。
请参照图12,图12为矢量的投影矢量图。如图12所示,由原点O l 1201至点l S 1202的位置矢量
Figure PCTCN2018112809-appb-000211
1203对一维坐标轴l 1204或基矢量e l 1206的投影矢量(Projection Vector)
Figure PCTCN2018112809-appb-000212
1205称为矢量
Figure PCTCN2018112809-appb-000213
对轴l坐标。记
Figure PCTCN2018112809-appb-000214
对参考轴l投影矢量(简称投影)为
Figure PCTCN2018112809-appb-000215
且有
Figure PCTCN2018112809-appb-000216
其中,r是平动3D矢量,其元素确定矢量的方向及大小。投影矢量依赖于单位坐标轴或单位基,该参考基又称为投影基(Projective Bases)。
显然,投影变换 |□即是点积运算“·”,即
Figure PCTCN2018112809-appb-000217
由式(1.27)可知:坐标轴可以作为平动的参考;但不能完整地作为转动的参考:要表达转动,要么增加另一个矢量,通过二者所张的角度表达;要么在坐标轴径向增加另一个零位参考矢量,通过绕该轴的转动角度表达。原因在于:坐标轴本质上是1D的。
投影符 |□的优先级高于成员访问符□ [□]或□ [□],成员访问符□ [□]优先级高于幂符□ ∧。引入投影符 |□的作用在于:
【1】区分链节属性量,因为链节属性量反映相邻杆件(轴)的运动量通常是可以直接测量的;而不同链节间的运动量难以直接测量;
【2】在运动学及动力学方程中,保证运动链的链序关系正确,即链序的不变性;
【3】保证运动学及动力学方程书写简洁,以关注重要的运算关系;
【4】投影符与链指标一样,存在相应的运算法则,可以保证方程的正确性。
请参照图13,图13为矢量在笛卡尔直角坐标系的投影矢量图,包含原点O l、正交基矢量e l、坐标矢量
Figure PCTCN2018112809-appb-000218
位置矢量
Figure PCTCN2018112809-appb-000219
在笛卡尔三个坐标轴上的投影矢量为
Figure PCTCN2018112809-appb-000220
且有
Figure PCTCN2018112809-appb-000221
由于
Figure PCTCN2018112809-appb-000222
左上角指标指明了参考系,坐标矢量
Figure PCTCN2018112809-appb-000223
既间接表示了位移矢量
Figure PCTCN2018112809-appb-000224
又直接表示了位移坐标矢量,即具有矢量及坐标矢量的双重作用。笛卡尔坐标系F [l]的正交坐标轴记为x l、y l及z l。
位置矢量
Figure PCTCN2018112809-appb-000225
在坐标系F [k]中的投影矢量记为
Figure PCTCN2018112809-appb-000226
且有
Figure PCTCN2018112809-appb-000227
矢量即一阶张量是基矢量与坐标矢量的代数积。具有不变性的矢量表示为
Figure PCTCN2018112809-appb-000228
其中:基e l总写成行序(逆序)的形式;坐标矢量
Figure PCTCN2018112809-appb-000229
具有列序(正序)的形式。如同硬币的正反面关系一样,基e l与坐标矢量
Figure PCTCN2018112809-appb-000230
具有对偶关系(Duality Relation)。
给定正交基矢量e l,则有
||e l||=1。          (1.29)
证明:基的度量需要以一个单位矢量为参考。请参照图14。图14为基矢量与基架关系 图,包含原点O l、正交基矢量e l、单位轴矢量
Figure PCTCN2018112809-appb-000231
第一转动角度
Figure PCTCN2018112809-appb-000232
第二转动角度
Figure PCTCN2018112809-appb-000233
第三转动角度
Figure PCTCN2018112809-appb-000234
如图14所示,由基架的三个方向矢量分别转至任一单位矢量e l的三个角度分别记为第一转动角度
Figure PCTCN2018112809-appb-000235
第二转动角度
Figure PCTCN2018112809-appb-000236
第三转动角度
Figure PCTCN2018112809-appb-000237
因
Figure PCTCN2018112809-appb-000238
其中:C=cos。故这三个角度中只有两个独立的量。
因为基矢量e l是三维空间的单位基,是一个独立的符号;同时具有基分量
Figure PCTCN2018112809-appb-000239
即有
Figure PCTCN2018112809-appb-000240
同时,基的相互关系通过投影标量即坐标来表达。故有
Figure PCTCN2018112809-appb-000241
证毕。
由上证明可知,基矢量e l是与F [l]固结的任意单位矢量;转动基矢量e l与转动F [l]等价;基的度量依赖于坐标。用单位轴矢量
Figure PCTCN2018112809-appb-000242
替代e l,则转动F [l]与转动
Figure PCTCN2018112809-appb-000243
等价。因轴l的3D空间坐标轴矢量记为
Figure PCTCN2018112809-appb-000244
故将与轴l固结的三个有序的单位轴分别记lx、ly及lz;表明这三个坐标轴属于轴l。基矢量e l与有序的基分量
Figure PCTCN2018112809-appb-000245
等价。坐标轴矢量
Figure PCTCN2018112809-appb-000246
与其上固结的三个有序单位坐标轴[lx,ly,lz]等价。
坐标矢量
Figure PCTCN2018112809-appb-000247
是固定矢量,有固定起点与终点;同时,指明了参考系,即参考基。因
Figure PCTCN2018112809-appb-000248
给定l∈A时,对于平动坐标矢量
Figure PCTCN2018112809-appb-000249
左上角l表示F [l]的原点O l。
记三维二阶张量
Figure PCTCN2018112809-appb-000250
在k系下的坐标阵列为
Figure PCTCN2018112809-appb-000251
Figure PCTCN2018112809-appb-000252
其中:
Figure PCTCN2018112809-appb-000253
的左上角k表示参考系,即
Figure PCTCN2018112809-appb-000254
是k系下的坐标阵列;
Figure PCTCN2018112809-appb-000255
的方向是由k系的原点O k指向l系中的点S。
Figure PCTCN2018112809-appb-000256
以两个相同的坐标基e k的阵列
Figure PCTCN2018112809-appb-000257
为参考;请参照图15,图15为三维二阶张量的基分量图。如图15所示,包含由两个基矢量的笛卡尔积(Cartesian Product)得到的9个二阶基分量;大写字母J表示3×3的与基分量对应的坐标阵列。具有不 变性的二阶张量
Figure PCTCN2018112809-appb-000258
表示为
Figure PCTCN2018112809-appb-000259
即二阶张量的基分量与对应坐标的乘积之和具有不变性。二阶张量的坐标阵列即坐标矩阵
Figure PCTCN2018112809-appb-000260
的6个非对角元素表示六面体法向对应的坐标,3个对角元素表示三个轴向对应的坐标。在力学中,转动惯性张量、应变及应力张量等均是二阶张量。
以不同参考系度量的属性量存在内在的关系,需要保证属性量的不变性:坐标与基相互参考,基与坐标的代数积保持不变;否则,不同的度量存在矛盾,不能保证属性量的客观性。故有,矢量
Figure PCTCN2018112809-appb-000261
及二阶张量
Figure PCTCN2018112809-appb-000262
的不变性关系:
Figure PCTCN2018112809-appb-000263
Figure PCTCN2018112809-appb-000264
显然,参在机器人逆运动学计算中具有非常重要的作用考基e l不是运动链拓扑结构的要素,而是运动链度量的参考要素。矢量
Figure PCTCN2018112809-appb-000265
及二阶张量
Figure PCTCN2018112809-appb-000266
的左上角及右下角指标首先表示的是拓扑关系即连接关系,其左上角指标也表明参考系。
运动链度量规范
运动链不仅具有链序不变性,而且具有张量不变性;运动链的属性量通过链指标反映该属性量具有的链序关系。记主属性符为p或P。
【1】记矢量为
Figure PCTCN2018112809-appb-000267
满足矢量(一阶张量)不变性,
Figure PCTCN2018112809-appb-000268
其中:
Figure PCTCN2018112809-appb-000269
及
Figure PCTCN2018112809-appb-000270
是3×1的坐标矢量,
Figure PCTCN2018112809-appb-000271
是
Figure PCTCN2018112809-appb-000272
在F [l]下的表示;
Figure PCTCN2018112809-appb-000273
是
Figure PCTCN2018112809-appb-000274
在F [k]下的表示。式(1.34)表明:矢量坐标与基矢量的一阶矩保持不变,即矢量具有不变性。三维矢量是三个基分量的线性组合。一个三维空间点由三维矢量刻画。
【2】记二阶张量
Figure PCTCN2018112809-appb-000275
满足二阶张量不变性,
Figure PCTCN2018112809-appb-000276
其中:
Figure PCTCN2018112809-appb-000277
及
Figure PCTCN2018112809-appb-000278
是3×3的坐标阵列,
Figure PCTCN2018112809-appb-000279
是
Figure PCTCN2018112809-appb-000280
在
Figure PCTCN2018112809-appb-000281
下的表示;
Figure PCTCN2018112809-appb-000282
是
Figure PCTCN2018112809-appb-000283
在F [k]下的 表示。式(1.35)表明:二阶坐标张量与基的二阶多项式保持不变,即二阶张量具有不变性。二阶张量是9个二阶基分量的线性组合。张量表示事物的客观性,是代数系统建立的基础,即代数系统的基础公式通常需要通过张量的不变性予以证明。
两个三维空间点的耦合作用由三维二阶张量刻画。即
Figure PCTCN2018112809-appb-000284
故称式(1.36)中由两个坐标矢量构成的并矢(Dyad)为二阶坐标张量。
【3】
Figure PCTCN2018112809-appb-000285
的零阶属性标量p记为
Figure PCTCN2018112809-appb-000286
【4】若属性p或P是关于位置的,则
Figure PCTCN2018112809-appb-000287
应理解为坐标系
Figure PCTCN2018112809-appb-000288
的原点至F [l]的原点;若属性p或P是关于方向的,则
Figure PCTCN2018112809-appb-000289
应理解为坐标系
Figure PCTCN2018112809-appb-000290
至F [l]。
【5】
Figure PCTCN2018112809-appb-000291
及
Figure PCTCN2018112809-appb-000292
应分别理解为关于时间t的函数
Figure PCTCN2018112809-appb-000293
及
Figure PCTCN2018112809-appb-000294
且
Figure PCTCN2018112809-appb-000295
及
Figure PCTCN2018112809-appb-000296
是t 0时刻的常数或常数阵列。但是正体的
Figure PCTCN2018112809-appb-000297
及
Figure PCTCN2018112809-appb-000298
应视为常数或常数阵列。
【6】称 |□为投影符,矢量或二阶张量对参考基的投影矢量或投影序列,即坐标矢量或坐标阵列。
给定运动链
Figure PCTCN2018112809-appb-000299
根据上述规范约定:
【1】l S-杆件l中的点S;而S表示空间中的一点S。
【2】
Figure PCTCN2018112809-appb-000300
-原点O k至原点O l的平动矢量,
Figure PCTCN2018112809-appb-000301
在F [k]下的坐标矢量;
【3】
Figure PCTCN2018112809-appb-000302
-原点O k至点l S的平动矢量,
Figure PCTCN2018112809-appb-000303
在F [k]下的坐标矢量;
【4】
Figure PCTCN2018112809-appb-000304
-原点O k至点S的平动矢量,
Figure PCTCN2018112809-appb-000305
在F [k]下的坐标矢量;
【5】
Figure PCTCN2018112809-appb-000306
-运动副
Figure PCTCN2018112809-appb-000307
的轴矢量,
Figure PCTCN2018112809-appb-000308
及
Figure PCTCN2018112809-appb-000309
分别在
Figure PCTCN2018112809-appb-000310
及F [l]下的坐标矢量;
【6】
Figure PCTCN2018112809-appb-000311
-沿轴
Figure PCTCN2018112809-appb-000312
的线位置,
Figure PCTCN2018112809-appb-000313
-绕轴
Figure PCTCN2018112809-appb-000314
的角位置;
【7】
Figure PCTCN2018112809-appb-000315
-平动轴
Figure PCTCN2018112809-appb-000316
的机械零位,
Figure PCTCN2018112809-appb-000317
-转动轴
Figure PCTCN2018112809-appb-000318
的机械零位;
【8】0-三维零矩阵;1-三维单位矩阵;
【9】转置[□] T表示对集合转置,不对成员执行转置;例如,
Figure PCTCN2018112809-appb-000319
【10】
Figure PCTCN2018112809-appb-000320
-零位时由原点
Figure PCTCN2018112809-appb-000321
至原点O l的平动矢量,且记
Figure PCTCN2018112809-appb-000322
表示位置结构参数。
上述符号规范与约定是根据运动链的偏序性、链节是运动链的基本单位这两个原则确定的,反映了运动链的本质特征。上述指标又称链指标,表示连接关系,右上指标表征参考系。符号表达简洁、准确,便于交流与书面表达。同时,它们是结构化的符号系统,包含了组成各属性量的要素及关系,便于计算机处理,为计算机自动建模奠定基础。指标的含义需要以属性符的背景(上下文)理解;比如:若属性符是平动类型的,则左上角指标表示坐标系的原点及方向;若属性符是转动类型的,则左上角指标表示坐标系的方向。
自然坐标系与轴不变量
在机器人工程中,先定义笛卡尔坐标系统;再通过工程测量确定坐标系间的关系;最后,以该坐标系统为参考,进行机器人运动学及动力学分析。杆件间的关系需要通过与它们固结的坐标系进行度量。然而,笛卡尔系的坐标轴两两正交是一个非常强的约束,它只发生在理论上。在历史上,笛卡尔系从未受到挑战。
将笛卡尔坐标系与体固结,即标记原点及坐标轴方向;借助光学特征,才能应用现代光学设备(比如,激光跟踪仪)测量坐标系间的相互关系;具有一定大小的一组光学特征难以满足笛卡尔坐标轴两两正交的精度需求,导致过大的测量误差。对于精密机器人工程而言,即使微小的角度,比如10角秒,也会通过杆件将位置误差放大至不可接受的程度。同时,笛卡尔系与杆件固结受到杆件实际空间限制,在杆件内部及外部均导致无法测量。因此,在研究精密机器人系统时,期望间接地确定及应用笛卡尔系。首先,在勿需三轴两两正交约束下,测量一组具有极小光学特征的测点的空间位置;然后,依据一定准则,通过计算间接确定笛卡尔坐标系统。应用现代光学设备,由于测点的精度易于满足工程精度需求,计算引起的误差可以忽略不记;从而,保证笛卡尔坐标系统精度。这是一个先测量后定义的过程;与传统的先定义笛卡尔坐标系统后测量的过程相反。
定义1:自然坐标系:若多轴系统D处于零位,所有笛卡尔体坐标系方向一致,且体坐标系原点位于运动轴的轴线上,则该坐标系统为自然坐标系统,简称自然坐标系。
给定MAS系统D={T,A,B,K,F,NT},在系统零位时,只要建立底座系或惯性系,以及各轴上的参考点O l,其它杆件的坐标系也自然确定。本质上,只需要确定底座系或惯性系。
定义2:不变量:称不依赖于一组坐标系进行度量的量为不变量。
由定义1可知,在系统处于零位时,所有杆件的关节坐标系与底座或世界系的方向是一致的。
请参照图16。图16为自然坐标系与轴不变量图,包含转动角度
Figure PCTCN2018112809-appb-000323
1601、轴矢量
Figure PCTCN2018112809-appb-000324
1602。 如图16所示,系统处于零位即
Figure PCTCN2018112809-appb-000325
时,关节坐标系
Figure PCTCN2018112809-appb-000326
绕轴矢量
Figure PCTCN2018112809-appb-000327
1602转动角度
Figure PCTCN2018112809-appb-000328
1601将
Figure PCTCN2018112809-appb-000329
转至F [l];
Figure PCTCN2018112809-appb-000330
在
Figure PCTCN2018112809-appb-000331
下的坐标矢量与
Figure PCTCN2018112809-appb-000332
在F [l]下的坐标矢量
Figure PCTCN2018112809-appb-000333
恒等,即有
Figure PCTCN2018112809-appb-000334
由式(1.37)知,
Figure PCTCN2018112809-appb-000335
或
Figure PCTCN2018112809-appb-000336
不依赖于相邻的坐标系
Figure PCTCN2018112809-appb-000337
及F [l];故称
Figure PCTCN2018112809-appb-000338
或
Figure PCTCN2018112809-appb-000339
为轴不变量;在不强调不变性时,简称为坐标轴矢量或轴矢量。
Figure PCTCN2018112809-appb-000340
或
Figure PCTCN2018112809-appb-000341
表征的是体
Figure PCTCN2018112809-appb-000342
与体l共有的参考单位坐标矢量,与
Figure PCTCN2018112809-appb-000343
及O l无关。在第二部分,将对式(1.37)予以证明。
轴不变量与坐标轴具有本质区别:
(1)坐标轴是具有零位及单位刻度的参考方向,可以描述沿该方向平动的位置,但不能完整描述绕该方向的转动角度,因为坐标轴自身不具有径向参考方向,即不存在表征转动的零位。在实际应用时,需要补充该轴的径向参考。例如:在笛卡尔系F [l]中,绕lx转动,需以ly或lz为参考零位。坐标轴自身是1D的,3个正交的1D参考轴构成3D的笛卡尔标架。
(2)轴不变量是是3D的空间单位参考轴,其自身就是一个标架。其自身具有径向参考轴,即参考零位。空间坐标轴及其自身的径向参考轴可以确定笛卡尔标架。空间坐标轴可以反映运动轴及测量轴的三个基本参考属性。
有的文献将无链指标的轴矢量记为ê,并称之为欧拉轴(Euler Axis),相应的关节角称为欧拉角(Euler Angle)。之所以不沿用欧拉轴,而称之为轴不变量,是因为它具有人们未曾了解的属性:
【1】给定旋转变换阵
Figure PCTCN2018112809-appb-000344
因其是实矩阵,其模是单位的,故其有一个实特征值λ 1及两个互为共轭的复特征值λ 2=e iφ及λ 3=e -iφ;其中:i为纯虚数。因此,|λ 1|·||λ 2||·||λ 3||=1,得λ 1=1。轴矢量
Figure PCTCN2018112809-appb-000345
是实特征值λ 1=1对应的特征矢量,是不变量;
【2】是3D参考轴,不仅具有轴向参考方向,也具有径向参考方向即零位。
【3】式(1.37)表明在自然坐标系下:
Figure PCTCN2018112809-appb-000346
即轴不变量
Figure PCTCN2018112809-appb-000347
是非常特殊的矢量,且有非常优良的数学操作性能,在后续章节中将予以分析与应用;
【4】在自然坐标系统中,通过轴矢量
Figure PCTCN2018112809-appb-000348
及关节坐标
Figure PCTCN2018112809-appb-000349
可以直接描述旋转坐标阵
Figure PCTCN2018112809-appb-000350
没有必要为非根杆件建立各自的体系,可以极大地简化建模的工作量。同时,以唯一需要定义的根坐标系为参考,测量结构参数
Figure PCTCN2018112809-appb-000351
可以提高测量精度;
【5】在后续章节中,应用轴矢量
Figure PCTCN2018112809-appb-000352
的优良操作,将建立包含拓扑结构、坐标系、极性、结构参量及动力学参量的统一的多轴系统运动学及动力学方程。
因基矢量e l是与F [l]固结的任一矢量,基矢量
Figure PCTCN2018112809-appb-000353
是与
Figure PCTCN2018112809-appb-000354
固结的任一矢量,又
Figure PCTCN2018112809-appb-000355
是F [l]及
Figure PCTCN2018112809-appb-000356
共有的单位矢量,故
Figure PCTCN2018112809-appb-000357
是F [l]及
Figure PCTCN2018112809-appb-000358
共有的基矢量。因此,轴不变量
Figure PCTCN2018112809-appb-000359
是F [l]及
Figure PCTCN2018112809-appb-000360
共有的参考基。轴不变量是参数化的自然坐标基(Natural Base Coordinates),是多轴系统的基元。
在系统处于零位时,以统一的坐标系为参考,测量得到坐标轴矢量
Figure PCTCN2018112809-appb-000361
在运动副
Figure PCTCN2018112809-appb-000362
运动时,坐标轴矢量
Figure PCTCN2018112809-appb-000363
是不变量;由坐标轴矢量
Figure PCTCN2018112809-appb-000364
及关节角度
Figure PCTCN2018112809-appb-000365
完全可以确定运动副
Figure PCTCN2018112809-appb-000366
的转动关系。
因此,应用自然坐标系统,当系统处于零位时,本质上只需确定一个公共的参考系,而不必为系统中每一杆件确定各自的体坐标系,因为它们可由轴矢量及自然坐标唯一确定。当系统分析时,与杆件固结的自然坐标系只发生在概念上。自然坐标系统对于MAS理论分析及工程作用在于:
【1】系统的结构参数测量需要以统一的参考系测量;否则,不仅在工程测量时烦琐,而且由于引入不同的体系会引入更大的测量误差。
【2】应用自然坐标系统,除根杆件外,其它杆件的自然坐标系统由结构参量及关节坐标自然确定,有助于MAS系统的运动学与动力学分析。
【3】在工程上,可以应用激光跟踪仪等光学测量设备,实现对固定轴不变量的精确测量。
【4】由于运动副R及P、螺旋副H、接触副O是圆柱副C的特例,可以应用圆柱副简化MAS运动学及动力学分析。
【5】同时,轴不变量在理论上具有非常优良的操作性能,例如,轴不变量
Figure PCTCN2018112809-appb-000367
与轴内力
Figure PCTCN2018112809-appb-000368
是正交的,故轴不变量
Figure PCTCN2018112809-appb-000369
是轴内力
Figure PCTCN2018112809-appb-000370
的解耦自然正交补(Decoupled Natural Orthogonal Complement);可以建立基于自然不变量(Natural Invariant)的迭代式的运动学与动力学方程,既保证建模的精确性与简洁性,又可以保证计算的实时性。
自然坐标系优点在于:(1)坐标系统易确定;(2)零位时的关节坐标为零;(3)零位时的系统姿态一致;(4)不易引入测量累积误差。
定义3:转动坐标矢量:绕坐标轴矢量
Figure PCTCN2018112809-appb-000371
转动
Figure PCTCN2018112809-appb-000372
角度的坐标矢量
Figure PCTCN2018112809-appb-000373
为
Figure PCTCN2018112809-appb-000374
定义4:平动坐标矢量:沿坐标轴矢量
Figure PCTCN2018112809-appb-000375
平动
Figure PCTCN2018112809-appb-000376
位置的平动矢量
Figure PCTCN2018112809-appb-000377
为
Figure PCTCN2018112809-appb-000378
定义5:自然坐标:以坐标轴矢量为参考方向,相对系统零位的关节角位置或线位置,记为q l;称与自然坐标一一映射的量为关节变量;其中:
Figure PCTCN2018112809-appb-000379
定义6:机械零位:对于运动副
Figure PCTCN2018112809-appb-000380
在初始时刻t 0时,关节绝对编码器的零位
Figure PCTCN2018112809-appb-000381
不一定为零,该零位称为机械零位;其中:
Figure PCTCN2018112809-appb-000382
故关节
Figure PCTCN2018112809-appb-000383
的控制量
Figure PCTCN2018112809-appb-000384
为
Figure PCTCN2018112809-appb-000385
定义7:自然运动矢量:相对坐标轴矢量
Figure PCTCN2018112809-appb-000386
平动或转动q l的运动坐标矢量
Figure PCTCN2018112809-appb-000387
为
Figure PCTCN2018112809-appb-000388
自然运动矢量实现了轴平动与转动的统一表达(Uniform Expression)。将由自然坐标轴矢量及关节确定的矢量,例如
Figure PCTCN2018112809-appb-000389
称为自由运动矢量(Free Motion Vector),亦称为自由螺旋(Free Screw)。显然,轴矢量
Figure PCTCN2018112809-appb-000390
是特定的自由螺旋。显然,螺旋是3D矢量。
定义8:关节空间:以关节坐标q l表示的空间称为关节坐标空间,简称关节空间(Joint Space)。
定义9:位形空间:称表达位置及姿态(简称位姿/Position and Orientation)的两个笛卡尔空间为位形空间(Configuration Space/CS),是双矢量空间(Dual Vector Space)或6D空间。
定义10:自然关节空间:以自然坐标系为参考,通过关节坐标
Figure PCTCN2018112809-appb-000391
表示,在系统零位时必有
Figure PCTCN2018112809-appb-000392
的空间,为自然关节空间。它是自然的关节坐标空间。
请参照图17。图17为固定轴不变量参考图。如图17所示,有杆件
Figure PCTCN2018112809-appb-000393
1701与杆件l 1702,给定链节
Figure PCTCN2018112809-appb-000394
原点O l受位置矢量
Figure PCTCN2018112809-appb-000395
1703约束的轴矢量
Figure PCTCN2018112809-appb-000396
1704为固定轴矢量(Fixed  Axis-vector),记为
Figure PCTCN2018112809-appb-000397
其中:
Figure PCTCN2018112809-appb-000398
轴矢量
Figure PCTCN2018112809-appb-000399
是关节自然坐标(Natural Coordinates of Joints)的自然参考轴。因
Figure PCTCN2018112809-appb-000400
是轴不变量,故称
Figure PCTCN2018112809-appb-000401
为固定轴不变量,它表征了运动副的
Figure PCTCN2018112809-appb-000402
结构关系。固定轴不变量
Figure PCTCN2018112809-appb-000403
是链节
Figure PCTCN2018112809-appb-000404
结构参数的自然描述。
固定轴不变量是自然运动(平动与转动)的单位参考轴,称之为自然坐标轴(Natural Coordinate-axis/NCA);以之为参考的坐标为自然坐标或关节坐标描述自然的平动与转动。
定义11:自然坐标轴空间:以固定轴不变量表示作为自然参考轴,以对应的自然坐标表示的空间称为自然坐标轴空间,简称自然轴空间。它是具有1个自由度的3D空间。
请再度参照图17。如图17所示,轴矢量
Figure PCTCN2018112809-appb-000405
1704及位置矢量
Figure PCTCN2018112809-appb-000406
1703不因杆件Ω l的运动而改变,是不变的结构参考量。
Figure PCTCN2018112809-appb-000407
确定了轴l相对于轴
Figure PCTCN2018112809-appb-000408
的五个结构参数;与运动参数q l一起,完整地表达了杆件Ω l的6D位形。给定
Figure PCTCN2018112809-appb-000409
时,杆件固结的关节坐标系可由结构参数
Figure PCTCN2018112809-appb-000410
及关节坐标
Figure PCTCN2018112809-appb-000411
唯一确定。称轴不变量
Figure PCTCN2018112809-appb-000412
固定轴不变量
Figure PCTCN2018112809-appb-000413
关节坐标
Figure PCTCN2018112809-appb-000414
及
Figure PCTCN2018112809-appb-000415
为自然不变量。显然,由固定轴不变量
Figure PCTCN2018112809-appb-000416
及自然坐标
Figure PCTCN2018112809-appb-000417
构成的关节自然不变量
Figure PCTCN2018112809-appb-000418
与由坐标系
Figure PCTCN2018112809-appb-000419
至F [l]确定的空间位形
Figure PCTCN2018112809-appb-000420
具有一一映射关系,即
Figure PCTCN2018112809-appb-000421
显然,固定轴不变量
Figure PCTCN2018112809-appb-000422
是运动轴l的自然坐标轴。与笛卡尔坐标轴不同在于:笛卡尔系具有三个正交的笛卡尔坐标轴构成;而自然坐标轴有且只有一个坐标轴。显然,三个独立的自然坐标轴,既可以定义一个三维空间的斜坐标系,又可以定义一个笛卡尔直角坐标系。在一个自由体上,可以定义三个独立的自然坐标轴作为该体的平动坐标系;又可以定义另三个独立的自然坐标轴作为该体的转动坐标系;即在一个自由体上定义六个独立的自然坐标轴作为该体平动及转动的六维空间参考。因此,以自然坐标轴为基础的自然参考系具有笛卡尔直角坐标系不具有的灵活性。
【1】当
Figure PCTCN2018112809-appb-000423
时,则有
Figure PCTCN2018112809-appb-000424
将3D转动矢量
Figure PCTCN2018112809-appb-000425
及3D平动矢量
Figure PCTCN2018112809-appb-000426
合写为6D的形式
Figure PCTCN2018112809-appb-000427
称之为固定运动螺旋(Fixed Motion Screw)或运动矢量,它具有一个平动自由度及一个转动自由度。相应地,称
Figure PCTCN2018112809-appb-000428
为固定螺旋轴,简称为螺旋轴;显然,
Figure PCTCN2018112809-appb-000429
是结构螺旋轴,它是螺旋轴的特例。因固定螺旋是螺旋轴的原点受约束的3D螺旋,故称固定螺旋为3D螺旋。与运动螺旋
Figure PCTCN2018112809-appb-000430
相对应,分别称
Figure PCTCN2018112809-appb-000431
及
Figure PCTCN2018112809-appb-000432
为速度及加速度螺旋。与固定运动螺旋相对的是3D力螺旋(Fixed Force Screw)。显然,螺旋轴具有5个独立参量,包含3P位置及2R姿态。
【2】当
Figure PCTCN2018112809-appb-000433
时,p l为螺旋步距,则有
Figure PCTCN2018112809-appb-000434
式(1.46)与式(1.47)等价,且有
Figure PCTCN2018112809-appb-000435
【3】当
Figure PCTCN2018112809-appb-000436
则有
Figure PCTCN2018112809-appb-000437
显然,称仅含一个转动自由度的
Figure PCTCN2018112809-appb-000438
为转动矢量,是运动矢量
Figure PCTCN2018112809-appb-000439
的特例。
【4】当
Figure PCTCN2018112809-appb-000440
则有
Figure PCTCN2018112809-appb-000441
显然,称仅含一个平动自由度的
Figure PCTCN2018112809-appb-000442
为平动矢量,是固定运动螺旋
Figure PCTCN2018112809-appb-000443
的特例。
关节坐标又称为自然坐标;同样有关节速度、关节加速度;它们合称为自然运动量。自然轴空间是由一组独立自然坐标轴构成的自然坐标轴链(Natural Coordinate-axis Chain)系统,简称自然轴链(Natural Axis Chain/NAS)系统。式(1.30)表明:与一个轴空间固结的轴不变量等价于该空间的单位基矢量;平移及转动一个固定轴不变量等价于平移及转动与之固结的自然系;固定轴不变量的平动与转动就是一个螺旋运动;自然坐标轴链与实际运动链的运动序列具有同构关系;运动链就是由一组有序的固定轴不变量构成的空间关系链。
式(1.46)至式(1.50)中的if语句间是“或”关系,以保证后续多轴系统运动学及动力学 方程数目与自由度相对应。在算法上,式(1.46)至式(1.50)自然地(Naturally/In a natural way)分配轴运动的计算空间;这与经典的运动螺旋具有本质区别。由自然坐标系、自然不变量及自然螺旋构成了运动链度量系统;它与链拓扑系统构成运动链符号演算系统。自然表达常常意味着简单、精确、优雅及清晰("Natural expression"often imply simplicity,accuracy,elegance and clarity);进一步,揭示多轴系统的本质;从而,提升系统计算精度、速度及可靠性。
由式(1.45)可知,固定轴不变量
Figure PCTCN2018112809-appb-000444
的关节坐标
Figure PCTCN2018112809-appb-000445
与坐标系
Figure PCTCN2018112809-appb-000446
及F [l]的位姿关系
Figure PCTCN2018112809-appb-000447
是一一映射的。三维空间下的线位移
Figure PCTCN2018112809-appb-000448
及角位移
Figure PCTCN2018112809-appb-000449
均是参考轴
Figure PCTCN2018112809-appb-000450
的螺旋运动
Figure PCTCN2018112809-appb-000451
因
Figure PCTCN2018112809-appb-000452
是不变量,即该坐标矢量是不变的,故称轴l的转动为定轴转动。由
Figure PCTCN2018112809-appb-000453
至F [l]的运动路径有无穷个,但存在唯一最短路径的运动,该运动即为定轴的螺旋运动。
请参照图18。图18为由双矢量确定的转动图。如图18所示,原点O l 1805,由初始时刻t 0的单位矢量
Figure PCTCN2018112809-appb-000454
1801经转动角度
Figure PCTCN2018112809-appb-000455
1804至t的单位矢量
Figure PCTCN2018112809-appb-000456
1802的转动等价为绕轴矢量
Figure PCTCN2018112809-appb-000457
1803经
Figure PCTCN2018112809-appb-000458
1804角度的转动。这表明:有向线段至有向线段的转动本质是绕轴的转动。称
Figure PCTCN2018112809-appb-000459
为零位矢量
Figure PCTCN2018112809-appb-000460
至当前矢量
Figure PCTCN2018112809-appb-000461
的轴矢量或螺旋轴。零位矢量
Figure PCTCN2018112809-appb-000462
向当前矢量
Figure PCTCN2018112809-appb-000463
方向转动1/4周的矢量称为
Figure PCTCN2018112809-appb-000464
至
Figure PCTCN2018112809-appb-000465
的径向矢量。这表明:由双矢量确定的转动与螺旋运动等价,其中:
Figure PCTCN2018112809-appb-000466
因此,沿轴的平动、绕轴的转动及其复合运动都是螺旋运动。
因圆柱副的运动是螺旋运动,故称圆柱副的轴为螺旋轴(Screw axis)。由式(1.46)可知,棱柱副、转动轴副、螺旋副是螺旋运动的特例;将螺旋运动的螺旋轴作为一般的运动轴或约束轴,有助于简化系统的实现。相应地,称以螺旋运动轴为基础的轴链为螺旋轴链,通过螺旋轴链的实例化,可以获得由平动轴、转动轴、螺旋轴构成的轴链。固定轴不变量本质上是螺旋轴不变量;由式(1.46)可知,固定轴不变量是运动矢量的参考轴。
以运动轴表征的运动链系统称为自然轴链系统;以笛卡尔坐标轴表征的运动链系统则称为笛卡尔轴链系统。后者是前者的特殊情形。由式(1.46)至式(1.50)是以平动矢量及转动矢量为基础,描述了以螺旋轴不变量为核心的螺旋运动;它的空间维度可以根据运动轴或约束轴的类别自适应地分配;从而,保证多轴系统分析的灵活性。故将式(1.46)至式(1.50)称为自然螺旋,它与现有文献的6D即双矢量的螺旋不同。由式(1.46)得6D运动矢量
Figure PCTCN2018112809-appb-000467
与 固定轴矢量
Figure PCTCN2018112809-appb-000468
的关系如下:
Figure PCTCN2018112809-appb-000469
式(1.52)中
Figure PCTCN2018112809-appb-000470
对时间的导数即
Figure PCTCN2018112809-appb-000471
在6D空间(双矢量/Dual vectors)算子代数中是以整体形式合写为运动旋量(Twist),将力与力矩两矢量合写为力旋量(Wrench)。它们是螺旋(Screw)的两种实例。
【1】多轴系统运动学及动力学理论感兴趣的是3D自然轴空间;仅在阐明与双矢量空间关系时,采用6D运动旋量及6D力旋量。因6D空间操作代数过于抽象,且6D空间操作代数运动学与动力学计算复杂度过大,违背多轴系统实时建模与控制理论建立的初衷。
【2】刚体的运动是6D的,该空间下的基元是体,即系统的层次是刚体;任一体是由三个独立的点经两两相对位置约束等价的;3个独立的点有9个维度,两两约束即约束了3个维度,故任一体具有6个维度。6D空间是双3D矢量空间,如式(1.5)至(1.8)所示。
6D运动矢量
Figure PCTCN2018112809-appb-000472
的速度及加速度也是运动矢量。3D运动矢量
Figure PCTCN2018112809-appb-000473
或
Figure PCTCN2018112809-appb-000474
及它们的速度与加速度也是运动矢量。通常,将6D运动矢量或3D运动矢量统称为运动矢量。轴链控制过程,就是通过平动及转动固定轴不变量,控制与系统固接的运动矢量与期望运动矢量对齐(Alignment)的过程。运动矢量
Figure PCTCN2018112809-appb-000475
由定点双矢量表示,其实线矢量表示位置矢量,虚线矢量表示转动矢量;当期望运动矢量
Figure PCTCN2018112809-appb-000476
与杆件l运动矢量
Figure PCTCN2018112809-appb-000477
重合时,则表示两个运动矢量对齐。
D-H系与D-H参数
D-H(Denavit and Hartenberg)系在机器人逆运动学计算中具有非常重要的作用。给定一个多轴系统,以任一状态作为系统零位。底座系根据实际需要确定,通常其原点置于第1根轴上。自然坐标系
Figure PCTCN2018112809-appb-000478
对应的D-H系记为
Figure PCTCN2018112809-appb-000479
根据D-H坐标系统的编号习惯,运动副
Figure PCTCN2018112809-appb-000480
对应的轴记为
Figure PCTCN2018112809-appb-000481
即D-H系统中的指标习惯遵从父指标,这一点与自然坐标系统的编号遵从子指标不同。
给定链节
Figure PCTCN2018112809-appb-000482
除叶杆件外,建立D-H系
Figure PCTCN2018112809-appb-000483
的过程如下:
【1】令
Figure PCTCN2018112809-appb-000484
及z l′分别在
Figure PCTCN2018112809-appb-000485
及
Figure PCTCN2018112809-appb-000486
上。
【2】作
Figure PCTCN2018112809-appb-000487
及z l′的公垂线与
Figure PCTCN2018112809-appb-000488
及z l′的交点分别为
Figure PCTCN2018112809-appb-000489
及O l′。其中:
Figure PCTCN2018112809-appb-000490
作为中间参考系
Figure PCTCN2018112809-appb-000491
的原点,O l′作为F [l′]的原点;即由运动副
Figure PCTCN2018112809-appb-000492
及
Figure PCTCN2018112809-appb-000493
的轴线共同确定与杆件
Figure PCTCN2018112809-appb-000494
固结的点O l′。
【3】选取由
Figure PCTCN2018112809-appb-000495
至z l′的方向定义为
Figure PCTCN2018112809-appb-000496
【4】若
Figure PCTCN2018112809-appb-000497
选择任一公垂线作为x l′。若
Figure PCTCN2018112809-appb-000498
及z l′相交,选其交点作为F [l′]的原点O l′。
【5】根据右手法则,补足y l′。
建立D-H系后,可以确定杆件
Figure PCTCN2018112809-appb-000499
的D-H参数:
【1】
Figure PCTCN2018112809-appb-000500
是由点
Figure PCTCN2018112809-appb-000501
至点
Figure PCTCN2018112809-appb-000502
的轴偏距;平移后
Figure PCTCN2018112809-appb-000503
与
Figure PCTCN2018112809-appb-000504
重合。
【2】
Figure PCTCN2018112809-appb-000505
是轴
Figure PCTCN2018112809-appb-000506
至轴l′x的转角;初态
Figure PCTCN2018112809-appb-000507
绕轴
Figure PCTCN2018112809-appb-000508
转动后,轴
Figure PCTCN2018112809-appb-000509
与轴l′x对齐,至中间坐标系
Figure PCTCN2018112809-appb-000510
【3】
Figure PCTCN2018112809-appb-000511
是由点
Figure PCTCN2018112809-appb-000512
至点O l′的轴距;平移后
Figure PCTCN2018112809-appb-000513
与O l′重合。
【4】
Figure PCTCN2018112809-appb-000514
是由轴
Figure PCTCN2018112809-appb-000515
至轴l′z的扭角;
Figure PCTCN2018112809-appb-000516
转动后,轴
Figure PCTCN2018112809-appb-000517
与轴l′z对齐,至终态F [l′];
由上可知,运动副
Figure PCTCN2018112809-appb-000518
具有三个D-H结构参数及一个运动参数,比刚体少了两个维度;因为D-H系依赖于公垂线,存在两个约束。在关节坐标系统,存在五个结构参数,一个运动参数,对应于刚体的六个维度。
在自然坐标系统下,运动副
Figure PCTCN2018112809-appb-000519
根杆件
Figure PCTCN2018112809-appb-000520
运动必导致叶杆件l运动,D-H系及D-H参数确定过程遵从由根至叶的次序;因子节点具有唯一的标识,叶杆件l的结构参数及运动参量指标与对应的杆件指标l相对应;运动参数及结构参数的度量以其父轴为参考。但是,对于D-H坐标系统,因为D-H系不是自然坐标系且结构参数表达是不自然的:D-H系及D-H参数确定过程比较繁琐;
Figure PCTCN2018112809-appb-000521
是运动参数,结构参数
Figure PCTCN2018112809-appb-000522
的指标是遵从父指标,违反了树链系统指标遵从子指标的约定。因此,D-H系及D-H参数确定过程不适用于树链系统。解决这一矛盾的方法是:运动副
Figure PCTCN2018112809-appb-000523
对应的轴记为l,杆件由1开始编号,令D-H编号遵从子指标。
同时,可知:杆件
Figure PCTCN2018112809-appb-000524
及l的D-H系分别记为
Figure PCTCN2018112809-appb-000525
及F [l′]。D-H运动链
Figure PCTCN2018112809-appb-000526
等价于笛卡尔轴链
Figure PCTCN2018112809-appb-000527
记轴类型序列或运动序列为
Figure PCTCN2018112809-appb-000528
记轴不变量序列为
Figure PCTCN2018112809-appb-000529
l′1n l′2=1 [z], l′2n l′3=1 [x]及 l′3n l′=1 [x]。由杆件
Figure PCTCN2018112809-appb-000530
的初始位形,经4个运动序列后,至杆件l的终态位形。
最后一个杆件l的D-H确定方法如下:
【1】期望点C(腕心)与杆件l固结;引入虚副 lV c,过点C作z c′,z l′||z c′;
【2】作z l′及z c′的公垂线,且与轴z l′及z c′分别相交于
Figure PCTCN2018112809-appb-000531
及O c′;选取任一方向,定义为x c′;
【3】按右手法则,补足y c′。
相应地,确定杆件l的D-H参数:
【1】
Figure PCTCN2018112809-appb-000532
是由O l′至
Figure PCTCN2018112809-appb-000533
的轴偏距。
【2】
Figure PCTCN2018112809-appb-000534
是由
Figure PCTCN2018112809-appb-000535
至C的轴偏距;
Figure PCTCN2018112809-appb-000536
是由
Figure PCTCN2018112809-appb-000537
至O c′的轴距。
【3】
Figure PCTCN2018112809-appb-000538
是由轴l′z至轴c′z的扭角;a C=0,是由O c′至C的轴距
D-H建立过程需要以自然坐标系为基础,即系统零位时,参考系方向保持一致;绕轴
Figure PCTCN2018112809-appb-000539
转动
Figure PCTCN2018112809-appb-000540
的过程是将轴
Figure PCTCN2018112809-appb-000541
与轴
Figure PCTCN2018112809-appb-000542
对齐的过程;绕轴
Figure PCTCN2018112809-appb-000543
转动
Figure PCTCN2018112809-appb-000544
的过程是将轴
Figure PCTCN2018112809-appb-000545
与轴l′z对齐的过程。称
Figure PCTCN2018112809-appb-000546
为关节角参考零位,
Figure PCTCN2018112809-appb-000547
为扭角参考零位。在D-H参数中,称
Figure PCTCN2018112809-appb-000548
及
Figure PCTCN2018112809-appb-000549
为结构参数;称
Figure PCTCN2018112809-appb-000550
及
Figure PCTCN2018112809-appb-000551
为参考零位。记转动副
Figure PCTCN2018112809-appb-000552
的D-H关节坐标为θ l,自然关节坐标为e l;则有
Figure PCTCN2018112809-appb-000553
要保证D-H参数运算的正确性,就必须保证初始参考的一致性,即需要以自然坐标系为参考,以自然关节坐标进行计算。否则,要么产生计算错误,要么增加系统计算的复杂性。轴不变量
Figure PCTCN2018112809-appb-000554
与第二部分将阐述的螺旋径向不变量
Figure PCTCN2018112809-appb-000555
可以确定D-H系。D-H系与D-H参数确定过程较繁琐,表达也不自然;因为正交的笛卡尔系在工程上易于引入测量误差,难以满足精密多轴系统的工程需求。但其结构参数较少,在逆运动学计算时有一定优势。
上述D-H系确定规则只是诸多方法的一种。只要保证结构参数为3个及运动参数为1个的坐标,均可视为D-H系统。应用D-H系的目的主要是为了简化逆运动学的分析与求解。
一方面,不以一定的参考对象为基准,就无法认识事物的属性。另一方面,相对不同参考基准的属性量之间存在共有的、不变的量即不变量;否则,就不能反映事物的客观性。
参考对象通常包含:参考点、参考轴、参考系等。不变性是事物属性及属性间作用规律的客观性。序不变性、张量不变性及对偶性是系统研究的基本准则。
张量不变性是指所有基分量与坐标分量的代数积之和具有不变性。包含标量、矢量及二阶张量的张量不变性正是系统属性的客观性反映;等价于不同度量单位与度量数量的乘积要 保持不变;否则,会导致人为的度量错误。
除了轴不变量
Figure PCTCN2018112809-appb-000556
固定轴不变量
Figure PCTCN2018112809-appb-000557
自然坐标δ [i][k]及
Figure PCTCN2018112809-appb-000558
等自然不变量之外,客观世界存在其它多种不变量;比如,圆周率π,指数e,光速c等。发现及应用不变量来解决问题是科学研究的永恒主题。
客观的自然空间是3D的,该空间下的基元是点,即该系统的最小粒度是空间点;3D是自然空间的不变量。给定一个惯性单元,三轴加速度具有三个独立的维度;任何加装的其它加速度计检测的加速度与这三个独立的三轴加速度是相关的;实际的加速度在同一时刻仅能有三个独立的加速度等价。同样,轴不变量是多轴系统运动学及动力学系统的基元,通过它可以建立精确的、实时的、具有通用性的仿真分析系统及控制系统。
对于不同的运动副,自由度及约束度是运动副的不变量,它们对应于不同的子空间。以自然坐标系为参考时,坐标轴矢量是不依赖于相邻杆件体系的坐标矢量,是一个特定的不变量,其依赖的系统层次是运动副,反映了相邻杆件的共轴性,即是一个公共的参考轴。
不变量是一类事物或系统属性的反映。同样,由运动副及杆件构成的多轴系统,自然存在该系统层次下的诸多不变量。
序不变性是指系统连接次序不因参考基准不同而发生改变。无论空间系统有多复杂,它总以点为基元;在不同的系统层次下,点与点之间存在序的作用关系,包含:相邻点的位置关系、质点间的运动传递关系、质点间的内力传递关系等。序不变性是理论系统及计算系统正确性的基本保证。
对偶性是指相互依存的两个属性具有相对的作用及相互依存的共同属性;比如:力与运动具有对偶性、基与坐标具有对偶性。与不变性及对偶性密切相关的是不变量,它是指不依赖于所有或部分参考基而存在的量。
正如我们认识世界一样:首先,从自我的角度理解问题;然后,才能从他人的角度去思考。显然,自我参考(Ego Reference)是认识事物的前提;超我参考(Superego Reference)是合作共存的基本保证。正确认识多轴系统运动特性,也需要自我参考及超我参考。建立参考标架是认识事物的基本前提。
【1】在多轴系统,必须区分物理量是否可测与是否可控;传统的运动学与动力学理论总是置可控性与可测性于不顾,易导致物理上的不可实现及理论分析的无意义;只有具有可控制性的运动量,在工程上才能被控制;只有具有可观测性的运动量,在工程上才能被测量。
【2】在多轴系统当中,可控的及可测的运动量在结构上必须存在相应的轴向连接;即只有同一个运动副的运动量是可控的及可测的,不同运动副的运动量是不可控的及不可测的;
由式(1.46)可知,自我参考的角位移
Figure PCTCN2018112809-appb-000559
及线位移
Figure PCTCN2018112809-appb-000560
是直接可测的及可控制的;同样,自我参考的角速度
Figure PCTCN2018112809-appb-000561
及线速度
Figure PCTCN2018112809-appb-000562
是直接可测的及可控制的;自我参考的转动速度
Figure PCTCN2018112809-appb-000563
及平动
Figure PCTCN2018112809-appb-000564
也是可控的及可测的,因为它们的结构参数及运动参数是可测量的。因此,称直接可测运动量的参考系为度量坐标系(Measure Reference Frame)。若
Figure PCTCN2018112809-appb-000565
及
Figure PCTCN2018112809-appb-000566
通常是不直接可控及可测的;
Figure PCTCN2018112809-appb-000567
及
Figure PCTCN2018112809-appb-000568
也是不直接可控及可测的。因此,投影算子 |□区分了不可测、不可控制的运动量。概念上的投影仅保证度量在数量上的等价,而不具有物理的可控性及可测性。故称间接测量的参考系为投影参考系(Projection Reference Frame)。
链节的运动量在物理上是可控制的及可测的,链节是运动链串接过程的基本单位,是不可逾越的;否则,违反运动链的传递性。
运动链度量公理
公理1.2给定运动链
Figure PCTCN2018112809-appb-000569
以运动链拓扑空间算子为基础的三维矢量空间算子具有运动链度量公理(Metric Axioms of KC):
【1】运动矢量的偏序性
根据运动链拓扑公理及参考的一致性,得
Figure PCTCN2018112809-appb-000570
Figure PCTCN2018112809-appb-000571
式(1.54)至(1.55)表明:链节
Figure PCTCN2018112809-appb-000572
的关节角位置
Figure PCTCN2018112809-appb-000573
及线位置
Figure PCTCN2018112809-appb-000574
转动矢量
Figure PCTCN2018112809-appb-000575
及平动矢量
Figure PCTCN2018112809-appb-000576
是运动链的基本属性;具有正序及逆序的等价性即具有全序性。
【2】运动链逆向运动的传递性及可加性:
Figure PCTCN2018112809-appb-000577
Figure PCTCN2018112809-appb-000578
式(1.56)至(1.57)表明:属性p的坐标矢量 ip l、属性P的二阶坐标张量 iP l对于闭子树 kL的可加性;反映叶向作用力对根向作用力的传递性及可加性。任一和项的参考指标需一致,任一积项的指标满足对消原则,即前一个积项的右下角指标与后一个积项的左上角指标相同且可对消。等式两侧的链序一致,即运动链的连接次序保持不变。
【3】运动链前向运动的传递性及可加性:
Figure PCTCN2018112809-appb-000579
Figure PCTCN2018112809-appb-000580
式(1.58)及(1.59)表明:属性p的坐标矢量
Figure PCTCN2018112809-appb-000581
属性P的二阶坐标张量
Figure PCTCN2018112809-appb-000582
对于运动链 il j的串接性;具有迭代的关系式。反映根向运动对叶向运动的串接性及可加性。
正因为运动链前向运动的传递性及可加性、运动链逆向作用力的传递性及可加性,产生运动副运动的全序性及运动链运动的全序性。
由运动链符号系统规范、自然坐标系统、运动链公理构建了运动链符号演算系统;它为基于轴不变量的多轴系统建模与控制提供了元系统。
首先,以运动链拓扑空间算子为基础,建立三维矢量空间操作代数;进一步,为建立基于轴不变量的多轴系统运动学理论奠定基础。
笛卡尔直角坐标空间是三维点积空间或酉空间。相对于不同笛卡尔直角坐标系(简称笛卡尔系)的距离及角度具有不变性。在点积空间下,除了具有加法及标量乘运算外,矢量还具有点积及叉积运算。笛卡尔系是三维矢量空间的基本要素或基元。
然而,笛卡尔系是两两正交的三个自然坐标轴构成的系统。因此,笛卡尔坐标轴系统是自然坐标轴系统的特例。
尽管矢量的点积及叉积运算的几何含义非常清晰;但是,难以揭示复杂矢量空间运算的规律。需要建立公理化的矢量空间操作代数(Operation Algebra)系统,将几何的矢量分析方法转化为代数的分析方法。不仅可以进一步揭示复杂矢量空间下的规律,而且适应数值计算机的结构特点。从而,为树链多轴系统的运动学与动力学分析奠定基础。
三维矢量空间操作代数是一个公理化的系统:真实三维空间的点是三维矢量空间的基元,任两个独立的空间点构成线,任三个独立的空间点构成体。三维是客观世界的自然本征量。应用高维空间理论解决低维空间的问题,必然会带来计算效率及可理解性方面的问题。六维空间算子代数正是以六维矢量空间的理论解决真实三维空间问题的典型例证。
算子是数学概念,操作是计算机概念。之所以称为三维矢量空间操作代数,是因为该代数系统是适应计算机处理的:一方面,符号系统是简洁、精确,结构化的,不仅易于理解,也易于计算机操作;另一方面,操作是机械性的过程,是以简洁的基本操作为基础的,过程具有简洁的迭代式结构,在技术实现上是简洁的及高效率的。更重要的是:操作既包含函数 运算,又包含逻辑判断。一方面,三维空间操作代数以树链拓扑符号系统为基础,取父、取运动链及取闭子树等拓扑操作是关于轴序列及父轴序列的离散操作过程;另一方面,该空间操作代数是以符号演算、动作(投影、对齐及转矩等)及矩阵操作为核心的。在计算机自动建模与分析时,需要判别属性符号的构成与指标,需要执行阵列元素的访问操作。
笛卡尔直角坐标系F [l]=O l-x ly lz l由原点O l及三个正交的坐标轴构成;坐标轴的单位矢量称为坐标基,记为
Figure PCTCN2018112809-appb-000583
及
Figure PCTCN2018112809-appb-000584
是三个独立的符号,且有
Figure PCTCN2018112809-appb-000585
式表示:1 [x]、1 [y]及1 [z]是三个独立的3D坐标基矢量;同时,由式(1.60)可知:单位基矢量e l与单位坐标基1一一映射,即转动单位基矢量e l等价于转动与之固结的任一单位坐标基1,即有
Figure PCTCN2018112809-appb-000586
显然,坐标基1张成了一个单位立方体;转动刚体上任一单位立方体1与基矢量e l等价。
基与坐标在序上具有对偶性(Duality),它们的点积(代数积)具有不变性,位置矢量
Figure PCTCN2018112809-appb-000587
与基坐标关系为
Figure PCTCN2018112809-appb-000588
由式可知,矢量
Figure PCTCN2018112809-appb-000589
是基矢量e l及坐标矢量
Figure PCTCN2018112809-appb-000590
的点积,是关于基分量的一次式;矢量是一阶张量,是不变量;即
Figure PCTCN2018112809-appb-000591
基矢量e l与坐标
Figure PCTCN2018112809-appb-000592
构成“基架-坐标”对。基矢量e l与坐标或坐标矢量
Figure PCTCN2018112809-appb-000593
是对偶的;前者服从左手序即以行向量表示,后者服从右手序即以列向量表示;套用唯物辩证法的语言表述为:基矢量e l与坐标矢量
Figure PCTCN2018112809-appb-000594
分别表示位置矢量中互为对偶的两个方面,它们相互依存,是不可分割的整体。
因
Figure PCTCN2018112809-appb-000595
故有
Figure PCTCN2018112809-appb-000596
由式可知,转置符号“□ T”不改变上下指标的次序即链序,仅改变数据的排列次序。
由式可知:矩阵积符号即为代数积符号“·”;在本书中,该符号起到间隔不同属性符号的作用,使表达式更加清晰。
记两个矢量的外积或外部积符号为ο,计算过程如下:
Figure PCTCN2018112809-appb-000597
其计算结果为矩阵,即两个1阶矢量外积后,结果的阶次为2阶。显然,两个1阶矢量内积后的阶次为0,即标量。
【1】基的外标量积
由基矢量e l与基矢量(一阶张量)e l外积是基矢量e l的并矢,即按标量积运算“·”构成二阶张量,即基矢量e l(任意一个单位置矢量)相对于自身的投影;
Figure PCTCN2018112809-appb-000598
故有
Figure PCTCN2018112809-appb-000599
由得δ [i][k],
Figure PCTCN2018112809-appb-000600
称δ [i][k]为克罗内克符号。式中δ [i][k]与线性代数中的定义相比,除了指标表示方法不同外,其它完全一致。
【2】基的外矢量积
基矢量e l并矢即
Figure PCTCN2018112809-appb-000601
外矢量积,按叉积运算构成二阶张量,故有
Figure PCTCN2018112809-appb-000602
并定义基矢量的叉乘矩阵,
Figure PCTCN2018112809-appb-000603
Figure PCTCN2018112809-appb-000604
是由e l组成的二阶张量,其元素对应于单位立方体的六个面的法向,表示具有反对称性的空间旋转;式服从逆序。
Figure PCTCN2018112809-appb-000605
的螺旋轴矢量即轴矢量表示如下:
Figure PCTCN2018112809-appb-000606
式中,
Figure PCTCN2018112809-appb-000607
是一个反对称矩阵,
Figure PCTCN2018112809-appb-000608
与e l具有一一映射的关系,即
Figure PCTCN2018112809-appb-000609
转动基矢量
Figure PCTCN2018112809-appb-000610
与平动单位基e l是对偶的。
Figure PCTCN2018112809-appb-000611
的右上三角元素遵从左手序(反序),即
Figure PCTCN2018112809-appb-000612
基矢量e l的左手序具有不变性,其中i,j∈{1,2,3}。显然,上标的波浪符
Figure PCTCN2018112809-appb-000613
是一个衍生符,因为它仅改变□的排列形式。称e l是
Figure PCTCN2018112809-appb-000614
的逆序轴矢量。由式可知
Figure PCTCN2018112809-appb-000615
其中:
Figure PCTCN2018112809-appb-000616
为李奇符号,且有
Figure PCTCN2018112809-appb-000617
式中
Figure PCTCN2018112809-appb-000618
除指标表示不同外与线性代数中的定义完全一致。由式可知,基矢量e l服从左手序。
Figure PCTCN2018112809-appb-000619
与e l具有一一映射的关系;
Figure PCTCN2018112809-appb-000620
与e l方向相反,
Figure PCTCN2018112809-appb-000621
服从左手序。式(1.31)中的二阶基分量与其一阶基分量的叉乘矩阵相对应。因
Figure PCTCN2018112809-appb-000622
故
Figure PCTCN2018112809-appb-000623
与e l正交。式中的{x,y,z}的右手序包含:[x,y,z]、[y,z,x]及[z,x,y];其它为左手序。由式及式可知:基的外矢量积表示基的螺旋二阶张量。
【3】基矢量的矢量积
因
Figure PCTCN2018112809-appb-000624
是任意一个单位基矢量,故有叉积,亦称矢量积,
Figure PCTCN2018112809-appb-000625
式表明,在笛卡尔直角坐标系下,
Figure PCTCN2018112809-appb-000626
表示空间旋转,e l表示空间平移;因e l等价于
Figure PCTCN2018112809-appb-000627
共轴线的平动与转动不存在耦合,即空间螺旋线上的平动与转动互不影响。
矢量积运算
【1】坐标矢量的外代数积
称
Figure PCTCN2018112809-appb-000628
为外代数积,它是由
Figure PCTCN2018112809-appb-000629
及
Figure PCTCN2018112809-appb-000630
两个一阶矢量张成的二阶张量,即基矢量e l位于外侧的矩阵代数积运算,
Figure PCTCN2018112809-appb-000631
故定义其坐标形式为
Figure PCTCN2018112809-appb-000632
因此,外积运算是一种特定的矩阵运算。
【2】坐标矢量的外标量积
称
Figure PCTCN2018112809-appb-000633
为坐标矢量的外标量积,是基矢量e l位于内侧的外点积,
Figure PCTCN2018112809-appb-000634
故其坐标形式为
Figure PCTCN2018112809-appb-000635
由式可知:坐标矢量内积运算可以用矩阵乘“·”即代数乘表示。
【3】矢量的矢量积
称e l· lω j×e l· l|jr k为矢量积,即基矢量e l位于内侧的矢量积运算,
Figure PCTCN2018112809-appb-000636
证明:
Figure PCTCN2018112809-appb-000637
故式成立。证毕。
矢量的转动
基矢量
Figure PCTCN2018112809-appb-000638
及基矢量e l的外点积定义为
Figure PCTCN2018112809-appb-000639
则有
Figure PCTCN2018112809-appb-000640
证明:因
Figure PCTCN2018112809-appb-000641
则有
Figure PCTCN2018112809-appb-000642
由式(1.79)得
Figure PCTCN2018112809-appb-000643
证毕。
显然,
Figure PCTCN2018112809-appb-000644
是关于
Figure PCTCN2018112809-appb-000645
及e l二次多项式,即
Figure PCTCN2018112809-appb-000646
是二阶张量。式表明该式两边的链符号是一致的。式表明:矢量空间下的转动具有度量的不变性。由式得
Figure PCTCN2018112809-appb-000647
由式及式得
Figure PCTCN2018112809-appb-000648
即
Figure PCTCN2018112809-appb-000649
由式得
Figure PCTCN2018112809-appb-000650
即
Figure PCTCN2018112809-appb-000651
Figure PCTCN2018112809-appb-000652
式及为基变换公式;显然,指标 l· l满足对消法则。由式得
Figure PCTCN2018112809-appb-000653
由式及式得
Figure PCTCN2018112809-appb-000654
由上可知:
由式可知,
Figure PCTCN2018112809-appb-000655
表示由
Figure PCTCN2018112809-appb-000656
到F [l]的姿态,即由
Figure PCTCN2018112809-appb-000657
转动至l,链序由左上指标至右下指标确定。
由式可知,
Figure PCTCN2018112809-appb-000658
是以
Figure PCTCN2018112809-appb-000659
系为参考的坐标阵列,是e l的三个基分量分别对
Figure PCTCN2018112809-appb-000660
三个基分量的投影矢量;故
Figure PCTCN2018112809-appb-000661
是投影矢量序列。因笛卡尔轴是正交的,故
Figure PCTCN2018112809-appb-000662
是正射投影(Orthogonal Projection),具有是“保角”及“保距”的属性。
由式可知,
Figure PCTCN2018112809-appb-000663
是方向余弦矩阵(DCM),即有
Figure PCTCN2018112809-appb-000664
由式可知,坐标基的外点积是基分量间的投影标量;由式(1.29)可知,基矢量的内积是基矢量间的标量投影。由式可知,虽然方向余弦是全序的,但方向余弦矩阵是偏序的。
由式可知:
Figure PCTCN2018112809-appb-000665
故
Figure PCTCN2018112809-appb-000666
因
Figure PCTCN2018112809-appb-000667
是3·3的实矩阵,故有三个单位特征值;其中一个必为实数,记为
Figure PCTCN2018112809-appb-000668
另两个为共轭复数
Figure PCTCN2018112809-appb-000669
与
Figure PCTCN2018112809-appb-000670
且
Figure PCTCN2018112809-appb-000671
又因
Figure PCTCN2018112809-appb-000672
故有
Figure PCTCN2018112809-appb-000673
因此,
Figure PCTCN2018112809-appb-000674
必有特征值
Figure PCTCN2018112809-appb-000675
由第3章可知,
Figure PCTCN2018112809-appb-000676
的特征值1对应的特征矢量即为轴不变量
Figure PCTCN2018112809-appb-000677
【2】矢量的投影
若矢量
Figure PCTCN2018112809-appb-000678
与坐标基e l固结,矢量
Figure PCTCN2018112809-appb-000679
对坐标基
Figure PCTCN2018112809-appb-000680
的投影矢量记为
Figure PCTCN2018112809-appb-000681
矢量
Figure PCTCN2018112809-appb-000682
对坐标基e l的投影矢量为
Figure PCTCN2018112809-appb-000683
则有
Figure PCTCN2018112809-appb-000684
将式代入式得
Figure PCTCN2018112809-appb-000685
故有
Figure PCTCN2018112809-appb-000686
由式及式得
Figure PCTCN2018112809-appb-000687
式及式为坐标变换即投影矢量公式。式为投影矢量的右序形式,即将位于投影算子
Figure PCTCN2018112809-appb-000688
右侧的相对F [l]系表示的矢量投影至该算子左侧的
Figure PCTCN2018112809-appb-000689
系;式为投影矢量的左序形式,即将位于投影算子
Figure PCTCN2018112809-appb-000690
的相对
Figure PCTCN2018112809-appb-000691
系表示的矢量投影至该算子右侧的F [l]系。
与
Figure PCTCN2018112809-appb-000692
同序的
Figure PCTCN2018112809-appb-000693
表示转动,与
Figure PCTCN2018112809-appb-000694
反序的
Figure PCTCN2018112809-appb-000695
表示投影。通过转动
Figure PCTCN2018112809-appb-000696
将方向矢量
Figure PCTCN2018112809-appb-000697
与方向矢量
Figure PCTCN2018112809-appb-000698
对齐,通过平动实现位置矢量对齐,通过运动实现定点方向矢量对齐。因此,式物理含义为:当系统处于零位时,
Figure PCTCN2018112809-appb-000699
给定任意两个坐标矢量
Figure PCTCN2018112809-appb-000700
及
Figure PCTCN2018112809-appb-000701
此时
Figure PCTCN2018112809-appb-000702
即期望两矢量
Figure PCTCN2018112809-appb-000703
与
Figure PCTCN2018112809-appb-000704
趋向对齐;经过转动
Figure PCTCN2018112809-appb-000705
后,
Figure PCTCN2018112809-appb-000706
即将
Figure PCTCN2018112809-appb-000707
与
Figure PCTCN2018112809-appb-000708
对齐。
同样,
Figure PCTCN2018112809-appb-000709
含义表述为:当系统处于零位时,
Figure PCTCN2018112809-appb-000710
给定任意期望坐标矢量
Figure PCTCN2018112809-appb-000711
及与杆件固结的坐标矢量
Figure PCTCN2018112809-appb-000712
此时,有
Figure PCTCN2018112809-appb-000713
即期望两矢量
Figure PCTCN2018112809-appb-000714
与
Figure PCTCN2018112809-appb-000715
趋向对齐;经过转动
Figure PCTCN2018112809-appb-000716
后
Figure PCTCN2018112809-appb-000717
两方向逐渐趋向对齐;再次转动
Figure PCTCN2018112809-appb-000718
后,
Figure PCTCN2018112809-appb-000719
即
Figure PCTCN2018112809-appb-000720
与
Figure PCTCN2018112809-appb-000721
已对齐。这是由根对叶的正向转移过程。
显然有,
Figure PCTCN2018112809-appb-000722
故有
Figure PCTCN2018112809-appb-000723
矢量的一阶螺旋矩
“右手法则”本质上用于确定右手螺旋,大姆指的指向是“螺旋矩”(Screw Moment)的方向。平动与转动是螺旋运动的两个对偶方面,力与力矩是力螺旋的两个对偶方面。“螺旋矩”简称为“矩”是固定矢量平移过程产生的转动效应(Turning Effect)。
如图18所示,零位矢量
Figure PCTCN2018112809-appb-000724
作用(Action)于当前矢量
Figure PCTCN2018112809-appb-000725
的“螺旋矩”是在它们轴矢量
Figure PCTCN2018112809-appb-000726
上产生的转动效应。根据右手法则可以确定零位矢量
Figure PCTCN2018112809-appb-000727
至当前矢量
Figure PCTCN2018112809-appb-000728
的轴矢量
Figure PCTCN2018112809-appb-000729
即通过两个矢量的叉乘得到它们的轴矢量。“螺旋矩”应视为的动作,其过程为:先向径向矢量投影与再绕零位矢量转动1/4周。
记3D矢量
Figure PCTCN2018112809-appb-000730
及3D转动速度矢量
Figure PCTCN2018112809-appb-000731
运算,则有
Figure PCTCN2018112809-appb-000732
其中:
Figure PCTCN2018112809-appb-000733
证明:由式得
Figure PCTCN2018112809-appb-000734
其中:\为续行符。又
Figure PCTCN2018112809-appb-000735
故有
Figure PCTCN2018112809-appb-000736
证毕。
由式(1.92)可知:
【1】由矢量 lω k唯一确定了该矢量的叉乘矩阵
Figure PCTCN2018112809-appb-000737
将 lω k称为
Figure PCTCN2018112809-appb-000738
的轴矢量;
【2】坐标矢量的“叉乘运算”可应用对应“叉乘矩阵”替代,后续通常不再使用叉乘符号;
【3】同时,
Figure PCTCN2018112809-appb-000739
表示转动与平动的耦合,参考基为e l。因
Figure PCTCN2018112809-appb-000740
是e l的切空间或切标架,故
Figure PCTCN2018112809-appb-000741
表示由 lω j至 lr k的切向量。因
Figure PCTCN2018112809-appb-000742
与e l正交,故式(1.92)中
Figure PCTCN2018112809-appb-000743
表示 l|jr k的螺旋变换,即
Figure PCTCN2018112809-appb-000744
是由坐标矢量 lω j至坐标矢量 l|jr k的正交坐标矢量;
【4】因根方向的转动牵连叶方向的平动,满足 l· l链序的对消法则,体现平动与转动的对偶性。投影符清晰表达了链序的作用关系,书写也简单方便。
“叉乘”表示坐标矢量由右至左的矢量积运算,由左至右的“螺旋矩”表示运动状态的变更,具有链序关系,二者互为对偶。
Figure PCTCN2018112809-appb-000745
对
Figure PCTCN2018112809-appb-000746
产生的螺旋矩
Figure PCTCN2018112809-appb-000747
为速度,
Figure PCTCN2018112809-appb-000748
对
Figure PCTCN2018112809-appb-000749
产生的“矩”
Figure PCTCN2018112809-appb-000750
为力矩(Torque/Force Moment)。由
Figure PCTCN2018112809-appb-000751
与
Figure PCTCN2018112809-appb-000752
可知:转动 i|lω k与力作用
Figure PCTCN2018112809-appb-000753
的序是对偶的。将不区分链序关系的叉乘称为矩,将具有n个叉乘的运算称为n阶矩,比如2阶惯性矩
Figure PCTCN2018112809-appb-000754
因运动状态与力的作用是对偶的,故常把它们分别表示在方程的两侧;否则,需要加“-”,进行序的变更。运动状态变更的原因是力的作用;前者的角速度位于左侧,遵从左手序;后者的力位于右侧,遵从右手序。
同时,有下式成立。
Figure PCTCN2018112809-appb-000755
证明:因
Figure PCTCN2018112809-appb-000756
又
Figure PCTCN2018112809-appb-000757
故式成立。
对比式及式(1.93)可知:坐标基的叉乘矩阵与坐标矢量的叉乘矩阵具有相反的链序关系,反映了坐标基与坐标矢量的对偶性。式(1.93)的作用在于:将几何形式的叉积运算转换为代数式的叉乘矩阵运算。
绕坐标轴的简单转动仅仅是转动的特殊形式。事实上:刚体在空间下绕任一轴转动,由转动前至转动后的状态即旋转变换阵可以由该转动轴矢量及转动角度唯一确定。坐标矢量存在唯一对应的矩阵,该坐标矢量为其对应矩阵的轴矢量(Axis Vector)。
定义12:称坐标矢量 lω j就是其叉乘矩阵
Figure PCTCN2018112809-appb-000758
的轴矢量。并记为
Figure PCTCN2018112809-appb-000759
任一矩阵 kM l可表示为
Figure PCTCN2018112809-appb-000760
其中:
Figure PCTCN2018112809-appb-000761
为对称阵,
Figure PCTCN2018112809-appb-000762
为反对称阵。由上可知,
Figure PCTCN2018112809-appb-000763
存在轴矢量。
定义13:称矩阵 kM l的反对称阵
Figure PCTCN2018112809-appb-000764
的轴矢量为矩阵 kM l的轴矢量。
根据上面定义得
Figure PCTCN2018112809-appb-000765
故有
Figure PCTCN2018112809-appb-000766
给定任一矢量
Figure PCTCN2018112809-appb-000767
及矢量 lr k,则有
Figure PCTCN2018112809-appb-000768
证明:
Figure PCTCN2018112809-appb-000769
是反对称矩阵,是矩阵
Figure PCTCN2018112809-appb-000770
的反对称阵部分。对
Figure PCTCN2018112809-appb-000771
(*表示任何符号),有
Figure PCTCN2018112809-appb-000772
由式得
Figure PCTCN2018112809-appb-000773
故有
Figure PCTCN2018112809-appb-000774
考虑式(1.97)的轴矢量定义,可知式(1.99)成立。证毕。
由式(1.99)可知:右式为由左至右的叉乘即螺旋矩,左式为由右至左的坐标运算,二者具有对偶的关系。
二阶张量投影
将
Figure PCTCN2018112809-appb-000775
在j系下的表示(投影)记为
Figure PCTCN2018112809-appb-000776
因二阶张量是不变量,则有
Figure PCTCN2018112809-appb-000777
因
Figure PCTCN2018112809-appb-000778
及
Figure PCTCN2018112809-appb-000779
是基的二次式,具有标量的形式,是不变量。
由式得
Figure PCTCN2018112809-appb-000780
故
Figure PCTCN2018112809-appb-000781
式是二阶张量坐标阵列的变换公式,即相似变换公式。简单说:相似变换即是二阶张量的坐标变换即为投影。同样,二阶张量的投影可以清晰地表达链序关系,书写也很简洁。
运动链的前向迭代与逆向递归
给定运动链
Figure PCTCN2018112809-appb-000782
则有
Figure PCTCN2018112809-appb-000783
即
Figure PCTCN2018112809-appb-000784
由式及式得
Figure PCTCN2018112809-appb-000785
故有
Figure PCTCN2018112809-appb-000786
式的物理含义表述为:系统处理零位时,
Figure PCTCN2018112809-appb-000787
先将与杆件l固结的位矢
Figure PCTCN2018112809-appb-000788
平移
Figure PCTCN2018112809-appb-000789
后将转动
Figure PCTCN2018112809-appb-000790
从而,使
Figure PCTCN2018112809-appb-000791
与
Figure PCTCN2018112809-appb-000792
对齐。考虑运动链 0l 3C=(0:3,3C],运动过程是由根向叶的正向迭代,故有运动链计算的逆向递归过程
0r 1+ 0Q 1·( 1r 2+ 1Q 2·( 2r 3+ 2Q 3· 3r 3C))= 0r 3C,
其等价为运动链的前向迭代过程
0r 1+ 0|1r 2+ 0|2r 3+ 0|3r 3C= 0r 3C;
递归过程的物理含义表述为:系统处理零位时
Figure PCTCN2018112809-appb-000793
其中:l∈[1:3];先将与杆件3固结的位矢
Figure PCTCN2018112809-appb-000794
平动 0r 1,再转动 0Q 1;接着平动 1r 2,再转动 1Q 2;最后,平动 2r 3,再转动 2Q 3;这是使
Figure PCTCN2018112809-appb-000795
与
Figure PCTCN2018112809-appb-000796
对齐的正向转移过程。在数值计算时,递归过程对内存访问的次数少,故其要比对应的迭代过程快得多。将式重新表示为
Figure PCTCN2018112809-appb-000797
其中:
Figure PCTCN2018112809-appb-000798
称
Figure PCTCN2018112809-appb-000799
及
Figure PCTCN2018112809-appb-000800
分别为
Figure PCTCN2018112809-appb-000801
及
Figure PCTCN2018112809-appb-000802
的齐次(Homogeneous)坐标;称
Figure PCTCN2018112809-appb-000803
为链节
Figure PCTCN2018112809-appb-000804
的转移矩阵(Transformation Matrix),表示
Figure PCTCN2018112809-appb-000805
至l的螺旋运动。
【1】齐次逆变换
由式及式(1.55)得
Figure PCTCN2018112809-appb-000806
将式(1.108)重新表示为
Figure PCTCN2018112809-appb-000807
其中:
Figure PCTCN2018112809-appb-000808
【2】齐次变换阵的串接性
Figure PCTCN2018112809-appb-000809
证明:
Figure PCTCN2018112809-appb-000810
证毕。
式(1.111)表明齐次变换阵具有串接性。
【3】缩放齐次变换的链符号
记体l的同名体为l′,即l=l′。记由体l至其同名体l′缩放矢量为 lc l′;其对应的缩放矩阵记为 lC l′,称 lc l′为 lC l′的轴矢量;其中:
Figure PCTCN2018112809-appb-000811
故有缩放变换
Figure PCTCN2018112809-appb-000812
矢量
Figure PCTCN2018112809-appb-000813
表示是由矢量
Figure PCTCN2018112809-appb-000814
经 lC l′缩放得到的。显然有
Figure PCTCN2018112809-appb-000815
记缩放齐次变换阵为
Figure PCTCN2018112809-appb-000816
故有
Figure PCTCN2018112809-appb-000817
因为
Figure PCTCN2018112809-appb-000818
故有
Figure PCTCN2018112809-appb-000819
即
Figure PCTCN2018112809-appb-000820
式(1.112)右侧链序为
Figure PCTCN2018112809-appb-000821
表明物理含义为:是“先平动—再转动—后缩放”的正向转移过程。
因
Figure PCTCN2018112809-appb-000822
故有
Figure PCTCN2018112809-appb-000823
即
Figure PCTCN2018112809-appb-000824
式(1.113)右侧链序为
Figure PCTCN2018112809-appb-000825
表明物理含义为:是“先缩放—再转动—后平动”的逆向转移过程。
缩放齐次变换在3D系统中具有广泛应用。机器人中,体l′一般是一个异形杆件。在机械制图时,制图单位与机器人运动分析及导航控制时采用的单位可能不一致,或者机器人杆件自身具有三轴形变,常常需要将杆件l′上的任一点l′ S按其体系l′进行三轴缩放,缩放后的体为 其同名体l。在机器视觉测量时,镜头实现了对场景的物点l′ S与像点l S的变缩放变换,在机器视觉计算时也常常应用到缩放齐次变换。因此,缩放齐次变换是机器人运动链分析的基本运算方法之一。
【4】无穷远点的齐次坐标
若
Figure PCTCN2018112809-appb-000826
时,则有
Figure PCTCN2018112809-appb-000827
由式(1.114)可知:无限远的矢量只有方向,而位置无法确定;齐次坐标构成的空间是四维的;但齐次坐标不是矢量,而是数组。
由式(1.114)可知:只有定位矢量才存在齐次变换,它反映了运动链节间存在运动的牵连;而对于自由矢量,例如角速度矢量及转动矢量等,不存在齐次变换;即自由矢量在运动链中不存在运动的牵连。
转动矢量与螺旋矩
记角速度角速度
Figure PCTCN2018112809-appb-000828
的叉乘矩阵
Figure PCTCN2018112809-appb-000829
也是二阶张量的定轴转动轴矢量为
Figure PCTCN2018112809-appb-000830
当
Figure PCTCN2018112809-appb-000831
是常矢量时,则有
Figure PCTCN2018112809-appb-000832
定义
Figure PCTCN2018112809-appb-000833
称
Figure PCTCN2018112809-appb-000834
为转动矢量,其中:φ是转动属性符。转动矢量/角矢量
Figure PCTCN2018112809-appb-000835
是自由矢量;即该矢量可自由平移。
有转动矢量的叉乘矩阵为
Figure PCTCN2018112809-appb-000836
即
Figure PCTCN2018112809-appb-000837
是
Figure PCTCN2018112809-appb-000838
的轴矢量。
因
Figure PCTCN2018112809-appb-000839
故
Figure PCTCN2018112809-appb-000840
是标量,是自然坐标或关节坐标,表示转动的幅度或大小。
Figure PCTCN2018112809-appb-000841
是转动矢量
Figure PCTCN2018112809-appb-000842
与轴矢量
Figure PCTCN2018112809-appb-000843
的内积/投影即角度。转动矢量
Figure PCTCN2018112809-appb-000844
表示绕单 位转动轴
Figure PCTCN2018112809-appb-000845
角度为
Figure PCTCN2018112809-appb-000846
的转动。
在运动链符号系统中,对于转动属性的描述采用转动矢量
Figure PCTCN2018112809-appb-000847
对于平动属性的描述采用平动矢量
Figure PCTCN2018112809-appb-000848
它们分别表征转动状态与平动状态。
转动矢量
Figure PCTCN2018112809-appb-000849
是绕一个固定轴的转动,又称定轴转动。机器人系统中转动副的
Figure PCTCN2018112809-appb-000850
运动量是以固定轴矢量
Figure PCTCN2018112809-appb-000851
或
Figure PCTCN2018112809-appb-000852
及角位置
Figure PCTCN2018112809-appb-000853
或
Figure PCTCN2018112809-appb-000854
来表示的,转动矢量
Figure PCTCN2018112809-appb-000855
或
Figure PCTCN2018112809-appb-000856
是转动最自然的表示形式;棱柱副
Figure PCTCN2018112809-appb-000857
运动量是以固定轴矢量
Figure PCTCN2018112809-appb-000858
或
Figure PCTCN2018112809-appb-000859
及线位置
Figure PCTCN2018112809-appb-000860
或
Figure PCTCN2018112809-appb-000861
来表示的,平动矢量
Figure PCTCN2018112809-appb-000862
或
Figure PCTCN2018112809-appb-000863
是平动自然的表示形式。
正向运动具有自我参考:对于转动而言,由初态
Figure PCTCN2018112809-appb-000864
绕轴
Figure PCTCN2018112809-appb-000865
转动
Figure PCTCN2018112809-appb-000866
角度后,至终态l;相应的转动矢量为
Figure PCTCN2018112809-appb-000867
对于平动而言,由初态
Figure PCTCN2018112809-appb-000868
沿轴
Figure PCTCN2018112809-appb-000869
平动
Figure PCTCN2018112809-appb-000870
后,至终态l;相应的平动矢量为
Figure PCTCN2018112809-appb-000871
对于同一个体而言,其运动次序通常为:先缩放,再转动,后平移。
自然坐标系、自然不变量及自然坐标是自然空间的自然表示:转动矢量
Figure PCTCN2018112809-appb-000872
与方向方向余弦矩阵
Figure PCTCN2018112809-appb-000873
等价,具有3D自然空间维度的不变性;自然轴不变量
Figure PCTCN2018112809-appb-000874
相对相邻的自然坐标系
Figure PCTCN2018112809-appb-000875
及l的坐标不变,具有自然坐标的不变性;自然轴不变量
Figure PCTCN2018112809-appb-000876
与自然坐标
Figure PCTCN2018112809-appb-000877
或
Figure PCTCN2018112809-appb-000878
无关,具有自然参考轴的不变性。
叉乘符
Figure PCTCN2018112809-appb-000879
运算的优先级低于投影运算 |□的优先级。给定任一矢量
Figure PCTCN2018112809-appb-000880
的叉乘矩阵
Figure PCTCN2018112809-appb-000881
是二阶张量,即
Figure PCTCN2018112809-appb-000882
则有
Figure PCTCN2018112809-appb-000883
证明:由式(1.97)得
Figure PCTCN2018112809-appb-000884
又
Figure PCTCN2018112809-appb-000885
即
Figure PCTCN2018112809-appb-000886
是反对称阵。由式(1.95)得
Figure PCTCN2018112809-appb-000887
其中:n∈[x,y,z],故有
Figure PCTCN2018112809-appb-000888
故式(1.115)成立,叉乘矩阵的任一列是对应坐标轴的螺旋矩,叉乘矩阵具有螺旋距的不变性。
角速度
Figure PCTCN2018112809-appb-000889
的叉乘矩阵
Figure PCTCN2018112809-appb-000890
也是二阶张量,即
Figure PCTCN2018112809-appb-000891
对
Figure PCTCN2018112809-appb-000892
求偏导数得
Figure PCTCN2018112809-appb-000893
由式(1.121)可知
Figure PCTCN2018112809-appb-000894
是由位置矢量空间至平动速度空间的变换阵,
Figure PCTCN2018112809-appb-000895
是
Figure PCTCN2018112809-appb-000896
对
Figure PCTCN2018112809-appb-000897
的梯度。
由式(1.120)式(1.121)可知
Figure PCTCN2018112809-appb-000898
的意义在于:
Figure PCTCN2018112809-appb-000899
是角速度矢量 lω k的二阶张量,满足二阶张量的坐标变换即相似变换;
Figure PCTCN2018112809-appb-000900
是位置矢量 lr k至平动速度矢量
Figure PCTCN2018112809-appb-000901
的坐标变换阵。
根据运动链坐标变换运算有
- lω k= l|kω l= lQ k· kω l。        (1.122)
由式(1.120)及式(1.122)得
Figure PCTCN2018112809-appb-000902
故有
Figure PCTCN2018112809-appb-000903
一方面,因
Figure PCTCN2018112809-appb-000904
是二阶张量,它是由 lω k衍生得到的,它的两组基均为e l。在进行相似变换时,如式(1.123)可表示为
Figure PCTCN2018112809-appb-000905
因此,叉乘矩阵
Figure PCTCN2018112809-appb-000906
在运算时,通过等价指标可以清晰地表达与其它属性量的指标关系。由链符号的矢量运算关系,可知
Figure PCTCN2018112809-appb-000907
因为叉乘矩阵
Figure PCTCN2018112809-appb-000908
表示的是叉乘运算,故有
Figure PCTCN2018112809-appb-000909
叉乘
Figure PCTCN2018112809-appb-000910
或
Figure PCTCN2018112809-appb-000911
的物理含义是:先将杆件k固结的矢量
Figure PCTCN2018112809-appb-000912
投影至
Figure PCTCN2018112809-appb-000913
的径向,再转动1/4周,指向由 lω k至
Figure PCTCN2018112809-appb-000914
的螺旋轴方向。。
矢量的二阶螺旋矩
【1】基本矢量关系
在力学中,矢量积又称为矩。给定矢量a,b,c,由线性代数可知
Figure PCTCN2018112809-appb-000915
称(1.127)为“右侧优先双矢量积”公式,因为叉乘右侧优先(RHS Priority)计算。同时,有
Figure PCTCN2018112809-appb-000916
称式(1.128)为“左侧优先双矢量积”公式,因为叉乘左侧优先(LHS Priority)计算。
矩的不变量主要包括矢量的矩不变量和二阶张量的矩不变量(Moment Invariant)。下面两个等式表示了二阶矩(Second Order Moment)公式:
Figure PCTCN2018112809-appb-000917
式(1.129)表示三个矢量张成的棱柱体积等价关系,满足顺序轮换法则。
双矢量积(Double vector product)操作是多轴系统的基本操作,反映运动链中的广义作用力之间及运动状态之间的耦合;将它们转换为代数运算,是建立代数几何学(Algebraic Geometry)的一个重要环节,以方便后续运动学及动力学的分析。
【2】右侧优先的双矢量积操作
给定坐标矢量
Figure PCTCN2018112809-appb-000918
则有
Figure PCTCN2018112809-appb-000919
证明:由式(1.130),*代表任意点,得
Figure PCTCN2018112809-appb-000920
因 kr *是任意矢量,可得式(1.130)。
【3】左侧优先的双矢量积操作
给定坐标矢量
Figure PCTCN2018112809-appb-000921
则有
Figure PCTCN2018112809-appb-000922
证明:由(1.127),*代表任意点,故得
Figure PCTCN2018112809-appb-000923
因 kr *代表任意矢量,可得式(1.130)。
由式(1.131)得
Figure PCTCN2018112809-appb-000924
Figure PCTCN2018112809-appb-000925
即有
Figure PCTCN2018112809-appb-000926
式(1.132)表明,双矢量积运算与外积运算的内在关系。
称式(1.130)及式(1.131)为二阶矩公式,因为它们是由两个矢量构成的矢量积。式(1.92)、式(1.130)及式(1.131)是将3D空间几何转化为3D空间操作代数的基本公式,它们既具有代数运算,又具有空间拓扑操作。因此,3D空间操作代数有分析代数及几何拓扑的双重优点,是以点积与叉积为基本运算的“保角(角度)”及“保距(距离、一阶及二阶距)”的系统。
考虑运动链
Figure PCTCN2018112809-appb-000927
用轴不变量
Figure PCTCN2018112809-appb-000928
及
Figure PCTCN2018112809-appb-000929
替换式(1.130)中的位置矢量分别得
Figure PCTCN2018112809-appb-000930
Figure PCTCN2018112809-appb-000931
用轴不变量
Figure PCTCN2018112809-appb-000932
及
Figure PCTCN2018112809-appb-000933
替换式(1.131)及式(1.132)中的位置矢量分别得
Figure PCTCN2018112809-appb-000934
Figure PCTCN2018112809-appb-000935
因为关节转动矢量、转动速度及加速度都是关于轴不变量的多重线性型,所以上面4个关于轴不变量的关系式在后续运动学及动力学分析中具有重要作用。习惯上,运动链 kl l的矢量方程一般以运动链的根坐标系F [k]为参考。
笛卡尔轴链运动学及问题
运动链符号系统为运动学及动力学分析奠基于三个基础:运动链的拓扑不变性,通过链指标清晰反映运动量及运动属性操作的作用关系。运动链的张量不变性反映运动属性的客观性。矩阵初等操作的不变性反映是二阶坐标张量在不同参考空间的等价性。
运动链分析包含两个过程:前向的运动传递过程及逆向的外力传递过程。以坐标轴表征的运动链系统则称为笛卡尔轴链(Cartesian axis chain)系统。三维矢量空间操作代数既可以用于笛卡尔轴链系统的分析,又可用于自然轴链系统的分析。笛卡尔轴链只是轴链的特殊情形,不具备自然轴链系统的性质。下面,先阐述笛卡尔轴链的应用;然后,讨论笛卡尔轴链存在的问题。
【1】D-H转动
请参照图19。给定运动副
Figure PCTCN2018112809-appb-000936
初始时坐标系
Figure PCTCN2018112809-appb-000937
与F [l′]方向一致;
Figure PCTCN2018112809-appb-000938
先绕坐标轴
Figure PCTCN2018112809-appb-000939
转动角度
Figure PCTCN2018112809-appb-000940
至
Figure PCTCN2018112809-appb-000941
再绕坐标轴
Figure PCTCN2018112809-appb-000942
转动角度
Figure PCTCN2018112809-appb-000943
至F [l′],两次转动关系请参照图19。
为书写方便,在本书中约定:C(□)=cos(□),S(□)=sin(□)。记D-H参数指标遵从父指标,与自然坐标系统下的参数遵从子指标不同。定义
Figure PCTCN2018112809-appb-000944
由式(1.133)及式得
Figure PCTCN2018112809-appb-000945
即有
Figure PCTCN2018112809-appb-000946
显然,式(1.134)第3行不含运动参量
Figure PCTCN2018112809-appb-000947
这一特征在3R机械臂位置逆运动学计算中将得到应用。
Figure PCTCN2018112809-appb-000948
第3行表示的是基分量
Figure PCTCN2018112809-appb-000949
在基e l′下的投影;坐标轴
Figure PCTCN2018112809-appb-000950
的转动不影响基分量
Figure PCTCN2018112809-appb-000951
在基e l′下的投影。且有
Figure PCTCN2018112809-appb-000952
即
Figure PCTCN2018112809-appb-000953
显然,
Figure PCTCN2018112809-appb-000954
【2】D-H齐次变换
Figure PCTCN2018112809-appb-000955
对于运动链
Figure PCTCN2018112809-appb-000956
由式(1.135)得
Figure PCTCN2018112809-appb-000957
即
Figure PCTCN2018112809-appb-000958
式(1.136)表明:
Figure PCTCN2018112809-appb-000959
既包含运动参数φ l又包含结构参数a l及c l。
对于运动链
Figure PCTCN2018112809-appb-000960
有
Figure PCTCN2018112809-appb-000961
即
Figure PCTCN2018112809-appb-000962
式(1.137)表明:
Figure PCTCN2018112809-appb-000963
与运动参量φ l无关;这一特征同样在3R机械臂位置逆运动学计算中将得到应用。
Figure PCTCN2018112809-appb-000964
表示的是由F [l′]看
Figure PCTCN2018112809-appb-000965
的位置,当坐标轴
Figure PCTCN2018112809-appb-000966
转动时,对位置
Figure PCTCN2018112809-appb-000967
无任何影响。
由式(1.137)得
Figure PCTCN2018112809-appb-000968
由式(1.138)得
Figure PCTCN2018112809-appb-000969
式(1.138)及(1.139)表明
Figure PCTCN2018112809-appb-000970
及
Figure PCTCN2018112809-appb-000971
的模具有不变性。
应用笛卡尔轴链分析D-H系变换关系,只因为D-H系自身是特殊的笛卡系。笛卡尔轴链适用范围很窄,它存在许多问题。下面,予以阐述。
任一刚体姿态可以通过绕三个笛卡尔坐标轴{x,y,z}的转动序列确定;其中任意相邻的两个坐标轴应是独立的,即不能出现共轴的情况。{x,y,z}排列{[m,n,p]|m,n,p∈{x,y,z}}共27种,其中:存在m=n=p的排列有3种;存在m=n≠p及m≠n=p的排列各6种。故三轴转动序列共有27-3-6-6=12种。在12种转动序列中,仅有“1-2-3”序列与笛卡尔坐标轴[x,y,z]序列等价。笛卡尔坐标轴{x,y,z}序列仅保证姿态等价,不保证转动过程序列等价,笛卡尔轴链与运动链不是严格意义上的同构关系。
由参考系
Figure PCTCN2018112809-appb-000972
经转动至体系l的转动由绕三个转动轴矢量
Figure PCTCN2018112809-appb-000973
转动序列等价,且
Figure PCTCN2018112809-appb-000974
若
Figure PCTCN2018112809-appb-000975
l1n l2=1 [y], l2n l=1 [x],则为“3-2-1”转序;若
Figure PCTCN2018112809-appb-000976
l1n l2=1 [x], l2n l=1 [z],则为“3-1-3”转序。上述的两种转动序列是常用的;比如,用于移动机器人本体姿态的描述。
【1】全姿态角
全姿态角范围为(-π,π],在姿态角求解时使用θ=atan(y,x)非常方便,与atan(x)对应的重载 函数atan(y,x)计算过程如下:
Figure PCTCN2018112809-appb-000977
显然,有
atan(y,x)=atan(cy,cx),if c>0。       (1.141)
由式(1.140)可知,θ∈(-π,π],x=0为θ=atan(y,x)的奇异点。由集合论可知,+∝及-∝也是数,这里的“奇异点”在理论上不成立。但由于计算机浮点位数有限,存在现实上的计算精度问题。在工程上,只要增加浮点位数,总能满足期望的精度要求,故“奇异点”在工程上亦不存在。将连续函数作用域上有限点出现奇异的情形称为“单点奇异”,故“单点奇异”总可以通过连续性补足,故仅影响计算误差,而并不导致无解,即函数的行为是确定的。
在姿态角计算时,应采用atan(□,□)或2·atan(□)计算;若应用asin(□)及acos(□)计算姿态角,则需要检查是否可以完整描述所有可能的姿态。
将连续函数作用域上连续区间出现奇异的情形称为“区间奇异”,由于不能通过连续性补足,在工程上导致无解,即函数的具有不确定性,在工程上导致系统行为无法控制或状态无法确定。
【2】“3-2-1”转动序列
考虑球副
Figure PCTCN2018112809-appb-000978
由参考系
Figure PCTCN2018112809-appb-000979
经“3-2-1”转动序列(Rotation order of“3-2-1”)至体系l运动链
Figure PCTCN2018112809-appb-000980
角序列记为
Figure PCTCN2018112809-appb-000981
三个转动轴矢量为
Figure PCTCN2018112809-appb-000982
l1n l2=1 [y], l2n l=1 [x]。其中:l1及l2为中间坐标系。给定
Figure PCTCN2018112809-appb-000983
时,试求
Figure PCTCN2018112809-appb-000984
解:由于正余弦计算的复杂度较高,需要通常先计算,后使用。将计算的正余弦表示为
Figure PCTCN2018112809-appb-000985
则有
Figure PCTCN2018112809-appb-000986
故有
Figure PCTCN2018112809-appb-000987
常称
Figure PCTCN2018112809-appb-000988
为卡尔丹角,其极性由
Figure PCTCN2018112809-appb-000989
确定。
Figure PCTCN2018112809-appb-000990
不满足可加性,常称之为伪坐标。
Figure PCTCN2018112809-appb-000991
的任一元素是姿态角正余弦的多重线性表示,又称多重线性型。上述过程:已知姿态角,计算旋转变换阵;这是姿态正问题。
式(1.142)在本书中使用非常普遍,在以后的应用中,不再予以提示或说明。
若体轴x指向前方,轴y指向左侧,轴z指向上方,则
Figure PCTCN2018112809-appb-000992
的物理含义为:
Figure PCTCN2018112809-appb-000993
—偏航角,
Figure PCTCN2018112809-appb-000994
—俯仰角,
Figure PCTCN2018112809-appb-000995
—横滚角。该“3-2-1”姿态角常用于描述机器人、飞机及导弹的姿态。由式(1.142)得
Figure PCTCN2018112809-appb-000996
由式(1.144)可知,该姿态角范围需满足:
Figure PCTCN2018112809-appb-000997
否则,不能完整描述体l的全部姿态。初始时,体系l与参考系
Figure PCTCN2018112809-appb-000998
重合;当
Figure PCTCN2018112809-appb-000999
Figure PCTCN2018112809-appb-001000
时,体l经“3-2”转序后,可以将体l上的任一方向
Figure PCTCN2018112809-appb-001001
与环境中的任一方向
Figure PCTCN2018112809-appb-001002
对齐;在完成方向对齐后,经转序“1”,当
Figure PCTCN2018112809-appb-001003
时,可将
Figure PCTCN2018112809-appb-001004
的任一径向矢量与
Figure PCTCN2018112809-appb-001005
的任一径向矢量对齐。
显然,
Figure PCTCN2018112809-appb-001006
是
Figure PCTCN2018112809-appb-001007
的逆运动序列;不仅需要改变转动的极性,而且需要颠倒转动的次序。以角度序列描述姿态时,仅表示起止状态的等价,不表示转动过程的等价。上述过程是:由旋转变换阵求解姿态角;这是姿态的逆问题。
【3】“3-1-3”转动序列
示例2.1请参照图20。图20为解耦机械手结构图。如图20所示,解耦机械手由第一转动副2001、第二转动副2002、第三转动副2003构成,並包含四根杆件串接构成;三个转动轴共交于一点O 2004,称之为“腕心”,且R 1轴2005与R 2轴2006正交,R 2轴2006与R 3轴2007正交。显然,对于解耦机械手而言,拾取点S 2008位于以腕心为球心的球面上。由参考系
Figure PCTCN2018112809-appb-001008
经转动至体系l的转动链
Figure PCTCN2018112809-appb-001009
三个转动轴矢量为
Figure PCTCN2018112809-appb-001010
角序列记为
Figure PCTCN2018112809-appb-001011
若
Figure PCTCN2018112809-appb-001012
l1n l2=1 [x], l2n l=1 [z],则为“3-1-3”转序。给定
Figure PCTCN2018112809-appb-001013
时,试求
Figure PCTCN2018112809-appb-001014
解:
Figure PCTCN2018112809-appb-001015
Figure PCTCN2018112809-appb-001016
由式(1.145)得
Figure PCTCN2018112809-appb-001017
由式(1.146)可知,
Figure PCTCN2018112809-appb-001018
可以描述全姿态。
用“3-1-3”角序列描述天体姿态时,称
Figure PCTCN2018112809-appb-001019
为进动角,
Figure PCTCN2018112809-appb-001020
为章动角,
Figure PCTCN2018112809-appb-001021
为自转角。
由于姿态序列存在12种,为每一个转动序列,列写各自的姿态逆解是非常烦琐的。对于更一般的情况,即给定
Figure PCTCN2018112809-appb-001022
确定绕三个转动轴矢量
Figure PCTCN2018112809-appb-001023
且
Figure PCTCN2018112809-appb-001024
l1n l2≠ l2n l转动的角度。姿态逆的通解问题需要进一步解决。
笛卡尔轴链的偏速度问题
请再次参照图20,在此示例中,若将解耦机械手抓取工件的位置记为S,则有
Figure PCTCN2018112809-appb-001025
对于式(1.147)而言,有
Figure PCTCN2018112809-appb-001026
称式(1.148)为解耦机械手或球副的运动约束方程,反映的是空间距离约束的不变性。
转动副、球销副均是球副的特例。记S是球副中心,故对运动副
Figure PCTCN2018112809-appb-001027
存在约束方程:
Figure PCTCN2018112809-appb-001028
其中:
Figure PCTCN2018112809-appb-001029
表示球副中心在
Figure PCTCN2018112809-appb-001030
系下的位置矢量,c为常数。
由式(1.149)得
Figure PCTCN2018112809-appb-001031
显然,
Figure PCTCN2018112809-appb-001032
其中:
Figure PCTCN2018112809-appb-001033
称
Figure PCTCN2018112809-appb-001034
为雅克比矩阵,它反映的是速度与关节速度的关系。由式(1.151)知,即速度
Figure PCTCN2018112809-appb-001035
是关于关节速度
Figure PCTCN2018112809-appb-001036
的线性型。当然,关节速度
Figure PCTCN2018112809-appb-001037
不是矢量,因为各成员的参考不一致,且不满足可加性,故称之为关节速度。
将式(1.151)代入式(1.150)得
Figure PCTCN2018112809-appb-001038
考虑球副
Figure PCTCN2018112809-appb-001039
轴矢量序列
Figure PCTCN2018112809-appb-001040
其中:
Figure PCTCN2018112809-appb-001041
l1n l2=1 [y], l2n l=1 [z];角序列记为
Figure PCTCN2018112809-appb-001042
显然,这是“1-2-3”的转动序列。则有
Figure PCTCN2018112809-appb-001043
即
Figure PCTCN2018112809-appb-001044
故有
Figure PCTCN2018112809-appb-001045
由式(1.154)可知,角速度是关于关节速度
Figure PCTCN2018112809-appb-001046
的线性函数,即角速度是关节速度的线性型。显然,关节速度
Figure PCTCN2018112809-appb-001047
不是矢量。将
Figure PCTCN2018112809-appb-001048
称为偏角速度,并记其为
Figure PCTCN2018112809-appb-001049
即
Figure PCTCN2018112809-appb-001050
由式(1.155)可知
Figure PCTCN2018112809-appb-001051
尽管线速度或角速度是关节坐标的非线性函数,但线速度或角速度是关节速度的线性函数。
示例2.2给定轴序列A=(i,c1,c2,c3,c4,c5,c],父轴序列
Figure PCTCN2018112809-appb-001052
轴类型序列记为K=(F,R,R,R,P,P,P],关节坐标序列记为q (i,c]=(φ c1,φ c2,φ c3,r c4,r c5,r c];故该运动链记为 il c=(i,c1,c2,c3,c4,c5,c]。且有
in c1= c5n c=1 [z], c1n c2= c4n c5=1 [y], c2n c3= c3n c4=1 [x]。    (1.157)
该运动链表达的是:先执行“3-2-1”转动,再执行“1-2-3”的平动。则有
Figure PCTCN2018112809-appb-001053
Figure PCTCN2018112809-appb-001054
Figure PCTCN2018112809-appb-001055
Figure PCTCN2018112809-appb-001056
由式(1.157)~(1.160),得
Figure PCTCN2018112809-appb-001057
显然,
Figure PCTCN2018112809-appb-001058
故有
Figure PCTCN2018112809-appb-001059
由式(1.163)得
Figure PCTCN2018112809-appb-001060
由式(1.164)得
Figure PCTCN2018112809-appb-001061
其中:
Figure PCTCN2018112809-appb-001062
对于精密机电系统而言,由于存在机加工及装配的误差,正交的运动轴或测量轴是不存在的。例如:惯性单元的三个体轴方向安装有加速度计及角速度陀螺,分别检测三个轴向的 平动加速度及转动角速度;有时,出于可靠性考虑,通常斜装一只加速度计及一只速度陀螺,用作备份。工程上,斜装运动轴及测量轴的情况是普遍存在的。因此,需要进一步研究螺旋轴链系统的运动学与动力学问题。
给定运动链
Figure PCTCN2018112809-appb-001063
且k∈ il n,由式(1.166)得
Figure PCTCN2018112809-appb-001064
同样,由式(1.167)得
Figure PCTCN2018112809-appb-001065
式(1.167)及式(1.168)的偏速度在机器人运动学及动力学分析中具有非常重要的地位,偏速度问题需要进一步解决。
由式(1.147)得
Figure PCTCN2018112809-appb-001066
式(1.169)需要计算
Figure PCTCN2018112809-appb-001067
由式(1.169)可知,
Figure PCTCN2018112809-appb-001068
是
Figure PCTCN2018112809-appb-001069
的函数,且
Figure PCTCN2018112809-appb-001070
是时间t的函数;故直接计算
Figure PCTCN2018112809-appb-001071
是非常麻烦的事。旋转变换阵的求导问题需要进一步解决。
示例2.3:相机体系c相对巡视器本体系r的安装关系由两系坐标轴间的夹角确定:
Figure PCTCN2018112809-appb-001072
其中:
Figure PCTCN2018112809-appb-001073
表示由轴x r至轴x c的角度,其它亦然。
求 rQ c。
解:相机坐标轴x在巡视器体系下的投影为
Figure PCTCN2018112809-appb-001074
相机坐标轴y在巡视器体系下的投影为
Figure PCTCN2018112809-appb-001075
相机坐标轴z在巡视器体系下的投影为
Figure PCTCN2018112809-appb-001076
故有
Figure PCTCN2018112809-appb-001077
解毕。
此示例应用方向余弦计算旋转变换阵,在原理上是正确的。但在工程上存在一个重要的缺点:由于九个角度测量存在误差,致使旋转变换阵的“正交归一”约束被破坏。示例如下:
示例2.4:续示例2.3,经工程测量得
Figure PCTCN2018112809-appb-001078
由式计算得
Figure PCTCN2018112809-appb-001079
由计算结果可知 rQ c病态的,精度仅有6位。
应用式(1.144)或式(1.146)计算姿态角
Figure PCTCN2018112809-appb-001080
在理论上是成立的;其前提是:旋转变换阵必须满足“正交归一”约束,当这一约束不能完成满足时,
Figure PCTCN2018112809-appb-001081
的计算误差可能较大。对于病态
Figure PCTCN2018112809-appb-001082
式(1.144)及式(1.146)未充分利用
Figure PCTCN2018112809-appb-001083
各分量,导致姿态角序列
Figure PCTCN2018112809-appb-001084
精度比余弦角的测量精度差。
除工程测量误差外,由于计算机存在数字截断误差,也导致旋转变换阵的病态。对于运动链
Figure PCTCN2018112809-appb-001085
由于
Figure PCTCN2018112809-appb-001086
存在一定的病态,导致 kQ j误差不断累积;但在实际应用时,需要对
Figure PCTCN2018112809-appb-001087
进行“正交归一化”。对式(1.171)进行“正交归一化”结果如下:
Figure PCTCN2018112809-appb-001088
“正交归一化”处理后的精度达到8位。因此,通过方向余弦计算旋转变换阵时,一方面需要提高测量精度,另一方面需要对旋转变换阵进行“正交归一化”处理。否则,将导致运动 链
Figure PCTCN2018112809-appb-001089
计算精度逐级衰减。如何对旋转变换阵进行“正交归一化”是需要进一步解决的问题。
极性参考与线性约束求解问题
在机器人运动学及动力学分析时,关心的是运动量间的相互关系,即关心的是张量坐标阵列的相互关系;而不必关心参考基间的相互关系。张量坐标阵列可以通过矩阵表示,包含标量、列矢量或行矢量、矩阵。高阶张量的坐标阵列可以表示为矩阵的向量、矩阵的矩阵。矩阵是信息有序排列方式,不仅适应人们对于事物的认知方式,也适应现代数值计算机进行信息处理的内在机理。
【1】坐标轴序的初等变换
一个立方体的6个面单位法向可以确定6个不同的参考轴;可以建立120种坐标系;任两个坐标系存在等价关系。由于极性定义不同,经常需要对以不同极性定义的坐标进行转换。
示例2.5:续示例2.4,定义与坐标系r、c分别对应的坐标系r′、c′,相互关系如图21a、图21b所示,求 rQ c。
解法1,由坐标系的方向余弦关系得
Figure PCTCN2018112809-appb-001090
解法2,先由 rQ c初等变换列变换,即交换x c及y c、z c取反,得 rQ c′
Figure PCTCN2018112809-appb-001091
再由 rQ c′初等变换行变换,即y r取反、z r取反,得 r′Q c′。
Figure PCTCN2018112809-appb-001092
解毕。
由示例2.4求解过程可知,通过“行交换”、“列交换”、“行取反”、“列取反”的初等变换本质上是改变了参考基的次序与极性,但不改变矩阵表示的本征运动关系。因此,对不同序的坐标系定义,它们的变换关系可以通过“行交换”、“列交换”、“行取反”、“列取反”的初等变换操作即确定。
【2】坐标变换的初等变换
由式可知 i|kr l= iQ k· kr l,即矩阵右乘变换
Figure PCTCN2018112809-appb-001093
式(1.173)等价为
Figure PCTCN2018112809-appb-001094
对(1.174)进行“初等行变换操作”。例如:交换式(1.174)中x i行及y i行,对z i行乘常数c i,其中:
Figure PCTCN2018112809-appb-001095
得
Figure PCTCN2018112809-appb-001096
显然式(1.174)与式(1.175)是等价的。将 iT k称为 iQ k的“初等行变换矩阵”。关系阵 iQ k及 iT k的“初等行变换操作”与方程求解的输入 i|kr l及输出 kr l的成员及成员的排序次序是无关的或者说独立的,即不影响求解的结果与解的排列次序。
对于式即矩阵左乘变换
Figure PCTCN2018112809-appb-001097
存在初等列变换及存在“初等列变换矩阵”。
由线性代数理论可知,通过初等行变换或初等列变换可以使 nQ k变换为单位阵1,则相应有
Figure PCTCN2018112809-appb-001098
从而有 kr l= kQ n· n|kr l。
同时,初等变换是矩阵的逆阵、三角化、对角化处理的基本操作。其中,枢轴操作是矩阵操作中非常重要的操作,在机器人动力学计算中具有广泛的应用。
线性方程是非线性方程的基础,复数空间奠基于实数空间;正确理解复数及非线性空间的参考基是保证拓扑不变性及度量不变性的基础。由第3章可知,轴不变量是实空间及复空间(Complex Space)运动链的基元,是解决高自由度及高维度空间问题的基石。
给定运动链
Figure PCTCN2018112809-appb-001099
由式计算得到。由式(1.59)及式得
Figure PCTCN2018112809-appb-001100
由式(1.176)完成运动链 il n的姿态计算。一方面,由于工程上
Figure PCTCN2018112809-appb-001101
存在病态,导致 iQ n病态加剧;另一方面,由式计算
Figure PCTCN2018112809-appb-001102
不通用,仅适用于笛卡尔轴链,而通常的转动轴并不与坐标轴一致。
由式(1.46)计算
Figure PCTCN2018112809-appb-001103
及
Figure PCTCN2018112809-appb-001104
由式(1.59)及式(1.116)得
Figure PCTCN2018112809-appb-001105
由式(1.58)及式得
Figure PCTCN2018112809-appb-001106
由式(1.178)完成运动链
Figure PCTCN2018112809-appb-001107
的位置计算。
由式(1.178)得
Figure PCTCN2018112809-appb-001108
由式(1.179)得
Figure PCTCN2018112809-appb-001109
Figure PCTCN2018112809-appb-001110
显然,相对转动速度
Figure PCTCN2018112809-appb-001111
及相对平动速度
Figure PCTCN2018112809-appb-001112
是矢量;相对转动加速度
Figure PCTCN2018112809-appb-001113
及相对平动加速度
Figure PCTCN2018112809-appb-001114
也是矢量。
定义
Figure PCTCN2018112809-appb-001115
由式(1.182)知:求导符
Figure PCTCN2018112809-appb-001116
优先级高于投影符 |□。称该求导运算为相对求导,并没有考虑基矢量
Figure PCTCN2018112809-appb-001117
相对惯性基矢量e i的运动带来的影响。
由式(1.182)得
Figure PCTCN2018112809-appb-001118
Figure PCTCN2018112809-appb-001119
由式(1.183)及式(1.184)分别完成运动链
Figure PCTCN2018112809-appb-001120
的相对平动速度
Figure PCTCN2018112809-appb-001121
及相对平动加速度
Figure PCTCN2018112809-appb-001122
的计算;显然,它们并未考虑运动链各杆件的牵连速度。
由式(1.177)得
Figure PCTCN2018112809-appb-001123
Figure PCTCN2018112809-appb-001124
由式(1.185)及式(1.186)分别完成运动链
Figure PCTCN2018112809-appb-001125
的相对转动速度
Figure PCTCN2018112809-appb-001126
及相对转动加速度
Figure PCTCN2018112809-appb-001127
计算;显然,它们并未考虑运动链各杆件的牵连加速度。
尽管相对速度及加速度具有理论上的意义,但不表示运动链的真实速度及加速度。需要考虑运动链各杆件间的牵连效应,才能正确表征系统的速度、加速度、能量等基本属性。
后续內容,针对精密多轴系统的需求,以运动链符号演算系统为基础,建立基于轴不变量的多轴系统理论,主要考虑的因素有:
【1】测量的精确性问题,需要考虑多轴系统加工、装配误差,最大限度地降低测量误差及计算误差。在自然关节空间下,通过精密的光学设备测量固定轴不变量表征的结构参数。一方面,包含了系统加工及装配的误差;另一方面,考虑了精度光学设备测量空间位置点的精确性的特点,具有工程可实现性。固定轴不变量是多轴系统的自然不变量,易于工程测量。
【2】计算的实时性与精确性问题,需要考虑高自由度多轴系统带来的计算复杂性。一方面,需要建立迭代式的运动学方程及动力学方程;另一方面,需要建立与系统自由度一致的运动属性描述方法及最小的属性量的操作。以运动链符号演算系统为基础,建立的基于自然不变量(包含:固定轴不变量
Figure PCTCN2018112809-appb-001128
自然坐标
Figure PCTCN2018112809-appb-001129
及
Figure PCTCN2018112809-appb-001130
)的多轴系统理论,可以建立基于轴不变量的迭代式的运动学方程与动力学方程,可以保障多轴系统计算的实时性与精确性。
【3】工程开发的效率问题,高自由度多轴系统不仅带来计算复杂性,也带来工程实现的复杂性。一方面,需要为工程技术人员提供精确、简洁、结构化的符号语言,既包含属性量的准确描述,又包含属性量间的作用关系,还需要考虑现代数值计算机的矩阵运算特点;另一方面,应用结构化的符号系统,提高工程实现的效率,既需要直接以结构化的运动学与动力学符号方程替代编程实现所需的伪代码,又需要应用计算机软件实现运动学与动力学的建模与分析功能。运动链符号演算系统是满足上述需求的结构化的符号语言。基于轴不变量的运动学与动力学方程,具有伪代码的功能及迭代的计算过程,易于工程实现。
【4】不同理论方法的兼容性问题,在现有多体系统理论中,存在不同的理论分支,具有各自的应用特点,需要统一不同的理论方法,既是理论研究的需要,又是系统实现的实时性与精确性的需要。因此,以运动链符号演算系统为基础,建立多轴系统的公理化理论体系。以螺旋轴为基元的螺旋轴链系统可以统一3D及6D矢量空间、复数空间、四元数及双四元数空间的理论。
基于轴不变量的多轴系统内涵在于:
【1】以运动链符号演算系统为基础,轴不变量为核心,建立多轴系统建模与控制理论;
【2】多轴系统是自然坐标轴系统,它以自然坐标轴作为系统的参考基元。
【3】多轴系统模型是具有链符号系统的,以轴不变量(自然参考轴)及自然坐标表征的代数方程;多轴系统理论是研究自然轴空间的、具有树链拓扑操作的代数系统。
多轴系统建模与控制理论研究思路:
【1】先分析轴不变量基本属性,再研究以自然轴为参考的3D空间操作代数;
【2】进一步,研究空间点及质点,再研究刚体;
【3】进而,研究链节运动学关系,再研究运动链运动学关系;
【4】最后,研究树链系统的动力学,建立基于轴不变量的多轴系统建模理论。
第二部分 基于轴不变量的多轴系统正运动学Equation Chapter 2 Section 1
【1】由第一部分可知,运动链
Figure PCTCN2018112809-appb-001131
具有以下基本公理:
【1.1】 il n具有半开属性,即
Figure PCTCN2018112809-appb-001132
【1.2】 il n存在一个空链或平凡链 ik i,即
ik i∈ il n,| ik i|=0;          (2.2)
【1.3】 il n运动链具有串接性(可加性或可积性),即
il n= il l+ ll n,          (2.3)
il n= il l· ll n;         (2.4)
【1.4】 il n具有可逆性,即
ll n=- nl l。         (2.5)
【2】对于轴链
Figure PCTCN2018112809-appb-001133
有以下基本结论:
Figure PCTCN2018112809-appb-001134
Figure PCTCN2018112809-appb-001135
Figure PCTCN2018112809-appb-001136
Figure PCTCN2018112809-appb-001137
Figure PCTCN2018112809-appb-001138
【3】若k,l∈A,存在以下二阶矩关系:
Figure PCTCN2018112809-appb-001139
Figure PCTCN2018112809-appb-001140
Figure PCTCN2018112809-appb-001141
【4】左序叉乘与转置的关系
Figure PCTCN2018112809-appb-001142
证明:因
Figure PCTCN2018112809-appb-001143
故式(2.14)成立。
【5】空间操作代数
尽管多体动力学已得到广泛的研究,但缺乏运动链符号系统,也未建立基于轴不变量的空间代数系统。提出的空间操作代数与传统的空间算子代数具有下列不同点:
【5.1】操作是指空间中的基本动作或计算机执行的运算;操作既包含地址访问、矩阵的行列置换、拓扑关系的访问,也包含函数的计算;故操作是算子概念的推广;多轴系统运动学与动力学既与系统拓扑相关,又需要通过计算机实现,自然需要建立与之相应的操作代数;
【5.2】一方面,空间操作或计算机操作更直接,易于理解;通过系统操作执行系统状态的变更,在新的变更状态下,再执行相应的操作,完成系统的演化与计算;另一方面,易于计算机软件实现,计算机系统自身就是基于一组基本操作的计算系统;包含地址访问、枢轴操作、LU及LDL T分解等的矩阵运算是计算机数值计算的基础;
【5.3】空间操作代数主体上通过空间或计算机操作序列表征空间运动关系,链序是空间操作的基本特征;空间运算既需要保证序不变性(拓扑不变性)、张量不变性(度量不变性)及对偶性,又需要保证测量及数值计算的精确性与实时性,它们是空间操作代数的基本特征;
【5.4】空间操作代数需要确定空间操作的基元,以保证复杂空间操作的效率;自然参考轴及以自然坐标系为基础的3D关节空间轴不变量是空间操作的基元;通过一组自然参考轴可以建立笛卡尔直角坐标系,D-H系及其它所需的坐标系系统;通过3D关节空间轴不变量及自然坐标实现体系的参数化,保证工程测量的精确性及空间参考的灵活性。
总之,3D空间操作代数是以运动链符号系统为基础,以符号演算、动作及矩阵操作为主体的3D空间正运动学计算系统,有别于传统的双矢量6D空间算子系统。
基于轴不变量的3D矢量空间操作代数
以固定轴不变量表征系统的结构参量,结构参数间的代数运算结果仍为结构参量;以自然坐标即关节变量表征系统的关节变量,关节变量间的代数运算结果仍为关节变量。由系统结构参量构成的3D矢量,称为结构矢量(Vector of Structural Parameters);由关节变量构成 的标量称为运动标量(Motion Scalars)。基于轴不变量的3D矢量空间操作代数系统既是以轴不变量为核心的3D空间操作代数系统,又是关于结构矢量与关节变量(标量)的二阶多项式系统。
运动副
Figure PCTCN2018112809-appb-001144
的坐标轴矢量
Figure PCTCN2018112809-appb-001145
表示运动轴的单位方向,是自然的参考轴,其单位方向由其成员
Figure PCTCN2018112809-appb-001146
确定;坐标轴矢量
Figure PCTCN2018112809-appb-001147
具有如下不变性:
Figure PCTCN2018112809-appb-001148
由式(2.15)可知,坐标轴矢量
Figure PCTCN2018112809-appb-001149
是全序的矢量,即其连接次序是双向的,负号-不能改变连接次序,
Figure PCTCN2018112809-appb-001150
但可改变
Figure PCTCN2018112809-appb-001151
的坐标分量,
Figure PCTCN2018112809-appb-001152
故轴矢量
Figure PCTCN2018112809-appb-001153
又称为轴不变量。轴矢量
Figure PCTCN2018112809-appb-001154
作为杆件
Figure PCTCN2018112809-appb-001155
及杆件Ω l的公共参考轴,在系统演算(Calculus)前确定;在系统演算过程中,不能被人为更改;否则会导致参考不一致。
轴不变量可以方便地确定零位轴系,具有优良的空间操作性能(Spatial operating performance),应用轴不变量可以有效地解决许多理论及工程问题。
本章以轴链为基础,建立基于轴不变量的多轴系统运动学理论;从而,根据多轴系统的轴数灵活地建立多轴系统的运动学及动力学方程。
基于轴不变量的零位轴系
请参照图22。图22为径向投影及自然零位图,如图22所示,给定运动副
Figure PCTCN2018112809-appb-001156
的轴矢量
Figure PCTCN2018112809-appb-001157
2201及具有单位长度的零位(Zero position)矢量
Figure PCTCN2018112809-appb-001158
2202,且点S 2203位于单位球面上;称轴矢量
Figure PCTCN2018112809-appb-001159
2201向零位矢量
Figure PCTCN2018112809-appb-001160
2202方向转动90转后的单位矢量为自然零轴(Natural zero axis)矢量,记为
Figure PCTCN2018112809-appb-001161
由轴矢量
Figure PCTCN2018112809-appb-001162
2201及自然零轴
Figure PCTCN2018112809-appb-001163
按右手系可以确定自然径向轴(Radial axis)矢量
Figure PCTCN2018112809-appb-001164
将系统初始时刻的自然零轴
Figure PCTCN2018112809-appb-001165
及径向轴
Figure PCTCN2018112809-appb-001166
分别记为初始时刻的自然零轴
Figure PCTCN2018112809-appb-001167
2206及初始时刻的径向轴
Figure PCTCN2018112809-appb-001168
2205,并分别称为系统零位轴矢量及系统零位径向轴矢量。
则有:零位矢量
Figure PCTCN2018112809-appb-001169
对轴矢量
Figure PCTCN2018112809-appb-001170
投影标量即坐标为
Figure PCTCN2018112809-appb-001171
零位矢量
Figure PCTCN2018112809-appb-001172
对轴矢量
Figure PCTCN2018112809-appb-001173
投影矢量为
Figure PCTCN2018112809-appb-001174
(2207);零位矢量
Figure PCTCN2018112809-appb-001175
对零位轴矢量
Figure PCTCN2018112809-appb-001176
投影矢量为
Figure PCTCN2018112809-appb-001177
(2208)。故得零位矢量
Figure PCTCN2018112809-appb-001178
的径向投影变换
Figure PCTCN2018112809-appb-001179
及系统零位投影变换
Figure PCTCN2018112809-appb-001180
分别为
Figure PCTCN2018112809-appb-001181
Figure PCTCN2018112809-appb-001182
轴矢量
Figure PCTCN2018112809-appb-001183
对
Figure PCTCN2018112809-appb-001184
的矩矢量(Moment Vector)为
Figure PCTCN2018112809-appb-001185
(2209);零位矢量
Figure PCTCN2018112809-appb-001186
表达为
Figure PCTCN2018112809-appb-001187
【1】若给定零位矢量
Figure PCTCN2018112809-appb-001188
则系统零位轴矢量
Figure PCTCN2018112809-appb-001189
系统零位径向轴矢量
Figure PCTCN2018112809-appb-001190
及轴矢量
Figure PCTCN2018112809-appb-001191
构成零位轴系,该轴系由系统零位轴矢量
Figure PCTCN2018112809-appb-001192
及轴矢量
Figure PCTCN2018112809-appb-001193
唯一确定;一般情况下,该轴与自然坐标系F [l]方向不一致。
【2】给定径向约束力
Figure PCTCN2018112809-appb-001194
因其与轴矢量
Figure PCTCN2018112809-appb-001195
正交,则有
Figure PCTCN2018112809-appb-001196
称
Figure PCTCN2018112809-appb-001197
为自然正交补(Decoupled Natural Orthogonal Complement)矩阵。
【3】零位投影变换
Figure PCTCN2018112809-appb-001198
具有对称性,即
Figure PCTCN2018112809-appb-001199
证明:由式(2.17)得
Figure PCTCN2018112809-appb-001200
Figure PCTCN2018112809-appb-001201
证毕。
轴不变量可以方便地实现矢量的镜像。请参照图23。图23为矢量的镜像变换图。如图23所示,点S′(2302)是点S(2301)的镜像,矢量
Figure PCTCN2018112809-appb-001202
(2305),镜面轴矢量记为
Figure PCTCN2018112809-appb-001203
(2304),点S″(2303)是点S(2301)的逆像。且有
Figure PCTCN2018112809-appb-001204
点S′(2302)至点S(2301)记为
Figure PCTCN2018112809-appb-001205
(2306)。
易得
Figure PCTCN2018112809-appb-001206
且有
Figure PCTCN2018112809-appb-001207
记
Figure PCTCN2018112809-appb-001208
称
Figure PCTCN2018112809-appb-001209
为像变换,
Figure PCTCN2018112809-appb-001210
为逆像变换。显然,有
Figure PCTCN2018112809-appb-001211
即
Figure PCTCN2018112809-appb-001212
是自逆的矩阵:
Figure PCTCN2018112809-appb-001213
应用镜像变换可以解决光的反射、折射、映像等诸多问题,在光学系统中具有广泛的应用。
示例2.1:请参照图24,图24为正射镜像图。3D世界系为
Figure PCTCN2018112809-appb-001214
正射镜像即是由镜面法向
Figure PCTCN2018112809-appb-001215
观察场景的像,其中:
Figure PCTCN2018112809-appb-001216
则有正射镜像变换
Figure PCTCN2018112809-appb-001217
证明:由图24可知
Figure PCTCN2018112809-appb-001218
由式可知:
Figure PCTCN2018112809-appb-001219
证毕。
下面探讨轴不变量的叉乘矩阵幂零(Nilpotent)特性,它们是后续研究的基础。
【1】轴矢量叉乘矩阵的幂
给定运动副
Figure PCTCN2018112809-appb-001220
的轴矢量
Figure PCTCN2018112809-appb-001221
则有轴矢量
Figure PCTCN2018112809-appb-001222
的二阶幂零特性:
Figure PCTCN2018112809-appb-001223
Figure PCTCN2018112809-appb-001224
证明:
Figure PCTCN2018112809-appb-001225
是单位矢量,
Figure PCTCN2018112809-appb-001226
利用数学归纳法证明如下。
当p=1时,由式(2.32)可知式(2.25)成立。由式(2.26)得
Figure PCTCN2018112809-appb-001227
当p=k时,假设式(2.25)和式(2.26)成立,即
Figure PCTCN2018112809-appb-001228
Figure PCTCN2018112809-appb-001229
则当p=k+1时,由式(2.28)及(2.29)得
Figure PCTCN2018112809-appb-001230
Figure PCTCN2018112809-appb-001231
故式(2.25)及式(2.26)成立。
因此,称
Figure PCTCN2018112809-appb-001232
为一阶径向变换或一阶矩变换,具有反对称性;相应地,分别称
Figure PCTCN2018112809-appb-001233
及
Figure PCTCN2018112809-appb-001234
为二阶及三阶径向变换;如式(2.28)及式(2.29)所示,
Figure PCTCN2018112809-appb-001235
具有周期性。
因
Figure PCTCN2018112809-appb-001236
是二阶坐标张量,得
Figure PCTCN2018112809-appb-001237
由式(2.30)得
Figure PCTCN2018112809-appb-001238
对于轴不变量
Figure PCTCN2018112809-appb-001239
由式(2.17)和式(2.11)得
Figure PCTCN2018112809-appb-001240
由式(2.11)得
Figure PCTCN2018112809-appb-001241
【2】轴四元数及其性质
轴不变量
Figure PCTCN2018112809-appb-001242
以自然坐标系
Figure PCTCN2018112809-appb-001243
为参考,转动角
Figure PCTCN2018112809-appb-001244
以系统零位轴矢量
Figure PCTCN2018112809-appb-001245
为参考,它们构成4D空间。下面,分别定义轴不变量的四元数(称为轴四元数)
Figure PCTCN2018112809-appb-001246
左叉乘矩阵
Figure PCTCN2018112809-appb-001247
及右叉乘矩阵
Figure PCTCN2018112809-appb-001248
Figure PCTCN2018112809-appb-001249
由式(2.28),(2.29)及式(2.34)得
Figure PCTCN2018112809-appb-001250
给定轴不变量
Figure PCTCN2018112809-appb-001251
并记
Figure PCTCN2018112809-appb-001252
则有
Figure PCTCN2018112809-appb-001253
Figure PCTCN2018112809-appb-001254
证明:由单位矢量
Figure PCTCN2018112809-appb-001255
得
Figure PCTCN2018112809-appb-001256
当p=1时由式(2.37)可知
Figure PCTCN2018112809-appb-001257
即
Figure PCTCN2018112809-appb-001258
由式(2.39)得
Figure PCTCN2018112809-appb-001259
即
Figure PCTCN2018112809-appb-001260
当p=m时,式(2.37)及式(2.38)成立,即
Figure PCTCN2018112809-appb-001261
Figure PCTCN2018112809-appb-001262
则p=m+1时,由式(2.39)及式(2.41)得
Figure PCTCN2018112809-appb-001263
由式(2.36)及式(2.42)得
Figure PCTCN2018112809-appb-001264
由数学归纳法可知,式(2.37)及式(2.38)成立。
由式(2.37)得
Figure PCTCN2018112809-appb-001265
由式(2.38)得
Figure PCTCN2018112809-appb-001266
式(2.43)及式(2.44)表明角速度叉乘矩阵的幂具有周期性。
【3】转动矢量
应用轴不变量,可以将转动表达为转动矢量。下面,对之进行阐述。
称体l由初始姿态
Figure PCTCN2018112809-appb-001267
绕单位轴矢量
Figure PCTCN2018112809-appb-001268
转动角度
Figure PCTCN2018112809-appb-001269
后,至终止姿态l的过程为定轴转动(Fixed-axis Rotation)。显然,相对坐标系
Figure PCTCN2018112809-appb-001270
的单位轴矢量
Figure PCTCN2018112809-appb-001271
是常矢量,即定轴。单位转动轴
Figure PCTCN2018112809-appb-001272
确定了定轴转动的方向,角度
Figure PCTCN2018112809-appb-001273
确定了该定轴转动的幅度或大小。故定义转动矢量(Rotation Vector)或罗德里格参数(Rodrigues Parameters)
Figure PCTCN2018112809-appb-001274
如下:
Figure PCTCN2018112809-appb-001275
在自然坐标系统下,
Figure PCTCN2018112809-appb-001276
故有
Figure PCTCN2018112809-appb-001277
其中:
Figure PCTCN2018112809-appb-001278
因
Figure PCTCN2018112809-appb-001279
故
Figure PCTCN2018112809-appb-001280
有
Figure PCTCN2018112809-appb-001281
因
Figure PCTCN2018112809-appb-001282
是二阶坐标张量,故有
Figure PCTCN2018112809-appb-001283
基于轴不变量的定轴转动
请参照图25a。图25a为矢量做定轴转动前矢量图。如图25a所示,给定轴矢量
Figure PCTCN2018112809-appb-001284
(2501)及与轴矢量
Figure PCTCN2018112809-appb-001285
(2501)固结的单位矢量
Figure PCTCN2018112809-appb-001286
(2502);在转动前,对于单位矢量
Figure PCTCN2018112809-appb-001287
(2502),
Figure PCTCN2018112809-appb-001288
对系统零位轴
Figure PCTCN2018112809-appb-001289
(2503)的投影矢量为
Figure PCTCN2018112809-appb-001290
(2504),对系统径向轴
Figure PCTCN2018112809-appb-001291
(2505)的矩矢量为
Figure PCTCN2018112809-appb-001292
(2506),径向矢量为
Figure PCTCN2018112809-appb-001293
(2507)。
请参照图25b。图25b为图25a做定轴转动后矢量图。由式(2.15)可知,轴矢量
Figure PCTCN2018112809-appb-001294
(25011)相对于杆件
Figure PCTCN2018112809-appb-001295
及Ω l或自然坐标系
Figure PCTCN2018112809-appb-001296
及F [l]是固定不变的,故称该转动为定轴转动。单位矢量
Figure PCTCN2018112809-appb-001297
(2502)绕轴
Figure PCTCN2018112809-appb-001298
(25011)转动角度
Figure PCTCN2018112809-appb-001299
(2508)后,转动后的零位矢量
Figure PCTCN2018112809-appb-001300
(25021)对系统零位轴
Figure PCTCN2018112809-appb-001301
(25031)的投影矢量为
Figure PCTCN2018112809-appb-001302
(25041);转动后的零位矢量
Figure PCTCN2018112809-appb-001303
(25021)对系统径向轴
Figure PCTCN2018112809-appb-001304
的矩矢量为
Figure PCTCN2018112809-appb-001305
(25061);轴向分量为
Figure PCTCN2018112809-appb-001306
(25062);故得具有链指标的Rodrigues矢量方程
Figure PCTCN2018112809-appb-001307
因矢量
Figure PCTCN2018112809-appb-001308
是任意的且
Figure PCTCN2018112809-appb-001309
得具有链指标的Rodrigues转动方程
Figure PCTCN2018112809-appb-001310
若
Figure PCTCN2018112809-appb-001311
由式(2.51),得
Figure PCTCN2018112809-appb-001312
若
Figure PCTCN2018112809-appb-001313
即坐标系
Figure PCTCN2018112809-appb-001314
与F [l]的方向一致,由式(2.51)可知:反对称部分
Figure PCTCN2018112809-appb-001315
必有
Figure PCTCN2018112809-appb-001316
因此,系统零位是自然坐标系
Figure PCTCN2018112809-appb-001317
与F [l]重合的充分必要条件,即初始时刻的自然坐标系方向一致是系统零位定义的前提条件。利用自然坐标系可以很方便地分析MAS系统运动学和动力学。
显然:
Figure PCTCN2018112809-appb-001318
是自然轴
Figure PCTCN2018112809-appb-001319
上的坐标,
Figure PCTCN2018112809-appb-001320
是系统零位轴
Figure PCTCN2018112809-appb-001321
上的坐标。固结于体自然坐标系F [l]的单位矢量
Figure PCTCN2018112809-appb-001322
与
Figure PCTCN2018112809-appb-001323
一一映射,即等价。自然零位轴及自然坐标轴分别是四维复数空间的实轴及三个虚轴。式(2.51)中,右式前两项是关于角度
Figure PCTCN2018112809-appb-001324
的对称矩阵,故有
Figure PCTCN2018112809-appb-001325
最后一项是关于角度
Figure PCTCN2018112809-appb-001326
的反对称矩阵,故有
Figure PCTCN2018112809-appb-001327
因此,
Figure PCTCN2018112809-appb-001328
由
Figure PCTCN2018112809-appb-001329
及
Figure PCTCN2018112809-appb-001330
唯一确定,即
Figure PCTCN2018112809-appb-001331
由矢量
Figure PCTCN2018112809-appb-001332
及标量
Figure PCTCN2018112809-appb-001333
唯一确定,这是后续诸多问题讨论的基础。
式(2.51)中任意项的链序保持一致。由式(2.51)得
Figure PCTCN2018112809-appb-001334
同时,由式(2.51)得
Figure PCTCN2018112809-appb-001335
即
Figure PCTCN2018112809-appb-001336
式(2.53)表明:一方面,在相邻自然坐标系下,相邻杆件l和
Figure PCTCN2018112809-appb-001337
的轴矢量具有相同的坐标;另一方面,轴矢量
Figure PCTCN2018112809-appb-001338
由原点
Figure PCTCN2018112809-appb-001339
指向
Figure PCTCN2018112809-appb-001340
的外侧,轴矢量
Figure PCTCN2018112809-appb-001341
由O l指向O l外侧,它们具有相同的坐标,即轴不变量
Figure PCTCN2018112809-appb-001342
具有全序关系,它的正序与逆序无区别。因此
Figure PCTCN2018112809-appb-001343
若
Figure PCTCN2018112809-appb-001344
由式(2.53)得
Figure PCTCN2018112809-appb-001345
将之代入式(2.51)得
Figure PCTCN2018112809-appb-001346
即有
Figure PCTCN2018112809-appb-001347
由式(2.52)及式(2.55)可知:对轴矢量
Figure PCTCN2018112809-appb-001348
数值取负与对关节角
Figure PCTCN2018112809-appb-001349
取逆序都可得到
Figure PCTCN2018112809-appb-001350
的逆。轴矢量
Figure PCTCN2018112809-appb-001351
是自由矢量,其方向总由坐标系原点
Figure PCTCN2018112809-appb-001352
指向
Figure PCTCN2018112809-appb-001353
的外侧;显然,数值取负与拓扑(连接)次序取反是两个不同的概念。在多轴系统理论中,因轴矢量
Figure PCTCN2018112809-appb-001354
用作关节执行器及传感器的参考轴,是系统参考规范,故式
Figure PCTCN2018112809-appb-001355
恒成立,即轴矢量
Figure PCTCN2018112809-appb-001356
是不变量。
定轴转动的幂零多项式
由式(2.51)得
Figure PCTCN2018112809-appb-001357
易得
Figure PCTCN2018112809-appb-001358
考虑
Figure PCTCN2018112809-appb-001359
的泰勒展开
Figure PCTCN2018112809-appb-001360
将式(2.36)带入式(2.57)得
Figure PCTCN2018112809-appb-001361
即
Figure PCTCN2018112809-appb-001362
式(2.59)是与
Figure PCTCN2018112809-appb-001363
和
Figure PCTCN2018112809-appb-001364
相关的多重线性方程,是轴不变量
Figure PCTCN2018112809-appb-001365
的二阶多项式。给定自然零位矢量
Figure PCTCN2018112809-appb-001366
作为
Figure PCTCN2018112809-appb-001367
的零位参考,则
Figure PCTCN2018112809-appb-001368
及
Figure PCTCN2018112809-appb-001369
分别表示零位矢量及径向矢量。式(2.59)即为
Figure PCTCN2018112809-appb-001370
对称部分
Figure PCTCN2018112809-appb-001371
表示零位轴张量,反对称部分
Figure PCTCN2018112809-appb-001372
表示径向轴张量,分别与轴向外积张量
Figure PCTCN2018112809-appb-001373
正交,从而确定三维自然轴空间;式(2.59)仅含一个正弦及余弦运算、6个积运算及6个和运算,计算复杂度低;同时可知:通过轴不变量
Figure PCTCN2018112809-appb-001374
及关节坐标
Figure PCTCN2018112809-appb-001375
实现了坐标系及极性的参数化。
示例2.2:
当
Figure PCTCN2018112809-appb-001376
即
Figure PCTCN2018112809-appb-001377
故
Figure PCTCN2018112809-appb-001378
则有
Figure PCTCN2018112809-appb-001379
示例2.3:
当
Figure PCTCN2018112809-appb-001380
时,即
Figure PCTCN2018112809-appb-001381
故
Figure PCTCN2018112809-appb-001382
由式(2.59)得
Figure PCTCN2018112809-appb-001383
示例2.4:
当
Figure PCTCN2018112809-appb-001384
时,即
Figure PCTCN2018112809-appb-001385
故
Figure PCTCN2018112809-appb-001386
由式(2.59)得
Figure PCTCN2018112809-appb-001387
示例2.5:已知
Figure PCTCN2018112809-appb-001388
求
Figure PCTCN2018112809-appb-001389
解:
Figure PCTCN2018112809-appb-001390
Figure PCTCN2018112809-appb-001391
由式(2.60)得
Figure PCTCN2018112809-appb-001392
解毕。
定轴转动的指数
因DCM矩阵
Figure PCTCN2018112809-appb-001393
一定存在为1的特征值,其对应特征向量是
Figure PCTCN2018112809-appb-001394
由Cayley-Hamilton理论,式(2.50)可表示为
Figure PCTCN2018112809-appb-001395
式(2.60)表示的是一般转动规律,指数e是自然界普适常量。
由式(2.60)及式(2.6)得
Figure PCTCN2018112809-appb-001396
故
Figure PCTCN2018112809-appb-001397
对于定轴转动,由式(2.60)可得性质具有非常重要的作用,需要分析其基本性质。
Figure PCTCN2018112809-appb-001398
由式(2.63)得
Figure PCTCN2018112809-appb-001399
由式(2.54)及式(2.64)得
Figure PCTCN2018112809-appb-001400
由式(2.60)得
Figure PCTCN2018112809-appb-001401
即有
Figure PCTCN2018112809-appb-001402
由式(2.63)至式(2.66)可知,应用式(2.60)求自然角度非常方便,具有优良的空间操作性能;式(2.59)比式(2.60)计算复杂度低,更适合于数值计算。
基于轴不变量的Cayley变换
当给定角度
Figure PCTCN2018112809-appb-001403
后,其正余弦及其半角的正余弦是常数;为方便表达,记
Figure PCTCN2018112809-appb-001404
由式(2.67)得
Figure PCTCN2018112809-appb-001405
定义
Figure PCTCN2018112809-appb-001406
故有
Figure PCTCN2018112809-appb-001407
【1】定轴转动的Cayley正变换
由式(2.69)必有
Figure PCTCN2018112809-appb-001408
证明:由式(2.59)及(2.69)得
Figure PCTCN2018112809-appb-001409
因
Figure PCTCN2018112809-appb-001410
将式(2.73)代入式(2.72),
Figure PCTCN2018112809-appb-001411
故有
Figure PCTCN2018112809-appb-001412
又
Figure PCTCN2018112809-appb-001413
故有
Figure PCTCN2018112809-appb-001414
由式(2.74)及式(2.75)得(2.71)成立。
由式(2.71)得
Figure PCTCN2018112809-appb-001415
故
Figure PCTCN2018112809-appb-001416
为正交旋转变换阵。
于1846年Cayley表达了没有链指标的Cayley变换。称式(2.76)中的τ l为Cayley参数,其含义如图26所示,它是切向矢量与径向矢量的正切。且有
Figure PCTCN2018112809-appb-001417
由式(2.76)可知,
Figure PCTCN2018112809-appb-001418
与径向矢量
Figure PCTCN2018112809-appb-001419
及切向矢量
Figure PCTCN2018112809-appb-001420
是线性关系,称
Figure PCTCN2018112809-appb-001421
为“Rodrigues线性不变量”。通常称
Figure PCTCN2018112809-appb-001422
即
Figure PCTCN2018112809-appb-001423
为Rodrigues或Gibbs矢量,而将
Figure PCTCN2018112809-appb-001424
称为修改的Rodrigues参数(MRPs)。
【2】Cayley逆变换
由式(2.71)得
Figure PCTCN2018112809-appb-001425
证明:由式(2.26)、(2.59)及式(2.73)得
Figure PCTCN2018112809-appb-001426
故有
Figure PCTCN2018112809-appb-001427
另一方面,
Figure PCTCN2018112809-appb-001428
故有
Figure PCTCN2018112809-appb-001429
由式(2.78)及式(2.79)得式(2.77)成立。
证毕。
由式(2.77)可知,Gibbs矢量
Figure PCTCN2018112809-appb-001430
DCM矩阵
Figure PCTCN2018112809-appb-001431
转动矢量
Figure PCTCN2018112809-appb-001432
一一映射,即
Figure PCTCN2018112809-appb-001433
因此,轴不变量叉乘矩阵
Figure PCTCN2018112809-appb-001434
的性质具有非常重要的作用,需要分析其基本性质。
由式(2.77)得:
Figure PCTCN2018112809-appb-001435
证明:由式(2.77)得
Figure PCTCN2018112809-appb-001436
因为
Figure PCTCN2018112809-appb-001437
即
Figure PCTCN2018112809-appb-001438
故
Figure PCTCN2018112809-appb-001439
因
Figure PCTCN2018112809-appb-001440
是任意的,有
Figure PCTCN2018112809-appb-001441
故式(2.81)得证。式(2.81)表明:
Figure PCTCN2018112809-appb-001442
是二阶张量,同时
Figure PCTCN2018112809-appb-001443
具有反对称性。称式(2.77)为“Cayley逆变换”。
因
Figure PCTCN2018112809-appb-001444
由式(2.81)得
Figure PCTCN2018112809-appb-001445
将式(2.82)与
Figure PCTCN2018112809-appb-001446
对比,可知:轴矢量是不变量,即
Figure PCTCN2018112809-appb-001447
正因轴矢量具有不依赖于相邻参考系的不变性,故轴矢量称为轴不变量。
基于轴不变量的3D矢量位姿方程
下面,阐述3D矢量位姿定理,并予以证明。
定理2.1给定运动链 il n,则有基于轴不变量的3D矢量姿态方程
Figure PCTCN2018112809-appb-001448
Figure PCTCN2018112809-appb-001449
其中:
Figure PCTCN2018112809-appb-001450
证明:由式(2.8)及式(2.59)得
Figure PCTCN2018112809-appb-001451
则
Figure PCTCN2018112809-appb-001452
是
Figure PCTCN2018112809-appb-001453
及
Figure PCTCN2018112809-appb-001454
的多重线性型,其中:l∈ il k。式(2.59)可表示为。
Figure PCTCN2018112809-appb-001455
称(2.85)为改进的Cayley变换。即有
Figure PCTCN2018112809-appb-001456
给定运动链
Figure PCTCN2018112809-appb-001457
由式(2.6)及式(2.85)得式。
式是关于
Figure PCTCN2018112809-appb-001458
的n维2阶多项式方程。将式(2.86)代入式(2.8)得
Figure PCTCN2018112809-appb-001459
即得式。
式(2.83)及式(2.84)表明:姿态
Figure PCTCN2018112809-appb-001460
及位置矢量
Figure PCTCN2018112809-appb-001461
是关于τ k的6个“n维2阶”多项式方程。式(2.83)及式(2.84)是关于结构矢量及关节变量的矢量方程,称定理2.1为3D矢量位姿定理。式(2.84)所示的位置逆问题就是当给定期望位置
Figure PCTCN2018112809-appb-001462
时如何求解该多项式方程的关节变量τ l及
Figure PCTCN2018112809-appb-001463
的问题,其中:l∈ il n。
式(2.83)及式(2.84)表明:因相关的结构矢量可以事先计算,且可以表示为逆向递归过程,具有线性的计算复杂度,故可以带来计算速度的提升。又因在结构参数
Figure PCTCN2018112809-appb-001464
归一化后, iQ n的“正交归一”性由两个正交的矩阵即
Figure PCTCN2018112809-appb-001465
及
Figure PCTCN2018112809-appb-001466
得到保证,且与τ l无关,其中:l∈ il n,故式(2.83)及式(2.84)的计算精度不会因为数字截断误差而累积。从而,保证了矢量位姿方程的计算精度。
因此,基于轴不变量的3D矢量位姿方程不仅方程数与3D空间的位姿维度相等,而且具有计算速度及计算精度的优势。表明Gibbs矢量
Figure PCTCN2018112809-appb-001467
可以表示姿态。
示例2.6:请再度参照图20,对于解耦机械手而言,拾取点S(2008)位于以腕心为球心的球面上。由参考系
Figure PCTCN2018112809-appb-001468
经转动至体系l的转动链
Figure PCTCN2018112809-appb-001469
转动轴链为
Figure PCTCN2018112809-appb-001470
角序列记为
Figure PCTCN2018112809-appb-001471
故有转动矢量
Figure PCTCN2018112809-appb-001472
因定轴转动的轴矢量序列
Figure PCTCN2018112809-appb-001473
是自然不变量,故由式(2.87)得角速度
Figure PCTCN2018112809-appb-001474
得
Figure PCTCN2018112809-appb-001475
由式(2.88)得雅克比矩阵即偏速度表示为
Figure PCTCN2018112809-appb-001476
由式(2.89)得出的角速度矢量
Figure PCTCN2018112809-appb-001477
的雅克比矩阵可知,它仅与运动副的结构参量即轴矢量相关,而与运动参量无关。
由式(2.63)得
Figure PCTCN2018112809-appb-001478
由式(2.31)及式(2.90)得旋转变换阵的偏速度
Figure PCTCN2018112809-appb-001479
由式(2.91)得
Figure PCTCN2018112809-appb-001480
式(2.92)可知:旋转变换阵的偏速度就是角速度的偏速度。显然,以自然不变量表达的转动可以解决偏速度的计算问题。
由本节可知,轴不变量
Figure PCTCN2018112809-appb-001481
具有优良的空间操作性能,给转动分析与计算带来了极大方便。因为轴不变量是转动及平动的本征量。正因如此,需要建立基于轴不变量的多轴系统运动学及动力学理论,以揭示多轴系统内在的规律。
基于轴不变量的四元数演算
Rodrigues四元数
定轴转动通过轴不变量
Figure PCTCN2018112809-appb-001482
及转动角度
Figure PCTCN2018112809-appb-001483
唯一确定,即通过转动矢量
Figure PCTCN2018112809-appb-001484
唯一表示。将转动矢量的变体形式
Figure PCTCN2018112809-appb-001485
称为“Rodrigues四元数(Quaternion)”,亦称“Rodrigues参数”。四元数意为四个数,前三个
Figure PCTCN2018112809-appb-001486
是矢量,最后一个
Figure PCTCN2018112809-appb-001487
是标量。显然,“Rodrigues四元数”不满足可加性,故“Rodrigues四元数”是四维数组。
将“Rodrigues四元数”表示为
Figure PCTCN2018112809-appb-001488
并记
Figure PCTCN2018112809-appb-001489
其中:称
Figure PCTCN2018112809-appb-001490
为“Rodrigues四元数”矢部,称
Figure PCTCN2018112809-appb-001491
为“Rodrigues四元数”实部或标部。显然,有
Figure PCTCN2018112809-appb-001492
即模为1。式(2.93)是美式“Rodrigues四元数”。
由式(2.93)得
Figure PCTCN2018112809-appb-001493
Figure PCTCN2018112809-appb-001494
由式(2.94)可知:
Figure PCTCN2018112809-appb-001495
不能覆盖一周,故
Figure PCTCN2018112809-appb-001496
与
Figure PCTCN2018112809-appb-001497
不是一一映射的关系。式(2.94)的角度范围与文献[2]不同,该文献中的转动轴方向是可重定义的;本文中的轴矢量是不变量,它作为运动链的自然参考轴,方向是先于系统分析确定的,之后不可重新定义。
欧式“Rodrigues四元数”习惯表示为
Figure PCTCN2018112809-appb-001498
由式(2.93)知
Figure PCTCN2018112809-appb-001499
Figure PCTCN2018112809-appb-001500
为
Figure PCTCN2018112809-appb-001501
的逆四元数,即共轭四元数;显然,
Figure PCTCN2018112809-appb-001502
是
Figure PCTCN2018112809-appb-001503
转动的逆过程。给定一个Rodrigues四元数时,只能确定定轴转动的角度范围为[0,π]。故称定轴转动的Rodrigues四元数为有限转动四元数。注意,
Figure PCTCN2018112809-appb-001504
为
Figure PCTCN2018112809-appb-001505
的负/反四元数,且有
Figure PCTCN2018112809-appb-001506
若给定未归一化的
Figure PCTCN2018112809-appb-001507
显然,
Figure PCTCN2018112809-appb-001508
则由式(2.51)得对应的旋转变换阵
Figure PCTCN2018112809-appb-001509
Figure PCTCN2018112809-appb-001510
对于规范Rodrigues四元数
Figure PCTCN2018112809-appb-001511
有
Figure PCTCN2018112809-appb-001512
及
Figure PCTCN2018112809-appb-001513
由式(2.99)得
Figure PCTCN2018112809-appb-001514
即
Figure PCTCN2018112809-appb-001515
由式(2.101)及
Figure PCTCN2018112809-appb-001516
得
Figure PCTCN2018112809-appb-001517
Figure PCTCN2018112809-appb-001518
由式(2.102)及式(2.103)计算
Figure PCTCN2018112809-appb-001519
时,充分应用了矩阵
Figure PCTCN2018112809-appb-001520
每一元素,对于病态矩阵
Figure PCTCN2018112809-appb-001521
具有鲁棒能力。
定轴转动是树形运动链系统的基本问题,由于角度测量噪声及计算机有限字长的截断误差致使旋转变换阵的正交约束被破坏,经树链旋转变换造成误差放大,难以满足工程需求。需要通过Rodrigues四元数来表征旋转变换阵,保证了旋转变换阵的正交归一化。应用基于轴不变量的转动可以降低测量及数字截断误差。
四维空间复数
有限转动四元数的转动角度范围为[0,π),它有下面基本特点:
【1】对于定轴转动,有限转动四元数可以唯一确定旋转变换阵;反之,则不成立。即
Figure PCTCN2018112809-appb-001522
【2】有限转动四元数
Figure PCTCN2018112809-appb-001523
及
Figure PCTCN2018112809-appb-001524
有如下关系:
Figure PCTCN2018112809-appb-001525
前者是标量,称为标量部分;后者是转动轴矢量,称为矢量部分。
对于定轴转动的逆问题,由旋转变换阵计算有限转动四元数时有一个特别重要的约束条件:
Figure PCTCN2018112809-appb-001526
而机器人或航天器或其机构在定轴转动时常常要求在[0,2π)内实现连续转动,显然
Figure PCTCN2018112809-appb-001527
不能满足要求,这正是该四元数命名为有限转动四元数的原因。对于定轴转动的逆问题,有限转动四元数与对应的旋转变换阵并不完全等价,这反映了有限转动四元数的局限性。
尽管如此,因为通过有限转动四元数可以表示旋转变换阵,且有限转动四元数表示定轴转动是自然的,所以在表示定轴转动时常常用它作为人机交互的接口来计算旋转变换阵。因为在以自然坐标系为基础的定轴转动中,通过转动矢量、Rodrigues四元数可以确定相邻两个坐标系的关系;此时,除根坐标系外,其它体系不必定义;即在多轴系统中,只需要关注底座坐标基。在机器人或航天器及其机构规划与控制时需要通过欧拉四元数表示,欧拉四元数与对应的旋转变换阵完全等价。
2D转动是3D转动的特例。请再度参照图25a、图25b。以转动的零位平面为参考,若记
Figure PCTCN2018112809-appb-001528
则
Figure PCTCN2018112809-appb-001529
即不考虑轴矢量
Figure PCTCN2018112809-appb-001530
由式(2.32)可知:
Figure PCTCN2018112809-appb-001531
故有i 2=-1。因此,2D平面的复数基分量为[i,1]。显然,i是纯单位虚数,具有实在的物理含义。由式(2.51)及(2.60)得被誉为“上帝方程(God’s Formula)”的欧拉公式:
Figure PCTCN2018112809-appb-001532
由式(2.104)得
Figure PCTCN2018112809-appb-001533
由平面复数或2D复数可知,复数的纯虚数轴与实数轴正交,复数乘积运算表示的对应矢量的转动。在2D空间下,应用复数来解决转动问题是非常简单的。2D复数解决的是1DOF的转动问题。因此,进一步研究四维复数,以解决3DOF的转动问题。
由于转动轴矢量
Figure PCTCN2018112809-appb-001534
是自然不变量,对于转动链
Figure PCTCN2018112809-appb-001535
而言,转动轴矢量
Figure PCTCN2018112809-appb-001536
视为参考轴,在工程上,仅需要确定世界系或惯性系F [i];多轴系统处于零位时,
Figure PCTCN2018112809-appb-001537
即该参考系统为自然坐标系统。笛卡尔直角坐标系是理想的坐标系统,它应该在理想的情况下进行应用,即应用第2.5.4节的关节坐标及自然坐标系,以固定轴矢量为参考,建立通用的运动学方程及动力学方程。在自然坐标系统下,只需定义世界系或惯性系统即根杆件的体系;其它杆件的体系只发生在理想的概念上,因为它们可以由固定轴矢量及关节坐标确定。因此,仅需定义世界系或惯性系,树链系统共用一组基,故有自然坐标系的公共参考基i,
i=[i x,i y,i z]。        (2.105)
记“*”为复数乘,故有
i x*i y=i z,i y*i z=i x,i z*i x=i y。         (2.106)
由式(2.106)定义4D复数空间的单位基
Figure PCTCN2018112809-appb-001538
下面的点表示新增一个独立的维度。
Figure PCTCN2018112809-appb-001539
且i满足
Figure PCTCN2018112809-appb-001540
其中:3D复数乘“*”是在式(2.107)约束下的满足式(2.106)3D矢量乘“*”运算,即
Figure PCTCN2018112809-appb-001541
因此
1+i x*i x=0,1+i y*i y=0,1+i z*i z=0。        (2.109)
因i x、i y及i z是三个独立的符号,故视为三个纯虚数;由式(2.109)3D虚数i的三个分量满足:
Figure PCTCN2018112809-appb-001542
即相关的纯虚数复数乘与3D笛卡尔空间点积一一映射。由上可知,将坐标基[i x,i y,i z]增加一个维度并引入约束(2.108)后,仍具有三个独立的维度,是一个独立的3D实空间。显然,4D复数空间与3D笛卡尔空间同构即等价。由式(2.107)得
Figure PCTCN2018112809-appb-001543
与式(2.69)相似,定义
Figure PCTCN2018112809-appb-001544
式(2.111)和式(2.112)表明4D复数空间具有矩阵不变性和内积不变性。与式(2.70)类似得
Figure PCTCN2018112809-appb-001545
由式(2.107)得:
Figure PCTCN2018112809-appb-001546
故有
i 2=-1。        (2.114)
显然,3D笛卡尔空间是新的4D复数空间的子空间,复数乘既具有式(2.106)矢量乘运算又具有式(2.110)、(2.114)代数乘运算。很自然地,可以应用4D复数空间规律研究3D笛卡尔空间的规律。如同2D复数,在3D空间下姿态表示与运算是复杂的,但在4D复数空间下它们具有简单的表示及运算,这是破解姿态计算难题的关键。
因此,定义四元数
Figure PCTCN2018112809-appb-001547
及保证模不变的共轭四元数
Figure PCTCN2018112809-appb-001548
Figure PCTCN2018112809-appb-001549
四元数
Figure PCTCN2018112809-appb-001550
的虚部与实部表示的是不变量,故左上角指标不表示参考系,而仅表示链的作用关系。因此,
Figure PCTCN2018112809-appb-001551
可视为四维空间的复数,其中
Figure PCTCN2018112809-appb-001552
是实部,
Figure PCTCN2018112809-appb-001553
是虚部。通过四维空间复数的研究,人们认识了欧拉四元数。
Figure PCTCN2018112809-appb-001554
前三个数构成矢量,对应基i的坐标,最后一个是实部,即
Figure PCTCN2018112809-appb-001555
因4D复数的矢部参考基是唯一的自然参考基,故四维复数的左上角的参考指标仅表明运动关系,已失去投影参考系的含义,具有不同左上角指标的4D复数可以进行代数运算。尽管参考指标在4D复数中无意义,但不表明指标关系无意义,因为复数的乘除运算与复数的作用顺序密切相关。
记4D复数为
Figure PCTCN2018112809-appb-001556
且有任一常数c,具有如下复数加“+”、数乘“·”及共轭“□ *”及复数“*”运算:
Figure PCTCN2018112809-appb-001557
Figure PCTCN2018112809-appb-001558
将式(2.116)写成数组形式:
Figure PCTCN2018112809-appb-001559
称式(2.118)为四元数的代数加公式。将式(2.118)写成数组形式:
Figure PCTCN2018112809-appb-001560
称式(2.119)为四元数的标量乘公式。下面,分析复数乘“*”的计算规律。
Figure PCTCN2018112809-appb-001561
即
Figure PCTCN2018112809-appb-001562
将式(2.120)写成伪坐标(Pseudo-coordinates)或数组形式,
Figure PCTCN2018112809-appb-001563
即
Figure PCTCN2018112809-appb-001564
另一方面,
Figure PCTCN2018112809-appb-001565
故式(2.121)中的复数乘“*”可以转化为数乘“·”运算,即有
Figure PCTCN2018112809-appb-001566
故定义
Figure PCTCN2018112809-appb-001567
称
Figure PCTCN2018112809-appb-001568
为四元数
Figure PCTCN2018112809-appb-001569
的叉乘(共轭)矩阵。由式(2.122)易得
Figure PCTCN2018112809-appb-001570
由式(2.124)及上式得
Figure PCTCN2018112809-appb-001571
式(2.125)及式(2.126)作用在于:四元数的乘法运算可用四元数的共轭矩阵运算替换。 与矢量叉乘运算相似,四元数乘可应用相应的共轭矩阵替代;称式(2.126)为4D复数乘公式。
【1】欧拉四元数定义
定义
Figure PCTCN2018112809-appb-001572
其中:
Figure PCTCN2018112809-appb-001573
称
Figure PCTCN2018112809-appb-001574
为Euler-Rodrigues四元数或欧拉四元数;显然,它是模为1的四元数,又称为规范四元数。基于Rodrigues四元数,Euler首次采用了半角表示的Rodrigues四元数。式(2.127)是美式欧拉四元数表示法;与Rodrigues四元数一样,欧式欧拉四元数表示为
Figure PCTCN2018112809-appb-001575
在本书中,仅使用式(2.127)美式欧拉四元数表示法。
【2】由欧拉四元数表示旋转变换阵
由式(2.51)可知
Figure PCTCN2018112809-appb-001576
因此,欧拉四元数
Figure PCTCN2018112809-appb-001577
表示了定轴转动,并确定了旋转变换阵
Figure PCTCN2018112809-appb-001578
考虑式(2.25)得
Figure PCTCN2018112809-appb-001579
由式(2.45)知
Figure PCTCN2018112809-appb-001580
由式(2.48)知
Figure PCTCN2018112809-appb-001581
式(2.93)及式(2.127)关系为
Figure PCTCN2018112809-appb-001582
由(2.129)式可知旋转变换阵为
Figure PCTCN2018112809-appb-001583
显然,有
Figure PCTCN2018112809-appb-001584
由式(2.127)及式(2.93)可知,欧拉四元数与Rodrigues四元数区别在于:前者是
Figure PCTCN2018112809-appb-001585
而后者是
Figure PCTCN2018112809-appb-001586
而式(2.132)计算复杂度相对式(2.59)要高一些。
【3】由旋转变换阵计算欧拉四元数
下面,讨论旋转变换阵
Figure PCTCN2018112809-appb-001587
求四元数
Figure PCTCN2018112809-appb-001588
的问题。由式(2.131)可知
Figure PCTCN2018112809-appb-001589
Figure PCTCN2018112809-appb-001590
由式(2.134)得
Figure PCTCN2018112809-appb-001591
Figure PCTCN2018112809-appb-001592
Figure PCTCN2018112809-appb-001593
即
Figure PCTCN2018112809-appb-001594
将式(2.135)代入式(2.137)
Figure PCTCN2018112809-appb-001595
式(2.133)的角度范围与文献不同,该文献中的转动轴方向是可重定义的;而本文中的轴矢量是不变量,它作为运动链的自然参考轴,方向是先于系统分析确定的,在以后的运算过程中不应该对之重新定义。
Figure PCTCN2018112809-appb-001596
可以完整地覆盖一周,欧拉四元数与姿态具有一一映射的关系。
由式(2.134)及式(2.137)计算
Figure PCTCN2018112809-appb-001597
时,充分应用了矩阵元素的信息,它们由
Figure PCTCN2018112809-appb-001598
及
Figure PCTCN2018112809-appb-001599
确定。与笛卡尔坐标轴链的姿态计算相比,欧拉四元数对病态旋转变换矩阵具有更强的鲁棒能力。由式(2.132)可知,
Figure PCTCN2018112809-appb-001600
与
Figure PCTCN2018112809-appb-001601
分别描述的是旋转变换阵
Figure PCTCN2018112809-appb-001602
及
Figure PCTCN2018112809-appb-001603
由式(2.133)及式(2.138)唯一确定
Figure PCTCN2018112809-appb-001604
及轴不变量
Figure PCTCN2018112809-appb-001605
即有
Figure PCTCN2018112809-appb-001606
将式(2.128)重新表示为
Figure PCTCN2018112809-appb-001607
将[0,2π)的姿态角称为最短路径全姿态角。欧拉四元数能区分最短路径全姿态角,而Rodrigues四元数只能区分[0,π)内的姿态角。
【4】四元数的逆
由式(2.130)及式(2.132)可知:
Figure PCTCN2018112809-appb-001608
故有
Figure PCTCN2018112809-appb-001609
即
Figure PCTCN2018112809-appb-001610
由式(2.130)知
Figure PCTCN2018112809-appb-001611
它是
Figure PCTCN2018112809-appb-001612
的反或逆,且有
Figure PCTCN2018112809-appb-001613
注意:单位四元数
Figure PCTCN2018112809-appb-001614
的共轭四元数
Figure PCTCN2018112809-appb-001615
为
Figure PCTCN2018112809-appb-001616
即有
Figure PCTCN2018112809-appb-001617
因
Figure PCTCN2018112809-appb-001618
故共轭四元数
Figure PCTCN2018112809-appb-001619
表示的是
Figure PCTCN2018112809-appb-001620
的逆转动。由式(2.141)可知
Figure PCTCN2018112809-appb-001621
及
Figure PCTCN2018112809-appb-001622
等价。
由式(2.125)及式(2.126)可知,四元数乘法运算可用其共轭矩阵运算替代,故有
Figure PCTCN2018112809-appb-001623
其中:由式(2.125)得
Figure PCTCN2018112809-appb-001624
且有
Figure PCTCN2018112809-appb-001625
称
Figure PCTCN2018112809-appb-001626
为
Figure PCTCN2018112809-appb-001627
的共轭矩阵。同时,因为四元数是四维空间复数,矢部对参考基的矢量投影应相对于同一个参考基。称式(2.142)为四元数串接性运算,与齐次变换相对应。因此,序列姿态运算具有运动链串接性;与矢量叉乘运算相似,四元数乘可应用相应的共轭矩阵替代。
由式(2.143)及式(2.67),得
Figure PCTCN2018112809-appb-001628
式(2.142)应用计算机编程实现时,可用下式替代。
Figure PCTCN2018112809-appb-001629
式(2.145)仅包含16个乘法运算及12个加法运算。而
Figure PCTCN2018112809-appb-001630
需要进行27个乘法运算及18个加法运算。在得到
Figure PCTCN2018112809-appb-001631
后,计算
Figure PCTCN2018112809-appb-001632
及
Figure PCTCN2018112809-appb-001633
再由式(2.59)计算
Figure PCTCN2018112809-appb-001634
是4·4的矩阵,其构成如下:第4列为右手序的四元数
Figure PCTCN2018112809-appb-001635
第4行为左手序的四元数
Figure PCTCN2018112809-appb-001636
即
Figure PCTCN2018112809-appb-001637
左上3×3包含为
Figure PCTCN2018112809-appb-001638
其中:
Figure PCTCN2018112809-appb-001639
的右上三角为右手序的矢量
Figure PCTCN2018112809-appb-001640
的左下三角为左手序的矢量
Figure PCTCN2018112809-appb-001641
即
Figure PCTCN2018112809-appb-001642
的主对角为
Figure PCTCN2018112809-appb-001643
的第4个元素。
由式(2.145)得
Figure PCTCN2018112809-appb-001644
式(2.142)表示的是位置矢量转动算子,即表示的是转动。因此,欧拉四元数乘积运算对应旋转变换阵的乘积运算。因此旋转变换链等价于定轴转动链,即
Figure PCTCN2018112809-appb-001645
由上可知,欧拉四元数可以唯一确定旋转变换阵;旋转变换阵也可以唯一确定欧拉四元数,即欧拉四元数与旋转变换阵等价。转动矢量与规范四元数一一对应,即四元数表示定轴转动;旋转变换阵的计算等价于链式四元数的矩阵计算。
因为空间中独立的三个点可以唯一确定转动,转动是平动的导出量,所以位置矢量
Figure PCTCN2018112809-appb-001646
也可以用四元数来表征。定义位置矢量
Figure PCTCN2018112809-appb-001647
的四元数
Figure PCTCN2018112809-appb-001648
Figure PCTCN2018112809-appb-001649
位置四元数将3D矢量空间增广为4D空间,其中:
Figure PCTCN2018112809-appb-001650
为任意实数。在物理意义上,与刚体固结的位置矢量既表示该刚体的位置也表示刚体的姿态,位置四元数与姿态四元数在数学形式上一致。它们具有对偶关系:
Figure PCTCN2018112809-appb-001651
其中:
Figure PCTCN2018112809-appb-001652
证明:考虑式(2.32)、式(2.34)、式(2.143)及式(2.149)中定义的
Figure PCTCN2018112809-appb-001653
得
Figure PCTCN2018112809-appb-001654
考虑式(2.126)、式(2.143)、式(2.146)及式(2.149)中定义的
Figure PCTCN2018112809-appb-001655
得
Figure PCTCN2018112809-appb-001656
由式(2.59)、式(2.143)及式(2.149)中定义的
Figure PCTCN2018112809-appb-001657
得
Figure PCTCN2018112809-appb-001658
故式(2.149)成立。
由式(2.146)及式(2.149)得
Figure PCTCN2018112809-appb-001659
因欧拉四元数
Figure PCTCN2018112809-appb-001660
是特定的位置四元数,由式(2.146)及式(2.149)及得
Figure PCTCN2018112809-appb-001661
对比上式及式(2.145)可知:
Figure PCTCN2018112809-appb-001662
与
Figure PCTCN2018112809-appb-001663
不同,
Figure PCTCN2018112809-appb-001664
仍是四元数,但不再是欧拉四元数。故有
Figure PCTCN2018112809-appb-001665
位置矢量的坐标变换对应于位置四元数对姿态四元数的“共轭变换”,与矩阵的相似变换相对应。由第2章可知,转动矢量与平动矢量在数学形式上是统一的;由本节可知,位置四元数与转动四元数在数学形式上也是统一的。通常将姿态四元数及位置四元数互称为对偶四元数或合称为双四元数(Dual-Quaternions)。对偶四元数对于通用机械臂位姿逆解非常重要。
【1】基于双矢量的定姿四元数确定原理
由初始单位矢量
Figure PCTCN2018112809-appb-001666
至目标单位矢量
Figure PCTCN2018112809-appb-001667
的姿态,等价于绕轴
Figure PCTCN2018112809-appb-001668
转动角度
Figure PCTCN2018112809-appb-001669
其中:
Figure PCTCN2018112809-appb-001670
则有双矢量姿态(Double vector attitude)确定过程:
Figure PCTCN2018112809-appb-001671
由式(2.151)得
Figure PCTCN2018112809-appb-001672
由式(2.127),得
Figure PCTCN2018112809-appb-001673
其中:||用于防止数值计算时的溢出。由式(2.153)可知
Figure PCTCN2018112809-appb-001674
在许多软件(例如Coin3D)中,双矢量定姿算法对用户来说非常不方便,因为它们要求初始矢量至目标矢量的角度范围仅为[0,π)。有双矢量姿态确定过程表明:欧拉四元数本质上统一(Unify)了双矢量叉乘与点乘运算,表达了覆盖(-π,π]的整周(Complete Cycle)转动。
【2】基于轴不变量的正交三轴姿态
示例2.7:记巡视器体系o c-x cy cz c,惯性系为o i-x iy iz i;给定轴链 il c=(i,c1,c2,c],轴不变量序列为
Figure PCTCN2018112809-appb-001675
角序列记为
Figure PCTCN2018112809-appb-001676
即初始体系与导航系一致,分别绕 in c1、 c1n c2、 c2n c旋转至巡视器当前姿态。其中:c1、c2为中间坐标系。则有:
Figure PCTCN2018112809-appb-001677
Figure PCTCN2018112809-appb-001678
证明:由式(2.127)分别得
Figure PCTCN2018112809-appb-001679
由式(2.147)得
Figure PCTCN2018112809-appb-001680
其中:
Figure PCTCN2018112809-appb-001681
故式(2.154)成立。由式(2.131)可知
Figure PCTCN2018112809-appb-001682
故式(2.155)成立。“3-2-1”姿态角由式(2.144)得
Figure PCTCN2018112809-appb-001683
在已知 iQ c时,分别由式(2.145)及式(2.155)计算
Figure PCTCN2018112809-appb-001684
存在重要区别:由式(2.143)计算 iQ c时, iQ c1· c1Q c2· c2Q c中任一项在一定程度上违反了“正交归一化”,致使 iQ c具有明显的“病态”;而由式(2.155)计算 iQ c时,式(2.156)分别得到相应的四元数并“单位化”后得到 iQ c,其精度主要由计算机字长确定,具有极高的精度。因此,通过四元数计算DCM是树链系统运动学计算的基本准则。
示例2.8:在示例2.6中,已知机械手姿态转动的期望姿态为
Figure PCTCN2018112809-appb-001685
则有:
Figure PCTCN2018112809-appb-001686
解:给定被抓工件轴向
Figure PCTCN2018112809-appb-001687
及转动角度为
Figure PCTCN2018112809-appb-001688
时,由式(2.127)得欧拉四元数
Figure PCTCN2018112809-appb-001689
由式(2.131)可知
Figure PCTCN2018112809-appb-001690
由式(2.147)得
Figure PCTCN2018112809-appb-001691
故式(2.158)成立。
同样,因
Figure PCTCN2018112809-appb-001692
存在测量误差,在由式(2.158)计算
Figure PCTCN2018112809-appb-001693
过程中,应用了四元数并在“单位化”后得到“正交归一化”的
Figure PCTCN2018112809-appb-001694
其精度主要由计算机字长确定,具有极高的精度。
基于轴不变量的运动微分演算
首先,定义绝对求导符号:
Figure PCTCN2018112809-appb-001695
由式(2.159)知:求导符□′及□″优先级低于投影符 |□。称该求导运算为绝对求导,考虑了基矢量
Figure PCTCN2018112809-appb-001696
相对惯性基矢量e i的运动带来的影响。
相对求导运算符
Figure PCTCN2018112809-appb-001697
是衍生操作符,它的优先级高于投影符 |□,即先进行求导运算再进行投影运算。绝对导数□′也是衍生操作符,它的优先级低于投影符 |□,即先进行投影运算再进行求导运算。
【1】角速度的叉乘矩阵
因
Figure PCTCN2018112809-appb-001698
则
Figure PCTCN2018112809-appb-001699
即
Figure PCTCN2018112809-appb-001700
显然,
Figure PCTCN2018112809-appb-001701
与
Figure PCTCN2018112809-appb-001702
互为反对称阵。
将式(2.66)代入式(2.160)得
Figure PCTCN2018112809-appb-001703
角速度叉乘矩阵
Figure PCTCN2018112809-appb-001704
是反对称阵;由式(2.66)及式(2.161)可知:角速度方向由求导的旋转变换阵方向确定,且有
Figure PCTCN2018112809-appb-001705
因此,角速度
Figure PCTCN2018112809-appb-001706
及
Figure PCTCN2018112809-appb-001707
是矢量,具有可加性。
另一方面,因
Figure PCTCN2018112809-appb-001708
则
Figure PCTCN2018112809-appb-001709
显然,
Figure PCTCN2018112809-appb-001710
是
Figure PCTCN2018112809-appb-001711
的轴矢量,即对于任一矢量
Figure PCTCN2018112809-appb-001712
有
Figure PCTCN2018112809-appb-001713
服从矩阵运算,
Figure PCTCN2018112809-appb-001714
服从矢量运算。同样,
Figure PCTCN2018112809-appb-001715
亦服从矢量运算,即
Figure PCTCN2018112809-appb-001716
是矢量。故有
Figure PCTCN2018112809-appb-001717
Figure PCTCN2018112809-appb-001718
同理有:
Figure PCTCN2018112809-appb-001719
角速度叉乘矩阵
Figure PCTCN2018112809-appb-001720
是反对称阵。式(2.168)及式(2.169)是简单刚体速度方程。
因
Figure PCTCN2018112809-appb-001721
及
Figure PCTCN2018112809-appb-001722
则
Figure PCTCN2018112809-appb-001723
由式(2.166)知,角速度叉乘矩阵是二阶不变量,
Figure PCTCN2018112809-appb-001724
或
Figure PCTCN2018112809-appb-001725
服从相似变换。
【2】绝对导数
给定链节
Figure PCTCN2018112809-appb-001726
l S是l系中的点,l系在初始时刻方向与
Figure PCTCN2018112809-appb-001727
系方向一致,l系经时间t后相对
Figure PCTCN2018112809-appb-001728
系的姿态记为
Figure PCTCN2018112809-appb-001729
显然,
Figure PCTCN2018112809-appb-001730
是时间t的函数,位置矢量
Figure PCTCN2018112809-appb-001731
经无穷次、时间间隔为无穷小的转动至位置矢量
Figure PCTCN2018112809-appb-001732
则有
Figure PCTCN2018112809-appb-001733
式(2.167)是运动链
Figure PCTCN2018112809-appb-001734
的运动方程,对之求导得
Figure PCTCN2018112809-appb-001735
考虑式(2.161)及式(2.168),即有运动链
Figure PCTCN2018112809-appb-001736
的速度公式:
Figure PCTCN2018112809-appb-001737
由运动链的偏序性可知,根向转动与叶向平动牵连。因此,
Figure PCTCN2018112809-appb-001738
链指标满足 l· l对消运算法则。
若
Figure PCTCN2018112809-appb-001739
为常数时,即
Figure PCTCN2018112809-appb-001740
则有
Figure PCTCN2018112809-appb-001741
若
Figure PCTCN2018112809-appb-001742
即无平动速度,由式(2.169)得
Figure PCTCN2018112809-appb-001743
对比式(2.167)及式(2.169)的链指标关系,令
Figure PCTCN2018112809-appb-001744
则式(2.169)表达为
Figure PCTCN2018112809-appb-001745
式(2.173)满足链序不变性,
Figure PCTCN2018112809-appb-001746
是矢量,具有可加性。
称式(2.172)中
Figure PCTCN2018112809-appb-001747
为正序绝对导数,因为式(2.172)中
Figure PCTCN2018112809-appb-001748
满足正链序,与
Figure PCTCN2018112809-appb-001749
的投影坐标系
Figure PCTCN2018112809-appb-001750
至度量坐标系l的次序一致,且左上角的投影坐标系
Figure PCTCN2018112809-appb-001751
位于根方向,是正序;由式(2.169)及式(2.166)得
Figure PCTCN2018112809-appb-001752
同样,定义
Figure PCTCN2018112809-appb-001753
Figure PCTCN2018112809-appb-001754
则式(2.174)表达为
Figure PCTCN2018112809-appb-001755
式(2.176)满足链序不变性,
Figure PCTCN2018112809-appb-001756
是矢量,具有可加性;称式(2.175)中
Figure PCTCN2018112809-appb-001757
为逆序绝对导数,因为式(2.175)中
Figure PCTCN2018112809-appb-001758
满足逆链序,与
Figure PCTCN2018112809-appb-001759
的度量坐标系l至投影坐标系
Figure PCTCN2018112809-appb-001760
的次序一致,且右下角的投影坐标系
Figure PCTCN2018112809-appb-001761
位于根方向,是逆序。显然,式(2.172)及式(2.173)的正序 绝对导数更易使用,默认的绝对求导总是对投影坐标系的求导。式(2.175)及式(2.176)的逆序绝对导数需要在右下角表明求导的参考系。逆序绝对导数运算规律不如正序绝对导数直观,较少使用。由式(2.173)得
Figure PCTCN2018112809-appb-001762
由式(2.176)得
Figure PCTCN2018112809-appb-001763
【1】基的绝对导数
若由基
Figure PCTCN2018112809-appb-001764
至动基e l的姿态为
Figure PCTCN2018112809-appb-001765
绝对导数 i|□′表示对投影坐标系i求绝对导数,则有
Figure PCTCN2018112809-appb-001766
证明:将被求导项的参考指标转化为求导时间的参考指标,对于任意有限长度的固定矢量或定位矢量
Figure PCTCN2018112809-appb-001767
考虑式(2.172)有
Figure PCTCN2018112809-appb-001768
即
Figure PCTCN2018112809-appb-001769
另一方面,
Figure PCTCN2018112809-appb-001770
根据矢量绝对求导不变性得
Figure PCTCN2018112809-appb-001771
由式(2.180)、式(2.181)及式(2.182)得式(2.179)。
证毕。
式(2.179)特点如下:满足链指标运算律;
Figure PCTCN2018112809-appb-001772
是投影参考系i至度量参考系l的角速度叉乘矩阵;
Figure PCTCN2018112809-appb-001773
求导结果以投影参考系i为参考。
同样有
Figure PCTCN2018112809-appb-001774
证明:将被求导项的参考指标转化为求导时间的参考指标,对于任意有限长度的固定矢量或定位矢量
Figure PCTCN2018112809-appb-001775
考虑式(2.175)有
Figure PCTCN2018112809-appb-001776
即
Figure PCTCN2018112809-appb-001777
另一方面,
Figure PCTCN2018112809-appb-001778
根据矢量绝对求导不变性得
Figure PCTCN2018112809-appb-001779
由式(2.184)、式(2.185)及式(2.186)得式(2.183)。证毕。
【2】绝对求导公式
由式(2.180)得
Figure PCTCN2018112809-appb-001780
称式(2.187)为“正序的绝对求导公式”,特点如下:与相对求导不同之处在于:增加了牵连项
Figure PCTCN2018112809-appb-001781
所有和项与积项满足链指标运算律;
Figure PCTCN2018112809-appb-001782
是由投影参考系i至测量参考系l的角速度叉乘矩阵;
Figure PCTCN2018112809-appb-001783
结果以投影坐标系i为参考,所有和项的投影参考系具有一致性。
由式(2.184)得
Figure PCTCN2018112809-appb-001784
称式(2.188)为“逆序的绝对求导公式”,特点如下:与相对求导不同之处在于:增加了牵连项
Figure PCTCN2018112809-appb-001785
所有和项与积项满足链指标运算律。
Figure PCTCN2018112809-appb-001786
是由测量参考系l至绝对求导参考系i的角速度叉乘矩阵。
Figure PCTCN2018112809-appb-001787
结果以度量参考系l为参考,所有和项的投影参考系具有一致性。
由式(2.161)得
Figure PCTCN2018112809-appb-001788
Figure PCTCN2018112809-appb-001789
故有
Figure PCTCN2018112809-appb-001790
式(2.189)表明:绝对角速度与相对角速度是等价的。
示例2.9:已知
Figure PCTCN2018112809-appb-001791
则
Figure PCTCN2018112809-appb-001792
证明:应用式(2.187)得
Figure PCTCN2018112809-appb-001793
证毕。
式(2.190)是著名的欧拉方程。该式等价为
Figure PCTCN2018112809-appb-001794
证明1:由式(2.190)得
Figure PCTCN2018112809-appb-001795
故
Figure PCTCN2018112809-appb-001796
证毕。
证明2:因
Figure PCTCN2018112809-appb-001797
应用式(2.188)得
Figure PCTCN2018112809-appb-001798
证毕。
称式(2.191)为“相对空间欧拉方程”;称式(2.190)为“绝对空间欧拉方程”。尽管式(2.190)与式(2.191)是等价的,这种等价是建立在各运动量无噪声的理想条件基础上的。在工程上,二者有着重要的区别:相对空间欧拉方程中不需要相对绝对空间的姿态,
Figure PCTCN2018112809-appb-001799
可以通过速率陀螺等惯性器件直接测量得到;而绝对空间欧拉方程需要相对绝对空间的旋转变换阵 iQ l,而 iQ l 含有测量噪声。
加速度
由式(2.169)可知
Figure PCTCN2018112809-appb-001800
对之进行相对求导得
Figure PCTCN2018112809-appb-001801
即
Figure PCTCN2018112809-appb-001802
其中:
Figure PCTCN2018112809-appb-001803
—平动加速度;
Figure PCTCN2018112809-appb-001804
—转动加速度,其中
Figure PCTCN2018112809-appb-001805
向心加速度;
Figure PCTCN2018112809-appb-001806
—哥氏加速度,是平动与转动的耦合加速度。
由式(2.192)可知,平动加速度
Figure PCTCN2018112809-appb-001807
是矢量,具有可加性。由运动链的偏序性可知,根向转动与叶向平动牵连。因此,
Figure PCTCN2018112809-appb-001808
及
Figure PCTCN2018112809-appb-001809
链指标满足 l· l对消运算法则。记角加速度为
Figure PCTCN2018112809-appb-001810
则有
Figure PCTCN2018112809-appb-001811
其中:
Figure PCTCN2018112809-appb-001812
是反对称阵,
Figure PCTCN2018112809-appb-001813
是对称阵。由式(2.193)得
Figure PCTCN2018112809-appb-001814
由式(2.194)可知:角加速度
Figure PCTCN2018112809-appb-001815
是矢量,具有可加性。同时,有
Figure PCTCN2018112809-appb-001816
故有
Figure PCTCN2018112809-appb-001817
式(2.189)表明:绝对角加速度与相对角加速度等价。对比式(2.189)及式(2.195)可知:转动矢量
Figure PCTCN2018112809-appb-001818
的绝对导数与相对导数等价。
旋转变换阵的二阶导数
由式(2.66)得
Figure PCTCN2018112809-appb-001819
或
Figure PCTCN2018112809-appb-001820
由式(2.197)得
Figure PCTCN2018112809-appb-001821
故有
Figure PCTCN2018112809-appb-001822
Figure PCTCN2018112809-appb-001823
对比式(2.161)与式(2.198)或式(2.199)可知:DCM的一阶导数
Figure PCTCN2018112809-appb-001824
及二阶导数
Figure PCTCN2018112809-appb-001825
分别对应角速度的一阶矩
Figure PCTCN2018112809-appb-001826
及角加速度的一阶矩
Figure PCTCN2018112809-appb-001827
齐次速度与齐次速度变换
给定链节
Figure PCTCN2018112809-appb-001828
齐次坐标
Figure PCTCN2018112809-appb-001829
及
Figure PCTCN2018112809-appb-001830
且
Figure PCTCN2018112809-appb-001831
则有
Figure PCTCN2018112809-appb-001832
其中:
Figure PCTCN2018112809-appb-001833
证明:
Figure PCTCN2018112809-appb-001834
证毕。
基于轴不变量的欧拉四元数微分演算
欧拉四元数微分方程
由式(2.32)可知
Figure PCTCN2018112809-appb-001835
由式(2.12)和式(2.13)得
Figure PCTCN2018112809-appb-001836
定义右手序(正序)矩阵
Figure PCTCN2018112809-appb-001837
和左手序(逆序)矩阵
Figure PCTCN2018112809-appb-001838
分别为:
Figure PCTCN2018112809-appb-001839
故
Figure PCTCN2018112809-appb-001840
考虑式(2.202),式(2.204)及式(2.205),则有
Figure PCTCN2018112809-appb-001841
即右手序矩阵
Figure PCTCN2018112809-appb-001842
和左手序矩阵
Figure PCTCN2018112809-appb-001843
相互可逆,
Figure PCTCN2018112809-appb-001844
因
Figure PCTCN2018112809-appb-001845
故
Figure PCTCN2018112809-appb-001846
应用式(2.204)及式(2.205)可知
Figure PCTCN2018112809-appb-001847
因右手序矩阵
Figure PCTCN2018112809-appb-001848
和左手序矩阵
Figure PCTCN2018112809-appb-001849
独立于
Figure PCTCN2018112809-appb-001850
则有
Figure PCTCN2018112809-appb-001851
应用式(2.202),式(2.204)及式(2.205)得
Figure PCTCN2018112809-appb-001852
同理,得
Figure PCTCN2018112809-appb-001853
即右手序矩阵
Figure PCTCN2018112809-appb-001854
和左手序矩阵
Figure PCTCN2018112809-appb-001855
是与姿态
Figure PCTCN2018112809-appb-001856
无关的不变量
Figure PCTCN2018112809-appb-001857
由式(2.202),(2.204)及(2.202)得
Figure PCTCN2018112809-appb-001858
Figure PCTCN2018112809-appb-001859
由式(2.210),(2.211)得
Figure PCTCN2018112809-appb-001860
由式(2.202),(2.204)及(2.202)得
Figure PCTCN2018112809-appb-001861
Figure PCTCN2018112809-appb-001862
由式(2.213),(2.214)得
Figure PCTCN2018112809-appb-001863
由式(2.206)得
Figure PCTCN2018112809-appb-001864
由式(2.209)得
Figure PCTCN2018112809-appb-001865
由式(2.212),(2.215)及(2.217)得
Figure PCTCN2018112809-appb-001866
由式(2.209),(2.206)及(2.218)得
Figure PCTCN2018112809-appb-001867
即
Figure PCTCN2018112809-appb-001868
由式(2.220)得
Figure PCTCN2018112809-appb-001869
Figure PCTCN2018112809-appb-001870
Figure PCTCN2018112809-appb-001871
Figure PCTCN2018112809-appb-001872
由式(2.32)、式(2.203)及式(2.221)得
Figure PCTCN2018112809-appb-001873
即
Figure PCTCN2018112809-appb-001874
由式(2.32)、式(2.203)及式(2.223)得
Figure PCTCN2018112809-appb-001875
即
Figure PCTCN2018112809-appb-001876
由式(2.222)及式(2.224)可知:
Figure PCTCN2018112809-appb-001877
和
Figure PCTCN2018112809-appb-001878
分别独立于
Figure PCTCN2018112809-appb-001879
Figure PCTCN2018112809-appb-001880
将式(2.209)代入式(2.165)第一式得
Figure PCTCN2018112809-appb-001881
将式(2.207)代入式(2.228)第一式得
Figure PCTCN2018112809-appb-001882
由式(2.229)及式(2.208)得
Figure PCTCN2018112809-appb-001883
将式(2.225)带入式(2.230)得
Figure PCTCN2018112809-appb-001884
由式(2.231)得
Figure PCTCN2018112809-appb-001885
将式(2.206)带入式(2.232)中,可得正序的四元数微分方程
Figure PCTCN2018112809-appb-001886
由式(2.204)及式(2.233)得
Figure PCTCN2018112809-appb-001887
定义
Figure PCTCN2018112809-appb-001888
及其逆序共轭矩阵(叉乘矩阵),
Figure PCTCN2018112809-appb-001889
由式(0.0)及式(0.0)可得四元数导数的正序方程
Figure PCTCN2018112809-appb-001890
即
Figure PCTCN2018112809-appb-001891
将式(2.238)称作欧拉四元数的微分方程,前四个方程与
Figure PCTCN2018112809-appb-001892
线性相关,最后一个方程为约束方程。
由式(2.233)得
Figure PCTCN2018112809-appb-001893
将式(2.209)代入式(2.239)得
Figure PCTCN2018112809-appb-001894
由式(2.206)及(2.240)得四元数导数的逆序方程
Figure PCTCN2018112809-appb-001895
同理,由式(2.233)得四元数导数的逆序方程
Figure PCTCN2018112809-appb-001896
由式(2.206)得正序四元数的二阶导数
Figure PCTCN2018112809-appb-001897
同理,由式(2.243)及式(2.236)得
Figure PCTCN2018112809-appb-001898
四元数微分方程求解
因式(2.238)的前4个方程在t k至t k+1时间段内,是与
Figure PCTCN2018112809-appb-001899
线性相关的微分方程,其中t k+1=t k+δt,其指数运算形式为:
Figure PCTCN2018112809-appb-001900
由式(2.245)得:
Figure PCTCN2018112809-appb-001901
Figure PCTCN2018112809-appb-001902
式(2.247)计算复杂度较高,进一步简化得
Figure PCTCN2018112809-appb-001903
其中:
Figure PCTCN2018112809-appb-001904
式(2.248)即为
Figure PCTCN2018112809-appb-001905
其中:
Figure PCTCN2018112809-appb-001906
Figure PCTCN2018112809-appb-001907
证明:由式(2.37)及式(2.38)可知
Figure PCTCN2018112809-appb-001908
显然
Figure PCTCN2018112809-appb-001909
证毕。
由角速度矢量
Figure PCTCN2018112809-appb-001910
积分得转动矢量
Figure PCTCN2018112809-appb-001911
通过式(2.250)可迭代求解四元数
Figure PCTCN2018112809-appb-001912
再应用式(2131)得旋转变换阵
Figure PCTCN2018112809-appb-001913
式(2.250)较式(2.245)计算复杂度要小很多。考虑式(2.250),当
Figure PCTCN2018112809-appb-001914
时,有
Figure PCTCN2018112809-appb-001915
对于高动态情形,需要提高采样频率,同时需要对数据进行平滑处理,以防止引入高频噪声。详细的四元数微分方程求解可参考文献。式(2.253)主要用于惯性导航及牛顿欧拉动力学积分等。
基于轴不变量的运动旋量与螺旋演算
运动旋量
以γ表示6D空间旋量属性符;相应地,其左上角坐标系应理解为6D的空间;由6D空间
Figure PCTCN2018112809-appb-001916
至位形空间l的相对位形表示为
Figure PCTCN2018112809-appb-001917
对式(2.254)求导得
Figure PCTCN2018112809-appb-001918
称
Figure PCTCN2018112809-appb-001919
为运动旋量(Twist)。
运动旋量转移矩阵
给定运动链
Figure PCTCN2018112809-appb-001920
得
Figure PCTCN2018112809-appb-001921
Figure PCTCN2018112809-appb-001922
式(2.256)及式(2.257)表达的是相对平动速度链关系。
由式(2.173)及(2.256)得
Figure PCTCN2018112809-appb-001923
由式(2.177)及(2.257)得
Figure PCTCN2018112809-appb-001924
由式(2.255)及式(2.258)得
Figure PCTCN2018112809-appb-001925
由式(2.255)及式(2.259)得
Figure PCTCN2018112809-appb-001926
其中:
Figure PCTCN2018112809-appb-001927
称式(2.260)及(2.261)为正序旋量传递矩阵。
【1】运动旋量转移矩阵的串接性
记运动旋量转移矩阵为
Figure PCTCN2018112809-appb-001928
Figure PCTCN2018112809-appb-001929
由式(2.264)及式(2.263)得
Figure PCTCN2018112809-appb-001930
故有
Figure PCTCN2018112809-appb-001931
式(2.265)说明运动旋量转移矩阵具有串级性。
【2】运动旋量转移矩阵的逆
记
Figure PCTCN2018112809-appb-001932
由式(2.264)及式(2.266)得
Figure PCTCN2018112809-appb-001933
故有
Figure PCTCN2018112809-appb-001934
故
Figure PCTCN2018112809-appb-001935
与
Figure PCTCN2018112809-appb-001936
是互逆的,即有
Figure PCTCN2018112809-appb-001937
运动螺旋
【1】空间直线Plücker坐标
给定运动副
Figure PCTCN2018112809-appb-001938
轴矢量
Figure PCTCN2018112809-appb-001939
上任一点l S的参数方程表示为
Figure PCTCN2018112809-appb-001940
其中:s—直线参量。称
Figure PCTCN2018112809-appb-001941
为Plücker坐标;其前三个坐标为该直线的单位方向矢量
Figure PCTCN2018112809-appb-001942
后三个坐标为
Figure PCTCN2018112809-appb-001943
与单位方向矢量
Figure PCTCN2018112809-appb-001944
的矩。空间直线具有两个独立的变量,即具有两个自由度;因此,在直线的Plücker坐标中,必存在4个约束,即
Figure PCTCN2018112809-appb-001945
Figure PCTCN2018112809-appb-001946
因此,Plücker坐标不是矢量,而是数组;服从矩阵运算。记
Figure PCTCN2018112809-appb-001947
因
Figure PCTCN2018112809-appb-001948
故有
Figure PCTCN2018112809-appb-001949
其中:
Figure PCTCN2018112809-appb-001950
称式(2.271)为Plücker坐标转移公式。因
Figure PCTCN2018112809-appb-001951
故有
Figure PCTCN2018112809-appb-001952
在运动学上,无穷远处的一条直线是一条无方向的直线,它的矩是有方向的,且独立于这个点的测度。记
Figure PCTCN2018112809-appb-001953
由式(2.270)得
Figure PCTCN2018112809-appb-001954
【2】三维空间极点
请参照图27。图27为二维空间下极点图。如图所示,在二维空间下,体
Figure PCTCN2018112809-appb-001955
2707转动角 度
Figure PCTCN2018112809-appb-001956
至体l 2702时,总存在一点S,满足
Figure PCTCN2018112809-appb-001957
即点S相对两系的坐标不变,将点S称为极点。
试证:如图28所示,给定运动副
Figure PCTCN2018112809-appb-001958
时,三维空间l中一定存在极点l S。
证明:若3D空间l中螺旋线(Spiral Line)的极点
Figure PCTCN2018112809-appb-001959
存在,即满足
Figure PCTCN2018112809-appb-001960
Figure PCTCN2018112809-appb-001961
则有
Figure PCTCN2018112809-appb-001962
将式(2.71)及式(2.275)代入式(2.276)得
Figure PCTCN2018112809-appb-001963
故有
Figure PCTCN2018112809-appb-001964
即
Figure PCTCN2018112809-appb-001965
亦即
Figure PCTCN2018112809-appb-001966
故
Figure PCTCN2018112809-appb-001967
即
Figure PCTCN2018112809-appb-001968
故式(2.277)成立。称
Figure PCTCN2018112809-appb-001969
为螺旋线极距矢量。
证毕。
试证:给定运动副
Figure PCTCN2018112809-appb-001970
在杆件l定轴转动时,刚体上任一点l S的位置矢量
Figure PCTCN2018112809-appb-001971
在其转轴方向上的分量相等,且该分量为
Figure PCTCN2018112809-appb-001972
证明:如图28所示,由式(2.276)得
Figure PCTCN2018112809-appb-001973
由式(2.59)及式(2.278)得
Figure PCTCN2018112809-appb-001974
且有
Figure PCTCN2018112809-appb-001975
表明与转动角度
Figure PCTCN2018112809-appb-001976
无关,且该分量为
Figure PCTCN2018112809-appb-001977
证毕。
由上证明可知,给定杆件l上点l S,则有不变量
Figure PCTCN2018112809-appb-001978
点l S运动螺旋步距p S为
Figure PCTCN2018112809-appb-001979
故
Figure PCTCN2018112809-appb-001980
由式(2.276)得螺旋线方程
Figure PCTCN2018112809-appb-001981
由式(2.280)得运动螺旋的极距矢量及步距表达式。
Figure PCTCN2018112809-appb-001982
基于轴不变量的多轴系统正运动学演算
固定轴不变量的精确测量原理
因为多轴系统的机加工及装配过程(Machining and assembly processes)不可避免地导致设计结构参数(Design Structure Parameters)存在误差,所以需要解决多轴系统的工程结构参数(Engineering Structure Parameters)精确测量的问题。下面,阐述应用自动激光跟踪仪(Automatic Laser Tracking System)精确测量多轴系统的工程结构参数的方法。
多轴系统D={T,A,B,K,F,NT}的自然关节空间是以自然坐标系统F为参考的。自然坐标系统F即为原点位于关节轴线且在系统复位(System Reset)时坐标系方向一致。多轴系统结构参数为
Figure PCTCN2018112809-appb-001983
构型空间表示为
Figure PCTCN2018112809-appb-001984
请参照图29。固定轴不变量的测量如图29所示,应用激光跟踪仪测量杆件l上的测点l S′及l S。首先,获得轴l定轴转动
Figure PCTCN2018112809-appb-001985
角度后的测点位置为
Figure PCTCN2018112809-appb-001986
及
Figure PCTCN2018112809-appb-001987
然后,获得轴l定轴转动
Figure PCTCN2018112809-appb-001988
角度后的测点位置为
Figure PCTCN2018112809-appb-001989
及
Figure PCTCN2018112809-appb-001990
最后,计算得到单位位置矢量
Figure PCTCN2018112809-appb-001991
及
Figure PCTCN2018112809-appb-001992
测量过程总是由根杆件向叶杆件依次进行。
当系统处于零位时,固定轴不变量
Figure PCTCN2018112809-appb-001993
可由应用激光跟踪仪或3D坐标机测量得到。相对公共参考系F [i]进行固定轴不变量的测量,可以消除测量误差的累积效应。为考虑加工及装配误差,经常将测量棱镜与被测杆件l固结,通过激光跟踪仪i跟踪测量棱镜中心l S的位置,得到对应的位置矢量
Figure PCTCN2018112809-appb-001994
从而,获得与被测杆件l固结的单位矢量
Figure PCTCN2018112809-appb-001995
轴不变量
Figure PCTCN2018112809-appb-001996
计算过程:首先,应用式(2.127),确定
Figure PCTCN2018112809-appb-001997
及
Figure PCTCN2018112809-appb-001998
其次,因
Figure PCTCN2018112809-appb-001999
为已知量,应用式(2.142)得
Figure PCTCN2018112809-appb-002000
接着,将
Figure PCTCN2018112809-appb-002001
代入式(2.153),得
Figure PCTCN2018112809-appb-002002
最后,由式(2.151),得
Figure PCTCN2018112809-appb-002003
请参照图30。图30为固定轴不变量的原点确定图。
如图30所示,将测点l S′及测点l S的中点
Figure PCTCN2018112809-appb-002004
至轴
Figure PCTCN2018112809-appb-002005
作垂线得到的交点定义为轴
Figure PCTCN2018112809-appb-002006
的固定点O l。
则有
Figure PCTCN2018112809-appb-002007
Figure PCTCN2018112809-appb-002008
由(2.284)得
Figure PCTCN2018112809-appb-002009
由式(2.285)得
Figure PCTCN2018112809-appb-002010
解得
Figure PCTCN2018112809-appb-002011
Figure PCTCN2018112809-appb-002012
将式(2.287)代入式(2.285)得 ir l,
Figure PCTCN2018112809-appb-002013
或
Figure PCTCN2018112809-appb-002014
由上可知,条件
Figure PCTCN2018112809-appb-002015
比正交基e l更容易满足。该方法有助于精确测量包含加工及装配误差的轴不变量。
在工程测量时,通常由系统根部杆件开始,直至所有的叶;每测量一个杆件后,即可将之制动。选定所有杆件被制动后的状态为零位状态,由关节传感器测量的关节坐标记为
Figure PCTCN2018112809-appb-002016
称为机械零位。且有
Figure PCTCN2018112809-appb-002017
至此,获得了系统结构参数
Figure PCTCN2018112809-appb-002018
及机械零位
Figure PCTCN2018112809-appb-002019
将多轴系统控制量记为
Figure PCTCN2018112809-appb-002020
同时,以非自然坐标系为参考的关节坐标存在参考零位
Figure PCTCN2018112809-appb-002021
式(2.282)中的关节坐标q l与控制量q Δ、机械零位
Figure PCTCN2018112809-appb-002022
及参考零位
Figure PCTCN2018112809-appb-002023
关系如下
Figure PCTCN2018112809-appb-002024
多轴系统正运动学计算就是在给定结构参数
Figure PCTCN2018112809-appb-002025
关节坐标q l、关节速度
Figure PCTCN2018112809-appb-002026
及关节加速度
Figure PCTCN2018112809-appb-002027
时,完成期望的位形、速度、加速度及偏速度的计算过程。
由上可知,以自然坐标系为基础,工程上可以精确测量固定轴不变量
Figure PCTCN2018112809-appb-002028
可以达到关节的重复精度,避免了以笛卡尔直角坐标系为参考导致的结构参数测量误差过大问题,为精密多轴系统的研制奠定了基础。
理想树形运动链位形计算流程
给定树形运动链 il n,轴l,n∈A,n>l,s是体l上的任一点;当
Figure PCTCN2018112809-appb-002029
测量无测量噪声时,运动链 il n正运动学计算流程为:
【1】链节
Figure PCTCN2018112809-appb-002030
正运动学计算
【1-1】若
Figure PCTCN2018112809-appb-002031
则由结构参数
Figure PCTCN2018112809-appb-002032
及运动参数
Figure PCTCN2018112809-appb-002033
根据式(2.130)计算欧拉四元数
Figure PCTCN2018112809-appb-002034
或由式(2.93)计算
Figure PCTCN2018112809-appb-002035
【1-2】若
Figure PCTCN2018112809-appb-002036
则由式(2.131)计算旋转变换阵
Figure PCTCN2018112809-appb-002037
或由(2.99)式计算旋转变换阵
Figure PCTCN2018112809-appb-002038
若
Figure PCTCN2018112809-appb-002039
则有
Figure PCTCN2018112809-appb-002040
【2】运动链 il n的位形计算
【2-1】由式(2.6)计算齐次变换阵 iQ n;
【2-2】由式(2.8)计算位置矢量
Figure PCTCN2018112809-appb-002041
在理想正运动学计算流程中,既可以应用欧拉四元数又可以应用有限转动四元数计算链节旋转变换阵。
上述理想正运动学计算流程在Open Inventor、Coin3D等3D软件中得到广泛应用。但在有测量噪声时,所有的旋转变换阵计算均应使用式(2.131)及式(2.147)所示的过程,一方面,需要降低测量噪声导致的旋转变换阵的“病态”;另一方面,阻止“病态”旋转变换阵在串接性运动时的进一步恶化。
基于轴不变量的迭代式运动学计算流程
给定树形运动链 il n,轴l,n∈A,n>l,S是体l上的任一点。当
Figure PCTCN2018112809-appb-002042
有测量噪声时,建立运动链 il n迭代式(Iterative)正运动学(Forward Kinematics)数值模型(Numerical model)流程为:
【1】链节
Figure PCTCN2018112809-appb-002043
正运动学计算流程
【1-1】已知由转动矢量
Figure PCTCN2018112809-appb-002044
根据式(2.130)计算欧拉四元数
Figure PCTCN2018112809-appb-002045
【1-2】由式(2.131)计算旋转变换阵
Figure PCTCN2018112809-appb-002046
【1-3】由式(2.9)计算链节速度;
【1-4】由式(2.10)计算链节加速度。
【2】运动链 il n的位形计算流程
【2-1】由式(2.146)计算欧拉四元数序列
Figure PCTCN2018112809-appb-002047
【2-2】因式(2.131)较式(2.59)计算复杂度高,故由式(2.59)计算旋转变换阵序列{ iQ j|j∈A};
【2-3】由式(2.8)计算位置矢量
Figure PCTCN2018112809-appb-002048
【3】运动链 il n的速度及加速度流程
【3-1】由式(2.292)计算绝对角速度
Figure PCTCN2018112809-appb-002049
Figure PCTCN2018112809-appb-002050
证明:由式(2.189)得
Figure PCTCN2018112809-appb-002051
证毕。
【3-2】由式(2.293)计算绝对角加速度
Figure PCTCN2018112809-appb-002052
Figure PCTCN2018112809-appb-002053
证明:由式(2.195)得
Figure PCTCN2018112809-appb-002054
证毕。
【3-3】由式(2.294)计算绝对平动速度
Figure PCTCN2018112809-appb-002055
Figure PCTCN2018112809-appb-002056
证明:由式(2.187)得
Figure PCTCN2018112809-appb-002057
证毕。
【3-4】由式(2.295)计算绝对平动加速度
Figure PCTCN2018112809-appb-002058
Figure PCTCN2018112809-appb-002059
证明:由式(2.192)得
Figure PCTCN2018112809-appb-002060
证毕。
基于轴不变量的偏速度计算原理
文献给出了雅克比矩阵的计算方法,但未对结论进行证明且结论不全面。在运动学及动力学分析时,将雅克比矩阵称为偏速度更合适。因为雅克比矩阵泛指偏导数,不一定具有可加性;而在运动学及动力学中偏速度特指矢量对关节坐标的偏导数,具有可加性;偏速度是对应速度的变换矩阵,是对单位方向矢量的矢量投影。在运动学分析及动力学分析中,偏速度起着关键性的作用,偏速度的计算是动力学系统演算的基本前提。
首先,定义使能(Enable)函数,
Figure PCTCN2018112809-appb-002061
式(2.296)的特殊形式为
Figure PCTCN2018112809-appb-002062
下面,证明基于轴不变量的迭代式偏速度公式。
【1】根据式(2.298)计算绝对角速度对关节角速度的偏速度,
Figure PCTCN2018112809-appb-002063
证明:由式(2.292)得
Figure PCTCN2018112809-appb-002064
证毕。
【2】根据式(2.299)计算绝对平动速度矢量对关节平动速度的偏速度,
Figure PCTCN2018112809-appb-002065
证明:
Figure PCTCN2018112809-appb-002066
证毕。
【3】根据式(2.300)计算绝对转动矢量对关节角度的偏速度,
Figure PCTCN2018112809-appb-002067
证明:由式(2.292)得
Figure PCTCN2018112809-appb-002068
证毕。
【4】根据式(2.301)计算绝对位置矢量对关节位移的偏速度,
Figure PCTCN2018112809-appb-002069
证明:由式(2.8)得
Figure PCTCN2018112809-appb-002070
证毕。
【5】根据式(2.302)计算绝对位置矢量对关节角度的偏速度,
Figure PCTCN2018112809-appb-002071
证明:由式(2.294)得
Figure PCTCN2018112809-appb-002072
即
Figure PCTCN2018112809-appb-002073
故有
Figure PCTCN2018112809-appb-002074
证毕。
【6】根据式(2.303)计算绝对平动速度矢量对关节角速度的偏速度,
Figure PCTCN2018112809-appb-002075
证明:由式(2.294)得
Figure PCTCN2018112809-appb-002076
证毕。
将上述结论,以定理2.2统一表述,称之为偏速度定理。
定理2.2若给定运动链运动链 il n,则有
Figure PCTCN2018112809-appb-002077
Figure PCTCN2018112809-appb-002078
Figure PCTCN2018112809-appb-002079
证明:当
Figure PCTCN2018112809-appb-002080
时,由式(2.300),(2.298),(2.301)及(2.299)可得式(2.304)。
由式(2.302)及(2.303)得式(2.305)。因 iφ n和
Figure PCTCN2018112809-appb-002081
与
Figure PCTCN2018112809-appb-002082
和
Figure PCTCN2018112809-appb-002083
无关,得式(2.306)。证毕。
式(2.300)至式(2.303)对对运动学及动力学分析具有非常重要的作用;它们不仅物理意义清晰,还可以简化运动学及动力学方程的表达。
请参照图31。图31为偏速度的含义图。如图31所示,一方面,从几何角度看:式(2.304)中的偏速度即为对应的轴不变量,式(2.305)表示的是位置矢量对轴不变量的一阶距,即轴矢量
Figure PCTCN2018112809-appb-002084
与矢量
Figure PCTCN2018112809-appb-002085
的叉乘;另一方面,从力作用关系看,
Figure PCTCN2018112809-appb-002086
是
Figure PCTCN2018112809-appb-002087
在轴向
Figure PCTCN2018112809-appb-002088
的投影。
由式(2.14)可知
Figure PCTCN2018112809-appb-002089
式(2.307)表明:
Figure PCTCN2018112809-appb-002090
完成了力
Figure PCTCN2018112809-appb-002091
对轴
Figure PCTCN2018112809-appb-002092
作用效应即力矩的计算。
式(2.307)中
Figure PCTCN2018112809-appb-002093
与式(2.294)中
Figure PCTCN2018112809-appb-002094
的链序不同;前者是作用力,后者是运动量,二者是对偶的,具有相反的序。
轴不变量对时间的不变性
由式(2.189)及式(2.195)可知
Figure PCTCN2018112809-appb-002095
故有
Figure PCTCN2018112809-appb-002096
式(2.309)表明:对轴不变量而言,其绝对导数就是其相对导数;因轴不变量是具有不变性的自然参考轴,故其绝对导数恒为零矢量。因此,轴不变量具有时间的不变性。
由式(2.304)及式(2.309)得
Figure PCTCN2018112809-appb-002097
由式(2.187)及式(2.309)得
Figure PCTCN2018112809-appb-002098
由上式得
Figure PCTCN2018112809-appb-002099
即
Figure PCTCN2018112809-appb-002100
由式(2.311)可知:偏速度对时间t的导数仍是轴不变量的迭代式;轴不变量
Figure PCTCN2018112809-appb-002101
是基e l的坐标矢量,
Figure PCTCN2018112809-appb-002102
本质上表示基e l在参考系i上的投影。若式(2.309)不成立,则表明:否认参考基e l作为参考的客观性。
由式(2.65)得
Figure PCTCN2018112809-appb-002103
式(2.311)中左式表示:转动链 il c的DCM对该链全部关节角的偏速度之和;式(2.312)中右式表示:转动链 il c的轴不变量之和。因此,运动链的DCM对关节角的偏速度具有轴不变量的不变性。
对于MAS系统的树
Figure PCTCN2018112809-appb-002104
由式(2.309)及式(2.312)得
Figure PCTCN2018112809-appb-002105
表明:MAS系统的轴不变量对时间是不变的,即刚体系统的自然参考轴具有不变性。由式(2.312)可知:系统的关节变量与自然参考轴一一映射,体的关节变量数由其独立的运动维度确定,但不改变自然参考轴对时间微分的不变性。
树形运动链变分计算原理
将函数自变量的增量称为自变量的微分,以d表示,求导称为微商;与微分相对应,将自变量函数的增量称为变分,以δ表示;但变分不考虑时间t的增量δt,即δt≡0。正是因为不考虑时间增量δt,故位移(线位移及角位移)的变分可理解为同一时刻t可能的运动量变化,即虚位移。
【1】转动矢量的变分
Figure PCTCN2018112809-appb-002106
证明:由式(2.298)得
Figure PCTCN2018112809-appb-002107
证毕。
【2】平动矢量的变分
Figure PCTCN2018112809-appb-002108
证明:由式(2.302)及式(2.303)得
Figure PCTCN2018112809-appb-002109
证毕。
自然坐标轴链与笛卡坐标轴链的关系
给定轴序列 iA c=(i,c1,c2,c3,c4,c5,c],父轴序列记为
Figure PCTCN2018112809-appb-002110
轴类型序列记为 iK c=(X,R,R,R,P,P,P],该运动链记为 il c=(i,c1,c2,c3,c4,c5,c];记
Figure PCTCN2018112809-appb-002111
Figure PCTCN2018112809-appb-002112
Figure PCTCN2018112809-appb-002113
Figure PCTCN2018112809-appb-002114
则该特定的自然轴链与笛卡尔轴链等价。将该运动链简记为 iF c,即由自然坐标系F [i]至自然坐标系F [c]的笛卡尔轴链。显然,姿态序列可以根据工程需求进行设置。
由式(2.304)及式(2.315)得
Figure PCTCN2018112809-appb-002115
由式(2.317)得
Figure PCTCN2018112809-appb-002116
由式(2.317)得
Figure PCTCN2018112809-appb-002117
给定笛卡尔轴链 iF c,作用于体c一点S的作用力为
Figure PCTCN2018112809-appb-002118
位置矢量为
Figure PCTCN2018112809-appb-002119
则有
Figure PCTCN2018112809-appb-002120
由式(2.301)得
Figure PCTCN2018112809-appb-002121
故得
Figure PCTCN2018112809-appb-002122
由式(2.305)得
Figure PCTCN2018112809-appb-002123
由式(2.299)、式(2.323)得
Figure PCTCN2018112809-appb-002124
故得
Figure PCTCN2018112809-appb-002125
由式(2.322)及式(2.325)可知:作用于体c一点S的作用力
Figure PCTCN2018112809-appb-002126
对于原点O c的作用效应包含作用力矢量
Figure PCTCN2018112809-appb-002127
及力矩
Figure PCTCN2018112809-appb-002128
其中
Figure PCTCN2018112809-appb-002129
该结论与传统力学的力作用效应结论一致。
由上可知:当三轴平动序列及三轴转动序列为笛卡尔直角坐标系的坐标轴时,笛卡尔直 角坐标系的叉乘运算才成立。笛卡尔轴链是自然轴链的特例。基于轴不变量的轴链运动学具有以下特点:
【1】以简洁的自然坐标系为参考,保证了固定轴不变量结构参数测量的精确性,不仅包含加工误差,而且包含装配误差;
【2】具有简洁、精确、统一的轴链符号系统,运动学方程含义清晰、准确;
【3】基于轴不变量的迭代式的运动学方程是关于轴不变量的迭代式,保证了运动学计算的准确性及实时性;
【4】基于轴不变量的迭代式的运动学方程自身具有伪代码的功能,保证了工程实现的可靠性。
基于轴不变量的对偶四元数演算
给定运动链 il c,l,k∈ il c,且l≠k,由式(2.7)及(2.8)表示的位形计算可知:链节平动量
Figure PCTCN2018112809-appb-002130
与
Figure PCTCN2018112809-appb-002131
的运算对运动链总位移 ir c无影响。双数及对偶四元数就是这类关系的抽象。
双数
双数(Dual numbers)由Clifford提出,定义双数单位符号ε及双数基
Figure PCTCN2018112809-appb-002132
0·ε=0,1·ε=ε,ε 2=ε*ε=0,       (2.326)
Figure PCTCN2018112809-appb-002133
双数算子ε具有二阶幂零特性。双数基
Figure PCTCN2018112809-appb-002134
通常写成行的形式,它与空间参考基无关,仅表示双数间的相关性,不存在绝对导数。
定义一个双数不变量
Figure PCTCN2018112809-appb-002135
及其保证模不变的共轭数
Figure PCTCN2018112809-appb-002136
Figure PCTCN2018112809-appb-002137
其中:称
Figure PCTCN2018112809-appb-002138
为双数的伪坐标,通常写成列的形式。双数的数可代指任意数的阵列。其中:φ表示转动属性,r表示平动属性。称φ及r分别为双数的主部与副部。
【1】双数的基本运算
给定双数序列
Figure PCTCN2018112809-appb-002139
满足加法“+”及乘法“*”运算,由式(2.326)得
Figure PCTCN2018112809-appb-002140
Figure PCTCN2018112809-appb-002141
由式(2.328)及式(2.330)得
Figure PCTCN2018112809-appb-002142
由式(2.331)得
Figure PCTCN2018112809-appb-002143
【2】双数的导数
转动属性φ与平动属性r通常是时间t的函数。若ρ为常数,由式(0.0)对时间t求导得
Figure PCTCN2018112809-appb-002144
将双数
Figure PCTCN2018112809-appb-002145
的函数
Figure PCTCN2018112809-appb-002146
展开为ε的Taylor级数,得
Figure PCTCN2018112809-appb-002147
即有
Figure PCTCN2018112809-appb-002148
其中:f(φ)为函数主部,与双数主部φ相对应。同时,对式(2.334)两边求导得
Figure PCTCN2018112809-appb-002149
【3】双数的正余弦函数
由式(2.334)得
Figure PCTCN2018112809-appb-002150
应用式(2.335)对式(2.336)求导或直接对式(2.336)求导得
Figure PCTCN2018112809-appb-002151
即有
Figure PCTCN2018112809-appb-002152
由式(2.336)得
Figure PCTCN2018112809-appb-002153
即
Figure PCTCN2018112809-appb-002154
通过对双数
Figure PCTCN2018112809-appb-002155
主部φ及副部r的实例化,可以得到相应的双数实例,如:广义对偶四元数、位形对偶四元数及螺旋对偶四元数等。
由式(2.328)及式(2.336)得
Figure PCTCN2018112809-appb-002156
基于轴不变量的欧拉四元数迭代式
由式(2.124)得
Figure PCTCN2018112809-appb-002157
由式(2.145)得姿态四元数迭代式:
Figure PCTCN2018112809-appb-002158
由式(2.141)及式(2.341)得
Figure PCTCN2018112809-appb-002159
由式(2.341)及式(2.342)得
Figure PCTCN2018112809-appb-002160
由式(2.145)及式(2.341)得
Figure PCTCN2018112809-appb-002161
即
Figure PCTCN2018112809-appb-002162
由式(2.344)可知:欧拉四元数
Figure PCTCN2018112809-appb-002163
的相似变换是其轴不变量
Figure PCTCN2018112809-appb-002164
的投影,标部S l及矢部
Figure PCTCN2018112809-appb-002165
的大小C l具有不变性,因为轴矢量
Figure PCTCN2018112809-appb-002166
及关节角
Figure PCTCN2018112809-appb-002167
是不变量;由式(2.60)可知:DCM矩阵
Figure PCTCN2018112809-appb-002168
的相似变换对应其转动矢量
Figure PCTCN2018112809-appb-002169
投影后的叉乘矩阵
Figure PCTCN2018112809-appb-002170
且有
Figure PCTCN2018112809-appb-002171
显然,式(2.341)、式(2.342)及(2.344)均具有迭代式的形式;它们是后续应用对偶四元数建立运动方程的基础。
给定三维坐标矢量a、b及c,则有
a T·b·c=c·a T·b。         (2.346)
证明:
Figure PCTCN2018112809-appb-002172
证毕。
由式(2.346)得
Figure PCTCN2018112809-appb-002173
由式(2.124)及式(2.347)得
Figure PCTCN2018112809-appb-002174
即有
Figure PCTCN2018112809-appb-002175
由式(2.348)可知:
Figure PCTCN2018112809-appb-002176
的矢部是对应矢部
Figure PCTCN2018112809-appb-002177
的投影,其标部保持不变。式(2.344)及式(2.348)表明:姿态四元数及位置四元数的相似变换的本质是投影变换。
基于轴不变量的对偶四元数
【1】对偶四元数及基本运算
定义对偶四元数
Figure PCTCN2018112809-appb-002178
如下:
Figure PCTCN2018112809-appb-002179
Figure PCTCN2018112809-appb-002180
其中:
Figure PCTCN2018112809-appb-002181
―姿态四元数,
Figure PCTCN2018112809-appb-002182
―位置四元数,ε―满足式(2.326)的双数算子。
Figure PCTCN2018112809-appb-002183
为对偶四元数
Figure PCTCN2018112809-appb-002184
的伪坐标。位置四元数
Figure PCTCN2018112809-appb-002185
表征的是原点O l至体l上任一固结点S的位置四元数。
定义单位欧拉四元数
Figure PCTCN2018112809-appb-002186
及零位置四元数
Figure PCTCN2018112809-appb-002187
Figure PCTCN2018112809-appb-002188
当
Figure PCTCN2018112809-appb-002189
时,称对偶四元数
Figure PCTCN2018112809-appb-002190
为纯转动对偶四元数;当
Figure PCTCN2018112809-appb-002191
时,称对偶四元数
Figure PCTCN2018112809-appb-002192
为纯平动对偶四元数。一般情况下,对偶四元数
Figure PCTCN2018112809-appb-002193
既表示平动又表示转动。
给定对偶四元数
Figure PCTCN2018112809-appb-002194
及
Figure PCTCN2018112809-appb-002195
满足式(2.329)中的加法“+”运算,得
Figure PCTCN2018112809-appb-002196
即有伪坐标的形式,
Figure PCTCN2018112809-appb-002197
给定对偶四元数
Figure PCTCN2018112809-appb-002198
及
Figure PCTCN2018112809-appb-002199
满足式(2.330)中乘法“*”运算,考虑式(2.326)得
Figure PCTCN2018112809-appb-002200
由式(2.330)得
Figure PCTCN2018112809-appb-002201
Figure PCTCN2018112809-appb-002202
即有
Figure PCTCN2018112809-appb-002203
上式表明:
Figure PCTCN2018112809-appb-002204
不一定为0。因此,式(2.353)对应的伪坐标形式为
Figure PCTCN2018112809-appb-002205
【3】共轭对偶四元数
定义对偶四元数
Figure PCTCN2018112809-appb-002206
的共轭(Conjugate)对偶四元数
Figure PCTCN2018112809-appb-002207
及
Figure PCTCN2018112809-appb-002208
如下:
Figure PCTCN2018112809-appb-002209
由式(2.349)得
Figure PCTCN2018112809-appb-002210
Figure PCTCN2018112809-appb-002211
证明:考虑式(2.354)及式(2.355),得
Figure PCTCN2018112809-appb-002212
故式(2.356)成立。考虑式(2.354)及式(2.355),得
Figure PCTCN2018112809-appb-002213
故式(2.357)成立。证毕。
由式(2.122)、式(2.354)及(2.355)得
Figure PCTCN2018112809-appb-002214
即
Figure PCTCN2018112809-appb-002215
由式(2.126)、式(2.354)及(2.355)得
Figure PCTCN2018112809-appb-002216
Figure PCTCN2018112809-appb-002217
即
Figure PCTCN2018112809-appb-002218
【4】正交平动四元数的性质
当
Figure PCTCN2018112809-appb-002219
时,有
Figure PCTCN2018112809-appb-002220
称
Figure PCTCN2018112809-appb-002221
为正交平动四元数。由式(2.358)及正交平动四元数的正交性得
Figure PCTCN2018112809-appb-002222
定义正交平动四元数
Figure PCTCN2018112809-appb-002223
的逆
Figure PCTCN2018112809-appb-002224
满足
Figure PCTCN2018112809-appb-002225
由式(2.360)得
Figure PCTCN2018112809-appb-002226
当
Figure PCTCN2018112809-appb-002227
时,有
Figure PCTCN2018112809-appb-002228
考虑式(2.122)及式(2.148),由式(2.361)及式(2.353)得
Figure PCTCN2018112809-appb-002229
因此,当
Figure PCTCN2018112809-appb-002230
时,
Figure PCTCN2018112809-appb-002231
为正交平动四元数,其逆
Figure PCTCN2018112809-appb-002232
为
Figure PCTCN2018112809-appb-002233
由式(2.350)及式(2.363)得
Figure PCTCN2018112809-appb-002234
由式(2.349)及式(2.363)得
Figure PCTCN2018112809-appb-002235
当
Figure PCTCN2018112809-appb-002236
时,将式(2.150)代入式(2.365)得
Figure PCTCN2018112809-appb-002237
基于轴不变量的位形对偶四元数
由式(2.86)可知,轴链
Figure PCTCN2018112809-appb-002238
的位置方程是关于{τ l|l∈ il n}的多元二次方程。由于求解多元二次的解非常困难;需要简化式(2.86)所示的定位方程,以便较容易地获得逆解。考虑轴链
Figure PCTCN2018112809-appb-002239
则有
Figure PCTCN2018112809-appb-002240
该式是迭代式运动学的基本形式。若要简化运动链的定位方程,则要将式
Figure PCTCN2018112809-appb-002241
以更加紧凑的形式表示。
【1】双四维复数基
首先定义双四维复数基
Figure PCTCN2018112809-appb-002242
Figure PCTCN2018112809-appb-002243
由式(2.114)及式(2.332)得
Figure PCTCN2018112809-appb-002244
故有
Figure PCTCN2018112809-appb-002245
【2】单边对偶四元数
定义
Figure PCTCN2018112809-appb-002246
为位形对偶四元数类别。考虑式(2.150)及式(2.350),将平动
Figure PCTCN2018112809-appb-002247
及转动
Figure PCTCN2018112809-appb-002248
组合为式(2.369)所示的单边位形对偶四元数(Unilateral Dual-quaternions)
Figure PCTCN2018112809-appb-002249
其中:
Figure PCTCN2018112809-appb-002250
为位置四元数,定义如式(2.148)所示,且d l=0。位形对偶四元数的伪坐标
Figure PCTCN2018112809-appb-002251
为
Figure PCTCN2018112809-appb-002252
由式(0.0)得
Figure PCTCN2018112809-appb-002253
显然,
Figure PCTCN2018112809-appb-002254
表示先转动后平动的位置四元数,具有由根至叶的正序。考虑式(2.144)、式(2.148)及式(2.370)得
Figure PCTCN2018112809-appb-002255
由式(2.372)可知:
Figure PCTCN2018112809-appb-002256
由式(2.148)、式(2.355)及式(2.370)得
Figure PCTCN2018112809-appb-002257
Figure PCTCN2018112809-appb-002258
即有
Figure PCTCN2018112809-appb-002259
显然,
Figure PCTCN2018112809-appb-002260
及
Figure PCTCN2018112809-appb-002261
表示先平动后转动的位置四元数,具有由叶至根的逆序。由式(2.361)可知,式(2.370)中单边位形对偶四元数
Figure PCTCN2018112809-appb-002262
的逆对偶四元数
Figure PCTCN2018112809-appb-002263
为
Figure PCTCN2018112809-appb-002264
由式(2.370)及式(2.375)得
Figure PCTCN2018112809-appb-002265
式(2.149)及上式得对位形对偶四元数的模不变性方程:
Figure PCTCN2018112809-appb-002266
其中:
Figure PCTCN2018112809-appb-002267
为单位对偶四元数,
Figure PCTCN2018112809-appb-002268
【3】双边对偶四元数
定义位形双边对偶四元数(Bilateral Dual-quaternions)
Figure PCTCN2018112809-appb-002269
Figure PCTCN2018112809-appb-002270
式(2.378)是式(2.370)的特例,又称之为位置对偶四元数。由式(2.148)、式(2.355)及(2.378)得
Figure PCTCN2018112809-appb-002271
且有
Figure PCTCN2018112809-appb-002272
因为
Figure PCTCN2018112809-appb-002273
式(2.370)中位形对偶四元数的结构参量正是固定轴不变量
Figure PCTCN2018112809-appb-002274
请参照图32,图32为固定轴不变量与位形对偶四元数的关系图,图32包含轴不变量
Figure PCTCN2018112809-appb-002275
轴不变量
Figure PCTCN2018112809-appb-002276
位置矢量
Figure PCTCN2018112809-appb-002277
如图32所示,所以轴链
Figure PCTCN2018112809-appb-002278
位形对偶四元数
Figure PCTCN2018112809-appb-002279
描述的是位置矢量
Figure PCTCN2018112809-appb-002280
3203绕轴不变量
Figure PCTCN2018112809-appb-002281
3201的螺旋运动(Screw motion)。
【4】对偶四元数的链关系
给定轴链
Figure PCTCN2018112809-appb-002282
双边对偶四元数
Figure PCTCN2018112809-appb-002283
及单边对偶四元数
Figure PCTCN2018112809-appb-002284
则有对偶四元数由叶至根的逆序 迭代式
Figure PCTCN2018112809-appb-002285
Figure PCTCN2018112809-appb-002286
证明:由式(2.370)及式(2.375)至式(2.378)得
Figure PCTCN2018112809-appb-002287
故式(2.381)成立。由式(2.370)及式(2.375)至式(2.378)得
Figure PCTCN2018112809-appb-002288
故式(2.382)成立。
证毕。
给定轴链
Figure PCTCN2018112809-appb-002289
双边对偶四元数
Figure PCTCN2018112809-appb-002290
及单边对偶四元数
Figure PCTCN2018112809-appb-002291
则有对偶四元数由根至叶的正序迭代式:
Figure PCTCN2018112809-appb-002292
Figure PCTCN2018112809-appb-002293
证明:由式(2.370)及式(2.375)至式(2.378)得
Figure PCTCN2018112809-appb-002294
故式(2.383)成立。由式(2.370)及式(2.375)至式(2.378)得
Figure PCTCN2018112809-appb-002295
故式(2.384)成立。
证毕。
当给定轴链
Figure PCTCN2018112809-appb-002296
l∈ il n时,由式(2.381)至式(2.384)分别得双边位置对偶四元数
Figure PCTCN2018112809-appb-002297
及单边位形对偶四元数
Figure PCTCN2018112809-appb-002298
的迭代式:
Figure PCTCN2018112809-appb-002299
Figure PCTCN2018112809-appb-002300
Figure PCTCN2018112809-appb-002301
Figure PCTCN2018112809-appb-002302
式(2.386)及式(2.388)不仅进行了位置矢量的坐标变换,而且保证了运动链位置矢量的不变性,分别用于建立轴链
Figure PCTCN2018112809-appb-002303
及轴链
Figure PCTCN2018112809-appb-002304
的定位方程;而式(2.385)及(2.387)是平凡的,无实际用处。在式(2.386)及式(2.388)中,通常
Figure PCTCN2018112809-appb-002305
或
Figure PCTCN2018112809-appb-002306
表示期望的位置对偶四元数;
Figure PCTCN2018112809-appb-002307
或
Figure PCTCN2018112809-appb-002308
表示终端效应器(End-effector)相对其体系的位置对偶四元数。虽然式(2.385)至(2.388)形式较简单,但当轴数较多时,计算过程很复杂,需要建立有效的迭代过程。
下面,进一步简化位形对偶四元数的表达形式,以得到由平动及转动统一描述的、更简洁的螺旋对偶四元数。首先,提出由D-H参数表征的螺旋径向不变量;进而,提出基于轴不变量的螺旋对偶四元数。
【1】螺旋径向不变量
由第一部分可知:位形对偶四元数本质上表示的是螺旋运动。下面,进一步将式(2.372)表达为更加简洁的形式,以反映螺旋运动的特点。请再度参照图32,由D-H参数定义得
Figure PCTCN2018112809-appb-002309
Figure PCTCN2018112809-appb-002310
Figure PCTCN2018112809-appb-002311
显然,有平凡事实:
Figure PCTCN2018112809-appb-002312
及式(2.32)得
Figure PCTCN2018112809-appb-002313
故有
Figure PCTCN2018112809-appb-002314
其中:
Figure PCTCN2018112809-appb-002315
由式(2.394)得
Figure PCTCN2018112809-appb-002316
故有
Figure PCTCN2018112809-appb-002317
由式(2.394)可知,总存在依赖于系统结构参量c l及关节角
Figure PCTCN2018112809-appb-002318
的螺旋径向不变量
Figure PCTCN2018112809-appb-002319
且
Figure PCTCN2018112809-appb-002320
与
Figure PCTCN2018112809-appb-002321
正交。称
Figure PCTCN2018112809-appb-002322
为
Figure PCTCN2018112809-appb-002323
的螺旋径向不变量。它是螺旋对偶四元数的前提条件。下面,阐述螺旋对偶四元数。
【2】螺旋对偶四元数
定义
Figure PCTCN2018112809-appb-002324
为螺旋对偶四元数类别。令任一体的自然坐标原点与其D-H系统原点一致,参考系仍为自然坐标系。由式(2.394)得
Figure PCTCN2018112809-appb-002325
当
Figure PCTCN2018112809-appb-002326
时,由式(2.373)得
Figure PCTCN2018112809-appb-002327
由式(2.395)及式(2.398)得
Figure PCTCN2018112809-appb-002328
当
Figure PCTCN2018112809-appb-002329
时,由式(2.373)得单边对偶四元数,
Figure PCTCN2018112809-appb-002330
由式(2.400)可知:
Figure PCTCN2018112809-appb-002331
是关于C l、S l及c l的线性型,将平动与转动以紧凑的形式表达了出来。因式(2.400)的螺旋对偶四元数是特定的位形对偶四元数,故式(2.385)至式(2.388)仍成立。
以螺旋径向不变量为基础,建立螺旋对偶四元数的作用在于:应用式(2.395)、式(2.396)可以减少对偶四元数的计算量,易于揭示螺旋对偶四元数的规律,从而简化运动学求解过程。请参照图33,由式(2.395)、式(2.396)可知:螺旋径向不变量
Figure PCTCN2018112809-appb-002332
与轴不变量
Figure PCTCN2018112809-appb-002333
及
Figure PCTCN2018112809-appb-002334
正交,如图33所示。
考虑式(2.373),当
Figure PCTCN2018112809-appb-002335
时,
Figure PCTCN2018112809-appb-002336
得单边螺旋对偶四元数。
Figure PCTCN2018112809-appb-002337
对比式(2.400)及式(2.401),同样可知:螺旋对偶四元数是特定的位形对偶四元数。因此,位形对偶四元数的性质同样适用于螺旋对偶四元数。当应用D-H参考及螺旋四元数的机械臂运动学建模时,不得不通过两个螺旋四元数表达一个关节的运动,其符号演算及数值计算量比应用一个位形四元数高得多。
【3】螺旋对偶四元数的不变性
由于螺旋对偶四元数是位形对偶四元数的特例,可以将之表达得更为紧凑。考虑具有双数基
Figure PCTCN2018112809-appb-002338
及双4维复数基
Figure PCTCN2018112809-appb-002339
的螺旋对偶四元数,由式(2.67)、式(2.349)、式(2.369)、式(2.336)及式(2.400)得螺旋对偶四元数不变量,即伪坐标与基的整体形式:
Figure PCTCN2018112809-appb-002340
Figure PCTCN2018112809-appb-002341
即有
Figure PCTCN2018112809-appb-002342
其中:
Figure PCTCN2018112809-appb-002343
Figure PCTCN2018112809-appb-002344
Figure PCTCN2018112809-appb-002345
Figure PCTCN2018112809-appb-002346
称
Figure PCTCN2018112809-appb-002347
为对偶螺旋轴(Dual screw axis),它由螺旋径向矢量
Figure PCTCN2018112809-appb-002348
及螺旋径向不变量
Figure PCTCN2018112809-appb-002349
构成。
由式(2.358)得
Figure PCTCN2018112809-appb-002350
即有
Figure PCTCN2018112809-appb-002351
式(2.407)表明:对偶螺旋轴
Figure PCTCN2018112809-appb-002352
是单位的双3D矢量,螺旋对偶四元数是单位四元数。应用式(2.404)至式(2.406),将式(2.402)重新表示为
Figure PCTCN2018112809-appb-002353
其中:
Figure PCTCN2018112809-appb-002354
对比式(2.409)及式(2.127),二者具有一样的单位轴及正余弦的数学结构;因此,螺旋对偶四元数具有欧拉公式的所有空间操作(Spatial operators)。螺旋对偶四元数是平动及转动四元数的对立统一(Unity of opposites),式(2.395)及式(2.409)分别表明二者的对立与统一。
将式(2.104)中的i及
Figure PCTCN2018112809-appb-002355
分别用
Figure PCTCN2018112809-appb-002356
及
Figure PCTCN2018112809-appb-002357
代换,则有,
Figure PCTCN2018112809-appb-002358
即有螺旋对偶四元数的伪坐标形式
Figure PCTCN2018112809-appb-002359
显然,式(2.410)中的指数运算比对偶四元数的复数乘法运算具有更优良的操作性能,为复杂运动学分析提供了有效的技术途径。
考虑式(2.368),由式(2.410)得
Figure PCTCN2018112809-appb-002360
【4】螺旋对偶四元数的幂与微分
由式(2.409)得
Figure PCTCN2018112809-appb-002361
的ρ次幂,
Figure PCTCN2018112809-appb-002362
显然,式(2.413)是式(2.409)的插值(Interpolation)过程。由式(2.413)及式(2.237)分别得欧拉四元数的插值及微分公式:
Figure PCTCN2018112809-appb-002363
Figure PCTCN2018112809-appb-002364
由式(2.400)得
Figure PCTCN2018112809-appb-002365
的ρ次幂,
Figure PCTCN2018112809-appb-002366
同样,由式(2.409)得
Figure PCTCN2018112809-appb-002367
的ρ次方,
Figure PCTCN2018112809-appb-002368
记双3D转动速度叉乘矩阵
Figure PCTCN2018112809-appb-002369
及双3D单位矩阵
Figure PCTCN2018112809-appb-002370
表示为
Figure PCTCN2018112809-appb-002371
由式(2.336)及式(2.408)得
Figure PCTCN2018112809-appb-002372
由式(2.337)及上式得
Figure PCTCN2018112809-appb-002373
将(2.419)表示为双四元数的矩阵形式,得
Figure PCTCN2018112809-appb-002374
其中:
Figure PCTCN2018112809-appb-002375
由式(2.420)可知:
Figure PCTCN2018112809-appb-002376
总是关于
Figure PCTCN2018112809-appb-002377
及
Figure PCTCN2018112809-appb-002378
的函数。
对偶四元数的迭代式
一方面,建立高自由度的显式规范方程计算复杂度极高,难以手工完成,必须借助于Maple等符号计算软件完成该运动学建模;但是,Maple等符号计算软件难以集成于机器人控制系统当中。另一方面,变结构的机器人需要实时地自动建立规范的运动学显式方程。因此,需要解决建立基于对偶四元数的迭代式运动学方程的问题。
由式(2.341)及式(2.342)可知:
Figure PCTCN2018112809-appb-002379
式(2.422)中的 i|nλ n是关于
Figure PCTCN2018112809-appb-002380
的多重线性型,即四元数表示的姿态方程是关于
Figure PCTCN2018112809-appb-002381
的多重线性多项式。
式(2.386)及式(2.388)的位置四元数可以表示为如下迭代式:
Figure PCTCN2018112809-appb-002382
Figure PCTCN2018112809-appb-002383
证明:由式(2.344)得
Figure PCTCN2018112809-appb-002384
式(2.386)及式(2.388)表明:
Figure PCTCN2018112809-appb-002385
的矢部是对应矢部
Figure PCTCN2018112809-appb-002386
的投影;
Figure PCTCN2018112809-appb-002387
的矢部是对应矢部
Figure PCTCN2018112809-appb-002388
的投影。由式(2.382)及式(2.384)分别得
Figure PCTCN2018112809-appb-002389
Figure PCTCN2018112809-appb-002390
显然
Figure PCTCN2018112809-appb-002391
由式(2.386)、式(2.388)、式(2.348)及式(2.425)至(2.428)得式(2.423)及式(2.424)。
证毕。
因螺旋对偶四元数是位形对偶四元数的特例,式(2.423)及式(2.424)同样适用于螺旋对偶四元数,应用式(2.401)可以进一步简化式(2.423)及式(2.424)。
由式(2.422)及式(2.424)可知:它们是关于
Figure PCTCN2018112809-appb-002392
的一阶多项式方程;式(2.422)中
Figure PCTCN2018112809-appb-002393
是关于
Figure PCTCN2018112809-appb-002394
的多重线性多项式;因此,运动链 il n的运动学方程是Cayley参数
Figure PCTCN2018112809-appb-002395
的多项式方程。给定
Figure PCTCN2018112809-appb-002396
或
Figure PCTCN2018112809-appb-002397
时计算
Figure PCTCN2018112809-appb-002398
是逆运动学求解问题;而如何求解关于
Figure PCTCN2018112809-appb-002399
的多项式方程是逆运动学研究的核心问题。
由式(2.422)及式(2.424)可知:基于对偶四元数得到的机械臂运动学方程是平凡的,它们是基于轴不变量的运动学方程;即使不应用任何对偶四元数的知识,也能得到式(2.422)及式(2.424)。显然,相对四元数而言,对偶四元数概念并没有增加新的信息,难以得到新的结论。
轴不变量概念的作用
本章提出了轴不变量的概念,本章建立了基于轴不变量的多轴系统正运动学。现在,总结一下轴不变概念的作用:
【1】轴不变量
Figure PCTCN2018112809-appb-002400
是轴
Figure PCTCN2018112809-appb-002401
及轴l的公共参考轴,与关节坐标一起,通过罗格里德四元数及欧拉四元数实现自然坐标系F [l]的参数化及轴l极性的参数化;轴不变量
Figure PCTCN2018112809-appb-002402
是既表示轴
Figure PCTCN2018112809-appb-002403
及轴l的具有不变性的结构参量,又表示轴
Figure PCTCN2018112809-appb-002404
与轴l的不变的轴链,通过拓扑操作实现了多轴系统拓扑结构的参数化。
【2】以轴不变量
Figure PCTCN2018112809-appb-002405
及关节坐标
Figure PCTCN2018112809-appb-002406
为基础的欧拉四元数保证了与转动矢量
Figure PCTCN2018112809-appb-002407
的一一映射,保证了自然参考轴定义的不变性;从而,保证多轴系统运算的可靠性。
【3】轴不变量
Figure PCTCN2018112809-appb-002408
及
Figure PCTCN2018112809-appb-002409
具有不变性,具有优良的操作性能,其衍生的
Figure PCTCN2018112809-appb-002410
具有反对称性、
Figure PCTCN2018112809-appb-002411
具有对称性、当
Figure PCTCN2018112809-appb-002412
时,
Figure PCTCN2018112809-appb-002413
具有幂零特性。
【4】由式(2.309)及式(2.312)分别可知:轴不变量具有对时间的不变性,运动链的DCM对关节角的偏速度具有轴不变量的不变性,轴不变量就是基的坐标矢量。
【5】轴不变量
Figure PCTCN2018112809-appb-002414
是3D空间操作代数的基元;具有拓扑操作的3D空间操作代数,不仅物理意义清晰,而且计算简单,可以适应变拓扑系统的应用需求;既有别于传统的3D矢量代数,又有别于6D双矢量算子代数。
【6】通过轴不变量
Figure PCTCN2018112809-appb-002415
可以将3D矢量转化为6D矢量、四元数及位形对偶四元数等不同数学空间,并减小相应的计算复杂度,建立了结构化的、内在紧凑的多轴运动学系统。
【7】基于轴不变量
Figure PCTCN2018112809-appb-002416
的运动学方程是轴不变量
Figure PCTCN2018112809-appb-002417
的二阶多变量多项式方程,也是关于轴不变量的迭代式方程;不仅统一了运动学方程的形式,而且提高了运动学计算的效率与精度;
【8】轴不变量
Figure PCTCN2018112809-appb-002418
可以通过激光跟踪仪等光学设备实现精确测量。
【9】通过轴不变量,实现了包含坐标系、极性及系统结构参量的完全参数化建模。
轴不变量是实现坐标系、极性、结构参数及动力学参数的完全参数化的关键。在基于轴不变量的多轴系统动力学建模中,可以直接列写任一轴的动力学方程,该方程同样可以表示为轴不变量的迭代式,且广义惯量是3×3的矩阵,可以极大地降低正逆动力学计算的复杂度。因此,将轴矢量命名为轴不变量不仅是必要的,而且反映了轴不变量本征属性。
轴不变量既是多轴系统结构的基元,又是多轴系统运动参考的基元;同时,轴不变量既具有优良的数学操作性能,又具有通过激光跟踪仪进行精密测量的优点;因此,轴不变量是构建结构化的、内在紧凑的多轴系统理论的基石。
通俗地说,轴不变量对于多轴系统建模的作用与二进位字对于信息处理的作用一样:它们都是系统的基元,是真实世界的自然描述,具有最简的操作性能;因而,以此构建的系统具有灵活性及高效性。多轴系统运动学具有与自然数同构的链符号系统,它们为多轴系统提供了作用方向及度量基准参考,保证了系统内部作用关系的客观性、紧凑性及层次性。
第三部分 基于轴不变量的多轴系统逆运动学Equation Chapter 3 Section 1
基础公式
【1】由式(2.85)得规范的姿态方程
Figure PCTCN2018112809-appb-002419
【2】由式(2.86)得规范的定位方程
Figure PCTCN2018112809-appb-002420
【3】当k∈ il n时,由式(2.304)至式(2.306)可知
Figure PCTCN2018112809-appb-002421
Figure PCTCN2018112809-appb-002422
Figure PCTCN2018112809-appb-002423
多轴系统逆运动学特点
考虑式(3.1),若
Figure PCTCN2018112809-appb-002424
iQ n表示需确定的姿态,仅三个独立的自由度;则当| il n|=3时,存在定姿逆解。给定单位矢量
Figure PCTCN2018112809-appb-002425
由式(3.1)得
Figure PCTCN2018112809-appb-002426
若
Figure PCTCN2018112809-appb-002427
表示需要确定的方向,则当| il n|=2时,存在定向逆解。给定单位矢量
Figure PCTCN2018112809-appb-002428
及
Figure PCTCN2018112809-appb-002429
由式(3.1)得
Figure PCTCN2018112809-appb-002430
若
Figure PCTCN2018112809-appb-002431
表示期望的投影标量,则当| il n|=1时,存在投影逆解。
考虑式(3.2),若
Figure PCTCN2018112809-appb-002432
表示期望确定的位置,则当| il n|=3时,存在位置逆解,当| il n|=6时,存在位姿逆解。
式(3.1)及式(3.2)是关于Cayley参数的n维2阶多项式方程,计算逆解的困难在于:需要通过复杂的消元过程,获得仅含有单个Cayley参数的高阶多项式方程;进而求解一元高阶多 项式方程。目前,
Figure PCTCN2018112809-appb-002433
基理论是解决多元多项式方程求解的一种可能途径,但其计算复杂度通常极高。对于机器人逆运动学(Inverse Kinematics/IK)问题,应用多重线性运动学方程计算逆运动学显式解(Symbolic/Analytic Solution)是一个更高效的途径。
下面,讨论一元高次多项式方程及多元多项式方程(Multivariate Polynomial Equations)消元原理,为后续进行逆运动学计算奠定基础。16世纪意大利数学家卡当(Candano)及其助手先后给出了一元三次和四次方程的解析解。法国青年数学家伽罗华(Galois)利用“可解群”理论证明一般五次以上方程不存在解析解。为方便读者阅读,下面对一元三次和四次方程的解法进行整理,以便后续引用。
一元三次方程解析解
给定一元三次方程a·x 3+b·x 2+c·x+d=0,其中:
Figure PCTCN2018112809-appb-002434
且a≠0;i为一维单位纯虚数;证明该方程3个解分别为
Figure PCTCN2018112809-appb-002435
其中:
Figure PCTCN2018112809-appb-002436
证明:第一步,转化为标准三次式。记
Figure PCTCN2018112809-appb-002437
则有,
Figure PCTCN2018112809-appb-002438
β=c/a,γ=d/a。
第二步,消去平方项。令x=y-λ,代入式(3.10)得
Figure PCTCN2018112809-appb-002439
对之展开得
Figure PCTCN2018112809-appb-002440
故有
Figure PCTCN2018112809-appb-002441
令
Figure PCTCN2018112809-appb-002442
式(3.11)中平方项消除。得
Figure PCTCN2018112809-appb-002443
则式(3.11)可化简为
Figure PCTCN2018112809-appb-002444
并表示为
y 3+p·y+q=0;          (3.12)
其中:
Figure PCTCN2018112809-appb-002445
第三步,化为二次平方式。令y=u+v,代入(3.12)式得
(u+v) 3+p·(u+v)+q=0。        (3.13)
显然,有下式成立,
(u+v) 3-3·u·v·(u+v)-(u 3+v 3)=0。        (3.14)
对比式(3.13)及式(3.14)系数得
Figure PCTCN2018112809-appb-002446
将u 3,v 3视为一元二次方程的根,故有z 2+q·z-p 3/27=0,解u 3及v 3得
Figure PCTCN2018112809-appb-002447
则
Figure PCTCN2018112809-appb-002448
Figure PCTCN2018112809-appb-002449
其中:
Figure PCTCN2018112809-appb-002450
ω 3=1。
第四步,得标准三次式的解。因
Figure PCTCN2018112809-appb-002451
故y=u+v存在以下三种可能:
Figure PCTCN2018112809-appb-002452
Figure PCTCN2018112809-appb-002453
Figure PCTCN2018112809-appb-002454
令
Figure PCTCN2018112809-appb-002455
第五步,还原解。
用
Figure PCTCN2018112809-appb-002456
换元得式a·x 3+b·x 2+c·x+d=0的解为式(3.8)及式(3.9)。证毕。
一元四次方程解析解
给定一元四次方程a·x 4+b·x 3+c·x 2+d·x+e=0,其中:
Figure PCTCN2018112809-appb-002457
且a≠0;证明该方程4个解分别为
Figure PCTCN2018112809-appb-002458
其中:
Figure PCTCN2018112809-appb-002459
证明:第一步,规范化。由ax 4+bx 3+cx 2+dx+e=0得
Figure PCTCN2018112809-appb-002460
记其为
Figure PCTCN2018112809-appb-002461
其中:
Figure PCTCN2018112809-appb-002462
β=c/a,γ=d/a,μ=e/a。
第二步,去除三次项。令
Figure PCTCN2018112809-appb-002463
代入式(3.17)得
Figure PCTCN2018112809-appb-002464
即
Figure PCTCN2018112809-appb-002465
令式(3.18)等价为
y 4+p·y 2+q·y+r=0;        (3.19)
其中:
Figure PCTCN2018112809-appb-002466
Figure PCTCN2018112809-appb-002467
第三步,化为二次平方式。显然,式y 4+p·y 2+q·y+r可转化二次平方式。
令y 4+p·y 2+q·y+r=y 4+z·y 2+z 2/4,将式(3.19)代入之得
y 4+z·y 2+z 2/4=z·y 2+z 2/4-p·y 2-q·y-r=0,即有
(y 2+z/2) 2=(z-p)·y 2-q·y+(z 2/4-r)=0。        (3.20)
故式(3.20)之判别式,亦称为一元四次方程的预解式:q 2-4·(z-p)·(z 2/4-r)=0,即
q 2-(z-p)·(z 2-4·r)=0,         (3.21)
式(3.21)即为
z 3-p·z 2-4·r·z+(4·r·p-q 2)=0。        (3.22)
利用式(3.8)至式(3.9),求式(3.22)的实数根z′:
Figure PCTCN2018112809-appb-002468
将该实数根z 1代回式(3.20)得
Figure PCTCN2018112809-appb-002469
由式(3.24)得两个二次式
Figure PCTCN2018112809-appb-002470
解式(3.25)得
Figure PCTCN2018112809-appb-002471
再代入
Figure PCTCN2018112809-appb-002472
故
Figure PCTCN2018112809-appb-002473
Figure PCTCN2018112809-appb-002474
Figure PCTCN2018112809-appb-002475
Figure PCTCN2018112809-appb-002476
证毕。
基于友阵的一元高阶多项式方程求解
一元n阶多项式p(x)=a 0+a 1x+…a n-1x n-1+x n具有n个解。若能找到一个矩阵A,满足|A-λ l·1 n|·v l=0,其中:l∈[1:n],λ l为该矩阵的特征值,v l为对应的特征矢量。若矩阵A的特征方程为
Figure PCTCN2018112809-appb-002477
则称该矩阵为多项式p(x)的友矩阵(Companion Matrix,简称友阵,因此,多项式方程p(λ l)=0的解为其友阵A的特征方程|A-λ l·1 n|=0的解。
若多项式p(x)的友阵为
Figure PCTCN2018112809-appb-002478
则由矩阵A的特征向量构成的矩阵为范德蒙德(Vandermonde)矩阵为
Figure PCTCN2018112809-appb-002479
且有
p(λ l)=|A-λ l·1 n|=0。         (3.28)
证明:记特征值λ l对应的特征向量为v l,由特征值定义可知A·v l=λ l·v l,故有
Figure PCTCN2018112809-appb-002480
故式(3.27)成立。因A·v l=λ l·v l,则有
Figure PCTCN2018112809-appb-002481
因v l≠0 n,故有
|(A-λ l·1 n)·v l|=|A-λ l·1 n|·|v l|=|p(λ l)|·||[0,…,0,1] T||。
因此,式(3.28)。证毕。
示例3.1求解多项式p(x)=x 3-10x 2+31x-30。
解:由式(3.28)及式(3.28)分别得
Figure PCTCN2018112809-appb-002482
解得全部特征根λ=[2,3,5],即为该多项式方程的全部解。
示例3.2求解多项式p(x)=x 2+1。
解:由式(3.26)及式(3.28)分别
Figure PCTCN2018112809-appb-002483
解得全部特征根±i,即为该多项式方程的全部解。
“n个n元N阶”多项式系统消元与求解
考虑具有2个单变量多项式(Univariate Polynomials)方程f(x)及g(x)构成的多项式系统F 2(x),并引入辅助变量(Auxiliary Variable)y替换原变量x,得式
Figure PCTCN2018112809-appb-002484
是关于变量x及y的对称(Symmetric)多项式;其中:Det表示行列式(Determinant)操作。这是Cayley于1865年提出的Cayley-Bézout方法。若
f(x)=0,g(x)=0,         (3.30)
则对任意y必有Dixon多项式
Figure PCTCN2018112809-appb-002485
显然,x-y必然被消去。故式(3.31)是方程组(3.30)有解的必要条件(Necessary condition)。因该系统存在非独立的方程,故该系统Dixon多项式恒为零(Identically zero),它是该系统可解的必要条件。因此,有必要将Dixon多项式推广至(Generalize to)“n个n元N阶”多项式系统,即由“n个n元N阶”多项式方程构成的多项系统。
“n个n元1阶”多项式系统
一个代数环(Algebraic Ring)是指一个满足加及乘运算的集合。其中:加法满足交换律(Commutative)、结合(Associative)律、逆运算及加法单位性(Additive Identity);乘法对加法满足左分配律(Left Distributivity)或右分配(Right Distributivity)律、乘法单位性(Multiplicative Identity)。二进制代数系统(Binary Algebra)及多项式符号系统(Polynomial Symbolic Systems)是典型的代数环系统,它们是互为同构的系统。
记多项式独立变量(Independent Variables)记为X n=[x 1,x 2,…,x n],n位二进位字(Binary Word)记为α n,以行向量表示,多项式组合变量(Composite Variables)
Figure PCTCN2018112809-appb-002486
是独立变量的二进位字幂积(Power Product),以列向量表示。
Figure PCTCN2018112809-appb-002487
Figure PCTCN2018112809-appb-002488
其中:独立变量数为n;n位二进位字α n共有2 n个二进位字实例,与组合变量一一映射,故有
Figure PCTCN2018112809-appb-002489
组合变量
Figure PCTCN2018112809-appb-002490
的维度
Figure PCTCN2018112809-appb-002491
由上可知:组合变量的系数(Variable Coefficients)矩阵记为
Figure PCTCN2018112809-appb-002492
与二进位字
Figure PCTCN2018112809-appb-002493
一一映射。
Figure PCTCN2018112809-appb-002494
示例3.3:为书写方便,记
Figure PCTCN2018112809-appb-002495
当n=3时,有
Figure PCTCN2018112809-appb-002496
分块矩阵的高维行列式计算原理
记<1:n>表示自然数[1:n]的全排列,共有n!个实例。给定属于数域的大小为n×n的矩阵 M,其j行i列元素记为
Figure PCTCN2018112809-appb-002497
根据行列式定义得
Figure PCTCN2018112809-appb-002498
其中:I[i1,…in]表示排列<i1,…in>的逆序个数。式计算复杂度为:n!次n个数积及n!次加法,具有指数计算复杂度,只能适用于维度较小的行列式。对于维度较大的行列式,通常应用Laplace公式进行递规运算,记
Figure PCTCN2018112809-appb-002499
为
Figure PCTCN2018112809-appb-002500
的伴随矩阵(Adjugate Matrix),则有
Figure PCTCN2018112809-appb-002501
更简单的算法通常应用高斯消去法或LU分解法,先通过初等变换将矩阵变为三角阵或三角阵的乘积,后计算行列式。上述针对数域的行列式计算方法不适用于高维度的多项式矩阵,需要引入分块矩阵的行列式计算方法。计算矢量多项式(Vector Polynomial)的行列式是一个特定的分块矩阵行列式的计算问题,它在矢量层次上表达了矢量与行列式的内在联系。而分块矩阵行列式计算则从矩阵层次上表达分块矩阵与行列式的内在规律。
若给定矢量多项式
Figure PCTCN2018112809-appb-002502
其中:
Figure PCTCN2018112809-appb-002503
及
Figure PCTCN2018112809-appb-002504
为3D坐标矢量,
Figure PCTCN2018112809-appb-002505
为多项式变量序列;若约定
Figure PCTCN2018112809-appb-002506
则有
Figure PCTCN2018112809-appb-002507
证明:因
Figure PCTCN2018112809-appb-002508
故式(3.39)成立。证毕。
式(3.38)及式(3.39)可以推广至n维空间。式(3.38)有助于从矢量层次上分析行列式的内在规律;比如,当任两矢量平行或三矢量共面时,对应的行列式为零。式(3.39)表明:矢量多项式的行列式易导致“组合爆炸”。
示例3.4给定2个2维行矢量多项式
Figure PCTCN2018112809-appb-002509
及
Figure PCTCN2018112809-appb-002510
Figure PCTCN2018112809-appb-002511
一方面,由式(3.39)得
Figure PCTCN2018112809-appb-002512
另一方面,
Figure PCTCN2018112809-appb-002513
上面的结果验证了式(3.39)的正确性。
下面,先陈述分块矩阵(Block matrix)的行列式计算定理,然后再予以证明。
定理3.1若记大小为(n+m)·(n+m)的方阵为M,大小为n·n的矩阵
Figure PCTCN2018112809-appb-002514
是方阵M的前n行及任意n列元素构成的子矩阵,大小为m·m的矩阵
Figure PCTCN2018112809-appb-002515
是方阵M后m行及剩余m列元素构成的子矩阵;由升序排列的矩阵列序号构成的序列cn及cm是序列[1:m+n]的子集,[cn,cm]∈<1:n+m>,且有cm∪cn=[1:m+n];则方阵M行列式与分块矩阵
Figure PCTCN2018112809-appb-002516
及
Figure PCTCN2018112809-appb-002517
的行列式关系为
Figure PCTCN2018112809-appb-002518
证明:因行列式由矩阵元素的全排列(Full permutation)确定,故子矩阵
Figure PCTCN2018112809-appb-002519
及
Figure PCTCN2018112809-appb-002520
的全排列与方阵M元素的全排列等价。[cn,cm]共有(n+m)!/(n!m!)种。因方阵M由子矩阵
Figure PCTCN2018112809-appb-002521
及
Figure PCTCN2018112809-appb-002522
构成,故方阵M元素的全排列可以被分成(n+m)!/(n!m!)类;其中:
Figure PCTCN2018112809-appb-002523
的元素排列有n!种,
Figure PCTCN2018112809-appb-002524
的元素排列有m!,每一类包含n!m!种排列。因此,方阵M的行列式表示为:
Figure PCTCN2018112809-appb-002525
证毕。
式右侧的每一项需要执行n·n!+m·m!+1次积运算及和运算,总运算次数为(n+m)!(n·n!+m·m!+1)/(n!m!),远比未分块计算时的总运算次数(n+m)(n+m)!小得多, 当n和m较大时尤其明显。当矩阵较大时,可以采用逐步分块的方法进一步降低计算量。对于16·16的方阵而言,其行列式计算复杂度可以由原先的16·16!降至逐步分块后的10,992,267,计算速度可以得到显著提高。
示例3.5根据Laplace公式,计算如下方阵M的行列式,
Figure PCTCN2018112809-appb-002526
易得Det(M)=6。选择2·2分块矩阵,即n=m=2。应用式计算过程如下:
Figure PCTCN2018112809-appb-002527
两种方法的计算结果一致,验证了式的正确性。
为简化行列式计算与分析,约定
Figure PCTCN2018112809-appb-002528
表示在满足条件con下的相等。例如:若
Figure PCTCN2018112809-appb-002529
且y 2的阶次
Figure PCTCN2018112809-appb-002530
则有
Figure PCTCN2018112809-appb-002531
对行列式进行行阶梯化计算原理:
对于S×S矩阵,其每一项是关于τ 1的n阶多项式。计算该矩阵的行列式时,可通过初等行变换将原行列式变为上三角行列式,再将非零的对角线元素相乘,得到行列式的多项式表达式。该式为0,得到τ 1的所有解。
行阶梯化的具体方法为,先对行列式第一列的最高阶次由高到低进行排序,再进行最多(S-1)×n次初等行变换消元,得到第一列只有第一个元素不为0的行列式。再对该行列式第1行及1列的余子式进行初等行变换消元,依次迭代求解。
基于N进位字的N阶多项式系统
【1】基于N进位字的N阶多项式系统
若“n个n元1阶”多项式幂积
Figure PCTCN2018112809-appb-002532
中独立变量重复出现N次,则得到n个n元N阶多项式系统
Figure PCTCN2018112809-appb-002533
n元N阶多项式系统与n位N进位字
Figure PCTCN2018112809-appb-002534
同构。
Figure PCTCN2018112809-appb-002535
Figure PCTCN2018112809-appb-002536
Figure PCTCN2018112809-appb-002537
Figure PCTCN2018112809-appb-002538
示例3.6:由式(3.35)及式(3.43)得3维1阶多项式
Figure PCTCN2018112809-appb-002539
N进位字乘积
Figure PCTCN2018112809-appb-002540
及多项式组合变量乘积
Figure PCTCN2018112809-appb-002541
运算如下:
Figure PCTCN2018112809-appb-002542
Figure PCTCN2018112809-appb-002543
相应地,有
Figure PCTCN2018112809-appb-002544
组合变量系数(Variable coefficients)
Figure PCTCN2018112809-appb-002545
表示为
Figure PCTCN2018112809-appb-002546
【2】n个“n元N阶”多项式系统的Dixon多项式
引入辅助变量[y 2,y 3,…,y n],且有
Figure PCTCN2018112809-appb-002547
在多元多重多项式(3.43)中,用辅助变量Y m的前m个依次替换原变量(Original Variables)X n中的m个变量,记“|”为替换操作符,得到增广的(Extended)多项式
Figure PCTCN2018112809-appb-002548
Figure PCTCN2018112809-appb-002549
由式(3.41)及式得
Figure PCTCN2018112809-appb-002550
其中:
Figure PCTCN2018112809-appb-002551
定义可分离组合变量
Figure PCTCN2018112809-appb-002552
及
Figure PCTCN2018112809-appb-002553
如下:
Figure PCTCN2018112809-appb-002554
由式(3.52)及式(3.53)可知:替换式
Figure PCTCN2018112809-appb-002555
是关于
Figure PCTCN2018112809-appb-002556
及
Figure PCTCN2018112809-appb-002557
的双重线性型。相应地,用辅助变量替换的多项式系统记为
Figure PCTCN2018112809-appb-002558
给定n个“n元N阶”多项式系统
Figure PCTCN2018112809-appb-002559
定义其Dixon多项式为
Figure PCTCN2018112809-appb-002560
由式得
Figure PCTCN2018112809-appb-002561
式(3.53)中分离变量与其他文献不同:原变量X n-1被辅助变量Y n-1替换的次序不同,Dixon多项式也不同。考虑式及式得该多项式的Dixon行列式
Figure PCTCN2018112809-appb-002562
在笛卡尔空间下,由位置矢量或转动矢量构成的行列式表示矢量张成空间的容积(Volume);在不同笛卡尔空间下具有容积的不变性。其中:
Figure PCTCN2018112809-appb-002563
n个“n元N阶”多项式的Dixon行列式的阶次及替换变量项数分别为:
Figure PCTCN2018112809-appb-002564
n个“n元N阶”Dixon矩阵的存在性
定理3.2:给定n个“n元N阶”多项式系统F n(Y n-1|X n-1),n≥2;存在与消去变量x 2,…,x n无关的Dixon矩阵 SΘ S(x 1),其Dixon多项式
Figure PCTCN2018112809-appb-002565
表示为分离变量(Separable Variables)
Figure PCTCN2018112809-appb-002566
及
Figure PCTCN2018112809-appb-002567
的双重线性型(Bilinear Form):
Figure PCTCN2018112809-appb-002568
Figure PCTCN2018112809-appb-002569
Dixon矩阵大小为S×S,其第[i][j]成员为单变量x 1的N阶多项式:
Figure PCTCN2018112809-appb-002570
其中:
Figure PCTCN2018112809-appb-002571
若
Figure PCTCN2018112809-appb-002572
则有
Figure PCTCN2018112809-appb-002573
证明:考虑式(3.58),记A [1][c]为第1行第c列的伴随矩阵,得
Figure PCTCN2018112809-appb-002574
由式(3.51)、式(3.52)、式(3.53)及式(3.59)可知:
Figure PCTCN2018112809-appb-002575
是
Figure PCTCN2018112809-appb-002576
及
Figure PCTCN2018112809-appb-002577
的双重线性型。由式(3.59)得式(3.63)。要保证式成立,则要求
Figure PCTCN2018112809-appb-002578
故得式(3.51)。因Dixon矩阵 SΘ S的每个成员有N+1个待定系数,故共有(N+1)·S×S个 待定系数。因Order(Det( SΘ S(x 1)),x 1)=S·N≥N,分离变量不影响式(3.60)右侧x 1阶次,故得式(3.62)。由式(3.60)及式(3.67)可知:式(3.60)两边的
Figure PCTCN2018112809-appb-002579
及
Figure PCTCN2018112809-appb-002580
阶次相等,两边的x 1阶次相等。应用独立辅助变量替换原变量,得到增广的多项式;因行列式即容积不取决于变量的维度及形式,故增维后行列式与原行列式相等。故式(3.60)至式(3.62)成立。
记l,l′∈[2:n],由式(3.64)可知:式(3.60)中若存在
Figure PCTCN2018112809-appb-002581
则存在
Figure PCTCN2018112809-appb-002582
因变量替换不改变多项式系数,故
Figure PCTCN2018112809-appb-002583
及
Figure PCTCN2018112809-appb-002584
的系数与多项式项
Figure PCTCN2018112809-appb-002585
的系数相同,且Dixon矩阵
Figure PCTCN2018112809-appb-002586
具有对称性。因此式(3.65)成立。证毕。
称定理3.2为n个“n元N阶”Dixon矩阵存在性定理。该定理与Dixon消元方法不同在于:(1)式(3.58)的Dixon多项式计算过程不同;(2)式(3.60)的消元过程不同,适用于n个“n元N阶”多项式系统;(3)具有N进位字的符号系统。式(3.60)将多项式求解问题转化Dixon矩阵表示及线性方程求解问题。式(3.56)是Cayley-Bézout多项式结式(Resultant of Polynomials)的推广(Generalization)。但是,由于式(3.67)中阶次高,易导致“组合爆炸”。
n个“n元N阶”多项式方程求解
考虑式(3.60),若
Figure PCTCN2018112809-appb-002587
故得
Det( SΘ S(x 1))=0。       (3.68)
称式(3.68)中“n个n元”为Dixon消元必要条件,从而获得局部可行解(Local Feasible solution)。若 SΘ S存在零行或零列向量,则无法建立x 1的多项式方程;此时,通过除标量积之外的初等变换,将 SΘ S变为行阶梯(Row Echelon)矩阵Ech( SΘ S);在计算该矩阵的杻轴(Pivot)的积之后得方阵
Figure PCTCN2018112809-appb-002588
即在 SΘ S中选取S′个独立的列向量。
任一个n个“一元N阶”多项式系统
Figure PCTCN2018112809-appb-002589
的实例(简称多项式)记为
Figure PCTCN2018112809-appb-002590
其中:
Figure PCTCN2018112809-appb-002591
且有
Figure PCTCN2018112809-appb-002592
根据
Figure PCTCN2018112809-appb-002593
的多项式确定Dixon矩阵、分离变量
Figure PCTCN2018112809-appb-002594
及
Figure PCTCN2018112809-appb-002595
选取
Figure PCTCN2018112809-appb-002596
及
Figure PCTCN2018112809-appb-002597
满足
Figure PCTCN2018112809-appb-002598
确定双线性型
Figure PCTCN2018112809-appb-002599
Figure PCTCN2018112809-appb-002600
其中:
Figure PCTCN2018112809-appb-002601
中与
Figure PCTCN2018112809-appb-002602
对应的各列线性独立。因
Figure PCTCN2018112809-appb-002603
由式(3.60)及式(3.63)得
Figure PCTCN2018112809-appb-002604
称其为结式或消去式。式(3.72)是单变量x 1的多项式方程;消去了n-1个未知量;从而,可以获得单变量x 1的可行解。若x 1同时满足
Figure PCTCN2018112809-appb-002605
则x 1为正确解。将已解的x 1代入式(3.74),因式(3.72)成立且
Figure PCTCN2018112809-appb-002606
任意,故得
Figure PCTCN2018112809-appb-002607
即有
Figure PCTCN2018112809-appb-002608
若有必要条件
Figure PCTCN2018112809-appb-002609
成立,解式(3.75),得被消去变量
Figure PCTCN2018112809-appb-002610
的解;否则,需要结合式得到全部解。考虑式(3.54),因式(3.60)两边的x 1阶次相等,故必有
Figure PCTCN2018112809-appb-002611
若同时满足
Figure PCTCN2018112809-appb-002612
则由式能解得
Figure PCTCN2018112809-appb-002613
中n-1个互不相同的组合变量;从而,得到所有独立变量的解。
给定n个“n元N阶”多项式
Figure PCTCN2018112809-appb-002614
Dixon矩阵计算步骤如下:
①确定系统结构:方程数及独立变量数记为n;独立变量记为X n;多项式复合变量记为
Figure PCTCN2018112809-appb-002615
替换变量记为Y n-1,替换变量数为n-1;大小为S·S的Dixon矩阵记为
Figure PCTCN2018112809-appb-002616
其成员系数如式(3.62)所示,其中:S由式(3.72)确定;待消去变量为x 1。
②由式(3.43)得
Figure PCTCN2018112809-appb-002617
与
Figure PCTCN2018112809-appb-002618
对应关系,表达式(3.49)中
Figure PCTCN2018112809-appb-002619
至多有S项。
③根据式(3.57)及Sarrus规则,计算Dixon(F n(Y n-1|X n-1));根据
Figure PCTCN2018112809-appb-002620
对应的N进位字运算结果,完成多项式合并。
④Dixon矩阵成员如式(3.72)所示,由式(3.72)计算Dixon矩阵 SΘ S的(n+1)·S 2个系数。
⑤当满足式及式直接解判别准则时,由式及式得全部数值解。
示例3.7求多项式系统的解。
Figure PCTCN2018112809-appb-002621
解:显然,由式可知,这是2个“2元1阶”多项式系统,满足Dixon消元条件。由式(3.57)及式(3.60),得
Figure PCTCN2018112809-appb-002622
其中:
Figure PCTCN2018112809-appb-002623
由式(3.74)及式(3.80)得:
Figure PCTCN2018112809-appb-002624
将之代入式得τ l=0。显然,因变量满足式(3.64),式(3.80)所示的Dixon矩阵对称。
示例3.8求多项式系统的解。
Figure PCTCN2018112809-appb-002625
解:该是2个“2元1阶”多项式系统,满足Dixon消元条件。由式(3.57)及式(3.60),得
Figure PCTCN2018112809-appb-002626
其中:
Figure PCTCN2018112809-appb-002627
由式(3.74)及式(3.80)得
Figure PCTCN2018112809-appb-002628
将之代入式(3.81)得τ l=1。
示例3.9对多项式系统进行Dixon消元。
Figure PCTCN2018112809-appb-002629
解:式形式上表现为2阶多项式,但本质上是“多个3元”1阶多项式系统,满足Dixon 消元条件。由式(3.57)及式(3.60),得
Figure PCTCN2018112809-appb-002630
其中:
Figure PCTCN2018112809-appb-002631
由式(3.74)及式(3.84)得
Figure PCTCN2018112809-appb-002632
将它们代入式(3.83)得对应的
Figure PCTCN2018112809-appb-002633
显然,因变量满足式(3.64),式(3.84)所示的Dixon矩阵是对称的。
示例3.10对多项式系统(3.85)进行Dixon消元。
Figure PCTCN2018112809-appb-002634
解:该式是4个“4元1阶”多项式系统,满足Dixon消元条件。由式及式,得
Figure PCTCN2018112809-appb-002635
其中:
Figure PCTCN2018112809-appb-002636
由式及式得5个解:
Figure PCTCN2018112809-appb-002637
其中:
Figure PCTCN2018112809-appb-002638
不是该方程组的解。将其它解分别代入式(3.75)。当
Figure PCTCN2018112809-appb-002639
时,由式得
Figure PCTCN2018112809-appb-002640
解得:τ 3=1,τ 4=-2。将
Figure PCTCN2018112809-appb-002641
τ 3及τ 4代入式得τ 2=1。同样,可得其他三组解。显然,因变量不满足式(3.64),式(3.86)所示的Dixon矩阵不对称。该例表明Dixon行列式为零对于多重线性多项式系统是充分的。
示例3.11对多项式系统进行Dixon消元。
Figure PCTCN2018112809-appb-002642
解:由式(3.87)可知,这是2个“2元2阶”多项式系统,满足Dixon消元条件。由式(3.57)及式(3.60),得
Figure PCTCN2018112809-appb-002643
其中:
Figure PCTCN2018112809-appb-002644
由式(3.74)及式(3.88)得:τ 1=-2,τ 1=-1及τ 1=3,分别代入式(3.87)得该方程组的解:
Figure PCTCN2018112809-appb-002645
显然,因组合变量满足式(3.64),式(3.88)所示的Dixon矩阵是对称的。
示例3.12计算多项式系统(3.89)的Dixon行列式。
Figure PCTCN2018112809-appb-002646
解:由式(3.57)及式(3.60)得
Figure PCTCN2018112809-appb-002647
其中:
Figure PCTCN2018112809-appb-002648
Figure PCTCN2018112809-appb-002649
取 6Θ 10(x 1)中关于x 1独立的6列向量组成
Figure PCTCN2018112809-appb-002650
则有
Figure PCTCN2018112809-appb-002651
应用式(3.40)计算式(3.91)的行列式得
Figure PCTCN2018112809-appb-002652
显然存在解
Figure PCTCN2018112809-appb-002653
代入式(3.89)得
Figure PCTCN2018112809-appb-002654
式(3.90)中的7至9列与
Figure PCTCN2018112809-appb-002655
中各列相关。尽管
Figure PCTCN2018112809-appb-002656
但是
Figure PCTCN2018112809-appb-002657
及
Figure PCTCN2018112809-appb-002658
不存在,因为将它们代入式(3.90)后,不能满足式(3.73)。故当|α|≠|β|不满足时,式(3.68)的解为可行解,需要代入系统方程验证是否正确。该例表明Dixon行列式为零对于一般的多项式系统是必要条件,但不是充分条件。
示例3.13计算多项式系统(3.92)的Dixon行列式。
Figure PCTCN2018112809-appb-002659
解:由式(3.57)及式(3.60),得
Figure PCTCN2018112809-appb-002660
其中:
Figure PCTCN2018112809-appb-002661
其中,
Figure PCTCN2018112809-appb-002662
对式(3.93)应用式(3.40)得
Figure PCTCN2018112809-appb-002663
显然,存在解
Figure PCTCN2018112809-appb-002664
代入式得
Figure PCTCN2018112809-appb-002665
示例3.14通过矩阵的初等行变换,得到式(3.86)的行阶梯矩阵。
解:rk代表第k行。由式(3.86),得
Figure PCTCN2018112809-appb-002666
则得
Figure PCTCN2018112809-appb-002667
基于固定轴不变量的D-H系及D-H参数确定
在应用名义D-H系及D-H参数计算运动学逆解时,由于存在机加工及装配误差,导致系统绝对定位及定姿精度远低于系统的重复精度;同时,D-H系建立及D-H参数确定过程较烦琐,当系统自由度较高时,手工完成这一过程可靠性低。因此,需要解决由计算机完成D-H系及D-H参数的确定问题。同时,高精度的D-H系及D-H参数是机器人进行精确作业的基础,也是“示教-再现”(Teaching and Playback)机器人向自主机器人发展的基础。
基于固定轴不变量的D-H系确定
请参照图34。图34为自然坐标系与D-H系的关系图。图34包含D-H系原点O l′、中间点
Figure PCTCN2018112809-appb-002668
轴不变量
Figure PCTCN2018112809-appb-002669
轴不变量
Figure PCTCN2018112809-appb-002670
如图34所示,A=(0,1,…,k],F={F [l]|l∈A},
Figure PCTCN2018112809-appb-002671
且有
Figure PCTCN2018112809-appb-002672
首先确定中间点
Figure PCTCN2018112809-appb-002673
及D-H系原点O l′。
【1】令
Figure PCTCN2018112809-appb-002674
和z l′分别经过轴不变量
Figure PCTCN2018112809-appb-002675
和轴不变量
Figure PCTCN2018112809-appb-002676
且
Figure PCTCN2018112809-appb-002677
【2】
Figure PCTCN2018112809-appb-002678
定义为
Figure PCTCN2018112809-appb-002679
到n l的公垂线,包括三种情况。
【2.1】若
Figure PCTCN2018112809-appb-002680
则
Figure PCTCN2018112809-appb-002681
0r l′可用轴不变量
Figure PCTCN2018112809-appb-002682
和轴不变量
Figure PCTCN2018112809-appb-002683
表示。
Figure PCTCN2018112809-appb-002684
Figure PCTCN2018112809-appb-002685
因
Figure PCTCN2018112809-appb-002686
且
Figure PCTCN2018112809-appb-002687
得
Figure PCTCN2018112809-appb-002688
解式(3.96)得
Figure PCTCN2018112809-appb-002689
将式(3.97)带入式(3.94)得
Figure PCTCN2018112809-appb-002690
且
Figure PCTCN2018112809-appb-002691
对于自然坐标系,有
Figure PCTCN2018112809-appb-002692
将式(3.100),式(3.98)和式(3.99)改写为:
Figure PCTCN2018112809-appb-002693
且
Figure PCTCN2018112809-appb-002694
由式(3.100),式(3.102)可以表示为如下形式
Figure PCTCN2018112809-appb-002695
通常,
Figure PCTCN2018112809-appb-002696
用来表示的
Figure PCTCN2018112809-appb-002697
零位方向。
【2.2】显然,若
Figure PCTCN2018112809-appb-002698
且
Figure PCTCN2018112809-appb-002699
得到
Figure PCTCN2018112809-appb-002700
且
Figure PCTCN2018112809-appb-002701
【2.3】若
Figure PCTCN2018112809-appb-002702
且
Figure PCTCN2018112809-appb-002703
则
Figure PCTCN2018112809-appb-002704
且
Figure PCTCN2018112809-appb-002705
由式(3.105)和
Figure PCTCN2018112809-appb-002706
得
Figure PCTCN2018112809-appb-002707
【3】得到
Figure PCTCN2018112809-appb-002708
Figure PCTCN2018112809-appb-002709
【4】由式,得
Figure PCTCN2018112809-appb-002710
Figure PCTCN2018112809-appb-002711
至此,通过固定轴不变量确定了D-H系。
基于固定轴不变量的D-H参数确定
请再度参照图34。如图34所示,
Figure PCTCN2018112809-appb-002712
是轴
Figure PCTCN2018112809-appb-002713
的单位坐标矢量。
Figure PCTCN2018112809-appb-002714
Figure PCTCN2018112809-appb-002715
令
Figure PCTCN2018112809-appb-002716
由第一部分轴扭角的定义得
Figure PCTCN2018112809-appb-002717
令
Figure PCTCN2018112809-appb-002718
由第一部分关节转动角定义得
Figure PCTCN2018112809-appb-002719
其中:a l和c l分别为轴
Figure PCTCN2018112809-appb-002720
到轴l的轴距和偏距,
Figure PCTCN2018112809-appb-002721
为轴
Figure PCTCN2018112809-appb-002722
到轴l的扭角,
Figure PCTCN2018112809-appb-002723
为轴
Figure PCTCN2018112809-appb-002724
的零位。
综上所述,通过固定轴不变量
Figure PCTCN2018112809-appb-002725
和
Figure PCTCN2018112809-appb-002726
可以方便地表达D-H参数
Figure PCTCN2018112809-appb-002727
及
Figure PCTCN2018112809-appb-002728
同时可以表达零位
Figure PCTCN2018112809-appb-002729
基于固定轴不变量的D-H系及D-H参数确定原理具有如下作用:
【1】解决了D-H系及D-H参数工程可实现性问题;由于D-H系及D-H参数确定过程需要借助于光学特征才能实施,所需的特征通常位于杆件内部及外部,工程上无法精确测量。而固定轴不变量可以借助于激光跟踪仪等光学测量设备间接地进行测量。
【2】保证了D-H系及D-H参数的精确性;由于D-H系及D-H参数确定过程需要满足正交性要求,工程上难以满足。在多轴系统设计时,根据图纸确定的D-H系及D-H参数与工程D-H系及D-H参数存在较大差异,需要考虑机械加工及系统装配引起的误差。通过工程测量的固定轴不变量在测量设备精度得到保证的前提下,可以得到精确的、以固定轴不变量表征的结构参数,从而保证了D-H系及D-H参数的精确性。
基于轴不变量及D-H参数的1R/2R/3R姿态逆解
在工程应用中,自然坐标系不仅简单、方便;而且有助于提高工程测量精度,增强建模的通用性。同时,多轴系统的运动学及动力学建模的困难主要是因为存在转动,而转动的描 述的关键在于转动轴。本节基于自然坐标系,研究1R的投影、2R的定向及3R的定姿问题。主要目的是为后续阐述基于轴不变量的多轴系统逆运动学奠定基础。
基于轴不变量的1R姿态逆解
投影是旋转矢量在线性空间下的度量。给定链节
Figure PCTCN2018112809-appb-002730
控制关节角
Figure PCTCN2018112809-appb-002731
使固结的单位矢量 lu S与期望单位矢量
Figure PCTCN2018112809-appb-002732
的投影
Figure PCTCN2018112809-appb-002733
最优;其中:
Figure PCTCN2018112809-appb-002734
为 lu S与
Figure PCTCN2018112809-appb-002735
的夹角。称该问题为投影逆解问题。由式(2.83)及式(3.7)得
Figure PCTCN2018112809-appb-002736
即
Figure PCTCN2018112809-appb-002737
其中:
Figure PCTCN2018112809-appb-002738
若
Figure PCTCN2018112809-appb-002739
解式(3.113)得
Figure PCTCN2018112809-appb-002740
若
Figure PCTCN2018112809-appb-002741
式(3.113)退化为一次式:
Figure PCTCN2018112809-appb-002742
由式(3.116)得
Figure PCTCN2018112809-appb-002743
记式(3.115)根号部分
Figure PCTCN2018112809-appb-002744
因τ l是关于
Figure PCTCN2018112809-appb-002745
的连续函数。因
Figure PCTCN2018112809-appb-002746
故
Figure PCTCN2018112809-appb-002747
式(3.113)关于
Figure PCTCN2018112809-appb-002748
凸函数。当取边界条件
Figure PCTCN2018112809-appb-002749
时,由式(3.114)及式(3.118)得
Figure PCTCN2018112809-appb-002750
由式(3.119)得
Figure PCTCN2018112809-appb-002751
此时,满足
Figure PCTCN2018112809-appb-002752
最小的解为
Figure PCTCN2018112809-appb-002753
基于轴不变量的CE3太阳翼姿态逆解
请参照图35。图35为月面巡视器太阳翼坐标系示意图。如图35所示CE3巡视器太阳翼(Sun panel)体系p,O p位于转动副 cR p轴线中心,x p过转动副 cR p并指向巡视器前向,y p指向巡视器左侧,z p由右手规则确定,即指向+Y光敏元件阵列法向。巡视器体系记为c。
其中:
Figure PCTCN2018112809-appb-002754
—太阳翼转动角,
Figure PCTCN2018112809-appb-002755
S r—太阳翼前外侧点;S l—太阳翼后外侧点; cr p—巡视器体系原点O c至太阳翼体系原点O p位置矢量在巡视器体系下坐标;
Figure PCTCN2018112809-appb-002756
—巡视器至太阳的单位矢量在导航系n下坐标。
由式(2.83)得
Figure PCTCN2018112809-appb-002757
太阳翼上任一点S在其体系下坐标记为
Figure PCTCN2018112809-appb-002758
则有齐次坐标变换
Figure PCTCN2018112809-appb-002759
记巡视器相对导航系的旋转变换阵为 nQ c,则有 nQ p= nQ c· cQ p,故有
cu S= cQ n· nu S,         (3.124)
pu S= pQ n· nu S。        (3.125)
记器日矢量相对太阳翼高度角为
Figure PCTCN2018112809-appb-002760
其由式(3.125)确定
Figure PCTCN2018112809-appb-002761
记由太阳翼法向至太阳单位矢量夹角记为
Figure PCTCN2018112809-appb-002762
则有
Figure PCTCN2018112809-appb-002763
CE3巡视器的太阳翼控制包含两种模式:
①太阳翼调节控制
太阳翼调节控制是指:给定
Figure PCTCN2018112809-appb-002764
的最小阈值
Figure PCTCN2018112809-appb-002765
控制
Figure PCTCN2018112809-appb-002766
既要保证太阳翼产生足够的功率,又要保证太阳翼由于太阳辐射不致过热,即
Figure PCTCN2018112809-appb-002767
由式(3.115)或(3.117)可解得τ p。显然,
Figure PCTCN2018112809-appb-002768
②太阳翼最优控制
太阳翼最优控制是指:控制
Figure PCTCN2018112809-appb-002769
保证太阳翼最大的发电量。由式(3.121)可解得τ p,显然,
Figure PCTCN2018112809-appb-002770
下面通过特例验证式(3.115)、式(3.117)及式(3.121)的正确性。若
Figure PCTCN2018112809-appb-002771
将式(3.128)代入式(3.120)得
Figure PCTCN2018112809-appb-002772
将式(3.128)代入式(3.121)得
Figure PCTCN2018112809-appb-002773
当
Figure PCTCN2018112809-appb-002774
时,由式(3.129)得
Figure PCTCN2018112809-appb-002775
由式(3.130)得
Figure PCTCN2018112809-appb-002776
当
Figure PCTCN2018112809-appb-002777
时,由式(3.129)得
Figure PCTCN2018112809-appb-002778
由式(3.130)得
Figure PCTCN2018112809-appb-002779
当
Figure PCTCN2018112809-appb-002780
时,由式(3.129)得
Figure PCTCN2018112809-appb-002781
由式(3.130)得
Figure PCTCN2018112809-appb-002782
显然,上述结果与直观的物理含义一致,证明了基于轴不变量的1R投影逆解原理的正确性。
由上述太阳翼逆解可知,存在两组最优解。由于太阳翼转动角度受结构约束、太阳翼温度约束、太阳翼与数传天线或全向天线可能存在机械干涉,需要对太阳翼工作区间进行限定。在允许的工作区间内控制太阳翼,保证发电量的最大化。
请参照图36。图36为全向天线与右翼、全向天线与太阳翼干涉图。图36包含测控站3601、数据接收站3602。如图36所示,因太阳翼距数传天线及全向天线较近,易遮挡电磁波的传输,致使数传通信或全向通信中断或功率衰减;称之为巡视器数传天线与太阳翼或全向天线与太阳翼机械干涉。避免机械干涉是巡视器任务规划、桅杆控制、太阳翼控制的基本约束条件。
请参照图36。判断巡视器数传天线与太阳翼或全向天线与太阳翼机械干涉的方法如下:记全向发射天线顶点为S l 3603及全向接收天线顶点为S r 3604,记数传天线波束(Wave beam)轴与发射面交点为S 3605。在巡视器体系c下,建立S l 3603至测控站的射线方程、S r 3604至测控站的射线方程、S 3605至数据接收站的射线方程,通过全向通信或数传通信射线方程与太阳翼平面方程求解交点。若交点存在且位于太阳翼面内,则视为机械干涉。记射线的起点为A,射线单位矢量为 cn t,参数为t,其对应的点记为 cr t,在巡视器体系c下射线参数方 程为
cr t= cr A+ cn t·t,         (3.131)
即
Figure PCTCN2018112809-appb-002783
记太阳翼前内侧角点为B,太阳翼法向为 cn p,射线与太阳翼平面任一交点记为 cr t。太阳翼平面方程为
Figure PCTCN2018112809-appb-002784
即
Figure PCTCN2018112809-appb-002785
将式(3.133)代入式(3.131)得
Figure PCTCN2018112809-appb-002786
式(3.135)中
Figure PCTCN2018112809-appb-002787
时,说明射线与太阳翼法向正交,显然不存在干涉,即
Figure PCTCN2018112809-appb-002788
因
Figure PCTCN2018112809-appb-002789
将式(3.133)代入式(3.131)可得射线与太阳翼平面交点 cr t。
Figure PCTCN2018112809-appb-002790
若
Figure PCTCN2018112809-appb-002791
则检测射线与太阳翼干涉。当然,工程实现时,需要进行更多的射线检测,并考虑干涉阈度。
太阳翼行为控制通过3D场景显示,可以直观地反映“日地月”及地面站、巡视器姿态、太阳翼运动状态。不仅让用户准确地把握巡视器在轨时的情景状态,而且有助于提高软件的可靠性。在仿真测试时,可以用来分析探测区域、月面地貌、探测时间区间、太阳翼及左太阳翼发电性能等与月面巡视探测任务的适应性,可以优化巡视器电源系统的设计。
基于轴不变量及D-H参数的2R及3R姿态逆解
一方面,对于任一个杆件,D-H参数仅有3个结构参数及1个关节变量;有利于简化姿 态逆运动学的消元过程。另一方面,D-H参数通常是名义的,难以得到准确的工程参数;需要通过固定轴不变量的精确测量,并通过计算获得相应的准确的D-H系及D-H参数。因此,基于轴不变量的2R指向与3R姿态问题可以转化为基于D-H参数的2R指向与3R姿态问题。
给定2R转动链
Figure PCTCN2018112809-appb-002792
由初始单位矢量
Figure PCTCN2018112809-appb-002793
指向期望单位矢量
Figure PCTCN2018112809-appb-002794
求
Figure PCTCN2018112809-appb-002795
及φ l。这是定向逆解(Inverse orientation solution)问题。
若令D-H参数指标遵从子指标,因
Figure PCTCN2018112809-appb-002796
故用D-H参数表示得
Figure PCTCN2018112809-appb-002797
由式(3.138)最后一行得
Figure PCTCN2018112809-appb-002798
故有
Figure PCTCN2018112809-appb-002799
即有
Figure PCTCN2018112809-appb-002800
其中:
Figure PCTCN2018112809-appb-002801
故有
Figure PCTCN2018112809-appb-002802
由式(3.138)第一行得
Figure PCTCN2018112809-appb-002803
故有
Figure PCTCN2018112809-appb-002804
即
Figure PCTCN2018112809-appb-002805
其中:
Figure PCTCN2018112809-appb-002806
因式(3.140)及式(3.144)不一定满足式(3.138)的第2行,由式(3.140)及式(3.144)获得的
Figure PCTCN2018112809-appb-002807
及φ l只是可能解;故需将可能解代入式(3.138)的第2行;若仍成立,才可得到真实解。
给定3R转动链
Figure PCTCN2018112809-appb-002808
及期望姿态
Figure PCTCN2018112809-appb-002809
轴不变量序列
Figure PCTCN2018112809-appb-002810
求关节角序列
Figure PCTCN2018112809-appb-002811
这是3R姿态逆解(Inverse solution of attitude)问题。
解:由式(3.140)及式(3.144)得
Figure PCTCN2018112809-appb-002812
由
Figure PCTCN2018112809-appb-002813
得
Figure PCTCN2018112809-appb-002814
故有
Figure PCTCN2018112809-appb-002815
至此,解决了第2章基于笛卡尔轴链的姿态逆解方法缺乏通用性(Generality)的问题。由式(3.144)及式(3.146)可知可能存在两组解。
基于D-H参数的CE3数传机构指向逆解
请参照图37。图37为月面巡视器2DOF桅杆示意图。如图37所示,CE3巡视器的数传机构转动链为 cl m=(c,d,m],轴不变量序列为[ cn d, dn m]。地面数据接收站单位矢量为 cu S。求其角度序列[φ d,φ m]。
如基于D-H参数的2R定向与3R姿态逆解节中所示,若经过精测获得轴不变量表达的结构参数
Figure PCTCN2018112809-appb-002816
将式(3.147)代入式(3.111)及式(3.112)得桅杆D-H参数,如表3-1所示。
表3-1桅杆D-H参数
Figure PCTCN2018112809-appb-002817
将表中参数分别代入式(3.141)及式(3.145)得
Figure PCTCN2018112809-appb-002818
Figure PCTCN2018112809-appb-002819
Figure PCTCN2018112809-appb-002820
Figure PCTCN2018112809-appb-002821
将式(3.150)代入式(3.142)得
Figure PCTCN2018112809-appb-002822
将式(3.151)代入式(3.142)得
Figure PCTCN2018112809-appb-002823
因需要代入式(3.138)的第2行检验才能得到真实解,故φ l最多存在两组解。
考虑式(3.148)及式(3.149),通过特例验证式(3.152)及式(3.153)的正确性:
Figure PCTCN2018112809-appb-002824
Figure PCTCN2018112809-appb-002825
Figure PCTCN2018112809-appb-002826
Figure PCTCN2018112809-appb-002827
Figure PCTCN2018112809-appb-002828
上式的物理含义间接地表明第一部分原理的正确性。在数值计算时由于存在数字截断误差,可能导致无解;此时,需要将
Figure PCTCN2018112809-appb-002829
加上一个微小增量,重新再计算,以保证解的存在性。
CE3数传机构控制模块包含以下功能:桅杆正逆运动学计算、数传行为控制、任务规划系统内部通信、任务支持系统间通信、3D显示控制、调试接口、输入输出转换等功能。对桅杆进行控制时,首先检查测控可见性、太阳可见性、是否受太阳遮挡等基本约束条件。
基于轴不变量及D-H参数的3R机械臂位置逆解
由于D-H系是理想的坐标系统,需要作相邻两轴的公垂线,且三个坐标轴需两两正交。一方面,理想的正交在工程上不存在;公垂点在机械臂结构表面的可能性几乎为零。因缺乏高精度单位方向及公垂点的视觉特征,导致工程上无法精确确定D-H系及D-H参数。另一方面,传统的3R机械臂位置逆解通常根据理论D-H参数进行计算;或者以理论D-H为基础,应用激光跟踪仪的精测结果,对D-H参数进行优化,由于D-H参数与机械臂末端位置的强非线性,优化的效果十分有限,致使机械臂的绝对定位精度远低于相对定位精度,在精密机械臂应用中,难以实现机械臂的自主控制功能。
在第一部分中,根据精确测量的固定轴不变量可以唯一确定一组D-H系及D-H参数。由于精确测量的固定轴不变量既包含了机械加工误差又包含了装配误差,保障了确定的D-H系及D-H参数的精度,可以大幅度提升机械臂的绝对定位精度。在3R机械臂逆解过程中,尽管直接使用的是D-H参数,但本质上是依赖于固定轴不变量表征的结构参数。虽然文献给出了3R机械臂的逆解结果,但并未公布相应的证明过程,且求解过程不很准确。下面对之补充,以方便读者深入了解该原理及其工程应用。
基于D-H方法的3R机械臂位置逆解(Inverse Position Solution)过程如下:①应用固定 轴不变量的精测原理,完成机械臂结构参数的精确测量;
②应用基于固定轴不变量的D-H系及D-H参数确定原理,自动建立D-H系及D-H参数;
③应用基于D-H参数的3R机械臂位置逆解为基础,计算3R机械臂逆解。
将3R机械臂轴链记为A=(0,1:4],固定于虚轴4的腕心记为C,运动副序列记为
Figure PCTCN2018112809-appb-002830
运动链记为 0′l 4′C=(0′,1′:4′,4′C],D-H系序列记为F=(F [0′],F [1′],F [2′],F [3′]]。记拾取点为C′,腕心期望位置及姿态四元数分别为
Figure PCTCN2018112809-appb-002831
则有
Figure PCTCN2018112809-appb-002832
该机械臂正运动学方程表示为
Figure PCTCN2018112809-appb-002833
故位置方程为
Figure PCTCN2018112809-appb-002834
式(3.156)是““个3元2阶”多项式系统。当给定
Figure PCTCN2018112809-appb-002835
及
Figure PCTCN2018112809-appb-002836
时,由式(3.155)得
Figure PCTCN2018112809-appb-002837
由式(3.157)解得逆解
Figure PCTCN2018112809-appb-002838
从而得 0′Q 3′;进而,由式(3.155)得
Figure PCTCN2018112809-appb-002839
应用第一部分姿态逆原理可解得
Figure PCTCN2018112809-appb-002840
因此,6R解耦机械臂逆解可以分解为3R位置逆解及3R姿态逆解两个子问题。因此,6R解耦机械臂由3R机械臂与3R解耦机构(Decoupled Mechanism)串接构成。从逆运动学角度看,6R解耦机械臂本质上是3R机械臂。
解耦机构的常见构型,RBR型最经典,其后三轴共点;BBR及3R型俗称偏置型,其后三轴的前两轴及后两轴分别共点。结构上的三轴及两轴共点是非常强的约束,需要精密加工及装配得以保证。
对于RBR型,给定拾取点P的期望位置 0′r 7′P及第6轴期望姿态 0′Q 6′,则腕心4′C的期望位置表示为
Figure PCTCN2018112809-appb-002841
对于偏置型,给定P点期望位置 0′r 7′P、第6轴及第7轴的期望双矢量 0′|5′n 6′及 0′|6′n 7′,则腕心4′C的期望位置表示为
Figure PCTCN2018112809-appb-002842
腕心D-H参数及基本关系
若最后一个运动轴为l,将腕关节轴矢量 3′n 4′的腕心记为C。令D-H参数指标遵从子指标, 由第一部分D-H变换可知:
a C=0,          (3.158)
Figure PCTCN2018112809-appb-002843
Figure PCTCN2018112809-appb-002844
Figure PCTCN2018112809-appb-002845
故由式(3.160)得
Figure PCTCN2018112809-appb-002846
由式(3.161)和式(3.162)得
Figure PCTCN2018112809-appb-002847
Figure PCTCN2018112809-appb-002848
基于D-H参数的3R机械臂位置逆解
因第4轴为虚轴,故3′C≡4′C。为简化3R位置逆解计算,令
0′r 1′=0 3, 0′Q 1′=1,        (3.165)
由式(3.165),将式(3.157)表示为
Figure PCTCN2018112809-appb-002849
将式(3.166)称为基于D-H系的3R机械臂的位置方程。应用式(3.160)、式(3.163)及式(3.164),将式(3.166)表示为
Figure PCTCN2018112809-appb-002850
式(3.166)或式(3.167)具有以下3个特点。
特点1:式(3.167)左侧包含φ 2和φ 3,且是[C(φ 1),S(φ 1)] T和[C(φ 3),S(φ 3)] T的多重线性型;因DCM矩阵的欧几里德范数恒为1,即与φ 2无关,故左侧欧几里德范数可以通过φ 3表示。因右式不包含φ 2和φ 3,其欧几里德范数可以由φ 1表示。故欧几里德范数等式表示为如下形式;
AC(φ 1)+BS(φ 1)+CC(φ 3)+DS(φ 3)+E=0。     (3.168)
其中:A,B,C,D,E由运动链的结构参数确定。式(3.166)中右式范数表示为:
Figure PCTCN2018112809-appb-002851
即
Figure PCTCN2018112809-appb-002852
其中:\为续行符。式(3.167)左式范数为
Figure PCTCN2018112809-appb-002853
即
Figure PCTCN2018112809-appb-002854
由式(3.169)和式(3.170)得
Figure PCTCN2018112809-appb-002855
即
Figure PCTCN2018112809-appb-002856
对比式(3.171)和式(3.168),得到衍生结构参数:
Figure PCTCN2018112809-appb-002857
特点2:因式(3.167)的第三行无φ 2,得
Figure PCTCN2018112809-appb-002858
其表示为如下形式:
FC(φ 1)+GS(φ 1)+HC(φ 3)+IS(φ 3)+J=0;     (3.174)
式(3.174)中衍生结构参数为
Figure PCTCN2018112809-appb-002859
特点3:衍生结构参数间的基本关系如下:
Figure PCTCN2018112809-appb-002860
联立式(3.168)和式(3.174)得
Figure PCTCN2018112809-appb-002861
即
Figure PCTCN2018112809-appb-002862
第一步:求第三轴显式解
由式(3.178),得到第三轴的解,即由式(3.176)知
Figure PCTCN2018112809-appb-002863
若Δ 11≠0,即
Figure PCTCN2018112809-appb-002864
(由式(3.176))得
Figure PCTCN2018112809-appb-002865
即
Figure PCTCN2018112809-appb-002866
利用C 2(φ 1)+S 2(φ 1)=1简化式(3.180),得到第三轴等式
Figure PCTCN2018112809-appb-002867
即
Figure PCTCN2018112809-appb-002868
将式(3.181)表示为
KC 2(φ 3)+LS 2(φ 3)+MC(φ 3)·S(φ 3)+NC(φ 3)+PS(φ 3)+Q=0。      (3.182)
式中衍生参数表示为:
Figure PCTCN2018112809-appb-002869
利用式(3.176)简化式(3.183)得
Figure PCTCN2018112809-appb-002870
Figure PCTCN2018112809-appb-002871
Figure PCTCN2018112809-appb-002872
Figure PCTCN2018112809-appb-002873
Figure PCTCN2018112809-appb-002874
Figure PCTCN2018112809-appb-002875
式(3.183)即为
Figure PCTCN2018112809-appb-002876
下面对式(3.182)进行求解。首先,将式(3.182)表示为
Figure PCTCN2018112809-appb-002877
即
Figure PCTCN2018112809-appb-002878
将式(3.186)表示为
Figure PCTCN2018112809-appb-002879
其中,衍生参数为:
Figure PCTCN2018112809-appb-002880
Figure PCTCN2018112809-appb-002881
Figure PCTCN2018112809-appb-002882
Figure PCTCN2018112809-appb-002883
Figure PCTCN2018112809-appb-002884
即
Figure PCTCN2018112809-appb-002885
式(3.187)为以τ 3为项的四阶方程,其求解方法参见第0节,最多有4个解。
第一奇异
若Δ 11=0,即
Figure PCTCN2018112809-appb-002886
则需考虑三种情况,将它们称作第一奇异。若
Figure PCTCN2018112809-appb-002887
表明腕心在第一轴上,τ 1任意;与上一节的第一奇异情况相同。
【1】若a 1=0,μ 1≠0或
Figure PCTCN2018112809-appb-002888
由式(3.172),A=B=0,式(3.168)表示为
CC(φ 3)+DS(φ 3)+E=0。       (3.189)
若C≠0,即式(3.189)可表示为
Figure PCTCN2018112809-appb-002889
得到
Figure PCTCN2018112809-appb-002890
Figure PCTCN2018112809-appb-002891
若C=0,D≠0,利用式(3.189)得
Figure PCTCN2018112809-appb-002892
若C≠0,D=0则
φ 3=±acos(E/C)。        (3.193)
【2】a 1≠0,μ 1=0,由式(3.175),F=G=0,式(3.174)表示为
HC(φ 3)+IS(φ 3)+J=0。        (3.194)
若H≠0,则式(3.194)表示为
Figure PCTCN2018112809-appb-002893
可得
Figure PCTCN2018112809-appb-002894
Figure PCTCN2018112809-appb-002895
若H=0,I≠0,则
Figure PCTCN2018112809-appb-002896
【3】若a 1=0且μ 1=0,表明机械臂的第一轴与第二轴同轴;因无法计算φ 3,故无法确定φ 1。该结构设计存在问题。
第二步:求第一轴显式解
由式(3.168)及式(3.174)得
Figure PCTCN2018112809-appb-002897
【1】若Δ 11=AG-BF≠0,解式(3.198)得
Figure PCTCN2018112809-appb-002898
因φ 3最多有4个解,由式(3.199)得[C(φ 1),S(φ 1)]有对应4组解;又φ 1=atan(S(φ 1),C(φ 1)),故φ 1最多有4个解。
【2】若Δ 11=CI-DH=0,则将C(φ 3)和S(φ 3)分别代入式(3.168)式(3.174)求解。以代入式(3.174)为例,得
y Cμ 1C(φ 1)-x Cμ 1S(φ 1)+μ 2Z+W=0,      (3.200)
其中:
Figure PCTCN2018112809-appb-002899
Figure PCTCN2018112809-appb-002900
由式(3.202)及式(3.200)得
Figure PCTCN2018112809-appb-002901
①若
Figure PCTCN2018112809-appb-002902
则
Figure PCTCN2018112809-appb-002903
将式(3.204)两组解代入式(3.168)检验,一定仅有一组解满足式(3.168)。
②若W+μ 2·Z-y C·μ 1=0且x C·μ 1≠0,则式(3.203)退化为一次式,即有-2x Cμ 1τ 1+(W+μ 2Z+y Cμ 1)=0;解得
Figure PCTCN2018112809-appb-002904
③若W+μ 2·Z-y C·μ 1=0,x C·μ 1=0且W+μ 2Z+y Cμ 1=0,故有
φ 1=(-π,π]。        (3.205)
将以上三组解合写为
Figure PCTCN2018112809-appb-002905
Figure PCTCN2018112809-appb-002906
第三步:求第二轴显式解
令
Figure PCTCN2018112809-appb-002907
利用式(3.167)的前两个方程组得
Figure PCTCN2018112809-appb-002908
令
Figure PCTCN2018112809-appb-002909
若Δ 22≠0,则
Figure PCTCN2018112809-appb-002910
即有
φ 2=atan(S(φ 2),C(φ 2))。       (3.212)
因φ 1及φ 3最多有4组解,且φ 2由φ 2及φ 3唯一确定,故φ 2至多有4个非奇异解。由式(3.187)、式(3.199)及式(3.212)可知:已获得[φ 1,φ 2,φ 3]的4组非奇异解。
显然,τ 2还存在其它求解方法。例如,当φ 1及φ 3求解后,将式(3.167)中第1式或第2式分别转化为τ 2的二次式,分别求解可得2组不同的局部可行非奇异解;故[φ 1,φ 2,φ 3]存在16组局部非奇异可行解;但它们需要同时满足式(3.167)三个等式,由式(3.209)获得的4组解是16个局部可行解中同时满足第1式及第2式的非奇异解。故有3R位置逆解结论:3R机械臂位置逆存在16个局部可行非奇异解及4组非奇异解。
第二奇异
若Δ 22=0,即A 11=0且A 12=0;将该情形称为第二奇异。若λ 2≠0,由式(3.208)得
Figure PCTCN2018112809-appb-002911
【1】若
Figure PCTCN2018112809-appb-002912
即
a 3=c C·μ 3=0。       (3.215)
此时φ 3解存在,由式(3.158),a C=0,a 3=μ 3=0且c C=0,即腕心在第三轴上。该情况下,第三轴的旋转无法控制机械臂腕心位置,表示该结构设计错误。
【2】若λ 2=0,由式(3.208),得A 12=0,则式(3.209)表示为
Figure PCTCN2018112809-appb-002913
得
Figure PCTCN2018112809-appb-002914
基于D-H参数的3R机械臂工作空间
3R机械臂工作空间Ω是指机械臂腕心位置[x C,y C,z C]构成的空间,因角序列[φ 1,φ 2,φ 3]及运动学方程连续,故Ω的最大包络Env连续且满足:
Figure PCTCN2018112809-appb-002915
式(3.218)表示Env上的点[x C,y C,z C]与任一点[x,y,z]的直线距离要么极大要么极小,即Env是Ω的凸包(Convex Hull)。显然,通过凸包Env比工作空间Ω的数据量要少得多。下面,讨论角序列[φ 1,φ 2,φ 3]范围不受限时的凸包计算问题。
由式(3.171)得
Figure PCTCN2018112809-appb-002916
由式(3.219)得
Figure PCTCN2018112809-appb-002917
由式(3.220)可知:当给定φ 1时,左式存在关于τ 3的极大与极小值。由式(3.218)及式(3.220)得
Figure PCTCN2018112809-appb-002918
若令
Figure PCTCN2018112809-appb-002919
则有
Figure PCTCN2018112809-appb-002920
欲使τ 3存在,则val必须满足
4·val·(val-a 2a 3+c 2c Cμ 2μ 3)-(a 2c Cμ 3+c 2a 3μ 2) 2≤0。      (3.224)
由式(3.223)及式(3.224)得
Figure PCTCN2018112809-appb-002921
其中:
Figure PCTCN2018112809-appb-002922
由式(3.221)及式(3.222)得
Figure PCTCN2018112809-appb-002923
因此,由式(3.225)可得式(3.226)的极大与极小值;过[a 1C(φ 1),a 1S(φ 1),c 1]的凸包截面为同心球环;[a 1C(φ 1),a 1S(φ 1),c 1]自身是个圆环;故式(3.226)所示的凸包是同心球环。
基于D-H参数的CE3机械臂位置逆解示例
CE3机械臂由底座(base)、肩(should)、臂(arm)、腕(wrist)及X光谱仪组成。记该机械臂轴链为A=(b,s,a,w,C]。请参照图38,图38为CE3巡视器机械臂D-H系图。图38包含第一根轴s/1、第二根轴a/2、第三根轴w/3、虚轴C/4。
CE3月面巡视器机械臂名义D-H参数如表3-2所示。
在D-H参数中,结构参数a l、c l及
Figure PCTCN2018112809-appb-002924
与零位时的自然关节坐标
Figure PCTCN2018112809-appb-002925
相对应。自然关节坐标
Figure PCTCN2018112809-appb-002926
即为关节坐标θ l;故有
Figure PCTCN2018112809-appb-002927
从而应用第一部分基于轴不变量的D-H参数确定方法获得工程D-H参数,如表3-3所示。
该机械臂腕心C为X光谱仪中心轴与其探测面交点。应用第二部分基于轴不变量的结构参数测量方法,通过激光跟踪仪测量得到轴不变量序列
Figure PCTCN2018112809-appb-002928
其中:
cn 1=[0.01898,0.01548,0.99970] T, 1n 2=[0.99983,0.00998,0.01550] T,
2n 3=[0.99991,0.00988,0.00908] T, 3n C=[0.01484,-0.99980,0.01341] T,
cr 1=[0.5330,0.0386,-0.1461] Tm, 1r 2=[0.4227,0.0013,-0.2241] Tm,
2r 3=[0.0001,0.3119,-0.0004] Tm,
Figure PCTCN2018112809-appb-002929
表3-2 CE3机械臂名义D-H参数
Figure PCTCN2018112809-appb-002930
表3-3基于轴不变量的工程D-H参数
Figure PCTCN2018112809-appb-002931
机械臂正逆运动学计算结果如表3-4所示,正逆互验精度为千分之一度,即3.6";因此,运动学计算误差可以忽略不计。CE3巡视器机械臂由地面遥操作控制,由于被探测地面及岩石的非结构化,需要保证机械臂的重复定位精度达0.2mm与绝对定位精度达0.3mm。被探测地面及岩石的3D场景由巡视器避障双目立体视觉获得,场景的图像传输至控制中心进行三维重构,重构精度约为2mm。X光谱仪敏感面与被探测对象平均距离为7mm。故被测对象与X光谱仪探测面最小距度为3.5mm,在环境重构误差及机械臂绝对定位误差内,能够保证X光谱仪有效探测。
表3-4 CE3机械臂正逆运动学互验
Figure PCTCN2018112809-appb-002932
Figure PCTCN2018112809-appb-002933
经系统测试,机械臂重复定位精度为0.2mm;应用名义D-H参数计算的定位精度为0.86mm;应用工程D-H参数的定位精度提高至0.25mm。测试表明:基于轴不变量的工程D-H参数可以较大幅度地提高机械臂的绝对定位精度,有助于机械臂自主能力的提高。根据环境重构的地形及巡视器各部件的三角面,应用AABB碰撞检测技术,实现CE3机械臂碰撞检测功能。为了指导操作人员确定可行的探测区域,需要绘制机械臂工作空间与探测空间。工作空间是指机械臂拾取点可以接触位置的集合,探测空间是工作空间与地形表面的交集。
机械臂携带X光谱仪进行探测,还需要满足其它条件:比如,光照是否适宜、探测区域是否平整等。当操作人员在探测空间内点击鼠标时,系统会自动评估该区域是否可以探测并提示该局部区域的相关信息。操作人员选择期望的探测区域后,执行机械臂的运动规划模块, 规划机械臂展开的运动序列。
基于轴不变量的通用机械臂逆运动学
自主机器人研究的一个重要方面是需要解决变拓扑结构机器人的运动学建模问题。在MAS中,具有动态的图结构(Dynamic Graph Structure),可以动态地建立基于运动轴的有向Span树,为研究可变拓扑结构(Variable Topology Structure)的机器人建模与控制奠定了基础。为此,需要提出基于轴不变量的通用机械臂逆解原理,既要建立包含坐标系、极性、结构参数、关节变量的完全参数化的正运动学模型,又要实时地计算位姿方程;一方面,可以提高机器人的自主性,另一方面,可以提高机器人位姿控制的绝对精度。
6R解耦机械臂在结构上存在共点约束:要么4至6轴共点,要么4轴与5轴共点且5轴与6轴共点。对于高精度的机械臂而言,由于存在机加工及装配误差,该假设不成立。由于通用6R机械臂不存在共点约束,其逆解计算十分困难,在工程上不得不屈从于解耦约束,该约束既增加了机械臂加工及装配难度,又降低了机械臂绝对定位精度。只有突破通用6R机械臂的逆解原理,才能满足机械臂进行精密作业的需求,自主机器人理论才能得到完善。
对于6R通用机械臂,需要解决分析逆解(Analytical Inverse Solution)的可操作性(Operability)问题:一方面,通过固定轴不变量表征工程结构参数,保证多轴系统的绝对定位精度;另一方面,需要解决运动方程的降维问题及应用变量消元法(Variable Elimination Method)进行逆解的可计算性(Computability)问题。
自然空间的平动轴及转动轴数各有3个,其中平动轴可以由转动轴替代。记6R运动链中的平动轴及转动轴分别为
Figure PCTCN2018112809-appb-002934
显然,
Figure PCTCN2018112809-appb-002935
可以将该运动链划分为三大类别:纯平动类(3种)、纯转动类(6种)以及既有转动又有平动的复合类(12种),合计21种。其中,3种纯平动链是平凡运动学问题,不需讨论。因此,非平凡轴链运动学逆解(IK Solutions of Nontrivial AC)的存在条件(Existence Conditions)为:
Figure PCTCN2018112809-appb-002936
当| il n|=6时,则要求
Figure PCTCN2018112809-appb-002937
即至少需要3个转动副才能满足位姿对齐需求。
人工推导6R运动链的运动学方程非常繁琐且易出错,难以保证建模的可靠性;一方面,需要建立迭代式的方程,以满足计算机自动建立多轴系统符号模型(Symbolic Models)的需求;另一方面,需要应用更少轴数的运动链进行等价。运动学方程存在很多等价的形式,只 有特定结构的运动学方程才具有逆解的可行性,既要求正运动学方程具有阶次最小、方程数最少及独立变量数最少;又要求逆解过程不存在数值计算导致的奇异性。
因自然空间的位姿有6个维度,故要建立仅含6个关节变量的6个位姿方程。显然,基于欧拉四元数或对偶四元数的位姿方程不满足方程数最小的要求;尽管式(3.1)及式(3.2)是2阶多项式系统,但是方程仅有6个。包含平动及转动的运动矢量本质上是自然螺旋,机械臂的最后一轴总要与期望方向对齐,才能执行所需的操作;在前5轴控制第6轴与期望的位置及指向的对齐之后,再控制第6轴满足径向对齐;因此,对于通用6R机械臂,只需要建立包含前5个关节变量的位姿方程。
考虑运动链 il n,式(3.1)及式(3.2)是关于Cayley参数或Gibbs矢量的方程。为此,提出“居-吉布斯”(Gibbs)姿态四元数,目的是:通过前5轴完成对齐,以消去第4轴及第5轴的关节变量,为后续的逆解奠定基础。
“居-吉布斯”四元数与类DCM矩阵
考虑运动链 il n,一方面,式(3.2)定位方程是Gibbs矢量方程;另一方面,正余弦的三角函数可以转化为相应Gibbs参量的方程。为此,提出“居-吉布斯”(Gibbs)姿态四元数;从而,将位姿逆运动学问题转化为Gibbs参量的多项式方程求解的问题。
【1】“居-吉布斯”四元数
首先,定义与欧拉四元数同构的“居-吉布斯”规范四元数
Figure PCTCN2018112809-appb-002938
其中:
Figure PCTCN2018112809-appb-002939
为Gibbs矢量。由式(2.115)得Gibbs共轭四元数
Figure PCTCN2018112809-appb-002940
其中:
Figure PCTCN2018112809-appb-002941
显然,
Figure PCTCN2018112809-appb-002942
为
Figure PCTCN2018112809-appb-002943
模的平方。由式(2.124)得Ju-Gibbs四元数的积仍为Ju-Gibbs四元数。因为Ju-Gibbs四元数是四元数,满足四元数乘法运算
Figure PCTCN2018112809-appb-002944
其中:
Figure PCTCN2018112809-appb-002945
由式(3.233)得
Figure PCTCN2018112809-appb-002946
习惯上,单关节及运动链的期望姿态以规范的即标部为1的Ju-Gibbs四元数表示,由它们积运算表达的Ju-Gibbs四元数通常是不规范的,即其标部不是规一化的。由式(3.234)可知:给定仅当轴l及
Figure PCTCN2018112809-appb-002947
的规范Ju-Gibbs四元数,且两轴正交时,
Figure PCTCN2018112809-appb-002948
为Ju-Gibbs规范四元数。
由式(3.234)得
Figure PCTCN2018112809-appb-002949
证明:由式(3.234)得
Figure PCTCN2018112809-appb-002950
或由四维复数性质得
Figure PCTCN2018112809-appb-002951
证毕。
记
Figure PCTCN2018112809-appb-002952
为单位Ju-Gibbs四元数,由式(3.233)得
Figure PCTCN2018112809-appb-002953
故
Figure PCTCN2018112809-appb-002954
为单位Ju-Gibbs四元数。
由式(3.229)、式(3.230)及式(3.236)得
Figure PCTCN2018112809-appb-002955
证明:由式(3.234)得
Figure PCTCN2018112809-appb-002956
故式(3.238)成立。证毕。
由式(3.231)、式(3.238)及式(3.235)得
Figure PCTCN2018112809-appb-002957
【2】类DCM及性质
由式(3.1)得
Figure PCTCN2018112809-appb-002958
Figure PCTCN2018112809-appb-002959
其中:
Figure PCTCN2018112809-appb-002960
由式(3.241)可知: iQ n及
Figure PCTCN2018112809-appb-002961
是关于τ k的n重2阶多项式。显然,
Figure PCTCN2018112809-appb-002962
为
Figure PCTCN2018112809-appb-002963
模的平方,由式(3.240)可知:
Figure PCTCN2018112809-appb-002964
与
Figure PCTCN2018112809-appb-002965
类似,故称之为Gibbs类DCM(quasi-DCM)。由式(3.242)得
Figure PCTCN2018112809-appb-002966
显然,类DCM可以通过Ju-Gibbs四元数表达。故式(3.1)姿态方程及式(3.2)位置方程本质上是关于Ju-Gibbs四元数的表达式。根据
Figure PCTCN2018112809-appb-002967
的二阶幂零特性,易得
Figure PCTCN2018112809-appb-002968
由式(3.244)得:
Figure PCTCN2018112809-appb-002969
【3】分块方阵的逆
若给定可逆方阵K、B及C,且
Figure PCTCN2018112809-appb-002970
则有
Figure PCTCN2018112809-appb-002971
证明:记
Figure PCTCN2018112809-appb-002972
则有
Figure PCTCN2018112809-appb-002973
故有
Figure PCTCN2018112809-appb-002974
将式
Figure PCTCN2018112809-appb-002975
代入式
Figure PCTCN2018112809-appb-002976
得
Figure PCTCN2018112809-appb-002977
故得
Figure PCTCN2018112809-appb-002978
将之代入式
Figure PCTCN2018112809-appb-002979
得
Figure PCTCN2018112809-appb-002980
将式
Figure PCTCN2018112809-appb-002981
代入式
Figure PCTCN2018112809-appb-002982
得
Figure PCTCN2018112809-appb-002983
将之代入式
Figure PCTCN2018112809-appb-002984
得
Figure PCTCN2018112809-appb-002985
证毕。
基于轴不变量的6R解耦机械臂指向逆解原理
6R解耦机械臂由3R机械臂及3R解耦机构组成。6R解耦机构姿态逆解是指:给定6R串接运动链结构参数、期望姿态及前3个关节的姿态,计算第4轴及第5轴的关节变量,先对齐第5轴的指向,后对齐第6轴的径向,即实现姿态对齐。
下面,证明指向对齐时的Ju-Gibbs四元数的存在性。称定理3.3为Ju-Gibbs四元数指向对齐定理。
【1】基于Ju-Gibbs四元数的指向对齐原理
定理3.3考虑轴链 il l,
Figure PCTCN2018112809-appb-002986
若使单位轴矢量
Figure PCTCN2018112809-appb-002987
与期望单位轴矢量
Figure PCTCN2018112809-appb-002988
对齐,则至少存在一个多轴旋转的Ju-Gibbs四元数
Figure PCTCN2018112809-appb-002989
其中
Figure PCTCN2018112809-appb-002990
Figure PCTCN2018112809-appb-002991
Figure PCTCN2018112809-appb-002992
证明:由式(3.71),得
Figure PCTCN2018112809-appb-002993
由式(3.251)得
Figure PCTCN2018112809-appb-002994
且
Figure PCTCN2018112809-appb-002995
因轴矢量
Figure PCTCN2018112809-appb-002996
与期望矢量
Figure PCTCN2018112809-appb-002997
是单位矢量,假定
Figure PCTCN2018112809-appb-002998
且
Figure PCTCN2018112809-appb-002999
得
Figure PCTCN2018112809-appb-003000
式表明
Figure PCTCN2018112809-appb-003001
和
Figure PCTCN2018112809-appb-003002
相互正交。由式(3.253)和得到最佳的轴矢量
Figure PCTCN2018112809-appb-003003
且
Figure PCTCN2018112809-appb-003004
由式(3.255)和(3.256)得,若
Figure PCTCN2018112809-appb-003005
或
Figure PCTCN2018112809-appb-003006
由式(3.251)得
Figure PCTCN2018112809-appb-003007
由式得
Figure PCTCN2018112809-appb-003008
因
Figure PCTCN2018112809-appb-003009
由式(3.258)得
Figure PCTCN2018112809-appb-003010
且
Figure PCTCN2018112809-appb-003011
由式(3.259)及式(3.260)分别得式(3.249)及式(3.250)。证毕。
定理3.3表明:至少存在一个期望的Ju-Gibbs四元数
Figure PCTCN2018112809-appb-003012
使单位矢量
Figure PCTCN2018112809-appb-003013
与期望单位矢量
Figure PCTCN2018112809-appb-003014
对齐。
示例3.15考虑轴链 il 6,由定理3.3得
Figure PCTCN2018112809-appb-003015
Figure PCTCN2018112809-appb-003016
Figure PCTCN2018112809-appb-003017
Figure PCTCN2018112809-appb-003018
Figure PCTCN2018112809-appb-003019
【2】基于Ju-Gibbs四元数的2R机械人腕关节指向逆解原理
以Ju-Gibbs四元数指向对齐为基础,阐述6R解耦机械臂指向逆解定理,再予以证明。
定理3.4若给定6R转动链 il 6=(i,1:6],记第5轴关节Ju-Gibbs四元数期望为
Figure PCTCN2018112809-appb-003020
及第3轴关节Ju-Gibbs规范四元数为
Figure PCTCN2018112809-appb-003021
则有指向对齐时的逆解
Figure PCTCN2018112809-appb-003022
Figure PCTCN2018112809-appb-003023
其中:
Figure PCTCN2018112809-appb-003024
Figure PCTCN2018112809-appb-003025
Ju-Gibbs方向四元数
Figure PCTCN2018112809-appb-003026
满足
Figure PCTCN2018112809-appb-003027
证明:首先考虑基于欧拉四元数的姿态对齐,由式(2.145)得
Figure PCTCN2018112809-appb-003028
由式(3.266)得
Figure PCTCN2018112809-appb-003029
其中:
Figure PCTCN2018112809-appb-003030
由式(3.246)及式(3.268)得
Figure PCTCN2018112809-appb-003031
由式(3.267)得
Figure PCTCN2018112809-appb-003032
其中:
Figure PCTCN2018112809-appb-003033
由式(3.269)及式(3.270)得
Figure PCTCN2018112809-appb-003034
由式(3.272)得
Figure PCTCN2018112809-appb-003035
若
Figure PCTCN2018112809-appb-003036
式(3.272)与式(3.273)两边对应相除得
Figure PCTCN2018112809-appb-003037
其次,考虑Ju-Gibbs四元数的指向对齐。因
Figure PCTCN2018112809-appb-003038
故得。由式(3.239)得
Figure PCTCN2018112809-appb-003039
以规范Ju-Gibbs四元数表征关节变量,由式(3.234)得
Figure PCTCN2018112809-appb-003040
由式(3.276)得
Figure PCTCN2018112809-appb-003041
因 3n 4及 4n 5独立,由式(3.264)可知, 3E 5必存在。显然,
Figure PCTCN2018112809-appb-003042
由 3n 4及 4n 5唯一确定。将式(3.276)、式(3.277)及式(3.269)代入式(3.275)得
Figure PCTCN2018112809-appb-003043
若
Figure PCTCN2018112809-appb-003044
由式(3.278)第1行得
Figure PCTCN2018112809-appb-003045
将式(3.279)代入式(3.278)得
Figure PCTCN2018112809-appb-003046
由式(3.274)及式(3.280)可知两种原理等价。由式(3.280)第2、3行得
Figure PCTCN2018112809-appb-003047
由式(3.274)可知式(3.261)成立。因式(3.280)存在4个等式,2个独立变量,由式(3.281)及式(3.280)中第4行得约束方程
Figure PCTCN2018112809-appb-003048
若
Figure PCTCN2018112809-appb-003049
由式(3.273)得C 4C 5=0;由式(3.267)得
Figure PCTCN2018112809-appb-003050
由式(3.283)得
Figure PCTCN2018112809-appb-003051
显然,
Figure PCTCN2018112809-appb-003052
当
Figure PCTCN2018112809-appb-003053
时,若
Figure PCTCN2018112809-appb-003054
由式(3.282)得
Figure PCTCN2018112809-appb-003055
若
Figure PCTCN2018112809-appb-003056
由式(3.282)得
Figure PCTCN2018112809-appb-003057
由式(3.286)及式(3.281)可知,式(3.262)成立。
当
Figure PCTCN2018112809-appb-003058
时,若
Figure PCTCN2018112809-appb-003059
则式(3.261)亦成立。
为了保证指向对齐,当
Figure PCTCN2018112809-appb-003060
时, 3n 4或 4n 5的方向需要和
Figure PCTCN2018112809-appb-003061
保持一致。显然,
Figure PCTCN2018112809-appb-003062
当
Figure PCTCN2018112809-appb-003063
且
Figure PCTCN2018112809-appb-003064
由式(3.285)得
Figure PCTCN2018112809-appb-003065
因此,式(3.262)成立。
Ju-Gibbs方向四元数
由式(3.261),(3.262)和(3.279)得
Figure PCTCN2018112809-appb-003066
且
Figure PCTCN2018112809-appb-003067
把
Figure PCTCN2018112809-appb-003068
代入以上两个方程中得到式(3.265),它显示的是特定的Ju-Gibbs四元数,称为Ju-Gibbs方向四元数。
示例3.16继示例3.15,考虑轴链 il 6,且有 3n 4=1 [x], 4n 5=1 [y],由式得 3E 5=1。由式(3.262)得
Figure PCTCN2018112809-appb-003069
Figure PCTCN2018112809-appb-003070
Figure PCTCN2018112809-appb-003071
Figure PCTCN2018112809-appb-003072
Figure PCTCN2018112809-appb-003073
定理3.3表明DCM至少存在一个与之等价的Ju-Gibbs四元数;定理3.4证明过程表明Ju-Gibbs四元数与欧拉四元数同构;同时,式(3.243)表明以Ju-Gibbs四元数表示的类DCM与DCM同构。因此,应用Ju-Gibbs四元数可以完整表达位姿关系。
若给定运动链 il n,k∈ il n,期望规范Ju-Gibbs四元数
Figure PCTCN2018112809-appb-003074
及期望位置矢量
Figure PCTCN2018112809-appb-003075
考虑式(3.2)及式;则位置及指向对齐关系表示为
Figure PCTCN2018112809-appb-003076
且具有模不变性
Figure PCTCN2018112809-appb-003077
与欧拉四元数及对偶四元数相比,Ju-Gibbs四元数表征的位姿对齐不存在冗余方程;通过指向对齐,可以求解第4轴及第5轴的关节变量,为6R及7R机械臂逆解奠定了基础。
基于轴不变量的运动链Dixon行列式
本节基于轴不变量提出径向不变量及运动链Dixon行列式性质,为基于轴不变量的机器人逆运动学分析与解算奠定基础。
【1】轴不变量
首先,轴不变量与坐标轴具有本质区别:坐标轴是具有零位及单位刻度的参考方向,可以描述沿该方向平动的位置,但不能完整描述绕该方向的转动角度,因为坐标轴自身不具有径向参考方向,即不存在表征转动的零位。在实际应用时,需要补充该轴的径向参考。坐标轴自身是1D的,3个正交的1D参考轴构成3D的笛卡尔标架;轴不变量是3D的空间单位参考轴,具有径向参考轴,即参考零位。空间坐标轴及其径向参考轴确定相应的笛卡尔系。空 间坐标轴可以反映运动轴及测量轴的三个基本参考属性。
其次,轴不变量与欧拉轴具有本质区别:旋转变换阵是实矩阵,轴矢量是特征值1对应的特征矢量,是不变量;轴不变量是3D参考轴,不仅具有轴向参考方向,也具有径向参考方向即零位;在自然坐标系下,轴不变量不依赖地相邻固结的自然坐标,即在相邻固结的自然坐标下具有不变的自然坐标,且有非常优良的数学操作性能;在自然坐标系统中,通过轴矢量及关节坐标,可以直接描述旋转坐标阵;没有必要为每一个杆件建立各自的体系,可以极大地简化建模的工作量。
同时,以唯一需要定义的根坐标系为参考,测量轴不变量,可以提高结构参数的测量精度。基于轴矢量的优良操作,可以建立包含拓扑结构、坐标系、极性、结构参量及动力学参量的统一的多轴系统运动学及动力学方程。
由式(3.1)及式(3.2)可知:多轴系统的姿态及位置方程本质上是多元多项式方程,其逆解本质上归结于多元多项式消元问题,包含Dixon矩阵及Dixon行列式计算两个子问题。由式(3.2)表征3R机械臂位置方程,是“3个3元2阶”多项式。应用Dixon消元方法计算逆解,有两个替换变量;在计算8×8的Dixon行列式时,最大可能的阶次为16。由式(3.39)可知:行列式计算是一个排列过程,面临着“组合爆炸”的难题。
多元多项式消元过程通常被认为是NP问题。所有的非确定性多项式时间可解的判定问题构成NP类问题。非确定性算法将问题分解成猜测和验证两个阶段:算法的猜测阶段具有非确定性,算法的验证阶段具有确定性,通过验证确定猜测解是否正确。假如可以在多项式时间内计算出来,就称为多项式非确定性问题。通常应用
Figure PCTCN2018112809-appb-003078
基进行多元多项式消元,不得不求助于启发式的猜测和验证来解决问题。
由式(3.293)及式(3.294)可知,任意三个结构参数矢量对同一个轴的零位不变量或径向不变量的行列式为零;任意两个参数矢量对同一个轴的轴向不变量的行列式为零故零位。由轴不变量导出的不变量可以简化Dixon矩阵行列式计算。在应用Dixon消元时,Mathematica及Maple等软件不知道如何应用D-H运动链的域知识处理严重的组合爆炸问题。
【2】径向不变量
结构参数
Figure PCTCN2018112809-appb-003079
及
Figure PCTCN2018112809-appb-003080
是链节l的结构参量,它们在系统零位时可以测量得到。在第二部分阐述了依赖于轴不变量的零位矢量、径向矢量及轴向矢量,请参照图39,图39为轴不变量的导出不变量图,如图39所示,它们是与转动角无关的不变量。其中,零位矢量3901是特定的径向矢量3902。
任一个矢量可以分解为零位矢量3901及轴向矢量3903,故有
Figure PCTCN2018112809-appb-003081
其中:
Figure PCTCN2018112809-appb-003082
Figure PCTCN2018112809-appb-003083
考虑链节
Figure PCTCN2018112809-appb-003084
其D-H参数有
Figure PCTCN2018112809-appb-003085
显然,
Figure PCTCN2018112809-appb-003086
是轴l及
Figure PCTCN2018112809-appb-003087
的公垂线或公共径向矢量,
Figure PCTCN2018112809-appb-003088
是轴l的轴向矢量。由式(3.289)可知:任一个结构参数矢量
Figure PCTCN2018112809-appb-003089
可分解为与坐标系为无关的零位不变量
Figure PCTCN2018112809-appb-003090
及轴向不变量
Figure PCTCN2018112809-appb-003091
记任一结构参数矢量
Figure PCTCN2018112809-appb-003092
由轴不变量
Figure PCTCN2018112809-appb-003093
导出的径向矢量为
Figure PCTCN2018112809-appb-003094
结构参数矢量
Figure PCTCN2018112809-appb-003095
及轴不变量
Figure PCTCN2018112809-appb-003096
唯一确定径向坐标系,具有2个独立维度。若由轴不变量
Figure PCTCN2018112809-appb-003097
导出的两个轴向不变量
Figure PCTCN2018112809-appb-003098
及
Figure PCTCN2018112809-appb-003099
共线,则记为
Figure PCTCN2018112809-appb-003100
若由
Figure PCTCN2018112809-appb-003101
导出的两个零位不变量
Figure PCTCN2018112809-appb-003102
及
Figure PCTCN2018112809-appb-003103
与任两个径向不变量
Figure PCTCN2018112809-appb-003104
及
Figure PCTCN2018112809-appb-003105
共面,则记为
Figure PCTCN2018112809-appb-003106
因此,称式(3.290)所示的轴向不变量及零位不变量是结构参数矢量对自然轴的分解。
由轴不变量导出的零位矢量、径向矢量及轴向矢量具有以下关系:
Figure PCTCN2018112809-appb-003107
Figure PCTCN2018112809-appb-003108
Figure PCTCN2018112809-appb-003109
证明:由式(3.290)得
Figure PCTCN2018112809-appb-003110
式(3.295)得证。由式(3.290)得
Figure PCTCN2018112809-appb-003111
式(3.296)得证。由式(3.290)得
Figure PCTCN2018112809-appb-003112
式(3.297)得证。
称式(3.295)为零位矢量的反转公式;称式(3.296)为零位矢量与径向矢量的互换公式;称式(3.297)为径向矢量不变性公式。由式(3.289)、式(3.295)至式(3.297)得
Figure PCTCN2018112809-appb-003113
Figure PCTCN2018112809-appb-003114
由式(3.298)得
Figure PCTCN2018112809-appb-003115
因
Figure PCTCN2018112809-appb-003116
是
Figure PCTCN2018112809-appb-003117
对称部分的结构常数,故称式(3.298)为矢量
Figure PCTCN2018112809-appb-003118
的对称分解。因
Figure PCTCN2018112809-appb-003119
是
Figure PCTCN2018112809-appb-003120
反对称部分的结构常数,故称式(3.299)为矢量
Figure PCTCN2018112809-appb-003121
的反对称分解。称式(3.300)为归零等式。
【3】运动链Dixon行列式性质
定义
Figure PCTCN2018112809-appb-003122
由式(3.233)得
Figure PCTCN2018112809-appb-003123
其中:
Figure PCTCN2018112809-appb-003124
考虑式(3.302),若M为4·4的矩阵,则有
Figure PCTCN2018112809-appb-003125
Figure PCTCN2018112809-appb-003126
Figure PCTCN2018112809-appb-003127
且有
Figure PCTCN2018112809-appb-003128
由式(3.242)及式(3.290)得
Figure PCTCN2018112809-appb-003129
由式(3.306)易证得
Figure PCTCN2018112809-appb-003130
由式(3.307)得
Figure PCTCN2018112809-appb-003131
式(3.307)可以将
Figure PCTCN2018112809-appb-003132
及
Figure PCTCN2018112809-appb-003133
可以转化为关于
Figure PCTCN2018112809-appb-003134
的多重线性型。同时,
Figure PCTCN2018112809-appb-003135
对y l及τ l具有对称(轮换)性。由式(3.291)、式(3.298)及式(3.299)得
Figure PCTCN2018112809-appb-003136
式(3.309)由三个导出的独立结构参量
Figure PCTCN2018112809-appb-003137
及一个运动变量τ l构成。由式(3.309)得
Figure PCTCN2018112809-appb-003138
Figure PCTCN2018112809-appb-003139
由式(3.307)及式(3.311)得
Figure PCTCN2018112809-appb-003140
由式(3.307)及式(3.312)得
Figure PCTCN2018112809-appb-003141
显然,直接计算
Figure PCTCN2018112809-appb-003142
比应用式(3.313)计算要复杂得多。因行列式三列不同时存在
Figure PCTCN2018112809-appb-003143
故式(3.313)中y 2的阶次为3,τ 2及τ 3的阶次为3,y 3的阶次为1。
【4】基于类DCM的2R方向逆解
对于2R轴链实现方向对齐,因Ju-Gibbs方向四元数不能全部表示,故定理3.4不能获得2R方向对齐时的全部逆解,需要借助于类DCM才能解决这一问题,其表述为定理3.5。
定理3.5给定6R轴链 il 6=(i,1:6],轴矢量 3n 4及 4n 5,期望第5轴的DCM为
Figure PCTCN2018112809-appb-003144
期望第3轴的DCM为
Figure PCTCN2018112809-appb-003145
方向矢量 5l 6与期望方向
Figure PCTCN2018112809-appb-003146
对齐的逆解需要满足以下方程:
Figure PCTCN2018112809-appb-003147
证明:方向矢量 5l 6与期望方向
Figure PCTCN2018112809-appb-003148
对齐需满足
Figure PCTCN2018112809-appb-003149
由式(3.240)得
Figure PCTCN2018112809-appb-003150
即
Figure PCTCN2018112809-appb-003151
式(3.317)被重新表达为式(3.314)。
基于轴不变量的3R机械臂位置逆解原理与推广
3R机械臂位置逆解是指:给定3R串接机械臂结构参数及期望位置时,计算3个关节角,使串链位置与期望位置对齐的过程。第一部分阐述了基于D-H参数的3R机械臂位置逆解问题,但存在如下缺点:建立D-H系及D-H参数的过程不自然,应用繁琐;需要处理计算方法导致的奇异性问题;在应用时,易引入系统测量误差;该方法难以推广至通用6R机械臂的逆解问题。研究基于轴不变量的3R机械臂位置逆解原理,目的是阐述应用Dixon消元原理实现通用机械臂位姿逆解的步骤。
【1】根据n元3D矢量位姿方程,获得n个“元2阶”多项式方程。
由式(3.2)得3R运动学方程
Figure PCTCN2018112809-appb-003152
由式(3.318)得
Figure PCTCN2018112809-appb-003153
由(3.319)式得
Figure PCTCN2018112809-appb-003154
若记
Figure PCTCN2018112809-appb-003155
则由式(3.241)及式得(3.321)
Figure PCTCN2018112809-appb-003156
由式(3.320)及式(3.321)得
Figure PCTCN2018112809-appb-003157
下面,通过定理3.5表述3R机械臂运动学多项式系统的Dixon行列式结构特点,并予以证明。称该定理为3R机械臂Dixon行列式结构定理。
定理3.6:由式(3.323得3R运动学多项式方程
Figure PCTCN2018112809-appb-003158
多项式系统F 3(Y 2|T 2);则有
Figure PCTCN2018112809-appb-003159
其中:
Figure PCTCN2018112809-appb-003160
Figure PCTCN2018112809-appb-003161
证明:由式及式(3.324)得
Figure PCTCN2018112809-appb-003162
由式及式(3.328)可知式(3.326)成立。由式(3.307)及式(3.321)得
Figure PCTCN2018112809-appb-003163
Figure PCTCN2018112809-appb-003164
由式(3.321)、式(3.329)及式(3.330)得
Figure PCTCN2018112809-appb-003165
其中:应用式(3.313)计算
Figure PCTCN2018112809-appb-003166
显然,式(3.331)中的y 2阶次β2∈[0:3]及y 3阶次β3∈[0:1]。考虑式(3.328)后三项:
Figure PCTCN2018112809-appb-003167
中的y 2阶次β2∈[0:3]及y 3阶次β3∈[0:1];
Figure PCTCN2018112809-appb-003168
中的y 2阶次β2∈[0:2]及y 3阶次β3∈[0:1];
Figure PCTCN2018112809-appb-003169
中的y 2的阶次β2∈[0:3]及y 3的阶次β3∈[0:1]。由上可知:式(3.328)中的y 2阶次β2∈[0:3]及y 3的阶次β3∈[0:1]。故有S=8。
由式(3.321)、式(3.328)至式(3.331)可知:
Figure PCTCN2018112809-appb-003170
中组合变量系数为独立的列向量,故选取
Figure PCTCN2018112809-appb-003171
的系数构成方阵
Figure PCTCN2018112809-appb-003172
剩余列向量一定与
Figure PCTCN2018112809-appb-003173
各列相关。故式(3.327)成立。证毕。
【2】应用“基于轴不变量的Dixon行列式计算”方法,“分块矩阵的高维行列式计算”方法或者“对行列式进行行阶梯化计算”方法简化行列式计算。
由式(3.307)及式(3.321)得
Figure PCTCN2018112809-appb-003174
Figure PCTCN2018112809-appb-003175
Figure PCTCN2018112809-appb-003176
由式(3.332)得
Figure PCTCN2018112809-appb-003177
由式(3.333)得
Figure PCTCN2018112809-appb-003178
由式(3.334)得
Figure PCTCN2018112809-appb-003179
由式(3.328)得
Figure PCTCN2018112809-appb-003180
将式(3.335)至式(3.337)代入式(3.338)得
Figure PCTCN2018112809-appb-003181
【3】应用n个“n元N阶”多项式的Dixon消元与求解原理完成位姿逆解计算,其中:根据Dixon矩阵的行列式为0,得到一元高阶多项式方程,应用基于友阵的一元高阶多项式方程求解一元高阶多项式方程的解。
由式(3.68)、式(3.326)及式(3.327)得
Figure PCTCN2018112809-appb-003182
因S=8,应用式计算
Figure PCTCN2018112809-appb-003183
的复杂度为8·8!=322560;应用式,执行二次分块行列式计算,其中:2·2分块矩阵计算复杂度为4!(2·2!+2·2!+1)/(2!2!)=30,4·4分块为矩阵计算复杂度为8!(30+30+1)/(4!4!)=4270。一般情况下,式(3.340)是关于τ 1的16阶单项式方程。应用数值法解得第一轴可行解
Figure PCTCN2018112809-appb-003184
将第一轴可行解分别代入式得对应的第二、三轴可行解。 将可行解分别代入式(3.324)验证,若成立,则为正确解。
基于轴不变量的3R机械臂位置逆解原理具有如下作用:由于轴不变量可以精确测量,有助于提高机械臂的绝对定位精度;由于关节范围覆盖完整的一周,消除了D-H计算原理导致的奇异性;与D-H方法相比,求解过程具有通用性,可以获得系统全部逆解。该原理证明过程表明:整体与局部、复杂与简单是对立统一的关系;式(3.39)将矢量多项式的行列式计算转化为三个矢量的行列式,在该原理证明当中起到了决定性的作用;轴不变量及其导出不变量有助于理解行列式及该原理的内涵。
基于轴不变量的通用6R机械臂位姿逆解
当自由度较高时,人工推导运动学方程非常繁杂且易出错,难以保证建模的可靠性。需要建立迭代式形式,以满足计算机自动建立多轴系统符号模型(Symbolic Models)的需求;同时,需要应用系统内在规律,简化系统方程。相同的系统可能存在不同形式的方程,它们计算复杂度、物理内含、系统阶次及奇异性等也不尽相同。当然,理想的系统模型需要满足最小阶次及无计算奇异性的应用需求。运动学方程存在很多等价的形式,只有特定结构的运动学方程是高自由度多轴系统逆运动学求解的基础。
6R解耦机械臂在结构上存在以下共点约束:要么4至6轴共点,要么4轴与5轴共点且5轴与6轴共点。对于高精度的机械臂而言,由于存在机加工及装配误差,该假设不成立。通用6R机械臂不存在共点约束,但逆解计算非常困难,在工程上不得不屈从于解耦约束。
【1】基于轴不变量的通用6R机械臂位姿逆解预备定理
本节研究拾取点位于第6轴上的通用6R机械臂逆解问题,该机械臂特点在于:给定期望位置
Figure PCTCN2018112809-appb-003185
及期望姿态
Figure PCTCN2018112809-appb-003186
的逆解问题与给定期望位置
Figure PCTCN2018112809-appb-003187
及期望姿态
Figure PCTCN2018112809-appb-003188
的逆解问题等价;第5轴实现定点指向对齐,第6轴实现无限转动。下面先阐述通用6R机械臂逆解预备定理,再予以证明。
定理3.7:若给定6R轴链 il 6=(i,1:6], il 1=0 3,期望位置矢量及Ju-Gibbs四元数分别为
Figure PCTCN2018112809-appb-003189
及
Figure PCTCN2018112809-appb-003190
则由轴不变量表征的6R机械臂运动学多项式方程为:
Figure PCTCN2018112809-appb-003191
其中:
Figure PCTCN2018112809-appb-003192
系统结构参数及期望Ju-Gibbs姿态四元数构成的矩阵表示为
Figure PCTCN2018112809-appb-003193
Figure PCTCN2018112809-appb-003194
Figure PCTCN2018112809-appb-003195
Figure PCTCN2018112809-appb-003196
证明:期望
Figure PCTCN2018112809-appb-003197
与姿态
Figure PCTCN2018112809-appb-003198
对齐,由式(3.287)得
Figure PCTCN2018112809-appb-003199
进而,由式(3.239)得
Figure PCTCN2018112809-appb-003200
由式(3.233)得式(3.342),由式(3.347)得
Figure PCTCN2018112809-appb-003201
由式(3.234)得
Figure PCTCN2018112809-appb-003202
其中:
Figure PCTCN2018112809-appb-003203
由式(3.348)及式(3.349)得
Figure PCTCN2018112809-appb-003204
由式(3.246)得
Figure PCTCN2018112809-appb-003205
将式(3.352)代入式(3.348)得
Figure PCTCN2018112809-appb-003206
其中:
Figure PCTCN2018112809-appb-003207
由式(3.354)得式(3.344)。由式(3.344)及式(3.353)得
Figure PCTCN2018112809-appb-003208
Figure PCTCN2018112809-appb-003209
式(3.355)是关于
Figure PCTCN2018112809-appb-003210
期望姿态
Figure PCTCN2018112809-appb-003211
及4轴、5轴结构参数的约束方程。由式(3.242)得
Figure PCTCN2018112809-appb-003212
一方面,由式(3.355)、式(3.356)及式(3.357)得
Figure PCTCN2018112809-appb-003213
另一方面,由式(3.347)、(3.355)及式(3.358)得
Figure PCTCN2018112809-appb-003214
故得
Figure PCTCN2018112809-appb-003215
由式(3.356)得(3.346)及
Figure PCTCN2018112809-appb-003216
由式(3.355)及式(3.346)得
Figure PCTCN2018112809-appb-003217
式(3.355)至式(3.361)用于后续方程简化,C是结构常数矩阵。考虑式(3.353)两边2范数得
Figure PCTCN2018112809-appb-003218
考虑当 il 1=0 3时的位置矢量对齐关系得
Figure PCTCN2018112809-appb-003219
由式(3.2)及式(3.364)得
Figure PCTCN2018112809-appb-003220
进而,得
Figure PCTCN2018112809-appb-003221
即有
Figure PCTCN2018112809-appb-003222
显然,有
Figure PCTCN2018112809-appb-003223
由式(3290)、式(3.347)及式(3.366)得式(3.365)之左式
Figure PCTCN2018112809-appb-003224
由式(3.290)、式(3.356)、式(3.361)及式(3.359)得
Figure PCTCN2018112809-appb-003225
由式(3.361)及式(3.368)得
Figure PCTCN2018112809-appb-003226
由式(3.355)、式(3.361)及式(3.369)得
Figure PCTCN2018112809-appb-003227
将式(3.367)及式(3.370)代入(3.365),且消去两边的
Figure PCTCN2018112809-appb-003228
得式(3.341)。证毕。
定理3.7作用在于:消去τ 4及τ 5后的位置方程(3.341)是3个“3元2阶”多项式方程,为实时计算通用6R轴机械臂逆解奠定了基础。一方面,将有利于提高6R机械臂的绝对定位精度;另一方面,使传统解耦机械臂的第4轴及第5轴向根方向移动,不仅有利于6R机械臂结构的优化,而且有利于提高6R机械臂避让障碍的灵活性。
【2】基于轴不变量的通用6R机械臂Dixon矩阵结构
下面,以定理3.7的通用6R机械臂运动学方程为基础,证明定理3.8,阐述该方程的Dixon矩阵的结构特点。
定理3.8:若给定6R轴链 il 6=(i,1:6], il 1=0 3;期望位置矢量及Ju-Gibbs四元数分别为
Figure PCTCN2018112809-appb-003229
及
Figure PCTCN2018112809-appb-003230
则式(3.341)构成多项式系统F 3(Y 2|T 2)的Dixon矩阵具有如下结构:
Figure PCTCN2018112809-appb-003231
其中:
Figure PCTCN2018112809-appb-003232
Figure PCTCN2018112809-appb-003233
证明:记
Figure PCTCN2018112809-appb-003234
Figure PCTCN2018112809-appb-003235
由式(3.341)、式(3.374)至式(3.375)得
Figure PCTCN2018112809-appb-003236
由式(3.376)得
Figure PCTCN2018112809-appb-003237
其中:由式(3.304)及式(3.374)得
Figure PCTCN2018112809-appb-003238
由式(3.305)及式(3.374)得
Figure PCTCN2018112809-appb-003239
由式(3.304)、式(3.305)及式(3.375)得
Figure PCTCN2018112809-appb-003240
Figure PCTCN2018112809-appb-003241
由式(3.378)至式(3.381)可知:
Figure PCTCN2018112809-appb-003242
是关于y 2的1阶及y 3的0阶多项式;
Figure PCTCN2018112809-appb-003243
关于y 2的2阶及y 3的1阶多项式。同时,因(3.376)是矢量多项式,当任意两列的结构参数矢量相同时,对应的行列式为零,故式(3.371)是关于y 2的3阶及y 3的1阶多项式,故式(3.373)成立。又因式(3.376)是关于τ 1的2阶多项式,故式(3.372)成立。
【3】基于轴不变量的通用6R机械臂逆解示例
根据定理3.5,3.7及3.8开发通用6R机械臂逆解软件,在主频为2.8G的笔记本电脑上运行。下面逆解示例求解时间小于700ms,逆解个数取决于机械臂结构的对称性,但至多有16组解。
示例4.176R机械臂的结构参数如下: in 1=1 [z], 1n 2=1 [y], 2n 3=1 [y], 3n 4=1 [x], 4n 5=1 [y], 5n 6=1 [x]; il 1=0 3m,
Figure PCTCN2018112809-appb-003244
Figure PCTCN2018112809-appb-003245
若给定期望位置
Figure PCTCN2018112809-appb-003246
及期望方向,则存在如下8组逆解:
φ [1][*]=[-76.69657,170.546093,-20,33.69583,-16.915188]Deg,
φ [2][*]=[-76.69657,170.546093,-20,-146.30417,16.915188]Deg,
φ [3][*]=[-76.69657,150,20,-16.44416,-34.76538]Deg,
φ [4][*]=[-76.69657,150,20,-163.55584,34.76538]Deg,
φ [5][*]=[-90,30,-20,30,40]Deg,φ [6][*]=[-90,30,-20,-150,-40]Deg,
φ [7][*]=[90,9.4539,-20,-130.008225,-24.80936]Deg,
φ [8][*]=[90,9.4539,-20,49.99178,24.80936]Deg。
示例3.18 6R机械臂的结构参数如下: in 1=1 [z], 1n 2=1 [y], 2n 3=1 [y], 3n 4=1 [x], 4n 5=1 [y], 5n 6=1 [x]; il 1=0 3m,
Figure PCTCN2018112809-appb-003247
Figure PCTCN2018112809-appb-003248
(a)若给定期望位置
Figure PCTCN2018112809-appb-003249
及期望方向
Figure PCTCN2018112809-appb-003250
则仅存在一组解φ [1][*]=[90,30,-20,30,40]Deg。(b)若给定期望位置
Figure PCTCN2018112809-appb-003251
及期望方向
Figure PCTCN2018112809-appb-003252
则存在如下两组逆解:
φ [1][*]=[90,30,-20,0,0]Deg and φ [2][*]=[90,9.45391,20,0,-19.45391]Deg。
通用6R机械臂的实时逆解作用在于:不仅有助于提高机械臂的绝对定位精度,而且可以进一步优化机械臂的结构,降低系统的重量。
基于轴不变量的通用7R机械臂位姿逆解
由于7R通用机械臂第5轴实现定点指向对齐及第7轴实现无限转动,第6轴可以用于避碰调节,具有类人手臂的结构。当拾取点位于上时,前6轴实现位姿对齐,第7轴极可以无限转动。因此,7R通用机械臂比6R机械臂具有更强的空间作业灵活性。
本节研究名义拾取点位于第7轴上的通用7R机械臂逆解问题,该机械臂特点在于:给定期望位置
Figure PCTCN2018112809-appb-003253
及期望姿态
Figure PCTCN2018112809-appb-003254
的逆解问题与给定期望位置
Figure PCTCN2018112809-appb-003255
及期望姿态
Figure PCTCN2018112809-appb-003256
的逆解问题等价,即7R机械臂本质上是6R轴链问题。下面,先阐述通用7R机械臂逆解预备定理,再予以证明。
定理3.9:若给定7R轴链 il 7=(i,1:7], il 1=0 3,期望位置矢量及Ju-Gibbs四元数分别为
Figure PCTCN2018112809-appb-003257
及
Figure PCTCN2018112809-appb-003258
则由轴不变量表征的7R机械臂运动学多项式方程为:
Figure PCTCN2018112809-appb-003259
其中:
Figure PCTCN2018112809-appb-003260
系统结构参数及期望Ju-Gibbs姿态四元数构成的矩阵表示为
Figure PCTCN2018112809-appb-003261
Figure PCTCN2018112809-appb-003262
Figure PCTCN2018112809-appb-003263
Figure PCTCN2018112809-appb-003264
证明:期望
Figure PCTCN2018112809-appb-003265
与姿态
Figure PCTCN2018112809-appb-003266
对齐,由式(3.287)得
Figure PCTCN2018112809-appb-003267
进而,由式(3.239)得
Figure PCTCN2018112809-appb-003268
由式(3.233)得式(3.383),由式(3.388)得
Figure PCTCN2018112809-appb-003269
由式(3.234)得
Figure PCTCN2018112809-appb-003270
其中:
Figure PCTCN2018112809-appb-003271
由式(3.389)及式(3.390)得
Figure PCTCN2018112809-appb-003272
由式(3.246)得
Figure PCTCN2018112809-appb-003273
将式(3.393)代入式(3.392)得
Figure PCTCN2018112809-appb-003274
其中:
Figure PCTCN2018112809-appb-003275
由式(3.395)得式(3.385)。由式(3.385)及式(3.394)得
Figure PCTCN2018112809-appb-003276
Figure PCTCN2018112809-appb-003277
式(3.396)是关于
Figure PCTCN2018112809-appb-003278
姿态
Figure PCTCN2018112809-appb-003279
及5轴、6轴结构参数的约束方程。由式(3.385)得(3.387)及
Figure PCTCN2018112809-appb-003280
由式(3.396)及式(3.387)得
Figure PCTCN2018112809-appb-003281
式(3.396)至式(3.399)用于后续方程简化,C是结构常数矩阵。考虑式(3.398)两边2范数得
Figure PCTCN2018112809-appb-003282
由式(3.242)得
Figure PCTCN2018112809-appb-003283
一方面,由式(3.398)、式(3.397)及式(3.401)得
Figure PCTCN2018112809-appb-003284
另一方面,由式(3.388)、(3.396)及式(3.402)得
Figure PCTCN2018112809-appb-003285
故得
Figure PCTCN2018112809-appb-003286
由式(3.404)得式(3.382)中的姿态方程。
考虑当 il 1=0 3时的位置矢量对齐关系得
Figure PCTCN2018112809-appb-003287
由式(3.w)及式(3.405)得
Figure PCTCN2018112809-appb-003288
进而,得
Figure PCTCN2018112809-appb-003289
即有
Figure PCTCN2018112809-appb-003290
显然,有
Figure PCTCN2018112809-appb-003291
由式(3.388)及式(3.407)得式(3.406)之左式
Figure PCTCN2018112809-appb-003292
由式(3.290)、式(3.397)、式(3.398)及式(3.403)得
Figure PCTCN2018112809-appb-003293
由式(3.398)及式(3.409)得
Figure PCTCN2018112809-appb-003294
由式(3.396)、式(3.399)及式(3.410)得
Figure PCTCN2018112809-appb-003295
将式(3.408)及式(3.411)代入(3.406),且消去两边的
Figure PCTCN2018112809-appb-003296
得(3.382)中位置方程。证毕。
定理3.9作用在于:消去τ 5及τ 6后的位姿方程(3.341)是4个“4元2阶”多项式方程。显然,式(3.341)的Dixon行列式中的y [2:4]阶次依次至少为[5,3,1],应用式该行列式的计算复杂度至少48·48!,在现代技术条件下难以实现。
Ju-Gibbs增量四元数及性质
由基于轴不变量的通用6R机械臂位姿逆解和基于轴不变量的通用7R机械臂位姿逆解两节可知:通用机械臂位姿逆解的计算复杂度较高,需要解决实时计算的技术问题。在工程上,计算精度是一个相对的概念,需要保证数值计算精度远高于系统结构参数精度即能满足工程要求。式(3.1)所示的姿态方程及式(3.2)所示的位置方程本质上是Ju-Gibbs四元数的表达式。 只要保证式(3.1)及式(3.2)具有足够的计算精度即能满足工程精度要求。下面,首先提出“居-吉布斯”增量四元数(Delta-quaternion),再建立通用6R机械臂增量位姿方程并进行实时逆解计算。
【1】“居-吉布斯”增量四元数定义
定义“居-吉布斯”增量四元数
Figure PCTCN2018112809-appb-003297
其中:
Figure PCTCN2018112809-appb-003298
显然,“居-吉布斯”增量四元数是四维复数,且有
Figure PCTCN2018112809-appb-003299
【2】“居-吉布斯”增量四元数性质
由式(3.229)及式(3.412)得
Figure PCTCN2018112809-appb-003300
由式(3.232)得
Figure PCTCN2018112809-appb-003301
由式(3.416)得
Figure PCTCN2018112809-appb-003302
由式(3.231)得
Figure PCTCN2018112809-appb-003303
由式(3.418)及(3.235)得
Figure PCTCN2018112809-appb-003304
由式(3.242)得
Figure PCTCN2018112809-appb-003305
基于轴不变量的通用7R机械臂运动规划
通用7R机械臂逆解由于计算复杂度极高,在现有技术条件下无法实现。但是,通常位 于第7轴上的拾取点与第6轴的距离很小。因此,在第6轴取距拾取点较近的点为名义拾取点,先计算通用6R机械臂的逆解;以之为基础,再应用数值迭代法,完成通用7R机械臂的运动规划与逆解计算。下面,探讨通用7R机械臂的增量(Delta)位姿方程建立及逆解的问题。
【1】通用7R轴链的增量位姿方程
下面,先陈述由Gibbs增量四元数表征的通用6R轴链增量位姿方程,并予以证明;然后,进行求其逆解。
定理3.10:若给定6R轴链 il 7=(i,1:7], il 1=0 3,位置矢量及Ju-Gibbs增量四元数分别为
Figure PCTCN2018112809-appb-003306
及
Figure PCTCN2018112809-appb-003307
则由Ju-Gibbs增量四元数表征的通用6R机械臂增量位姿方程表示为:
Figure PCTCN2018112809-appb-003308
Figure PCTCN2018112809-appb-003309
Figure PCTCN2018112809-appb-003310
其中:
Figure PCTCN2018112809-appb-003311
由系统结构参数行四元数构成的矩阵表示为
Figure PCTCN2018112809-appb-003312
Figure PCTCN2018112809-appb-003313
Figure PCTCN2018112809-appb-003314
Figure PCTCN2018112809-appb-003315
Figure PCTCN2018112809-appb-003316
Figure PCTCN2018112809-appb-003317
下面,分析通用7R机械臂增量位姿逆解。显然,式(3.421)是关于{ε l|l∈[1:4}的线性方程。将式(3.421)重新表示为
A·[ε 1 ε 2 ε 3 ε 4] T=b;       (3.429)
若A -1存在,解式(3.427)得
[ε 1 ε 2 ε 3 ε 4] T=A -1·b。      (3.430)
由式(3.417)及式(3.430)得
Figure PCTCN2018112809-appb-003318
由式(3.397)得ε 5及ε 6。至此,逆解计算完毕。
通用6R机械臂增量位姿逆解作用在于:可以通过增量位置矢量
Figure PCTCN2018112809-appb-003319
及Gibbs增量四元数
Figure PCTCN2018112809-appb-003320
应用逐步逼近的算法使通用机械臂增量位姿到达期望的位姿。该原理本质上第一部分提及原理一致,二者具有一样的收敛性。同样,当收敛至目标状态时,通常仅有一组逆解。
【2】基于偏速度迭代的通用7R机械臂运动规划
记运动链为
Figure PCTCN2018112809-appb-003321
l∈(i,1:6],由式(3.3)及式(3.4)得
Figure PCTCN2018112809-appb-003322
记
Figure PCTCN2018112809-appb-003323
记期望位姿分别为
Figure PCTCN2018112809-appb-003324
及
Figure PCTCN2018112809-appb-003325
且有
Figure PCTCN2018112809-appb-003326
Figure PCTCN2018112809-appb-003327
将式合写为
Figure PCTCN2018112809-appb-003328
由式应用梯度(Gradient Descent Method/GDM)下降法得
Figure PCTCN2018112809-appb-003329
其中:步长Step>0,Step→0。显然有
Figure PCTCN2018112809-appb-003330
选择Step步长,由初态
Figure PCTCN2018112809-appb-003331
开始迭代,直至终态
Figure PCTCN2018112809-appb-003332
基于偏速度的迭代优化步骤如下:
(1)确定目标函数
Figure PCTCN2018112809-appb-003333
显然,Goal表示
Figure PCTCN2018112809-appb-003334
及
Figure PCTCN2018112809-appb-003335
的方差(Variance)。
(2)选择步长
一方面,应用构造法得确定步长
Figure PCTCN2018112809-appb-003336
则由式及式可知:仅当
Figure PCTCN2018112809-appb-003337
时,Step→0,Goal→0。
另一方面,由式(3.413)及式得
Figure PCTCN2018112809-appb-003338
其中:ε (i,6]=[ε 1 ε 2 … ε 6] T。由式(3.437)及式确定步长
Figure PCTCN2018112809-appb-003339
(3)迭代过程
一方面,若取式(3.438)之步长Step,由式完成迭代计算:
Figure PCTCN2018112809-appb-003340
其中:当
Figure PCTCN2018112809-appb-003341
时,迭代过程结束。对于式的迭代过程,则必有
δGoal≤0,        (3.440)
即式的迭代过程一定收敛。
证明:由式及式得
Figure PCTCN2018112809-appb-003342
由式、式及式得
Figure PCTCN2018112809-appb-003343
因式与式(3.438)在理论上等价,故可用式(3.438)替代式。但是式与式(3.438)的计算过程不同:因计算机字长有限,当
Figure PCTCN2018112809-appb-003344
时,前者精度越来越差,而后者起来越高;同时,后者计算量相对较小。因此,在工程应用时,取式(3.438)步长更好。
当
Figure PCTCN2018112809-appb-003345
时,得到稳态解φ (i,6],即为通用机械臂的位姿逆解。证毕。
基于偏速度的通用7R机械臂运动规划特点在于:通过迭代,逼近期望的位姿,可以得到一条由初始位姿至期望位姿的路径。因为该方法是趋向目标的优化过程,所以实时性较差。若在迭代过程中,控制关节增量,则可以满足关节速度的约束;因此,在完成运动规划的同时,也获得对应期望位姿的一组逆解。
轴不变量理论与自主行为机器人学
基于轴不变量的通用6R机械臂位姿逆解预备定理奠定了通用机械臂逆解的理论基础。因式(3.336)具有迭代式的形式,故又称之为基于轴不变量的通用5R迭代式运动学建模定理;通用6R机械臂方程逆解结构定理表明6R机械臂具有实时逆解,即5R迭代式运动学存在实地逆解。这两个定理表明:
(1)以固定轴不变量表征的刚体位形不仅简单、直观,而且对于逆解计算具有重要意义;
(2)基于轴不变量的通用机械臂运动学方程不仅表达简洁,而且具有实时逆解。
表示3D空间下的5轴及2轴螺旋的固定及自由轴不变量是机器人理论的基元,具有建模与求解的普适性。基于轴不变量的正逆运动不仅是机器人理论的重大突破,而且会带来机器人工程的革命。如图40及图41所示,通用6R机械臂与1R/2R/3R解耦末端操作机构串接,研制高精度的7R/8R/9R的类人手臂(Humanoid Arm)。
高精度机械臂底座具有多个(≥3)激光跟踪球球座,以建立精确的机械臂底座坐标系;各轴结构参数(固定轴不变量)可以精确测量,不存在理想的笛卡尔直角坐标系的测量约束及结构上的解耦约束,可以将机械臂的绝对定位精度提升至与重复定位精度相当的水平。
请参照图42。图42包含根食指3R 4201、中食指1R 4202、叶食指1R 4203、根大拇指3R 4204、中大拇指1R 4205、叶大拇指1R 4206、腕2R 4207、肘2R 4208、肩3R 429。对于人类手臂,由根至叶的运动链由5R臂(Limb)、2R手腕与5R手指(Finger)构成,是12个自由度及6折(Fold)的空间结构;若将手腕的两轴分别计入臂与手指,则该运动链是两个通用6R臂的串接与解耦的系统,手是5支链(Chain)6R手指的系统(简记为5C-6R)。因此,类人手臂由6R机械臂(Manipulator)及5C-6R灵巧手(Dexterous Hand)串接构成,实现分层级(Level)的运动控制。第1层级的6R机械臂与5C-6R灵巧手具有12R的轴链,执行大范围的空间运动。第2层级的5C-6R灵巧手具有变拓扑(Variable Topology)轴链,能够使用工具,实现对受控对象的精密操作。
(1)DH0模式,操作0DOF受控对象,比如:握持(Hold);
(2)DH1模式,操作1DOF受控对象,比如:扳拧(Wrench),推动(Push)与拉动(Pull);
(3)DH2模式,操作2DOF受控对象,比如:摆动(Sway),旋拧(Screw)与拖拉(Drawing);
(4)DH3模式,操作3DOF受控对象,比如:平移(Translate)与旋转(Rotate);
(5)DH4模式,操作4DOF受控对象,比如:平衡(Balance),对接(Attach)与分离(Detach);
(6)DH5模式,操作5DOF受控对象,比如:穿越(Pass),触碰(Touch)与切割(Cut);
(7)DH6模式,操作6DOF受控对象,比如:搅动(Stir),摆放(Set)与雕刻(Engrave)。
两通用机械臂的分层串接、5C-6R的变拓扑及多折(Multi-Fold)的结构是类人手臂的三大特征。
如图43所示,6R4F(Folding)类人手臂具有复杂空间操作的优势。因其前五轴突破了解耦约束,故具有更优化及更简洁的结构。研制用于特种加工与作业的类人手臂,实现多机器人协作的柔性加工系统是自主机器人的发展趋势。
“轴不变量理论”之所以能将现有的运动学及动力学原理统一起来,根本原因在于:一方面,“轴不变量理论”是一个在拓扑上以轴为基元及在度量上以3D螺旋为基元的多轴系统建模与控制理论。另一方面,多轴系统本质上是自治系统(Autonomous System),即由不显含时间的常微分方程(ODE)表达的系统;自治系统具有行为的确定性;奠基于自治模型的“自主机器人”,无论在结构上还是在行为上,具有有序性、精确性、可控性及实时性。而偏微分系统的结构及行为,常常具有分岔及混沌的不确定性;多轴系统的运动学及动力学方程都是3D矢量空间操作代数系统。
第四部分 基于轴不变量的多轴系统动力学与行为控制Equation Chapter 4 Section 1
基础公式
【1】给定运动链
Figure PCTCN2018112809-appb-003346
则有
Figure PCTCN2018112809-appb-003347
ik i∈ il n,| ik i|=0,        (4.2)
kl n=- nl k,        (4.3)
il n= il l+ ll n, il n= il l· ll n。      (4.4)
【2】自然不变量
Figure PCTCN2018112809-appb-003348
Figure PCTCN2018112809-appb-003349
Figure PCTCN2018112809-appb-003350
【3】基于轴不变量的转动
Figure PCTCN2018112809-appb-003351
Figure PCTCN2018112809-appb-003352
Figure PCTCN2018112809-appb-003353
其中:
Figure PCTCN2018112809-appb-003354
【4】运动学迭代式
给定轴链
Figure PCTCN2018112809-appb-003355
| il l|≥2,有以下速度及加速度迭代式:
Figure PCTCN2018112809-appb-003356
Figure PCTCN2018112809-appb-003357
Figure PCTCN2018112809-appb-003358
其中:O( iQ l)∝| il l|,O( iR l)∝| il l|及
Figure PCTCN2018112809-appb-003359
| il l|为轴链 il l的轴数。
Figure PCTCN2018112809-appb-003360
Figure PCTCN2018112809-appb-003361
Figure PCTCN2018112809-appb-003362
Figure PCTCN2018112809-appb-003363
Figure PCTCN2018112809-appb-003364
Figure PCTCN2018112809-appb-003365
由式(4.2)得
Figure PCTCN2018112809-appb-003366
其中:
Figure PCTCN2018112809-appb-003367
显然,有
Figure PCTCN2018112809-appb-003368
若l为刚体,由式(4.22)及式(4.19)得
Figure PCTCN2018112809-appb-003369
Figure PCTCN2018112809-appb-003370
【5】二阶张量投影
Figure PCTCN2018112809-appb-003371
Figure PCTCN2018112809-appb-003372
【6】给定运动链
Figure PCTCN2018112809-appb-003373
则有惯性坐标张量
Figure PCTCN2018112809-appb-003374
Figure PCTCN2018112809-appb-003375
Figure PCTCN2018112809-appb-003376
Figure PCTCN2018112809-appb-003377
Figure PCTCN2018112809-appb-003378
【7】给定轴链
Figure PCTCN2018112809-appb-003379
k∈ il n,有以下偏速度计算公式:
Figure PCTCN2018112809-appb-003380
Figure PCTCN2018112809-appb-003381
Figure PCTCN2018112809-appb-003382
【8】给定轴链
Figure PCTCN2018112809-appb-003383
k,l∈ il n,有以下二阶矩公式:
Figure PCTCN2018112809-appb-003384
Figure PCTCN2018112809-appb-003385
Figure PCTCN2018112809-appb-003386
【9】左序叉乘与转置的关系
Figure PCTCN2018112809-appb-003387
【10】轮土矢量矢学及移动维度
Figure PCTCN2018112809-appb-003388
Figure PCTCN2018112809-appb-003389
FD(W S)=3        (4.41)
FD(W NS)=2       (4.42)
DOF(D)=6+|A|-|NT|+|O|        (4.43)
DOM(D)=DOF(D)-n NS·FD(W NS)-n S·FD(W S)       (4.44)
多轴系统的拉格朗日方程推导与应用
1764年,拉格朗日(Lagrange)在研究月球天平动问题时提出了拉格朗日方法(Lagrangian),是以广义坐标表达动力学方程的基本方法;同时,也是描述量子场论的基本方法。本节推导拉格朗日方程,并应用链符号系统对之重新表述。
下面考虑质点动力学系统D={A,K,T,NT,F,B},根据牛顿力学推导自由质点
Figure PCTCN2018112809-appb-003390
的拉格朗日方程;然后,推广至受约束的质点系统。对于一组受保守力作用的质点,在牛顿惯性空间的笛卡尔直角坐标系下,有
Figure PCTCN2018112809-appb-003391
式(4.45)中的保守力
Figure PCTCN2018112809-appb-003392
相对质点惯性力
Figure PCTCN2018112809-appb-003393
具有相同的链序,即
Figure PCTCN2018112809-appb-003394
具有正序,质点
Figure PCTCN2018112809-appb-003395
的合力为零。质点
Figure PCTCN2018112809-appb-003396
的能量记为
Figure PCTCN2018112809-appb-003397
由动能
Figure PCTCN2018112809-appb-003398
及势能
Figure PCTCN2018112809-appb-003399
组成,即有
Figure PCTCN2018112809-appb-003400
由式(4.46)得,动量 ip D,且有
Figure PCTCN2018112809-appb-003401
由式(4.47)得
Figure PCTCN2018112809-appb-003402
称式(4.48)为笛卡尔矢量空间的拉格朗日方程。
广义坐标序列
Figure PCTCN2018112809-appb-003403
与笛卡尔空间位置矢量序列{ ir l|l∈T}关系记为
Figure PCTCN2018112809-appb-003404
由式(4.49)得
Figure PCTCN2018112809-appb-003405
显然,有
Figure PCTCN2018112809-appb-003406
由式(4.48)及式(4.49)得
Figure PCTCN2018112809-appb-003407
由式(4.50)及式(4.51)得
Figure PCTCN2018112809-appb-003408
对于任一函数f(…, ir l,…;t),其时间微分为
Figure PCTCN2018112809-appb-003409
由式(4.54)的莱布尼兹(Leibnitz)规则及式(4.53)第2项得
Figure PCTCN2018112809-appb-003410
由式(4.50)得
Figure PCTCN2018112809-appb-003411
另一方面,由偏导数链规则可知
Figure PCTCN2018112809-appb-003412
由式(4.56)及式(4.57)得
Figure PCTCN2018112809-appb-003413
将式(4.55)及式(4.58)代入式(4.48)得
Figure PCTCN2018112809-appb-003414
若
Figure PCTCN2018112809-appb-003415
非奇异,则
Figure PCTCN2018112809-appb-003416
存在。故得关节空间的拉格朗日方程,
Figure PCTCN2018112809-appb-003417
式(4.60)应用系统的能量及广义坐标建立系统的方程,与式(4.49)具有结构上的不变性。式(4.60)中,给定关节空间点的标量与描述该点的广义坐标是相互独立的;式(4.49)坐标更换称为空间点变换(point transformation)。
在推导拉格朗日方程时,前提是式(4.46)及(4.48)成立。保守力与惯性力具有相反的链序。拉格朗日系统内的约束既可以是质点间的固结约束,又可以是质点系统间的运动约束;刚体自身是质点系统
Figure PCTCN2018112809-appb-003418
质点能量具有可加性;刚体动能量由质心平动动能及转动动能组成。下面,就简单运动副R/P分别建立拉格朗日方程,为后续进一步推出新的动力学理论奠定基础。
给定刚体多轴系统D={A,K,T,NT,F,B},惯性空间记为i,
Figure PCTCN2018112809-appb-003419
轴l的能量记为
Figure PCTCN2018112809-appb-003420
其中平动动能为
Figure PCTCN2018112809-appb-003421
转动动能为
Figure PCTCN2018112809-appb-003422
引力势能为
Figure PCTCN2018112809-appb-003423
轴l受除引力外的外部合力及合力矩分别为 Df l及 Dτ l;轴l的质量及质心转动惯量分别为m l及
Figure PCTCN2018112809-appb-003424
轴u的单位轴不变量为
Figure PCTCN2018112809-appb-003425
环境i作用于l I的惯性加速度记为
Figure PCTCN2018112809-appb-003426
重力加速度
Figure PCTCN2018112809-appb-003427
链序由i至l I;
Figure PCTCN2018112809-appb-003428
链序由l I至i;且有
Figure PCTCN2018112809-appb-003429
【1】系统能量
系统D能量
Figure PCTCN2018112809-appb-003430
表达为
Figure PCTCN2018112809-appb-003431
其中:
Figure PCTCN2018112809-appb-003432
【2】多轴系统拉格朗日方程
由式(4.60)得多轴系统拉格朗日方程,
Figure PCTCN2018112809-appb-003433
式(4.64)为轴u的控制方程,即在轴不变量
Figure PCTCN2018112809-appb-003434
上的力平衡方程;
Figure PCTCN2018112809-appb-003435
是合力 i|Df u在
Figure PCTCN2018112809-appb-003436
上的分量,
Figure PCTCN2018112809-appb-003437
是合力矩 i|Dτ u在
Figure PCTCN2018112809-appb-003438
上的分量。
示例4.1:请参照图44。图44为平面2R机械臂示意图。图44包含杆件1的长度l 1 4401、杆件1的质心与轴1原点的距离
Figure PCTCN2018112809-appb-003439
4402、杆件2的质心与轴2原点的距离
Figure PCTCN2018112809-appb-003440
4403。,如图44所示平面2R机械臂系统,A=(i,1,2],关节坐标序列
Figure PCTCN2018112809-appb-003441
杆件自然坐标系序列{F [l]|l∈A},惯性系记为F [i];质心位置矢量
Figure PCTCN2018112809-appb-003442
重力加速度矢量
Figure PCTCN2018112809-appb-003443
质量序列{m l|l∈A},质心转动惯量序列
Figure PCTCN2018112809-appb-003444
关节驱动力矩分别为
Figure PCTCN2018112809-appb-003445
及
Figure PCTCN2018112809-appb-003446
应用式(4.64)建立该系统的拉格朗日方程。
解:记
Figure PCTCN2018112809-appb-003447
且记
Figure PCTCN2018112809-appb-003448
其中*表示未知量;应用式(4.11)正余弦简记符。
步骤1:表达系统的能量。杆件1的动能,
Figure PCTCN2018112809-appb-003449
杆件1的重力势能,
Figure PCTCN2018112809-appb-003450
杆件2的动能,
Figure PCTCN2018112809-appb-003451
杆件2的重力势能,
Figure PCTCN2018112809-appb-003452
系统重力势能,
Figure PCTCN2018112809-appb-003453
系统动能,
Figure PCTCN2018112809-appb-003454
步骤2:获得系统能量对关节速度的偏导数,
Figure PCTCN2018112809-appb-003455
Figure PCTCN2018112809-appb-003456
步骤3:获得系统能量对关节角度的偏导数,
Figure PCTCN2018112809-appb-003457
步骤4:获得偏速度对时间t的导数,
Figure PCTCN2018112809-appb-003458
故得
Figure PCTCN2018112809-appb-003459
步骤5:由式(4.71)、式(4.70)及式(4.64)得拉格朗日动力学方程:
Figure PCTCN2018112809-appb-003460
由示例4.1可知:对于2DOF的平面机械臂,应用拉格朗日法建立动力学方程已是一个烦琐的过程;随着系统自由度的增高,计算复杂度也剧增。原因在于:
【1】首先,平动速度及转动速度的计算复杂度为O(N);
【2】进而,通过平动速度及转动速度表达系统能量的计算复杂度为O(N 2);
【3】接着,由系统能量计算偏速度的复杂度为O(N 3);
【4】最后,由偏速度对时间求导的复杂度为O(N 4)。
尽管拉格朗日方程依据系统不变性的能量推导系统的动力学方程,具有理论分析上的优势;但是在工程应用中,随着系统自由度的增加,方程推导的复杂性剧增,难以得到普遍应用。
多轴系统凯恩方程推导与应用
首先分析由Thomas R.Kane提出的凯恩方程,并应用链符号系统对之重新表述。
给定多轴系统D={A,K,T,NT,F,B},
Figure PCTCN2018112809-appb-003461
考虑由N=|B|个刚体构成的多轴系统,任一刚体受到外力及关节内力作用。惯性系记为F [i];体k的质心k I所受的合外力及力矩坐标矢量分别记为
Figure PCTCN2018112809-appb-003462
及 iτ k,k∈[1,2,…,N]。关节内力及力矩矢量分别记为
Figure PCTCN2018112809-appb-003463
及
Figure PCTCN2018112809-appb-003464
应用达朗贝尔(D’Alembert)原理建立体k的力平衡方程,
Figure PCTCN2018112809-appb-003465
其中:
Figure PCTCN2018112809-appb-003466
为体k的惯性力;惯性力
Figure PCTCN2018112809-appb-003467
表示为
Figure PCTCN2018112809-appb-003468
记质心k I的虚位移为
Figure PCTCN2018112809-appb-003469
它是时间δt→0的位移增量;根据虚功原理得虚功δW,
Figure PCTCN2018112809-appb-003470
k∈[1,2,…,N]。
在关节内力不引起功率损失的假设下,有
Figure PCTCN2018112809-appb-003471
故有
Figure PCTCN2018112809-appb-003472
由式(4.75)得
Figure PCTCN2018112809-appb-003473
因位置矢量
Figure PCTCN2018112809-appb-003474
为
Figure PCTCN2018112809-appb-003475
故有
Figure PCTCN2018112809-appb-003476
显然,有
Figure PCTCN2018112809-appb-003477
因虚位移
Figure PCTCN2018112809-appb-003478
是任意的,故由式(4.76)得
Figure PCTCN2018112809-appb-003479
由式(4.74)及式(4.78)得
Figure PCTCN2018112809-appb-003480
相似地,应用虚功原理得
Figure PCTCN2018112809-appb-003481
其中:
Figure PCTCN2018112809-appb-003482
及
Figure PCTCN2018112809-appb-003483
分别为外力矩及惯性力矩坐标矢量。且有
Figure PCTCN2018112809-appb-003484
其中:
Figure PCTCN2018112809-appb-003485
体k的质心转动惯量。由式(4.80)及式(4.81)得
Figure PCTCN2018112809-appb-003486
将式(4.79)及式(4.82)组合在一起得多轴系统凯恩方程
Figure PCTCN2018112809-appb-003487
由式(4.83)可知,多轴系统凯恩方程的建立步骤如下:
步骤1:标识质心、力的作用点等关键点;
步骤2:选取独立的一组关节坐标
Figure PCTCN2018112809-appb-003488
并得到方向余弦矩阵(DCM);
步骤3:通过关节坐标及关节速度表达平动速度、平动加速度、转动速度及转动加速度;
步骤4:如下表所示,计算偏速度;
Figure PCTCN2018112809-appb-003489
步骤5:将计算出的偏速度、速度及加速度代入式(4.83)得系统的动力学方程;
步骤6:将动力学方程写成标准形式,即获得规范化动力学方程,
Figure PCTCN2018112809-appb-003490
其中:RHS–右手侧(Right hand side)。
示例4.2:如图45所示,是一个理想的弹簧质量摆,应用凯恩方法及拉格朗日方法分别建立该系统的动力学方程。图45包含:弹簧弹性形变即关节1的位移
Figure PCTCN2018112809-appb-003491
弹簧弹性系数k、质量摆绳长l 2、质量摆摆动的角度
Figure PCTCN2018112809-appb-003492
解法1:凯恩建模方法如下:
步骤1:如图45所示质心位置标识为*;
步骤2:得到DCM。
Figure PCTCN2018112809-appb-003493
步骤3:选取关节坐标
Figure PCTCN2018112809-appb-003494
计算转动速度及加速度:
Figure PCTCN2018112809-appb-003495
计算平动速度及加速度,如下表所示。
Figure PCTCN2018112809-appb-003496
步骤4:构建偏速度表。
Figure PCTCN2018112809-appb-003497
步骤5:将计算出的偏速度、速度及加速度代入式(4.83)得系统动力学方程各项。
Figure PCTCN2018112809-appb-003498
步骤6:将动力学方程写成标准形式,即得到规范化动力学方程。
Figure PCTCN2018112809-appb-003499
解法2:拉格朗日方法如下:
步骤1:表达系统的能量
质点1动能
Figure PCTCN2018112809-appb-003500
选取地面为0势能面,质点1势能
Figure PCTCN2018112809-appb-003501
质点2动能
Figure PCTCN2018112809-appb-003502
质点2势能
Figure PCTCN2018112809-appb-003503
系统总能量
Figure PCTCN2018112809-appb-003504
步骤2:获取系统能量对速度的偏导数
Figure PCTCN2018112809-appb-003505
步骤3:获取系统能量对位移、角度的偏导数
Figure PCTCN2018112809-appb-003506
步骤4:获得偏速度对时间t的导数
Figure PCTCN2018112809-appb-003507
Figure PCTCN2018112809-appb-003508
步骤5:将各项带入拉格朗日动力学方程,整理得
Figure PCTCN2018112809-appb-003509
显然,上式与式(4.83)一致。
由上可知,凯恩方程建立过程与拉格朗日相比,通过系统的偏速度、速度及加速度直接表达动力学方程。相对系统自由度N,首先计算速度及加速度的复杂度为O(N);然后,计算偏速度的复杂度为O(N)。故凯恩动力学建模的复杂度为O(N 2)。
凯恩动力学方法与拉格朗日方法相比,由于省去了系统能量的表达及对时间的求导过程,极大地降低了系统建模的难度。然而,对于高自由度的系统,凯恩动力学建模过程仍难以适用。因为凯恩动力学建模过程还需解决以下问题:需要解决建立迭代式运动学方程的问题;需要解决偏速度求解的问题;需要解决建立式示例4.2所示的规范化动力学方程的问题。
多体分析动力学研究的局限性
拉格朗日方程及凯恩方程极大地推动了多体动力学的研究,以空间算子代数为基础的动力学由于应用了迭代式的过程,计算速度及精度都有了一定程度的提高。这些动力学方法无论是运动学过程还是动力学过程都需要在体空间、体子空间、系统空间及系统子空间中进行复杂的变换,建模过程及模型表达非常复杂,难以满足高自由度系统建模与控制的需求。主要表现于:
【1】对于高自由度的系统,由于缺乏规范的动力学符号系统,导致技术交流成为严重障碍。虽然文献[1-20]各自有相应的符号,但它们是示意性的,不能准确反映物理量的内涵,未能体现运动链的本质;需要专业人员具有长期的动力学建模经验,否则难以保证建模过程的工程质量及普遍应用。
【2】在系统结构参数、质惯量参数给定时,尽管存在多种动力学分析及计算方法,但由于动力学建模过程复杂,不能清晰地表达统一的动力学模型。难以适应动力学控制的需求。 同时,无论拉格朗日动力学方程还是凯恩动力学方程建模过程都表明3D空间的动力学方程可以表达多体动力学过程。
【3】6D空间(位姿空间)算子代数的物理含义非常抽象,建立的动力学算法缺乏严谨的公理化证明,复杂的计算过程由于缺乏简洁、准确的符号系统;在一定程度上牺牲了计算速度。文献[13-15]各自以数百页篇幅介绍6D空间算子代数的多体动力学原理,几乎没有通过完整的示例来阐述原理的应用过程,即使一个低自由度的系统,建模过程也很冗长。根本原因在于该6D空间是双3D矢量空间。
因此,需要建立动力学模型的简洁表达式;既要保证建模的准确性,又要保证建模的实时性。没有简洁的动力学表达式,就难以保证高自由度系统动力学工程实现的可靠性与准确性。同时,传统非结构化运动学及动力学符号通过注释约定符号内涵,而不能被计算机理解;导致计算机不能自主地建立及分析运动学及动力学模型。
居―凯恩动力学预备定理
3D笛卡尔空间的基元是自然参考轴即轴不变量。将多体运动学理论与链拓扑论、计算机理论相结合,遵从张量不变性、序不变性及轴不变性的基本原理,建立运动链符号系统及基于轴不变量的多轴系统运动学与动力学的理论,根本目的是通过3D自然轴空间代数及拓扑操作、建立简洁的基于轴不变量的迭代式运动学与动力学方程。
在第一部分,应用链符号系统,将传统的拉格朗日方程及凯恩方程分别表达为式(4.60)及式(4.83)。下面,进一步阐述基于轴不变量的正向与反向迭代式对于多轴系统动力学建模的作用。
基于轴不变量的正反向迭代
下面,先阐明运动轴轴向、运动学的前向迭代及动力学的反向迭代三个重要准则,为提出Ju-Kane动力学原理奠定基础。请参照图46,图46为多轴系统的闭子树,如图46所示,将
Figure PCTCN2018112809-appb-003510
的两个轴“切开”,轴
Figure PCTCN2018112809-appb-003511
运动链为
Figure PCTCN2018112809-appb-003512
轴l的闭子树为 lL,且令D′= lL。
【1】运动轴轴向平衡方程:是运动轴方向的惯性力与外力平衡的方程。若系统D′对轴l施加约束力记为 D′f l及约束力矩记为 D′τ l;则有
Figure PCTCN2018112809-appb-003513
其中: D′f l─系统D′作用于轴l的合力; D′τ l─系统D′作用于轴l的合力矩。
式(4.86)表明,尽管施加约束力 D′f l及约束力矩 D′τ l未知,在运动轴轴向的分量总是零;动力学方程本质上是运动轴轴向力或力矩的平衡方程;轴约束力、力矩与自然运动轴正交,又 称自然正交补。
【2】运动学的前向迭代:无论是有根系统还是无根系统,根的位形、速度及加速度视为已知量,由根至叶的运动学计算,可以确定任一轴的位形、速度及加速度。这是由式(4.4)所示系统拓扑的串接性决定的。由第3部分分析可知,任一轴的相对惯性空间的位形、速度及加速度是关于轴不变量的迭代式。
【3】动力学的反向迭代:力的传递由叶向根反向传递,力的作用具有双重效应,由闭子树 lL至轴l的作用力 D′f l及作用力矩 D′τ l是闭子树成员的惯性力及外力在轴l上的等价作用力及力矩。由运动学的前向迭代确定了闭子树成员的相对惯性空间的位形、速度及加速度,也同样确定了闭子树成员的惯性力及力矩。
运动轴轴向平衡方程的建立依赖于轴不变量的基本性质;运动学的前向迭代依赖于运动链的拓扑操作及基于轴不变量的迭代式运动学计算;动力学的反向迭代依赖于闭子树的拓扑操作及迭代式的偏速度计算。在第2部分及第3部分已对这三个问题进行了系统阐述。下面,通过示例4.3,应用式(4.8)至式(4.20)运动学迭代过程证明式(4.32)至式(4.34)的偏速度迭代过程的正确性。
示例4.3:继示例4.1,应用式(4.8)至式(4.20)的完成运动学迭代计算;通过实例证明式(4.32)至式(4.34)偏速度迭代过程的正确性。
解:显然,结构参数为
in 1=1 [z], 1n 2=1 [z]       (4.87)
Figure PCTCN2018112809-appb-003514
引力常数为
Figure PCTCN2018112809-appb-003515
【1】平动与转动
旋转变换阵:由式(4.8)得
Figure PCTCN2018112809-appb-003516
由式(4.8)及式(4.90)得
Figure PCTCN2018112809-appb-003517
转动矢量:
Figure PCTCN2018112809-appb-003518
由式(4.15)得
Figure PCTCN2018112809-appb-003519
位置矢量:显然,有
Figure PCTCN2018112809-appb-003520
由式(4.16)得
Figure PCTCN2018112809-appb-003521
Figure PCTCN2018112809-appb-003522
Figure PCTCN2018112809-appb-003523
Figure PCTCN2018112809-appb-003524
转动速度矢量:显然,有
Figure PCTCN2018112809-appb-003525
由式(4.17)得
Figure PCTCN2018112809-appb-003526
平动速度矢量:显然,有
Figure PCTCN2018112809-appb-003527
由式(4.18)得
Figure PCTCN2018112809-appb-003528
Figure PCTCN2018112809-appb-003529
Figure PCTCN2018112809-appb-003530
由式(4.18)并考虑式(4.104)得
Figure PCTCN2018112809-appb-003531
转动加速度矢量:由式(4.19)得
Figure PCTCN2018112809-appb-003532
平动加速度矢量:由式(4.20)得
Figure PCTCN2018112809-appb-003533
由式(4.107)得
Figure PCTCN2018112809-appb-003534
由式(4.20)得
Figure PCTCN2018112809-appb-003535
即
Figure PCTCN2018112809-appb-003536
由式(4.20)得
Figure PCTCN2018112809-appb-003537
即
Figure PCTCN2018112809-appb-003538
【2】偏速度验证
由式(4.99)得
Figure PCTCN2018112809-appb-003539
故有
Figure PCTCN2018112809-appb-003540
由式(4.100)得
Figure PCTCN2018112809-appb-003541
故有
Figure PCTCN2018112809-appb-003542
由式(4.111)及式(4.112)的特例验证了式(4.33)的正确性。
由式(4.96)得
Figure PCTCN2018112809-appb-003543
故有
Figure PCTCN2018112809-appb-003544
由式(4.98)得
Figure PCTCN2018112809-appb-003545
Figure PCTCN2018112809-appb-003546
故有
Figure PCTCN2018112809-appb-003547
由式(4.113)及式(4.114)之特例验证了式(4.32)之正确性。由式(4.102)得
Figure PCTCN2018112809-appb-003548
Figure PCTCN2018112809-appb-003549
故有
Figure PCTCN2018112809-appb-003550
由式(4.105)得
Figure PCTCN2018112809-appb-003551
Figure PCTCN2018112809-appb-003552
故有
Figure PCTCN2018112809-appb-003553
由式(4.115)及式(4.116)之特例验证了式(4.32)之正确性。
对于链 il k而言,由式(4.12)至式(4.20)中运动矢量迭代计算的复杂度为O(| il k|)。上述表明推导偏速度是非常烦琐的过程;由式(4.32)至式(4.34)的偏速度迭代计算复杂度为O(1)。将式(4.32)至式(4.34)的偏速度迭代式应用于凯恩方程(4.83),可以将凯恩动力学建模的复杂度降至线性复杂度。下面,推导Ju-Kane动力学预备定理,以之为基础,再解决多轴系统建模与正逆计算的其它问题。
居―凯恩动力学预备定理证明
下面基于多轴系统拉格朗日方程(4.64)推导居―凯恩(Ju-Kane)动力学预备定理。先进行拉格朗日方程与凯恩方程的等价性;然后,计算能量对关节速度及坐标的偏速度,再对时间求导,最后给出Ju-Kane动力学预备定理。
【1】拉格朗日方程与凯恩方程的等价性证明
Figure PCTCN2018112809-appb-003554
证明:考虑刚体k平动动能对
Figure PCTCN2018112809-appb-003555
的偏速度对时间的导数得
Figure PCTCN2018112809-appb-003556
考虑刚体k转动动能对
Figure PCTCN2018112809-appb-003557
的偏速度对时间的导数得
Figure PCTCN2018112809-appb-003558
证毕。
因
Figure PCTCN2018112809-appb-003559
与
Figure PCTCN2018112809-appb-003560
不相关,由式(4.117)及多轴系统拉格朗日方程(4.64)得
Figure PCTCN2018112809-appb-003561
动力学系统D的平动动能及转动动能分别表示为
Figure PCTCN2018112809-appb-003562
考虑式(4.62)及式(4.63),即有
Figure PCTCN2018112809-appb-003563
式(4.117)及式(4.118)是居―凯恩动力学预备定理证明的依据,即居―凯恩动力学预备定理本质上与拉格朗日法是等价的。同时,式(4.118)右侧包含了式(4.83)左侧各项;表明拉格朗日法与凯恩法的惯性力计算是一致的,即拉格朗日法与凯恩法也是等价的。式(4.118)表明:在拉格朗日方程(4.62)中存在
Figure PCTCN2018112809-appb-003564
重复计算问题。
【2】能量对关节速度及坐标的偏速度
【2-1】若
Figure PCTCN2018112809-appb-003565
并考虑
Figure PCTCN2018112809-appb-003566
及
Figure PCTCN2018112809-appb-003567
仅与闭子树 uL相关,由式(4.62)及式(4.63),得
Figure PCTCN2018112809-appb-003568
Figure PCTCN2018112809-appb-003569
Figure PCTCN2018112809-appb-003570
【2-2】若
Figure PCTCN2018112809-appb-003571
并考虑
Figure PCTCN2018112809-appb-003572
及
Figure PCTCN2018112809-appb-003573
仅与闭子树 uL相关,由式(4.62)及式(4.63),得
Figure PCTCN2018112809-appb-003574
Figure PCTCN2018112809-appb-003575
Figure PCTCN2018112809-appb-003576
至此,已完成能量对关节速度及坐标的偏速度计算。
【3】求对时间的导数
【3-1】若
Figure PCTCN2018112809-appb-003577
由式(4.117)、式(4.119)及式(4.120)得
Figure PCTCN2018112809-appb-003578
【3-2】若
Figure PCTCN2018112809-appb-003579
由式(4.117)、式(4.122)及式(4.123)得
Figure PCTCN2018112809-appb-003580
至此,已完成对时间t的求导。
【4】Ju-Kane动力学预备定理
将式(4.121)、式(4.124)、式(4.125)及式(4.126)代入式(4.118)得定理4.1,表述如下:
定理4.1:给定多轴刚体系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-003581
除了重力外,作用于轴u的合外力及力矩分别记为
Figure PCTCN2018112809-appb-003582
及 i|Dτ u;轴k的质量及质心转动惯量分别记为m k及
Figure PCTCN2018112809-appb-003583
轴k的重力加速度为
Figure PCTCN2018112809-appb-003584
则轴u的Ju-Kane动力学预备方程为
Figure PCTCN2018112809-appb-003585
尽管式(4.127)是根据多轴系统拉格朗日方程(4.64)推导的,式(4.127)与凯恩方程(4.83)有相似之处。因此,称定理4.1为Ju-Kane动力学预备定理。虽然式(4.127)形式上是凯恩方程对两种基本运动副的不同表示,但是二者存在本质的不同;因为式(4.127)具有了树链拓扑结构。
Ju-Kane动力学预备定理应用
示例4.4:继示例4.1及示例4.3,
Figure PCTCN2018112809-appb-003586
应用Ju-Kane预备定理建立该机械臂动力学模型。
解:由式(4.111)得
Figure PCTCN2018112809-appb-003587
式表示(4.128)表示杆1惯性力
Figure PCTCN2018112809-appb-003588
在
Figure PCTCN2018112809-appb-003589
方向的投影。由式(4.112)及式(4.106)得
Figure PCTCN2018112809-appb-003590
由式(4.115)及式(4.107)得
Figure PCTCN2018112809-appb-003591
故有
Figure PCTCN2018112809-appb-003592
由式(4.116)及式(4.108)得
Figure PCTCN2018112809-appb-003593
即
Figure PCTCN2018112809-appb-003594
由式(4.116)及式(4.109)得
Figure PCTCN2018112809-appb-003595
即
Figure PCTCN2018112809-appb-003596
由式(4.131)及式(4.132)得
Figure PCTCN2018112809-appb-003597
式(4.133)表示杆2质心加速度
Figure PCTCN2018112809-appb-003598
在自然坐标
Figure PCTCN2018112809-appb-003599
方向的投影。由式(4.113)得
Figure PCTCN2018112809-appb-003600
由式(4.116)得
Figure PCTCN2018112809-appb-003601
由式(4.134)及式(4.135)得
Figure PCTCN2018112809-appb-003602
式(4.136)表示重力
Figure PCTCN2018112809-appb-003603
在自然坐标
Figure PCTCN2018112809-appb-003604
方向的投影。将式(4.128)、式(4.129)、式(4.130)、式(4.132)、式(4.133)及式(4.136)代入式(4.127)得
Figure PCTCN2018112809-appb-003605
对比式(4.72)及式(4.137)可知,它们完全一致。该例间接证明了Ju-Kane预备定理的正确性。解毕。
示例4.5:继示例4.2,应用Ju-Kane预备定理建立该系统的动力学方程。
解:考虑质点1:
Figure PCTCN2018112809-appb-003606
故有
Figure PCTCN2018112809-appb-003607
Figure PCTCN2018112809-appb-003608
Figure PCTCN2018112809-appb-003609
考虑质点2:
Figure PCTCN2018112809-appb-003610
Figure PCTCN2018112809-appb-003611
Figure PCTCN2018112809-appb-003612
Figure PCTCN2018112809-appb-003613
Figure PCTCN2018112809-appb-003614
Figure PCTCN2018112809-appb-003615
故有
Figure PCTCN2018112809-appb-003616
Figure PCTCN2018112809-appb-003617
Figure PCTCN2018112809-appb-003618
Figure PCTCN2018112809-appb-003619
将上述结果代入Ju-Kane动力学方程(4.127)得
Figure PCTCN2018112809-appb-003620
显然,上式与式(4.85)一致。
树链刚体系统Ju-Kane动力学显式模型
下面,针对Ju-Kane预备定理,解决式(4.127)右侧的 Df k及 Dτ k计算问题,并将式(4.32)至式(4.34)的偏速度代入式(4.127)中;从而建立树链刚体系统Ju-Kane动力学方程。
外力反向迭代
给定由环境i中施力点i S至轴l上点l S的双边外力
Figure PCTCN2018112809-appb-003621
及外力矩 iτ l,它们的瞬时轴功率p ex表示为
Figure PCTCN2018112809-appb-003622
其中:
Figure PCTCN2018112809-appb-003623
及 iτ l不受
Figure PCTCN2018112809-appb-003624
及
Figure PCTCN2018112809-appb-003625
控制,即
Figure PCTCN2018112809-appb-003626
及 iτ l不依赖于
Figure PCTCN2018112809-appb-003627
及
Figure PCTCN2018112809-appb-003628
【1】若k∈ il l,则有
Figure PCTCN2018112809-appb-003629
由式(4.33)及式(4.32)得
Figure PCTCN2018112809-appb-003630
即
Figure PCTCN2018112809-appb-003631
式(4.139)中
Figure PCTCN2018112809-appb-003632
与式(4.20)中
Figure PCTCN2018112809-appb-003633
的链序不同;前者是作用力,后者是运动量,二者是对偶的,具有相反的序。
【2】若k∈ il l,则有
Figure PCTCN2018112809-appb-003634
由式(4.38)及式(4.138)得
Figure PCTCN2018112809-appb-003635
即有
Figure PCTCN2018112809-appb-003636
式(4.139)及式(4.140)表明环境作用于轴k的合外力或力矩等价于闭子树 kL对轴k的合外力或力矩,将式(4.139)及式(4.140)合写为
Figure PCTCN2018112809-appb-003637
至此,解决了外力反向迭代的计算问题。在式(4.141)中,闭子树对轴k的广义力具有可加性;力作用具有双重效应,且是反向迭代的。所谓反向迭代是指:
Figure PCTCN2018112809-appb-003638
是需要通过链节位置矢量迭代的;
Figure PCTCN2018112809-appb-003639
的序与前向运动学
Figure PCTCN2018112809-appb-003640
计算的序相反。
共轴驱动力反向迭代
若轴l是驱动轴,轴l的驱动力及驱动力矩分别为
Figure PCTCN2018112809-appb-003641
及
Figure PCTCN2018112809-appb-003642
则驱动力
Figure PCTCN2018112809-appb-003643
及驱动力矩
Figure PCTCN2018112809-appb-003644
产 生的功率p ac表示为
Figure PCTCN2018112809-appb-003645
【1】由式(4.32)、式(4.33)及式(4.142)得
Figure PCTCN2018112809-appb-003646
即
Figure PCTCN2018112809-appb-003647
若轴u与轴
Figure PCTCN2018112809-appb-003648
共轴,则有
Figure PCTCN2018112809-appb-003649
记
Figure PCTCN2018112809-appb-003650
Figure PCTCN2018112809-appb-003651
因
Figure PCTCN2018112809-appb-003652
与
Figure PCTCN2018112809-appb-003653
无关,由式(4.143)得
Figure PCTCN2018112809-appb-003654
因
Figure PCTCN2018112809-appb-003655
与
Figure PCTCN2018112809-appb-003656
共轴,故有
Figure PCTCN2018112809-appb-003657
【2】由式(4.33)、式(4.32)及式(4.142)得
Figure PCTCN2018112809-appb-003658
即
Figure PCTCN2018112809-appb-003659
若轴u与
Figure PCTCN2018112809-appb-003660
共轴,则有
Figure PCTCN2018112809-appb-003661
记
Figure PCTCN2018112809-appb-003662
由式(4.145)得
Figure PCTCN2018112809-appb-003663
至此,完成了共轴驱动力反向迭代计算问题。
树链刚体系统Ju-Kane动力学显式模型
下面,先陈述树链刚体系统Ju-Kane动力学定理,简称Ju-Kane定理;然后,对之证明。
定理4.2:给定多轴刚体系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-003664
除了重力外,作用于轴u的合外力及力矩在
Figure PCTCN2018112809-appb-003665
上的分量分别记为
Figure PCTCN2018112809-appb-003666
及
Figure PCTCN2018112809-appb-003667
轴k的质量及质心转动惯量分别记为m k及
Figure PCTCN2018112809-appb-003668
轴k的重力加速度为
Figure PCTCN2018112809-appb-003669
驱动轴u的双边驱动力及驱动力矩在
Figure PCTCN2018112809-appb-003670
上的分量分别记为
Figure PCTCN2018112809-appb-003671
及
Figure PCTCN2018112809-appb-003672
环境i对轴l的力及力矩分别为
Figure PCTCN2018112809-appb-003673
及 iτ l;则轴u树链Ju-Kane动力学方程为
Figure PCTCN2018112809-appb-003674
其中:
Figure PCTCN2018112809-appb-003675
及
Figure PCTCN2018112809-appb-003676
是3×3的分块矩阵,
Figure PCTCN2018112809-appb-003677
及
Figure PCTCN2018112809-appb-003678
是3D矢量。且有,
Figure PCTCN2018112809-appb-003679
Figure PCTCN2018112809-appb-003680
Figure PCTCN2018112809-appb-003681
Figure PCTCN2018112809-appb-003682
Figure PCTCN2018112809-appb-003683
Figure PCTCN2018112809-appb-003684
证明:记
Figure PCTCN2018112809-appb-003685
故有
Figure PCTCN2018112809-appb-003686
由式(4.139)、式(4.140)、式(4.144)、式(4.146)及式(4.154)得式(4.153)。将式(4.33),式(4.32)及式(4.34)代入Ju-Kane动力学预备方程(4.127)得
Figure PCTCN2018112809-appb-003687
由式(4.20)得
Figure PCTCN2018112809-appb-003688
考虑式(4.156),则有
Figure PCTCN2018112809-appb-003689
同样,考虑式(4.156),得
Figure PCTCN2018112809-appb-003690
将式(4.156)至式(4.158)代入式(4.155)得式(4.147)至式(4.152)。证毕。
对于纯转动轴系统,由式(4.152)得
Figure PCTCN2018112809-appb-003691
由式(4.159)可知,对于纯转动轴系统,相对质心轴的转动(自然转动)通过陀螺力矩可以交换但不消耗系统能量。
树链刚体系统Ju-Kane动力学建模示例
示例4.6:请参照图47,给定如图47所示的通用3R机械臂,A=(i,1,2,3];应用树链Ju-Kane动力学定理建立其动力学方程,并得到广义惯性矩阵。
解:步骤1 建立基于轴不变量的迭代式运动方程。
由式(4.8)得
Figure PCTCN2018112809-appb-003692
由式(4.12)及式(4.160)得
Figure PCTCN2018112809-appb-003693
由式(4.16),式(4.160)及式(4.161)得
Figure PCTCN2018112809-appb-003694
由式(4.17)及式(4.161)得
Figure PCTCN2018112809-appb-003695
由式(4.18)、式(4.161)及式(4.163)得
Figure PCTCN2018112809-appb-003696
由式(4.19)及式(4.161)得
Figure PCTCN2018112809-appb-003697
由式(4.25)及式(4.161)得
Figure PCTCN2018112809-appb-003698
步骤2 建立动力学方程。先建立第1轴的动力学方程。由式(4.150)得
Figure PCTCN2018112809-appb-003699
由式(4.152)得
Figure PCTCN2018112809-appb-003700
由式(4.167)及式(4.168)得第1轴的动力学方程,
Figure PCTCN2018112809-appb-003701
建立第2轴的动力学方程。由式(4.150)得
Figure PCTCN2018112809-appb-003702
由式(4.152)得
Figure PCTCN2018112809-appb-003703
由式(4.170)及式(4.171)得第2轴的动力学方程,
Figure PCTCN2018112809-appb-003704
最后,建立第3轴的动力学方程。由式(4.150)得
Figure PCTCN2018112809-appb-003705
由式(4.152)得
Figure PCTCN2018112809-appb-003706
由式(4.173)及式(4.174)得第3轴的动力学方程,
Figure PCTCN2018112809-appb-003707
由式(4.167),式(4.169)及式(4.173)得广义质量阵。
Figure PCTCN2018112809-appb-003708
解毕。
由示例4.6可知,只要程式化地将系统的拓扑、结构参数、质惯量等参数代入式(4.149)至式(4.153)可以完成动力学建模。通过编程,很容易地实现Ju-Kane动力学方程。因后续的树链Ju-Kane规范方程是以Ju-Kane动力学方程推导的,树链Ju-Kane动力学方程的有效性可由Ju-Kane规范型实例证明。
树链刚体系统Ju-Kane动力学规范型
在建立系统动力学方程后,紧接着就是方程求解的问题。显然,动力学方程的逆问题在上一节已得到解决。在动力学系统仿真时,通常给定环境作用的广义力及驱动轴的广义驱动力,需要求解动力学系统的加速度;这是动力学方程求解的正问题。在求解前,首先需要得到式示例4.2所示的规范方程。
显然,规范化过程就是将所有关节加速度项进行合并的过程;从而,得到关节加速度的系数。将该问题分解为运动链的规范型及闭子树的规范型两个子问题。
运动链的规范型
将式(4.149)及式(4.150)中关节加速度项的前向迭代过程转化为反向求和过程,以便后续应用;显然,含有6种不同类型的加速度项;分别予以处理。
【1】给定运动链
Figure PCTCN2018112809-appb-003709
则有
Figure PCTCN2018112809-appb-003710
证明:
Figure PCTCN2018112809-appb-003711
证毕。
【2】给定运动链
Figure PCTCN2018112809-appb-003712
则有
Figure PCTCN2018112809-appb-003713
证明:因
Figure PCTCN2018112809-appb-003714
故得
Figure PCTCN2018112809-appb-003715
证毕。
【3】给定运动链
Figure PCTCN2018112809-appb-003716
则有
Figure PCTCN2018112809-appb-003717
证明:因
Figure PCTCN2018112809-appb-003718
故有
Figure PCTCN2018112809-appb-003719
证毕。
【4】给定运动链
Figure PCTCN2018112809-appb-003720
则有
Figure PCTCN2018112809-appb-003721
证明:考虑
Figure PCTCN2018112809-appb-003722
将式(4.177)代入式(4.180)左侧得
Figure PCTCN2018112809-appb-003723
证毕。
【5】给定运动链
Figure PCTCN2018112809-appb-003724
则有
Figure PCTCN2018112809-appb-003725
证明:考虑
Figure PCTCN2018112809-appb-003726
将式(4.177)代入式(4.181)左侧得
Figure PCTCN2018112809-appb-003727
证毕。
【6】给定运动链
Figure PCTCN2018112809-appb-003728
则有
Figure PCTCN2018112809-appb-003729
证明:因
Figure PCTCN2018112809-appb-003730
故有
Figure PCTCN2018112809-appb-003731
证毕。
闭子树的规范型
因闭子树 uL中的广义力具有可加性;因此闭子树的节点有唯一一条至根的运动链,式(4.178)至式(4.182)的运动链 il n可以被 uL替换。由式(4.178)得
Figure PCTCN2018112809-appb-003732
由式(4.179)得
Figure PCTCN2018112809-appb-003733
由式(4.180)得
Figure PCTCN2018112809-appb-003734
由式(4.181)得
Figure PCTCN2018112809-appb-003735
由式(4.182)得
Figure PCTCN2018112809-appb-003736
至此,已具备建立规范型的前提条件。
树链刚体系统Ju-Kane动力学规范方程
下面,应用第一部分的结论,建立树结构刚体系统的Ju-Kane规范化动力学方程。为表达方便,首先定义
Figure PCTCN2018112809-appb-003737
然后,应用式(4.183)至(4.187),将式(4.149)及式(4.150)表达为规范型。
【1】式(4.149)的规范型为
Figure PCTCN2018112809-appb-003738
证明:由式(4.22)及式(4.149)得
Figure PCTCN2018112809-appb-003739
由式(4.19)及式(4.190)得
Figure PCTCN2018112809-appb-003740
将式(4.185)代入式(4.190)右侧前一项得
Figure PCTCN2018112809-appb-003741
将式(4.184)代入式(4.191)右侧后一项得
Figure PCTCN2018112809-appb-003742
将式(4.192)及式(4.193)代入式(4.191)得
Figure PCTCN2018112809-appb-003743
对于刚体k,有
Figure PCTCN2018112809-appb-003744
由式(4.148)、式(4.188)及式(4.194)得式(4.189)。
证毕。
【2】式(4.150)的规范型为
Figure PCTCN2018112809-appb-003745
证明:由式(4.150)得
Figure PCTCN2018112809-appb-003746
将式(4.183)代入式右侧前一项(4.196)得
Figure PCTCN2018112809-appb-003747
将式(4.186)代入式(4.196)右侧后一项得
Figure PCTCN2018112809-appb-003748
将式(4.187)代入式(4.196)右侧中间一项得
Figure PCTCN2018112809-appb-003749
将式(4.197),式(4.198)及式(4.199)代入式(4.197)得
Figure PCTCN2018112809-appb-003750
对于刚体k,有
Figure PCTCN2018112809-appb-003751
由式(4.148),式(4.188)及式(4.200)得式(4.195)。
证毕。
【3】应用式(4.189)及式(4.195),将Ju-Kane定理重新表述为如下树链Ju-Kane规范型定理。
定理4.3:给定多轴刚体系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-003752
除了重力外,作用于轴u的合外力及力矩在
Figure PCTCN2018112809-appb-003753
上的分量分别记为
Figure PCTCN2018112809-appb-003754
及
Figure PCTCN2018112809-appb-003755
轴k的质量及质心转动惯量分别记为m k及
Figure PCTCN2018112809-appb-003756
轴k的重力加速度为
Figure PCTCN2018112809-appb-003757
驱动轴u的双边驱动力及驱动力矩在
Figure PCTCN2018112809-appb-003758
上的分量分别记为
Figure PCTCN2018112809-appb-003759
及
Figure PCTCN2018112809-appb-003760
环境i对轴l的作用力及力矩分别为
Figure PCTCN2018112809-appb-003761
及 iτ l;则轴u的Ju-Kane动力学规范方程为
Figure PCTCN2018112809-appb-003762
其中:
Figure PCTCN2018112809-appb-003763
及
Figure PCTCN2018112809-appb-003764
是3×3的分块矩阵,
Figure PCTCN2018112809-appb-003765
及
Figure PCTCN2018112809-appb-003766
是3D矢量。并且,
Figure PCTCN2018112809-appb-003767
Figure PCTCN2018112809-appb-003768
Figure PCTCN2018112809-appb-003769
Figure PCTCN2018112809-appb-003770
Figure PCTCN2018112809-appb-003771
Figure PCTCN2018112809-appb-003772
若多轴刚体系统D={A,K,T,NT,F,B}仅包含转动轴,
Figure PCTCN2018112809-appb-003773
则式(4.206)可简化为
Figure PCTCN2018112809-appb-003774
树链刚体系统Ju-Kane动力学规范方程应用
示例4.7:应用Ju-Kane规范型定理建立示例4.1所示的平面2R机械臂动力学方程;并证明两种方程的等价性。
步骤1建立基于轴不变量的迭代式运动学方程。分别建立轴不变量,DCM,位置、平动速度及转动速度表达式,参见式(4.87)至式(4.105);步骤2由式(4.65),式(4.87)至式(4.105)及式(4.208)得
Figure PCTCN2018112809-appb-003775
Figure PCTCN2018112809-appb-003776
由式(4.209)及式(4.210)得
Figure PCTCN2018112809-appb-003777
由式(4.205)得
Figure PCTCN2018112809-appb-003778
Figure PCTCN2018112809-appb-003779
证明:由(4.87),式(4.96),式(4.99)得
Figure PCTCN2018112809-appb-003780
由式(4.65),(4.87),式(4.99)及式(4.100)得
Figure PCTCN2018112809-appb-003781
Figure PCTCN2018112809-appb-003782
由(4.87),式(4.99),式(4.101)至式(4.105)得
Figure PCTCN2018112809-appb-003783
Figure PCTCN2018112809-appb-003784
由(4.87),式(4.98)及式(4.89)得
Figure PCTCN2018112809-appb-003785
由(4.87),式(4.96)及式(4.89)得
Figure PCTCN2018112809-appb-003786
将式(4.214)至式(4.225)代入式(4.212)得
Figure PCTCN2018112809-appb-003787
由(4.87),式(4.95),式(4.101)至式(4.105)得
Figure PCTCN2018112809-appb-003788
由(4.87),式(4.95),(4.97),式(4.101)至式(4.105)得
Figure PCTCN2018112809-appb-003789
由(4.87),式(4.65),式(4.100)得
Figure PCTCN2018112809-appb-003790
由(4.87),式(4.89),式(4.95)得
Figure PCTCN2018112809-appb-003791
将式(4.222)至式(4.225)代入式(4.213)得
Figure PCTCN2018112809-appb-003792
由式(4.201),式(4.211),式(4.213)及式(4.226)得该系统动力学方程
Figure PCTCN2018112809-appb-003793
对比式(4.72)及式(4.227),两组方程一样。显然,证明过程冗长,原因在于该2R机械臂具有特定的结构参数;Ju-Kane动力学规范方程是针对通用构型与结构参数的。证毕。
示例4.8:应用Ju-Kane规范型定理建立示例4.2所示系统的动力学模型,并证明两种方程的等价性。
解:步骤1建立基于轴不变量的迭代式动力学方程DCM,位置,平动速度及转动速度表达式,参见示例4.2。步骤2由式(4.202)至式(4.206)可得
Figure PCTCN2018112809-appb-003794
Figure PCTCN2018112809-appb-003795
Figure PCTCN2018112809-appb-003796
Figure PCTCN2018112809-appb-003797
步骤3由式(4.207)求合外力及合外力矩
Figure PCTCN2018112809-appb-003798
Figure PCTCN2018112809-appb-003799
步骤4由式(4.201)整理可得,
Figure PCTCN2018112809-appb-003800
显然,上式与式(4.85)一致。
示例4.8:继示例4.6,应用Ju-Kane动力学规范方程得该系统的广义质量矩阵,并判别是否与应用Ju-Kane定理得到的广义质量矩阵一样。
解:由式(4.208)得
Figure PCTCN2018112809-appb-003801
Figure PCTCN2018112809-appb-003802
Figure PCTCN2018112809-appb-003803
由式(4.228),式(4.229)及式(4.230)得(4.176)。间接证明了Ju-Kane规范型的正确性。
示例4.9:给定6R机械臂系统D={A,K,T,NT,F,B},A=(i,1,2,3,4,5,6],
Figure PCTCN2018112809-appb-003804
不可检测的环境作用力记为
Figure PCTCN2018112809-appb-003805
各轴驱动力力矩为
Figure PCTCN2018112809-appb-003806
应用式(4.207)计算各轴的外部作用力矩
Figure PCTCN2018112809-appb-003807
解:因
Figure PCTCN2018112809-appb-003808
不可检测,在力位控制中,需要通过驱动轴的力控制予以抵消;故期望通过动力方程进行解算得到驱动轴的总控制力矩。由式(4.207)得
Figure PCTCN2018112809-appb-003809
其中:
Figure PCTCN2018112809-appb-003810
为u轴合力矩,
Figure PCTCN2018112809-appb-003811
为驱动轴的驱动力矩。解毕。
轴链刚体惯性矩阵
将根据运动轴类型及3D自然坐标系表达的刚体运动链广义惯性矩阵称为轴链刚体惯性矩阵,简称为轴链惯性矩阵。由式(4.244)及式(4.247)得
Figure PCTCN2018112809-appb-003812
Figure PCTCN2018112809-appb-003813
由式(4.232)及式(4.233)可知,上述轴链惯性矩阵是3×3的矩阵,其大小比与传统的6×6广义惯性矩阵小了4倍;相应地,求逆的复杂度也比传统的惯性矩阵小4倍。
闭子树 uL的能量
Figure PCTCN2018112809-appb-003814
表达为
Figure PCTCN2018112809-appb-003815
若
Figure PCTCN2018112809-appb-003816
l∈ uL,则由式(4.32)至式(4.34)及式(4.234)得
Figure PCTCN2018112809-appb-003817
Figure PCTCN2018112809-appb-003818
若
Figure PCTCN2018112809-appb-003819
l∈ uL,,则由式(4.32)至式(4.34)及式(4.234)得
Figure PCTCN2018112809-appb-003820
Figure PCTCN2018112809-appb-003821
令
Figure PCTCN2018112809-appb-003822
Figure PCTCN2018112809-appb-003823
且有
Figure PCTCN2018112809-appb-003824
因此,M [u][k]可记为
Figure PCTCN2018112809-appb-003825
式中(4.242)M [u][k]是3×3的轴链惯性矩阵(AGIM),称δ k为运动轴属性符。
轴链刚体广义惯性矩阵特点
给定多轴刚体系统D={A,K,T,NT,F,B},
Figure PCTCN2018112809-appb-003826
il n=(i,…,l,…,u,…n],k∈ uL;该系统轴链刚体惯性矩阵在所有运动副类型相同的情况下具有对称性,即有
Figure PCTCN2018112809-appb-003827
证明:显然,有u≥l。
若
Figure PCTCN2018112809-appb-003828
由式(4.203)得
Figure PCTCN2018112809-appb-003829
Figure PCTCN2018112809-appb-003830
由式(4.244)及式(4.245)得
Figure PCTCN2018112809-appb-003831
若
Figure PCTCN2018112809-appb-003832
由式(4.206)得,若
Figure PCTCN2018112809-appb-003833
得
Figure PCTCN2018112809-appb-003834
Figure PCTCN2018112809-appb-003835
由式(4.247),式(4.248)及式
Figure PCTCN2018112809-appb-003836
若
Figure PCTCN2018112809-appb-003837
得
Figure PCTCN2018112809-appb-003838
记|A|=a,将轴数为a的系统广义惯性矩阵记为M 3a×3a。由式(4.243)得
Figure PCTCN2018112809-appb-003839
式(4.250)中轴链刚体惯性矩阵M 3a×3a具有对称性,其元素即轴链惯性矩阵是3×3的矩阵;给定多轴刚体系统D={A,K,T,NT,F,B},
Figure PCTCN2018112809-appb-003840
轴链刚体惯性矩阵元素具有以下特点:
【1】若
Figure PCTCN2018112809-appb-003841
由式(4.203)可知
Figure PCTCN2018112809-appb-003842
及
Figure PCTCN2018112809-appb-003843
是对称矩阵;
【2】若
Figure PCTCN2018112809-appb-003844
由式(4.206)可知
Figure PCTCN2018112809-appb-003845
及
Figure PCTCN2018112809-appb-003846
是对称矩阵;
【3】若
Figure PCTCN2018112809-appb-003847
由式(4.206)可知
Figure PCTCN2018112809-appb-003848
是反对称矩阵;
由上可知,轴链惯性矩阵的元素不一定具有对称性。
给定运动链
Figure PCTCN2018112809-appb-003849
笛卡尔坐标轴序列记为
Figure PCTCN2018112809-appb-003850
其中:
Figure PCTCN2018112809-appb-003851
为转动轴序列,
Figure PCTCN2018112809-appb-003852
为平动轴序列,且有
Figure PCTCN2018112809-appb-003853
Figure PCTCN2018112809-appb-003854
自然坐标序列为
Figure PCTCN2018112809-appb-003855
由式(4.203)得
Figure PCTCN2018112809-appb-003856
显然,有u= uL,m l=0,
Figure PCTCN2018112809-appb-003857
由上式得
Figure PCTCN2018112809-appb-003858
显然,刚体坐标轴惯性矩阵与6D惯性矩阵不同,但二者等价。
轴链刚体系统广义惯性矩阵
将根据运动轴类型及自然参考轴表达的刚体运动链广义惯性矩阵称为轴链刚体广义惯性矩阵,简称轴链广义惯性矩阵。
定义正交补矩阵
Figure PCTCN2018112809-appb-003859
及对应的叉乘矩阵
Figure PCTCN2018112809-appb-003860
Figure PCTCN2018112809-appb-003861
Figure PCTCN2018112809-appb-003862
由式(4.252)得
Figure PCTCN2018112809-appb-003863
Figure PCTCN2018112809-appb-003864
考虑由式(4.35)得到的
Figure PCTCN2018112809-appb-003865
及式(4.255)得
Figure PCTCN2018112809-appb-003866
显然,
Figure PCTCN2018112809-appb-003867
是对称矩阵。
由式(4.250)得
Figure PCTCN2018112809-appb-003868
式(4.257)表明
Figure PCTCN2018112809-appb-003869
具有对称性;称之为轴链广义惯性矩阵。
由式(4.244)及式(4.245)、式(4.247)及式(4.248),
Figure PCTCN2018112809-appb-003870
的计算复杂度与闭子数 kL的轴数成 正比。故有
Figure PCTCN2018112809-appb-003871
对于轴链广义惯性矩阵,由式(4.258)及式(4.250)可得如下结论:
【1】若由单颗CPU计算
Figure PCTCN2018112809-appb-003872
则有
Figure PCTCN2018112809-appb-003873
【2】若由a颗CPU或GPU并行计算
Figure PCTCN2018112809-appb-003874
则有
Figure PCTCN2018112809-appb-003875
树链刚体系统Ju-Kane动力学方程正解
现在探讨如何得到树链刚体系统Ju-Kane动力学方程正解。动力学方程的正解是给定驱动力时根据动力学方程求关节加速度或惯性加速度。
给定多轴刚体系统D={A,K,T,NT,F,B},
Figure PCTCN2018112809-appb-003876
将系统中各轴动力学方程(4.201)按行排列;将重排后的轴驱动广义力及不可测的环境作用力记为f C,可测的环境广义作用力记为f i;将系统对应的关节加速度序列记为
Figure PCTCN2018112809-appb-003877
将重排后的
Figure PCTCN2018112809-appb-003878
记为h;考虑式(4.252);则该系统动力学方程为
Figure PCTCN2018112809-appb-003879
由式(4.259)得
Figure PCTCN2018112809-appb-003880
其中,
Figure PCTCN2018112809-appb-003881
由式(4.259)得
Figure PCTCN2018112809-appb-003882
关键是如何计算(4.262)中的轴链广义惯性矩阵的逆即
Figure PCTCN2018112809-appb-003883
若应用枢轴方法蛮力计算
Figure PCTCN2018112809-appb-003884
显然,即使对于轴数不是很多的多轴系统,计算代价也极大。故该方法不宜使用。
由式(4.257)知轴链广义惯性矩阵
Figure PCTCN2018112809-appb-003885
是对称矩阵,且因系统能量
Figure PCTCN2018112809-appb-003886
大于零,故其是正定矩阵。有效的
Figure PCTCN2018112809-appb-003887
计算过程如下:
【1】首先,对其进行LDL T分解,
Figure PCTCN2018112809-appb-003888
其中,
Figure PCTCN2018112809-appb-003889
是唯一存在的下三角矩阵,D a×a是对角矩阵。
【1-1】若由单颗CPU计算进行LDL T分解,则分解复杂度为O(a 2);
【1-2】若由a颗CPU或GPU并行分解
Figure PCTCN2018112809-appb-003890
则分解复杂度为O(a);
【2】应用式(4.264)计算
Figure PCTCN2018112809-appb-003891
Figure PCTCN2018112809-appb-003892
将式(4.264)代入式(4.262)得
Figure PCTCN2018112809-appb-003893
至此,得到树链刚体系统Ju-Kane动力学方程正解。它具有以下特点:
【2-1】基于Ju-Kane规范型的式(4.263)中轴链广义惯性矩阵
Figure PCTCN2018112809-appb-003894
大小仅是6D双矢量空间的广义惯性矩阵
Figure PCTCN2018112809-appb-003895
的1/4,
Figure PCTCN2018112809-appb-003896
的LDL T分解速度得到大幅度提升。同时,式(4.265)中f C、f i及h都是关于轴不变量的迭代式,可以保证
Figure PCTCN2018112809-appb-003897
求解的实时性与精确性;Ju-Kane规范型具有公理化的理论基础,物理内涵清晰;而基于6D空间操作算子的多体系统动力学以整体式的关联矩阵为基础,无论是建模过程还是正解过程较Ju-Kane规范型系统建模与求解过程都很抽象。特别是借鉴卡尔曼滤波及平滑的理论建立的动力学迭代方法,缺乏严谨的公理化分析证明。
【2-2】式(4.263)中的轴链广义惯性矩阵
Figure PCTCN2018112809-appb-003898
式(4.265)中f C、f i及h都可以根据系统结构动态更新,可以保证工程应用的灵活性。
【2-3】式(4.263)中轴链广义惯性矩阵
Figure PCTCN2018112809-appb-003899
及式(4.265)中f C、f i及h具有简洁、优雅的链指标系统;同时,具有软件实现的伪代码功能,可以保证工程实现的质量。
【2-4】因坐标系及轴的极性可以根据工程需要设置,动力学仿真分析的输出结果不必做中间转换,提高了应用方便性与后处理的效率。
树链刚体系统Ju-Kane动力学方程逆解
动力学方程的逆解是指已知动力学运动状态、结构参数及质惯性,求解驱动力或驱动力矩。考虑式(4.201)及式(4.207)得
Figure PCTCN2018112809-appb-003900
当已知关节位形、速度及加速度时,由式(4.147)得 i|Df u及 i|Dτ u。进一步,若外力及外力矩 已知,则由式(4.266)求解驱动力
Figure PCTCN2018112809-appb-003901
及驱动力矩
Figure PCTCN2018112809-appb-003902
显然,动力学方程的逆解计算复杂度正比于系统轴数|A|。
尽管动力学逆解计算很简单,但它对于多轴系统实时力控制具有非常重要的作用。当多轴系统自由度较高时,实时动力学计算常常是一个重要瓶颈,因为力控制的动态响应通常要求比运动控制的动态响应的频率高5至10倍。一方面,由于轴链惯性矩阵
Figure PCTCN2018112809-appb-003903
不仅对称,而且大小仅是传统的体链惯性矩阵
Figure PCTCN2018112809-appb-003904
的1/4,由式(4.261)计算轴链广义惯性矩阵
Figure PCTCN2018112809-appb-003905
时计算量要小很多。另一方面,由式(4.260)计算运动轴轴向惯性力
Figure PCTCN2018112809-appb-003906
的计算量仅是牛顿欧拉法的1/36。
闭链刚体系统的Ju-Kane动力学符号模型
前面讨论了刚体系统的动力学建模问题,它们是以理想约束副及树链拓扑为前提的。
闭链刚体系统也具有非常广泛的应用;比如,CE3巡视器的摇臂移动系统是具有差速器的闭链,重载机械臂通常是具有四连杆的闭链系统。同时,实际的运动轴通常包含内摩擦力及粘滞力。本节首先研究闭链刚体系统的Ju-Kane动力学;然后,解决运动轴约束力求解问题,再讨论运动轴内摩擦力及粘滞力问题;最后,建立闭链刚体非理想约束系统的Ju-Kane动力学方程。
闭链刚体系统的Ju-Kane动力学方程
下面,先陈述闭链刚体系统的Ju-Kane动力学定理;然后,予以证明。
定理4.4:给定多轴刚体系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-003907
除了重力外,作用于轴u的合外力及力矩在
Figure PCTCN2018112809-appb-003908
上的分量分别记为
Figure PCTCN2018112809-appb-003909
及
Figure PCTCN2018112809-appb-003910
轴k的质量及质心转动惯量分别记为m k及
Figure PCTCN2018112809-appb-003911
轴k的重力加速度为
Figure PCTCN2018112809-appb-003912
驱动轴u的双边驱动力及驱动力矩在
Figure PCTCN2018112809-appb-003913
上的分量分别记为
Figure PCTCN2018112809-appb-003914
及
Figure PCTCN2018112809-appb-003915
环境i对轴l的作用力及作用力矩分别为
Figure PCTCN2018112809-appb-003916
及 iτ l;轴u对轴u′的广义约束力记为
Figure PCTCN2018112809-appb-003917
则有闭链刚体系统的Ju-Kane动力学方程:
【1】轴u及轴u′的Ju-Kane动力学规范方程分别为
Figure PCTCN2018112809-appb-003918
Figure PCTCN2018112809-appb-003919
【2】非树约束副 uk u′的约束代数方程为
Figure PCTCN2018112809-appb-003920
Figure PCTCN2018112809-appb-003921
Figure PCTCN2018112809-appb-003922
Figure PCTCN2018112809-appb-003923
其中:
Figure PCTCN2018112809-appb-003924
Figure PCTCN2018112809-appb-003925
Figure PCTCN2018112809-appb-003926
Figure PCTCN2018112809-appb-003927
Figure PCTCN2018112809-appb-003928
其它,参见式(4.202)至式(4.207)。
证明:非树约束副
Figure PCTCN2018112809-appb-003929
保持约束点u S及u′ S一致,故有
Figure PCTCN2018112809-appb-003930
由式(4.278)得
Figure PCTCN2018112809-appb-003931
轴u对轴u′在约束轴方向上的广义约束力
Figure PCTCN2018112809-appb-003932
及轴u′对轴u在约束轴方向上的广义约束力
Figure PCTCN2018112809-appb-003933
的功率分别为
Figure PCTCN2018112809-appb-003934
由式(4.279)及式(4.280)得
Figure PCTCN2018112809-appb-003935
由式(4.279)得
Figure PCTCN2018112809-appb-003936
Figure PCTCN2018112809-appb-003937
Figure PCTCN2018112809-appb-003938
Figure PCTCN2018112809-appb-003939
由式(4.32)及式(4.282)得
Figure PCTCN2018112809-appb-003940
故有
Figure PCTCN2018112809-appb-003941
由式(4.274)及式(4.286)得式(4.269)。由式(4.33)及式(4.283)得
Figure PCTCN2018112809-appb-003942
由式(4.275)及式(4.287)得式(4.270)。由式(4.33)及式(4.284)得
Figure PCTCN2018112809-appb-003943
由式(4.276)及式(4.288)得式(4.271)。由式(4.33)及式(4.285)得
Figure PCTCN2018112809-appb-003944
由式(4.277)及式(4.289)得(4.272)。由式(4.32),式(4.280)及式(4.274)得
Figure PCTCN2018112809-appb-003945
Figure PCTCN2018112809-appb-003946
广义约束力
Figure PCTCN2018112809-appb-003947
及
Figure PCTCN2018112809-appb-003948
是矢量,由式(4.290)及式(4.291)得式(4.273)。由此可知,偏速度主要应用于力的反向迭代。广义约束力
Figure PCTCN2018112809-appb-003949
及
Figure PCTCN2018112809-appb-003950
视为外力,由定理4.3得式(4.267)及式(4.268)。
以关节空间自然轴链为基础的的Ju-Kane闭链刚体动力学克服了笛卡尔坐标轴链空间的局限:
【1】在基于笛卡尔坐标轴链的牛顿欧拉动力学中,非树运动副 uk u′∈P约束不能表达
Figure PCTCN2018112809-appb-003951
及
Figure PCTCN2018112809-appb-003952
或
Figure PCTCN2018112809-appb-003953
及
Figure PCTCN2018112809-appb-003954
的情形,即不能表达齿条与齿轮、蜗轮与蜗杆等约束。 而式(4.269)至式(4.272)可表达任一种约束类形,并且物理内涵明晰;
【2】在基于笛卡尔坐标轴链的牛顿欧拉动力学当中,非树运动副代数约束方程是6D的;式(4.269)至式(4.272)表示是3D非树运动副代数约束方程,从而降低了系统方程求解的复杂度;
【3】在基于笛卡尔坐标轴链的牛顿欧拉动力学当中,非树运动副代数约束方程是关于6D矢量空间绝对加速度的,是关于关节坐标、关节速度的迭代式,具有累积误差;而式(4.269)至式(4.272)是关于关节加速度的,保证了约束方程的准确性。
基于轴不变量的约束力求解
对于无功率损耗的运动轴u,记其约束力及约束力矩矢量分别为
Figure PCTCN2018112809-appb-003955
显然,有
Figure PCTCN2018112809-appb-003956
由式(4.201)及式(4.262)计算得
Figure PCTCN2018112809-appb-003957
式(4.292)表示运动轴矢量与运动轴约束力具有自然正交补(Natural Orthogonal Complement)的关系。
若
Figure PCTCN2018112809-appb-003958
及
Figure PCTCN2018112809-appb-003959
为运动副
Figure PCTCN2018112809-appb-003960
的两个正交约束轴,且约束轴与运动轴正交,即
Figure PCTCN2018112809-appb-003961
记
Figure PCTCN2018112809-appb-003962
为约束轴轴矢量,
Figure PCTCN2018112809-appb-003963
替换式(4.201)中
Figure PCTCN2018112809-appb-003964
重新计算得
Figure PCTCN2018112809-appb-003965
其中:
Figure PCTCN2018112809-appb-003966
Figure PCTCN2018112809-appb-003967
在完成前向动力学正解后,根据已计算的关节加速度
Figure PCTCN2018112809-appb-003968
由式(4.294)可以得到关节约束力大小
Figure PCTCN2018112809-appb-003969
约束力矩大小
Figure PCTCN2018112809-appb-003970
当
Figure PCTCN2018112809-appb-003971
时,由式(4.294)得
Figure PCTCN2018112809-appb-003972
且
Figure PCTCN2018112809-appb-003973
式(4.294)中同一时刻具有相同的运动状态及内外力。仅在运动轴向上出现力及力矩的平衡;而在约束轴向,动力学方程不满足,即力与力矩不一定平衡。
由式(4.294)可以得到关节约束力大小
Figure PCTCN2018112809-appb-003974
及
Figure PCTCN2018112809-appb-003975
约束力矩大小
Figure PCTCN2018112809-appb-003976
及
Figure PCTCN2018112809-appb-003977
若记运动轴径向力矢量
Figure PCTCN2018112809-appb-003978
及力矩矢量
Figure PCTCN2018112809-appb-003979
则有
Figure PCTCN2018112809-appb-003980
若记运动轴径向力大小为
Figure PCTCN2018112809-appb-003981
及力矩大小为
Figure PCTCN2018112809-appb-003982
由式(4.297)得
Figure PCTCN2018112809-appb-003983
至此,完成了轴径向约束广义力的计算。
广义内摩擦力及粘滞力计算
在完成轴径向约束广义力的计算后,得到运动轴u的径向约束力大小
Figure PCTCN2018112809-appb-003984
及约束力矩大小
Figure PCTCN2018112809-appb-003985
请参照图48,记运动轴u的内摩擦力大小及内摩擦力矩大小分别为
Figure PCTCN2018112809-appb-003986
及
Figure PCTCN2018112809-appb-003987
运动轴u的粘滞力及粘滞力矩大小分别为
Figure PCTCN2018112809-appb-003988
及
Figure PCTCN2018112809-appb-003989
故有
Figure PCTCN2018112809-appb-003990
Figure PCTCN2018112809-appb-003991
其中: sk [u]─运动轴u的内摩擦系数, ck [u]─运动轴u的粘滞系数。
记广义内摩擦力及粘滞力的合力及合力矩分别为
Figure PCTCN2018112809-appb-003992
由式(4.299)及式(4.300)得
Figure PCTCN2018112809-appb-003993
运动轴的广义内摩擦力及粘滞力是运动轴的内力,因为它们仅存在于运动轴向上,与轴径向约束力总是正交的。当运动轴轴向动态作用力平衡时,无论广义内摩擦力及粘滞力是否存在或大小如何,都不影响动力学系统的运动状态;故而,不影响运动轴的径向约束力。因此,由式(4.294)至式(4.298)计算运动轴u的径向约束力大小
Figure PCTCN2018112809-appb-003994
及约束力矩大小
Figure PCTCN2018112809-appb-003995
时,可以不考虑运动轴的广义内摩擦力及粘滞力。
闭链刚体非理想约束系统的Ju-Kane动力学显式模型
定理4.5:给定多轴刚体系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-003996
除了重力外,作用于轴u的合外力及力矩在
Figure PCTCN2018112809-appb-003997
上的分量分别记为
Figure PCTCN2018112809-appb-003998
及
Figure PCTCN2018112809-appb-003999
轴k的质量及质心转动惯量分别记为m k及
Figure PCTCN2018112809-appb-004000
轴k的重力加速度为
Figure PCTCN2018112809-appb-004001
驱动轴u的双边驱动力及驱动力矩在
Figure PCTCN2018112809-appb-004002
上的分量分别记为
Figure PCTCN2018112809-appb-004003
及
Figure PCTCN2018112809-appb-004004
环境i对轴l的作用力及作用力矩分别为
Figure PCTCN2018112809-appb-004005
及 iτ l;轴u对轴u′的广义约束力记为
Figure PCTCN2018112809-appb-004006
运动轴u的广义内摩擦及粘滞的合力及合力矩分别为
Figure PCTCN2018112809-appb-004007
Figure PCTCN2018112809-appb-004008
则有
【1】闭链刚体系统的Ju-Kane动力学方程,参见式(4.267)至式(4.277)、式(4.202)至式(4.207);
【1-1】应用式(4.262)至式(4.265)计算关节加速度
Figure PCTCN2018112809-appb-004009
【1-2】应用式(4.293)至式(4.298)计算径向约束力大小
Figure PCTCN2018112809-appb-004010
及
Figure PCTCN2018112809-appb-004011
约束力矩大小
Figure PCTCN2018112809-appb-004012
及
Figure PCTCN2018112809-appb-004013
【2】建立如下闭链刚体非理想约束系统的Ju-Kane动力学方程:
【2-1】轴u及轴u′的Ju-Kane动力学规范方程分别为
Figure PCTCN2018112809-appb-004014
Figure PCTCN2018112809-appb-004015
【2-2】非树约束副 uk u′的约束代数方程为
Figure PCTCN2018112809-appb-004016
Figure PCTCN2018112809-appb-004017
Figure PCTCN2018112809-appb-004018
Figure PCTCN2018112809-appb-004019
其它,参见式(4.267)至式(4.277)、式(4.202)至式(4.207)。
证明:运动轴u的内摩擦及粘滞合力
Figure PCTCN2018112809-appb-004020
及合力矩
Figure PCTCN2018112809-appb-004021
是运动轴u的外力,故有式(4.302);运动轴u′的内摩擦及粘滞合力
Figure PCTCN2018112809-appb-004022
及合力矩
Figure PCTCN2018112809-appb-004023
是运动轴u′的外力,故有式(4.303)。其它证明过程与定理4.4相似。证毕。
动基座刚体系统的Ju-Kane动力学规范方程
动基座刚体系统应用领域越来越广泛,包含:空间机械臂、星表巡视器、双足机器人等。下面,先陈述动基座刚体系统的Ju-Kane动力学定理;然后,予以证明;最后,给出三轮移 动系统及CE3巡视器动力学建模示例。
动基座刚体系统的Ju-Kane动力学方程
定理4.6给定多轴刚体移动系统D={A,K,T,NT,F,B},惯性系记为F [i],
Figure PCTCN2018112809-appb-004024
Figure PCTCN2018112809-appb-004025
轴序列为 iA c=(i,c1,c2,c3,c4,c5,c],轴类型序列为 iK c=(X,R,R,R,P,P,P],该运动链为 il c=(i,c1,c2,c3,c4,c5,c];除了重力外,作用于轴u的合外力及力矩在
Figure PCTCN2018112809-appb-004026
上的分量分别为
Figure PCTCN2018112809-appb-004027
及
Figure PCTCN2018112809-appb-004028
轴k的质量及质心转动惯量分别为m k及
Figure PCTCN2018112809-appb-004029
轴k的重力加速度为
Figure PCTCN2018112809-appb-004030
驱动轴u的双边驱动力及驱动力矩在
Figure PCTCN2018112809-appb-004031
上的分量分别为
Figure PCTCN2018112809-appb-004032
及
Figure PCTCN2018112809-appb-004033
环境i对轴l的作用力及作用力矩分别为
Figure PCTCN2018112809-appb-004034
及 iτ l;作用于体c上的合力为 i|Df c及合力矩为 i|Dτ c,记
Figure PCTCN2018112809-appb-004035
Figure PCTCN2018112809-appb-004036
且有
Figure PCTCN2018112809-appb-004037
Figure PCTCN2018112809-appb-004038
则有
Figure PCTCN2018112809-appb-004039
其中:
Figure PCTCN2018112809-appb-004040
表示c的开子树,
Figure PCTCN2018112809-appb-004041
且有:
Figure PCTCN2018112809-appb-004042
Figure PCTCN2018112809-appb-004043
Figure PCTCN2018112809-appb-004044
Figure PCTCN2018112809-appb-004045
其它,参见式(4.204)至式(4.207)。
证明:显然,有
Figure PCTCN2018112809-appb-004046
由式(4.308)及式(4.309)可知,它们确定了轴c的笛卡尔直角坐标系,但三个转动轴序列存在12种。
由式(4.33)得
Figure PCTCN2018112809-appb-004047
由式(4.316)得
Figure PCTCN2018112809-appb-004048
由式(4.317)得
Figure PCTCN2018112809-appb-004049
故有
Figure PCTCN2018112809-appb-004050
Figure PCTCN2018112809-appb-004051
由式(4.203)及式(4.318)得
Figure PCTCN2018112809-appb-004052
由式(4.319)及式(4.321)得(4.313)。由式(4.206)及式(4.318)得
Figure PCTCN2018112809-appb-004053
由式(4.320)及式(4.322)得式(4.314)。证毕。
由定理4.6可知,可以根据需要由式(4.308)确定本体c的笛卡尔体系F [c]三个转动轴的序列,在建立动力学方程后,通过积分完成动力学仿真,直接可以得到所期望的姿态。同时,对于除本体的其它轴,定理4.4、定理4.5同样适应。
基于Ju-Kane的10轴三轮移动系统动力学建模及逆解
本节阐述基于Ju-Kane的三轮移动系统动力学建模及逆解问题。
示例4.10:给定三轮移动系统D={A,K,T,NT,F,B},请参照图49,轴1、轴2及轴3驱动车轮,轴3驱动舵机;轴序列为A=(i,c1,c2,c3,c4,c5,c,1,2,3,4],父轴序列为
Figure PCTCN2018112809-appb-004054
轴l的质量及质心转动惯量分别为m l及
Figure PCTCN2018112809-appb-004055
l∈[c,1,2,3,4]。应用定理4.6建立各轴的动力学方程。
解:步骤1显然,|A|=4,|B|=5,|NT|=|O|=3,代入式(4.43),得DOF(D)=10。由式(4.41)、式(4.42)及式(4.44)得DOM(D)=10-2·FD(W NS)-1·FD(W S)=3。故该系统D在自然路面上静定。
步骤2基于轴不变量的正向运动学计算
由式(4.8)得
Figure PCTCN2018112809-appb-004056
由式(4.12)及式(4.8)计算
Figure PCTCN2018112809-appb-004057
由式(4.16)计算
Figure PCTCN2018112809-appb-004058
由式(4.17)计算
Figure PCTCN2018112809-appb-004059
考虑
Figure PCTCN2018112809-appb-004060
及
Figure PCTCN2018112809-appb-004061
其中l=[c,1,2,3,4];由式(4.161)计算
Figure PCTCN2018112809-appb-004062
由式(4.25)计算
Figure PCTCN2018112809-appb-004063
步骤3建立Ju-Kane动力学规范方程
由式(4.313)及式(4.314)得
Figure PCTCN2018112809-appb-004064
由式(4.204)及式(4.205)分别计算
Figure PCTCN2018112809-appb-004065
及
Figure PCTCN2018112809-appb-004066
代入式(4.310)得
Figure PCTCN2018112809-appb-004067
由式(4.208),式(4.205)及式(4.201)得
Figure PCTCN2018112809-appb-004068
至此,获得全部10个轴的动力学方程。
步骤4进行力反向迭代
由式(4.39)、式(4.40)及(4.207)得
Figure PCTCN2018112809-appb-004069
Figure PCTCN2018112809-appb-004070
若仅考虑轮土作用力及主动轴驱动力,则由式(4.207)得
Figure PCTCN2018112809-appb-004071
步骤5计算动力学方程逆解
将式(4.331)至式(4.333)写为整体形式
f 10×1=B 10×10·u 10×1;       (4.334)
其中:
Figure PCTCN2018112809-appb-004072
给定
Figure PCTCN2018112809-appb-004073
由式(4.329)及式(4.330)计算f。若B -1存在,由式(4.334)得
u=B -1·f。         (4.336)
由式(4.335)及式(4.336)可知:
【1】控制力矩
Figure PCTCN2018112809-appb-004074
及
Figure PCTCN2018112809-appb-004075
与轮土作用力为
Figure PCTCN2018112809-appb-004076
及
Figure PCTCN2018112809-appb-004077
存在耦合;
【2】完成动力学逆解计算后,不仅得到驱动轴控制力矩
Figure PCTCN2018112809-appb-004078
及
Figure PCTCN2018112809-appb-004079
而且可以得到轮土作用力
Figure PCTCN2018112809-appb-004080
及
Figure PCTCN2018112809-appb-004081
故该逆解作用在于:
【2.1】计算驱动轴期望控制力矩
Figure PCTCN2018112809-appb-004082
及
Figure PCTCN2018112809-appb-004083
【2.2】通过运动状态(位姿、速度及加速度)实现轮土作用力
Figure PCTCN2018112809-appb-004084
及
Figure PCTCN2018112809-appb-004085
的间接测量。
基于Ju-Kane的20轴巡视器移动系统动力学建模及逆解
本节阐述基于Ju-Kane的CE3月面巡视器移动系统动力学建模及逆解问题。
示例4.11:给定图50所示的CE3月面巡视器移动系统D={A,K,T,NT,F,B},该系统Span树如图17所示;标识符及缩略符参见示例1.1;系统结构参数如图17;建立该系统的动力学方程。
步骤1:显然,|A|=14,|NT|=7,|O|=6;由式(4.41)、式(4.42)及式(4.44)得DOM(D)=19-2·FD(W NS)-4·FD(W S)=3。故多轴系统D能适应自然路面。轴链A、父轴链
Figure PCTCN2018112809-appb-004086
及非树集合NT分别为
A=(i,c1,c2,c3,c4,c5,c,rr,rb,rrd,rrw,rmw,rfd,rfw,lr,lb,lrd,lrw,lfd,lfw,lmw],
Figure PCTCN2018112809-appb-004087
Figure PCTCN2018112809-appb-004088
步骤2:基于轴不变量的多轴系统正运动学计算
由式(4.8)得
Figure PCTCN2018112809-appb-004089
由式(4.12)及式(4.337)计算
Figure PCTCN2018112809-appb-004090
由式(4.16)及式(4.338)计算
Figure PCTCN2018112809-appb-004091
由式(4.17)计算
Figure PCTCN2018112809-appb-004092
记l∈(c,rb,rr,rfd,rfw,rmw,rrd,rrw,lb,lr,lfd,lfw,lmw,lrd,lrw],因是刚体系统,故有
Figure PCTCN2018112809-appb-004093
和
Figure PCTCN2018112809-appb-004094
由式(4.18),(4.338)及式(4.340)计算
Figure PCTCN2018112809-appb-004095
由式(4.25)计算
Figure PCTCN2018112809-appb-004096
步骤3:建立动力学方程
由式(4.313)及式(4.314)得
Figure PCTCN2018112809-appb-004097
由式(4.204)及式(4.205)分别计算
Figure PCTCN2018112809-appb-004098
及
Figure PCTCN2018112809-appb-004099
代入式(4.310)得
Figure PCTCN2018112809-appb-004100
由式(4.208),式(4.205)及式(4.201)得
Figure PCTCN2018112809-appb-004101
其中:u∈[rfd,rfw,rmw,rrd,rrw,lfd,lfw,lmw,lrd,lrw]。
由式(4.269),式(4.205),式(4.267)及式(4.273)得
Figure PCTCN2018112809-appb-004102
Figure PCTCN2018112809-appb-004103
由式(4.274)及式(4.269)得
Figure PCTCN2018112809-appb-004104
其中,差速轴初始角度为
Figure PCTCN2018112809-appb-004105
由式(4.208),式(4.205)及式(4.201)得
Figure PCTCN2018112809-appb-004106
至此,获得19轴动力学方程及1个非树约束副3D代数方程;其中,包含19轴外力矩标量及1轴约束力矩矢量。
步骤4:进行力反向迭代
由式(4.153)得
Figure PCTCN2018112809-appb-004107
Figure PCTCN2018112809-appb-004108
Figure PCTCN2018112809-appb-004109
Figure PCTCN2018112809-appb-004110
Figure PCTCN2018112809-appb-004111
Figure PCTCN2018112809-appb-004112
Figure PCTCN2018112809-appb-004113
Figure PCTCN2018112809-appb-004114
步骤5:计算动力学方程逆解
增加四个舵机驱动力矩约束,
Figure PCTCN2018112809-appb-004115
增加驱动轮力矩约束,
Figure PCTCN2018112809-appb-004116
记
Figure PCTCN2018112809-appb-004117
将式(4.350)至式(4.357)写为整体形式
f 20×1=B 20×20·u 20×1       (4.361)
其中:
Figure PCTCN2018112809-appb-004118
B [1:6][1:4]=0 6×4,        (4.363)
Figure PCTCN2018112809-appb-004119
Figure PCTCN2018112809-appb-004120
Figure PCTCN2018112809-appb-004121
Figure PCTCN2018112809-appb-004122
Figure PCTCN2018112809-appb-004123
Figure PCTCN2018112809-appb-004124
Figure PCTCN2018112809-appb-004125
Figure PCTCN2018112809-appb-004126
记k∈[rb,rr,rfd,rfw,rmw,rrd,rrw,lb,lr,lfd,lfw,lmw,lrd,lrw],由式(4.343)至式(4.348)求逆解得 i|Df c,
Figure PCTCN2018112809-appb-004127
及
Figure PCTCN2018112809-appb-004128
共计21个标量;从而,由式(4.361)得u。
由上求解过程可知:
【1】由于该系统存在6个驱动轴及4个舵机轴,而该移动系统移动自由度为3,故存在7个冗余的控制轴。通过式(4.358)及式(4.359)人为地加入7个约束,保证了逆解存在的唯一性;
【2】通过动力学计算,不仅可以计算该系统的控制力矩,也唯一求解了六个轮土作用力;通过该移动系统运动状态的检测,应用动力学逆解,实现了轮土作用力的间接测量。
基于轴不变量的多轴系统力位控制
本节讨论多轴系统的力位控制伺服问题。首先,讨论力位控制的需求及必要条件,再探讨多轴力位控制的原理。
【1】力位控制需求
力位控制在多轴系统特别是机器人系统、精密加工中心当中具有非常重要的作用。
【1-1】提高作业节拍。在生产线特别是装配、机加工等作业过程中,要求提高机器人及加工中心的作业节拍,从而提高生产效率、降低生产成本;在提高多轴系统作业节拍的同时,需要考虑多轴系统动力学过程的影响。
【1-2】防止多轴系统结构的损坏,实现柔顺控制。在机器人装配、机加工过程中,包含拾取机构、切削机构、钻取机构末端执行器(End Effector)与作业对象发生硬撞击,易导致末端执行器及多轴系统的损伤,需要实现柔顺控制,即当受到过载的作用力时,系统能够具有一定的柔性,不至于产生硬撞击。因此,要求驱动轴的控制力可以根据环境的作用力实时及柔性地调节。示例4.9中的式(4.231)考虑不可测的环境作用力,目的是为通过动力学系统的力位柔顺控制奠定基础。
【1-3】提高人机协作的安全性;机器人与人合理分工,完成各自的作业劳动,需要保障人机协作的安全性。在高节拍的机器人生产线上,每年都会产生多例机器人伤人事件。一方面,需要减少人机交互的场景;另一方面,需要提升机器人根据环境对象实现柔性力位跟踪控制。例如,从技术上实现机械臂自主控制,不再需要人对机器的示教过程;从而,减少人机交互的必要性。通过视觉检测,识别人机接触的位置,通过力传感器检测人机交互的作用力;柔性地调整机器人各轴控制力。但是,目前的力传感器质量及体积过大,成本很高,系统应用复杂。需要通过动力学建模与控制实现机器人的力位柔顺控制。
【2】基于多轴系统动力学模型的力位控制前提条件
【2-1】实现环境作业力间接测量。由示例4.10及本节阐述基于Ju-Kane的CE3月面巡视器移动系统动力学建模及逆解问题。
示例4.11可知,应用多轴系统动力学逆解不仅可以计算驱动器的期望控制力矩或控制力, 而且可以间接测量多轴系统与环境的作用力。因此,为多轴系统力位控制提供了原理支撑。
【2-2】紧凑型力控关节。由于力控过程的动态响应通常要比位置伺服控制的响应速度高5到10倍;要求关节驱动器具有更高的通信速率与可靠性,EtherCAT通信可以满足力控的通信需求。需要电机及减速器具有良好的力特性,通过电机驱动电流检测计算关节驱动力矩,既需要电机负载与电流的模型准确,又需要减速器力特性达到一定的精度;力矩电机及RV减速器更适应力控的要求。
【2-3】机器人控制器需要实现多轴系统运动学及动力学的实时解算,通常需要达到300~500Hz以上;即当机器人与环境作用的运动速度为300~500mm/s时,位置控制精度可以达到mm量级,为保证人身安全奠定了技术基础。
多轴刚体系统动力学方程的结构
给定系统D={A,K,T,NT,F,B},|NT|=c,|A|=a,不可测的环境作用力独立维度为记为e,驱动轴维度记为d;则未知作用力维度为w=d+e;系统方程数为n=a+3c。
将由式(4.274)至式(4.277)的非树约束副代数方程写成整体形式
Figure PCTCN2018112809-appb-004129
而驱动轴控制广义力及不可测环境作用力记为u n;将
Figure PCTCN2018112809-appb-004130
及非树约束力合写为
Figure PCTCN2018112809-appb-004131
由式(4.260)动力学方程及非树约束副代数方程(4.372)写成整体形式
Figure PCTCN2018112809-appb-004132
其中:u n为驱动轴轴向广义控制力分量及未知环境作用力,B n×n为驱动轴广义控制力及未知环境作用力的反向传递矩阵。通常B n×n可逆,将式(4.373)表达为
Figure PCTCN2018112809-appb-004133
其中:
Figure PCTCN2018112809-appb-004134
由于在多轴系统动力学建模时,存在不准确的结构参数及质惯量参数,故将式(4.374)称为多轴动力学系统的名义模型或理论模型。而对应的系统工程模型或实际模型记为
Figure PCTCN2018112809-appb-004135
因
Figure PCTCN2018112809-appb-004136
是轴向惯性力,在系统方程中是主项,故常常需要考虑
Figure PCTCN2018112809-appb-004137
的上下界,记为
Figure PCTCN2018112809-appb-004138
其中, m是下界常数,
Figure PCTCN2018112809-appb-004139
是上界常数,I是单位矩阵。
将式(4.375)及式(4.376)称多轴刚体系统动力学控制方程,属于仿射性方程组;在结构上具有以下特点:
【1】控制输入u既包含轴驱动广义力又可能包含环境作用力,这与传统的系统控制模型不同;
【2】是关于控制输入u的线性方程;
【3】是关于系统状态q及
Figure PCTCN2018112809-appb-004140
的非线性方程;
【4】关节加速度
Figure PCTCN2018112809-appb-004141
及控制输入u具有相同的维度。
在了解多轴系统控制方程结构特点的基础上,开展针对性的控制律设计,以达到多轴系统力位控制的目标。
基于线性化补偿器的多轴系统跟踪控制
给定仿射性系统
Figure PCTCN2018112809-appb-004142
请参照图51,图51为基于线性化补偿器的多轴系统跟踪控制图。构造全局线性化补偿器 [3]:
Figure PCTCN2018112809-appb-004143
及稳定的伺服反馈控制器 [3]:
Figure PCTCN2018112809-appb-004144
若伺服反馈控制器(4.380)稳定,则系统(4.378)可实现状态
Figure PCTCN2018112809-appb-004145
对期望状态
Figure PCTCN2018112809-appb-004146
的跟踪控制。
其中:
Figure PCTCN2018112809-appb-004147
M′(q)及
Figure PCTCN2018112809-appb-004148
分别是M(q)及
Figure PCTCN2018112809-appb-004149
的名义模型,
Figure PCTCN2018112809-appb-004150
δq=q d-q。
证明:如图51所示,控制对象自身完成的是正动力学计算,线性化补偿器完成的是逆动力学计算。
【1】通过线性化补偿器实现全局线性化
将式(4.378)代入式(4.379)得
Figure PCTCN2018112809-appb-004151
因M′(q)及
Figure PCTCN2018112809-appb-004152
分别是M(q)及
Figure PCTCN2018112809-appb-004153
的名义模型,故有
Figure PCTCN2018112809-appb-004154
将之代入式(4.381)得
Figure PCTCN2018112809-appb-004155
式(4.382)表明:控制对象被全局线性化。
【2】通过PD伺服反馈控制消除模型不确定性带来的扰动
但实际上名义模型并不无限逼近系统模型,故
Figure PCTCN2018112809-appb-004156
由式(4.380)及式(4.382)知
Figure PCTCN2018112809-appb-004157
式(4.383)是一个二阶n维线性系统。通过调节PD控制器参数k 0及k 1,使该系统渐近稳定,即
Figure PCTCN2018112809-appb-004158
证毕。
由式(4.380)可知,该方法不能直接对
Figure PCTCN2018112809-appb-004159
进行控制;从而,不能实现力位跟踪控制。
基于逆模补偿器的多轴系统力位控制
阻抗控制是为消除环境作用阻力对系统产生的影响而进行的控制。环境阻抗可分为可检测的及不可检测的两大类。
记阻抗
Figure PCTCN2018112809-appb-004160
作用的位置矢量为
Figure PCTCN2018112809-appb-004161
由式(4.32)得
Figure PCTCN2018112809-appb-004162
其中:
Figure PCTCN2018112809-appb-004163
由虚功原理“在任意时刻,阻抗
Figure PCTCN2018112809-appb-004164
作用的功率与其作用于运动副的等广义力u i所产生的功率是相等的”可知
Figure PCTCN2018112809-appb-004165
将式(4.384)代入式(4.385)得
Figure PCTCN2018112809-appb-004166
因
Figure PCTCN2018112809-appb-004167
是任意的,故由式(4.386)得
Figure PCTCN2018112809-appb-004168
u i是系统(4.378)外部阻抗
Figure PCTCN2018112809-appb-004169
作用于运动轴方向的等效广义力。
请参照图52,图52为基于逆模补偿器的多轴系统力位控制图。如图52所示,给定仿射性系统
Figure PCTCN2018112809-appb-004170
构造逆模补偿器:
Figure PCTCN2018112809-appb-004171
及稳定的伺服反馈控制器:
Figure PCTCN2018112809-appb-004172
若伺服反馈控制器(4.390)稳定,则系统(4.388)可实现状态
Figure PCTCN2018112809-appb-004173
对期望状态
Figure PCTCN2018112809-appb-004174
的跟踪控制。
其中:
Figure PCTCN2018112809-appb-004175
M′(q)及
Figure PCTCN2018112809-appb-004176
分别是M(q)及
Figure PCTCN2018112809-appb-004177
的名义模型,
Figure PCTCN2018112809-appb-004178
δq=q d-q。
证明:
将式(4.388)代入式(4.389)得
Figure PCTCN2018112809-appb-004179
因M′(q′)及
Figure PCTCN2018112809-appb-004180
分别是M(q)及
Figure PCTCN2018112809-appb-004181
的名义模型,u′ i是u i的名义模型;故有
Figure PCTCN2018112809-appb-004182
Figure PCTCN2018112809-appb-004183
及
Figure PCTCN2018112809-appb-004184
由式(4.391)得
Figure PCTCN2018112809-appb-004185
其中:δM(q)=M′(q)-M(q)=M 0,
Figure PCTCN2018112809-appb-004186
将式(4.390)代入式(4.392)得
Figure PCTCN2018112809-appb-004187
由式(4.393)得
Figure PCTCN2018112809-appb-004188
若二阶n维线性系统(4.394)稳定,且k 2I n×n>>M 0,k 1I n>>h 1,k 0I n>>h 0;则由式(4.394)得
Figure PCTCN2018112809-appb-004189
因此,实现跟踪控制。同时,因
Figure PCTCN2018112809-appb-004190
故基于逆模补偿器的多轴系统是一个全局线性化的系统。其中:>>表示远大于。
因系统(4.394)稳定,故
Figure PCTCN2018112809-appb-004191
受系统(4.390)结构参数控制,由式(4.388)得δu同样受系统(4.390)结构参数控制。因此,实现了外力增量δu的伺服控制。
当u i的名义模型u′ i已知时,直接通过逆模补偿器消除扰动u f;当u′ i未知时,但
Figure PCTCN2018112809-appb-004192
已知时,可以通过动力学逆解计算出外作用力u′ i;当u′ i未知时,且
Figure PCTCN2018112809-appb-004193
亦未知时,如图52所示,扰动力u i引起系统关节加速度
Figure PCTCN2018112809-appb-004194
变更,通过PID控制器自动调节减小该扰动力对系统的影响。
基于模糊变结构的多轴系统力位控制
基于全局线性化补偿器的PD阻抗控制适用于较精确的被控对象的模型及可以检测的环境作用阻抗。当被控对象的模型不精确或环境作用阻抗不可检测时,为保证系统的控制性能,需要设计鲁棒控制器。下面,先给出预备知识,再陈述基于模糊滑模的变结构控制定理,然 后予以证明。
定义4.1:一个n×n实对称矩阵
Figure PCTCN2018112809-appb-004195
称作正定,如果对于一个所有元素均非0的实向量
Figure PCTCN2018112809-appb-004196
且x≠0;如果x TBx>0,那么B是正定矩阵 [4,5]。如果上面的严格不等式被弱化为
Figure PCTCN2018112809-appb-004197
那么B称为半正定矩阵。
定义4.2:对于所有的
Figure PCTCN2018112809-appb-004198
使标量函数f(x):R→R正定的条件是 [4,5]:
(1)f(0)=0;(2)f(x)>0;(3)f(x)连续;(4)
Figure PCTCN2018112809-appb-004199
连续;如果上面的条件(2)被弱化为f(x)≥0,那么f(x)是半正定的。
定义4.3:假设有A,B∈R n×n是实对称矩阵,那么当且仅当矩阵是A-B正定时,A>B;类似地,A-B是半正定时,A≥B [4,5]。
定义4.4:当存在一个正数
Figure PCTCN2018112809-appb-004200
时,如果
Figure PCTCN2018112809-appb-004201
那么时变矩阵B(t)∈R n×n是一致正定的。
推论4.1:当且仅当特征值是正数(或非负)时,实对称矩阵B∈R n×n是正定的(或半正定的)。
推论4.2:当且仅当逆矩阵B -1是正定时,非奇异矩阵B∈R n×n是正定的。
推论4.3:如果A,B∈R n×n均为实对称矩阵并且A≥B,那么对于任意向量x∈R n均有
x T·A·x≥x T·B·x        (4.395)
定理4.7:如果矩阵A∈R n×n是非奇异并具有独立特征值,那么就存在一个相似变换A=V -1·δ(A)·V,δ(A)是由A的特征值构成的对角矩阵,而V是由特征向量组成的非奇异矩阵 [4,5]。
定理4.8:如果A,B∈R n×n是n×n的具有独立特征值的非奇异矩阵,且A和B可以互换,即AB=BA,那么他们有相同的特征向量满足A=V -1·δ(A)·V和B=V -1·δ(B)·V。其中δ(A)和δ(B)分别是A和B关于特征向量V的对角矩阵 [4,5]。
定理4.9:有一个n×n的正定矩阵B∈R n×n和两个任意向量x,y∈R n,下面的不等式称为“普遍Cauchy-Schwarz不等式”:
Figure PCTCN2018112809-appb-004202
根据上面的定理,有下面结论:
推论4.4:如果A,B∈R n×n是正定的或半正定的,且A和B互换,即A·B=B·A,那么矩阵A·B也是正定的或半正定的 [4,5]。
证明:如果A和B互换,根据定理4.8,有:A·B=V -1·δ(A)·V·V -1·δ(B)·V=V -1·δ(A·B)·V
其中δ(A·B)=δ(A)·δ(B),A和B的特征值是A和B的特征值的乘积。根据推论4.1,如果A和B是正定或半正定的,那么它们的特征值均为正数(非负),因而,它们的乘积也是正数(非负)。由此,证明了A·B是正定的或半正定的。
定理4.10:假设有一个n×n的正定矩阵B∈R n×n且存在一个正实数b>0使得b·I>B,I是n×n的单位矩阵。假设任一向量y∈R n且||y||≤ρ,那么对于任意向量x∈R n有下面不等式 [4,5]:
x T·B·y≤b·ρ·||x||         (4.397)
证明:因为b·I-B是半正定的,那么对于任意向量x,y∈R n有:
x T·(b·I-B)·x≥0
y T·(b·I-B)·y≥0
故有
x T·B·x≤b·||x|| 2
y T·B·y≤b·||y|| 2。
由||y||≤ρ及式(4.395),得
y T·B·y≤b·ρ 2       (4.398)
根据定理4.9,在有界向量y和任意向量x,有:
Figure PCTCN2018112809-appb-004203
由式(4.399)及式(4.398)得
Figure PCTCN2018112809-appb-004204
因而
Figure PCTCN2018112809-appb-004205
定理4.11:考虑M∈R n×n是n×n正定矩阵且K∈R n×n是n×n对角正定矩阵。如果存在一个正实数m>0且m·I≥M,那么对于任意向量x∈R n有 [4,5]:
m·x T·M -1·K·x≥x T·K·x       (4.400)
证明:m·I≥M意味着m·I-M是半正定的。根据推论4.2,如果M是正定的,那么M -1也是正定的。因为K是对角型,那么M -1·K可以互换,根据推论4.4,M -1·K也是正定的。因而有
(m·I-M)·M -1·K=M -1·K·(m·I-M)
根据推论4.4,(mI-M)·M -1·K半正定的条件是:
(mI-M)·M -1·K=M -1·K·(m·I-M)或
Figure PCTCN2018112809-appb-004206
根据推论4.3,对于任意向量x∈R n×n有:
Figure PCTCN2018112809-appb-004207
或m·x T·M -1·K·x≥x T·K·x
亦即
Figure PCTCN2018112809-appb-004208
模糊变结构控制
定理4.12:请参照图53,图53为模糊变结构控制框图。如图53所示,考虑输入为u=[u [1],…u [i],…u [n]] T、状态为q=[q [1],…q [i],…q [n]] T的仿射性动力学系统。
【1】系统结构与参数包含:
【1.1】仿射性系统模型记为
Figure PCTCN2018112809-appb-004209
【1.2】名义仿射性系统模型记为
Figure PCTCN2018112809-appb-004210
Figure PCTCN2018112809-appb-004211
其中:
Figure PCTCN2018112809-appb-004212
及 m分别表示M′的上确界与下确界且为正定函数,M′∈R n×n,h′∈R n×n,u′∈R n。
【1.3】令两系统模型误差满足
Figure PCTCN2018112809-appb-004213
【1.4】系统偏差记为
e=q-q d;         (4.405)
其中:q d为系统控制目标。
【1.5】广义误差记为
Figure PCTCN2018112809-appb-004214
滑模超平面为
Figure PCTCN2018112809-appb-004215
其中:
P=2Λ,Q=Λ 2,        (4.408)
Λ为n×n正定对角阵,λ [i]为Λ的对角元素,且λ [i]>0。
【1.6】参考加速度记为
Figure PCTCN2018112809-appb-004216
【1.7】滑模(Sliding mode)边界厚度记为φ [i],φ [i]表示广义误差控制边界,且φ [i]>0;广义误差控制边界内的状态q [i]的集合为
N [i](s [i],φ [i])={q [i]∈R:|s [i]|≤φ [i]};     (4.410)
称N [i](s [i],φ [i])之为滑模面的邻域。
【2】控制目标与控制律
若期望该闭环控制系统由初态q(0)到滑模面的控制过程满足Lyapunov-like稳定,即
Figure PCTCN2018112809-appb-004217
其中:η [i]>0,φ [i]>0;则该系统的模糊滑模控制律为[4,5]:
Figure PCTCN2018112809-appb-004218
请参照图54,图54为模糊变结构控制控制律图。如图54所示,且第i个控制输入
Figure PCTCN2018112809-appb-004219
满足:
【2.1】当s [i]>0时,
Figure PCTCN2018112809-appb-004220
【2.2】当s [i]<0时,
Figure PCTCN2018112809-appb-004221
【2.3】
Figure PCTCN2018112809-appb-004222
连续单调,当s [i]=0时
Figure PCTCN2018112809-appb-004223
证明:由式(4.407)及式(4.408)知:滑模面
Figure PCTCN2018112809-appb-004224
的特征根为-λ [i],又λ [i]>0,故
Figure PCTCN2018112809-appb-004225
按指数趋向稳定。故任意非零初始状态q(0)能够到达滑模面。
由式(4.411)可知,对于在式(4.410)表示的滑模面邻域N [i](s [i],φ [i])之外状态的广义误差满足渐近稳定,从而避免在滑模控制中的抖颤效应。
由式(4.405)及式(4.407)得
Figure PCTCN2018112809-appb-004226
由式(4.374)得
Figure PCTCN2018112809-appb-004227
将式(4.417)代入(4.416)得
Figure PCTCN2018112809-appb-004228
将式(4.409)代入(4.418)式得
Figure PCTCN2018112809-appb-004229
将式(4.412)代入式(4.419)得
Figure PCTCN2018112809-appb-004230
由式(4.404)及式(4.420)得
Figure PCTCN2018112809-appb-004231
其中:
Figure PCTCN2018112809-appb-004232
为系统不确定向量,控制量u c是针对系统不稳定性的补偿输入。
由式(4.421)知
Figure PCTCN2018112809-appb-004233
由式(4.404)、式(4.422)、式(4.377)及定理4.10可知
Figure PCTCN2018112809-appb-004234
因
Figure PCTCN2018112809-appb-004235
及式(4.422)得
Figure PCTCN2018112809-appb-004236
由式(4.425),选择u c满足如下条件
Figure PCTCN2018112809-appb-004237
以保证
Figure PCTCN2018112809-appb-004238
即保证系统广义误差s [i]→0。式(4.426)即为
Figure PCTCN2018112809-appb-004239
选择
Figure PCTCN2018112809-appb-004240
作为s i的函数,
Figure PCTCN2018112809-appb-004241
满足以下条件:
【1】
Figure PCTCN2018112809-appb-004242
是连续函数;【2】当0<|s i|<φ i时,
Figure PCTCN2018112809-appb-004243
是单调递减的;【3】
Figure PCTCN2018112809-appb-004244
因为:当
Figure PCTCN2018112809-appb-004245
时,式(4.427)成立;当0<|s i|<φ i时,
Figure PCTCN2018112809-appb-004246
单调递减,式(4.427)必成立。所以,取
Figure PCTCN2018112809-appb-004247
为
u c=-G(s i)·Ω(s i)·s;        (4.428)
其中:G是一个n×n的正定对角矩阵,其中g i(s i)是G的对角元素,是正定函数;Ω也是n×n的正定对角线矩阵,1/|s i|是对角元素;
当s i=0时,G(s i)·Ω(s i)的对角元素为0。显然,式(4.428)能保证式(4.427)成立。
定义
Figure PCTCN2018112809-appb-004248
将式(4.428)代入式(4.427)得
Figure PCTCN2018112809-appb-004249
因为G(s i)·Ω(s i)至少是半正定的,根据定理4.11得
Figure PCTCN2018112809-appb-004250
由式(4.431),考虑式(4.431)及式(4.430),若令
Figure PCTCN2018112809-appb-004251
成立,又因s i·dsgn(s i)=|s i|,则需
Figure PCTCN2018112809-appb-004252
成立;式(4.433)是式(4.428)中控制输入u c的约束条件。
式(4.428)等价为
Figure PCTCN2018112809-appb-004253
即当s i>0时,
Figure PCTCN2018112809-appb-004254
当s i<0时
Figure PCTCN2018112809-appb-004255
由式(4.435)及式(4.436)分别得式(4.413)、式(4.414)成立。
证毕。
基于滑模的鲁棒控制较传统滑模控制具有以下优点:【1】对不精确的动力学模型具有鲁棒控制能力;【2】由于滑模控制律使用了软切换,较传统滑模控制的硬切换,可以大大降低“震颤”,减小了对系统的硬冲击;基于滑模的鲁棒控制仅适用于系统输入与系统独立状态数一致的系统;对于系统输入与系统独立状态数不一致的欠控制系统或冗余控制系统不适用;欠控制系统或冗余控制系统不能通过简单的控制完成,它们本质上是具有在线规划功能的控制问题。
多轴系统力位控制示例
应用示例4.11的CE3月面巡视器动力学方程作为巡视器名义模型,应用第一部分基于模糊变结构的多轴系统力位控制,应用第一部分的巡视器动力学仿真环境作为巡视器系统模型,进行仿真验证。
巡视器各轴坐标为
Figure PCTCN2018112809-appb-004256
期望控制为
Figure PCTCN2018112809-appb-004257
仿真表明:
【1】基于Ju-Kane方法的巡视器动力学计算耗时仅为牛顿―欧拉方法动力学的1/16至1/20;
【2】基于模糊变结构的多轴控制原理正确,满足巡视器控制工程需求;
【3】基于Ju-Kane方法的巡视器动力学不仅可以应用于实时控制,也可以实时计算巡视器与环境的作用力。
第四部分。补充说明
根据上述的说明,可以理解,本发明提供了一整套建立多轴机器装置的运动与力学模型,以及对应的计算机制。透过证明跟举例,可清楚知道这套技术方案可以实做成各种的控制与分析系统。
除了这边所举例的系统跟方法范例,其他的变形或替换应该也视为落入本发明的保护范围。

Claims (19)

  1. 一种基于轴不变量的多轴机器人逆运动学建模与解算方法,用于控制多轴机器装置(multi-axis robot device),多轴机器人系统,所述多轴机器人系统包含杆件序列与关节序列,此建模与解算方法包含:
    将所述树链中的关节序列转换成对应的轴序列及其父轴序列,所述轴序列的轴为平动轴或转动轴;将闭链的约束轴表示为非树弧序列;实现所述变拓扑多轴机器系统的同构;
    使用所述轴序列来对应描述所述多轴机器人系统,并且利用所述轴序列的轴对应的轴不变量(axis invariant)及轴链来计算所述多轴机器人系统的控制参数,其中对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变;该多轴机器人系统通过拓扑上的轴基元及度量上的轴不变量基元,构建与轴一一映射的同构系统,以及使用计算出的控制参数来控制所述多轴机器人系统。
  2. 如权利要求1所述的建模与解算方法,其中所述轴不变量的具有如下特性:
    对于一个轴的两个杆件,这个轴的轴不变量不会随着对应的关节运动而改变;
    轴不变量具有零位参考方向;
    作为参考轴的轴不变量相对时间的绝对导数恒为零矢量;
    轴不变量与任一独立的矢量唯一确定径向零位矢量;
    轴不变量具有3D空间及4D空间的幂零特性;
    轴不变量与轴上原点的位置矢量构成固定轴不变量,既表征3D结构螺旋又表征3D运动螺旋,这些优良的操作性能使得多轴系统正运动学具有内在紧凑的、实时及功能复用及精简的层次化的过程,满足运动链公理及度量公理,并且具有伪代码的功能,物理含义准确,具有3D空间操作代数的基础,它以动作(投影、位置对齐、方向对齐、姿态对齐及螺旋矩等)直观地描述机器人的空间运动关系。
  3. 如权利要求1所述的建模与解算方法,应用n个“n元N阶”多项式的Dixon消元与求解原理,进行运动学方程的求解。
  4. 如权利要求3所述的建模与解算方法,n个“n元N阶”多项式的Dixon消元与求解原理,进行逆解计算的过程如基于轴不变量的3R机械臂位置逆解过程所示,主要步骤包含:
    【1】根据机械臂n元3D矢量位姿方程,获得n个“n元2阶”多项式方程;
    【2】应用基于轴不变量的Dixon行列式计算式、分块矩阵的行列式计算式或对行列式进行行阶梯化计算式简化行列式计算;
    【3】应用n个“n元N阶”多项式的Dixon消元与求解原理完成位姿逆解计算,其中:根据Dixon矩阵的行列式为0,得到一元高阶多项式方程,应用基于友阵的一元高阶多项式方程求解一元高阶多项式方程的解。
  5. 如权利要求1所述的建模与解算方法,
    首先,应用固定轴不变量的精确测量原理,完成系统结构参数的精确测量;然后,应用所述基于固定轴不变量的D-H系及D-H参数确定原理,精确地确定包含机加工及装配误差影响在内的D-H系及D-H参数。
  6. 如权利要求1所述的建模与解算方法,应用基于轴不变量及D-H参数的2R及3R姿态逆解原理,精确且实时地计算所述1R/2R/3R姿态逆解。
  7. 如权利要求1所述的建模与解算方法,应用“居-吉布斯”四元数及“类方向余弦矩阵”建立矢量运动学方程,其中,“居-吉布斯”四元数表示为
    Figure PCTCN2018112809-appb-100001
    “类方向余弦矩阵”表示为
    Figure PCTCN2018112809-appb-100002
  8. 如权利要求1所述的建模与解算方法,通用6R机械臂4、5轴求解方法:
    基于“居-吉布斯”四元数2R机械手指向逆解或者基于类DCM 2R机械手指向逆解。
  9. 如权利要求8所述的建模与解算方法,其基于“居-吉布斯”四元数2R机械手姿态逆解:
    基于Ju-Gibbs四元数的指向对齐原理考虑轴链 il l,
    Figure PCTCN2018112809-appb-100003
    若单位轴矢量
    Figure PCTCN2018112809-appb-100004
    与期望单位轴矢量
    Figure PCTCN2018112809-appb-100005
    对齐,则至少存在一个多轴旋转的Ju-Gibbs四元数
    Figure PCTCN2018112809-appb-100006
    其中
    Figure PCTCN2018112809-appb-100007
    Figure PCTCN2018112809-appb-100008
    Figure PCTCN2018112809-appb-100009
    然后以Ju-Gibbs四元数指向对齐为基础,阐述2R机械臂指向逆解定理;
    若给定6R转动链 il 6=(i,1:6],记第5轴关节Ju-Gibbs四元数期望为
    Figure PCTCN2018112809-appb-100010
    及第3轴关节Ju-Gibbs规范四元数为
    Figure PCTCN2018112809-appb-100011
    则有指向对齐时的逆解
    Figure PCTCN2018112809-appb-100012
    Figure PCTCN2018112809-appb-100013
    其中:
    Figure PCTCN2018112809-appb-100014
    Figure PCTCN2018112809-appb-100015
    式中,
    Figure PCTCN2018112809-appb-100016
    表示取 3E 5的第3行、第所有列; 3n 4为杆件3到杆件4的坐标矢量,其是轴不变量;
    Figure PCTCN2018112809-appb-100017
    为轴不变量 3n 4的叉乘矩阵,其余杆件同理;
    与欧拉四元数及对偶四元数相比,Ju-Gibbs四元数表征的位姿对齐不存在冗余方程;通过指向对齐,可以求解第4轴及第5轴的关节变量,为6R及7R机械臂逆解奠定了基础。
  10. 如权利要求8所述的建模与解算方法,其基于类DCM 2R机械手指向逆解:
    若给定6R转动链 il 6=(i,1:6],已知 3n 4及 4n 5,系统机构参数 5l 6及期望指向
    Figure PCTCN2018112809-appb-100018
    记第5轴关节方向余弦矩阵期望为
    Figure PCTCN2018112809-appb-100019
    及第3轴关节期望方向余弦矩阵为
    Figure PCTCN2018112809-appb-100020
    则有系统机构参数 5l 6与期望指向
    Figure PCTCN2018112809-appb-100021
    对齐的逆解满足以下方程,
    Figure PCTCN2018112809-appb-100022
    式中,\为续行符;
    Figure PCTCN2018112809-appb-100023
    分别表示轴5至轴6的零位矢量、径向矢量;
    Figure PCTCN2018112809-appb-100024
    是轴不变量
    Figure PCTCN2018112809-appb-100025
    的叉乘矩阵;0 3=[0 0 0] T;
    Figure PCTCN2018112809-appb-100026
    Figure PCTCN2018112809-appb-100027
    3n 4为杆件3到杆件4的坐标矢量,其是轴不变量;
    Figure PCTCN2018112809-appb-100028
    为轴不变量 3n 4的叉乘矩阵,其余杆件同理。
  11. 如权利要求1所述的建模与解算方法,应用所述基于轴不变量的3R机械臂位置逆解原理,精确且实时地计算所述3R机械臂位置逆解;所述位置逆解原理的3R运动学多项式方程表示为
    Figure PCTCN2018112809-appb-100029
    多项式系统F 3(Y 2|T 2);则有
    Figure PCTCN2018112809-appb-100030
    其中:
    Figure PCTCN2018112809-appb-100031
    Figure PCTCN2018112809-appb-100032
  12. 如权利要求1所述的建模与解算方法,应用所述基于轴不变量的通用6R机械臂位姿逆解原理,精确且实时地计算通用6R机械臂位姿逆解,所述位姿逆解原理表述为:
    若给定6R轴链 il 6=(i,1:6], il 1=0 3,期望位置矢量及Ju-Gibbs四元数分别为
    Figure PCTCN2018112809-appb-100033
    及
    Figure PCTCN2018112809-appb-100034
    则由轴不变量表征的6R机械臂运动学多项式方程为:
    Figure PCTCN2018112809-appb-100035
    Figure PCTCN2018112809-appb-100036
    其中:
    Figure PCTCN2018112809-appb-100037
    系统结构参数及期望Ju-Gibbs姿态四元数构成的矩阵表示为
    Figure PCTCN2018112809-appb-100038
    Figure PCTCN2018112809-appb-100039
    Figure PCTCN2018112809-appb-100040
    Figure PCTCN2018112809-appb-100041
    且轴不变量表征的6R机械臂运动学多项式系统F 3(Y 2|T 2)的Dixon矩阵具有如下结构:
    Figure PCTCN2018112809-appb-100042
    其中:
    Figure PCTCN2018112809-appb-100043
    Figure PCTCN2018112809-appb-100044
  13. 如权利要求1所述的建模与解算方法,应用基于轴不变量的通用7R机械臂逆解原理进行求解,所述逆解原理表述为:
    若给定7R轴链 il 7=(i,1:7], il 1=0 3,期望位置矢量及Ju-Gibbs四元数分别记为
    Figure PCTCN2018112809-appb-100045
    及
    Figure PCTCN2018112809-appb-100046
    则由轴不变量表征的7R机械臂运动学多项式方程为:
    Figure PCTCN2018112809-appb-100047
    其中:
    Figure PCTCN2018112809-appb-100048
    系统结构参数及期望Ju-Gibbs姿态四元数构成的矩阵表示为
    Figure PCTCN2018112809-appb-100049
    Figure PCTCN2018112809-appb-100050
    Figure PCTCN2018112809-appb-100051
    Figure PCTCN2018112809-appb-100052
  14. 如权利要求1所述的建模与解算方法,应用基于轴不变量的通用7R机械臂运动规划原理,精确且实时地完成所述7R机械臂的运动规划多轴机器人系统,其中居-吉布斯Ju-Gibbs增量四元数,定义得到居-吉布斯增量四元数
    Figure PCTCN2018112809-appb-100053
    其中:
    Figure PCTCN2018112809-appb-100054
  15. 所述权利要求13所述的建模与解算方法,包含通用7R轴链的增量位姿方程,其表述为:
    若给定6R轴链 il 7=(i,1:7], il 1=0 3,位置矢量及Ju-Gibbs增量四元数分别记为
    Figure PCTCN2018112809-appb-100055
    及
    Figure PCTCN2018112809-appb-100056
    则由Ju-Gibbs增量四元数表征的通用6R机械臂增量位姿方程表示为:
    Figure PCTCN2018112809-appb-100057
    Figure PCTCN2018112809-appb-100058
    Figure PCTCN2018112809-appb-100059
    其中
    Figure PCTCN2018112809-appb-100060
    由行四元数构成的系统结构参数矩阵表示为
    Figure PCTCN2018112809-appb-100061
  16. 所述权利要求13所述的建模与解算方法,包含基于偏速度迭代的通用7R机械臂运动规划过程,表述为:
    记
    Figure PCTCN2018112809-appb-100062
    记期望位姿分别为
    Figure PCTCN2018112809-appb-100063
    及
    Figure PCTCN2018112809-appb-100064
    且有
    Figure PCTCN2018112809-appb-100065
    Figure PCTCN2018112809-appb-100066
    上式应用梯度下降法得
    Figure PCTCN2018112809-appb-100067
    其中:步长Step>0,Step→0,且有
    Figure PCTCN2018112809-appb-100068
    Figure PCTCN2018112809-appb-100069
    迭代计算过程:
    Figure PCTCN2018112809-appb-100070
    其中:当
    Figure PCTCN2018112809-appb-100071
    时,迭代过程结束,迭代过程,则必有
    δGoal≤0,
    即迭代过程一定收敛。
  17. 如权利要求1所述的建模与解算方法,也是多轴机器人系统的硬件设计与分析方法,用于优化多轴机器人系统的结构,提高多轴机器人系统的绝对定位精度及动态性能。
  18. 如权利要求1所述的建模与解算方法,也是多轴机器人系统的软件设计及软件工程实现方法,具有伪代码的功能及软件实现的除错功能。
  19. 如权利要求1所述的建模与解算方法,也是计算机自主地进行多轴系统运动学及动力学符号建模的方法,具有多轴系统符号分析及符号计算的功能与过程。
PCT/CN2018/112809 2018-08-16 2018-10-30 一种基于轴不变量的多轴机器人逆运动学建模与解算方法 Ceased WO2020034420A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP18930026.2A EP3838501A4 (en) 2018-08-16 2018-10-30 PROCEDURE FOR MODELING AND SOLVING AN INVERSE KINEMATICS BASED ON AXIS INVARIANCE FOR A MULTI-AXIS ROBOT

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810933539.0A CN108942942B (zh) 2018-08-16 2018-08-16 一种基于轴不变量的多轴机器人逆运动学建模与解算方法
CN201810933539.0 2018-08-16

Publications (1)

Publication Number Publication Date
WO2020034420A1 true WO2020034420A1 (zh) 2020-02-20

Family

ID=64470497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/112809 Ceased WO2020034420A1 (zh) 2018-08-16 2018-10-30 一种基于轴不变量的多轴机器人逆运动学建模与解算方法

Country Status (4)

Country Link
US (1) US11648681B2 (zh)
EP (1) EP3838501A4 (zh)
CN (1) CN108942942B (zh)
WO (1) WO2020034420A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI738601B (zh) * 2020-07-28 2021-09-01 盟立自動化股份有限公司 工具的移動路徑的生成方法
CN114970087A (zh) * 2022-04-12 2022-08-30 中国科学院光电技术研究所 一种基于旋转三棱镜装置的反解方法
CN115256369A (zh) * 2022-05-07 2022-11-01 吉林大学 基于多种群灰狼算法的移动装弹机械臂逆运动方法
CN121541491A (zh) * 2026-01-20 2026-02-17 中国重型机械研究院股份公司 一种大型锻造操作机运动轨迹模型构建方法

Families Citing this family (60)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108942942B (zh) * 2018-08-16 2020-01-07 居鹤华 一种基于轴不变量的多轴机器人逆运动学建模与解算方法
CN109551485B (zh) * 2019-01-21 2020-10-16 北京镁伽机器人科技有限公司 运动控制方法、装置和系统及存储介质
CN109871658B (zh) * 2019-03-26 2022-11-15 哈尔滨工业大学 用于导弹弹头转动惯量和惯性积测量的多姿态最优估计方法
CN110394806B (zh) * 2019-07-08 2020-08-21 北京航空航天大学 一种基于高阶自适应学习控制的康复机械手
CN110471367B (zh) * 2019-08-14 2020-08-07 上海明材教育科技有限公司 一种能够协同运动的动态三维模型的构建方法
CN110489707B (zh) * 2019-08-22 2023-08-25 苏州科技大学 一种基于gan网络的机器人逆运动学求解方法
CN112433473B (zh) * 2019-08-26 2022-02-15 北京理工大学 考虑旋转飞行器耦合问题的鲁棒解耦控制系统及控制方法
JP2021049597A (ja) * 2019-09-24 2021-04-01 ソニー株式会社 情報処理装置、情報処理システム及び情報処理方法
CN110842913B (zh) * 2019-10-13 2022-05-31 无锡职业技术学院 一种单关节机械臂的自适应滑模迭代学习控制方法
KR102356660B1 (ko) * 2019-11-01 2022-02-07 주식회사 뉴로메카 다자유도 협동 로봇의 마찰 보상 방법
CN110744548B (zh) * 2019-11-08 2021-02-19 山东大学 一种多线驱连续体机械臂驱动线耦合关系的统一解耦方法
CN111598954A (zh) * 2020-04-21 2020-08-28 哈尔滨拓博科技有限公司 一种快速高精度摄像头参数计算方法
TWI727851B (zh) * 2020-07-13 2021-05-11 創博股份有限公司 於弧形路徑中控制端效器追蹤物件的方法
CN111914411B (zh) * 2020-07-20 2022-11-11 哈尔滨工大航博科技有限公司 一种全姿态四轴转台框架角指令解算方法
CN111967099B (zh) * 2020-07-20 2021-04-27 居鹤华 多自由度机械臂矢量多项式系统最优求解方法
US11897144B2 (en) * 2020-08-04 2024-02-13 Artificial, Inc. Adapting robotic protocols between labs
CN112053383B (zh) * 2020-08-18 2024-04-26 东北大学 一种机器人实时定位的方法及装置
CN112270065B (zh) * 2020-08-26 2023-09-08 天津大学 一种偏心旋转环状周期结构动力稳定性预测方法
CN112001051B (zh) * 2020-08-27 2024-04-12 湛江南海西部石油勘察设计有限公司 一种大位移栈桥的配管设计方法
CN112025760B (zh) * 2020-09-01 2023-01-31 重庆邮电大学 一种电磁驱动机械关节
CN112380655B (zh) * 2020-11-20 2024-04-26 华南理工大学 一种基于rs-cmsa算法的机器人逆运动学求解方法
CN112597437B (zh) * 2020-12-29 2022-09-16 深圳市优必选科技股份有限公司 机械臂的逆运动学解析方法、装置及设备
CN112632803A (zh) * 2021-01-12 2021-04-09 四川大学 跟踪控制方法和装置、电子设备及存储介质
CN112894817B (zh) * 2021-01-27 2022-04-29 杭州电子科技大学 一种任务空间下的机械臂运动规划方法
CN112828552B (zh) * 2021-01-29 2022-05-20 华中科技大学 一种法兰零件智能对接方法及系统
CN113063441B (zh) * 2021-03-16 2022-11-18 李金波 里程计累计推算误差的数据源纠正方法及装置
US11878418B2 (en) * 2021-03-30 2024-01-23 Honda Research Institute Europe Gmbh Controlling a robot based on constraint-consistent and sequence-optimized pose adaptation
CN113103239B (zh) * 2021-04-29 2022-09-13 哈尔滨工业大学 一种机器人姿态轨迹生成方法、装置及存储介质
DE102021111237B3 (de) * 2021-04-30 2022-06-15 Physik Instrumente (PI) GmbH & Co KG Beschleunigung direkter und indirekter Kinematiken
CN113390438B (zh) * 2021-06-10 2022-06-28 中国科学院光电技术研究所 一种运动平台下基于d-h矩阵建模的望远镜指向误差修正方法
US12023117B2 (en) * 2021-07-06 2024-07-02 Verb Surgical Inc. Projection of user interface pose command to reduced degree of freedom space for a surgical robot
CN113985904B (zh) * 2021-09-28 2023-03-10 哈尔滨工业大学 星球探测车运动模式生成及智能切换方法
CN114048696B (zh) * 2021-11-18 2024-06-07 长春工业大学 一种“扑动-划动-扭转”扑翼飞行器气动仿真分析方法
CN114519759B (zh) * 2022-02-14 2023-11-14 同恩(上海)工程技术有限公司 一种视图变换方法、装置及介质
CN114609911B (zh) * 2022-03-15 2022-11-25 中国科学院重庆绿色智能技术研究院 一种抗干扰自适应力位协调控制方法
CN114996834B (zh) * 2022-04-20 2024-09-20 中国航空工业集团公司沈阳飞机设计研究所 一种基于双四元数的起落架空间定位方法
CN114851197B (zh) * 2022-05-16 2023-08-04 华北电力大学(保定) 一种排管电缆机器人及其控制方法
FR3136394A1 (fr) * 2022-06-13 2023-12-15 Staubli Faverges Systèmes et procédés pour mettre à jour le coefficient de correction d’un capteur d’effort d’un robot industriel
CN115107032B (zh) * 2022-07-15 2024-04-05 海南大学 一种基于伪逆且可自适应抗噪的移动机械臂运动规划方法
US12097619B2 (en) * 2022-09-26 2024-09-24 Fanuc Corporation Predictive control method for torque-rate control and vibration suppression
CN115533916B (zh) * 2022-10-31 2024-10-15 广州大学 一种机械臂末端负载质量辨识方法、系统、设备及介质
CN115635485B (zh) * 2022-11-09 2024-03-15 嘉兴智康机器人有限公司 一种移动康复机器人的实时人机交互力控制方法
CN115526008B (zh) * 2022-11-28 2023-03-24 中国人民解放军火箭军工程大学 一种面向具备多驱动模式的模块化操作臂动力学建模方法
JP7920874B2 (ja) * 2022-11-30 2026-09-15 セイコーエプソン株式会社 ロボット監視方法、ロボット監視装置およびロボットモデル作成方法
CN116038702B (zh) * 2022-12-30 2023-12-19 成都卡诺普机器人技术股份有限公司 一种七轴机器人逆解方法及七轴机器人
CN116172841B (zh) * 2023-04-27 2024-03-29 北京航空航天大学 基于六维力感知的康复机器人控制方法、控制装置及机器人
CN116576173B (zh) * 2023-05-15 2026-01-30 江苏徐工国重实验室科技有限公司 确定液压缸的驱动力的方法、装置及系统
JP2024164671A (ja) * 2023-05-15 2024-11-27 株式会社不二越 協働ロボットシステム
CN117047782B (zh) * 2023-10-11 2023-12-08 中建四局安装工程有限公司 适用于三关节机械手的控制方法和装置、终端及介质
CN117556559B (zh) * 2023-11-13 2026-06-26 北京航空航天大学 一种基于四自由度的四足轮腿机器人逆运动学的计算方法
CN117565048A (zh) * 2023-12-12 2024-02-20 合肥中科深谷科技发展有限公司 基于kane法的水下冗余机械臂的附加水阻力模糊控制方法
CN118034362A (zh) * 2024-01-30 2024-05-14 深圳市优必选科技股份有限公司 机器人控制方法、装置、计算机可读存储介质及机器人
CN119758868B (zh) * 2024-11-06 2025-10-10 武汉科技大学 一种多轴联动数控机床系统的高性能控制方法
CN119681882B (zh) * 2024-12-30 2025-08-05 华东交通大学 基于神经网络的大变形柔性杆件机器人运动学建模方法
CN120422244B (zh) * 2025-06-24 2026-03-17 莫斯元宇(苏州)智能科技有限公司 一种六自由度机械臂几何逆解计算方法
CN120501422B (zh) * 2025-07-18 2025-09-16 天津大学浙江国际创新设计与智造研究院 一种踝关节运动角度测量装置及方法
CN121051876B (zh) * 2025-11-03 2026-02-17 中国空气动力研究与发展中心计算空气动力研究所 基于并行块稀疏矩阵不完全lu分解的飞行器仿真方法、装置、设备及介质
CN121523435B (zh) * 2025-11-20 2026-08-11 南京比沃特视频系统有限公司 基于多模态自适应强化的车载桅杆稳平方法
CN122333682B (zh) * 2026-06-05 2026-08-04 成都理工大学 一种对数螺旋活齿传动的齿廓修形和建模方法
CN122693183A (zh) * 2026-08-04 2026-09-04 浙江大学 一种五轴机床回转轴构型的正向设计方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243620A (zh) * 2011-06-02 2011-11-16 安凯 六关节机械臂逆运动学问题的快速求解方法
CN103901898A (zh) * 2014-03-28 2014-07-02 哈尔滨工程大学 一种多自由度机器人的逆运动学通用求解方法
US20170291270A1 (en) * 2012-12-05 2017-10-12 Alio Industries, Inc. Precision tripod motion system with six degrees of freedom
CN107336231A (zh) * 2017-05-26 2017-11-10 山东科技大学 六自由度并联平台结构参数优化方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4133381B2 (ja) 2003-01-31 2008-08-13 川崎重工業株式会社 宇宙ロボットの姿勢制御方法及び装置
JP2004272783A (ja) * 2003-03-11 2004-09-30 Nissan Motor Co Ltd ラダーシーケンス回路の作成方法
CN201249818Y (zh) * 2008-08-07 2009-06-03 北京工业大学 自平衡式六轮独立驱动机器人
CN101733749B (zh) 2009-12-22 2014-05-14 哈尔滨工业大学 空间机器人多领域统一建模与仿真系统
CN101982822B (zh) 2010-11-10 2012-10-31 哈尔滨工业大学 空间六自由度运动系统模态建模方法
CN104573255B (zh) 2015-01-22 2017-10-31 天津理工大学 一种基于改进多体系统传递矩阵的机械臂建模与求解方法
CN106393174B (zh) * 2016-10-09 2018-10-26 华中科技大学 一种利用球杆仪标定机器人结构参数的方法
CN107443382B (zh) * 2017-09-12 2020-09-22 清华大学 工业机器人结构参数误差辨识与补偿方法
CN108081256A (zh) * 2017-12-07 2018-05-29 南京航空航天大学 检测制动一体化机器人关节驱动器
CN108942942B (zh) * 2018-08-16 2020-01-07 居鹤华 一种基于轴不变量的多轴机器人逆运动学建模与解算方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243620A (zh) * 2011-06-02 2011-11-16 安凯 六关节机械臂逆运动学问题的快速求解方法
US20170291270A1 (en) * 2012-12-05 2017-10-12 Alio Industries, Inc. Precision tripod motion system with six degrees of freedom
CN103901898A (zh) * 2014-03-28 2014-07-02 哈尔滨工程大学 一种多自由度机器人的逆运动学通用求解方法
CN107336231A (zh) * 2017-05-26 2017-11-10 山东科技大学 六自由度并联平台结构参数优化方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3838501A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI738601B (zh) * 2020-07-28 2021-09-01 盟立自動化股份有限公司 工具的移動路徑的生成方法
US11415959B2 (en) 2020-07-28 2022-08-16 Mirle Automation Corporation Method for generating movement path of tool
CN114970087A (zh) * 2022-04-12 2022-08-30 中国科学院光电技术研究所 一种基于旋转三棱镜装置的反解方法
CN115256369A (zh) * 2022-05-07 2022-11-01 吉林大学 基于多种群灰狼算法的移动装弹机械臂逆运动方法
CN121541491A (zh) * 2026-01-20 2026-02-17 中国重型机械研究院股份公司 一种大型锻造操作机运动轨迹模型构建方法

Also Published As

Publication number Publication date
EP3838501A4 (en) 2022-01-26
EP3838501A1 (en) 2021-06-23
CN108942942B (zh) 2020-01-07
US11648681B2 (en) 2023-05-16
CN108942942A (zh) 2018-12-07
US20200055192A1 (en) 2020-02-20

Similar Documents

Publication Publication Date Title
WO2020034419A1 (zh) 一种基于轴不变量的多轴机器人动力学建模方法
WO2020034422A1 (zh) 一种基于轴不变量的多轴机器人系统正运动学建模与解算方法
US11648681B2 (en) Axis-invariant based multi-axis robot system inverse kinematics modeling and solving methods
WO2020034421A1 (zh) 一种基于轴不变量的多轴机器人系统建模与控制方法
Xie et al. Design and development of a high-speed and high-rotation robot with four identical arms and a single platform
Kecskeméthy et al. An object-oriented approach for an effective formulation of multibody dynamics
Liu et al. Real-time grasping-force optimization for multifingered manipulation: theory and experiments
Löw et al. Geometric algebra for optimal control with applications in manipulation tasks
Gajbhiye et al. Geometric modeling and local controllability of a spherical mobile robot actuated by an internal pendulum
CN109086544B (zh) 基于轴不变量的闭链机器人动力学建模与解算方法
CN109117451A (zh) 基于轴不变量的树链机器人动力学建模与解算方法
Lian et al. Elastodynamic modeling and parameter sensitivity analysis of a parallel manipulator with articulated traveling plate
WO2020034416A1 (zh) 基于轴不变量的通用7r机械臂逆解建模与解算方法
Peng et al. Operational space iterative learning control of coupled active/passive multilink cable-driven hyper-redundant robots
CN108959829B (zh) 基于轴不变量的非理想关节机器人动力学建模方法
Zhang et al. Metamorphic techniques and geometric reconfiguration principles
Vladareanu et al. Versatile Intelligent Portable Robot Platform for flexible robotic cells with AGV
CN108959828B (zh) 基于轴不变量的通用3r机械臂逆解建模与解算方法
Enferadi et al. A virtual power algorithm for dynamics analysis of a 3-RRcP spherical parallel robot using the screw theory
Vulliez et al. Multi-objective design optimization of the Delthaptic, a new 6-DOF haptic device
CN108803350A (zh) 基于轴不变量的动基座多轴机器人动力学建模与解算方法
Chen et al. Geometric Algebra-Based Optimal Control With Analytical Derivatives for Robotic Motion Planning
Zhang et al. Refined elastodynamic modelling and dynamic characteristic analysis of a novel linear-driven Schönflies parallel manipulator
Ma et al. Research on Cascading Modeling of Maintenance Manipulator System Based on Constraint-Following Theory
Zhang et al. A Locomotion Control Method for Modular Robot Based on PPO Algorithm

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18930026

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018930026

Country of ref document: EP

Effective date: 20210316