WO2023132157A1 - Machine tool - Google Patents

Machine tool Download PDF

Info

Publication number
WO2023132157A1
WO2023132157A1 PCT/JP2022/043945 JP2022043945W WO2023132157A1 WO 2023132157 A1 WO2023132157 A1 WO 2023132157A1 JP 2022043945 W JP2022043945 W JP 2022043945W WO 2023132157 A1 WO2023132157 A1 WO 2023132157A1
Authority
WO
WIPO (PCT)
Prior art keywords
foreign matter
measurement
unit
measurement target
workpiece
Prior art date
Application number
PCT/JP2022/043945
Other languages
French (fr)
Japanese (ja)
Inventor
静雄 西川
Original Assignee
Dmg森精機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dmg森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2023132157A1 publication Critical patent/WO2023132157A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q11/00Accessories fitted to machine tools for keeping tools or parts of the machine in good working condition or for cooling work; Safety devices specially combined with or arranged in, or specially adapted for use in connection with, machine tools
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/20Arrangements for observing, indicating or measuring on machine tools for indicating or measuring workpiece characteristics, e.g. contour, dimension, hardness
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/24Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

Definitions

  • the present invention relates to a machine tool equipped with a measurement unit that performs on-machine measurement of a workpiece that has been machined.
  • On-machine measurement is performed, for example, by attaching a measurement probe to the spindle of a machine tool and moving the probe along the surface of the workpiece using a feed mechanism of the machine tool.
  • On-machine measurement can be broadly classified into two methods, a contact method and a non-contact method. In the contact method, measurement is performed while the tip of the probe is in contact with the surface of the work, while in the non-contact method, measurement is performed with the tip of the probe slightly separated from the surface of the work.
  • the workpiece is cleaned before on-machine measurement is started. may not be able to be removed immediately. If the on-machine measurement process is executed with foreign matter remaining on the surface of the workpiece, the measured values obtained by the probe show abnormal values due to the influence of the foreign matter, which causes erroneous measurement. If such an erroneous measurement occurs, for example, even if the workpiece is actually processed to normal dimensions, an abnormal value is measured by the on-machine measurement, and the operator moves the workpiece out of the machine. There is a risk that the measurement may be forced to be manually redone, or defective products may be produced due to erroneous measurement that is judged to meet the design requirements even though the machining dimensions of the workpiece do not meet the design requirements.
  • the present invention has been made in view of the above circumstances, and provides a machine tool equipped with a measuring unit for performing on-machine measurement of a workpiece that has been machined.
  • the purpose is to prevent erroneous measurement due to the influence of foreign matter left on the surface of the
  • a machine tool comprising a machining mechanism section for machining a workpiece and a measurement section for performing on-machine measurement of the workpiece that has been machined by the machining mechanism section, a foreign matter detection unit capable of detecting foreign matter adhering to a measurement target portion of the workpiece after the completion of machining; a foreign matter removing unit capable of executing a foreign matter removing operation for removing foreign matter adhering to a measurement target portion of the workpiece after the completion of machining; a notification unit capable of reporting foreign matter adhesion information including the fact that a foreign matter is adhered to a measurement target portion of the workpiece; A control unit that controls the operation of the measurement unit, the foreign matter removal unit, and the notification unit, When the processing of the workpiece by the machining mechanism is completed, the control unit causes the foreign matter removing unit to perform the foreign matter removing operation, and causes the foreign matter detecting unit to perform foreign matter detection processing on the work after the foreign matter removing operation is completed.
  • a determination process is performed to determine whether or not foreign matter adheres to the measurement target portion of the workpiece based on the processing result, and it is determined that there is no foreign matter adhered as a result of the determination processing the measurement unit is caused to perform the on-machine measurement, and when it is determined that a foreign object is attached, the on-machine measurement by the measurement unit is not executed, and the information on the foreign object adhesion is sent to the notification unit. It relates to a machine tool configured to notify.
  • the foreign matter removing section executes a foreign matter removing operation for removing foreign matter adhering to the measurement target portion of the workpiece.
  • the foreign matter detection section executes foreign matter detection processing for detecting foreign matter adhering to the measurement target portion of the workpiece under the control of the control section. Based on the result of this foreign matter detection processing, the control unit executes a determination processing as to whether or not a foreign matter adheres to the measurement target portion of the workpiece.
  • the control Under the control of the unit the measurement unit does not perform on-machine measurement, and the notification unit notifies that foreign matter is attached to the measurement target portion of the workpiece as foreign matter adhesion information.
  • the measurement unit it is possible to prevent the measurement unit from performing on-machine measurement with foreign matter attached to the measurement target portion of the workpiece.
  • the worker receives this notification, recognizes that the foreign matter is attached to the measurement target portion of the work, and moves the work out of the machine. Countermeasures such as manual measurement of dimensions can be taken.
  • the control unit When it is determined that a foreign object is attached to the measurement target site as a result of the determination process, the control unit causes the foreign material removal unit to perform the foreign material removal operation, and then executes the determination process again. The process is repeatedly executed until it is determined that there is no adhesion of foreign matter in the determination processing, and if the determination result that there is no adhesion of foreign matter is obtained in the determination processing, on-machine measurement is performed by the measurement unit.
  • the notification unit is configured to notify the foreign matter adhesion information when a determination result indicating that there is no adhesion of foreign matter is not obtained even after repeating the control processing a predetermined number of times.
  • the foreign matter removing operation by the foreign matter removing unit and the foreign matter adhesion determination processing in the control unit are repeatedly executed until the determination processing determines that no foreign matter has adhered. Therefore, for example, even if there is foreign matter adhered so strongly that it cannot be removed by a single foreign matter removing operation, the foreign matter can be easily removed by repeating the foreign matter removing operation. Further, if the foreign matter cannot be removed even after the foreign matter removing operation is repeated a predetermined number of times, the notification unit notifies that the foreign matter is attached to the measurement target site as foreign matter adhesion information. As a result, the operator can recognize that a foreign object is attached to the measurement target site, and can take countermeasures such as moving the workpiece out of the machine and performing manual measurement.
  • the control unit has a plurality of measurement target regions, the foreign object detection unit is configured to detect foreign substances adhering to each of the plurality of measurement target regions, and the control unit detects a plurality of measurement target regions.
  • the determination process is executed for each of the target parts, and when it is determined that a foreign object is attached to at least one measurement target part based on the result of the determination process, the foreign object is attached as the foreign object adhesion information.
  • the notifying unit is configured to notify the foreign matter adhesion information including information that can identify the measurement target site to which the foreign matter is attached, in addition to the fact that the foreign matter is attached.
  • the control unit executes the determination process of whether or not a foreign object is attached based on the result of the foreign object detection process by the foreign object detection unit. Then, in the control unit, when it is determined that a foreign object is attached to at least one of the plurality of measurement target sites based on the results of these determination processes, the notification unit, under the control of the control unit, Foreign matter adhesion information including information to the effect that foreign matter is adhered to the measurement target site and information capable of specifying the measurement target site to which the foreign matter is adhered is reported. According to this, compared with the case where the notifying unit simply notifies that the foreign matter is attached, the operator can easily specify the location where the foreign matter is attached. Therefore, the worker can quickly remove the foreign matter when manually measuring the dimensions of the work.
  • the notification unit includes a display unit for displaying the foreign matter adhesion information, and the foreign matter adhesion information displays the position of the dimension measured by the measurement unit on an image simulating the shape of the workpiece. Moreover, it is preferable that the image information indicates whether or not there is adhesion of a foreign substance to the measurement target portion corresponding to the displayed dimension.
  • foreign matter adhesion information is displayed on the display section (notification section) under the control of the control section.
  • This foreign matter adhesion information displays the position of the dimension measured by the measuring unit on an image simulating the shape of the workpiece, and indicates whether or not there is adhesion of foreign matter to the measurement target portion corresponding to the displayed dimension. consists of the image information shown. Accordingly, the operator can visually identify the portion to which the foreign matter is attached among the plurality of measurement target portions by viewing the image information (foreign matter adhesion information) displayed on the display unit.
  • the control unit determines that there is no foreign substance adhered to the measurement target region. and causing the measurement unit to perform on-machine measurement of the dimensions corresponding to the measurement target portion, and to display the measurement result on the display unit.
  • on-machine measurement is performed by the measurement unit for the dimensions corresponding to the measurement target part where no foreign matter is attached. Therefore, it is possible to prevent the on-machine measurement of all dimensions by the measuring unit from being stopped, and by extension, to improve the measurement efficiency of the on-machine measurement.
  • the foreign matter detection process is executed by the foreign matter detection unit, and the workpiece is measured based on the processing result. Determination processing is performed to determine whether or not a foreign object adheres to the target portion.
  • the measurement unit is caused to perform on-machine measurement, while the foreign object is detected.
  • the on-machine measurement by the measurement unit is not executed, and the notification unit is notified of foreign matter adhesion information that foreign matter is adhered to the measurement target part.
  • FIG. 1 is a block diagram showing a control system of a machine tool
  • FIG. FIG. 4 is a schematic perspective view showing various dimensions of a workpiece measured by on-machine measurement
  • 4 is a flowchart showing an example of preprocessing control executed before on-machine measurement
  • FIG. 9 is a schematic diagram showing an example of foreign matter adhesion information displayed on a display unit in the machine tool according to Embodiment 2 of the present invention.
  • FIG. 1 is a perspective view showing a machine tool 1 according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the construction of a control system of the machine tool 1.
  • the machine tool 1 includes an on-machine measurement system 50 (an example of a measurement unit) capable of measuring various dimensions of the work W after the completion of machining while the work W is set in the machine.
  • the machine tool 1 executes preprocessing control before execution of on-machine measurement in order to prevent the on-machine measurement system 50 from performing measurement with foreign matter such as chips adhering to the workpiece W. It is configured. Details of the preprocessing control and the onboard measurement system 50 will be described later.
  • FIG. 3 shows an example of the workpiece W after the completion of machining.
  • the workpiece W is a columnar body that has a convex shape when viewed from the front side of the machine tool 1, and the on-machine measurement system 50 is shown in the figure. Measure the six dimensions AF shown.
  • the on-machine measurement system 50 uses a laser measurement head 51, which will be described later, to acquire distance data to a predetermined measurement target site, and measures (calculates) dimensions A to F based on the acquired distance data.
  • the measurement target part is a part whose position information needs to be acquired when measuring each dimension A to F.
  • the measurement target part corresponding to the dimension B is the width direction (X).
  • the measurement target portion corresponding to the dimension E is the inner peripheral surface of the circular hole 13, and the measurement target portion corresponding to the dimension F is the depth direction (Y-axis direction) of the workpiece W. Both sides.
  • the measurement target portion can be determined for the other dimensions A, C, and D based on the same concept.
  • the machine tool 1 includes a bed 2, a column 3 arranged on the bed 2, and a spindle head 4 supported by the column 3 and movable in the vertical direction (Z-axis direction). , a spindle 5 supported by a spindle head 4 whose axis is parallel to the Z-axis and rotatable about the axis, a spindle 5 on which a tool is mounted, and a saddle arranged horizontally (in the Y-axis direction) on the bed 2 so as to be movable.
  • the main shaft 5 has a tapered hole opening at the tip end face, and a collet and a draw bar for fixing a tool are arranged in the tapered hole.
  • the tool is detachable.
  • the machine tool 1 further includes a feed mechanism unit 11 for feeding in each axial direction, a tool changer 10 for exchanging the tool mounted on the spindle 5 with a new tool, and a pretreatment control unit. It includes a workpiece cleaning device 30 and a foreign matter detection system 40 (an example of a foreign matter detection unit) that operate occasionally, the on-machine measurement system 50 , and a control device 20 that controls the overall operation of the machine tool 1 .
  • a feed mechanism unit 11 for feeding in each axial direction
  • a tool changer 10 for exchanging the tool mounted on the spindle 5 with a new tool
  • a pretreatment control unit includes a workpiece cleaning device 30 and a foreign matter detection system 40 (an example of a foreign matter detection unit) that operate occasionally, the on-machine measurement system 50 , and a control device 20 that controls the overall operation of the machine tool 1 .
  • the feed mechanism section 11 changes the relative positional relationship between the tool mounted on the spindle 5 and the workpiece W under the control of the control device 20 . Thereby, the workpiece W is processed into a desired shape.
  • a laser measuring head 51 which will be described later, can be attached to the spindle 5 in place of a tool.
  • the laser measurement head 51 is a part of the on-machine measurement system 50 as will be described later, and is configured to be able to measure the distance between the workpiece W set on the table 7 and the part to be measured.
  • the tool changer 10 has a tool magazine for storing a plurality of tools, and a change mechanism for exchanging the tools stored in the tool magazine with the tools mounted on the spindle 5, although not shown. This exchange mechanism first pulls out the tool attached to the spindle 5 and then attaches a new tool to the spindle 5 .
  • the tool magazine stores the laser measuring head 51 in addition to the tools, and the tool changer 10 is configured so that the laser measuring head 51 can be mounted on the spindle 5 instead of the tools.
  • the work cleaning device 30 is configured to clean and remove foreign matter such as chips by discharging coolant toward the surface of the work W.
  • the work cleaning device 30 includes a manifold attached to the spindle head 4 , a pipe branched from the manifold to supply coolant toward the work surface, and a coolant tank provided on the back side of the machine tool 1 . and a coolant pump (both not shown) that guides coolant from the manifold to the manifold.
  • the foreign matter detection system 40 includes a pair of imaging cameras 41 capable of imaging an image of the workpiece W after the completion of machining set on the table 7, and based on the images captured by the pair of imaging cameras 41, a portion of the workpiece surface to be measured. and an image processing device 42 for detecting adhering foreign matter.
  • a pair of imaging cameras 41 are attached to the ceiling wall of the splash guard 12 that defines the exterior of the machine tool 1, as shown in FIG.
  • Each imaging camera 41 is composed of, for example, a CCD camera or a CMOS camera, and is arranged symmetrically with respect to the axis of the spindle head 4 when viewed from the front side of the machine tool 1 .
  • Each image pickup camera 41 is arranged with an inclination such that the optical axis of each image pickup camera 41 faces downward from the spindle head 4 .
  • Each image pickup camera 41 executes an image pickup operation upon receiving an image pickup command from the control device 20, and picks up images of the left half portion and the right half portion of the work W, respectively. Then, each imaging camera 41 transmits the image data of the imaged work W to the image processing device 42 (see FIG. 2).
  • the image processing device 42 has an image data acquisition section 42a and a detection processing section 42b.
  • the image processing device 42 is configured by a computer having a CPU, ROM, and RAM, and the functions of the image data acquisition unit 42a and the detection processing unit 42b are realized by computer programs.
  • the image data captured by each imaging camera 41 is obtained as digital data in which the arrangement position of each pixel and the luminance value are associated with each other.
  • the detection processing unit 42b detects whether or not a foreign object adheres to the measurement target site of the workpiece W by comparing the captured image data of each imaging camera 41 acquired by the image data acquisition unit 42a with the reference image.
  • the reference image is an image of the workpiece W in which foreign matter is not attached to the measurement target site, and is stored in advance in a storage unit (not shown).
  • the detection processing unit 42b determines by pattern matching whether or not an image of foreign matter such as scraps exists in a portion corresponding to the measurement target site in the difference image between the captured image and the reference image.
  • the foreign matter detection method is not limited to pattern matching. For example, it is possible to perform machine learning by inputting an image in which a foreign matter adheres to a measurement target site and an image in which no foreign matter adheres to a computer. A foreign object detection learning model may be generated, and foreign object detection may be performed using the generated learning model.
  • the on-machine measurement system 50 measures various dimensions of the workpiece W without contact using the principle of a laser displacement gauge.
  • the on-machine measurement system 50 has a laser measurement head 51 detachably attached to the spindle 5 and a measurement data processing device 52 .
  • the laser measurement head 51 has a laser oscillator 51a, a light receiving sensor 51b, and a wireless communication section 51c, which are built in the head body.
  • the laser measuring head 51 is stored in the tool magazine of the tool changer 10, is mounted on the spindle 5 by the tool changer 10 after machining of the work W is completed, and starts measuring operation upon receiving a command from the control device 20. do.
  • a laser beam is emitted from the laser oscillator 51a toward the surface of the workpiece W, and the laser beam reflected by the surface of the workpiece W is received by the light receiving sensor 51b. is calculated, and data relating to the calculated distance is transmitted to the measurement data processing device 52 via the wireless communication unit 51c.
  • the measurement data processing device 52 receives the distance data transmitted from the laser measurement head 51, and the received distance data and the X-axis, Y-axis and Z-axis directions of the main shaft 5 and the table 7 obtained from the control device 20. Based on the relative movement position data, the position of the measurement target portion is calculated, and various dimensions A to F of the work W are calculated based on the calculated position of the measurement target portion. The measurement data processing device 52 transmits information on the calculated various dimensions A to F of the workpiece W to the control device 20 . Then, the control device 20 causes the display section 9 provided on the operation panel of the machine tool 1 to display the dimension information received from the measurement data processing device 52 .
  • the control device 20 has a processing control section 20a, a measurement control section 20b, and a pretreatment control section 20c.
  • the control device 20 is composed of a computer having a CPU, a ROM and a RAM, and the functions of the processing control section 20a, the measurement control section 20b, and the preprocessing control section 20c are implemented by computer programs.
  • the processing control unit 20a executes control for processing the workpiece W into a desired shape by controlling the processing mechanism unit 8 including the spindle 5, the feed mechanism unit 11, etc., based on the NC program.
  • the measurement control unit 20b executes measurement control after the processing of the workpiece W by the processing mechanism unit 8 is completed.
  • the laser measurement head 51 is caused to perform the measurement operation while sequentially moving the laser measurement head 51 to a predetermined measurement position by the feed mechanism section 11 .
  • the preprocessing control unit 20c executes preprocessing control using the work cleaning device 30 and the foreign matter detection system 40 after the processing of the work W by the processing mechanism unit 8 is completed and before measurement control by the measurement control unit 20b is started.
  • the preprocessing control unit 20c first monitors the execution status of the NC program by the machining control unit 20a, and determines whether or not the machining of the workpiece W by the machining mechanism unit 8 is completed (step SA1). When the preprocessing control unit 20c determines that the processing of the work W by the processing mechanism unit 8 has not been completed (NO in step SA1), the preprocessing control unit 20c executes this determination process again. is completed (YES in step SA1), the work cleaning device 30 is caused to perform the cleaning operation of the work W (step SA2).
  • the preprocessing control unit 20c After the workpiece cleaning device 30 finishes cleaning the workpiece W, the preprocessing control unit 20c outputs an imaging command to each imaging camera 41 to cause the foreign matter detection system 40 to perform the foreign matter detection process (step SA3). ).
  • Each imaging camera 41 receives an imaging command from the preprocessing control unit 20c, executes imaging processing of the workpiece W, and transmits the captured image data to the image processing device .
  • the detection processing unit 42b detects whether or not a foreign object adheres to the measurement target portion of the work W based on the image data received from each imaging camera 41.
  • FIG. This detection result is transmitted from the image processing device 42 to the preprocessing control section 20 c of the control device 20 .
  • the preprocessing control unit 20c determines whether or not foreign matter adheres to at least one of the plurality of measurement target portions of the workpiece W (step SA4).
  • step SA4 when the preprocessing control unit 20c determines that no foreign matter adheres to all measurement target portions of the workpiece W as a result of this determination processing (NO in step SA4), the measurement control unit 20b starts measurement. A command is output to cause the laser measuring head 51 to perform a measuring operation under the control of the measurement control unit 20b (step SA6). After starting the measurement operation, the process returns to step SA1.
  • step SA4 determines in the determination process of step SA4 that there is a foreign substance attached to at least one measurement target site (YES in step SA4), is less than the predetermined number of times, and if it is determined to be less than the predetermined number of times (YES in step SA5), the process returns to step SA2 and causes the workpiece cleaning device 30 to perform the cleaning operation of the workpiece W again. let it run. This cleaning operation is repeatedly performed until it is determined that no foreign matter adheres to all measurement target portions of the workpiece W in step SA4.
  • step SA5 the pretreatment control unit 20c causes the display unit 9 to display information indicating that foreign matter is adhered to the work surface (hereinafter referred to as foreign matter adhesion information). (step SA7), and then returns to step SA1.
  • step SA1 when the machining of the workpiece W by the machining mechanism unit 8 is completed (YES in step SA1), the control device 20 causes the workpiece cleaning device 30 to perform a cleaning operation (corresponding to a foreign matter removing operation). ) is performed (step SA2), and the foreign matter detection system 40 is caused to perform foreign matter detection processing for the work W after the cleaning operation is finished (step SA3), and based on the processing result, the work W to be measured is determined.
  • Determination processing is executed to determine whether or not foreign matter is adhered to the site (step SA4), and if it is determined that no foreign matter is adhered as a result of the determination processing (NO in step SA4), the laser measurement head 51 is caused to perform the measurement operation (step SA6), and if it is determined that there is a foreign object attached (YES in step SA4), the on-machine measurement by the laser measurement head 51 is not executed, and the display unit 9 By displaying foreign matter adhesion information, it is configured to notify that foreign matter has adhered to the measurement target portion of the workpiece W (step SA7).
  • the cleaning operation by the workpiece cleaning device 30 is executed. Therefore, it is possible to prevent the on-machine measurement by the laser measurement head 51 from being performed in a state where a foreign object adheres to the measurement target portion of the workpiece W. In addition, it is possible to prevent the laser beam emitted from the laser measuring head 51 from being erroneously measured due to the reflection of a foreign object or the like.
  • the operator can easily recognize that the foreign matter has adhered to the measurement target portion of the workpiece W by looking at this display. Then, the operator can take measures such as moving the workpiece W out of the machine and performing manual measurement.
  • step SA4 when the control device 20 determines that there is adhesion of foreign matter to the measurement target portion of the workpiece W as a result of the judgment processing regarding the presence or absence of adhesion of foreign matter (YES in step SA4), the workpiece The control process (steps SA2 to S4) for re-executing the determination process after causing the cleaning apparatus 30 to perform the cleaning operation is repeatedly executed until the determination process determines that no foreign matter adheres.
  • the determination result that there is no foreign matter adhered is obtained (NO in step SA4)
  • the laser measurement head 51 is caused to perform the measurement operation (step SA6), while the foreign matter adheres even if the control process is repeated a predetermined number of times.
  • the display unit 9 is configured to notify foreign matter adhesion information.
  • the foreign matter adhering to the measurement target portion of the workpiece W cannot be removed by one cleaning operation by the workpiece cleaning device 30, it can be easily removed by repeating the cleaning operation. Further, if these foreign substances cannot be removed even after repeating the cleaning operation a predetermined number of times, the foreign substance adhesion information is displayed on the display unit 9 without further cleaning operation being performed. Therefore, the foreign matter removing operation is not repeated endlessly exceeding a predetermined number of times.
  • FIG. 5 shows a second embodiment. This embodiment differs from the first embodiment in the content of the preprocessing control executed by the preprocessing control unit 20c.
  • the processing of steps SB1 to SB6 is the same as the processing of steps SA1 to SA6 of the first embodiment, so detailed description thereof will be omitted, and the processing contents of steps SB7 to SB9 will be mainly described. .
  • step SB7 which is advanced when the number of cleaning operations by the work cleaning device 30 reaches a predetermined number, it is determined whether or not foreign matter adheres to all measurement target portions of the work W. If this determination is YES, If there is, the process proceeds to step SB9, while if this determination is NO, the process proceeds to step SB8.
  • on-machine measurement is performed by the laser measurement head 51 for the dimensions A to F corresponding to the measurement target portion detected to have no foreign matter adhered.
  • step SB9 a dimension image I displaying the positions of dimensions A to F measured by the on-machine measurement system 50 on an image simulating the shape of the workpiece W, and tabular data summarizing the measurement results of each dimension A to F. T (see FIG. 6) is displayed on the display section 9 of the operation panel.
  • the dimension image I a front view and a side view of the work W are used to indicate to which part of the work W each dimension A to F corresponds by a signed dimension line.
  • the dimension image I may be configured by displaying dimensions on a three-dimensional CAD model simulating the shape of the workpiece W, for example.
  • the table data T is composed of three columns aligned in the horizontal direction of the screen of the display unit 9.
  • the first column from the left of the screen displays the dimensions A to F of the object to be measured. Measurement results of dimensions A to F actually measured by the measurement system 50 are displayed, and the third column displays the foreign matter adhesion status of the measurement target portion corresponding to each dimension A to F.
  • the column for foreign matter adhesion status in the third column displays "foreign matter adhered".
  • it can be determined that foreign matter is attached to the inner peripheral surface of the circular hole 13 of the workpiece W (see FIG. 4).
  • the measurement result in the second column of the dimension E is displayed as "unmeasured". It can be recognized that the measurement is not performed.
  • the column for foreign matter adhesion status in the third column shows "none" indicating that there is no foreign matter adhered
  • the measurement result column in the second column shows "none”.
  • the control device 20 determines whether a foreign object is attached to at least one of the plurality of measurement target portions corresponding to the dimensions A to F measured by the on-machine measurement system 50.
  • the display unit 9 displays table data T (foreign matter is attached) showing the foreign matter adhesion state for each dimension A to F. An example of information that can specify the measurement target site) is displayed.
  • the operator can easily identify the measurement target site to which the foreign matter is attached by looking at the table data T. Therefore, the operator can quickly remove the foreign matter adhering to the workpiece W and smoothly perform manual measurement.
  • the control device 20 displays the on-machine measurement system A dimension image I showing the positions of dimensions A to F measured by 50 is also displayed.
  • the operator can easily recognize the position of the measurement target site to which the foreign matter is attached.
  • control device 20 is configured to cause the on-machine measurement system 50 to perform on-machine measurement for the dimensions A to F corresponding to the measurement target portion determined to have no foreign matter attached. (Step SB8).
  • the on-machine measurement is performed by the on-machine measurement system 50 for the dimensions A to F corresponding to the measurement target portion where no foreign matter is adhered. Therefore, it is possible to prevent the measurement of all the dimensions A to F by the on-machine measurement system 50 from being stopped, and improve the measurement efficiency as much as possible.
  • the cleaning operation by the workpiece cleaning device 30 and the foreign matter detection process by the foreign matter detection system 40 are repeated a predetermined number of times until it is determined that there is no foreign matter attached to the measurement target portion of the workpiece W.
  • the cleaning operation by the workpiece cleaning device 30 and the foreign matter detection processing by the foreign matter detection system 40 may be executed only once (that is, steps SA5 and SB5 may be eliminated). .
  • the dimensions A to F of the workpiece W measured by the on-machine measurement system 50 are the distance between the two surfaces of the workpiece W or the diameter of the circular hole 13.
  • the dimensions are limited to this.
  • it may be the coordinate position of a point on the surface of the work W, the surface roughness of the work W, the inclination or flatness of the surface of the work W, and the like.
  • the on-machine measurement system 50 is a measurement system that uses the principle of a laser displacement meter, but is not limited to this, for example, a system that performs measurement by image processing using a CCD camera. may be Alternatively, as the on-machine measurement system 50, for example, a contact-type measurement system using a touch probe or a scanning probe may be employed.
  • the work cleaning device 30 that cleans and removes foreign matter by ejecting coolant onto the surface of the work W has been described. It may be a device that removes foreign matter by blowing air onto the surface of W, or a device that removes foreign matter using not only air but also magnetic force or the like. Further, for example, foreign matter may be removed by an air cut operation in which a tool attached to the main shaft 5 is moved along the surface of the work W by the feed mechanism 11 while the main shaft 5 is being rotated. In this case, the spindle 5, the feed mechanism section 11, and the control device 20 that drives and controls them function as a foreign matter removing section.
  • the notification unit for notifying foreign matter adhesion information is configured by the display unit 9 provided on the operation panel. Adhesion information may be notified.
  • the work W was measured by the three-axis control machine tool 1, but the machine tool that measures the work W is not limited at all, and any machine tool may be used.
  • the measurement data processing device 52 is configured separately from the control device 20 of the machine tool 1, but is not limited to this. may be provided in the control device 20 so that the measurement data processing device 52 and the control device 20 are integrated.
  • the image processing device 42 is configured separately from the control device 20 of the machine tool 1 , but the present invention is not limited to this. It may be provided in the device 20 so that the image processing device 42 and the control device 20 are configured integrally. Further, the imaging camera 41 is not limited to a fixed object, and may be configured to be transported and installed inside the machine using an automatic tool changer.
  • machine tool 8 processing mechanism unit 9 display unit (notification unit) 20 control device (control unit) 30 Work cleaning device (foreign matter removal unit) 40 foreign matter detection system (foreign matter detection unit) 50 Onboard measurement system (measurement section) A to F Dimension I Dimensional image (foreign matter adhesion information, image information) T table data (foreign matter adhesion information, image information) W Work

