首页 / 专利库 / 人工智能 / 机器人技术 / 机器人 / 机器人控制系统 / Control system for an industrial robot with a foresight function

Control system for an industrial robot with a foresight function

阅读:244发布:2024-02-24

专利汇可以提供Control system for an industrial robot with a foresight function专利检索,专利查询,专利分析的服务。并且,下面是Control system for an industrial robot with a foresight function专利的具体信息内容。

A control system for an industrial robot comprising an actuator (16) having at least one axis, a hand (18) connected to the actuator and having a tool (20), and a workpiece shape sensor (22) disposed a predetermined distance in advance of the tool in the direction of travel thereof, and a controller (12) having a memory storing a standard course for the tool, the workpiece shape sensor being operative to trace the standard stored course,
   characterized by:(a) sensor means (22, 24, 34, 44, 54, 64, 74 and 84) for simultaneously sensing a sensor data (Ssen(KH2)) representing a position and/or shape of the workpiece relative to the workpiece shape sensor at a sensing point and a rotation angle data (ϑenc(KH2)) of the axis of the actuator;(b) conversion means (406) for converting the rotation angle data by forward transformation to an actual position and/or posture data (PTenc(KH2)) of the tool at a working point (21) in a robot base coordinate system (O-XYZ), which is at the same position as sensing the rotation angle data and obtaining an actual position data (PS(KH2)) of the workpiece shape sensor on the robot base coordinates from the actual position and/or posture data (PTenc(KH2)) of the tool;(c) computation means for adding the senior data (Ssen(KH2)) to the actual position data (PS(KH2)) of the workpiece shape sensor to generate a workpiece shape data (PSwall(KH2)) of the workpiece at the sensing point on the robot base coordinates;(d) correction means for computing a correction data (ΔPT(KH1)) in accordance with the workpiece shape data and correcting a position and/or posture target data (PTpath(KH1)) of the tool at the working point by the correction data to generate a modified data (PTmod(KH1)); and(e) control means for controlling the position and/or posture of the hand in accordance with the modified data.
A control system according to Claim 1 wherein the conversion means further comprises:(b1) input means for inputting the rotation angle data (ϑenc(KH2)) of six axes from the sensor means;(b2) encoding means for converting the rotation angle data to the actual position and/or posture data by an encoding matrix (A); and(b3) addition means for adding a position and/or posture matrix (IIt→s) representing a position of the workpiece shape sensor with respect to the working point to the actual position and/or posture data to generate the actual position data (PS(KH2)).A control system according to Claim 1 wherein the correction means further comprises:(d1) first subtraction means for subtracting a target offset (Ofs(KH1)) defining a geometrical relation between the working point and the tool end from the actual position and/or posture data to generate a position data (PTtool(KH2)) of the working point;(d2) second subtraction means for subtracting the position data from the workpiece shape data to generate a first vector (L(KH2));(d3) third subtraction means for subtracting the position data from a previous modified data (PTmod(KH1-1)) of the working point to generate a second vector (I(KH1/KH2)); and(d4) approximate means for computing an optimum workpiece shape data (PS1wall(KH1)) on the basis of the first vector and the second vector by vector approximation.A control system according to Claim 1 wherein the correction means further comprises:(d5) geometric selection means for selecting an optimum work shape data (PS1wall(KH1)) from a plurality of the workpiece shape data (PSwall(KH2)) in accordance with the working speed of the robot.A control system according to Claim 1 wherein the correction means further comprises:(d6) geometric selection means for selecting an optimum workpiece shape data (PS1wall(KH1)) from a plurality of the workpiece shape data (PSwall(KH2)) in accordance with a first interval of an output of an angle data (ϑhost(KH1)) computed from the modified data and a second interval of an input of the sensor data from the work shape sensor where the second interval is shorter than the first interval.A control system according to Claim 1 wherein the correction means further comprises:(d7) difference means for computing the correction data (ΔPT(KH1)) in accordance with a difference data (R_Ofs(KH1)) which is obtained by subtracting the position and/or posture target data (PTpath(KH1)) from the optimum workpiece data (PS1wall(KH1)).A control system according to Claim 1 wherein the correction means further comprises:(d8) storage means for storing a teaching point data (PTtch(KHO)) representing a position of the working point on the robot base coordinates;(d9) interpolation means for interpolating the teaching point data to generate the position and/or posture target data (PTpath(KH1));(d10) addition means for adding the correction data to the position and/or posture target data to generate a primary target data (PTpmod(KH1)); and(d11) offset means for adding a target offset (Ofs(KH1)) defining a geometric relation between the working point and the tool end to the primary target data to generate the modified data (PTmod(KH1)).A control system according to Claim 1 wherein the control means further comprises:(e1) comparing means for comparing the correction data (ΔPT(KH1)) with a predetermined threshold level (β);(e2) normally inactive abnormality processing means for indicating an abnormal condition when activated; and(e3) activation means for activating the abnormality processing means when the correction data exceeds the predetermined threshold level.A control system according to Claim 8 wherein the normally inactive abnormality processing means further comprises:(e4) stop means responsive to the activation of the normally inactive processing means for stopping movement of the robot.
说明书全文

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an industrial robot having a foresight function into a work point yet to be worked with a workpiece shape sensor.

