This application relates to the control of drive systems for machines such as robot arms.
A typical robotic manipulator comprises a series of rigid elements which are coupled together by joints. The elements may be joined in series to form an arm. The joints can be driven so as to cause relative motion of the rigid elements. The rigid elements may stem from a base and terminate in an end effector. Thus motion at the joints can be used to position the end effector at a desired location. Each joint may provide rotational motion or linear motion. The joints may be driven by any suitable means, for example electric motors or hydraulic actuators.
When the robot is in operation it will be required to cause the end effector to move to some desired position. For example, the robot may be required to use the end effector to pick up an object. That would require the end effector to be moved to where the object is. To accomplish this, some combination of motions of the joints is required. Calculating those motions is the role of the robot's control system.
Conventionally the robot is provided with position sensors, each of which senses the configuration of a respective one of the joints. This position information is fed to the control system.
A well-known strategy for the control system is as follows:
1. Receive information indicating a desired position of the end effector.
2. Determine a set of target configurations of the joints of the robot that will result in the end effector being in that position. This is known as inverse kinematics.
3. Receive information indicating the current configuration of each joint in the robot, compare those current configurations to the target configurations and calculate a set of torques or forces required at each joint in order to reduce the error between the respective joint's current and target positions.
4. Send drive signals to the actuators in the robot in order to impose those torques or forces at the respective joints.
This series of steps is performed repetitively so that over time the motion of the robot conforms to the target configurations. Instead of, or in addition to, indicating a position of the end effector, the information input to the system could indicate a desired position of another part of the robot. This may apply if, for example, a robot arm is required to avoid an external obstruction near the mid-point of the arm.
An alternative approach is known as impedance control. Impedance control involves regulating the relationship between (i) torque/force and (ii) position, velocity and acceleration.
In certain applications, controlling the impedance of the end-effector is more advantageous than only controlling the position. For example, in an application where the end effector is required to insert a long rod (for example an endoscope) through a small aperture (e.g. a port), it is advantageous for the end effector to have a finite stiffness, so that slight misalignment between the port and endoscope can be accommodated.
The impedance control block implements the impedance control model based on those inputs in order to generate a demanded acceleration (α) in joint space. The demanded acceleration is expressed as the vector of
where qd is the commanded joint motion q. These are then moderated by an inverse dynamics block to generate a set of drive torques or forces T which are used to drive the robot manipulator. It is understood that in this approach impedance is synthesised at the end effector. This has the disadvantage that the contact torque/force (hc) at the end effector should be measured, which may be difficult or even impossible in some situations: for example some surgical robotic applications, and involves additional cost and potentially unreliability. A further problem with this approach is that it relies on modelling inverse dynamics. This requires ongoing computation of the manipulator's accelerations and makes the control performance sensitive to the accuracy of the model of the robot manipulator, which may be inaccurate in its data for masses, inertias, losses and so on. A further problem is that the impedance control approach is sensitive to external disturbances that are outside the scope of the model, such as drive friction and unexpected physical obstacles. These will lead to position tracking errors.
KMΔ{dot over (v)}dcc+KMΔvdcc+hΔc=hc
for vdc and v′dc. In this equation, KM represents a matrix of spring constants and vdc represents the difference in position between the demand reference frame and the compliant frame. The desired position, rotation, speed and acceleration in the compliant frame are passed to a position and orientation control block. That block is a controller which sets the tracking performance of the system based on the difference between the values determined from the impedance control block and the values determined by direct kinematics. The output of the position and orientation control block is a set of set of output torques or forces α, representing the demanded accelerations in joint space, which are processed as in the scheme of
There is a need for an improved control system for mechanical systems such as robot manipulators.
According to the present disclosure there is provided an example method for controlling a mechanical system having a plurality of components interlinked by a plurality of driven joints, the method comprising: measuring the torques or forces about or at the driven joints and forming a load signal representing the measured torques or forces; receiving a motion demand signal representing a desired state of the system; implementing an impedance control algorithm in dependence on the motion demand signal and the load signal to form a target signal indicating a target configuration for each of the driven joints; measuring the configuration of each of the driven joints and forming a state signal representing the measured configurations; and forming a set of drive signals for the joints by, for each joint, comparing the target configuration of that joint as indicated by the target signal to the measured configuration of that joint as indicated by the state signal.
The method may comprise driving each of the driven joints in dependence on the respective drive signal. Each of the driven joints may be provided with a respective electric motor for driving motion at the joint. Each drive signal may be applied to the respective electric motor.
The method may comprise repeatedly performing the second measuring step, the forming step and the driving step. The step of forming the set of drive signals may be performed at higher frequency than the step of forming the target signal.
The impedance control algorithm may be implemented in dependence on, for each driven joint, a respective mass, damper and spring term.
The motion demand signal may represents a desired configuration for each of the driven joints.
The method may comprise: receiving a primary motion demand signal representing a desired physical position of a part of the mechanical system; performing an inverse kinematic computation to determine a configuration for each of the driven joints that would position the part of the mechanical system at the desired physical position; and providing those configurations as the motion demand signal.
The method may comprise: receiving data representing desired impedance characteristics for the physical system in a first coordinate space; and converting that data to, for each driven joint, a respective mass, damper and spring term.
The first coordinate space may be a Cartesian, non-Cartesian, topological or vector space.
The impedance control algorithm may be implemented in joint space.
The motion demand signal may represent a desired physical position of a part of the mechanical system.
The said step of implementing the impedance control algorithm may comprises: implementing the impedance control algorithm to determine a target physical position of the part of the mechanical system; performing an inverse kinematic computation to determine a configuration for each of the driven joints that is suitable for positioning the part of the mechanical system at the target physical position; and forming the target signal as indicating those configurations as the target configurations for the driven joints.
The method may comprise: specifying additional information indicating a desired configuration of the mechanical system. The step of performing an inverse kinematic computation is performed so as to determine a configuration for each of the driven joints that is suitable for positioning the part of the mechanical system at the target physical position and satisfying the desired configuration specified by the additional information.
The method may comprise converting the measured torques or forces about or at the driven joints to a first coordinate space different from the space in which they were measured so as to form the load signal.
The first coordinate space may be a Cartesian space, non-Cartesian space, topological space or vector space.
The mechanical system may be a robot manipulator.
The mechanical system may be a surgical robot. The end effector of the surgical robot may be a surgical tool.
The mechanical system may be a master-slave manipulator. The motion demand signal may be formed by a master controller.
According to a second aspect of the disclosure there is provided a controller for a mechanical system, the controller being configured to perform a method as set out above.
According to a third aspect of the disclosure there is provided a robot manipulator having a plurality of components interlinked by a plurality of driven joints and a controller configured for controlling the manipulator by a method as set out above.
According to a fourth aspect of the disclosure there is provided a non-transitory computer readable storage medium having stored thereon computer readable instructions that, when executed at a computer system, cause the computer system to perform a method as set out above.
The said part may be an end effector or a part proximal of the end effector. The desired position of the part may be a defined by defining a unique position of the part or a permitted locus of the part.
The components may be rigid and/or elongate components. The joints may be rotational and/or linear joints.
Examples according to the present disclosure will now be described with reference to the accompanying drawings.
In the drawings:
The control unit 22 will typically be a computer; either in a single housing or distributed between multiple physical units and potentially between different locations.
Two control algorithms, A and B, will be described below. In each algorithm a set of desired configurations (qd) are computed for the joints of the arm. qd can be a vector specifying a configuration for each joint of the arm. The configurations may be angular and/or linear configurations, depending on the motion of each joint. The desired configurations are compared to the current configurations as sensed by the position sensors 20 of the arm. In dependence on the difference between each joint's desired configuration and its current configuration a joint space position controller computes a torque which when applied about the joint will tend to drive the joint towards the desired configuration. Each joint is then driven in accordance with the respective computed torque, preferably so as to apply substantially that computed torque about the joint.
An impedance model is used to calculate the desired joint configurations. The impedance model has inputs from an external stimulus, and design constraints which can be specified so as to achieve a desired impedance. The external stimulus could be a pre-programmed trajectory for the end effector or any part of the arm, or could be given by direct user input as in the case of a master-slave manipulator.
The first control algorithm A will now be described with reference to
The first control algorithm comprises the following functional blocks: a reference position inverse kinematics block 50, a joint space impedance parameter computation block 51, a joint space impedance control solver block 52 which may solve ordinary differential equations (ODEs), and a joint space position controller block 53.
In the description below the term p represents a position in a suitable reference frame, which could be but is not necessarily a Cartesian reference frame. The term q represents a set of joint angles for joints 12-19 in the arm of
In general terms, the first control algorithm operates in the following way.
One example of how this can be implemented mathematically is as follows.
Values are chosen for Mq, Dq, and Kq to set the desired mass, damper and spring terms. A convenient approach is to choose a desired spring constant K and then choose M and D to make the system critically damped at a chosen frequency.
The joint space impedance control solver can solve the following equation for q:
Mq(q){tilde over ({umlaut over (q)})}+Dq(q){tilde over ({dot over (q)})}+Kq(q){tilde over (q)}=τm
where {tilde over (q)} denotes qref and τm represents the set of measured torques at each joint. In order to solve this a standard approach may be used, for instance:
{tilde over ({umlaut over (q)})}=Mq(q)−1[τm−Dq(q){tilde over ({dot over (q)})}−Kq(q){tilde over (q)}]
Such an equation can be solved with state variables {tilde over ({dot over (q)})} and {tilde over (q)} using a time-step method.
In the general Cartesian case, Mq and Dq can be shown to be:
Mq=J(q)TMxJ(q)
Dq=J(q)T{DxJ(q)+Mxj(q)}
Where J indicates the Jacobian and Kq(q){tilde over (q)} is better calculated as J(q)TKx{tilde over (x)}.
In some situations, for example when the mechanical system is a redundant serial robot manipulator, Mq(q) might be not a full rank matrix. In that case a number of approaches can be followed.
It should be noted that in operation Mq(q), Dq(q) and Kq(q) are not necessarily constant, and may need to be periodically updated. On the other hand, Mx, Dq and Kq may sensibly be chosen to be constant, although they could also vary over time.
In this first control algorithm A position control can be achieved either by ensuring that the dimensions to be controlled are in the null space of TT, or by specifying a suitably stiff impedance for those dimensions.
The reference position inverse kinematics block can be omitted if the reference position is supplied in joint space.
The impedance parameters could be supplied in any suitable space, and converted into joint space. If they are supplied in joint space then the joint space impedance parameter computation block 51 could be omitted.
To illustrate this first control algorithm, consider the joint 14 of the robot arm of
This will result in Mq, Dq and Kq all being scalar. The torque is given as TTτm, which is also scalar. Hence the ODE may be solved to give the component of qd for joint 14. That component of qd can then be combined with the other qd components computed from the reference inverse kinematics, and the resulting complete joint position vector can be supplied as a set of points into the joint space position controller 53.
A second control algorithm B will now be described with reference to
The second control algorithm comprises the following functional blocks: an impedance control block 60, an inverse kinematics block 61, an additional input block 62, a joint space position controller block 63 and a torque transformation block 64.
In general terms, the second control algorithm operates in the following way.
In the first control algorithm A the impedance parameters can be supplied in a coordinate system different to that in which the impedance control algorithm is implemented. In the second control algorithm B the coordinate system(s) in which pref and the impedance matrices are defined can be different from the coordinate system in which the values F are measured. Conveniently pref and the impedance matrices can be defined in the coordinate system in which the impedance itself is specified. In each case the said coordinate system may be a well-known coordinate system (e.g. spherical, quadraplanar, elliptic cylindrical, polar, spheroidal, orthocentric, toroidal, harmonic or Gaussian) or may be an arbitrary coordinate system defined by a parameterisation of a vector or topological space). The coordinate system may have any number of dimensions suitable to the data needed to be represented. In one example the coordinate system could be a Cartesian space, defined on three linear axes whose orientations are fixed in space. In another example the coordinate system could be a non-Cartesian system defined by parameters none of which represents a linear value on an axis whose orientation is fixed in space. By choosing an appropriate coordinate system to the required impedance characteristics the impedance definition matrices Mp, Dp, Kp can, if desired, be kept constant. This can reduce the amount of computation needed to implement the algorithm. For example, if the impedance is to be synthesised on the surface of a sphere, Mp, Dp, Kp could be 2×2 matrices, and the impedance control would define motion in two degrees of freedom, whilst the other four degrees of freedom would be controlled directly, e.g. from block 61.
The impedance control block 60 may compute the demanded position pd by solving the ODE for the mechanical impedance and then by setting a position demand to the inverse kinematics.
In some situations it will be convenient for the impedance matrices and pref to be expressed in spherical coordinates. When spherical coordinates are being used the following can be noted:
In both algorithms A and B the loops through blocks 53/63 and 54/65 with feedback of q to block 53 may be performed asynchronously from the generation of qd. For example that feedback loop may be performed at higher frequency than the generation of qd.
The control unit 22 may be capable of implementing either or both of the first and second control algorithms A, B. It may configured so as to select whether to apply the first or second algorithm in dependence on the operation of the manipulator. The first control algorithm is particularly convenient for use when the required impedance behaviour maps closely to the reference frame of the end effector, for example when the impedance can be readily expressed in Cartesian x, y, z coordinates and rotary degrees of freedom. The second control algorithm is particularly convenient for use when the required impedance behaviour does not map closely to the reference frame of the end effector, for example when the impedance is defined for movements of the end effector on an arbitrary N dimensional coordinate system, such as the surface of a sphere. Considerations that may influence the choice of algorithm include testability, computational complexity and clarity of presentation.
In each of algorithms A and B the torque/force signals F received from the torque/force sensors 20, 21 at the joints of the manipulator may be conditioned before being used in other parts of the respective algorithm. For example, they may be adjusted by subtracting force modelled in dependence on the current pose of the arm to substantially cancel the effect of gravity and/or inertial torque/forces from the measured forces/torques, they may be filtered to remove noise and/or they may be processed to remove measurement offset.
Impedance control in accordance with the algorithms A and B described above can be useful in control systems for driven articulated mechanical systems where it is necessary for the mechanical system to interact with the environment in a controlled manner. The impedance can be defined to provide any required physical impedance behaviour. For example it may be advantageous for a robotic manipulator's end effector to appear springy to a user interacting with it. In this case the desired behaviour of the end effector position is one which the position is linearly proportional to the exogenous force applied at the end effector. This can be defined by means of the impedance matrices. In general, the impedance matrices may permit an arbitrary mechanical impedance (that is an arbitrary relationship between torque/force and position) to be defined. The impedance may be defined in any suitable vector space, with any suitable number of dimensions. The impedance may be defined for any position along the robotic manipulator.
In algorithms A and B the joint space position controller blocks may optionally perform inverse dynamics.
It will be noted that the algorithms A and B as described above do not require calculations to be made to attempt to compensate for uncertainty in the actual applied torques/forces. Instead, the algorithms form their outputs in dependence on measured joint configurations and measured torques/forces. This can be simpler and more accurate than some prior approaches.
In algorithms A and B the inverse kinematics problem is kept separate from the position control loop. One potential advantage of this is that the problem of arm position control in joint space can be separated from, and solved and optimised independently of, the inverse kinematics problem. Another potential advantage of this is that the inverse kinematics approach can be independently developed. In the case of redundant serial manipulators (such as that of
As described above, the impedances can be defined in an arbitrary coordinate system. Then in one or more degrees of freedom the manipulator may operate under impedance control, while in the remaining degree(s) of freedom the manipulator may operate under position control.
Unlike some prior art approaches algorithms A and B do not require a dedicated torque/force sensor at the end effector, although such a sensor could be used.
Algorithms A and B are particularly suitable for use when the joints are driven with high gear ratios. High gear ratios are often advantageous because they can deliver a good highest power/volume ratio. In joints which are directly driven by electric motors, it is often feasible to determine the torque/force delivered by a joint by from an examination of the current through its drive motor. This is because most electric motors have a well-defined current-torque relationship. However, due to drive-train frictional losses at high (e.g. 1:100 or more) gear ratios, it can be difficult to estimate the joint output torque from measurement of the motor-side torque in high ratio drives. Instead, torque sensors can be incorporated at or in the final output bearing or linkage of each joint. This can avoid the need to estimate joint torques from motor-side quantities. In addition the presence of torque sensors within each joint can negate the need for a force/torque sensor at the end effector.
The robot or manipulator could be for any suitable purpose. For example, it could be an industrial robot or a surgical robot. In the case of a surgical robot the end effector could be a surgical tool such as a scalpel, surgical cutter, surgical pincer or cauteriser.
The joints could be driven by electric motors, which could be rotary or linear, or by other means such as hydraulic or pneumatic actuators. These would be driven from the same control algorithms.
In the description above algorithms A and B have been split into functional blocks for ease of explanation. In practice, two or more of these blocks could be architecturally combined.
Algorithms A and B as described above could be applied to robots or manipulators of any suitable form. They are not limited to arms of the type shown in
The applicant hereby discloses in isolation each individual feature described herein and any combination of two or more such features, to the extent that such features or combinations are capable of being carried out based on the present specification as a whole in the light of the common general knowledge of a person skilled in the art, irrespective of whether such features or combinations of features solve any problems disclosed herein, and without limitation to the scope of the claims. The applicant indicates that aspects of the present disclosure may consist of any such individual feature or combination of features. In view of the foregoing description it will be evident to a person skilled in the art that various modifications may be made within the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
1605108 | Mar 2016 | GB | national |
This application is a continuation of U.S. patent application Ser. No. 15/466,984, filed Mar. 23, 2017, titled “Robot Control,” which claims priority to UK patent application number 1605108.8, titled “Robot Control,” filed Mar. 24, 2016, the entirety of each of which is hereby incorporated by reference herein.
Number | Name | Date | Kind |
---|---|---|---|
6183048 | Takahira | Feb 2001 | B1 |
9221177 | Herr et al. | Dec 2015 | B2 |
9814605 | Vitiella et al. | Nov 2017 | B2 |
9821456 | Riedel | Nov 2017 | B2 |
9883815 | Einarsson et al. | Feb 2018 | B2 |
20090105880 | Okazaki | Apr 2009 | A1 |
20090171505 | Okazaki | Jul 2009 | A1 |
20110029133 | Okazaki et al. | Feb 2011 | A1 |
20110208355 | Tsusaka | Aug 2011 | A1 |
20120059515 | Abdallah et al. | Mar 2012 | A1 |
20130151009 | Okazaki | Jun 2013 | A1 |
20140081460 | Ando et al. | Mar 2014 | A1 |
20140107843 | Okazaki | Apr 2014 | A1 |
20140379126 | Ueberle | Dec 2014 | A1 |
20150081098 | Kogan | Mar 2015 | A1 |
20150231787 | Inazumi | Aug 2015 | A1 |
Number | Date | Country |
---|---|---|
101432103 | May 2009 | CN |
202716271 | Feb 2013 | CN |
103118842 | May 2013 | CN |
104440913 | Mar 2015 | CN |
104626168 | May 2015 | CN |
3206765 | Sep 2001 | JP |
2008-302496 | Dec 2008 | JP |
Entry |
---|
JP2004-223663 Toru in view of English Translation (Year: 2004). |
Variable and Parametere—MIT Open Course Ware Differential Equation (Year: NA). |
GB Search Report for GB Patent Appl. No. 1605108.8, dated May 31, 2016. |
Patent Cooperation Treaty Application No. PCT/GB2017/050814, International Search Report and Written Opinion dated Jul. 25, 2017, 17 pages. |
Communication pursuant to Article 94(3) EPC in EP application No. 17 714 533.1 dated Jul. 10, 2020, 9 pages. |
Notification of Reason(s) for Refusal dated May 26, 2021 in JP Patent Application No. 2018-549939 with English translation (13 pages total). |
Shigeki Toyama, Robotics Engineering, First Edition, Tokyo, Japan, Corona Corporation, Feb. 25, 1994 with partial English translation (5 pages total). |
First Notification of Office Action issued in Chinese Application No. 201780019183.3, dated May 6, 2021, 27 pages, with an English language translation. |
Summons to attend oral proceedings dated Oct. 28, 2021 in related European Patent Application No. 17714533.1 (12 pages total). |
Number | Date | Country | |
---|---|---|---|
20190152056 A1 | May 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15466984 | Mar 2017 | US |
Child | 16256642 | US |