Abstract

This machine tool executes a foreign matter elimination operation after machining of a workpiece has been completed (step SA2), then executes foreign matter detection processing using a foreign matter detection unit (step SA3). The machine tool then executes, on the basis of the processing results, determination processing of determining whether foreign matter is attached to a site of the workpiece to be measured (step SA4). If as a result of the determination processing it is determined that no foreign matter is attached (NO in step SA4), the machine tool causes a measurement unit to execute in-machine measurement (step SA6), and if foreign matter is determined to be attached (YES in step SA4), in-machine measurement by the measurement unit is not executed, and foreign matter attachment information indicating that foreign matter is attached to the site to be measured is issued as a notification by the notification unit (step SA7).

Description

工作機械Machine Tools
 本発明は、加工が完了したワークの機上計測を行う計測部を備えた工作機械に関する。 The present invention relates to a machine tool equipped with a measurement unit that performs on-machine measurement of a workpiece that has been machined.
 機械加工の分野では、加工後のワークを工作機械から取り外すことなく当該ワークの各種寸法を計測(以下、機上計測という)するといったことが従来から行われている。機上計測は、例えば工作機械の主軸に計測用のプローブを装着して、当該プローブを工作機械の送り機構を利用してワークの表面に沿って移動させることで実行される。機上計測には、大別すると接触方式と非接触方式との2つの方式がある。接触方式では、プローブの先端をワークの表面に接触させつつ計測を行う一方、非接触方式ではプローブの先端をワークの表面から僅かに離間させた状態で計測を行う。いずれの方式を採用した場合にも、ワークの表面に切屑等が付着していると、計測時に切屑がプローブの先端に付着したり、切屑をワーク表面形状として誤計測したりするという問題がある。このような問題を回避するべく、例えば特許文献1に示す工作機械では、機上計測を開始する前に、洗浄装置によってワークの洗浄処理を実行するようにしている。 In the field of machining, it has been traditional to measure various dimensions of a machined work without removing it from the machine tool (hereinafter referred to as on-machine measurement). On-machine measurement is performed, for example, by attaching a measurement probe to the spindle of a machine tool and moving the probe along the surface of the workpiece using a feed mechanism of the machine tool. On-machine measurement can be broadly classified into two methods, a contact method and a non-contact method. In the contact method, measurement is performed while the tip of the probe is in contact with the surface of the work, while in the non-contact method, measurement is performed with the tip of the probe slightly separated from the surface of the work. Regardless of which method is used, if chips or the like adhere to the surface of the workpiece, there is a problem that the chips adhere to the tip of the probe during measurement, or that the chips are erroneously measured as the surface shape of the workpiece. . In order to avoid such a problem, for example, in the machine tool disclosed in Patent Literature 1, the workpiece is cleaned by a cleaning device before starting on-machine measurement.