Prior Art

There are many types of industrial robots. Some of them have a sensor for tracing certain reference points or lines of a workpiece, e.g. a profile line prescribed on a workpiece surface. An arc welding robot of such a type detects the lines to be welded by monitoring electric current in the welding rod, and by controlling the position of the welding rod holder. Another type of robot stores a welded line data beforehand by an operator's teaching operation of guiding a tool tip along the welded line, and the tool tip then moves and machines on the workpiece in accordance with the stored data.

The former type of welding robot can trace the joint line at low working speed, but it cannot follow it at high speed, because it requires computational time to accurately recognize the position to be welded. When the position is accurately recognized, the welding rod is already out of position. The latter type of robot with the teaching data memory can trace the taught line at high speed in an actual job stage, but it requires the tracing action twice: one for teaching and the other for the actual job. The result is an overall work inefficiency.

As an advanced technology, laid open document of Japanese Unexamined Patent Application No. sho 59-223817 discloses a robot for controlling a tool to trace a joint line of work members by using a slitted light projector and a two-dimensional camera. As sensing and working are simultaneously executed by the robot, the operational time could be reduced. But still it has some drawbacks as follows.

  • (1) As the data processing of the sensed two dimensional image data requires a lot of time, usually more than several seconds for one frame of image, this robot is made to go directly on a straight line from the present working point to the next remote working point. Only a starting point and an ending point of the workpiece is previously taught to this robot but information on the points between them is not taught. The robot is controlled exclusively on information acquired from the sensor between those points. Therefore, when there is an unexpected steep irregular part between those points on the work surface, high tracing fidelity is impossible.
  • (2) When the sensor fails in the course of the work, the robot follows the erred data of the sensor, resulting in possible collision with the workpiece.

SUMMARY OF THE INVENTION

The present invention is constructed as set forth in order to solve the above-mentioned problems inherent to the prior art.

A control system in accordance with the preamble of Claim 1 is specified in INTERNATIONAL JOURNAL OF ROBOTICS RESEARCH Vol. 4, No. 1, 1985, CAMBRIDGE MA US page 13 - 26; CLOCKSIN W.F. et al: "An Implementation of Model-based Visual Feedback for Robot Arc Welding of Thin Sheet Steel".

The invention provides a control system according to Claim 1.

A system according to the invention is applicable to an industrial robot R4, as shown schematically in Fig. 1, having a hand R1 which is provided with a tool R2 and a workpiece shape sensor R3. The tool R2 and the workpiece shape sensor R3 have a known spatial relationship relative to one another. The system which traces a pre-stored standard course, comprises: temporary store means R5 for inputting shape data of a workpiece W sensed by the workpiece shape sensor R3 at a present sensing point, calculating and storing a subsequent position and/or posture data of the tool R2, the subsequent position and/or posture data corresponding to a time point at which the tool R2 comes to said present sensing point, and outputting the subsequent position and/or posture data after a delayed time interval. The delayed time interval corresponds to a time interval through which the tool R2 comes to the present sensing point; comparing means R6 for calculating a difference between the subsequent position and/or posture data and a pretaught standard position and/or posture or attitude data of the tool R2 calculated from the pre-stored standard course; and control means R7 for controlling the position and/or posture of the hand R1 based on the calculated difference.

The robot R4 may be a simple 2-degree-of-freedom type. One degree of freedom is for controlling the distance between the hand R1 and the workpiece W; the other degree of freedom is for the movement perpendicular to the distance. In this case, the posture of the tool R2 is fixed. The advantage of the invention is that the controller can control more complicated multi-axis or multi-joint robots having, for example, five or six axes of rotation. In this case, the posture of the tool R2 can be controlled in addition to the position. The kind of work done by the robot is naturally unimportant to the invention. Welding, painting, cutting, trimming, drilling, assembling, measuring the dimensions and inspection of surface defects are some examples of the work. The tool R2 is not limited to conventional metal tools or modern laser tools for machining, and measuring devices or some other inspecting devices can be the tool R2 in this invention.

The workpiece shape sensor R3 may be a simple distance sensor which detects only the distance between the sensor and the workpiece. This type of sensor can be used in the 2-axis robot. In more sophisticated robots, the sensor R3 senses a workpiece shape, i.e. a direction of the normal vector of the work surface, besides the distance. The sensor R3 may be any type such as a non-contact type, e.g. laser distance sensor, or contact type sensor, e.g. a wire probe sensor.

The temporary storage means R5 temporarily stores information sent from the sensor R3, and outputs it sequentially or selectively to the comparing means R6. Specifically, the temporary storage means R5 may be composed of, memory chips, and integrated circuits capable of executing a predetermined logical functions. The temporary storage means R5 has another function to reconcile the sensing timing of the sensor R3 and the control timing of the robot R4.

