Tool determination device and tool determination method

By cutting and arranging images of elongated machined surfaces orthogonally, the tool determination device efficiently and accurately assesses tool condition, addressing inefficiencies in existing methods.

JP7563756B2Active Publication Date: 2024-10-08NAGASE INTEGREX CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021198084
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-12-06
Publication Date
2024-10-08
Estimated Expiration
2041-12-06

AI Technical Summary

Technical Problem

Existing tool determination devices struggle with determining the state of elongated machined surfaces, such as rotating grindstones and diamond wires, as they require numerous images, leading to inefficiency and reduced accuracy due to coarser data when widening the imaging range.

Method used

The tool determination device cuts images taken in the movement direction of the machined surface into segments and arranges them orthogonally to create detailed images for training and judgment, using a learning device to output an index value for the surface state.

Benefits of technology

This approach allows for rapid and accurate determination of tool condition by focusing on characteristic surface parts, reducing the number of images needed and enhancing judgment precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563756000001
    Figure 0007563756000001
  • Figure 0007563756000002
    Figure 0007563756000002
  • Figure 0007563756000003
    Figure 0007563756000003
Patent Text Reader

Abstract

To provide a tool determination device and a tool determination method which can determine a processing surface of a tool in a short time and with high accuracy.SOLUTION: A tool determination device 20 determines a state of a processing surface 40 of a wire 11 that is a tool of a wire saw 10. A learning tool 51 learnt using teacher data 53 and a determination image 50 that are used in the determination are memorized in a memorizing part 34 of an electronic control device 30. Images constituting the teacher data 53 and the determination image 50 are constituted of a plurality of images extending in a moving direction of the wire 11 cut out from the photographed image of the processing surface 40 of the wire 11, which are arranged and interfaced in a direction crossing the moving direction. The electronic control device 30 outputs an index value of a state of the processing surface 40 corresponding to the determination image 50, from the learnt learning tool 51 memorized in the memorizing part 34, with the determination data 50 set as input data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a tool determination device and a tool determination method for determining the state of a machined surface of a tool based on a captured image of the machined surface. [Background technology]

[0002] There are many different tools used in processing devices, such as a rotary grindstone in a grinding device, a diamond wire in a wire saw, etc. When processing with a processing device, the finish quality of the processed surface of the workpiece depends on the condition of the processed surface of the tool.

[0003] Conventionally, a tool judgment device for judging the state of the machining surface of a tool has been proposed (for example, Patent Document 1). In the device described in Patent Document 1, the machining surface of the tool is imaged using a metallurgical microscope equipped with a camera, and the state of the machining surface is judged based on the image data.

[0004] In recent years, a tool determination device that determines the state of the machining surface of a tool using a machine learning model has also been proposed. In this device, first, the machining surface of the tool is imaged by a camera, and a learning device learns using the captured image as teacher data. Then, when determining the machining surface of the tool, the machining surface of the tool to be determined is imaged, and output data is obtained from the learned learning device using the captured image as input data. In the above device, the state of the machining surface of the tool to be determined is determined based on this output data. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2004-45078 A Summary of the Invention [Problem to be solved by the invention]

[0006] Among the tools used in the processing device, the grindstone and diamond wire have a processing surface that is elongated in the direction of movement (specifically, the rotational direction of the grindstone or the axial direction of the diamond wire).

[0007] In order to determine the entirety of such a long machining surface in the above-mentioned tool determination device, it is necessary to obtain a large number of captured images by, for example, capturing images of the machining surface with a camera for each imaging range divided in the moving direction of the machining surface. In this case, since the machining surface of the tool is determined based on the large number of captured images, the determination takes time.

[0008] It is possible to reduce the number of captured images by widening the camera's imaging range. However, in this case, the captured images will have a coarse data size in proportion to the wider imaging range of the camera, making it more difficult to find "parts with characteristic conditions on the processed surface" that appear in the captured images, which raises concerns about a decrease in judgment accuracy. [Means for solving the problem]

[0009] A tool determination device for solving the above problem is applied to a tool used for machining by a machining device, and has a machining surface that is elongated and extends in the movement direction of the machining surface, and determines the state of the machining surface.The tool determination device includes a memory unit that stores a learning unit that has been trained using teacher data consisting of images in which an image extending in the movement direction is cut out from an image of the machining surface and the cut-out images are arranged in a direction intersecting the movement direction and joined together, an input unit that stores, as a judgment image, an image in which an image extending in the movement direction is cut out from an image of the machining surface to be judged and the cut-out images are arranged in a direction intersecting the movement direction and joined together, and a state output unit that uses the judgment image as input data and outputs an index value of the state of the machining surface corresponding to the judgment image from a trained learning unit stored in the memory unit.

[0010] The tool determination method for solving the above problem is applied to a tool used for machining by a machining device, and has a machined surface that is elongated and extends in a movement direction of the machined surface, and determines the state of the machined surface, and includes a storage step of acquiring an image of the machined surface, cutting out an image extending in the movement direction from the acquired image, generating an image by arranging and joining together a plurality of the cut-out images in a direction intersecting the movement direction, training a learning device using teacher data consisting of the generated images, and then storing the learning device in a storage unit of the tool determination device; an input step of acquiring an image of the machined surface to be determined, cutting out an image extending in the movement direction from the acquired image, generating an image by arranging and joining together a plurality of the cut-out images in a direction intersecting the movement direction, and storing the created image in an input unit of the tool determination device as a determined image; and a state output step of outputting, as input data, an index value of the state of the machined surface corresponding to the determined image from a trained learning device stored in the storage unit.

