Apparatus, molding system, method, and computer program for acquiring deviation amount from proper position of mold

The device and method facilitate quick and accurate determination of mold deviation from its proper position in a molding machine by using sensors and a control device to calculate distances and angles, enhancing mold positioning efficiency.

JP7556736B2Active Publication Date: 2024-09-26FANUC LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020165612
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2024-09-26
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

Existing technologies face challenges in easily and quickly determining the amount of deviation of a mold from its proper position in a molding machine.

Method used

A device and method that utilize a mold arrangement with specific axes and reference points, combined with sensors and a control device, to detect and calculate the deviation of a mold from its proper position by acquiring distances and angles using a processor.

Benefits of technology

The solution allows for a more efficient and rapid determination of mold deviation, reducing the number of steps required and improving accuracy in mold positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556736000021
    Figure 0007556736000021
  • Figure 0007556736000026
    Figure 0007556736000026
  • Figure 0007556736000009
    Figure 0007556736000009
Patent Text Reader

Abstract

To provide a technique that makes it possible to more easily acquire the amount of deviation from the correct position of a mould in a moulding machine.SOLUTION: A mould 20 has a first surface 22 arranged to extend in the direction of a first axis orthogonal to the central axis A1 of the mould 20 when it is placed in a predetermined proper position relative to a moulding machine 12. An apparatus for acquiring the amount of deviation of the mould 20 installed on the moulding machine 12 from the proper position includes a first distance acquiring unit that acquires a first distance in the direction of the second axis orthogonal to the central axis A1 and the first axis between a first reference point and a second reference point defined on the first surface 22 at positions separated from each other in the direction of the first axis when the installation position of the mould 20 is displaced from the proper position, and a deviation amount acquiring unit that acquires a first deviation amount around the central axis of the mould 20 with respect to the proper position using the first distance acquired by the first distance acquiring unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an apparatus, a molding system, a method, and a computer program for acquiring the amount of deviation of a mold from a proper position. [Background technology]