The standard path or course of the hand R1 is, in one case, a course constructed by interpolating discrete teaching points stored in a memory of the robot control system. It may be, in another case, a path or course determined by a preset program.

According to one aspect of the invention, the temporary storage means R5 of the control system may comprise:

   means for calculating said subsequent position and/or posture data from a present relative position and/or posture data of the workpiece W with respect to the workpiece shape sensor R3, which is detected by the workpiece shape sensor R3 and a present position and/or posture of attitude data of the hand R1;

   means for storing the subsequent position and/or posture data;

   means for determining whether a current position and/or posture data is substantially the same as the stored subsequent position and/or posture data at the end of the delayed time interval; and

   means for correcting the standard course using the current position and/or posture data that is determined to be substantially the same in the determining means.

The control means R7 may comprise abnormality processing means for executing a predetermined abnormality processings when said difference calculated in the comparing means R6 is greater than a pre-determined threshold value. The predetermined abnormality processings can include stopping movement of the robot R4 and outputting an abnormality signal externally of the robot R4. The predetermined abnormality processings may otherwise include stopping, utilizing the calculated difference which is based on the sensed shape data; and controlling the position and/or posture of the hand R1 based only on the standard position and/or posture data of the tool R2 calculated from the standard course.

Various functional means described above can be constructed by a logic circuit of discrete electronic elements or by a microcomputer including some integrated circuits with predetermined processing programs.

Present invention provides a control system for an industrial robot with a foresight function into the workpiece and a teaching data storing function which co-operatively provides the robot with a responsiveness to a higher working speed even on a complicated workpiece shape.

Another advantage of the invention is that it can provide an efficient control system applicable to various industrial robots from simple operating capability to complicated operating capability.

BRIEF EXPLANATION OF THE DRAWINGS

The invention may be best understood by referring to the following description of a preferred embodiment and the drawings in which:

  • Fig. 1 is a schematic block diagram showing the basic structure of the invention;
  • Fig. 2 is a perspective view of a robot system with a laser tool in a preferred embodiment of the invention;
  • Fig. 3A is a plan view of the actuator portion of the robot of Fig. 2;
  • Fig. 3B is a side view of the actuator portion of the robot of Fig. 2;
  • Fig. 3C is a front view of the actuator portion of the robot of Fig. 2;
  • Fig. 4 is an enlarged fragmentary perspective view of a portion of the robot of Fig. 2 showing the hand part having the laser tool and a shape sensor of the robot in working position;
  • Fig. 5 is an illustrative figure of a workpiece, a sensor head and a sensor controller of the robot during sensing;
  • Fig. 6 is a schematic block diagram of the actuators and controller of the robot of Fig. 2;
  • Fig. 7 is a functional block diagram of a first CPU and a second CPU used in the robot of Fig. 2;
  • Fig. 8 is a schematic representation of the robot tool and the workpiece illustrating a situation where actual workpiece shape is different from a pretaught shape;
  • Fig. 9 is a schematic representation of the robot tool and the workpiece illustrating relations of various vectors during movement;
  • Fig. 10 is a flow chart of a program executed in the first CPU 300 of Figs. 6 and 7; and
  • Fig. 11A and Fig. 11B are flow charts of programs executed in parallel in the second CPU 301.

DESCRIPTION OF PREFERRED EMBODIMENT

This embodiment is a six-axis robot equipped with a tool for machining a workpiece by means of a laser beam and equipped with a sensor for sensing the shape of a workpiece at a position yet to be worked. As shown in the perspective view of a robot system of Fig. 2, a robot 10 includes: a robot controller 12 for general control of the robot 10; a teching box 14 for permitting an operator to teach the robot 10 in advance how to proceed with the job; an actuator 16 having six axes of rotation and being controlled by the robot controller 12; a hand 18 with a laser tool 20 and a sensor head 22 for sensing the shape of a workpiece W; and a sensor controller 24 for processing information from the sensor head 22. The robot controller 12 is provided with a terminal T and a printer P. Details of the actuator 16 and the hand 18 are described hereinafter.

The tool 20 uses a big power laser light beam which is generated by an external device (not shown). The laser beam is directed to the tip of the tool 20 via a light guide 26 and is spotted on the surface of the workpiece W. Other components of the laser tool 20, such as mirrors and prisms, are not shown in the figure because they are not important to the present invention.

The sensor head 22 senses the relative position of the workpiece W with respect to the sensor head 22 and also senses the posture of the workpiece W by means of a combination of three distance sensors (see Fig. 4). The outputs of the sensor head 22 are transmitted to the sensor controller 24 via a sensor cable 28 and are processed in the controller 24, both of which are detailed hereinafter.