[0011] According to the above-mentioned tool determination device and tool determination method, an image obtained by collecting and stitching together parts of the machining surface of a tool captured by a camera, the parts including "parts in a characteristic state" appearing on the machining surface, can be used as teacher data or a judgment image. This makes it possible to narrow the imaging range of the camera to obtain finer images, and to use images including many of the "parts in a characteristic state" as the teacher data or judgment image. Therefore, the process of training a learning device using the teacher data and the process of judging the state of the machining surface using a trained learning device can be performed in a short time and with high accuracy. Effect of the Invention

[0012] According to the present invention, the machining surface of a tool can be determined in a short time and with high accuracy. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic configuration diagram of a tool determination device according to an embodiment. [Diagram 2] 2 is a plan view showing a processing roller and a wire of a wire saw to which the tool determination device is applied. FIG. [Diagram 3] 1 is an explanatory diagram for explaining a procedure for generating teacher data and a judgment image. FIG. [Figure 4] FIG. 2 is an explanatory diagram for explaining a learning mode of a learning device. [Diagram 5] FIG. 11 is an explanatory diagram for explaining a generation error output from a learning device. [Figure 6] FIG. [Figure 7] 1(a) to 1(e) are side views showing examples of the state of the wire. [Figure 8] 10 is a flowchart showing an execution procedure of an operation control process. [Figure 9] 1(a) to 1(c) are side views showing an example of a state in which abrasive grains are dispersed on the processing surface of the wire. [Figure 10] 13 is a schematic diagram showing a schematic configuration of a wire electric discharge machining apparatus to which a tool determination device of another embodiment is applied. [Figure 11] 13 is a schematic diagram showing a schematic configuration of a grinding machine to which a tool determination device of another embodiment is applied. [Figure 12] 11 is an explanatory diagram for explaining a procedure for generating teacher data and a judgment image in the embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of a tool determination device and a tool determination method will be described with reference to FIGS. As shown in FIGS. 1 and 2, a tool determination device 20 of the present embodiment is applied to a diamond wire (hereinafter, referred to as wire 11) used for machining by a wire saw .

[0015] <Wire saw 10> The wire saw 10 as the processing device will be described below. The wire saw 10 has a pair of reels 12, 13 around which the wire 11 is wound. These reels 12, 13 are supported rotatably about axes extending in parallel. The wire saw 10 also has a pair of processing rollers 14, 15. The processing rollers 14, 15 are supported rotatably about axes extending in parallel. A large number of annular grooves 141, 151 are formed at a constant pitch on the outer circumferential surfaces of the processing rollers 14, 15. In the wire saw 10, a single wire 11 is wound around the annular grooves 141, 151 of the processing rollers 14, 15 in a suspended state.

[0016] A rotation drive unit 16 is connected to the reel 12. The rotation drive unit 16 has a servo motor 16M that drives the reel 12 to rotate, an encoder 16E that detects the rotation phase and rotation speed of the servo motor 16M, and a motor control device 16C that controls the operation of the servo motor 16M. A rotation drive unit 17 is connected to the reel 13. The rotation drive unit 17 has a servo motor 17M that drives the reel 13 to rotate, an encoder 17E that detects the rotation phase and rotation speed of the servo motor 17M, and a motor control device 17C that controls the operation of the servo motor 17M.

[0017] When the workpiece W1 is processed by the wire saw 10, the reels 12, 13 are rotationally driven through the operation control of the rotation drive units 16, 17. As a result, the wire 11 wound around the reels 12, 13 is guided onto the processing rollers 14, 15 and travels around between the processing rollers 14, 15.

[0018] The wire saw 10 has a support part 18 that detachably supports the workpiece W1. The support part 18 is disposed above the wire 11 between the processing rollers 14, 15. The support part 18 is structured to be movable in a direction approaching the wire 11 (downward in FIG. 1) and in a direction away from the wire 11 (upward in FIG. 1).

[0019] The wire saw 10 has an electronic control device 30. The rotary drive units 16, 17 are connected to the electronic control device 30. The electronic control device 30 has a CPU 31, a ROM 32, a RAM 33, and a storage unit 34 that stores various programs and data. The storage unit 34 is configured with a non-volatile memory that can be written to and read from at any time, such as a hard disk drive or a solid state drive. The electronic control device 30 is configured to execute various types of arithmetic processing based on the various programs and data. The electronic control device 30 executes operation control of the rotary drive units 16, 17 based on the results of the calculations.

[0020] In this embodiment, the operation of the rotary drive units 16 and 17 is controlled so that the wire saw 10 moves alternately between "forward movement" and "return movement" (so-called traverse movement) as described below.

[0021] [Forward movement] A wire 11 of a predetermined length LG is unwound from a reel 12 and wound onto a reel 13. [Return] A wire 11 of a predetermined length LB (where LG>LB) is wound onto the reel 12 and is unwound from the reel 13.

[0022] In the operation control of the rotation drive units 16, 17, the moving speed of the wire 11 is adjusted to be substantially constant, except for the period when the "forward movement" and "return movement" are switched. In this embodiment, an execution program for realizing such an operation of the wire saw 10 is determined and stored in advance in the memory unit 34 of the electronic control device 30.

[0023] The wire saw 10 processes the workpiece W1 as follows. First, the wire 11 is caused to travel in a circular motion between the processing rollers 14 and 15 through the operation control of the rotary drive units 16 and 17. Then, with the workpiece W1 supported at the lower part of the support unit 18, the support unit 18 is lowered as shown by the outlined arrow in FIG. 1. As a result, the workpiece W1 is pressed against the wire 11, so that the workpiece W1 is cut by the wire 11. At this time, the wire 11 performs a traverse operation such that a predetermined length LG is paid out from the reel 12 and then a predetermined length LB is wound around the reel 12. Through this traverse operation, the cutting process of the workpiece W1 by the wire 11 proceeds.