特開2015-011530号公報JP 2015-011530 A
 特許文献1に示す工作機械では、機上計測を開始する前にワークの洗浄処理を実行するようにしているが、ワーク表面の異物の付着状況によっては、洗浄処理を行ったとしても異物を完全に除去することができない場合がある。ワーク表面に異物が残った状態で機上計測処理を実行すると、当該異物の影響でプローブによる計測値が異常な値を示して誤計測の原因になる。このような誤計測が生じると、例えばワークが実際には正常な寸法に加工されていたとしても、機上計測により異常な値が計測されて、作業者が当該ワークを機外に移動させて計測を手動でやり直す作業を強いられたり、ワークの加工寸法が設計要件を満たしていないにも拘わらず誤計測により設計要件を満たしていると判断されて不良品が流出したりする虞がある。 In the machine tool disclosed in Patent Document 1, the workpiece is cleaned before on-machine measurement is started. may not be able to be removed immediately. If the on-machine measurement process is executed with foreign matter remaining on the surface of the workpiece, the measured values obtained by the probe show abnormal values due to the influence of the foreign matter, which causes erroneous measurement. If such an erroneous measurement occurs, for example, even if the workpiece is actually processed to normal dimensions, an abnormal value is measured by the on-machine measurement, and the operator moves the workpiece out of the machine. There is a risk that the measurement may be forced to be manually redone, or defective products may be produced due to erroneous measurement that is judged to meet the design requirements even though the machining dimensions of the workpiece do not meet the design requirements.
 本発明は、以上の実情に鑑みてなされたものであって、加工が完了したワークの機上計測を行う計測部を備えた工作機械において、その構成に工夫を凝らすこと、加工完了後のワークの表面に残った異物の影響で誤計測が生じるのを防止することを、その目的とする SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides a machine tool equipped with a measuring unit for performing on-machine measurement of a workpiece that has been machined. The purpose is to prevent erroneous measurement due to the influence of foreign matter left on the surface of the
 前記課題を解決するための本発明は、
 ワークを加工する加工機構部と、該加工機構部による加工が完了したワークの機上計測を行う計測部とを備えた工作機械であって、
 加工完了後のワークの計測対象部位に付着した異物を検出可能な異物検出部と、
 加工完了後のワークの計測対象部位に付着した異物を除去する異物除去動作を実行可能な異物除去部と、
 前記ワークの計測対象部位に異物が付着している旨を含む異物付着情報を報知可能な報知部と、
 前記計測部、前記異物除去部及び前記報知部の作動制御を行う制御部とを備え、
 前記制御部は、前記加工機構部により前記ワークの加工が完了すると、前記異物除去部に前記異物除去動作を実行させるとともに、当該異物除去動作の終了後のワークについて異物検出部に異物検出処理を実行させて、その処理結果を基に、前記ワークの計測対象部位に異物が付着しているか否かを判定する判定処理を実行し、該判定処理の結果、異物の付着が無いと判定した場合には、前記計測部に前記機上計測を実行させる一方、異物の付着が有ると判定した場合には、前記計測部による機上計測を非実行とするとともに、前記報知部に前記異物付着情報を報知させるように構成されている工作機械に係る。