The actuator 16 of the robot 10 is now explained in detail in connection with the description of Figs. 3A, 3B and 3C. This actuator 16 has six axes of rotation: the first, second and third axes control a position of the hand 18 in relation to the workpiece W; and the fourth, fifth and sixth axes control a posture of the hand 18 in relation to the workpiece W. Each axis has a motor, a brake and a rotation angle sensor (of an encoder type): the first axis has a first motor 30, a first brake 32 and a first angle sensor 34; the second axis has a second motor 40, a second brake 42 and a second angle sensor 44; the third axis has a third motor 50, a third brake 52 and a third angle sensor 54; the fourth axis has a fourth motor 60, a fourth brake 62 and a fourth angle sensor 64; the fifth axis has a fifth motor 70, a fifth brake 72 and a fifth angle sensor 74; and the sixth axis has a sixth motor 80, a sixth brake 82 and a sixth angle sensor 84. Rotation about the second axis and the third axis are performed by the following mechanism. Rotation of the motors 40 and 50 are transformed into linear movements by means of respective ball screw feeders 90 and 92; and the linear movements are transformed into rotations on the axes by means of parallel links. Rotation about the other axes are driven by respective motors via torque tubes, reduction gears and other transmitting members.

The hand 18 of the actuator 16 is explained with reference to Fig. 4. The laser tool 20 and the sensor head 22 are attached to the hand 18 with a preset distance between them. The relative positional relationship between the tool 20 and the sensor head 22 is unchanged regardless of the movement of the hand 18. As described before, the sensor head 22 includes three distance sensors 102, 104 and 106. The robot 10 moves over the workpiece W in such a manner that the sensor head 22 precedes the tool 20. In other words, the sensor head 22 senses a point P1 of a work surface at which the tool 20 will machine subsequent to a point P0 on which the tool 20 is in machining position.

The sensor head 22 senses the point P1 as follows. The three distance sensors 102, 104 and 106 measure the distance and the direction of points P11, P12 and P13 from respective sensors 102, 104 and 106. The points P11, P12 and P13 are actually very close to the point P1 but are shown more distant in Fig. 4 for the purpose of explanation.

Fig. 5 shows a block diagram of the sensor head 22 and the sensor controller 24. Each distance sensor 102, 104 and 106 detects the distance to a surface point LC of the workpiece W by the following method. For purpose of brevity, this method is described only for the sensor 102. The distance sensor 102 includes: a laser diode 200 for emitting a laser light having wavelength of about 750 µm; a pulse modulator 202 for pulsating the laser light with a preset duty ratio; a collimator lens 204 for collimating the laser light; a one-dimensional PSD (Position Sensitive Device) 206 of length 2·L; an objective lens 208 for focusing the laser light reflected by the work surface on the PSD 206; and two pre-amplifiers 210 and 212 for converting the photo induced electric currents I1 and I2 from the PSD 206 into corresponding voltages. The PSD 206 is made of silicon photo diodes: a p-type resistant layer is provided on a high resistance silicon substrate (i-layer); two electrodes are provided on either ends of of the layered structure for outputting signals; and a common electrode is provided at the center of the surface of the high resistance silicon substrate (i-layer). When a light is focused on a certain position of the p-type layer surface, electric current Io is generated there. The current Io is divided into two currents I1 and I2 which are outputted from the electrodes of the either ends of the PSD 206. When the focused position is dislocated by a distance of Δx from the center of the PSD 206, the respective currents I1 and I2 outputted from the PSD 206 to the pre-amplifiers 210, 212 are given by:

Namely, the current Io is divided into currents I1 and I2 to reverse proportion to the distance of the focused position to the respective end electrodes.

The optical system including the laser diode 200, the collimator lens 204, the objective lens 208 and the PSD 206 is so arranged that:

  • (1) when the axis of the incident laser light and the axis of the reflected light make an angle ϑ, the reflected laser light passes the center of the PSD 206, and
  • (2) in that case, an angle ϑ made by the reflection axis and the PSD 206 is set at such a value that the laser light reflected from the spotted point LC on the work surface focuses on the PSD surface irrespective of the position of the point LC.

Therefore, a displacement x of the workpiece W, i.e. a change in the distance between the distance sensor 202 and the workpiece W, and the dislocation Δx of the focus point from the center of the PSD 206 have a relation as follows.



Δx = (1/cosϑ)·(Bo - (Ao·f + f·x·cosδ)/(Ao - f + x·cosδ))   (2),



where f is a focal length of the objective lens 208,

   Ao is a distance between the spotted point LC to the objective lens 208 when the incident axis and the reflected axis make angle δ, and

   Bo is a distance between the objective lens 208 to the center point of the PSD 206.

From the equations (1) and a general equation (1/f = 1/Ao + 1/Bo) representing a relationship between focal lengths, the following equation is derived:

Equation (3) shows that the displacement x of the workpiece W with respect to the distance sensor 102 is known by measuring the output currents I1 and I2 from the opposite ends of the PSD 206. The calculations of the equation (3) are performed at the calculation sections 214, 216 and 218 of the sensor controller 24 in this embodiment. As the three calculation sections 214, 216 and 218 have the same construction, only section 214 will be described.