[0002] 2. Description of the Related Art A molding system is known that acquires the amount of deviation of a mold installed in a molding machine from an appropriate position (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-89850 A Summary of the Invention [Problem to be solved by the invention]

[0004] There has been a demand for a technique for more easily obtaining the amount of deviation of a mold from the correct position in a molding machine. [Means for solving the problem]

[0005] In one embodiment of the present disclosure, the mold has a first surface that is disposed so as to extend in the direction of a first axis perpendicular to a central axis of the mold when the mold is disposed at a predetermined appropriate position relative to the molding machine. An apparatus for acquiring an amount of deviation of a mold installed in a molding machine from an appropriate position includes a first distance acquisition unit that acquires a first distance in the direction of the central axis and a second axis perpendicular to the first axis between a first reference point and a second reference point that are determined on the first surface at positions spaced apart from each other in the direction of the first axis when the installation position of the mold is displaced from the appropriate position, and a deviation amount acquisition unit that acquires a first amount of deviation around the central axis of the mold from the appropriate position using the first distance acquired by the first distance acquisition unit.

[0006] In another aspect of the present disclosure, a method for acquiring an amount of deviation from an appropriate position of a mold installed in a molding machine includes a processor acquiring a first distance in the direction of a central axis and a second axis perpendicular to the first axis between a first reference point and a second reference point defined on a first surface at positions spaced apart from each other in the direction of the first axis when the installation position of the mold is displaced from the appropriate position, and acquiring a first amount of deviation around the central axis of the mold relative to the appropriate position using the first distance acquired by the first distance acquisition unit. Effect of the Invention

[0007] According to the present disclosure, the number of steps required to obtain the amount of deviation can be reduced, so that the amount of deviation can be obtained more simply and quickly. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 illustrates a molding system according to one embodiment. [Diagram 2] FIG. 2 is a block diagram of the molding system shown in FIG. [Diagram 3] FIG. 2 is an enlarged view of the end effector shown in FIG. [Figure 4] The mold is shown in the correct position. [Diagram 5] This shows a state in which the mold installation position has been displaced from the appropriate position. [Figure 6] 3 is a flowchart showing an example of a flow for acquiring reference data indicating a proper position of a mold in the molding system shown in FIG. 2. [Figure 7] This shows the state at the end of step S1 in FIG. [Figure 8] This shows the state when the determination in step S4 in FIG. 6 is YES. [Figure 9] 3 is a flowchart showing an example of a flow for acquiring an amount of deviation of a mold from an appropriate position in the molding system shown in FIG. 2. [Figure 10] This shows the state when the determination in step S4 in FIG. 9 is YES. [Figure 11]10 is a flowchart showing another example of the flow for acquiring the amount of deviation of a mold from a proper position in the molding system shown in FIG. 2. [Figure 12] FIG. 11 is a block diagram of a molding system according to another embodiment. [Figure 13] 11. In the molding system shown in FIG. 2, this shows the state at the end of step S11 in FIG. [Figure 14] 3 is a block diagram showing other functions of the molding system shown in FIG. 2. [Figure 15] This shows a state in which the mold installation position has been displaced from the appropriate position. [Figure 16] 15 is a flowchart showing an example of a flow for acquiring an amount of deviation of a mold from an appropriate position in the molding system shown in FIG. 14. [Figure 17] 17 is a flowchart showing an example of the process of steps S21, S22, and S25 in FIG. 16. [Figure 18] This shows the state at the end of step S31 in step S25. [Figure 19] This shows the state when the determination in step S25 is YES in step S34. [Figure 20] 10 is a flowchart showing another example of the flow for acquiring the amount of deviation of a mold from a proper position in the molding system shown in FIG. 2. [Figure 21] 21 is a flowchart showing an example of the process of steps S21' and S22' in FIG. 20. [Figure 22] 3 is a diagram for explaining a method for acquiring the amount of deviation of the die in the direction of the central axis with respect to the correct position in the molding system shown in FIG. 2. [Figure 23] 13 is a block diagram showing further functions of the molding system shown in FIGS. 2 and 12. FIG. [Figure 24] 24 is a diagram for explaining a method for acquiring the amount of deviation of the die in the direction of the central axis from the appropriate position in the molding system shown in FIG. 23. FIG. [Diagram 25] 24 is a flowchart showing an example of an operation flow of the molding system shown in FIG. 23. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In various embodiments described below, similar elements are given the same reference numerals, and duplicated descriptions will be omitted. In the following description, the robot coordinate system C1 in the drawings is used as a reference for directions, and for convenience, the x-axis positive direction of the robot coordinate system C1 is referred to as the right, the y-axis positive direction is referred to as the front, and the z-axis positive direction is referred to as the up.

[0010] First, a molding system 10 according to one embodiment will be described with reference to Figures 1 and 2. The molding system 10 includes a molding machine 12, a robot 14, a control device 16, and a sensor 17 (Figure 2). The molding machine 12 is, for example, an injection molding machine or a die-cast molding machine, and has a mold installation section 18 and a mold 20 detachably installed in the mold installation section 18.

[0011] In this embodiment, the mold 20 is a substantially rectangular prism-shaped member having a central axis A1, and has a left surface 22, a right surface 24, a lower surface 26, an upper surface 28, and a rear surface 30. Each of the left surface 22, the right surface 24, the lower surface 26, the upper surface 28, and the rear surface 30 is substantially flat. The left surface 22 and the right surface 24 are disposed parallel to and opposite to each other.

[0012] The lower surface 26 and the upper surface 28 are disposed parallel to and facing each other, and are perpendicular to the left surface 22 and the right surface 24. The rear surface 30 is perpendicular to the central axis A1 and is perpendicular to the left surface 22, the right surface 24, the lower surface 26, and the upper surface 28. A cavity 32 is formed in the center of the mold 20. A material such as resin is poured into this cavity 32, and the molding machine 12 molds the material in the cavity 32 to produce a molded product.

[0013] The robot 14 performs a predetermined operation (e.g., removing the molded product or inserting an insert part into the molded product) on the molded product molded by the molding machine 12 using the mold 20. In this embodiment, the robot 14 is a vertical articulated robot and has a robot base 34, a rotating body 36, a robot arm 38, a wrist 40, and an end effector 42. The robot base 34 is fixed on the floor of the work cell. The rotating body 36 is provided on the robot base 34 so as to be rotatable around a vertical axis.

[0014] The robot arm 38 has a lower arm 44 rotatably attached to the rotating body 36 about a horizontal axis, and an upper arm 46 rotatably attached to the tip of the lower arm 44. The wrist 40 is rotatably attached to the tip of the upper arm 46, and rotates the end effector 42 about the wrist axis A2.

[0015] The end effector 42 is detachably attached to the tip end (so-called wrist flange) of the wrist 40. In this embodiment, the end effector 42 is a robot hand capable of gripping an object. As one example, the end effector 42 has an adsorption part (negative pressure generator, electromagnet, suction cup, etc.) that adsorbs an object, and grips the object by adsorbing it with the adsorption surface. As another example, the end effector 42 has a plurality of claws that can be opened and closed, and pinches and grips the object with the claws.

[0016] Each component of the robot 14 (robot base 34, rotating body 36, lower arm 44, upper arm 46, wrist 40) has a built-in servo motor 48 (FIG. 2). These servo motors 48 rotate each movable element of the robot 14 (rotating body 36, lower arm 44, upper arm 46, wrist 40) around a drive shaft in response to a command from the control device 16. As a result, the robot 14 can move the end effector 42 forward and backward into the mold 20 and perform a predetermined operation on a molded product molded by the mold 20.

[0017] The sensor 17 detects, as a detection value α, a contact force CF when the robot 14 touches up the mold 20 with the end effector 42. As an example, the sensor 17 has a six-axis force sensor 17A provided on the robot base 34, the rotating body 36, the robot arm 38, or the wrist 40. The six-axis force sensor 17A has multiple strain gauges, and detects the magnitude and direction of an external force applied to the end effector 42.

[0018] When the robot 14 touches up the die 20 with the end effector 42 with a contact force CF, an external force corresponding to the contact force CF is applied from the die 20 to the end effector 42 as a reaction force to the contact force. The six-axis force sensor 17A can detect the contact force CF as the external force applied to the end effector 42. The detection value α of the six-axis force sensor 17A includes the magnitude of the external force applied to the end effector 42 or the output value of a strain gauge.

[0019] As another example, the sensor 17 has a feedback sensor 17B built into the robot 14 and detects a feedback value FB (feedback current, load torque, etc.) from the servo motor 48. Specifically, when the robot 14 touches up the mold 20 with a contact force CF, an external force is applied from the mold 20 to the end effector 42 as described above.

[0020] The feedback value FB from the servo motor 48 varies in response to this external force. Therefore, the feedback sensor 17B can detect the magnitude of the contact force CF from the feedback value FB. In this case, the detection value α of the feedback sensor 17B is the feedback value FB.

[0021] As yet another example, the sensor 17 has a torque sensor 17C provided on each servo motor 48 of the robot 14. The torque sensor 17C detects the torque applied to the drive shaft of the servo motor 48. When the robot 14 touches up the mold 20, an external force applied from the mold 20 to the end effector 42 is applied as a torque to the drive shaft of each servo motor 48.

[0022] Therefore, the torque sensor 17C can detect the magnitude of the contact force CF from the torque. In this case, the detection value α of the torque sensor 17C includes the value of the torque applied to the drive shaft, or the value of the external force applied to the end effector 42, which is calculated from the torque detected by each torque sensor 17C.

[0023] 2, the control device 16 is a computer having a processor 50, a memory 52, and an I / O interface 54, and controls the molding machine 12, the robot 14, and the sensor 17. The processor 50 is communicatively connected to the memory 52 and the I / O interface 54 via a bus 56, and performs arithmetic processing to realize various functions described below while communicating with the memory 52 and the I / O interface 54.

[0024] The memory 52 has a RAM or a ROM, etc., and temporarily or permanently stores various data. The I / O interface 54 has, for example, an Ethernet (registered trademark) port, a USB port, an optical fiber connector, or an HDMI (registered trademark) terminal, and communicates data with an external device in a wired or wireless manner under instructions from the processor 50. The servo motor 48 and the sensor 17 described above are connected to the I / O interface 54 so as to be able to communicate with each other in a wired or wireless manner.

[0025] 1, a robot coordinate system C1 is set for the robot 14. The robot coordinate system C1 is a coordinate system for automatically controlling the operation of each movable element of the robot 14, and is fixed and set with respect to the robot base 34. In this embodiment, the robot coordinate system C1 is set with respect to the robot 14 so that its origin is located at the center of the robot base 34 and its z axis coincides with the rotation axis of the rotating body 36 (i.e., the vertical direction).

[0026] 3, a tool coordinate system C2 is set for the end effector 42. This tool coordinate system C2 is a coordinate system that defines the position of the end effector 42 in the robot coordinate system C1. In this embodiment, the tool coordinate system C2 is set for the end effector 42 so that its origin is located at a known working point 42a of the end effector 42 and its z axis is parallel to the wrist axis A2.

[0027] When moving the end effector 42, the processor 50 sets a tool coordinate system C2 in the robot coordinate system C1, and generates a command to each servo motor 48 of the robot 14 to position the end effector 42 at a position represented by the set tool coordinate system C2. In this way, the processor 50 positions the end effector 42 at an arbitrary position in the robot coordinate system C1. The origin position (i.e., the working point 42a) of the tool coordinate system C2 in the robot coordinate system C1 and the direction of each axis are known. In this document, "position" may refer to both position and posture.

[0028] The processor 50 operates the robot 14 according to a previously created operation program OP0, and causes the robot 14 to execute the above-mentioned predetermined operations (such as an operation of removing a molded product or an operation of inserting and removing an insert part into a molded product) on a molded product molded by the molding machine 12 using the mold 20. For example, the operation program OP0 can be created by teaching the actual robot 14 the operations to perform operations on the molding machine 12 whose mold 20 is installed in a predetermined appropriate position relative to the mold installation section 18 (FIG. 1) in real space.

[0029] Alternatively, the operation program OP0 may be created by arranging a model of the molding machine 12 and a model of the robot 14 in a virtual space and performing a simulation in which these models are operated in the virtual space (so-called offline teaching). The model of the molding machine 12 and the model of the robot 14 are 3D CAD models having ideal dimensions (i.e., design dimensions), and therefore, in the model of the molding machine 12, the model of the mold 20 is placed at a predetermined appropriate position. The created operation program OP0 is stored in the memory 52 in advance.

[0030] Here, the operator may change the mold 20 (so-called stage change) depending on the manufacturing process. In this case, the installation position of the mold 20 with respect to the mold installation section 18 may be displaced from the appropriate position. An example of such displacement of the mold 20 will be described below with reference to Figs. 4 and 5. Fig. 4 shows a state in which the mold 20 is placed at a predetermined appropriate position with respect to the mold installation section 18 (Fig. 1).

[0031] Here, in this embodiment, when the mold 20 is installed in the appropriate position, the central axis A1 of the mold 20 is approximately parallel to the y axis of the robot coordinate system C1, the left surface 22 and the right surface 24 of the mold 20 are arranged so as to extend in the direction of the z axis (first axis) of the robot coordinate system C1 (or are arranged so as to be perpendicular to the x axis of the robot coordinate system C1), and the lower surface 26 and the upper surface 28 of the mold 20 are arranged so as to extend in the direction of the x axis (second axis) of the robot coordinate system C1 (or are arranged so as to be perpendicular to the z axis of the robot coordinate system C1). Furthermore, the coordinates of the central axis A1 of the mold 20 in the xz plane of the robot coordinate system C1 at this time are expressed as follows: (x A , z A ) In other words, the central axis A1 is located at the known coordinate Q of the robot coordinate system C1. A (x A , y, z A )

[0032] On the other hand, Fig. 5 shows a state in which the installation position of the mold 20 has been displaced from the appropriate position. In the example shown in Fig. 5, the mold 20 has been displaced so as to rotate around the central axis A1 from the appropriate position indicated by the dotted line by a displacement amount θ (first displacement amount). In this embodiment, the processor 50 functions as a device 60 (Fig. 2) that acquires the displacement amount θ of the mold 20 from the appropriate position.

[0033] The function of the device 60 will be described below with reference to Fig. 6. The flow shown in Fig. 6 is executed by using the actual molding machine 12 in which the mold 20 is placed in the appropriate position as shown in Fig. 4. The processor 50 starts the flow shown in Fig. 6 when it receives a reference data acquisition command from an operator, a higher-level controller, or a computer program.

[0034] In step S1, the processor 50 places the robot 14 at a predetermined initial position IP. This initial position IP is determined in advance by an operator, for example, as a position where the working point 42a of the end effector 42 is spaced downward from the central axis A1 of the mold 20 by a distance Δ1 and spaced leftward from the left surface 22 of the mold 20.

[0035] For example, the initial position IP may be defined as a coordinate of the robot coordinate system C1 that sets the origin of the tool coordinate system C2. The operator may set the distance Δ1 within the range of 0<Δ1<Δ1. MAX This upper limit value Δ1 MAX is the distance in the z-axis direction of the robot coordinate system C1 from the central axis A1 to the bottom surface 26. FIG. 7 shows an example of a state in which the robot 14 is placed at the initial position IP. The z coordinate of the working point 42a in the robot coordinate system C1 at this time is z=z A It is -Δ1.

[0036] In step S2, the processor 50 starts acquiring the detection value α. Specifically, the processor 50 sends a command to the sensor 17, and the sensor 17 acquires the detection value α continuously (for example, periodically) in response to the command. The processor 50 sequentially acquires the detection value α from the sensor 17 via the I / O interface 54, and stores it in the memory 52.

[0037] In step S3, the processor 50 operates the robot 14. Specifically, the processor 50 operates each movable element of the robot 14 to move the end effector 42 to the right from the initial position IP shown in FIG.

[0038] In step S4, the processor 50 determines whether the most recently acquired detection value α has become a predetermined reference value α0 (>0). For example, the processor 50 determines whether the most recently acquired detection value α has become a predetermined reference value α0 (>0). th1 ,α th2 ] (i.e., α th1 ≦α≦α th2 ), the answer may be YES.