The present invention for solving the above problems,
A machine tool comprising a machining mechanism section for machining a workpiece and a measurement section for performing on-machine measurement of the workpiece that has been machined by the machining mechanism section,
a foreign matter detection unit capable of detecting foreign matter adhering to a measurement target portion of the workpiece after the completion of machining;
a foreign matter removing unit capable of executing a foreign matter removing operation for removing foreign matter adhering to a measurement target portion of the workpiece after the completion of machining;
a notification unit capable of reporting foreign matter adhesion information including the fact that a foreign matter is adhered to a measurement target portion of the workpiece;
A control unit that controls the operation of the measurement unit, the foreign matter removal unit, and the notification unit,
When the processing of the workpiece by the machining mechanism is completed, the control unit causes the foreign matter removing unit to perform the foreign matter removing operation, and causes the foreign matter detecting unit to perform foreign matter detection processing on the work after the foreign matter removing operation is completed. If a determination process is performed to determine whether or not foreign matter adheres to the measurement target portion of the workpiece based on the processing result, and it is determined that there is no foreign matter adhered as a result of the determination processing the measurement unit is caused to perform the on-machine measurement, and when it is determined that a foreign object is attached, the on-machine measurement by the measurement unit is not executed, and the information on the foreign object adhesion is sent to the notification unit. It relates to a machine tool configured to notify.
 この工作機械によれば、加工機構部によるワークの加工が完了すると、制御部による制御の下、異物除去部が、ワークの計測対象部位に付着した異物を除去するための異物除去動作を実行する。異物除去部による異物除去動作が終了した後は、制御部による制御の下、異物検出部がワークの計測対象部位に付着した異物を検出するための異物検出処理を実行する。制御部では、この異物検出処理の結果を基に、ワークの計測対象部位に異物が付着しているか否かの判定処理を実行する。この判定処理の結果、ワークの計測対象部位への異物の付着が無いと判定された場合、つまり異物の影響による誤計測が発生しないと想定される場合には、制御部による制御の下、計測部がワークの機上計測を実行する。一方、前記判定処理の結果、ワークの計測対象部位への異物の付着が有ると判定された場合、つまり、異物の影響により誤計測が発生する可能性が高いと想定される場合には、制御部による制御の下、計測部が機上計測を非実行とするとともに、報知部が、ワークの計測対象部位に異物が付着している旨を異物付着情報として報知する。 According to this machine tool, when the machining of the workpiece by the machining mechanism section is completed, the foreign matter removing section, under the control of the control section, executes a foreign matter removing operation for removing foreign matter adhering to the measurement target portion of the workpiece. . After the foreign matter removal operation by the foreign matter removal section is completed, the foreign matter detection section executes foreign matter detection processing for detecting foreign matter adhering to the measurement target portion of the workpiece under the control of the control section. Based on the result of this foreign matter detection processing, the control unit executes a determination processing as to whether or not a foreign matter adheres to the measurement target portion of the workpiece. As a result of this determination process, if it is determined that there is no foreign matter adhering to the part of the workpiece to be measured, that is, if it is assumed that erroneous measurement due to the influence of foreign matter will not occur, measurement is performed under the control of the control unit. The department performs on-machine measurement of the workpiece. On the other hand, as a result of the determination process, if it is determined that there is a foreign substance adhering to the measurement target portion of the workpiece, that is, if it is assumed that there is a high possibility that erroneous measurement will occur due to the influence of the foreign substance, the control Under the control of the unit, the measurement unit does not perform on-machine measurement, and the notification unit notifies that foreign matter is attached to the measurement target portion of the workpiece as foreign matter adhesion information.
 したがって、ワークの計測対象部位に異物が付着した状態で計測部による機上計測が実行されるのを防止することができる。延いては、異物の付着の影響で計測部による計測値が異常な値を示して誤計測が発生するのを防止することができる。また、作業者は、報知部より異物付着情報が報知された場合には、この報知を受けてワークの計測対象部位に異物が付着していることを認識し、ワークを機外に移動させて手動で寸法計測を行うなどの対策を講じることができる。 Therefore, it is possible to prevent the measurement unit from performing on-machine measurement with foreign matter attached to the measurement target portion of the workpiece. In addition, it is possible to prevent the occurrence of erroneous measurement due to abnormal values measured by the measuring unit due to the influence of adhesion of foreign matter. In addition, when the information about the adhesion of foreign matter is notified by the notification unit, the worker receives this notification, recognizes that the foreign matter is attached to the measurement target portion of the work, and moves the work out of the machine. Countermeasures such as manual measurement of dimensions can be taken.
 前記制御部は、前記判定処理の結果、前記計測対象部位に異物の付着が有ると判定した場合には、前記異物除去部に前記異物除去動作を実行させた後に当該判定処理を再度実行する制御処理を、該判定処理にて異物付着が無いと判定されるまで繰り返し実行し、該判定処理にて異物付着が無いとの判定結果が得られた場合には前記計測部に機上計測を実行させる一方、前記制御処理を所定回数繰り返しても異物付着が無いとの判定結果が得られない場合には、前記報知部に前記異物付着情報を報知させるように構成されていることが好ましい。 When it is determined that a foreign object is attached to the measurement target site as a result of the determination process, the control unit causes the foreign material removal unit to perform the foreign material removal operation, and then executes the determination process again. The process is repeatedly executed until it is determined that there is no adhesion of foreign matter in the determination processing, and if the determination result that there is no adhesion of foreign matter is obtained in the determination processing, on-machine measurement is performed by the measurement unit. On the other hand, it is preferable that the notification unit is configured to notify the foreign matter adhesion information when a determination result indicating that there is no adhesion of foreign matter is not obtained even after repeating the control processing a predetermined number of times.
 この構成によれば、異物除去部による異物除去動作と、制御部における異物付着の判定処理が、当該判定処理で異物の付着が無いと判定されるまで繰返し実行される。したがって、例えば、ワークの計測対象部位に一回の異物除去動作では除去できないほど強固に付着した異物が存在する場合でも、異物除去動作を繰り返すことによりこれらの異物を簡単に除去することができる。また、仮に異物除去動作を所定回数繰り返してもこれらの異物が除去できない場合には、報知部によって計測対象部位に異物が付着している旨が異物付着情報として報知される。これにより、作業者は、計測対象部位に異物が付着していることを認識して、ワークを機外に移動させて手動計測を行うなどの対策を講じることができる。 According to this configuration, the foreign matter removing operation by the foreign matter removing unit and the foreign matter adhesion determination processing in the control unit are repeatedly executed until the determination processing determines that no foreign matter has adhered. Therefore, for example, even if there is foreign matter adhered so strongly that it cannot be removed by a single foreign matter removing operation, the foreign matter can be easily removed by repeating the foreign matter removing operation. Further, if the foreign matter cannot be removed even after the foreign matter removing operation is repeated a predetermined number of times, the notification unit notifies that the foreign matter is attached to the measurement target site as foreign matter adhesion information. As a result, the operator can recognize that a foreign object is attached to the measurement target site, and can take countermeasures such as moving the workpiece out of the machine and performing manual measurement.
 前記制御部は、前記計測対象部位の数は複数であり、前記異物検出部は、複数の前記計測対象部位のそれぞれに付着した異物を検出可能に構成され、前記制御部は、複数の前記計測対象部位のそれぞれについて前記判定処理を実行し、当該判定処理の結果を基に、少なくとも1つの計測対象部位に異物が付着していると判定した場合には、前記異物付着情報として、前記異物が付着している旨に加えて、当該異物が付着している計測対象部位を特定可能な情報を含めて、前記報知部に当該異物付着情報を報知させるように構成されていることが好ましい。 The control unit has a plurality of measurement target regions, the foreign object detection unit is configured to detect foreign substances adhering to each of the plurality of measurement target regions, and the control unit detects a plurality of measurement target regions. The determination process is executed for each of the target parts, and when it is determined that a foreign object is attached to at least one measurement target part based on the result of the determination process, the foreign object is attached as the foreign object adhesion information. It is preferable that the notifying unit is configured to notify the foreign matter adhesion information including information that can identify the measurement target site to which the foreign matter is attached, in addition to the fact that the foreign matter is attached.
 この構成によれば、複数の計測対象部位のそれぞれについて、異物検出部による異物検出処理の結果を基に異物の付着があるか否かの判定処理が制御部によって実行される。そして、制御部において、これらの判定処理の結果を基に、複数の計測対象部位の少なくとも一つに異物の付着があると判定された場合には、制御部による制御の下、報知部が、計測対象部位に異物が付着している旨及び異物が付着している計測対象部位を特定可能な情報を含む異物付着情報を報知する。これによれば、報知部により単に異物が付着している旨を報知する場合に比べて、作業者が異物の付着箇所を容易に特定することができる。よって、作業者は、ワークの寸法を手動計測する際に当該異物の除去作業を迅速に行うことができる。 According to this configuration, for each of the plurality of measurement target sites, the control unit executes the determination process of whether or not a foreign object is attached based on the result of the foreign object detection process by the foreign object detection unit. Then, in the control unit, when it is determined that a foreign object is attached to at least one of the plurality of measurement target sites based on the results of these determination processes, the notification unit, under the control of the control unit, Foreign matter adhesion information including information to the effect that foreign matter is adhered to the measurement target site and information capable of specifying the measurement target site to which the foreign matter is adhered is reported. According to this, compared with the case where the notifying unit simply notifies that the foreign matter is attached, the operator can easily specify the location where the foreign matter is attached. Therefore, the worker can quickly remove the foreign matter when manually measuring the dimensions of the work.
 前記報知部は、前記報知部は、前記異物付着情報を表示する表示部からなり、前記異物付着情報は、前記ワークの形状を模擬した画像に、前記計測部により計測される寸法の位置を表示し且つ表示した寸法に対応する計測対象部位に異物の付着が有るか否かを示した画像情報であることが好ましい。 The notification unit includes a display unit for displaying the foreign matter adhesion information, and the foreign matter adhesion information displays the position of the dimension measured by the measurement unit on an image simulating the shape of the workpiece. Moreover, it is preferable that the image information indicates whether or not there is adhesion of a foreign substance to the measurement target portion corresponding to the displayed dimension.
 この構成によれば、制御部による制御の下、表示部(報知部)に異物付着情報が表示される。そして、この異物付着情報は、ワークの形状を模擬した画像に、前記計測部により計測される寸法の位置を表示し且つ表示した寸法に対応する計測対象部位に異物の付着が有るか否かを示した画像情報からなる。これにより、作業者は、表示部に表示された画像情報(異物付着情報)を見て、複数の計測対象部位のうち異物が付着している部位を視覚を通じて容易に特定することができる。 According to this configuration, foreign matter adhesion information is displayed on the display section (notification section) under the control of the control section. This foreign matter adhesion information displays the position of the dimension measured by the measuring unit on an image simulating the shape of the workpiece, and indicates whether or not there is adhesion of foreign matter to the measurement target portion corresponding to the displayed dimension. consists of the image information shown. Accordingly, the operator can visually identify the portion to which the foreign matter is attached among the plurality of measurement target portions by viewing the image information (foreign matter adhesion information) displayed on the display unit.
 前記制御部は、前記判定処理の結果、少なくとも1つの計測対象部位に異物が付着していると判定した場合であっても、異物の付着が無いと判定した計測対象部位が存在する場合には、当該計測対象部位に対応する寸法の機上計測を前記計測部に実行させるとともに、その計測結果を表示部に表示させるように構成されている。 Even if it is determined that a foreign object is adhered to at least one measurement target region as a result of the determination process, the control unit determines that there is no foreign substance adhered to the measurement target region. and causing the measurement unit to perform on-machine measurement of the dimensions corresponding to the measurement target portion, and to display the measurement result on the display unit.
 これによれば、異物付着が無い計測対象部位に対応する寸法については計測部による機上計測が実行される。したがって、計測部による全寸法の機上計測が中止されるのを防止し、延いては、機上計測の計測効率を向上させることができる According to this, on-machine measurement is performed by the measurement unit for the dimensions corresponding to the measurement target part where no foreign matter is attached. Therefore, it is possible to prevent the on-machine measurement of all dimensions by the measuring unit from being stopped, and by extension, to improve the measurement efficiency of the on-machine measurement.
 以上のように、本発明に係る工作機械によれば、ワークの加工完了後に異物除去動作を実行した後、異物検出部により異物検出処理を実行して、その処理結果を基に、ワークの計測対象部位に異物が付着しているか否かを判定する判定処理を実行し、該判定処理の結果、異物の付着が無いと判定した場合には、計測部に機上計測を実行させる一方、異物の付着が有ると判定した場合には、計測部による機上計測を非実行とするとともに、計測対象部位に異物が付着している旨の異物付着情報を報知部に報知させるようにしたことで、加工完了後のワークの表面に残った異物の影響で寸法の誤計測が生じるのを防止することができる。 As described above, according to the machine tool of the present invention, after the foreign matter removal operation is executed after the completion of machining of the workpiece, the foreign matter detection process is executed by the foreign matter detection unit, and the workpiece is measured based on the processing result. Determination processing is performed to determine whether or not a foreign object adheres to the target portion. When it is determined that no foreign object is adhered as a result of the determination processing, the measurement unit is caused to perform on-machine measurement, while the foreign object is detected. When it is determined that there is adhesion of , the on-machine measurement by the measurement unit is not executed, and the notification unit is notified of foreign matter adhesion information that foreign matter is adhered to the measurement target part. In addition, it is possible to prevent erroneous measurement of dimensions due to the influence of foreign matter remaining on the surface of the workpiece after the completion of machining.
本発明の実施形態1に係る工作機械を示す斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a perspective view which shows the machine tool which concerns on Embodiment 1 of this invention. 工作機械の制御システムを示すブロック図である。1 is a block diagram showing a control system of a machine tool; FIG. 機上計測により計測されるワークの各種寸法を示す概略斜視図である。FIG. 4 is a schematic perspective view showing various dimensions of a workpiece measured by on-machine measurement; 機上計測前に実行される前処理制御の一例を示すフローチャートである。4 is a flowchart showing an example of preprocessing control executed before on-machine measurement; 本発明の実施形態2を示す図4相当図である。4 equivalent view showing Embodiment 2 of the present invention. FIG. 本発明の実施形態2に係る工作機械において、表示部に表示される異物付着情報の一例を示す概略図である。FIG. 9 is a schematic diagram showing an example of foreign matter adhesion information displayed on a display unit in the machine tool according to Embodiment 2 of the present invention.
 以下、本発明の具体的な実施の形態について、図面を参照しながら説明する。 Specific embodiments of the present invention will be described below with reference to the drawings.
 《実施形態1》
 図1は、本発明の実施形態に係る工作機械1を示す斜視図であり、図2は、該工作機械1の制御系の構成を示すブロック図である。この工作機械1は、加工完了後のワークWを機内にセットした状態で当該ワークWの各種寸法を計測可能な機上計測システム50(計測部の一例)を備えている。該工作機械1は、ワークWに切屑等の異物が付着した状態で機上計測システム50による計測が実行されるのを回避するべく、機上計測の実行前に前処理制御を実行するように構成されている。前処理制御の内容及び機上計測システム50の詳細については後述する。