A position determinator 224 of the calculation section 214 receives the output currents I1 and I2 from the PSD 206 via respective input buffers 220 and 222 and calculates (I1 - I2)/(I1 + I2) . The position determinator 224 outputs a signal representing the calculation result and proportional to Δx/L to a linearlizer 226, wherein the signal is corrected to be proportional to the displacement x of the workpiece W. The output signal of the linearlizer 226 is converted into a digital signal by an A/D converter 228 to be input into a sensor input port 230 of the robot controller 12.

The robot controller 12 is now explained with reference to Fig. 6. The robot controller 12, working as a process controller for the six-axis actuator 16 and as a teaching controller for the robot 10, is a microcomputer including a first CPU 300, a second CPU 301, ROM 302, RAM 304, backup RAM 306 and other electronic elements interconnected via a bus line 308, all of which are well-known and easily available devices. The other elements include: a bubble memory 310 as an external memory device; a bubble memory interface 312 for the bubble memory 310; a terminal I/O port 314 for a terminal T equipped with a CRT display and a keyboard; a printer output port 316 for a printer P; a T-box input port 318 for a teaching box (T-box) 14; the sensor input port 230 for the sensor head 22, here the sensor input port 230 generates an interrupt in the second CPU 301 at every preset time interval to transmit the signal from the sensor controller 24; and six servo circuits 320, 322, 324, 326 and 330 for respective first to sixth axes.

Every one of the servo circuits 320 through 330 is a so-called intelligent type, provided with a CPU. When a target position data and a target posture data for the tool 20 are given from the first CPU 300 via the bus line 308, the circuits 320, 332, 324, 326, 328 and 330 drive respective motors 30, 40, 50, 60, 70 and 80 via motor drivers 332, 334, 336, 338, 340 and 342 to locate the tip of the tool 20 at the target position and to place the tool 20, or the hand 18, in a target posture. In the driving process, the angle sensors 34, 44, 54, 64, 74 and 84 feed back the rotation angle on respective axes to the servo circuits 320 through 330. The circuits 320 through 330 further drive the brakes 32, 42, 52, 62, 72 and 82 as occasion demands in order to prevent the arm of the actuator 16 from falling down when the power source for the servo circuits 320 through 330, or for the motors 30, 40, 50, 60, 70 and 80, is turned off.

Operations of the robot controller 10 is here explained with reference to the perspective view of the system in Fig. 2 and the functional block diagram in Fig. 7. The control of the robot controller 12 broadly defined in the two parts. One is a part controlled by the first CPU 300 for generating a command signal calculated from pre-taught data and corrected by a correction ΔPT(KH1) and for outputting it to the actuator 16; the other is a part controlled by the second CPU 301 for calculating the correction ΔPT(KH1) based on the shape data sensed by the sensor head 22.

The command generating part is first explained. Before starting a particular job with the robot 10, an operator teaches the robot 10 which work points 21 (see Fig. 2) on the workpiece W the tool 20 should trace and what posture the tool 20 should take in advance of every work point 21 via the teaching box 14. The input data 400 (Fig. 7) of the teaching information is stored in the backup RAM 306 (Fig. 6).

An example of an easy teaching operation is as follows. An offset bar of a certain length is attached at the tip of the laser tool 20. The length of the offset bar is determined as an appropriate distance between the tip of the tool 20 and the work surface adapted for the specific job. The operator moves the hand 18 with the tip of the offset bar tracing a desired path on the workpiece surface, or sometimes off the surface, determining the position and posture of the tool 20 at every work point 21 (Fig. 2).

The position of every work point 21 with respect to a predetermined reference point of the robot 10 and the posture of the tool 20 at the work point 21 are stored in the form of a 4x4 matrix. For example, teaching data at an m-th teaching point (work point) is represented by

where Nx, Ny, Nz are xyz components of a normal vector,

   Ox, Oy, Oz are xyz components of an orient vector,

   Ax, Ay, Az are xyz components of an approach vector and

   X, Y, Z are xyz components of a position vector of the m-th teaching point.

Every component of the vectors is represented by a coordinate system O-XYZ with the origin O at the predetermined reference point of the robot 10. The normal vector represents a normal direction of the workpiece surface; the orient vector represents a moving direction of the tool 20 and is perpendicuar to the normal vector; and the approach vector is perpendicular to the two vectors.

After the teaching operation, the robot 10 starts the particular job. The basic operation of the robot 10 are similar to those of a known playback robot; and are explained with reference to Fig. 7. While the teaching operation is done at a series of teaching points PTtch(KH0) and the data 400 is stored in the memory, the points PTtch(KH0) are fewer for an actual machining job. Therefore, position and posture data PTpath(KH1) (target data) of the tool 20 is calculated from the nearest several teaching point data PTtch(KH0) (400) stored in the memory by a known interpolating method (402). A correction ΔPT(KH1) and a target offset Ofs(KH1) 412 are then applied on the target data PTpath(KH1) to turn out a modified data PTmod(KH1).



PTpmod(KH1) = PTpath(KH1)·ΔPT(KH1)   (5)



Here, PTpmod(KH1) is a primary target position of the tool tip.



