Controlling apparatus of manipulator

Abstract: In a controlling apparatus of a manipulator equipped with a master arm (1) and a slave arm (2), the improvement comprising a processing device (5) for effecting scale conversion calculation of a calculation result representing the position data of the master arm (1) for expansion or reduction, and outputting the result of this calculation to the slave arm (2).

Description: This invention relates to a controlling apparatus for a manipulator according to the preamble portion of claim 1. The controlling apparatus will be suitable for carrying out various works safely in an environment unendurable to people and in outer space. In conventional master-slave type manipulators in general, there is the limit that a master arm and a slave arm must have the same or similar configuration and hence, free design of an arm structure cannot be made. Since a calculation speed has made a remarkable progress with rapid progress of computer technology, real time calculation control of the manipulator, that has been difficult in the past, has become possible, and attempts have been made to change analog servo control of the master-slave type manipulator which has been predominant in the past to computer control which can attain more complicated and higher control in order to improve manoeuverability of the manipulator. As an example of such attempts, "IECON '84", p.p. 40-45 discloses the technique which lets the motion of terminal of the master arm correspond on 1:1 basis to the motion of terminal of the slave arm having a different configuration from the former through high speed coordinates transformation calculation using a computer. The FR-A-2 297 697 discloses a method for controlling a manipulator in which the movement of one joint of an operating arm corresponds to one axis of the movement system of an operated apparatus. In this system each axis of the operating system and the operated system corresponds one by one and is separated completely. Therefore, since each axis of the operating system and corresponding each axis of the operated system have proportional relationships, the transformation between both movements is performed by a proportional coefficient. In accordance with the prior art technique described above, the ratio of the motion of each arm is 1:1 in order to bring the reference coordinates of the master arm and the slave arm and the two points of the arm terminals into conformity with one another. Therefore, when a fine work is to be carried out by the slave arm, the master arm must carry out the fine work in the same way as the operation required for the slave arm and when a rough motion is required for the slave arm, on the contrary, the master arm, too, must carry out a rough motion. Accordingly, there is left the problem that manoeuverability of the master arm is not high in response to the content of the work of the slave arm. In view of the background described above, the present invention is directed to provide a controlling apparatus of a manipulator which can improve manoeuverability of the master arm in response to the content of the work of the slave arm. The object of the invention is solved by the features of claim 1. The dependent claims show advantageous features and further developments and embodiments of the invention. The controlling apparatus according to the invention is equipped with a processing device which effects scale conversion matrix calculation for expansion or reduction for a calculation result representing the position information of the master arm, and outputs the result of this calculation to the slave arm. The processing device described above calculates the position information upon movement of the master arm makes scale conversion matrix calculation for effecting predetermined expansion or reduction for the result of calculation of the position information, and outputs the result of this calculation to the slave arm. Therefore, the slave arm is subjected to scale conversion with respect to the motion of the master arm and operates, so that the slave arm can make a fine or coarse operation with respect to motion of the master arm. Examples of preferred embodiments of the invention will be described in the following with reference to the accompanying drawings. Fig. 1 shows the construction of a controlling apparatus in accordance with one embodiment of the present invention; Fig. 2 is a structural view showing one example of a sensor data processor constituting the apparatus of the present invention; Fig. 3 is a block diagram showing a definite example of a processing device constituting the apparatus of the present invention; Fig. 4 is a block diagram showing an example of a servo control circuit constituting the apparatus of the present invention; Fig. 5 is an explanatory view useful for explaining the principle of the apparatus of the present invention shown in Fig. 1; Fig. 6 is a block diagram showing the construction of the apparatus in accordance with another embodiment of the present invention; Fig. 7 is a flow chart showing the processing content of the processing device in the apparatus shown in Fig. 6; Fig. 8 is an explanatory view useful for explaining another embodiment shown in Fig. 6; Fig. 9 is a block diagram showing the construction of the apparatus in accordance with still another embodiment of the present invention; and Fig. 10 is a flow chart showing the operation content of the apparatus shown in Fig. 9. First of all, the operation principle of the present invention will be described with reference to Fig. 5 prior to the description of the preferred embodiments thereof. In this drawing, reference numeral 1 represents a master arm equipped with a plurality of links connected to one another by joints and reference numeral 2 represents a slave arm equipped likewise with a plurality of links connected to one another by joints. In this example, the slave arm 2 has a different configuration from that of the master arm 1. It will be assumed hereby that the reference coordinate system of the master arm 1 is M, the coordinate transformation matrix from this reference coordinate system M to the terminal of the master arm 1 is T6 m , the reference coordinate system of the slave arm 2 is S, the coordinate transformation matrix from the reference coordinate system S to the terminal of the slave arm 2 is T6 s and the scale conversion matrix between the coordinate transformation matrices T6 m and T6 s is K. Then, the coordinate conversion calculation is made in the following sequence. The coordinate transformation matrix T6 m to the terminal of the master arm can be determined from the parameter of each link of the master arm 1 and the position of each link connecting shaft. Next, the coordinate conversion calculation containing the scale conversion between the coordinate transformation matrix T6 m to the terminal of the master arm and the coordinate transformation matrix T6 s to the terminal of the slave arm is expressed by the following formula (1): T6 s = K T6 m (1) If K is assumed hereby as follows, then T6 s is the product obtained by multiplying T6 m by a in the x axis of the reference coordinate system M of the master arm 1, by b in its y axis and by c in its z axis. If expansion is to be made equally in the three axial directions, a = b = c . Next, the link parameter of the slave arm 2 is given to the conversion matrix T6 s obtained from the afore-mentioned formula (1), and the reference value of each axis of the slave arm is determined from the inverse coordinate transformation calculation. If each axis is subjected to servo control with respect to the reference value of each axis of the slave arm 2 obtained in this manner, the slave arm 2 can be operated while the motion of the master arm 1 can be expanded or reduced arbitrarily within the motion space of each arm irrespective of the configuration of the arm. Next, the controlling apparatus in accordance with the present invention based on the principle of the invention described above will be explained with reference to Fig. 1. In this drawing, reference numeral 1 represents the master arm and reference numeral 2 the slave arm. In this embodiment, the slave arm 2 has a different configuration from the master arm. Reference numerals 3A to 3C present position sensors disposed at the joint axes of the master arm 2, 4 is a sensor data processor and 5 is a processing device which makes the calculation processing described above and determines the reference of each joint axis of the slave arm. Reference numeral 6 represents a servo controller, 7A to 7C are actuators disposed at the joint axes of the slave arm 2 and 8A to 8C are rotation sensors disposed at the joint axes of the slave arm 2. Next, a definite construction of the sensor data processor 4 described above is shown in Fig. 2. In the drawing, a rotary pulse generator is used as each of the position sensors 3A to 3C. A set of pulse signals whose phases are deviated from each other by 90°, that is, phases A and B, are generated from the position sensors 3A to 3C in accordance with the rotary angle. The signals are inputted to a rotational direction detector 4A to judge the direction of rotary angle. On the other hand, the signal of the phase A or B is applied to a counter 4B to count the pulse number. The direction signal outputted from the rotational direction detector 4A is inputted to the counter 4B to switch the increase and decrease of the pulse number. Therefore, since the value of the counter 4B is increased or decreased in accordance with the increase or decrease of the rotary angle, the rotary angle can be detected by reading from outside the output 4D of the counter 4B. Fig. 3 shows a definite structural example of the processing device 5. Are connected inside the processing device 5 a processor 5A for making input/output control and addition/subtraction, a memory 5B for storing data such as a trigonometrical function table or link parameters of the manipulator, a multiplier 5C and a divider 5D through a bus 5E. Serial or parallel interface circuits 5F and 5G are further connected to this bus 5E. The sensor data processor 4 of the position sensor and the servo controller 6 are connected to the interface circuit 5G. The processor 5A can make access to all the devices connected thereto through the bus 5E and can process the data. Fig. 4 shows a definite example of the servo controller 32. The output from the processing device 5 passes through the subtracter 6A, is converted to an analog signal by a digital/analog converter 5B and is then inputted to actuators 7A to 7C. These actuators 7A to 7C drive the joints of the arm and rotate the angle sensors 8A to 8C. The output signal from each angle sensor 8A to 8C is inputted to the interface 6C to generate an angle signal, which is read by the processor 5A through the parallel interface 5G shown in Fig. 3 and is inputted to the subtracter 5C. The output of the subtracter 6A is the difference between the reference signal outputted from the processing device 5 and the angle signal inputted from the angle sensor 8A to 8C through the interface 6C, and the actuators 7A to 7C are driven in such a manner that this difference becomes zero. In this manner, the joint angle of the slave arm 2 can be brought into conformity with the reference value. Next, the operation of the controlling apparatus in accordance with one embodiment of the invention described above will be explained. When the master arm 1 is operated, each joint angle of the master arm 1 is detected by each position sensor 3A to 3C. This detection signal is inputted to the processing device 5 through the sensor data processor 4. The processing device 5 stores the relation of relative position of the terminal coordinate system MC of the master arm 1 to the reference coordinate system M of the master arm as the coordinate transformation matrix T6 m and also stores the dimensional ratio of the motion of the terminal of the slave arm 2 with respect to the motion of the terminal of the master slave 1, that is, the scale conversion factor K. The processing device 5 makes the scale conversion calculation for the master arm coordinate transformation matrix T6 m and obtains the slave arm coordinate transformation matrix T6 s . Next, the joint angle reference value of the slave arm 2, when the relative position of the terminal coordinate system SC to the slave arm reference coordinate system S is brought into conformity with the slave arm coordinate transformation matrix T6 s , is calculated from the inverse coordinate transformation, and this value is outputted to the servo controller 6. The servo controller 6 drives the actuators 7A to 7C. In this manner, the motion of the terminal of the master arm 1 can be transmitted to the motion of the terminal of the slave arm 2 through scale conversion. As a result, the motion of the master arm 1 can be transmitted to the slave arm 2 within the motion space of each arm irrespective of its configuration by expanding or reducing arbitrarily the motion of the master arm 1. It is thus possible to cause a fine or coarse motion of the salve arm 2 with respect to the operation of the master arm 1. Next, the controlling apparatus in accordance with another embodiment of the present invention will be described. The principle of this embodiment will be explained with reference to Fig. 8 before the description of the embodiment. In this embodiment, the result of the scale conversion calculation of a fine displacement of the terminal position of the master arm 1 is transmitted as the fine displacement of the terminal of the slave arm 2 to the slave arm 2. In the same way as in the embodiment shown in Fig. 1, it will be assumed that the reference coordinate system of the master arm 1 is M, the coordinate transformation matrix from the reference coordinate system M to the terminal of the master arm 1 is T6 m and the scale conversion matrix for the scale conversion calculation is K. If the reference coordinate transformation matrix of the slave arm 2 is assumed further as T6 s , then the sequence of the coordinate transformation calculation is as follows. Namely, the coordinate transformation matrix T6 m can be determined from each link parameter of the master arm 1 and the position of each joint axis. The reference value of each axis of the slave arm 2 can be determined if each link parameter of the slave arm 2 and the coordinate transformation matrix T6 s representing the position of its terminal are given. It will be assumed that the motion of the master arm 1 is synchronised at a certain point of time with that of the slave arm 2, then the following equation can be established between the fine displacement dT6 of the terminal position and the fine displacement dQ of each axis of the manipulator: dT6 = J·dQ (3) where J is Jacobian matrix. When the master arm 1 is caused to make fine motion MD, the fine motion dT6 m of the terminal of the master arm 1 can be given from the following formula with dQ m representing the change of displacement of each joint axis of the master arm 1 and J m representing the Jacobian matrix of the master arm 1: dT6 m = J m ·dQ m (4) Here, the fine motion dT6 s of the terminal of the slave arm 2 is obtained from the following formula by subjecting dT6 m to scale conversion: dT6 s = K·dT6 m (5) Next, the fine displacement dQ s of each joint axis of the slave arm 2 is obtained being by solving the inverse matrix (J s )⁻¹ of the Jacobian matrix of the slave arm 2. Namely, dQ s = (J s )⁻¹ dT6 s (6) The fine displacement dQ s of each joint axis of the slave arm 2 thus obtained is added to the position of each joint axis of the slave arm 2 to obtain the reference value of each joint axis of the slave arm 2 by the servo controller. The controlling apparatus in accordance with another embodiment of the present invention based on the principle of the invention described above will now be explained with reference to Fig. 6. In this drawing, like reference numerals are used to identify like or the same constituents as in Fig. 1. Reference numeral 9 represents a differentiater and 10 is an incrementer. The differentiater 9 detects the change quantity of the sensor signal of each sensor 3A to 3C at a sampling time. The processing device 5 makes various calculations represented by the afore-mentioned formulas (3) to (6) to determine the change quantity of each joint axis of the slave arm 2 and outputs this change quantity to the incrementer 10. The incrementer 10 adds the change quantity obtained by the processing device 5 to the current reference value for each joint axis of the slave arm 2 and inputs the result of addition to the servo controller 6. The servo controller 6 drives the actuators 7A to 7C disposed at each joint axis. Therefore, the slave arm 2 is driven and its moving quantity is detected by the sensors 8A to 8C and fed back to the servo controller 6. As a result, it becomes possible to make scale conversion of the motion of the terminal of the master arm 1 and to transmit it to the terminal of the slave arm. The calculating processing operation of the processing device in the embodiment of the controlling apparatus of the invention described above will be explained with reference to Fig. 7. First of all, the operation is started at the initial position and the initial value of each joint of the master arm 1 is read. Next, the joint angles of the master arm 1 and slave arm 2 are inputted to determine the change quantity dQ m of the joint angle from the difference from the previous data. Next, the trigonometrical function is obtained by referring to the table and the Jacobian matrix J m of the master arm 1 is calculated. The displacement dT6 m of the terminal of the master arm 1 is determined from the joint angle change quantity dQ m and from the Jacobian matrix J m . The scale conversion factor K is obtained by use of the input data. The terminal displacement dT6 m is multiplied by K to obtain the terminal displacement dT6 s of the slave arm. Next, the inverse Jacobian matrix (J s )⁻¹ of the slave arm is obtained. Each joint angle displacement dQ s of the slave arm is obtained by multiplying this dT6 s by (J s )⁻¹ and the sum of the joint angle Q s and dQ s of the slave arm is calculated and the result is outputted to each servo system of the slave arm. The procedures described above are repeated till the end of the operation. In addition to the same effect as that of the embodiment shown in Fig. 1, this embodiment makes it possible to start the operation while the terminals of both master arm 1 and slave arm 2 are in synchronism with one another, at whatever position they may exist. Furthermore, this embodiment can make arbitrary scale conversion. Fig. 9 shows the controlling apparatus in accordance with still another embodiment of the present invention. In the drawing, like reference numerals are used to identify like constituents as in Fig. 9. This embodiment changes the factor of scale conversion of the motion of the slave arm 2 with respect to the motion of the master arm 1 in accordance with the change of a zooming ratio of a television camera 90 photographing the terminal of the slave arm 2. A sensor 91 is disposed on the television camera 90 to detect the movement of its zoom lens and this sensor information is inputted to the processing device 5. The processing device 5 makes predetermined correction calculation by use of this sensor information to determine the scale conversion matrix K and calculates the reference value for causing the scale conversion motion of the slave arm 2 with respect to the motion of the master arm 1. In Fig. 9, reference numeral 92 represents a television monitor disposed on the side of the master arm 1. Next, the operation of the apparatus of this embodiment will be explained with reference to the flow chart of Fig. 10. First of all, the operation is started at the initial position and each joint angle of the master arm 1 is read. Next, the value of the trigonometrical function is obtained by referring to the table. The terminal coordinate system T6 m is determined by use of the value of the trigonometric function thus obtained. When the operation is synchronized with the zoom lens of the television camera 10 as described above, the zooming ratio is detected by the sensor 101 fitted to the zoom lens in order to determine the scale conversion matrix K. When it is not synchronized with the zoom lens, the scale conversion matrix K that is in advance inputted is employed. Next, the terminal position T6 s of the slave arm 2 is determined by multiplying the terminal position T6 m of the master arm 1 by K. The reference value of each joint of the slave arm 2 is obtained from this T6 s by inverse coordinate transformation calculation and outputted to each servo system of the slave arm. The procedures described above are repeated till the end of the operation. According to the construction described above, the ratio of the motion of the terminal of the master arm 1 to the motion of the video picture of the terminal of the slave arm 2 on the television monitor 11 can be kept always constant even if the zooming ratio of the television camera 10 is changed arbitrarily. As a result, a suitable feel of operation can be obtained always and manoeuverability can be improved. Though the operation on the two-dimensional plane has been described in the foregoing embodiments for the sake of description, the present invention can be applied to the case where the operation is effected in three axial directions, too. Furthermore, the expansion ratio or reduction ratio in the three axial directions can be set freely if the matrix provides the scale conversion factor. According to the present invention, the motion of the terminal of the master arm can be transmitted to the terminal of the slave arm while the former is being expanded or reduced arbitrarily. Accordingly, the operation of the master arm can be made in the same way when the slave arm effects a fine precision operation or when it effects a rough and large motion. As a result, manoeuverability can be improved.