<<Embodiment 1>>
FIG. 1 is a perspective view showing a machine tool 1 according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the construction of a control system of the machine tool 1. As shown in FIG. The machine tool 1 includes an on-machine measurement system 50 (an example of a measurement unit) capable of measuring various dimensions of the work W after the completion of machining while the work W is set in the machine. The machine tool 1 executes preprocessing control before execution of on-machine measurement in order to prevent the on-machine measurement system 50 from performing measurement with foreign matter such as chips adhering to the workpiece W. It is configured. Details of the preprocessing control and the onboard measurement system 50 will be described later.
 図3は、加工完了後のワークWの一例であり、本例では、ワークWは工作機械1の前側から見て凸型状をなす柱状体からなり、機上計測システム50は、図中に示す6つの寸法A~Fを計測する。機上計測システム50は、後述するレーザ計測ヘッド51を用いて予め定めた計測対象部位までの距離データを取得し、取得した距離データを基に各寸法A~Fを計測(算出)する。ここで、計測対象部位とは、各寸法A~Fを計測する際に位置情報を取得する必要がある部位であって、例えば寸法Bに対応する計測対象部位は、ワークWの幅方向(X軸方向)の両側面であり、寸法Eに対応する計測対象部位は、円孔13の内周面であり、寸法Fに対応する計測対象部位は、ワークWの奥行き方向(Y軸方向)の両側面である。尚、説明は省略するが、他の寸法A、C、Dについても同様の考え方で計測対象部位を決定することができる。 FIG. 3 shows an example of the workpiece W after the completion of machining. In this example, the workpiece W is a columnar body that has a convex shape when viewed from the front side of the machine tool 1, and the on-machine measurement system 50 is shown in the figure. Measure the six dimensions AF shown. The on-machine measurement system 50 uses a laser measurement head 51, which will be described later, to acquire distance data to a predetermined measurement target site, and measures (calculates) dimensions A to F based on the acquired distance data. Here, the measurement target part is a part whose position information needs to be acquired when measuring each dimension A to F. For example, the measurement target part corresponding to the dimension B is the width direction (X The measurement target portion corresponding to the dimension E is the inner peripheral surface of the circular hole 13, and the measurement target portion corresponding to the dimension F is the depth direction (Y-axis direction) of the workpiece W. Both sides. Although the description is omitted, the measurement target portion can be determined for the other dimensions A, C, and D based on the same concept.
 図1に戻って、前記工作機械1は、ベッド2と、ベッド2上に配設されたコラム3と、コラム3に支持され、上下方向(Z軸方向)に移動自在となった主軸頭4と、軸線がZ軸と平行且つ軸線中心に回転自在に主軸頭4によって支持され、工具が装着される主軸5、ベッド2上に水平方向(Y軸方向)に移動自在に配設されたサドル6と、サドル6上にZ軸及びY軸の双方と直交するX軸方向に移動自在に配設され、上面にワークWが載置されるテーブル7とを備えている。前記主軸5は、先端面に開口したテーパ穴を備えており、このテーパ穴内には、工具を固定するためのコレット及びドローバなどが配設され、これらコレット及びドローバのZ軸方向への移動によって工具を着脱可能になっている。 Returning to FIG. 1, the machine tool 1 includes a bed 2, a column 3 arranged on the bed 2, and a spindle head 4 supported by the column 3 and movable in the vertical direction (Z-axis direction). , a spindle 5 supported by a spindle head 4 whose axis is parallel to the Z-axis and rotatable about the axis, a spindle 5 on which a tool is mounted, and a saddle arranged horizontally (in the Y-axis direction) on the bed 2 so as to be movable. 6, and a table 7 which is disposed on the saddle 6 so as to be movable in the X-axis direction orthogonal to both the Z-axis and the Y-axis, and has a work W placed thereon. The main shaft 5 has a tapered hole opening at the tip end face, and a collet and a draw bar for fixing a tool are arranged in the tapered hole. The tool is detachable.
 工作機械1はさらに、図2に示すように、各軸方向の送り動作を行う送り機構部11と、主軸5に装着された工具を新たな工具と交換する工具交換装置10と、前処理制御時に作動するワーク洗浄装置30及び異物検出システム40(異物検出部の一例)と、前記機上計測システム50と、工作機械1の全体動作を制御する制御装置20とを備えている。 As shown in FIG. 2, the machine tool 1 further includes a feed mechanism unit 11 for feeding in each axial direction, a tool changer 10 for exchanging the tool mounted on the spindle 5 with a new tool, and a pretreatment control unit. It includes a workpiece cleaning device 30 and a foreign matter detection system 40 (an example of a foreign matter detection unit) that operate occasionally, the on-machine measurement system 50 , and a control device 20 that controls the overall operation of the machine tool 1 .
 前記送り機構部11は、制御装置20による制御の下、前記主軸5に装着された工具と、ワークWとの相対的な位置関係を変化させる。これにより、ワークWが所望の形状に加工される。また、主軸5には、工具に代えて後述するレーザ計測ヘッド51を装着可能になっている。レーザ計測ヘッド51は、後述するように機上計測システム50の一部であり、テーブル7上にセットされたワークWの計測対象部位との距離を計測可能に構成されている。 The feed mechanism section 11 changes the relative positional relationship between the tool mounted on the spindle 5 and the workpiece W under the control of the control device 20 . Thereby, the workpiece W is processed into a desired shape. A laser measuring head 51, which will be described later, can be attached to the spindle 5 in place of a tool. The laser measurement head 51 is a part of the on-machine measurement system 50 as will be described later, and is configured to be able to measure the distance between the workpiece W set on the table 7 and the part to be measured.
 前記工具交換装置10は、特に図示はしないが、複数の工具が格納される工具マガジンと、工具マガジンに格納された工具と主軸5に装着された工具とを交換する交換機構とを備えており、この交換機構は、まず、主軸5に装着されている工具を引き抜いた後、新たな工具を主軸5に装着する。また、工具マガジンには、工具の他に、前記レーザ計測ヘッド51が格納されており、工具交換装置10は、工具に代えてレーザ計測ヘッド51を主軸5に装着可能に構成されている。 The tool changer 10 has a tool magazine for storing a plurality of tools, and a change mechanism for exchanging the tools stored in the tool magazine with the tools mounted on the spindle 5, although not shown. This exchange mechanism first pulls out the tool attached to the spindle 5 and then attaches a new tool to the spindle 5 . The tool magazine stores the laser measuring head 51 in addition to the tools, and the tool changer 10 is configured so that the laser measuring head 51 can be mounted on the spindle 5 instead of the tools.
 ワーク洗浄装置30は、ワークWの表面に向けてクーラントを吐出することで切屑等の異物を洗浄除去するように構成されている。具体的には、ワーク洗浄装置30は、主軸頭4に取付けられたマニホールドと、マニホールドから分岐してワーク表面に向けてクーラントを供給する配管と、工作機械1の背面側に設けられたクーラントタンクから前記マニホールドにクーラントを導くクーラントポンプ(いずれも図示省略)とを有して構成される。 The work cleaning device 30 is configured to clean and remove foreign matter such as chips by discharging coolant toward the surface of the work W. Specifically, the work cleaning device 30 includes a manifold attached to the spindle head 4 , a pipe branched from the manifold to supply coolant toward the work surface, and a coolant tank provided on the back side of the machine tool 1 . and a coolant pump (both not shown) that guides coolant from the manifold to the manifold.
 異物検出システム40は、テーブル7上にセットされた加工完了後のワークWの画像を撮像可能な一対の撮像カメラ41と、一対の撮像カメラ41による撮像画像を基にワーク表面の計測対象部位に付着した異物を検出する画像処理装置42とを有している。 The foreign matter detection system 40 includes a pair of imaging cameras 41 capable of imaging an image of the workpiece W after the completion of machining set on the table 7, and based on the images captured by the pair of imaging cameras 41, a portion of the workpiece surface to be measured. and an image processing device 42 for detecting adhering foreign matter.
 一対の撮像カメラ41は、図1に示すように、工作機械1の外観を区画するスプラッシュガード12の天井壁に取付けられている。各撮像カメラ41は、例えばCCDカメラやCMOSカメラにより構成されていて、工作機械1の正面側から見ると、主軸頭4の軸線を挟んで左右対称に配置されている。そして、各撮像カメラ41は、それぞれの光軸が主軸頭4の下方を向くように傾斜して配置されている。各撮像カメラ41は、制御装置20より撮像指令を受信すると撮像動作を実行して、ワークWの左側半部及び右側半部の画像をそれぞれ撮像する。そして、各撮像カメラ41は、撮像したワークWの画像データを画像処理装置42(図2参照)に送信する。 A pair of imaging cameras 41 are attached to the ceiling wall of the splash guard 12 that defines the exterior of the machine tool 1, as shown in FIG. Each imaging camera 41 is composed of, for example, a CCD camera or a CMOS camera, and is arranged symmetrically with respect to the axis of the spindle head 4 when viewed from the front side of the machine tool 1 . Each image pickup camera 41 is arranged with an inclination such that the optical axis of each image pickup camera 41 faces downward from the spindle head 4 . Each image pickup camera 41 executes an image pickup operation upon receiving an image pickup command from the control device 20, and picks up images of the left half portion and the right half portion of the work W, respectively. Then, each imaging camera 41 transmits the image data of the imaged work W to the image processing device 42 (see FIG. 2).
 画像処理装置42は、画像データ取得部42aと検出処理部42bとを有している。画像処理装置42は、CPU、ROM及びRAMを有するコンピュータにより構成され、画像データ取得部42a及び検出処理部42bは、コンピュータプログラムによってその機能が実現される
 具体的には、画像データ取得部42aは、各撮像カメラ41により撮像された画像データを各画素の配列位置と輝度値とを対応させたデジタルデータとして取得する。
The image processing device 42 has an image data acquisition section 42a and a detection processing section 42b. The image processing device 42 is configured by a computer having a CPU, ROM, and RAM, and the functions of the image data acquisition unit 42a and the detection processing unit 42b are realized by computer programs. , the image data captured by each imaging camera 41 is obtained as digital data in which the arrangement position of each pixel and the luminance value are associated with each other.
 検出処理部42bは、画像データ取得部42aが取得した各撮像カメラ41の撮像画像データを、基準画像と比較することでワークWの計測対象部位に異物が付着しているか否かを検出する。ここで、基準画像とは、計測対象部位に異物が付着していないワークWの画像であって予め記憶部(図示しない)に記憶されている。 The detection processing unit 42b detects whether or not a foreign object adheres to the measurement target site of the workpiece W by comparing the captured image data of each imaging camera 41 acquired by the image data acquisition unit 42a with the reference image. Here, the reference image is an image of the workpiece W in which foreign matter is not attached to the measurement target site, and is stored in advance in a storage unit (not shown).
 検出処理部42bは、撮像画像と基準画像との差分画像中における計測対象部位に対応する部分に切屑等の異物の画像が存在するか否かをパターンマッチングにより判定する。尚、異物の検出手法は、パターンマッチングに限ったものでななく、例えば、計測対象部位に異物が付着した画像と異物が付着していない画像とをコンピュータに入力して機械学習を行うことで異物検出用の学習モデルを生成し、生成した学習モデルを用いて異物検出を行うようにしてもよい。 The detection processing unit 42b determines by pattern matching whether or not an image of foreign matter such as scraps exists in a portion corresponding to the measurement target site in the difference image between the captured image and the reference image. The foreign matter detection method is not limited to pattern matching. For example, it is possible to perform machine learning by inputting an image in which a foreign matter adheres to a measurement target site and an image in which no foreign matter adheres to a computer. A foreign object detection learning model may be generated, and foreign object detection may be performed using the generated learning model.
 機上計測システム50は、レーザ変位計の原理を用いてワークWの各種寸法を非接触で計測する。具体的には、機上計測システム50は、主軸5に着脱可能に装着されるレーザ計測ヘッド51と、計測データ処理装置52とを有している。レーザ計測ヘッド51は、ヘッド本体に内蔵されたレーザ発振器51a、受光センサ51b及び無線通信部51cを有している。レーザ計測ヘッド51は、工具交換装置10の工具マガジン内に格納されており、ワークWの加工完了後に工具交換装置10により主軸5に装着され、制御装置20からの指令を受けて計測動作を開始する。この計測動作では、先ず、レーザ発振器51aよりワークWの表面に向けてレーザ光を照射し、ワークWの表面により反射されたレーザ光を受光センサ51bにより受光し、受光センサ51bによる受光位置の変化を基にワークWの表面との距離を算出し、算出した距離に係るデータを無線通信部51cを介して計測データ処理装置52に送信する。 The on-machine measurement system 50 measures various dimensions of the workpiece W without contact using the principle of a laser displacement gauge. Specifically, the on-machine measurement system 50 has a laser measurement head 51 detachably attached to the spindle 5 and a measurement data processing device 52 . The laser measurement head 51 has a laser oscillator 51a, a light receiving sensor 51b, and a wireless communication section 51c, which are built in the head body. The laser measuring head 51 is stored in the tool magazine of the tool changer 10, is mounted on the spindle 5 by the tool changer 10 after machining of the work W is completed, and starts measuring operation upon receiving a command from the control device 20. do. In this measurement operation, first, a laser beam is emitted from the laser oscillator 51a toward the surface of the workpiece W, and the laser beam reflected by the surface of the workpiece W is received by the light receiving sensor 51b. is calculated, and data relating to the calculated distance is transmitted to the measurement data processing device 52 via the wireless communication unit 51c.
 計測データ処理装置52は、レーザ計測ヘッド51から送信された距離データを受信して、受信した距離データと、制御装置20から取得した主軸5及びテーブル7のX軸,Y軸及びZ軸方向における相対移動位置データとを基に、計測対象部位の位置を算出し、算出した計測対象部位の位置を基にワークWの各種寸法A~Fを算出する。計測データ処理装置52は、算出したワークWの各種寸法A~Fの情報を制御装置20に送信する。そして、制御装置20は、計測データ処理装置52から受信した寸法情報を、工作機械1の操作パネルに設けられた表示部9に表示させる。 The measurement data processing device 52 receives the distance data transmitted from the laser measurement head 51, and the received distance data and the X-axis, Y-axis and Z-axis directions of the main shaft 5 and the table 7 obtained from the control device 20. Based on the relative movement position data, the position of the measurement target portion is calculated, and various dimensions A to F of the work W are calculated based on the calculated position of the measurement target portion. The measurement data processing device 52 transmits information on the calculated various dimensions A to F of the workpiece W to the control device 20 . Then, the control device 20 causes the display section 9 provided on the operation panel of the machine tool 1 to display the dimension information received from the measurement data processing device 52 .
 制御装置20は、加工制御部20a、計測制御部20b、及び前処理制御部20cを有している。制御装置20は、CPU、ROM及びRAMを有するコンピュータにより構成され、加工制御部20a、計測制御部20b、及び前処理制御部20cは、コンピュータプログラムによってその機能が実現される。 The control device 20 has a processing control section 20a, a measurement control section 20b, and a pretreatment control section 20c. The control device 20 is composed of a computer having a CPU, a ROM and a RAM, and the functions of the processing control section 20a, the measurement control section 20b, and the preprocessing control section 20c are implemented by computer programs.
 具体的には、加工制御部20aは、NCプログラムに基づいて、主軸5及び送り機構部11等からなる加工機構部8を制御することでワークWを所望の形状に加工する制御を実行する。 Specifically, the processing control unit 20a executes control for processing the workpiece W into a desired shape by controlling the processing mechanism unit 8 including the spindle 5, the feed mechanism unit 11, etc., based on the NC program.
 計測制御部20bは、加工機構部8によるワークWの加工完了後に計測制御を実行する。この計測制御では、送り機構部11によってレーザ計測ヘッド51を所定の計測位置に順次移動させつつ、該レーザ計測ヘッド51に前記計測動作を実行させる。 The measurement control unit 20b executes measurement control after the processing of the workpiece W by the processing mechanism unit 8 is completed. In this measurement control, the laser measurement head 51 is caused to perform the measurement operation while sequentially moving the laser measurement head 51 to a predetermined measurement position by the feed mechanism section 11 .
 前処理制御部20cは、加工機構部8によるワークWの加工完了後、計測制御部20bによる計測制御が開始する前に、ワーク洗浄装置30及び異物検出システム40用いた前処理制御を実行する。 The preprocessing control unit 20c executes preprocessing control using the work cleaning device 30 and the foreign matter detection system 40 after the processing of the work W by the processing mechanism unit 8 is completed and before measurement control by the measurement control unit 20b is started.
 図4を参照しながら、前処理制御部20cにより実行される前処理制御の詳細を説明する。前処理制御部20cは、先ず、加工制御部20aによるNCプログラムの実行状況を監視して、加工機構部8によるワークWの加工が完了したか否かを判定する(ステップSA1)。前処理制御部20cは、加工機構部8によるワークWの加工が完了していないと判定した場合には(ステップSA1でNO)、この判定処理を再度実行する一方、加工機構部8によるワークWの加工が完了したと判定した場合には(ステップSA1でYES)、ワーク洗浄装置30にワークWの洗浄動作を実行させる(ステップSA2)。 Details of the preprocessing control executed by the preprocessing control unit 20c will be described with reference to FIG. The preprocessing control unit 20c first monitors the execution status of the NC program by the machining control unit 20a, and determines whether or not the machining of the workpiece W by the machining mechanism unit 8 is completed (step SA1). When the preprocessing control unit 20c determines that the processing of the work W by the processing mechanism unit 8 has not been completed (NO in step SA1), the preprocessing control unit 20c executes this determination process again. is completed (YES in step SA1), the work cleaning device 30 is caused to perform the cleaning operation of the work W (step SA2).
 そして、ワーク洗浄装置30によるワークWの洗浄動作が終了した後、前処理制御部20cは、異物検出システム40に異物検出処理を実行させるべく、各撮像カメラ41に撮像指令を出力する(ステップSA3)。各撮像カメラ41は、前処理制御部20cより撮像指令を受信すると、ワークWの撮像処理を実行してその撮像画像データを画像処理装置42に送信する。画像処理装置42では、受信した各撮像カメラ41からの撮像画像データを基に、検出処理部42bがワークWの計測対象部位に異物が付着しているか否かを検出する。この検出結果は、画像処理装置42から制御装置20の前処理制御部20cへと送信される。前処理制御部20cでは、画像処理装置42より受信した検出結果を基に、ワークWの複数の計測対象部位のうち少なくとも1つに異物の付着が有るか否かを判定する(ステップSA4)。 After the workpiece cleaning device 30 finishes cleaning the workpiece W, the preprocessing control unit 20c outputs an imaging command to each imaging camera 41 to cause the foreign matter detection system 40 to perform the foreign matter detection process (step SA3). ). Each imaging camera 41 receives an imaging command from the preprocessing control unit 20c, executes imaging processing of the workpiece W, and transmits the captured image data to the image processing device . In the image processing device 42, the detection processing unit 42b detects whether or not a foreign object adheres to the measurement target portion of the work W based on the image data received from each imaging camera 41. FIG. This detection result is transmitted from the image processing device 42 to the preprocessing control section 20 c of the control device 20 . Based on the detection results received from the image processing device 42, the preprocessing control unit 20c determines whether or not foreign matter adheres to at least one of the plurality of measurement target portions of the workpiece W (step SA4).
 そして、前処理制御部20cでは、この判定処理の結果、ワークWの全ての計測対象部位について異物の付着無しと判定した場合には(ステップSA4でNO)、計測制御部20bに対して計測開始指令を出力し、計測制御部20bによる制御の下、レーザ計測ヘッド51に計測動作を実行させる(ステップSA6)。この計測動作の開始後はステップSA1に戻る。 Then, when the preprocessing control unit 20c determines that no foreign matter adheres to all measurement target portions of the workpiece W as a result of this determination processing (NO in step SA4), the measurement control unit 20b starts measurement. A command is output to cause the laser measuring head 51 to perform a measuring operation under the control of the measurement control unit 20b (step SA6). After starting the measurement operation, the process returns to step SA1.
 一方、前処理制御部20cは、前記ステップSA4の判定処理で、少なくとも1つの計測対象部位に異物の付着が有ると判定した場合には(ステップSA4でYES)、現時点までに実行された洗浄動作の回数が所定回数未満であるか否かを判定し、所定回数未満であると判定した場合には(ステップSA5でYES)、ステップSA2に戻ってワーク洗浄装置30にワークWの洗浄動作を再度実行させる。この洗浄動作は、ステップSA4にてワークWの全ての計測対象部位について異物の付着無しと判定されるまで繰り返し実行されるが、異物の付着無しとの判定結果が得られずに洗浄動作の回数が所定回数に達した場合には(ステップSA5でNO)、前処理制御部20cは、ワーク表面に異物が付着している旨の情報(以下、異物付着情報という)を表示部9に表示させて(ステップSA7)、しかる後にステップSA1に戻る。 On the other hand, if the preprocessing control unit 20c determines in the determination process of step SA4 that there is a foreign substance attached to at least one measurement target site (YES in step SA4), is less than the predetermined number of times, and if it is determined to be less than the predetermined number of times (YES in step SA5), the process returns to step SA2 and causes the workpiece cleaning device 30 to perform the cleaning operation of the workpiece W again. let it run. This cleaning operation is repeatedly performed until it is determined that no foreign matter adheres to all measurement target portions of the workpiece W in step SA4. has reached a predetermined number of times (NO in step SA5), the pretreatment control unit 20c causes the display unit 9 to display information indicating that foreign matter is adhered to the work surface (hereinafter referred to as foreign matter adhesion information). (step SA7), and then returns to step SA1.
 [実施形態1の作用効果]
 以上説明したように、本実施形態によれば、制御装置20は、加工機構部8によるワークWの加工が完了すると(ステップSA1でYES)、ワーク洗浄装置30に洗浄動作(異物除去動作に相当)を実行させるとともに(ステップSA2)、当該洗浄動作の終了後のワークWについて異物検出システム40に異物検出処理を実行させて(ステップSA3)、その処理結果を基に、前記ワークWの計測対象部位に異物が付着しているか否かを判定する判定処理を実行し(ステップSA4)、該判定処理の結果、異物の付着が無いと判定した場合には(ステップSA4でNO)、レーザ計測ヘッド51に計測動作を実行させる一方(ステップSA6)、異物の付着が有ると判定した場合には(ステップSA4でYES)、レーザ計測ヘッド51による機上計測を非実行とするとともに、表示部9に異物付着情報を表示することでワークWの計測対象部位に異物が付着している旨を報知するように構成されている(ステップSA7)。