[0024] <Tool judgment device 20> Next, the tool determination device 20 of the present embodiment will be described. The tool determination device 20 is a device for determining the state of the outer surface (hereinafter, the machined surface 40) of the wire 11. The tool determination device 20 captures an image of the machined surface 40 of the wire 11 with a camera 21, and determines the state of the machined surface 40 by utilizing a trained learning device 51 using the captured image (more specifically, a determination image 50 described later) as input data.

[0025] <Camera 21> The tool determination device 20 has a camera 21 for capturing an image of the machining surface 40 of the wire 11. The camera 21 is disposed between the reel 12 and the machining roller 14 with its imaging portion facing the machining surface 40 of the wire 11. The camera 21 is connected to the electronic control device 30. The electronic control device 30 controls the operation of the camera 21. The image captured by the camera 21 is stored in a memory unit 34 of the electronic control device 30.

[0026] <Electronic control device 30> The storage unit 34 of the electronic control device 30 has a storage area for storing various execution programs 52 and a storage area for storing teacher data 53 used for machine learning by the learning device 51. The storage unit 34 has a storage area for storing the learned learning device 51 (more specifically, learning data created through execution of machine learning). The storage unit 34 also has a storage area serving as an input unit for storing an image (more specifically, a judgment image 50 described later) of the processed surface 40 of the wire 11 to be judged, and a storage area for storing judgment result data 54 indicating the result of judging the state of the processed surface 40 of the wire 11.

[0027] Based on the results of various calculations, the electronic control device 30 executes various processes related to determining the state of the machined surface 40 of the wire 11. In this embodiment, a control unit having a CPU 31, a ROM 32, and a RAM 33 corresponds to a state output unit.

[0028] The execution program 52 includes a program for executing machine learning in the learning device 51 and generating learning data that is data showing the results of the execution of the machine learning. The execution program 52 also includes an image generation program for generating a judgment image 50 based on an image captured by the camera 21. The execution program 52 further includes a judgment program for executing a process for judging the state of the processing surface 40 of the wire 11 (judgment process).

[0029] The teacher data 53 is data for performing machine learning on the learner 51 so as to acquire the ability to determine the state of the machined surface 40 of the wire 11 . <Image generation> In this embodiment, an image captured by the camera 21 is not used as is as the image constituting the teacher data 53 and the judgment image 50, but a single image obtained by processing a plurality of captured images is used. The procedure for generating the image constituting the teacher data 53 and the judgment image 50 will be described below.

[0030] In this embodiment, while the wire saw 10 is operated, i.e., while the wire 11 is moving (traveling), the camera 21 captures images of the machined surface 40 of the wire 11 in a predetermined imaging pattern. Specifically, images are captured by the camera 21 at predetermined time intervals while the wire saw 10 is in operation. The captured images captured by the camera 21 are stored in the memory unit 34 of the electronic control device 30.

[0031] As shown in FIG. 3, when generating the teacher data 53 and the judgment image 50, three captured images PA, PB, and PC are acquired from the captured images stored in the storage unit 34 of the electronic control device 30. Then, images PPA, PPB, and PPC extending in the axial direction of the wire 11 (horizontal direction in FIG. 3) are cut out from each captured image PA, PB, and PC in a manner that removes the portion in which the wire 11 is not captured. Specifically, the images PPA, PPB, and PPC are cut out in a manner that the portion in which the wire 11 is captured in each image PA, PB, and PC (the central portion in the vertical direction in FIG. 3) is left and the aspect ratio is [3:1]. Then, these images PPA, PPB, and PPC are arranged and joined in a direction (vertical direction in FIG. 3) intersecting (orthogonal in this embodiment) the movement direction, to generate one rectangular image PT. In this embodiment, the image PT generated in this manner is used as an image constituting the teacher data 53 and the judgment image 50.

[0032] In this embodiment, when an image constituting the teacher data 53 is generated, the generation is performed as follows. In this case, an unused wire 11 is prepared and attached to the wire saw 10. Then, the wire saw 10 is operated in a mode in which the workpiece W1 is not processed. In this state, the camera 21 captures an image of the processing surface 40 of the wire 11, and the captured image is stored in the storage unit 34 of the electronic control device 30. Then, three captured images PA, PB, and PC are acquired from the captured images stored in the storage unit 34 of the electronic control device 30 in this manner, and one rectangular image PT is generated from the captured images PA, PB, and PC. This image PT is used as an image constituting the teacher data 53. When acquiring an image constituting the teacher data 53 (the above-mentioned image PT), in addition to using the wire saw 10 and the tool determination device 20 of this embodiment, a separate device can also be used.

[0033] In this embodiment, when the determination image 50 is generated, the generation is performed as follows. In this case, while the wire saw 10 is operated to process the workpiece W1, the camera 21 captures the processed surface 40 of the wire 11, and the captured image is stored in the storage unit 34 of the electronic control device 30. Then, three captured images PA, PB, and PC are acquired from the captured images stored in the storage unit 34 of the electronic control device 30 in this manner, and one rectangular image PT is generated from the captured images PA, PB, and PC. This image PT is stored in the storage unit 34 of the electronic control device 30 as the determination image 50. In this embodiment, the process of generating the determination image 50 in this manner and storing it in the storage unit 34 of the electronic control device 30 corresponds to an input process.