Claims: Controlling apparatus for a manipulator with a master arm (1) having a plurality of links connected to one another by joints and a slave arm (2) having a plurality of links connected to one another by joints and a different configuration than the master arm (1), comprising: position sensors (3A-3C) for sensing the displacement of the joints of the master arm (1), a processing device (5) for calculating positions of the joints of the slave arm (2) based on outputs of the position sensors (3A-3C), a servo controller (6) for controlling each of the joints of the slave arm (2) in accordance with the positions calculated by the processing device (5), characterized in that the processing device (5) calculates the position of the terminal of the master arm (1) in a master arm reference coordinate system (M) with the output of the position sensors (3A-3C), executes expansion or reduction scale conversion and coordinate transformation with the calculated position of the terminal of the master arm (1) to calculate a corresponding position of the terminal of the slave arm (2) in a slave arm reference coordinate system (S) and calculates the displacement required by each joint of the slave arm (2) with the calculated position of the terminal of the slave arm (2) to move the terminal of the slave arm (2) to the corresponding position. Controlling apparatus according to claim 1, characterized in that the processing device (5) includes: a first calculation circuit for calculating the terminal position coordinate values in the master arm reference coordinate system (M) on the basis of the displacement data of the master arm (1), a second calculation circuit for performing a scale conversion by multiplying the coordinate values of the master arm (1) from the first calculation circuit by a predetermined scale conversion factor and a third calculation circuit for converting the scale-converted coordinate values of the master arm (1) from the second calculation circuit to the coordinate values of the slave arm (2). Controlling apparatus according to claim 2, characterized in that the second calculation circuit includes memory means (5B) for storing a scale conversion factor that can be set arbitrarily. Controlling apparatus according to claim 2, characterized in that the second calculation circuit sets a scale conversion factor in response to the change of a zooming ratio of a television camera for photographing the terminal of the slave arm (2). Controlling apparatus according to claims 1-4, characterized in that a differentiator (9) for detecting the changing rate of the displacement of each of the joints of the master arm (1) from the position sensors (3A - 3C) is provided, the processing device calculates the changing rate of the terminal position in its reference coordinate system on the basis of the displacement changing rate of each of the joints of the master arm (1) from the differentiator (9) effecting scale conversion for expanding or reducing the result of calculation and determining the change rate of each of the joints of the slave arm (2) and an incrementor (10) for adding the changing rate of each of the joints of the slave arm (2) from the processing device to the position of each of the joints of the slave arm (2) and for obtaining a reference displacement rate is provided, and wherein the servo controller controlls each of the joints of the slave arm (2) by the reference displacement rate from the incrementor (10). Controlling apparatus according to claim 5, characterized in that the processing device (5) includes: first calculation means for calculating the changing rate of the terminal position coordinate value in the reference coordinate system of the master arm (1) on the basis of the displacement changing rate of each of the joints of the master arm (1), second calculation means for making a scale conversion by multiplying the coordinate value of the master arm (1) from the first calculation circuit by a predetermined scale conversion factor and third calculation means for converting the scale-converted changing quantity of the master arm (1) from the second calculation circuit to the changing rate of each of the joints of the slave arm (2). Controlling apparatus according to claim 6, characterized in that the second calculation means include memory means (5B) for storing a scale conversion factor that can be set arbitrarily. Controlling apparatus according to claim 6, characterized in that the second calculation means set a scale conversion factor in response to the change of a zooming ratio of a television camera for photographing the terminal of the slave arm (2).

Inventors: AOKI TATSU, IWAMOTO TARO, NAKAJIMA KICHIO, YAMAMOTO HIROSHI, AOKI, TATSU, IWAMOTO, TARO, NAKAJIMA, KICHIO, YAMAMOTO, HIROSHI
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1987
Main classification: G05B19
IPC codes: B25J3, B25J9, G05B19