[Effects of Embodiment 1]
As described above, according to the present embodiment, when the machining of the workpiece W by the machining mechanism unit 8 is completed (YES in step SA1), the control device 20 causes the workpiece cleaning device 30 to perform a cleaning operation (corresponding to a foreign matter removing operation). ) is performed (step SA2), and the foreign matter detection system 40 is caused to perform foreign matter detection processing for the work W after the cleaning operation is finished (step SA3), and based on the processing result, the work W to be measured is determined. Determination processing is executed to determine whether or not foreign matter is adhered to the site (step SA4), and if it is determined that no foreign matter is adhered as a result of the determination processing (NO in step SA4), the laser measurement head 51 is caused to perform the measurement operation (step SA6), and if it is determined that there is a foreign object attached (YES in step SA4), the on-machine measurement by the laser measurement head 51 is not executed, and the display unit 9 By displaying foreign matter adhesion information, it is configured to notify that foreign matter has adhered to the measurement target portion of the workpiece W (step SA7).
 この構成によれば、加工完了後のワークWの計測対象部位に異物が付着していることが異物検出システム40により検出された場合には、機上計測システム50による計測処理が開始する前に、ワーク洗浄装置30よる洗浄動作が実行される。よって、ワークWの計測対象部位に異物が付着した状態でレーザ計測ヘッド51による機上計測が実行されるのを防止することができる。延いては、レーザ計測ヘッド51より照射されるレーザ光が異物に反射する等して計測値に誤りが生じるのを防止することがきる。また、作業者は、表示部9に異物付着情報が表示された場合には、この表示を見て、ワークWの計測対象部位に異物が付着していることを容易に認識することができる。そして、作業者は、ワークWを機外に移動させて手動計測を行うなどの対策を講じることができる。 According to this configuration, when the foreign matter detection system 40 detects that a foreign matter has adhered to the measurement target portion of the workpiece W after the completion of machining, before the measurement processing by the on-machine measurement system 50 starts, , the cleaning operation by the workpiece cleaning device 30 is executed. Therefore, it is possible to prevent the on-machine measurement by the laser measurement head 51 from being performed in a state where a foreign object adheres to the measurement target portion of the workpiece W. In addition, it is possible to prevent the laser beam emitted from the laser measuring head 51 from being erroneously measured due to the reflection of a foreign object or the like. Further, when the foreign matter adhesion information is displayed on the display unit 9, the operator can easily recognize that the foreign matter has adhered to the measurement target portion of the workpiece W by looking at this display. Then, the operator can take measures such as moving the workpiece W out of the machine and performing manual measurement.
 また、本実施形態では、制御装置20は、異物の付着の有無に係る判定処理の結果、ワークWの計測対象部位に異物の付着が有ると判定した場合には(ステップSA4でYES)、ワーク洗浄装置30に洗浄動作を実行させた後に当該判定処理を再度実行する制御処理(ステップSA2~S4)を、該判定処理にて異物付着が無いと判定されるまで繰り返し実行し、該判定処理にて異物付着が無いとの判定結果が得られた場合には(ステップSA4でNO)、レーザ計測ヘッド51に計測動作を実行させる一方(ステップSA6)、前記制御処理を所定回数繰り返しても異物付着が無いとの判定結果が得られない場合に(ステップSA5でNO)、表示部9によって異物付着情報を報知するように構成されている。 In addition, in the present embodiment, when the control device 20 determines that there is adhesion of foreign matter to the measurement target portion of the workpiece W as a result of the judgment processing regarding the presence or absence of adhesion of foreign matter (YES in step SA4), the workpiece The control process (steps SA2 to S4) for re-executing the determination process after causing the cleaning apparatus 30 to perform the cleaning operation is repeatedly executed until the determination process determines that no foreign matter adheres. When the determination result that there is no foreign matter adhered is obtained (NO in step SA4), the laser measurement head 51 is caused to perform the measurement operation (step SA6), while the foreign matter adheres even if the control process is repeated a predetermined number of times. When the determination result that there is no foreign matter is not obtained (NO in step SA5), the display unit 9 is configured to notify foreign matter adhesion information.
 この構成によれば、ワークWの計測対象部位に付着した異物をワーク洗浄装置30による一回の洗浄動作では除去できない場合でも、洗浄動作を繰り返すことで簡単に除去することができる。また、仮に、洗浄動作を所定回数繰り返してもこれらの異物を除去できない場合には、さらなる洗浄動作は実行されず表示部9に異物付着情報が表示される。よって、異物除去動作が所定回数を超えて延々と繰り返されることもない。 According to this configuration, even if the foreign matter adhering to the measurement target portion of the workpiece W cannot be removed by one cleaning operation by the workpiece cleaning device 30, it can be easily removed by repeating the cleaning operation. Further, if these foreign substances cannot be removed even after repeating the cleaning operation a predetermined number of times, the foreign substance adhesion information is displayed on the display unit 9 without further cleaning operation being performed. Therefore, the foreign matter removing operation is not repeated endlessly exceeding a predetermined number of times.
 《実施形態2》
 図5は、実施形態2を示している。この実施形態は、前処理制御部20cにより実行される前処理制御の内容が実施形態1とは異なっている。尚、以下の説明において、ステップSB1~SB6の処理は、実施形態1のステップSA1~SA6の処理と同様であるためその詳細な説明を省略し、主にステップSB7~SB9の処理内容を説明する。