[0039] Tolerance [α th1 ,α th2 ], a threshold value α th1 , α th2 For example, 0 < α th1 <α0<α th2 If the processor 50 determines that the answer is YES, the processor 50 stops the operation of the robot 14 and proceeds to step S5, whereas if the processor 50 determines that the answer is NO, the processor 50 returns to step S3.

[0040] If the result of the determination in step S4 is NO, the processor 50 may determine the direction in which the end effector 42 is moved in step S3 to be executed thereafter as a direction in which the detection value α can be brought closer to the reference value α0. For example, in step S3, if the detection value α is closer to the reference value α0 (or the threshold value α th2 ), the result of the determination is NO, the direction in which the end effector 42 is moved in step S3 to be executed thereafter may be determined to be to the left.

[0041] In this manner, the processor 50 repeats the loop of steps S3 and S4 until it determines YES in step S4. When it determines YES in step S4, the working point 42a comes into contact with the left surface 22 at the reference point P1 with the contact force CF0 corresponding to the reference value α0, as shown in FIG.

[0042] In step S5, the processor 50 acquires position data RP1 of the robot 14. Specifically, the processor 50 acquires, as the position data RP1 of the robot 14, coordinates Q1 (x1, y1, z1) in the robot coordinate system C1 of the origin (i.e., the working point 42a) of the tool coordinate system C2 at this time point (i.e., the time point when YES is determined in step S4).

[0043] In this embodiment, since the origin of the tool coordinate system C2 is set to the working point 42a, the coordinate Q1 (x1, y1, z1) indicates the coordinate of the reference point P1 on the left surface 22 with which the working point 42a comes into contact. A The coordinate x1 of the coordinate Q1 becomes reference data indicating the position in the x-axis direction of the robot coordinate system C1 of the left face 22 that is placed at the appropriate position.

[0044] After executing the flow of Fig. 6, when the installation position of the mold 20 is displaced as shown in Fig. 5 due to a change in the mold 20 or the like, the processor 50 executes the flow shown in Fig. 9. In the flow shown in Fig. 9, the same processes as those in the flow shown in Fig. 6 are given the same step numbers, and duplicated explanations will be omitted. The processor 50 starts the flow shown in Fig. 9 when it receives a deviation acquisition command from an operator, a higher-level controller, or a computer program.

[0045] After starting the flow shown in Fig. 9, the processor 50 executes steps S1 to S5 in the same manner as the flow in Fig. 6. The positional relationship between the robot 14 and the mold 20 at the time when YES is determined in step S4 is shown in Fig. 10. At this time, the working point 42a of the robot 14 comes into contact with the first reference point P2 on the left surface 22 with a contact force CF0 at a position of coordinates (y1, z1) in the yz plane of the robot coordinate system C1.

[0046] Then, in step S5, the processor 50 acquires the coordinates Q2 (x2, y2, z2) of the origin (i.e., the working point 42a) of the tool coordinate system C2 in the robot coordinate system C1 as the position data RP2 of the robot 14 at this time. Here, y2=y1, z2=z1=z A Since -Δ1, the coordinate Q2(x2, y2, z2) is (x2, y1, z A -Δ1). In this embodiment, the coordinate Q2 indicates the coordinate of the first reference point P2 in the robot coordinate system C1.

[0047] 5 shows the base point P1 and the first reference point P2. In this embodiment, a second reference point P3 is determined on the intersection line between the left surface 22 placed at the appropriate position indicated by a dotted line and the left surface 22 after displacement of the installation position. The coordinates of this second reference point P3 in the robot coordinate system C1 are, for example, (x1, y1, z α ) In this manner, the first reference point P2 and the second reference point P3 are points defined on the left surface 22 at positions spaced apart from each other in the z-axis direction of the robot coordinate system C1.

[0048] In step S6, the processor 50 acquires the distance between the first reference point P2 and the second reference point P3. Specifically, the processor 50 acquires the distance δ1 (first distance) between the first reference point P2 and the second reference point P3 in the x-axis direction of the robot coordinate system C1. Here, as shown in FIG. 5, the distance δ1 between the first reference point P2 and the second reference point P3 in the x-axis direction (that is, the distance between the first reference point P2 and the base point P1 in the x-axis direction) can be calculated as δ1=x1-x2 from the coordinate x1 of the position data RP1 (coordinate Q1) acquired in step S5 of FIG. 6 and the coordinate x2 of the position data RP2 (coordinate Q2) acquired in step S5 of FIG. 9. In this way, in this embodiment, the processor 50 functions as the first distance acquisition unit 62 (FIG. 1) that acquires the distance δ1 (first distance).

[0049] In step S7, the processor 50 obtains the deviation θ using the distance δ1. As shown in FIG. 5, if the distance in the z-axis direction of the robot coordinate system C1 between the second reference point P3 and the central axis A1 is Δ2, the deviation θ is expressed by a known formula (trigonometric function) as follows: θ=tan -1 It is expressed as (δ1 / (Δ1+Δ2)).

[0050] As described above, Δ1 is known. In addition, when the deviation θ is an extremely small angle, Δ2 can be approximated to zero (Δ2≈0). Therefore, the processor 50 calculates the deviation θ by using the distance δ1 as follows: θ=tan -1 It can be calculated as an approximate value from the formula (δ1 / Δ1). In this manner, in this embodiment, the processor 50 functions as a deviation amount acquisition unit 64 that acquires the deviation amount θ using the distance δ1.

[0051] As described above, in this embodiment, the processor 50 functions as a device 60 including a first distance acquisition unit 62 and a deviation amount acquisition unit 64. According to this device 60, one position in the z-axis direction of the robot coordinate system C1 (coordinate z=z A-Δ1) to obtain the distance δ1, and the deviation amount θ can be obtained from the distance δ1 obtained at the one position. This reduces the number of steps required to obtain the deviation amount θ, making it possible to obtain the deviation amount θ more simply and quickly.

[0052] In this embodiment, the distance δ1 is obtained based on the detection value α detected by the sensor 17 when the robot 14 touches up the base point P1 and the first reference point P2 (steps S4 to S6). According to this configuration, the process of obtaining the distance δ1 can be effectively automated, and the flow shown in Fig. 9 can be realized with a relatively simple algorithm.

[0053] Furthermore, in this embodiment, the processor 50 obtains the distance δ1 based on the position data RP2 of the robot 14 when the detection value α detected by the sensor 17 becomes a predetermined reference value α0 when the robot 14 touches up the reference point P1 and the first reference point P2. According to this configuration, the distance δ1 is obtained using the position data RP2 when the same reference value α0 is detected at the reference point P1 and the first reference point P2, so that the distance δ1 can be calculated more accurately.

[0054] Next, other functions of the molding system 10 will be described with reference to Fig. 11. In the flow shown in Fig. 11, the same processes as those in the flow of Fig. 9 are given the same step numbers, and duplicated explanations will be omitted. After the installation position of the mold 20 is displaced as shown in Fig. 5, the processor 50 starts the flow shown in Fig. 11 when it receives a deviation acquisition command from an operator, a higher-level controller, or a computer program.

[0055] In step S11, the processor 50 moves the robot 14 to a reference position PR1. Here, the reference position PR1 of the robot 14 is determined in advance by an operator with the mold 20 arranged at an appropriate position as a reference. The operator may determine the reference position PR1 by teaching the robot 14 using the actual mold 20 arranged at an appropriate position, or may determine the reference position PR1 through the above-mentioned offline teaching. Hereinafter, a case will be described in which the operator sets the reference position PR1 to the coordinates Q1 (x1, y1, z1) of the reference point P1. The memory 52 stores the coordinates Q1 (x1, y1, z1) in advance in the memory as position data of the reference position PR1.

[0056] In step S11, the processor 50 first places the robot 14 at an initial position IP, then sets the origin of the tool coordinate system C2 to the reference position PR1: coordinate Q1 (x1, y1, z1), operates the robot 14, and moves the end effector 42 (working point 42a) rightward from the initial position IP toward the coordinate Q1 (x1, y1, z1). As a result, as in Fig. 10, the working point 42a comes into contact with the first reference point P2 on the left surface 22, and the movement of the end effector 42 is stopped.

[0057] The processor 50 may execute this step S11 according to a pre-created operation program OP1. This operation program OP1 may be created by teaching the robot 14 the operation of step S11 using an actual die 20 arranged at an appropriate position, or may be created through the above-mentioned offline teaching.

[0058] In step S12, the processor 50 acquires from the sensor 17 the detection value α1 detected by the sensor 17 when the movement of the end effector 42 stops in step S11, and stores in the memory 52. ​​This detection value α1 corresponds to the contact force CF1 between the working point 42a and the first reference point P2 when the movement of the end effector 42 stops in step S11.