[0034] <Learning Unit 51> As shown in FIG. 1, in this embodiment, a Generative Adversarial Network (GAN) is adopted as the learning device 51. In this embodiment, machine learning of the learning device 51 is performed based on the teacher data 53 stored in the storage unit 34. In detail, a learning process in which one of the images constituting the teacher data 53 is extracted and the learning device 51 is trained by machine learning using the image as input data is repeatedly performed for each image constituting the teacher data 53. Then, the learning data created through the execution of the machine learning is stored in the storage unit 34. In this embodiment, an execution program 52 is constructed and stored in the storage unit 34 so that a series of processes related to the machine learning of the learning device 51 is automatically executed. In this embodiment, the process of executing the machine learning of the learning device 51 in this manner corresponds to a storage process.

[0035] As conceptually shown in FIG. 4, the machine learning of the learning device 51 is specifically executed in such a manner that the input data and the generated image data generated by the learning device 51 based on the input data are converted into data (image data A) showing the same image. Then, the learned learning device 51 outputs a value corresponding to the difference between the input data and the generated image data (hereinafter, the generation error ΔP). As a result, if the learning device 51 has been properly trained, when a determination process is executed to determine the state of the wire 11 (more specifically, its processing surface 40) to be determined, the following value (generation error ΔP) is output from the learning device 51. In this embodiment, the generation error ΔP corresponds to an index value of the state of the processing surface 40 corresponding to the determination image 50, and the process of outputting the generation error ΔP corresponds to a state output process.

[0036] When the processed surface 40 of the wire 11 to be judged is in an unused state, the input data (judgment image 50) and the generated image data generated by the learning device 51 are substantially identical. Therefore, in this case, the generation error ΔP output from the learning device 51 becomes a very small value (for example, "0").

[0037] On the other hand, when the wire 11 has been used to a certain extent and the machined surface 40 is in a deteriorated state, the input data (determination image 50) and the generated image data no longer match. In this case, as shown in FIG. 5, the generation error ΔP output from the learning device 51 becomes a "positive value" corresponding to the difference between the input data and the generated image data. Moreover, in this case, the greater the difference between the actual state and the unused state, the greater the difference between the input data and the generated image data, and therefore the generation error ΔP output from the learning device 51 also becomes a large value. Therefore, in the determination process using the learning device 51, it can be determined that the greater the value of the generation error ΔP, the more deteriorated the machined surface 40 of the wire 11 is.

[0038] <Wire 11 status> As shown in Fig. 6, the wire 11 has a structure in which a plurality of abrasive grains 41 are fixed to the outer surface of a core material made of a metal wire by a binder 43. The machining surface 40 of the wire 11 has an elongated shape extending in the movement direction. As the wire 11 is used, the state of the machining surface 40 of the wire 11 changes as follows.

[0039] As shown in FIG. 7(a), in the unused state of the wire 11, the abrasive grains 41 are not worn, and therefore the tips of the abrasive grains 41 are sharp. As shown in FIG. 7(b), when the processing surface 40 of the wire 11 deteriorates with use, the tips of the abrasive grains 41 gradually become flat. As shown in FIG. 7(c), when the processing surface 40 of the wire 11 deteriorates, the amount of protrusion of the abrasive grains 41 from the layer of the binder 43 of the wire 11 decreases. When the processing surface 40 of the wire 11 deteriorates further, the layer of the binder 43 of the wire 11 cracks as shown in FIG. 7(d), or a part of the layer of the binder 43 peels off as shown in FIG. 7(e). In addition, as the wire 11 is used, shavings adhere to the surface of the binder 43 or the surface of the binder 43 is scraped off, and a part extending in the moving direction appears on the outermost peripheral surface of the processing surface 40 of the wire 11. In this embodiment, the state of the machined surface 40 of the wire 11 can be determined by capturing a "part in a characteristic state" that appears on the machined surface 40 of the wire 11 as the wire 11 is used.

[0040] <Statistical processing> In this embodiment, when judging the machined surface 40 of the wire 11, an index value for the state of the wire 11 is calculated by performing statistical processing on the "generation error ΔP". In this embodiment, as the index value, the median value of the "generation error ΔP" output from the learning device 51 and stored in the memory unit 34 of the electronic control device 30 during a predetermined period T is calculated. Then, the state of the machined surface 40 of the wire 11 is judged based on this index value. As described above, since it can be judged that the larger the value of the "generation error ΔP" is, the more deteriorated the machined surface 40 is, it can be judged that the larger the value of the median is, the more deteriorated the wire 11 is.

[0041] The predetermined period T is set to a period of one reciprocating movement of the wire 11, which period includes a [forward movement] period during which the wire 11 is paid out by a predetermined length LG, followed immediately by a [return movement] period during which the wire 11 is wound up by a predetermined length LB. In this embodiment, the "production error ΔP" stored in the memory unit 34 of the electronic control device 30 during the predetermined period T is retrieved, and statistical processing is performed on the "production error ΔP" to calculate an index value (the above-mentioned median value) for the state of the wire 11.

[0042] By carrying out such statistical processing, it is possible to grasp the output tendency of the "generation error ΔP" in the predetermined period T, and the state of the machined surface 40 of the wire 11 can be judged over a wide range based on the "generation error ΔP". This makes it possible to prevent the state of the entire machined surface 40 from being erroneously judged based on the judgment result of a part of the machined surface 40, as in the following [Misjudgment 1] and [Misjudgment 2]. [Misjudgment 1] Even though the entire machined surface 40 is deteriorating, it is judged that the deterioration of the machined surface 40 is not progressing because it is judged that the deterioration of the machined surface 40 is not progressing in a very small part. [Misjudgment 2] Even though the deterioration of the entire machined surface 40 is not progressing, it is judged that the deterioration of the machined surface 40 is progressing because it is judged that the deterioration of the machined surface 40 is progressing in a very small part.