PTmod(KH1) = PTpmod(KH1)·(Ofs(KH1))   (6)

The target offset Ofs(KH1) is a position of the work point 21 represented by a coordinate sytem originating on the tip of the tool 20 and represents a relative position of the work point 21 with respect to the tool tip. The correction ΔPT(KH1) is calculated in the second CPU 301, which is explained later. In the above case, PTpath(KH1), ΔPT(KH1), PTpmod(KH1), Ofs(KH1) and PTmod(KH1) have a relationship as shown in Fig. 8. The modified data PTmod(KH1) is input into an inverse kinematic transformation block 404 (Fig. 7), which decodes PTmod(KH1) and generates rotation angle data ϑhost(KH1) for the six axes. Those are operations executed in the first CPU 300.

Each of the six angle data ϑhost(KH1) is output to respective servo circuits 320 through 330, which control the motors 30, 40, 50, 60, 70 and 80 via the drivers 332 through 342 to move the work point 21 of the tool 20 to the modified target point represented by PTmod(KH1).

When the correction ΔPT(KH1) calculated in the second CPU 301 is received by the first CPU 300, it is first compared with a predetermined threshold value β at the abnormality detecting block 405. When the amount of the correction ΔPT(KH1), which is represented by ℓ₂ norm ||ΔPT(KH1)|| of the Eucledian space, is greater than β, it is possible that the robot 10 may be astray. In that case, preset abnormality processings, e.g. an emergency stop of the robot 10, are started. If the amount of correction ||ΔPT(KH1)|| is less than β, the correction ΔPT(KH1) is used normally as described above to turn out the modified target data PTmod(KH1) in the first CPU 300.

The calculating process of the correction ΔPT(KH1) in the second CPU 301 is then explained with reference to Fig. 7 and Fig. 9. The first CPU 300 and the second CPU 301 are working in parallel and the output timing of the modified target data PTmod(KH1) from the first CPU 300 and the output timing of the correction ΔPT(KH1) from the second CPU 301 are in synchronization. But the interval of sensing and storing the shape of the workpiece W executed in the second CPU 301 is smaller than or equal to the interval of the above output timing of PTmod(KH1) and ΔPT(KH1). Therefore, a time interval corresponding to a series of points KH2 for sensing, which will be explained, is shorter than or equal to that of the previously explained series of points KH1.

When a routine of the second CPU 301 is started, the CPU 301 first inputs rotation angle data ϑenc(KH2) of the six axes from the angle sensors 34, 44, 54, 64, 74 and 84 and then converts the data into actual position and posture data PTenc(KH2) of the tool 20 utilizing a kinematic transformation block 406. The conversion is done in accordance with the following calculation.



PTenc(KH2) = Δ[ϑenc(KH2)]   (7),



where Δ is an encoding matrix and [ϑenc(KH2)] is an angle vector composed of the input six angles. At a coordinate transformation block 408, the actual data PTenc(KH2) is transformed into an actual position data PS(KH2) of the sensor 22 by the following equation.



PS(KH2) = PTenc(KH2)·πt-s   (8),



whereπt-s is a position and posture matrix representing the position of the sensor 22 with respect to the work point 21.

A sensed data Ssen(KH2) representing the relative position of the sensor 22 and the workpiece W and the shape of the workpiece W at the sensing point input from the sensor controller 24 is converted into a workpiece shape data PSwall(KH2) (410_1) representing the position and posture of the workpiece W with respect to the reference point 0 of the robot 10 utilizing the data PS(KH2).



PSwall(KH2) = PS(KH2)·Ssen(KH2)   (9).

The sensed data Ssen(KH2) may be an average of a plurality of sensed data with a very short sampling interval.

The data PSwall(KH2) is temporarily stored in a memory 410_2, where the RAM 304 actually works as the memory 410_2.

After a predetermined stime interval, a compare block 410_3 calculates a specifically selected work shape data PS1wall(KH1) for a next work point utilizing the data PSwall(KH2) stored in the temporary memory 410_2 by the following processings.

First a position of the work point PTtool(KH2) is calculated from the actual position data PTenc(KH2) and the target offset Ofs(KH1) by the following equation.



PTtool(KH2) = PTenc(KH2)·(Ofs(KH1))⁻¹   (10).

Here the target offset Ofs(KH1) is changed according to information external of the robot 10, e.g. machining conditions, or according to commands generated in the control program of the robot 10.

From the xyz components (Xwall, Ywall, Zwall) of the workpiece shape data PSwall(KH2) and the xyz components (Xtool, Ytool, Ztool) of the position data PTtool(KH2) of the work point at KH2, a vector L(KH2) spanning from PTtool(KH2) to PSwall(KH2) is defined as



L(KH2) = (Xwall, Ywall, Zwall) - (Xtool, Ytool, Ztool)   (11).

Another vector I(KH2|KH1) spanning from PTtool(KH2) to PTmod(KH1-1) is defined from the xyz components (Xmod, Ymod, Zmod) of the present modified position data PTmod(KH1-1) and the xyz components (Xtool, Ytool, Ztool) of the position data PTtool(KH2) of the work point at KH2.