<<Embodiment 2>>
FIG. 5 shows a second embodiment. This embodiment differs from the first embodiment in the content of the preprocessing control executed by the preprocessing control unit 20c. In the following description, the processing of steps SB1 to SB6 is the same as the processing of steps SA1 to SA6 of the first embodiment, so detailed description thereof will be omitted, and the processing contents of steps SB7 to SB9 will be mainly described. .
 すなわち、ワーク洗浄装置30による洗浄動作の回数が所定回数に達した場合に進むステップSB7では、ワークWの全ての計測対象部位に異物が付着しているか否かを判定し、この判定がYESである場合にはステップSB9に進む一方、この判定がNOである場合にはステップSB8に進む。 That is, in step SB7, which is advanced when the number of cleaning operations by the work cleaning device 30 reaches a predetermined number, it is determined whether or not foreign matter adheres to all measurement target portions of the work W. If this determination is YES, If there is, the process proceeds to step SB9, while if this determination is NO, the process proceeds to step SB8.
 ステップSB8では、異物付着が無いと検知された計測対象部位に対応する寸法A~Fについてレーザ計測ヘッド51による機上計測を実行する。 At step SB8, on-machine measurement is performed by the laser measurement head 51 for the dimensions A to F corresponding to the measurement target portion detected to have no foreign matter adhered.
 ステップSB9では、ワークWの形状を模擬した画像に、機上計測システム50により計測される寸法A~Fの位置を表示した寸法画像Iと、各寸法A~Fの計測結果をまとめた表データT(図6参照)とを操作パネルの表示部9に表示させる。 In step SB9, a dimension image I displaying the positions of dimensions A to F measured by the on-machine measurement system 50 on an image simulating the shape of the workpiece W, and tabular data summarizing the measurement results of each dimension A to F. T (see FIG. 6) is displayed on the display section 9 of the operation panel.
 図6に示すように、寸法画像Iでは、ワークWの正面図と側面図とを用いて、各寸法A~FがワークWのどの部分に対応しているかを符号入り寸法線により図示している。尚、寸法画像Iは、例えばワークWの形状を模擬した3次元のCADモデルに寸法を表示して構成されていてもよい。 As shown in FIG. 6, in the dimension image I, a front view and a side view of the work W are used to indicate to which part of the work W each dimension A to F corresponds by a signed dimension line. there is The dimension image I may be configured by displaying dimensions on a three-dimensional CAD model simulating the shape of the workpiece W, for example.
 表データTは、表示部9の画面左右方向に並ぶ3つの列により構成されており、画面左から1列目には計測対象の寸法A~Fが文字表示され、2列目には機上計測システム50により実際に計測した寸法A~Fの計測結果が表示され、3列目には、各寸法A~Fに対応する計測対象部位の異物付着状況が表示されている。図6の例では、寸法Eについては、3列目の異物付着状況の欄に「異物付着有り」と表示されており、作業者はこの表示を見て、寸法Eに対応する計測対象部位(本例ではワークWの円孔13の内周面。図4参照)に異物が付着していると特定することができる。また、寸法Eの2列目の計測結果には「未計測」と表示されており、作業者はこの表示を見て、寸法Eについは異物が付着しているために機上計測システム50による計測が実行されていないことを認識することができる。尚、寸法Eを除く他の寸法については、3列目の異物付着状況の欄に異物付着が無いことを示す「無し」との表示がされており、2列目の計測結果の欄には機上計測システム50による計測値が表示されている。したがって、作業者は、これらの表示を見て、寸法E以外の他の寸法については、機上計測システム50による計測が正常に実行されたと認識することができる。 The table data T is composed of three columns aligned in the horizontal direction of the screen of the display unit 9. The first column from the left of the screen displays the dimensions A to F of the object to be measured. Measurement results of dimensions A to F actually measured by the measurement system 50 are displayed, and the third column displays the foreign matter adhesion status of the measurement target portion corresponding to each dimension A to F. In the example of FIG. 6, for the dimension E, the column for foreign matter adhesion status in the third column displays "foreign matter adhered". In this example, it can be determined that foreign matter is attached to the inner peripheral surface of the circular hole 13 of the workpiece W (see FIG. 4). In addition, the measurement result in the second column of the dimension E is displayed as "unmeasured". It can be recognized that the measurement is not performed. For the dimensions other than dimension E, the column for foreign matter adhesion status in the third column shows "none" indicating that there is no foreign matter adhered, and the measurement result column in the second column shows "none". Measured values obtained by the onboard measurement system 50 are displayed. Therefore, the operator can see these displays and recognize that the dimensions other than the dimension E have been correctly measured by the on-machine measurement system 50 .
 [実施形態2の作用効果]
 以上説明したように、本実施形態では、制御装置20は、機上計測システム50により計測される寸法A~Fに対応する複数の計測対象部位のうち少なくとも一つに異物が付着しているか否かを判定し、少なくとも一つに異物が付着していると判定した場合には、表示部9に、各寸法A~Fごとに異物付着状況を示した表データT(異物が付着している計測対象部位を特定可能な情報の一例)を表示するように構成されている。
[Effects of Embodiment 2]
As described above, in the present embodiment, the control device 20 determines whether a foreign object is attached to at least one of the plurality of measurement target portions corresponding to the dimensions A to F measured by the on-machine measurement system 50. When it is determined that at least one of the foreign matter is attached, the display unit 9 displays table data T (foreign matter is attached) showing the foreign matter adhesion state for each dimension A to F. An example of information that can specify the measurement target site) is displayed.
 これにより、作業者は、表データTを見て異物が付着している計測対象部位を容易に特定することができる。よって、作業者は、ワークWに付着した異物を迅速に除去して手動計測を円滑に行うことができる。 As a result, the operator can easily identify the measurement target site to which the foreign matter is attached by looking at the table data T. Therefore, the operator can quickly remove the foreign matter adhering to the workpiece W and smoothly perform manual measurement.
 本実施形態では、制御装置20は、前記表データTを表示部9に表示する際に、ワークWの正面図及び側面図(ワークWの形状を模擬した画像の一例)に、機上計測システム50により計測される寸法A~Fの位置を示した寸法画像Iを併せて表示するように構成されている。 In this embodiment, when the table data T is displayed on the display unit 9, the control device 20 displays the on-machine measurement system A dimension image I showing the positions of dimensions A to F measured by 50 is also displayed.
 これによれば、作業者は、前記表データTに加えて寸法画像Iを参照することで、異物が付着している計測対象部位の位置を容易に認識することができる。 According to this, by referring to the dimension image I in addition to the table data T, the operator can easily recognize the position of the measurement target site to which the foreign matter is attached.
 また、本実施形態では、制御装置20は、異物の付着が無いと判定した計測対象部位に対応する寸法A~Fについては、機上計測システム50に機上計測を実行させるように構成されている(ステップSB8)。 Further, in the present embodiment, the control device 20 is configured to cause the on-machine measurement system 50 to perform on-machine measurement for the dimensions A to F corresponding to the measurement target portion determined to have no foreign matter attached. (Step SB8).
 これによれば、異物付着が無い計測対象部位に対応する寸法A~Fについては機上計測システム50による機上計測が実行される。したがって、機上計測システム50による全ての寸法A~Fの計測が中止されるのを防止し、計測効率を可及的に向上させることができる。 According to this, the on-machine measurement is performed by the on-machine measurement system 50 for the dimensions A to F corresponding to the measurement target portion where no foreign matter is adhered. Therefore, it is possible to prevent the measurement of all the dimensions A to F by the on-machine measurement system 50 from being stopped, and improve the measurement efficiency as much as possible.
 《他の実施形態》
 前記各実施形態では、ワーク洗浄装置30による洗浄動作と異物検出システム40による異物検出処理とを、ワークWの計測対象部位に異物の付着が無いと判定されるまで所定回数繰り返すようにしているが、これに限ったものではなく、ワーク洗浄装置30による洗浄動作と異物検出システム40による異物検出処理とをそれぞれ一回だけ実行する(つまりステップSA5及びSB5の処理を廃止する)ようにしてもよい。
<<Other embodiments>>
In each of the above embodiments, the cleaning operation by the workpiece cleaning device 30 and the foreign matter detection process by the foreign matter detection system 40 are repeated a predetermined number of times until it is determined that there is no foreign matter attached to the measurement target portion of the workpiece W. However, the cleaning operation by the workpiece cleaning device 30 and the foreign matter detection processing by the foreign matter detection system 40 may be executed only once (that is, steps SA5 and SB5 may be eliminated). .
 前記各実施形態では、機上計測システム50により計測されるワークWの寸法A~Fは、ワークWの2つの面の間の距離又は円孔13の直径とされているが、これに限ったものではなく、例えば、ワークWの表面のある点の座標位置、ワークWの表面粗さ、ワークWの表面の傾きや平面度などであってもよい。 In each of the above-described embodiments, the dimensions A to F of the workpiece W measured by the on-machine measurement system 50 are the distance between the two surfaces of the workpiece W or the diameter of the circular hole 13. However, the dimensions are limited to this. For example, it may be the coordinate position of a point on the surface of the work W, the surface roughness of the work W, the inclination or flatness of the surface of the work W, and the like.
 前記各実施形態では、機上計測システム50は、レーザ変位計の原理を利用した計測システムとされているが、これに限ったものではなく、例えばCCDカメラを用いた画像処理によって計測を行うものであってもよい。この他にも、機上計測システム50として、例えば、タッチプローブやスキャニングプローブを使用した接触式の計測システムを採用するようにしてもよい。 In each of the above-described embodiments, the on-machine measurement system 50 is a measurement system that uses the principle of a laser displacement meter, but is not limited to this, for example, a system that performs measurement by image processing using a CCD camera. may be Alternatively, as the on-machine measurement system 50, for example, a contact-type measurement system using a touch probe or a scanning probe may be employed.
 前記各実施形態では、異物除去部の一例として、ワークWの表面にクーラントを吐出することで異物を洗浄除去するワーク洗浄装置30を挙げて説明したが、これに限ったものではなく、例えばワークWの表面にエアーを吹き付けることで異物を除去する装置であってもよいし、エアーに限らず、磁力等を利用して異物を除去する装置であってもよい。また、例えば、主軸5を回転させつつ、主軸5に装着された工具を送り機構部11によってワークWの表面に沿って移動させるエアカット動作によって異物を除去するようにしてもよい。この場合、主軸5及び送り機構部11と、これらを駆動制御する制御装置20とが異物除去部として機能する。 In each of the above-described embodiments, as an example of the foreign matter removing unit, the work cleaning device 30 that cleans and removes foreign matter by ejecting coolant onto the surface of the work W has been described. It may be a device that removes foreign matter by blowing air onto the surface of W, or a device that removes foreign matter using not only air but also magnetic force or the like. Further, for example, foreign matter may be removed by an air cut operation in which a tool attached to the main shaft 5 is moved along the surface of the work W by the feed mechanism 11 while the main shaft 5 is being rotated. In this case, the spindle 5, the feed mechanism section 11, and the control device 20 that drives and controls them function as a foreign matter removing section.
 前記各実施形態では、異物付着情報を報知する報知部は、操作パネルに設けられた表示部9により構成されているが、これに限ったものではなく、例えば、スピーカ等を用いて音声により異物付着情報を報知するようにしてもよい。 In each of the above-described embodiments, the notification unit for notifying foreign matter adhesion information is configured by the display unit 9 provided on the operation panel. Adhesion information may be notified.
 前記各実施形態では、3軸制御の工作機械1でワークWを計測したが、ワークWの計測を行う工作機械は、何ら限定されるものではなく、どのような工作機械であっても良い。 In each of the above embodiments, the work W was measured by the three-axis control machine tool 1, but the machine tool that measures the work W is not limited at all, and any machine tool may be used.
 前記各実施形態では、計測データ処理装置52は、工作機械1の制御装置20とは別体で構成されているが、これに限ったものではなく、計測データ処理装置52の機能を工作機械1の制御装置20に設けて、計測データ処理装置52と制御装置20とを一体的に構成するようにしてもよい。 In each of the above-described embodiments, the measurement data processing device 52 is configured separately from the control device 20 of the machine tool 1, but is not limited to this. may be provided in the control device 20 so that the measurement data processing device 52 and the control device 20 are integrated.
 前記各実施形態では、画像処理装置42は、工作機械1の制御装置20とは別体で構成されているが、これに限ったものではなく、画像処理装置42の機能を工作機械1の制御装置20に設けて、画像処理装置42と制御装置20とを一体的に構成するようにしてもよい。また、撮像カメラ41は固定される物に限らず、自動工具交換機構を用いて機内に搬送、設置されるように構成されていてもよい。 In each of the above-described embodiments, the image processing device 42 is configured separately from the control device 20 of the machine tool 1 , but the present invention is not limited to this. It may be provided in the device 20 so that the image processing device 42 and the control device 20 are configured integrally. Further, the imaging camera 41 is not limited to a fixed object, and may be configured to be transported and installed inside the machine using an automatic tool changer.
 尚、上述した実施形態の説明は、すべての点で例示であって、制限的なものではない。当業者にとって変形および変更が適宜可能である。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲には、特許請求の範囲内と均等の範囲内での実施形態からの変更が含まれる It should be noted that the above description of the embodiment is illustrative in all respects and is not restrictive. Modifications and modifications are possible for those skilled in the art. The scope of the invention is indicated by the claims rather than the above-described embodiments. Furthermore, the scope of the present invention includes modifications from the embodiments within the scope of claims and equivalents.
1   工作機械
8   加工機構部
9   表示部(報知部)
20  制御装置(制御部)
30  ワーク洗浄装置(異物除去部)
40  異物検出システム(異物検出部)
50  機上計測システム(計測部)
A~F 寸法
I   寸法画像(異物付着情報、画像情報)
T   表データ(異物付着情報、画像情報)
W   ワーク
1 machine tool 8 processing mechanism unit 9 display unit (notification unit)
20 control device (control unit)
30 Work cleaning device (foreign matter removal unit)
40 foreign matter detection system (foreign matter detection unit)
50 Onboard measurement system (measurement section)
A to F Dimension I Dimensional image (foreign matter adhesion information, image information)
T table data (foreign matter adhesion information, image information)
W Work