[0043] <Reflection of the judgment result> In this embodiment, the judgment result of the judgment process (specifically, the above-mentioned median value) is reflected in the operation control of the rotational drive units 16, 17 of the wire saw 10 (FIG. 1). Specifically, when the median value calculated in the judgment process is equal to or greater than the judgment value, the value obtained by adding a predetermined value α to the "predetermined length LG" in the [forward movement] (=LG+α) is determined as the new predetermined length LG. On the other hand, when the median value is less than the judgment value, the value obtained by subtracting the predetermined value α from the "predetermined length LG" (=LG-α) is determined as the new predetermined length LG.

[0044] Here, when the median value is large, it is found that the production error ΔP tends to be large in the predetermined period T, and it can be determined that the deterioration of the wire 11 is more advanced than expected. In this case, the workpiece W1 is machined by the wire 11 in a state that is more deteriorated than expected, which may lead to a decrease in the machining accuracy of the workpiece W1.

[0045] In this embodiment, in such a case, the predetermined length LG in the forward movement is increased to increase the new feed amount of the wire 11, specifically, the amount obtained by subtracting the predetermined length LB in the return movement from the predetermined length LG in the forward movement (=LG-LB). Therefore, the update time for updating the portion of the wire 11 used for machining the workpiece W1 is shortened, and the deterioration of the wire 11 is prevented from becoming more advanced than expected. This makes it possible to maintain a high level of machining accuracy of the workpiece W1 by the wire saw 10.

[0046] On the other hand, when the median value is small, it is found that the generation error ΔP tends to be small in the predetermined period T, so it can be determined that the deterioration of the wire 11 is not as advanced as expected. In this case, although the machining accuracy of the workpiece W1 can be maintained high, there is a possibility that the wire 11 has been renewed even though it is still in a usable condition. In this embodiment, in such a case, the predetermined length LG in the [forward movement] is reduced to reduce the new feed amount of the wire 11. This allows the renewal time to be lengthened, so that the usage period of the wire 11 can be extended.

[0047] In this embodiment, the above-mentioned judgment value and the predetermined value α that will maintain a high level of machining accuracy of the workpiece W1 while extending the life of the wire 11 are previously determined from the results of various experiments and simulations performed by the inventors, etc. Then, these judgment value and the predetermined value α are incorporated into an execution program for operating the wire saw 10 and are stored in the memory unit 34 of the electronic control device 30.

[0048] Various processes (operation control processes) related to the operation of the wire saw 10 will be specifically described below. Fig. 8 shows the procedure for executing the operation control processes. A series of processes shown in the flowchart of Fig. 8 is executed by the electronic control device 30 as processes at predetermined intervals on the condition that the operation control of the rotation drive units 16, 17 and the operation control of the camera 21 are being executed.

[0049] 8, in this process, first, it is determined whether or not the image generation condition is satisfied (step S11). In the process of step S11, it is determined that the image generation condition is satisfied when three captured images are newly acquired through the operation control of the camera 21.

[0050] If it is determined that the image generation conditions are not met (step S11: NO), the process ends without executing the following processes (steps S12 to S17).

[0051] After that, this process is repeatedly executed, and when the image generation condition is satisfied (step S11: YES), a judgment image 50 is generated based on the three newly acquired captured images (step S12). Then, using this judgment image 50 as input data, a generation error ΔP is output from the trained learning device 51 (step S13), and this generation error ΔP is stored in the storage unit 34 of the electronic control device 30 (step S14).

[0052] Thereafter, it is determined whether the generation error ΔP has been stored for a predetermined period T (step S15). If it is determined that the period during which the generation error ΔP has been stored has not reached the predetermined period T (step S15: NO), this process is terminated without executing the following processes (the processes of steps S16 and S17).

[0053] Thereafter, this process is repeatedly executed, and when it is determined that the generation error ΔP has been stored for the predetermined period T (step S15: YES), an index value (the median value) for the state of the wire 11 is calculated (step S16). In the process of step S16, statistical processing is performed on the generation error ΔP stored for the predetermined period T, and the median value of the generation errors ΔP is calculated as the index value.

[0054] Then, the predetermined length LG in the "forward movement" is corrected based on the index value (the median value) of the state of the wire 11 (step S17). As a result, from this point on, the operation control of the rotation drive units 16, 17 is executed based on the predetermined length LG corrected in the process of step S17. After the predetermined length LG is corrected in this manner, this process is terminated.

[0055] <Action and effect> According to this embodiment, the following advantageous effects can be obtained. (1) The storage unit 34 of the electronic control device 30 stores a learning device 51 trained by teacher data 53 and a judgment image 50. The learning device 51 and the judgment image 50 are images in which an image extending in the moving direction is cut out from a captured image of the machining surface 40 of the wire 11 captured by the camera 21, and a plurality of the cut out images are arranged in a direction perpendicular to the moving direction and joined together. In this embodiment, the judgment image 50 is used as input data, and a generation error ΔP, which is an index value of the state of the machining surface 40 corresponding to the judgment image 50, is output from the trained learning device 51.

[0056] According to this embodiment, an image obtained by collecting and stitching together parts including "parts in a characteristic state (see FIG. 7)" appearing on the machining surface 40 from a plurality of captured images can be used as an image constituting the teacher data 53 or the judgment image 50. As a result, an image including many of the "parts in a characteristic state" can be used as the teacher data 53 or the judgment image 50. Moreover, since it is not necessary to widen the imaging range of the camera 21 in order to obtain an image including many of the "parts in a characteristic state", it is possible to narrow the imaging range of the camera 21 to obtain a detailed captured image. Therefore, the process of training the learning device 51 using the teaching data 53 and the process of determining the state of the machining surface 40 using the trained learning device 51 can be performed in a short time and with high accuracy.