I(KH2|KH1) = (Xmod, Ymod, Zmod) - (Xtool, Ytool, Ztool)   (12).

From these two vectors L(KH2) and I(KH2|KH1), a length ||IL(KH2|KH1)|| of a vector IL(KH2|KH1) which is a projection if I(KH2|KH1) on L(KH2) is caculated as



||IL(KH2|KH1)|| = ||I(KH2|KH1)·cosϑ(KH2|KH1)||   (13),



where



cosϑ(KH2|KH1) = (L(KH2)·I(KH2|KH1))/(||L(KH2)||·||I(KH2|KH1)||)

Then a change ΔIL of IL by one sample interval is calculated as



ΔIL(KH2|KH1) = IL(KH2|KH1) = IL(KH2|KH1-1)   (14).

PS1wall(KH1) is determined as PSwall(KH2) at which ||L(KH2)|| - (||IL(KH2|KH1)|| + ||ΔIL(KH2|KH1)||) is nearest to 0. Alternatively, when a KH2 value at which ||L(KH2)|| - (||IL(KH2|KH1)|| + ||ΔIL(KH2|KH1)||) is least does exist, PS1wall(KH1) may be determined by interpolating from three work shape data PSwall(KH2-1), PSwall(KH2) and PSwall(KH2+1). For example, only the posiiton vectors are calculated out by the following interpolation.



α1 = (||PSwall(KH2-1) - PTpath(KH1)||)⁻¹,

α2 = (||PSwall(KH2) - PTpath(KH1)||)⁻¹, and

α3 = (||PSwall(KH2+1) - PTpath(KH1)||)⁻¹,



where PSwall is a position vector of PSwall and PTpath is a position vector of PTpath. Providing



αˆ1 = α1/(α1 + α2 + α3),

αˆ1 = α1/(α1 + α2 + α3) and

αˆ1 = α1/(α1 + α2 + α3),



the position vector PSwall is calculated as



PS1wall(KH1) = αˆPS1wall(KH2-1) + αˆPS1wall(KH2) + αˆPS1wall(KH2+1).

The reason why PS1wall(KH1) is selected as described above is that the interval of the output of target data from the robot controller 12 to the servo circuits 332 through 342 is longer than the interval of the input of the position and shape data of the work point from the sensor controller 24. Another reason is that the working speed of the robot 10 may occasionally change from a lower speed to a higher speed. In any case, there stored a plurality of work shape data in the temporary memory 410_2 and it is necessary to select a most suitable data among the plurality of data.

As the robot controller 12 is thus constructed, an adequate target position is determined even when the working speed of the robot 10 is changed. For example, when the number of data output from the sensor controller 24 and the number of data output from the robot controller 12 are nearly equal and the working speed of the robot 10 abruptly changes from low to high, information on the work W at desired target point can be missing. But in the above embodiment, because robot control data are generated by interpolating sensed data on scarcer points, such problem will not arise.

When the selected data PS1wall(KH1) is output from the compare block 410_3, a difference R_ofs(KH1) between PS1wall(KH1) and the target data PTpath(KH1) calculated at the interpolation block 402 is calculated as



R_ofs(KH1) = (PTpath(KH1))⁻¹·PS1wall(KH1)   (15).

At a selection block 410_4, a matrix ΔPT(KH1) having non-zero components only on such cells corresponding to those sensed by the the sensor 22 is calculated. For example,

  • (1) when only the z component distance (by the tool coordinate system) is sensed,
  • (2) when only the y component distance (by the tool coordinate system) is sensed,
  • (3) when the z component distance and the posture is sensed, where R_ofs(KH1) = (PTpath(KH1))⁻¹·PS1wall(KH1) . The correctionΔPT(KH1) thus obtained is input into an abnormality detection block 405 where it is compared with a predetermined threshold value β. When the amount of ΔPT(KH1), i.e. ||ΔPT(KH1)|| , is greater than β, an adequate abnormality processings, e.g. an emergency stop of the robot operations, are executed because it is possible that the robot 10 is astray. If ||ΔPT(KH1)|| is smaller than β, ΔPT(KH1) is used to turn out the modified data PTmod(KH1) as described before.

The above processings executed in the first CPU 300 and the second CPU 301 are depicted in the flow charts of Figs. 10, 11A and 11B. As described before, the first CPU 300 and the second CPU 301 are co-operating in synchronism with each other. In the first CPU 300 as shown in Fig. 10, the following processings are executed after the robot 10 starts a particular job.

   step 500: Target position and posture data PTpath(KH1) is calculated from teaching data PTch(KH0) stored in the memory by known interpolation method.

   step 502: The target data PTpath(KH1) of the present point and a modified data of one point before PTmod(KH1-1) are sent to the second CPU 301 to request the correction ΔPT(KH1).

   step 504: The correction ΔPT(KH1) is input from the second CPU 301.

   step 506: The correction ΔPT(KH1) is compared with the predetermined threshold value β.