Claims (4)

  1.  ワークを加工する加工機構部と、該加工機構部による加工が完了したワークの機上計測を行う計測部とを備えた工作機械であって、
     加工完了後のワークの計測対象部位に付着した異物を検出可能な異物検出部と、
     加工完了後のワークの計測対象部位に付着した異物を除去する異物除去動作を実行可能な異物除去部と、
     前記ワークの計測対象部位に異物が付着している旨を含む異物付着情報を報知可能な報知部と、
     前記計測部、前記異物除去部及び前記報知部の作動制御を行う制御部とを備え、
     前記制御部は、前記加工機構部により前記ワークの加工が完了すると、前記異物除去部に前記異物除去動作を実行させるとともに、当該異物除去動作の終了後のワークについて前記異物検出部に異物検出処理を実行させて、その処理結果を基に、前記ワークの計測対象部位に異物が付着しているか否かを判定する判定処理を実行し、該判定処理の結果、異物の付着が無いと判定した場合には、前記計測部に前記機上計測を実行させる一方、異物の付着が有ると判定した場合には、前記計測部による機上計測を非実行とするとともに、前記報知部に前記異物付着情報を報知させるように構成され、
     前記計測対象部位の数は複数であり、
     前記異物検出部は、複数の前記計測対象部位のそれぞれに付着した異物を検出可能に構成され、
     前記制御部は、複数の前記計測対象部位のそれぞれについて前記判定処理を実行し、当該判定処理の結果を基に、少なくとも1つの計測対象部位に異物が付着していると判定した場合には、前記異物付着情報として、前記異物が付着している旨に加えて、当該異物が付着している計測対象部位を特定可能な情報を含めて、前記報知部に当該異物付着情報を報知させるように構成され、
     前記報知部は、前記異物付着情報を表示する表示部からなり、
     前記異物付着情報は、前記ワークの形状を模擬した画像に前記計測部により計測されるワークの寸法の位置を表示し且つ表示した寸法に対応する計測対象部位に異物の付着が有るか否かを示した画像情報であることを特徴とする工作機械。
    A machine tool comprising a machining mechanism section for machining a workpiece and a measurement section for performing on-machine measurement of the workpiece that has been machined by the machining mechanism section,
    a foreign matter detection unit capable of detecting foreign matter adhering to a measurement target portion of the workpiece after the completion of machining;
    a foreign matter removing unit capable of executing a foreign matter removing operation for removing foreign matter adhering to a measurement target portion of the workpiece after the completion of machining;
    a notification unit capable of reporting foreign matter adhesion information including the fact that a foreign matter is adhered to a measurement target portion of the workpiece;
    A control unit that controls the operation of the measurement unit, the foreign matter removal unit, and the notification unit,
    When the processing of the workpiece by the machining mechanism is completed, the control unit causes the foreign matter removing unit to perform the foreign matter removing operation, and causes the foreign matter detecting unit to perform foreign matter detection processing on the work after the foreign matter removing operation is completed. is executed, and based on the processing result, a determination process is performed to determine whether or not a foreign substance adheres to the measurement target portion of the work, and as a result of the determination process, it is determined that no foreign substance adheres. In this case, the measurement unit is caused to perform the on-machine measurement, and when it is determined that a foreign object is attached, the on-machine measurement by the measurement unit is not performed, and the notification unit is notified that the foreign object is attached. configured to inform information,
    The number of measurement target sites is plural,
    The foreign matter detection unit is configured to be capable of detecting foreign matter adhering to each of the plurality of measurement target portions,
    The control unit executes the determination process for each of the plurality of measurement target parts, and if it is determined that a foreign object is attached to at least one measurement target part based on the result of the determination process, As the foreign matter adhesion information, in addition to the fact that the foreign matter is adhered, information that can specify the measurement target site to which the foreign matter is adhered is included, and the notification unit is made to notify the foreign matter adhesion information. configured,
    The notification unit includes a display unit that displays the foreign matter adhesion information,
    The foreign matter adhesion information is obtained by displaying the positions of the dimensions of the workpiece measured by the measuring unit on an image simulating the shape of the workpiece, and indicating whether or not there is adhesion of foreign matter to the measurement target portion corresponding to the displayed dimensions. A machine tool characterized by being image information shown.
  2.  ワークを加工する加工機構部と、該加工機構部による加工が完了したワークの機上計測を行う計測部とを備えた工作機械であって、
     加工完了後のワークの計測対象部位に付着した異物を検出可能な異物検出部と、
     加工完了後のワークの計測対象部位に付着した異物を除去する異物除去動作を実行可能な異物除去部と、
     前記ワークの計測対象部位に異物が付着している旨を含む異物付着情報を報知可能な報知部と、
     前記計測部、前記異物除去部及び前記報知部の作動制御を行う制御部とを備え、
     前記制御部は、前記加工機構部により前記ワークの加工が完了すると、前記異物除去部に前記異物除去動作を実行させるとともに、当該異物除去動作の終了後のワークについて前記異物検出部に異物検出処理を実行させて、その処理結果を基に、前記ワークの計測対象部位に異物が付着しているか否かを判定する判定処理を実行し、該判定処理の結果、異物の付着が無いと判定した場合には、前記計測部に前記機上計測を実行させる一方、異物の付着が有ると判定した場合には、前記計測部による機上計測を非実行とするとともに、前記報知部に前記異物付着情報を報知させるように構成され、
     前記計測対象部位の数は複数であり、
     前記異物検出部は、複数の前記計測対象部位のそれぞれに付着した異物を検出可能に構成され、
     前記制御部は、複数の前記計測対象部位のそれぞれについて前記判定処理を実行し、当該判定処理の結果を基に、少なくとも1つの計測対象部位に異物が付着していると判定した場合には、前記異物付着情報として、前記異物が付着している旨に加えて、当該異物が付着している計測対象部位を特定可能な情報を含めて、前記報知部に当該異物付着情報を報知させるように構成され、
     前記制御部は、前記判定処理の結果、少なくとも1つの計測対象部位に異物が付着していると判定した場合であっても、異物の付着が無いと判定した計測対象部位が存在する場合には、当該計測対象部位に対応する寸法の機上計測を前記計測部に実行させるとともに、その計測結果を表示部に表示させるように構成されていることを特徴とする工作機械。
    A machine tool comprising a machining mechanism section for machining a workpiece and a measurement section for performing on-machine measurement of the workpiece that has been machined by the machining mechanism section,
    a foreign matter detection unit capable of detecting foreign matter adhering to the measurement target portion of the workpiece after the completion of machining;
    a foreign matter removing unit capable of executing a foreign matter removing operation for removing foreign matter adhering to a measurement target portion of the workpiece after the completion of machining;
    a notification unit capable of reporting foreign matter adhesion information including the fact that a foreign matter is adhered to a measurement target portion of the workpiece;
    A control unit that controls the operation of the measurement unit, the foreign matter removal unit, and the notification unit,
    When the processing of the workpiece by the machining mechanism is completed, the control unit causes the foreign matter removing unit to perform the foreign matter removing operation, and causes the foreign matter detecting unit to perform foreign matter detection processing on the work after the foreign matter removing operation is completed. is executed, and based on the processing result, a determination process is performed to determine whether or not a foreign substance adheres to the measurement target portion of the work, and as a result of the determination process, it is determined that no foreign substance adheres. In this case, the measurement unit is caused to perform the on-machine measurement, and when it is determined that a foreign object is attached, the on-machine measurement by the measurement unit is not performed, and the notification unit is notified that the foreign object is attached. configured to inform information,
    The number of measurement target sites is plural,
    The foreign matter detection unit is configured to be capable of detecting foreign matter adhering to each of the plurality of measurement target portions,
    The control unit executes the determination process for each of the plurality of measurement target parts, and if it is determined that a foreign object is attached to at least one measurement target part based on the result of the determination process, The foreign matter adhesion information may include, in addition to the fact that the foreign matter is adhered, information capable of specifying a measurement target site to which the foreign matter is adhered, and cause the notification unit to notify the foreign matter adhesion information. configured,
    Even if it is determined that a foreign object is adhered to at least one measurement target region as a result of the determination process, the control unit may determine that there is no foreign substance adhered to the measurement target region. 2. A machine tool characterized in that it is configured to cause the measurement section to perform on-machine measurement of dimensions corresponding to the measurement target portion, and to display the measurement result on a display section.
  3.  前記制御部は、前記判定処理の結果、前記複数の計測対象部位の少なくとも1つに異物の付着が有ると判定した場合には、前記異物除去部に前記異物除去動作を実行させた後に当該判定処理を再度実行する制御処理を、該判定処理にて全ての計測対象部位に異物付着が無いと判定されるまで繰り返し実行し、該判定処理にて全ての計測対象部位に異物付着が無いとの判定結果が得られた場合には前記計測部に機上計測を実行させる一方、前記制御処理を所定回数繰り返しても全ての計測対象部位に異物付着が無いとの判定結果が得られない場合には、前記報知部に前記異物付着情報を報知させるように構成されていることを特徴とする請求項1記載の工作機械。 When it is determined that a foreign substance is attached to at least one of the plurality of measurement target regions as a result of the determination process, the control unit causes the foreign substance removal unit to perform the foreign substance removal operation, and then performs the determination. The control process for re-executing the process is repeatedly executed until it is determined in the determination process that there is no foreign matter adhered to all the measurement target sites, and the determination process determines that there is no foreign matter adhered to all the measurement target sites. When the determination result is obtained, the measurement unit is caused to perform on-machine measurement. 2. The machine tool according to claim 1, wherein the notification unit is configured to notify the foreign matter adhesion information.
  4.  前記制御部は、前記判定処理の結果、前記複数の計測対象部位の少なくとも1つに異物の付着が有ると判定した場合には、前記異物除去部に前記異物除去動作を実行させた後に当該判定処理を再度実行する制御処理を、該判定処理にて全ての計測対象部位に異物付着が無いと判定されるまで繰り返し実行し、該判定処理にて全ての計測対象部位に異物付着が無いとの判定結果が得られた場合には前記計測部に機上計測を実行させる一方、前記制御処理を所定回数繰り返しても全ての計測対象部位に異物付着が無いとの判定結果が得られない場合には、全ての計測対象部位に異物付着が有るか否かをさらに判定し、当該判定の結果、全ての計測対象部位に異物付着が有ると判定された場合にはその旨を、前記報知部に前記異物付着情報として報知させ、当該判定処理の結果、一部の計測対象部位については異物付着が無いと判定された場合には、当該計測対象部位に対応する寸法の機上計測を前記計測部に実行させるとともにその計測結果を表示部に表示させるように構成されていることを特徴とする請求項2記載の工作機械。
     
    When it is determined that a foreign substance is attached to at least one of the plurality of measurement target regions as a result of the determination process, the control unit causes the foreign substance removal unit to perform the foreign substance removal operation, and then performs the determination. The control process for re-executing the process is repeatedly executed until it is determined in the determination process that there is no foreign matter adhered to all the measurement target sites, and the determination process determines that there is no foreign matter adhered to all the measurement target sites. When the determination result is obtained, the measurement unit is caused to perform on-machine measurement. further determines whether or not there is adhesion of foreign matter to all of the measurement target sites, and if it is determined that there is adhesion of foreign matter to all of the measurement target sites as a result of the determination, notifies the notification unit to that effect. When it is determined that there is no foreign matter adhered to a portion of the measurement target portion as a result of the determination processing, the measurement unit performs on-machine measurement of the dimensions corresponding to the measurement target portion. 3. The machine tool according to claim 2, wherein the machine tool is configured to execute the measurement and to display the measurement result on the display unit.
PCT/JP2022/043945 2022-01-06 2022-11-29 Machine tool WO2023132157A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022001047A JP7046292B1 (en) 2022-01-06 2022-01-06 Machine Tools
JP2022-001047 2022-01-06

Publications (1)

Publication Number Publication Date
WO2023132157A1 true WO2023132157A1 (en) 2023-07-13

Family

ID=81255862

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/043945 WO2023132157A1 (en) 2022-01-06 2022-11-29 Machine tool

Country Status (2)

Country Link
JP (1) JP7046292B1 (en)
WO (1) WO2023132157A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013129036A (en) * 2011-12-22 2013-07-04 Fanuc Ltd Machine tool having onboard measuring device
JP2017013182A (en) * 2015-07-01 2017-01-19 富士機械製造株式会社 Machine tool and workpiece cleaning method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013129036A (en) * 2011-12-22 2013-07-04 Fanuc Ltd Machine tool having onboard measuring device
JP2017013182A (en) * 2015-07-01 2017-01-19 富士機械製造株式会社 Machine tool and workpiece cleaning method

Also Published As

Publication number Publication date
JP7046292B1 (en) 2022-04-01
JP2023100396A (en) 2023-07-19

Similar Documents

Publication Publication Date Title
KR101327571B1 (en) Workpiece measuring device, collision preventing device, and machine tool
JP5547948B2 (en) Grinding work compensation grinding method
JP5465957B2 (en) Machining state confirmation method and machining state confirmation apparatus
JP4950108B2 (en) Machine tool position correction method and apparatus
KR101902080B1 (en) Detection device of pipe alignment status by using image information and laser sensor and method thereof
JP4727689B2 (en) Workpiece measuring device, collision prevention device and machine tool
EP1998137B1 (en) Abnormality detecting method for form measuring mechanism and form measuring mechanism
CN112621769A (en) Surface finishing device
JP6013139B2 (en) Tool length measuring method and machine tool
KR20150028742A (en) Device and method for automatically setting tool offset value of machine tool
KR20100109470A (en) Cutting edge detecting method and cutting edge detecting device
JP2007185771A (en) Tool measuring method, and machine tool with tool measuring function
CN105081883A (en) Machining center provided with on-machine detection device and using method of machining center
JP5467773B2 (en) Cutting tool inspection system
JPH0852638A (en) Interference check method, machining program check method and machining suitability check method
JP4180469B2 (en) How to check the machining suitability of machine tools
CN111928776A (en) Multi-sensor-based non-contact online measurement system and method for numerical control machine tool
KR101672807B1 (en) a tool inspection device and the method of automatic tool changer
WO2023132157A1 (en) Machine tool
JP3979891B2 (en) Tool measuring method and machine tool with tool measuring function
JP5301818B2 (en) Method for registering correction value in side processing apparatus for glass substrate
JP6538345B2 (en) Work measuring device of machine tool
JP6343312B2 (en) Measuring method of blade width of grooving tools
JP4776588B2 (en) Nozzle inspection apparatus and nozzle inspection method
JP2011167797A (en) Cutting machine and method of machining processing for the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22918744

Country of ref document: EP

Kind code of ref document: A1