[0057] (2) From the three captured images of the machining surface 40 of the wire 11, images extending in the axial direction of the wire 11 are cut out in a manner that removes the portions in which the wire 11 is not captured. The cut images are then arranged in a direction perpendicular to the moving direction and joined together to generate a single rectangular image. The images generated in this manner are used as images constituting the teacher data 53 and as the judgment image 50.

[0058] According to this embodiment, it is possible to collect only the parts necessary for judging the state of the machining surface 40, that is, the parts in which the machining surface 40 is shown, from a plurality of captured images to form one image. In other words, it is possible to remove parts that are unnecessary for judging the state of the machining surface 40, that is, the parts in which the machining surface 40 is not shown, from the captured images. Therefore, it is possible to reduce the number of images constituting the teacher data 53 and the number of judgment images 50, compared to the case where the captured images are used for judgment as they are. As a result, it is possible to execute the process of making the learning device 51 learn using the teacher data 53 and the process of judging the state of the machining surface 40 using the learned learning device 51 in a short time. Moreover, it is possible to increase the number of the "parts in a characteristic state" included in one image, compared to the case where the captured images are used for judgment as they are. As a result, it becomes easier to find the "parts in a characteristic state" from the teacher data 53 and the judgment image 50, so that it is possible to judge the state of the machining surface 40 with high accuracy.

[0059] <Modification> The above embodiment can be modified as follows: The above embodiment and the following modifications can be combined with each other to the extent that no technical contradiction occurs.

[0060] The image constituting the teacher data 53 and the judgment image 50 may be generated based on two captured images, or four or more captured images. In short, the image constituting the teacher data 53 and the judgment image 50 may be generated as follows. First, a predetermined number (N) of captured images are acquired from the captured images stored in the storage unit 34 of the electronic control device 30. Then, an image (partial image) is cut out from each captured image in such a manner that the portion showing the wire 11 is left and the aspect ratio is [N:1]. After that, the partial images are arranged in a direction perpendicular to the movement direction and joined together to generate one rectangular image. The image generated in this manner is used as the image constituting the teacher data 53 and the judgment image 50.

[0061] The predetermined period T is not limited to one round trip period of the wire 11, but may be any period. For example, the predetermined period T may be a period in which the wire 11 makes multiple round trips, both forward and backward movements. Alternatively, the predetermined period T may be a period in which the wire 11 makes one forward movement, or a period in which the wire 11 makes one backward movement.

[0062] The timing for capturing an image of the machined surface 40 by the camera 21 can be set arbitrarily. For example, the camera 21 may capture an image in a manner in which an "idle period" during which the camera 21 pauses capturing an image and an "execution period" during which the camera 21 captures an image at a predetermined time interval are set alternately. The camera 21 may capture an image only during one of the period during which the wire 11 moves forward and the period during which the wire 11 moves backward. In addition, the camera 21 may capture an image only during a part of the period during which the wire 11 moves forward, or only during a part of the period during which the wire 11 moves backward. The predetermined period T can be set arbitrarily in accordance with the mode of capturing an image by the camera 21.

[0063] As the statistical processing to be performed on the generation error ΔP stored in the predetermined period T, in addition to the processing to calculate the median, the processing to calculate the average value or the processing to calculate the mode can be adopted. Any processing can be adopted as the statistical processing as long as it is possible to calculate a value that clearly shows the tendency of the generation error ΔP stored in the predetermined period T.

[0064] The reflection mode in which the judgment result of the judgment process (specifically, the median value) is reflected in the operation control of the rotation drive units 16 and 17 can be changed arbitrarily, as examples of which are described in [Reflection Mode 1] and [Reflection Mode 2] below.

[0065] [Reflection mode 1] Based on the median calculated in the statistical processing and the "predetermined length LG" in the [forward movement], a new "predetermined length LG" is calculated from a preset relationship (relational formula or calculation map).

[0066] [Reflection mode 2] When the median value calculated in the judgment process is equal to or greater than the judgment value, the value obtained by subtracting the predetermined value β from the "predetermined length LB" in the [return movement] (=LB-β) is set as the new predetermined length LB. On the other hand, when the median value is less than the judgment value, the value obtained by adding the predetermined value β to the "predetermined length LB" (=LB+β) is set as the new predetermined length LB.

[0067] In short, it is necessary to adjust the predetermined length LG of the [forward movement] and the predetermined length LB of the [return movement] according to the results of the judgment process so that the state of the machining surface 40 of the wire 11 is such that it is possible to maintain high machining accuracy while increasing the service life of the wire 11.

[0068] The process of reflecting the determination result of the determination process (specifically, the median value) in the operation control of the rotation drivers 16, 17 (the process of step S17 in FIG. 8) may be omitted. Even with this configuration, the state of the machined surface 40 of the wire 11 can be grasped based on the determination result of the determination process.

[0069] A Convolutional Neural Network (CNN) may be used as the learning device 51. In this case, the machine learning of the learning device 51 may be executed so as to enable classification of the state of the processing surface 40.

[0070] In this case, the classification may be based on the deterioration state of the machined surface 40 (see Figs. 7(a) to 7(e)). With this configuration, the judgment image 50 is used as input data, and the trained learning device 51 can output data indicating the deterioration state of the machined surface 40.