If ||ΔPT(KH1)||≧ β , processing steps 510 and after are executed, but

   if ||ΔPT(KH1)|| < β , the program goes to step 508.

   step 508: An abnormality processing is executed. Specifically, the robot 10 is emergently stopped and the processings are terminated.

   step 510: Modified data PTmod(KH1) is calculated from PTpath(KH1), ΔPT(KH1) and the target offset Ofs(KH1).

   step 512: The modified data PTmod(KH1) is decoded into six target rotation angles ϑhost(KH1) of the respective axes of the robot.

   step 514: The target rotation angles ϑhost(KH1) are output to respective servo circuits 320 through 330.

   step 516: The counter KH1 is incremented by 1 to repeat the above processing with the new point.

The second CPU 301 executes the program of Fig. 11A and the program of Fig. 11B in parallel by the known multi-task processing. In the first program of Fig. 11A, the following processing steps are executed.

   step 600: Counter KH2 for the sensing timing is cleared 0.

   step 601: Position and shape data Ssen(KH2) of the sensing point is input from the sensor controller 24.

   step 602: Rotation angles ϑenc(KH2) of the six axes are input from the angle sensors 34, 44, 54, 64, 74 and 84. The sensed results should be input after the sensor 22 starts sensing.

   step 603: Actual data PTenc(KH2) on the work point, actual data PTtool(KH2) on the tool tip, the data on the sensing point PSwall(KH2), the vector L(KH2), and the length ||L(KH2)|| are calculated as described before and stored in the temporary memory 410_2.

   step 604: The counter KH2 is incremented by 1 to repeat the above described sensing processings.

The following steps 606 through 623 are executed in parallel with the steps 600 through 604 by the multi-task processing.

   step 606: A compare counter i is cleared 0.

   step 607: The present target data PTpath(KH1) and the previous modified data PTmod(KH1-1) are input from the first CPU 300.

   step 608: PTtool(i) is read out from the temporary memory 410_2 and calculates the vector I(i|KH1) which is spanning from PTtool(i) to PTmod(KH1-1) and the length ||I(i|KH1)|| .

   step 609: L(i) is read out from the workpiece shape memory and the angle cosϑ(i|KH1) between the vectors I(i|KH1) and L(i) is calculated as described above.

   step 610: The vector IL(i|KH1), which is a projection of the vector I(i|KH1) on the vector L(i), and the length ||IL(i|KH1)|| are calculated by the equation (13).

   step 611: The change ΔIL(i|KH1) and the length ||ΔIL(i|KH1)|| are calculated by the equation (14).

   step 612: It is determined whether ||L(i)|| is nearly equal to (||IL(i|KH1)||+||ΔIL(i|KH1)||) . When the absolute difference of ||L(i)|| and (||IL(i|KH1)||+||ΔIL(i|KH1)||) is smaller than a preset small value ε, they are determined as nearly equal. If they are nearly equal, the program proceeds to step 618, otherwise to step 615.

   step 615: The compare counter i is compared with the sensing counter KH2. If i ≧ KH2, the program proceeds to step 622, but if i< KH2, to step 616.

   step 616: The compare counter i is incremented by 1 to repeat steps 608 and after.

   step 618: The data PS1wall(i) is read out from the temporary memory 410_2 and is put into PS1wall(KH1).

   step 619: A difference R_ofs(KH1) between the assumed work shape data PS1wall(KH1) and the target data PTpath(KH1) is calculated by the equation (15).

   step 620: The correction ΔPT(KH1) is calculated from the difference R_ofs(KH1) at the selection block 410_4.

   step 622: If i ≧ KH2, the previous correction ΔPT(KH1-1) is used as the present correction ΔPT(KH1).

   step 623: The correction ΔPT(KH1) is sent to the first CPU 300.

   step 624: The compare counter i is incremented by 1 to repeat steps 607 and after.

By the above processings, the robot 10 works at every point while sensing the future point on the workpiece. In the above embodiment, the temporary memory 410_2 seems necessary to have an infinite memory capacity. But a so-called ring-buffer type memory is effective in realizing the temporary memory 410_2.

The above embodiment has advantages over prior art robot controllers as follows.

  • (1) The robot 10 is capable of high speed work because it senses the target point in advance. Specifically, a robot according to the present invention has a maximum work speed of up to 500 m/sec, while conventional robots have maximum work speeds of about 50-100 m/sec.
  • (2) The robot 10 cannot go astray because it does not rely solely on the sensed information but it refers also the teaching information.
  • (3) Accurate control can be performed because the robot 10 is controlled according to a series of target points. For example, even if an abrupt change in the shape of the work exists between the present working point and the present sensing point, the target data of that part is already stored in the memory and an adequate trace on the workpiece can be done.
  • (4) The temporary memory 410_2 can admit a change in the working speed. Thus the working speed can be changed during working.
  • (5) As the sensed information on the position and/or posture is represented by a matrix, the present system can be applied from such a simple system with only one-dimensional correcting function to that with a three-dimensional correcting function.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