[0059] In step S13, the processor 50 functions as the first distance acquisition unit 62 and acquires the distance δ1 (first distance) in the x-axis direction of the robot coordinate system C1 between the first reference point P2 and the second reference point P3. As an example, the memory 52 stores in advance a data table DT1 indicating the relationship between the detection value α and the distance δ1. This data table DT1 can be created by collecting data on the detection value α and the distance δ1 in advance through an experiment or simulation. An example of the data table DT1 is shown in Table 1 below. [Table 1]

[0060] As shown in Table 1, in the data table DT1, the detection value α of the sensor 17 (specifically, the numerical range of the detection value α) and the distance δ1 are stored in association with each other. The processor 50 searches the data table DT1 for the distance δ1 corresponding to the detection value α1 acquired in step S12. In this way, the processor 50 can acquire the distance δ1 using the data table DT1.

[0061] As another example, the memory 52 stores in advance a data table DT2 indicating the relationship between the detection value α of the sensor 17 and the position of the first reference point P2 (specifically, the x coordinate in the robot coordinate system C1). In this data table DT2, like the above-mentioned data table DT1, the detection value α of the sensor 17 (for example, a numerical range) and the x coordinate are stored in association with each other.

[0062] The processor 50 obtains from the data table DT2 the x coordinate: x α1 Then, the processor 50 obtains the distance δ1 by searching for δ1=x α1 -x1 In this manner, the processor 50 can obtain the distance δ1 by using the data table DT2.

[0063] As yet another example, the processor 50 may calculate the detection value α detected by the sensor 17 when the robot 14 is placed at the reference position PR1: coordinates Q1 (x1, y1, z1) in the appropriate position shown in FIG. 4 before executing the flow of FIG. 11 (i.e., before the installation position of the mold 20 is displaced). 1_R After that, the processor 50 calculates the detection value α1 obtained in step S11 when executing the flow of FIG. 11 and the previously obtained detection value α 1_R Difference from d α (=α1-α 1_R ) is calculated.

[0064] On the other hand, the memory 52 stores the difference d α A data table DT3 showing the relationship between the difference d and the distance δ1 is stored in advance. α (for example, a numerical range) and distance δ1 are stored in association with each other. This data table DT3 can also be regarded as a data table showing the relationship between the detection value α1 and the distance δ1.

[0065] The processor 50 calculates the obtained difference d from the data table DT3. α In this way, the processor 50 can obtain the distance δ1 by using the data table DT3. After obtaining the distance δ1, the processor 50 executes the above-mentioned step S7, functions as the deviation amount obtaining unit 64, and obtains the deviation amount θ by using the obtained distance δ1.

[0066] As described above, in this embodiment, the processor 50 obtains the distance δ1 based on the detection value α1 detected by the sensor 17 when the robot 14 is moved to the predetermined reference position PR. Here, the positioning accuracy for positioning the robot 14 at a predetermined position in the robot coordinate system C1 is relatively high. Therefore, when the flow of Fig. 11 is repeatedly executed every time the die 20 is changed, the reproducibility of the operation of step S11 is high, and therefore the distance δ1 can be obtained with high accuracy from the detection value α1 obtained as a result.

[0067] Next, a molding system 70 according to another embodiment will be described with reference to Fig. 1 and Fig. 12. The molding system 70 differs from the above-mentioned molding system 10 in a sensor 72. The sensor 72 detects a distance β between the robot 14 and the mold 20 as a detection value β. For example, the sensor 72 has a displacement sensor or a distance measuring sensor provided at the working point 42a of the robot 14. The sensor 72 is connected to the I / O interface 54 in a wired or wireless manner so as to be able to communicate with the I / O interface 54, and transmits the detection value β to the control device 16.

[0068] Next, the function of the molding system 70 will be described with reference to Fig. 6. The processor 50 of the molding system 70 executes the flow of Fig. 6 for the mold 20 placed at the appropriate position, thereby acquiring reference data indicating the position of the left surface 22 at the appropriate position. Specifically, in step S1, the processor 50 places the robot 14 at an initial position IP. At this time, the sensor 72 is oriented so as to detect the distance β in the x-axis direction of the robot coordinate system C1 between the working point 42a and the left surface 22 facing the working point 42a.

[0069] In step S2, the processor 50 starts acquiring the detection value β. Specifically, the processor 50 sends a command to the sensor 72, and the sensor 72 acquires the detection value β continuously (for example, periodically) in response to the command. The processor 50 sequentially acquires the detection value β from the sensor 72 via the I / O interface 54 and stores it in the memory 52.

[0070] After starting step S3, in step S4, the processor 50 determines whether the most recently acquired detection value β has become a predetermined reference value β0 (≧0). For example, the processor 50 determines whether the most recently acquired detection value β has become a predetermined reference value β0 (≧0). th1 ,β th2 ] (i.e., β th1 ≦α≦β th2 ), the answer may be YES.

[0071] If the processor 50 determines YES, it stops the operation of the robot 14 and proceeds to step S5, whereas if the processor 50 determines NO, it returns to step S3. Note that if the processor 50 determines NO in this step S4, it may determine the direction in which the end effector 42 is moved in the subsequent step S3 as a direction that can bring the detection value β closer to the reference value β0.

[0072] If the reference value β0 is set to β0=0, and the determination in step S4 is YES, the working point 42a will come into contact with the left surface 22 at the reference point P1, as shown in Fig. 8. On the other hand, if the reference value β0 is set to a value such that β0>0, and the determination in step S4 is YES, the working point 42a will be located at a position spaced to the left of the reference point P1 by the reference value β0.

[0073] In step S5, the processor 50 acquires position data RP3 of the robot 14. Specifically, the processor 50 acquires, as the position data RP3 of the robot 14, coordinates Q3 (x3, y3, z3) in the robot coordinate system C1 of the origin (working point 42a) of the tool coordinate system C2 at this time point.