[0071] As the classification, a classification of the dispersion state of the abrasive grains 41 on the processing surface 40 of the wire 11 can be adopted. Here, the dispersion state of the abrasive grains 41 on the processing surface 40 can be a dense state in which the number of abrasive grains 41 arranged per unit area is relatively large, as shown in FIG. 9(a), or an average state in which the number of the abrasive grains 41 arranged per unit area is average, as shown in FIG. 9(b). The dispersion state of the abrasive grains 41 on the processing surface 40 can be a coarse state in which the number of abrasive grains 41 arranged per unit area is relatively small, as shown in FIG. 9(c). According to the above configuration, the judgment image 50 is used as input data, and the learned learning device 51 can output output data showing the dispersion state of the abrasive grains 41, an example of which is shown in FIG. 9(a) to FIG. 9(c). As a result, for example, in an inspection process in the manufacturing process of the wire 11, the above output data can be used to inspect the dispersion state of the abrasive grains 41 on the processing surface 40 of the wire 11.

[0072] The configuration for generating training data and judgment images from images captured by a camera, the configuration for storing a learning device trained using training data, and the configuration for outputting an index value of the condition of the machined surface from the trained learning device can also be applied to wire EDM machines.

[0073] FIG. 10 shows an example of such a wire electric discharge machining apparatus 60. As shown in FIG. 10, the wire electric discharge machining apparatus 60 has a wire 61, which is a tool used to machine a workpiece W2, and a pair of reels 62, 63 around which the wire 61 is wound. A rotary drive unit (not shown) is connected to each of the reels 62, 63. When the wire electric discharge machining apparatus 60 machines the workpiece W2, the reels 62, 63 are rotated such that the wire 11 is unwound from one reel 62 and wound by the other reel 63. The wire electric discharge machining apparatus 60 has a power supply unit 64. When the workpiece W2 is machined, the positive pole of the power supply unit 64 is connected to the wire 61 and the negative pole of the power supply unit 64 is connected to the workpiece W2. The wire electric discharge machining apparatus 60 has a moving unit (not shown) for moving the workpiece W2 relative to the wire 61 when the workpiece W2 is machined. The wire electric discharge machining device 60 has a camera 65 for imaging the machining surface 611 of the wire 61. The imaging portion of this camera 65 faces the portion of the machining surface 611 of the wire 11 after it has passed the workpiece W2. The image captured by the camera 65 is stored in a memory unit (not shown) of the electronic control device.

[0074] The tool judgment device applied to the wire electric discharge machining device 60 generates images constituting the teacher data and judgment images as follows. First, an image extending in the axial direction of the wire 61 is cut out from a plurality of captured images of the machining surface 611 of the wire 61 captured by the camera 65 in such a manner that a portion in which the wire 61 is not captured is removed. Then, the cut out images are arranged in a direction perpendicular to the moving direction of the wire 61 and joined together to generate a single rectangular image. The image generated in this manner is used as the image constituting the teacher data and the judgment image. By generating the images constituting the teacher data and the judgment image in this manner, it is possible to obtain the effects equivalent to those described in (2) above.

[0075] In the tool judgment device applied to the wire electric discharge machining device 60, a learning device trained by the teacher data is stored in a storage unit of an electronic control device. Then, using the judgment image as input data, an index value (generation error) of the state of the machined surface 611 is output from the trained learning device.

[0076] Here, the wire 61 is in the form of a wire whose outer surface forms the machining surface 611. Specifically, a metal wire (e.g., a brass wire or a galvanized brass wire) is used as the wire 61. When the wire 61 used as a tool of the wire electric discharge machining device 60 deteriorates with use, an uneven shape is generated on the machining surface 40. With the above configuration, such a change in shape of the machining surface 611 of the wire 61 can be captured and the condition of the machining surface 611 can be appropriately determined. Furthermore, by adjusting the feed speed of the wire 61 and the moving speed of the workpiece W2 based on the determination result, it is possible to extend the life of the wire 61 while maintaining high machining accuracy of the workpiece W2.

[0077] The configuration for generating training data and judgment images from images captured by a camera, the configuration for storing a learning device trained using training data, and the configuration for outputting an index value of the condition of the machined surface from the trained learning device can also be applied to grinding machines.

[0078] FIG. 11 shows an example of such a grinding device 70. As shown in FIG. 11, the grinding device 70 has a substantially disk-shaped rotary grindstone 71 as a tool used for processing. The rotary grindstone 71 has a structure in which a large number of abrasive grains are dispersed on the outer peripheral surface of a base material and fixed by a binder. A processing surface 711 forming the outer peripheral surface of the rotary grindstone 71 has an elongated shape extending in the moving direction. The rotary grindstone 71 is supported in a rotatable state. A rotation drive unit 72 having, for example, a servo motor is connected to the rotary grindstone 71. The grinding device 70 is capable of moving the rotary grindstone 71 and a workpiece (not shown) relative to each other. In the grinding device 70, the rotary grindstone 71 is rotated and moved relative to the workpiece to bring the rotary grindstone 71 into contact with the workpiece, whereby the surface of the workpiece is ground by the processing surface 711 of the rotary grindstone 71. The grinding device 70 has a camera 73 for capturing an image of the processing surface 711 of the rotary grindstone 71. The image captured by the camera 73 is stored in a memory unit (not shown) of the electronic control device.

[0079] The tool determination device applied to the grinding device 70 generates images constituting the teacher data and judgment images as follows. As conceptually shown in FIG. 12, first, an image PE extending in the moving direction of the machining surface 711 (the vertical direction in FIG. 12) is cut out from a captured image PD captured by the camera 73. Then, this image PE is divided in the moving direction into two images PE1 and PE2, and the images PB1 and PB2 are arranged in a direction perpendicular to the moving direction and joined together to generate a rectangular image PTD. The image PTD generated in this manner is used as an image constituting the teacher data and judgment images. Similarly, images PF, PG, and PH extending in the moving direction of the machining surface 711 are cut out from the captured image PD, and rectangular images PTF, PTG, and PTH are generated based on the images PF, PG, and PH. These images PTF, PTG, and PTH are also used as images constituting the teacher data and judgment images.

[0080] In the tool determination device applied to the grinding machine 70, a learning device trained by the teacher data is stored in a storage unit of an electronic control device. Then, the determined image is used as input data, and an index value (generation error) of the state of the machined surface 711 is output from the trained learning device.

[0081] Here, in the case of an unused grinding wheel 71 or a grinding wheel 71 immediately after being properly dressed, the outermost peripheral surface of the processing surface 711 is composed only of the tip surfaces of the abrasive grains. Then, when the grinding process by the grinding wheel 71 is performed to a certain extent, a portion PX other than the abrasive grains (mainly a so-called bond tail composed of a binder) appears on the outermost peripheral surface of the processing surface 711. This portion PX tends to extend in the same moving direction from the rear portion in the moving direction of the abrasive grains. Furthermore, when the total execution time of the grinding process by the grinding wheel 71 becomes long, the state change of the processing surface 711 progresses, and the above portion PX extends in a manner that connects the abrasive grains lined up in the moving direction. In this way, the degree of the state change of the processing surface 711 of the grinding wheel 71 appears in the portion extending in the moving direction on the outermost peripheral surface of the processing surface 711.

[0082] According to the above configuration, when generating an image constituting the teacher data or a judgment image, an image that is long in the moving direction, i.e., an image that is likely to include a "characteristic part" that appears on the machining surface 711, can be cut out from the captured image of the machining surface 711 of the rotary grindstone 71. In other words, an image that is likely to include information about the "part extending in the moving direction on the outermost peripheral surface of the machining surface 711" can be cut out from the captured image of the machining surface 711 of the rotary grindstone 71. Then, an image obtained by arranging and joining a plurality of the cut-out images, in other words, an image that includes many of the "characteristic parts", can be used as the teacher data or judgment image. As a result, when judging the machining surface 711 of the rotary grindstone 71, it is possible to find the "characteristic part" with a high probability, so that the state of the machining surface 711 can be judged with high accuracy.

[0083] According to the above configuration, an image obtained by collecting and stitching together parts including the "characteristic state" from the captured images captured by the camera 73 can be used as an image constituting the teacher data or a judgment image. This allows an image including many parts of the "characteristic state" to be used as the teacher data or a judgment image. Moreover, since it is not necessary to widen the imaging range of the camera 73 in order to obtain an image including many parts of the "characteristic state", it is possible to narrow the imaging range of the camera 73 and obtain a detailed captured image. Therefore, the process of training the learning device using the teaching data and the process of judging the state of the machining surface 711 using the trained learning device can be performed in a short time and with high accuracy. [Explanation of symbols]

[0084] 10…Wire saw 11,61…Wire 20…Tool judgment device 21,65,73…Camera 30...Electronic control device 31…CPU 32...ROM 33…RAM 34...Storage section 40,611,711…Machined surface 50…Judgment image 51...Learning unit 52...Executing program 53…Teacher data 60...Wire electric discharge machining device 70...Grinding equipment 71... Grindstone

Claims

1. A tool determination device is applied to a tool used for machining by a machining device, the tool having a machining surface that is elongated and extends in a moving direction of the machining surface, and determines a state of the machining surface, A storage unit that stores a learning device that has been trained using teacher data consisting of an image in which an image extending in the movement direction is cut out from an image of the processing surface and a plurality of the cut out images are arranged in a direction intersecting the movement direction and connected together; an input unit that cuts out an image extending in the moving direction from an image of the processed surface to be judged, and arranges and joins the cut out images in a direction intersecting the moving direction, and stores the image as a judgment image; a state output unit that uses the judgment image as input data and outputs an index value of the state of the machined surface corresponding to the judgment image from a trained learning device stored in the storage unit; A tool determination device comprising:

2. The tool is a wire-like tool having an outer surface that forms the processing surface; The teacher data and the judgment image are images in which an image extending in the movement direction is cut out from an image of the processing surface in a manner that removes a portion that does not include the processing surface, and a plurality of the cut out images are arranged in a direction intersecting the movement direction and joined together. The tool determination device according to claim 1 .

3. The tool is a grindstone having a structure in which a plurality of abrasive grains are bonded together by a binder, The teaching data and the judgment image are images including information about a portion of the machining surface of the grinding wheel that extends in the moving direction. The tool determination device according to claim 1 .

4. A tool determination method is applied to a tool used for machining by a machining device, the tool having a machining surface that is elongated and extends in a moving direction of the machining surface, and determines a state of the machining surface, the method comprising: a storage step of acquiring an image of the machining surface, cutting out an image extending in the moving direction from the acquired image, arranging and connecting a plurality of the cut-out images in a direction intersecting the moving direction to generate an image, training a learning device using teacher data consisting of the generated image, and then storing the learning device in a storage unit of the tool determination device; an input process of acquiring an image of the machined surface to be judged, cutting out an image extending in the movement direction from the acquired image, arranging a plurality of the cut images in a direction intersecting the movement direction and connecting them together to generate an image, and storing the created image in an input unit of the tool judgment device as a judgment image; a state output step of outputting an index value of the state of the machined surface corresponding to the judgment image from a trained learning device stored in the storage unit using the judgment image as input data; A tool determination method comprising:

Citation Information

Patent Citations

  • Apparatus and method for measuring amount of projection of abrasive particle of grinding tool

    JP2004045078A

  • Machine learning device and method

    JP2020009141A

  • Grinding tool abrasive plane evaluation device and learning equipment thereof, evaluation program and evaluation method

    JP2020019087A

  • Information processing system, and information processing method

    JP2021028739A