[0074] In this embodiment, y3=y1, z3=z1=z A Since it is -Δ1, the coordinate Q3 (x3, y3, z3) is (x1-β0, y1, z A The coordinate x3 of the coordinate Q3 is the reference data indicating the position of the left surface 22 arranged at the appropriate position in the x-axis direction of the robot coordinate system C1. Since the reference value β0 is known, the processor 50 adds β0 to the coordinate x3 of the position data RP3 in step S5 to obtain the coordinate Q1(x1, y1, z1)=(x1, y1, z A -Δ1) may be calculated directly.

[0075] Thereafter, when the installation position of the mold 20 is displaced as shown in FIG. 5, the processor 50 of the molding system 70 executes the flow shown in FIG. 9. Specifically, the processor 50 executes steps S1 to S5 in the same manner as the flow shown in FIG. 6. If the reference value β0 is set to 0, when the determination in step S4 in FIG. 9 is YES, the working point 42a comes into contact with the left surface 22 at the first reference point P2: coordinates Q2 (x2, y2, z2), as shown in FIG. 10. On the other hand, if the reference value β0 is set to 0, when the determination in step S4 is YES, the working point 42a is located at a position spaced to the left of the first reference point P2 by the reference value β0.

[0076] Then, in step S5, the processor 50 acquires the coordinates Q4 (x4, y4, z4) in the robot coordinate system C1 of the origin (working point 42a) of the tool coordinate system C2 at this time as the position data RP4 of the robot 14. The coordinates Q4 (x4, y4, z4) are expressed as (x2-β0, y2, z2)=(x2-β0, y1, z A Since the reference value β0 is known, the processor 50 adds β0 to the coordinate x4 of the position data RP4 in step S5 to obtain the coordinate Q2(x2, y2, z2)=(x2, y1, z A -Δ1) may be calculated directly.

[0077] In step S6, the processor 50 functions as the first distance acquisition unit 62 and acquires a distance δ1 (first distance) in the x-axis direction of the robot coordinate system C1 between the first reference point P2 and the second reference point P3. Specifically, the processor 50 can calculate δ1=x3-x4 (=x1-x2) from the coordinate x3 of the position data RP3 (coordinate Q3) acquired in step S5 of Fig. 6 and the coordinate x4 of the position data RP4 (coordinate Q4) acquired in step S5 of Fig. 9.

[0078] In addition, in step S5 of FIG. 6, the processor 50 calculates the coordinates Q1 (x1, y1, z A -Δ1) is directly calculated, and in step S5 of FIG. 9, the coordinates Q2 (x2, y1, z A-Δ1) is directly calculated, the distance δ1 can be calculated as δ1=x1-x2. Then, in step S7, the processor 50 functions as the deviation amount acquisition unit 64 and calculates the deviation amount θ as follows, in the same manner as in the above embodiment: θ=tan -1 It is calculated using the formula (δ1 / Δ1).

[0079] According to this embodiment, as in the above-described embodiment, the number of steps required to obtain the deviation amount θ can be reduced, and therefore the deviation amount θ can be obtained more simply and quickly. In addition, since the distance δ1 is obtained based on the detection value β of the sensor 72, the process of obtaining the distance δ1 can be effectively automated, and the flow shown in FIG. 9 can be realized with a relatively simple algorithm.

[0080] In the molding system 70, the reference data acquisition flow shown in FIG. 6 can be omitted. Specifically, the coordinates Q1(x1, y1, z1)=(x1, y1, z A -Δ1) parameters: x1, y1, and z A -Δ1 can be set in advance. For example, the molding machine 12 and the robot 14 are modeled using 3D CAD, and the operations of the robot 14 in steps S1 and S3 are taught in a virtual space by performing a simulation using these models (so-called offline teaching).

[0081] Through this offline teaching, the coordinates Q1 (x1, y1, z A -Δ1), and an operation program for causing the robot 14 to execute the operations of steps S1 and S3 can be constructed. Then, the processor 50 of the molding system 70 executes the flow of FIG. 9 after the displacement of the installation position of the die 20 without performing the flow shown in FIG. 6, and executes the operations of steps S1 and S3 according to the operation program created in advance. Then, in step S5, the processor 50 sets position data RP4: coordinates Q4 (x4, y4, z4) = (x2 - β0, y1, z A-Δ1) is obtained, and in step S6, the known β0 is added to the coordinate x4 of the coordinate Q4 to obtain x2, and then the distance δ1=x2-x1 can be obtained.

[0082] Next, other functions of the molding system 70 will be described with reference to Fig. 11. The processor 50 of the molding system 70 can acquire the deviation amount θ by executing the flow of Fig. 11 after displacing the installation position of the mold 20. Specifically, in step S11, the processor 50 moves the robot 14 to a reference position PR2.

[0083] Here, the reference position PR2 is determined in advance by an operator with reference to the mold 20 placed at an appropriate position. The reference position PR2 may be determined by teaching the robot 14 using the actual mold 20, or may be determined through the above-mentioned offline teaching.

[0084] Hereinafter, the operator sets the reference position PR2 at a distance β δ A position separated by coordinate Q PR2 (x1-β δ In step 11, the processor 50 operates the robot 14 to move the working point 42a to the coordinate Q PR2 (x1-β δ , y1, z1). The positional relationship between the working point 42a, the base point P1, and the first reference point P2 at this time is shown in FIG.

[0085] In step S12, the processor 50 acquires the detection value β detected by the sensor 72 at this time. Then, in step S13, the processor 50 functions as the first distance acquisition unit 62 and calculates the distance δ1 as δ1=β δ Then, in step S7, the processor 50 functions as the deviation amount acquiring unit 64 and acquires the deviation amount θ using the acquired distance δ1.

[0086] In this embodiment, when the mold 20 is placed at the appropriate position, the processor 50 positions the robot 14 at the reference position PR2 shown in FIG. 13, and detects the detection value β δ After the installation position of the mold 20 is displaced, the flow of FIG. 11 is executed, and in step S13, the actually measured detection value β δ Using and β, the distance δ1 = β δ -β may also be calculated.

[0087] Next, further functions of the molding system 10 will be described with reference to Fig. 1 and Fig. 14. In this embodiment, the processor 50 functions as a device 60 including a first distance acquisition unit 62, a deviation amount acquisition unit 64, a second distance acquisition unit 66, and a position acquisition unit 68. Here, in addition to the above-mentioned deviation amount θ, this device 60 acquires deviation amounts dx and dz (second deviation amounts) of the mold 20 in a direction perpendicular to the central axis A1 with respect to the appropriate position.

[0088] Specifically, due to a change in stage or the like, the installation position of the mold 20 may shift from the appropriate position around the central axis A1 and in a direction perpendicular to the central axis A1 (in the present embodiment, within the xz plane of the robot coordinate system C1). Alternatively, when the actual molding machine 12 is assembled based on the ideal dimensions of the model of the molding machine 12 created through the above-mentioned offline teaching, the installation position of the mold 20 of the actual machine may shift from the appropriate position determined based on the ideal dimensions of the model of the molding machine 12 in the direction around the central axis A1 and in the direction perpendicular to the central axis A1.

[0089] An example of such a displacement of the installation position is shown in Fig. 15. In Fig. 15, the proper position of the mold 20 is indicated by a dotted line, and the central axis of the mold 20 placed at the proper position is indicated as A1'. In the example shown in Fig. 15, the mold 20 is displaced from the proper position by a displacement amount θ around the central axis A1, a displacement amount δx to the left, and a displacement amount dz upward.

[0090] In order to acquire these deviation amounts θ, δx, and dz, the processor 50 executes the flow shown in Fig. 16. After the installation position of the mold 20 is displaced, the processor 50 starts the flow shown in Fig. 16 when it receives a deviation acquisition command from an operator, a higher-level controller, or a computer program.

[0091] In step S21, the processor 50 executes a first position acquisition process. For example, in this step S21, the processor 50 acquires the position of a reference point P4, which will be described later. This step S21 will be described with reference to Fig. 17. After starting step S21, in step S31, the processor 50 places the robot 14 at a predetermined initial position IP1.

[0092] This initial position IP1 is arbitrarily determined by an operator, for example, as a position where the working point 42a of the end effector 42 is spaced to the left from the left surface 22 of the mold 20. This initial position IP1 can be determined as the coordinates of the robot coordinate system C1 that sets the origin of the tool coordinate system C2.

[0093] In step S32, similar to the above-described step S2, the processor 50 starts acquiring the detection value α from the sensor 17. In step S33, similar to the above-described step S3, the processor 50 operates the robot 14 to move the end effector 42 (working point 42a) to the right from the initial position IP1.

[0094] In step S34, the processor 50 determines whether the most recently acquired detection value α has become the reference value α0, as in the above-described embodiment. If the processor 50 determines YES, it proceeds to step S35, whereas if the processor 50 determines NO, it returns to step S33. When the processor 50 determines YES in step S34, the working point 42a of the robot 14 comes into contact with the reference point P4 (FIG. 15) on the left surface 22 with a contact force CF0 corresponding to the reference value α0.

[0095] In step S35, the processor 50 acquires the position of the reference point P4. Specifically, the processor 50 acquires the coordinates Q5 (x5, y5, z5) in the robot coordinate system C1 of the origin (i.e., the working point 42a) of the tool coordinate system C2 as the position data RP5 of the robot 14 at this point in time (i.e., the point in time when YES is determined in step S34).

[0096] In this embodiment, since the origin of the tool coordinate system C2 is set to the working point 42a, the coordinate Q5 indicates the coordinate of the reference point P4 on the left surface 22 with which the working point 42a comes into contact. Therefore, the processor 50 acquires the coordinate Q5 (x5, y5, z5) as data indicating the position of the reference point P4.

[0097] Referring again to Fig. 16, the processor 50 executes the second position acquisition process in step S22. In this step S22, the processor 50 acquires the position of a second reference point P5, which will be described later. This step S22 will be described with reference to Fig. 17. After the start of step S22, in step S31, the processor 50 places the robot 14 at a predetermined initial position IP2. This initial position IP2 is determined as a position spaced upward by a predetermined distance Δ3 from the initial position IP1 set in the above-mentioned step S21.

[0098] Then, similarly to step S21 described above, the processor 50 starts acquiring the detection value α in step S32, moves the end effector 42 (working point 42a) to the right from the initial position IP2 in step S33, and determines in step S34 whether the most recently acquired detection value α has become the reference value α0. When the determination in step S33 is YES, the working point 42a of the robot 14 comes into contact with the reference point P5 (FIG. 15) on the left surface 22 with a contact force CF0 corresponding to the reference value α0.

[0099] In step S35, the processor 50 acquires the position of the reference point P5. Specifically, the processor 50 acquires the coordinate Q6 (x6, y6, z6) in the robot coordinate system C1 of the origin of the tool coordinate system C2 as the position data RP6 of the robot 14 at this time. Note that y6 may be y5. In this embodiment, since the origin of the tool coordinate system C2 is set to the working point 42a, the coordinate Q6 indicates the coordinate of the reference point P5 on the left surface 22 with which the working point 42a comes into contact. The processor 50 acquires the coordinate Q6 (x6, y6, z6) as data indicating the position of the reference point P5.

[0100] Thus, in this embodiment, the processor 50 functions as a position acquisition unit 68 (Figure 14) that acquires the position (coordinate Q5) of reference point P4 (step S21) and the position (coordinate Q6) of reference point P5 (step S22) based on the detection value α of the sensor 17.

[0101] The operator can also arbitrarily determine the reference points P4 and P5 as two points on the left surface 22 spaced apart from each other in the z-axis direction of the robot coordinate system C1 (in this embodiment, by setting the positions of the initial positions IP1 and IP2). Thus, one of the reference points P4 and P5 corresponds to the "first reference point" and the other corresponds to the "second reference point."

[0102] 16 again, in step S23, the processor 50 functions as the first distance acquisition unit 62 and acquires the distance between the reference point P4 and the reference point P5. Specifically, the processor 50 acquires the distance δ2 (first distance) in the x-axis direction of the robot coordinate system C1 between the reference point P4 and the reference point P5.

[0103] 15, the distance δ2 in the x-axis direction between the reference points P4 and P5 can be calculated as δ2=x6-x5 from the coordinate x5 of the position (coordinate Q5) of the reference point P4 acquired in the above-mentioned step S21 and the coordinate x6 of the position (coordinate Q6) of the reference point P5 acquired in the above-mentioned step S22. In this way, the processor 50 acquires the distance δ2 based on the detection value α detected by the sensor 17 with respect to the reference points P4 and P5.

[0104] The processor 50 also acquires a distance Δ3 (second distance) between the reference point P4 and the reference point P5 in the z-axis direction of the robot coordinate system C1. For example, the processor 50 can calculate the distance Δ3 as Δ3=z6-z5 from the coordinate z5 of the position (coordinate Q5) of the reference point P4 acquired in the above-mentioned step S21 and the coordinate z6 of the position (coordinate Q6) of the reference point P5 acquired in the above-mentioned step S22.

[0105] Thus, in this embodiment, the processor 50 functions as a second distance acquisition unit 66 (FIG. 14) that acquires the distance Δ3 based on the detection value α of the sensor 17. Alternatively, the distance Δ3 in the z-axis direction between the reference points P4 and P5 is arbitrarily set by the operator as described above. Thus, the processor 50 can also acquire the distance Δ3 from the setting information set by the operator.

[0106] In step S24, the processor 50 functions as the deviation amount acquisition unit 64 and acquires the deviation amount θ using the distances δ2 and Δ3. Specifically, as shown in FIG. 15, the deviation amount θ is expressed by a known formula (trigonometric function) as follows: θ=tan -1 (δ2 / Δ3). Therefore, the processor 50 can obtain the amount of deviation θ by applying the obtained distances δ2 and Δ3 to a known formula.

[0107] In step S25, the processor 50 executes a third position acquisition process. For example, in this step S25, the processor 50 acquires the position of a reference point P6 (third reference point) described later. This step S25 will be described with reference to Fig. 17. After starting step S25, in step S31, the processor 50 places the robot 14 at a predetermined initial position IP3.

[0108] 18 shows the positional relationship of the robot 14, which is placed at an initial position IP3, with respect to the mold 20. This initial position IP3 is arbitrarily determined by the operator, for example, as a position where the working point 42a of the end effector 42 is spaced downward from the lower surface 26 of the mold 20. This initial position IP3 can be determined as the coordinates of the robot coordinate system C1, which sets the origin of the tool coordinate system C2.

[0109] In step S32, similarly to steps S21 and S22 described above, the processor 50 starts acquiring the detection value α from the sensor 17. In step S33, the processor 50 operates the robot 14 to move the end effector 42 (working point 42a) upward from the initial position IP3.

[0110] In step S34, the processor 50 judges whether the detection value α most recently acquired by the sensor 17 has become the reference value α0'. This reference value α0' may be the same as the reference value α0 described above, or may be a different value. If the processor 50 judges YES, it proceeds to step S35, whereas if the processor 50 judges NO, it returns to step S33. When the processor 50 judges YES in step S34, the working point 42a of the robot 14 comes into contact with the reference point P6 on the lower surface 26 with a contact force CF0' corresponding to the reference value α0'. This state is shown in FIG. 19.

[0111] In step S35, the processor 50 acquires the position of the reference point P6. Specifically, the processor 50 acquires the coordinates Q7 (x7, y7, z7) in the robot coordinate system C1 of the origin (i.e., the working point 42a) of the tool coordinate system C2 as the position data RP7 of the robot 14 at this point (i.e., the point when YES is determined in step S34).

[0112] In this embodiment, since the origin of the tool coordinate system C2 is set to the working point 42a, the coordinate Q6 indicates the coordinate of the reference point P6 on the lower surface 26 with which the working point 42a comes into contact. Therefore, the processor 50 acquires the coordinate Q7 (x7, y7, z7) as data indicating the position of the reference point P6.

[0113] Referring again to FIG. 16, in step S26, the processor 50 functions as a deviation amount acquisition unit 64 and acquires deviation amounts dx and dz (second deviation amounts) based on either the position (coordinate Q5) of reference point P4 acquired in step S21 or the position (coordinate Q6) of reference point P5 acquired in step S22, and the position (coordinate Q7) of reference point P6 acquired in step S25.

[0114] Hereinafter, an example of a method for acquiring the deviation amounts dx and dz based on the position (coordinate Q6) of the reference point P5 and the position (coordinate Q7) of the reference point P6 will be described. The coordinates of the central axis A1 in the appropriate position in the xz plane of the robot coordinate system C1 are (x A , z A ), the deviations dx and dz are, respectively, dx=φ-x A , and dz=ω-z A In addition, φ and ω in these equations are calculated by the coordinates Q6 (x6, y6, z6) and Q7 (x7, y7, z7) and the deviation θ (=tan -1 (δ2 / Δ3) can be calculated using the following formula:

[0115]

number

[0116]

number

[0117] Here, "a" in the formula is the distance between the central axis A1 and the left surface 22, and "b" is the distance between the central axis A1 and the lower surface 26, which are predetermined by the operator as design dimensions. With this method, the processor 50 can determine the deviation amounts dx and dz based on the position (coordinate Q6) of the reference point P5 and the position (coordinate Q7) of the reference point P6. Although details are omitted, the processor 50 can also determine the deviation amounts dx and dz based on the position (coordinate Q5) of the reference point P4 and the position (coordinate Q7) of the reference point P6.

[0118] As described above, in this embodiment, the processor 50 acquires the deviation θ (first deviation) of the mold 20 from the correct position around the central axis A1, and the deviations dx and dz (second deviation) in the directions perpendicular to the central axis A1. This configuration makes it possible to obtain deviations of the mold 20 from the correct position in more various directions.

[0119] Next, still another function of the molding system 10 will be described with reference to Fig. 20 and Fig. 21. The processor 50 acquires the deviation amounts θ, dx, and dz by executing the flow shown in Fig. 20. The flow shown in Fig. 20 differs from the flow in Fig. 16 in steps S21' and S22'.

[0120] Step S21' will be described below with reference to Fig. 21. After the start of step S21', in step S41, the processor 50 moves the robot 14 to a reference position PR7. Here, the reference position PR7 is determined in advance by an operator with the mold 20 arranged at the appropriate position as a reference.

[0121] The reference position PR7 may be determined by teaching the robot 14 using the actual die 20, or may be determined through the above-mentioned offline teaching. Below, a case where the operator sets the reference position PR7 to the reference point P7:Q7 (x1, y5, z5) in FIG. 15 will be described.

[0122] In step S41, the processor 50 first places the robot 14 at the initial position IP4, then sets the origin of the tool coordinate system C2 to the reference position PR7: coordinate Q7 (x1, y5, z5), operates the robot 14, and moves the end effector 42 (working point 42a) rightward from the initial position IP4 toward the coordinate Q7. As a result, the working point 42a comes into contact with the reference point P4 on the left surface 22, and the movement of the end effector 42 is stopped.

[0123] In step S42, the processor 50 acquires the detection value α2 detected by the sensor 17 when the movement of the end effector 42 stops in step S41 from the sensor 17. This detection value α2 corresponds to the contact force CF2 between the working point 42a and the reference point P4 when the movement of the end effector 42 stops in step S41.

[0124] In step S43, the processor 50 functions as the position acquisition unit 68 and detects the position of the reference point P4 based on the detection value α2. For example, the processor 50 refers to a data table DT2 indicating the relationship between the detection value α and the position of the reference point P4 (specifically, the x coordinate in the robot coordinate system C1), and searches for and acquires the x coordinate: x5 corresponding to the detection value α2 acquired in step S42. In this way, the processor 50 can acquire the coordinate Q5 (x5, y5, z5) as the position of the reference point P4.

[0125] Step S22' will be described with continued reference to FIG. 21. After the start of step S22', in step S41, the processor 50 moves the robot 14 to a reference position PR8 that is determined based on the mold 20 arranged at the appropriate position. The reference position PR8 may be determined by teaching the robot 14 using the actual mold 20, or may be determined through the above-mentioned offline teaching. Below, a case will be described where the operator sets the reference position PR8 to the reference point P8:Q8 (x1, y6, z6) in FIG. 15.

[0126] In step S41, the processor 50 first places the robot 14 at the initial position IP5, then sets the origin of the tool coordinate system C2 to the reference position PR8: coordinate Q8 (x1, y6, z6), operates the robot 14, and moves the end effector 42 (working point 42a) rightward from the initial position IP5 toward the coordinate Q8. As a result, the working point 42a comes into contact with the reference point P5 on the left surface 22, and the movement of the end effector 42 is stopped.

[0127] The processor 50 may execute step S41 in steps S21' and S22' according to a pre-created operation program OP2. This operation program OP2 may be created by teaching the robot 14 the operation of step S41 using an actual die 20 arranged at an appropriate position, or may be created through the above-mentioned offline teaching.

[0128] In step S42, the processor 50 acquires the detection value α3 detected by the sensor 17 when the movement of the end effector 42 stops in step S41, similar to the above-mentioned step S21'. Then, in step S43, the processor 50 searches and acquires the x coordinate: x6 corresponding to the detection value α3 from the data table DT2, similar to the above-mentioned step S21'. In this way, the processor 50 can acquire the coordinate Q6 (x6, y6, z6) as the position of the reference point P5. Thereafter, the processor 50 executes the above-mentioned steps S23 to S26 as shown in FIG. 20, and sequentially acquires the distances δ2 and Δ3 and the deviation amounts θ, dx, and dz.

[0129] As described above, in this embodiment, the processor 50 acquires the positions (coordinates Q5, Q6) of reference points P4, P5 based on the detection values ​​α2, α3 detected by the sensor 17 when the robot 14 is moved to the reference positions PR7 (coordinate Q7) and PR8 (coordinate Q8), and acquires the distances δ2 and Δ3 using the positions of the reference points P4, P5.

[0130] 14 may also be applied to the above-described molding system 70. In this case, the processor of the molding system 70 can acquire the distances δ2 and Δ3 and the deviation amounts θ, dx, and dz based on the detection value β of the sensor 72 by executing the flow of FIG.

[0131] For example, the processor 50 of the molding system 70 can execute steps S31 to S34 in Fig. 17, similarly to steps S1 to S4 in Fig. 9 described above. Then, in step S35, the processor 50 of the molding system 70 may directly determine the positions (coordinates Q5, Q6, and Q7) of the reference points P4, P5, and P6 from the detection value β (=reference value β0) of the sensor 72.

[0132] Alternatively, in the molding system 70, the reference value β0 referenced in step S34 among steps S21, S22 and S25 may be common, and the processor 50 of the molding system 70 may acquire the position data RP5', RP6' and RP7' of the robot 14 at this time (i.e., the coordinates in the robot coordinate system C1 of the origin of the tool coordinate system C2) in the above-mentioned step S35 as data indicating the positions of the reference points P4, P5 and P6.

[0133] The position data RP5' and RP6' acquired at this time are coordinates spaced a distance β0 to the left from the reference points P4 and P5, and the position data RP7' are coordinates spaced a distance β0 downward from the reference point P6. Then, in step S26, the processor 50 can substitute the coordinates of the position data RP5', RP6', and RP7' into the formulas for calculating φ and ω described above to calculate the deviation amounts dx and dz.

[0134] Moreover, the processor 50 of the molding system 70 can obtain the distances δ2 and Δ3 and the deviation amounts θ, dx, and dz by executing the flow of Fig. 20. For example, the processor 50 of the molding system 70 executes steps S41 and S42 of Fig. 21, similarly to steps S11 and S12 of Fig. 11 described above. Then, in step S43, the processor 50 of the molding system 70 may directly determine the positions (coordinates Q5 and Q6) of the reference points P4 and P5 from the detection value β of the sensor 72.

[0135] In this way, the processor 50 of the molding system 70 functions as the device 60 including the first distance acquisition unit 62, the deviation amount acquisition unit 64, the second distance acquisition unit 66, and the position acquisition unit 68, and can acquire the distances δ2 and Δ3 and the deviation amounts θ, dx, and dz by executing the flow of Fig. 16 or Fig. 20. Note that the processor 50 of the molding system 10 or 70 can also acquire the position of the reference point P6 by executing steps S41 to S43 shown in Fig. 21 as the above-mentioned step S25.

[0136] The processor 50 of the molding system 10 or 70 can also acquire the deviation amount dy (third deviation amount) of the die 20 in the direction of the central axis A1 with respect to the correct position. Hereinafter, a method in which the processor 50 of the molding system 10 acquires the deviation amount dy will be described with reference to FIG.

[0137] First, the processor 50 of the molding system 10 executes the flow of steps S31 to S35 in Fig. 17 for the reference point P9 on the rear surface 30 of the mold 20 placed at the appropriate position indicated by the dotted line in Fig. 22. As a result, the working point 42a of the robot 14 comes into contact with the reference point P9 on the rear surface 30, and the processor 50 acquires the coordinates Q9 (x9, y9, z9) in the robot coordinate system C1 of the origin (working point 42a) of the tool coordinate system C2 as position data RP9 of the robot 14 at this time.

[0138] In this embodiment, since the coordinate Q9 (x9, y9, z9) indicates the coordinate of the reference point P9 with which the working point 42a comes into contact, the processor 50 acquires the coordinate Q9 (x9, y9, z9) as reference data indicating the position of the reference point P9. In this way, the processor 50 acquires the position of the reference point P9: the coordinate Q9 (x9, y9, z9) based on the detection value α.

[0139] After the installation position of the mold 20 is displaced as shown in Fig. 22, the processor 50 places the working point 42a at the same position in the xz plane as the coordinate Q9: coordinate (x9, z9) as the initial position, and executes the flow of steps S31 to S35 in Fig. 17 again. As a result, the working point 42a of the robot 14 comes into contact with the reference point P10 (fourth reference point) on the rear surface 30, and the processor 50 sets the coordinate Q of the origin (working point 42a) of the tool coordinate system C2 in the robot coordinate system C1 as the position data RP10 of the robot 14 at this time. 10 (x9,y 10 ,z9).

[0140] This coordinate Q 10 (x9,y 10 , z9) indicates the coordinates of the reference point P10 where the working point 42a touches, so the processor 50 functions as a position acquisition unit 68 to obtain the coordinate Q 10 (x9,y 10 , z9) as data indicating the position of the reference point P10. In this way, the processor 50 obtains the position (coordinates Q) of the reference point P10 based on the detection value α detected by the sensor 17 with respect to the reference point P10. 10 (x9,y 10 ,z9).

[0141] Then, the processor 50 functions as a deviation amount acquisition unit 64 to acquire the coordinates Q9 and Q 10 Using this, the deviation dy is calculated as dy=y9-y 10 In this way, the processor 50 determines the position of the reference point P10 (coordinate Q 10 21 for the reference point P10. The processor 50 can also obtain the deviation amount dy by executing the flow of FIG.

[0142] Although details are omitted, it will be understood that the processor 50 of the molding system 70 can also obtain the deviation amount dy by executing the flow of Fig. 17 or Fig. 21 with respect to the reference point P10. With this configuration, the deviation amount of the mold 20 from the correct position in more various directions can be obtained.

[0143] Next, further functions of the molding systems 10 and 70 will be described with reference to Fig. 23. In this embodiment, the processor 50 functions as a device 60 including a first distance acquisition unit 62, a deviation amount acquisition unit 64, a second distance acquisition unit 66, a position acquisition unit 68, and a correction unit 74.

[0144] The processor 50 corrects the working position when the robot 14 performs a predetermined task (a task of removing a molded product or a task of inserting an insert part into a molded product) on a molded product molded by the molding machine 12 using the mold 20, based on the deviation amounts θ, dx, dy, and dz acquired as described above. For example, the operation program OP0 for causing the robot 14 to perform the predetermined task specifies a teaching point TP for positioning the end effector 42 when the robot 14 performs the task at the working position.

[0145] The processor 50 may correct the operation program OP0 so as to displace the teaching point TP defined in the operation program OP0 by the acquired deviation amounts θ, dx, dy, and dz. Alternatively, the processor 50 may correct the operation program OP0 so as to add an operation command for further moving the end effector 42 by the deviation amounts θ, dx, dy, and dz after the robot 14 positions the end effector 42 at the teaching point TP during work.

[0146] In this way, the working position of the robot 14 can be corrected by the deviation amounts θ, dx, dy, and dz. With this configuration, even if the installation position of the mold 20 is displaced from the appropriate position, the working position of the end effector 42 can be corrected so as to correspond to the deviation amounts θ, dx, dy, and dz, and a predetermined operation (operation of removing the molded product or operation of inserting an insert part into the molded product) can be performed with high accuracy on the molded product molded by the mold 20.

[0147] In the embodiment shown in FIG. 5, the processor 50 assumes that the deviation θ is an extremely small angle and approximates it as Δ2≈0, thereby approximating the deviation θ (θ=tan -1 5, the processor 50 may set a further reference point P11 and execute the flow shown in FIG. 9 or FIG. 11 for the reference point P11 to obtain a more accurate deviation amount θ2.

[0148] This function will be described with reference to Fig. 24. The processor 50 executes the flow shown in Fig. 9 or Fig. 11 for the reference point P2, and obtains the distance δ1 and the deviation amount θ1=tan -1 After obtaining (δ1 / Δ1), the flow shown in FIG. 9 or FIG. 11 is executed for reference point P11 (first reference point) defined on left surface 22 at a position spaced a distance Δ4 downward from central axis A1 of mold 20, and in above-mentioned step S6 or S13, the distance δ3 (first distance) in the x-axis direction of robot coordinate system C1 between reference point P11 and reference point P3 is obtained.

[0149] In this case, the distances δ1, δ3, Δ1, Δ2, and Δ4 satisfy the formula δ1 / (Δ1+Δ2)=δ3 / (Δ2+Δ4). From this formula, the distance Δ2 can be calculated as Δ2=(δ3·Δ1-δ1·Δ4) / (δ1-δ3). The processor 50 then calculates the accurate deviation θ2 as θ2=tan -1 (δ1 / (Δ1+Δ2))=tan -1 It can be calculated as (δ3 / (Δ2+Δ4)).

[0150] An example of the operation flow of this function will be described with reference to Fig. 25. In step S51, the processor 50 executes the flow shown in Fig. 9 or Fig. 11 for the reference point P2, and calculates the deviation amount θ1=tan -1 In step S52, the processor 50 determines whether the deviation amount θ1 obtained in step S51 is equal to or smaller than a predetermined threshold value θ th (θ1≧θ th The processor 50 determines whether θ1 ≧ θ th If so, the determination is YES, and the process proceeds to step S53. Conversely, if the determination is NO, the flow shown in FIG. 25 ends.

[0151] In step S53, the processor 50 executes the flow shown in FIG. 9 or FIG. 11 for the reference point P11 (first reference point) to obtain an accurate deviation amount θ2=tan -1 (δ1 / (Δ1+Δ2))=tan -1 (δ3 / (Δ2+Δ4)) is obtained. Here, the larger the deviation amount θ1, the larger Δ2 becomes. The deviation amount θ1=tan -1 25, when the deviation θ1 calculated as an approximation is large (i.e., when the error from the theoretical value is large), the accurate deviation θ2 can be obtained by executing step S53.

[0152] The above-mentioned Δ4 may be set so that the reference point P11 is closer to the reference point P2 than the central axis A1 in the z-axis direction of the robot coordinate system C1. According to this configuration, the amount of movement of the end effector 42 by the robot 14 when executing step S53 can be reduced, thereby reducing the cycle time. When the processor 50 determines YES in step S52, the processor 50 may execute the flow shown in FIG. 16 or FIG. 20.

[0153] In the above-described embodiment, a sensor (e.g., a touch probe) capable of acquiring the position of any point on the surfaces 22, 24, 26, 28, 30 of the mold 20 in the robot coordinate system C1 may be used instead of the sensor 17 capable of detecting the contact force CF or the sensor 72 capable of detecting the distance β. In this case, the processor 50 can directly acquire the position data of the above-described points P1 (coordinate Q1), P2 (coordinate Q3), P4 (coordinate Q5), P5 (coordinate Q6), and P6 (coordinate Q7) in the robot coordinate system C1 from the detection value of the sensor (touch probe). The sensor 17, the sensor 72, and the sensor capable of acquiring the positions (touch probe) all correspond to sensors that detect the surfaces 22, 24, 26, 28, 30 of the mold 20.

[0154] In the above embodiment, the reference points P2, P3, P4, P5, and P11 are defined on the left surface 22 of the mold 20. However, the present invention is not limited to this, and the reference points P2, P3, P4, P5, and P11 may be defined on any of the right surface 24, the lower surface 26, and the upper surface 28.

[0155] Furthermore, in the above-described embodiment, the sensor 17 may be provided on the mold 20. For example, the sensor 17 may be composed of a pressure sensor, a strain gauge, a piezoelectric element, or the like, and may be installed on the left surface 22, the lower surface, and the rear surface 30. Even in this case, the sensor 17 may detect the detection value α of the contact force CF when the robot 14 touches up these surfaces at the working point 42a. Similarly, the sensor 72 may be provided on the left surface 22, the lower surface 26, and the rear surface 30 of the mold 20.

[0156] A computer program for causing the processor 50 to automatically execute the flows shown in Figures 6, 9, 11, 16, 17, 20, 21, and 25 may be stored in the memory 52. ​​The mold is not limited to a rectangular shape, and may have any outer shape, such as a hexagon or octagon. In the above embodiment, the origin of the tool coordinate system C2 is set to the working point 42a, but the tool coordinate system C2 may be set to any position whose position in the robot coordinate system C1 is known.

[0157] In addition, the robot 14 is not limited to a vertical articulated robot, and may be any type of robot, such as a horizontal articulated robot, a parallel link robot, etc. Although the present disclosure has been described above through the embodiments, the above-described embodiments do not limit the invention according to the claims. [Explanation of symbols]

[0158] 10,70 Molding System 12 Molding machine 14. Robot 16 Control device 17,72 Sensors 20 Mold 22, 24, 26, 28, 30 Mold surface 60 equipment 62 1st distance acquisition part 64 Deviation amount acquisition unit 66 Second distance acquisition part 68 Position acquisition part 74 Correction section

Claims

1. An apparatus for acquiring an amount of deviation of a mold installed in a molding machine from a proper position, the mold has a first surface that is arranged to extend in a direction of a first axis perpendicular to a central axis of the mold when the mold is arranged at the predetermined appropriate position with respect to the molding machine; The apparatus comprises: a first distance acquisition unit that acquires a first distance in a direction of a second axis perpendicular to the central axis and the first axis between a first reference point and a second reference point that are defined on the first surface at positions spaced apart from each other in the direction of the first axis when an installation position of the mold is displaced from the appropriate position; a deviation amount acquisition unit that acquires a first deviation amount around the central axis of the mold relative to the correct position using the first distance acquired by the first distance acquisition unit.

2. a second distance acquisition unit that acquires a second distance between the first reference point and the second reference point in a direction of the first axis, The apparatus according to claim 1 , wherein the deviation amount acquisition unit obtains the first deviation amount by applying the first distance and the second distance to a known mathematical formula.

3. a sensor for detecting a contact force between a robot capable of moving forward and backward relative to the die as a detection value is provided on the robot or the die; The device according to claim 1 or 2, wherein the first distance acquisition unit acquires the first distance based on a first detection value detected by the sensor when the robot touches up the first reference point.

4. a sensor for detecting a distance between a robot capable of moving forward and backward with respect to the die as a detection value is provided on the robot or the die; The device according to claim 1 or 2, wherein the first distance acquisition unit acquires the first distance based on a first detection value obtained by the sensor detecting the distance between the robot and the first reference point.

5. The device according to claim 3 , wherein the first distance acquisition unit determines the first distance based on position data of the robot when the first detection value reaches a predetermined reference value.

6. The apparatus described in claim 3 or 4, wherein the first distance acquisition unit acquires the first distance based on the first detection value detected by the sensor when the robot is moved to a predetermined reference position based on the mold placed in the appropriate position after the installation position is displaced.

7. The device according to claim 3 , wherein the first distance acquisition unit acquires the first distance further based on a second detection value detected by the sensor with respect to the second reference point.

8. a position acquisition unit that acquires a position of the first reference point based on the first detection value and acquires a position of the second reference point based on the second detection value, The device according to claim 7 , wherein the first distance acquisition unit acquires the first distance using a position of the first reference point and a position of the second reference point.

9. The mold further has a second surface arranged to extend in a direction of the second axis when the mold is disposed in the correct position; the position acquisition unit further acquires a position of a third reference point defined on the second surface after the installation position is displaced based on a third detection value detected by the sensor with respect to the third reference point; The apparatus of claim 8, wherein the deviation amount acquisition unit further acquires a second deviation amount of the mold relative to the correct position in a direction perpendicular to the central axis based on either the position of the first reference point or the position of the second reference point, and the position of the third reference point.

10. The mold further has a third surface perpendicular to the central axis, the position acquisition unit further acquires a position of a fourth reference point defined on the third surface after the installation position is displaced based on a fourth detection value detected by the sensor with respect to the fourth reference point; The apparatus according to claim 8 or 9, wherein the deviation amount acquisition unit further acquires a third deviation amount of the mold relative to the correct position in a direction of the central axis, based on a position of the fourth reference point.

11. A molding machine in which a mold is installed; a robot that is provided to be movable toward and away from the die and performs a predetermined operation on a molded product molded by the molding machine using the die; A molding system comprising the apparatus according to any one of claims 1 to 10.

12. The molding system according to claim 11 , wherein the device further comprises a correction unit that corrects a work position when the robot performs the predetermined work based on the amount of deviation acquired by the deviation amount acquisition unit.

13. A method for acquiring an amount of deviation of a mold installed in a molding machine from a proper position, comprising: the mold has a first surface that is arranged to extend in a direction of a first axis perpendicular to a central axis of the mold when the mold is arranged at the predetermined appropriate position with respect to the molding machine; The processor: When an installation position of the mold is displaced from the appropriate position, a first distance is obtained in a direction of a second axis perpendicular to the central axis and the first axis between a first reference point and a second reference point that are defined on the first surface at positions spaced apart from each other in the direction of the first axis; Using the obtained first distance, a first amount of deviation about the central axis of the mold relative to the correct position is obtained.

14. A computer program product causing the processor to carry out the method of claim 13.

Citation Information

Patent Citations

  • Molding system provided with a molding machine and a molded product take-out device

    DE102017128332A1

  • Mold monitor and method therefor

    JP1994143297A

  • Mold assembly, press apparatus, handling apparatus and method, and positioning method

    JP2005154201A

  • Injection molding mold and mold misalignment detecting system thereof

    JP2008162102A

  • Measuring system, measuring method and measuring program for mold clamping apparatus

    JP2009285951A