WO2023048078A1 - 工作機械、制御方法、および制御プログラム - Google Patents

工作機械、制御方法、および制御プログラム Download PDF

Info

Publication number
WO2023048078A1
WO2023048078A1 PCT/JP2022/034708 JP2022034708W WO2023048078A1 WO 2023048078 A1 WO2023048078 A1 WO 2023048078A1 JP 2022034708 W JP2022034708 W JP 2022034708W WO 2023048078 A1 WO2023048078 A1 WO 2023048078A1
Authority
WO
WIPO (PCT)
Prior art keywords
tooling
machine tool
hsk
unit
holding portion
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2022/034708
Other languages
English (en)
French (fr)
Inventor
一也 藤岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DMG Mori Co Ltd
Original Assignee
DMG Mori Co Ltd
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 Mori Co Ltd filed Critical DMG Mori Co Ltd
Priority to EP22872832.5A priority Critical patent/EP4406696A4/en
Priority to US18/693,188 priority patent/US20250001538A1/en
Priority to CN202280063309.8A priority patent/CN118076462A/zh
Publication of WO2023048078A1 publication Critical patent/WO2023048078A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, 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/00—Arrangements for observing, indicating or measuring on machine tools
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, 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
    • B23Q15/00—Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007—Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/12—Adaptive control, i.e. adjusting itself to have a performance which is optimum according to a preassigned criterion
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, 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/00—Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/002—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring the holding action of work or tool holders
    • B23Q17/003—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring the holding action of work or tool holders by measuring a position
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, 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/00—Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/24—Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves
    • B23Q17/2452—Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves for measuring features or for detecting a condition of machine parts, tools or workpieces
    • B23Q17/2476—Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves for measuring features or for detecting a condition of machine parts, tools or workpieces of clamping devices, e.g. work or tool holders
    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23Q—DETAILS, 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
    • B23Q3/00—Devices holding, supporting, or positioning work or tools, of a kind normally removable from the machine
    • B23Q3/155—Arrangements for automatic insertion or removal of tools, e.g. combined with manual handling

Definitions

  • the present disclosure relates to machine tools, control methods, and control programs.
  • Patent Literature 1 discloses a machine tool whose purpose is to detect abnormal attachment of a tool holder.
  • the machine tool "determines whether or not the tool holder is attached to the spindle based on the change over time in the amount of displacement of the outer peripheral surface of the flange of the tool holder.”
  • the tool is attached to the machine tool via the tooling. That is, the tooling functions as a connecting interface between the tool and the machine tool.
  • a tooling consists of a tool holder that holds the tool and a shank that connects to the machine tool.
  • Shank standards include, for example, BT shanks, BBT shanks, and HSK shanks.
  • the machine tool disclosed in Patent Literature 1 detects a mounting abnormality with respect to a BT shank or BBT shank tool holder.
  • the HSK shank has two grooves with different depths.
  • a tooling holder such as a spindle or a magazine
  • the two grooves of the HSK shank are engaged with one or two engaging sections provided on the tooling holder. This secures the tooling to the tooling holder.
  • the two grooves provided on the HSK shank are provided facing each other. Since the depth difference between the grooves is very small, the HSK shank may be installed in the tooling retainer 180 degrees from what it should be. If machining is performed while the HSK shank is abnormally attached to the tooling holding portion, the machining accuracy of the workpiece may deteriorate. There is also the possibility that the HSK shank will drop during machining of the workpiece. A dropped HSK shank can damage the workpiece, tool, or machine tool body. Accordingly, there is a need for techniques for detecting misalignment of HSK shanks to machine tools.
  • a machine tool in one example of the present disclosure, includes a tooling holder having a tooling insertion opening.
  • the tooling includes a tool holder for holding a tool and an HSK shank inserted into the insertion opening.
  • the machine tool further includes a detection section for detecting physical information indicating the state of the gap between the tooling and the tooling holding section, and a control section for controlling the machine tool.
  • the control unit includes an acquisition unit for acquiring the physical information from the detection unit while the tooling is attached to the tooling holding unit; a determination unit for determining whether or not the tooling is normally attached to the tooling holding portion; and a predetermined process is executed when it is determined that the tooling is not normally attached to the tooling holding portion. and an execution part for
  • the detection unit includes a camera.
  • the camera acquires an image representing the gap as the physical information.
  • the tooling holding portion includes an interlocking member that interlocks with the HSK shank when the HSK shank is inserted into the insertion opening.
  • the detection unit includes a position sensor for detecting the position of the interlocking member as the physical information.
  • the HSK shank has a cylindrical portion.
  • the cylindrical portion includes a first groove having a first depth in the direction of the central axis of the cylindrical portion and a second groove having a second depth in the direction. The second depth is different than the first depth.
  • the tooling holding portion includes a first engaging portion that engages with the first groove portion when the HSK shank is inserted into the insertion opening, and a second engaging portion that engages with the first groove portion when the HSK shank is inserted into the insertion opening. and a second engaging portion that engages the groove.
  • the determination unit determines that the tooling is not normally attached to the tooling holding unit when the physical information indicates that the width of the gap is equal to or greater than a predetermined value.
  • the tooling holding section includes at least one of a magazine, a spindle, and a tool post.
  • the machine tool includes a tooling holder having a tooling insertion opening.
  • the tooling includes a tool holder for holding a tool and an HSK shank inserted into the insertion opening.
  • the machine tool further includes a detection section for detecting physical information indicating the state of the gap between the tooling and the tooling holding section.
  • the control method includes the step of acquiring the physical information from the detection unit while the tooling is attached to the tooling holding unit; and a step of performing predetermined processing when it is determined that the tooling is not normally attached to the tooling holding part.
  • the machine tool includes a tooling holder having a tooling insertion opening.
  • the tooling includes a tool holder for holding a tool and an HSK shank inserted into the insertion opening.
  • the machine tool further includes a detection section for detecting physical information indicating the state of the gap between the tooling and the tooling holding section.
  • the control program comprises a step of acquiring the physical information from the detection unit while the tooling is attached to the tooling holding unit of the machine tool; is normally attached to the tooling holding portion; and executing a predetermined process when it is determined that the tooling is not normally attached to the tooling holding portion.
  • FIG. 1 is a perspective view of an HSK tooling
  • FIG. FIG. 4 is a side view of the HSK tooling viewed from the X-axis direction shown in FIG. 3
  • FIG. 4 is a view showing a cross section of the HSK tooling from the X-axis direction shown in FIG. 3
  • FIG. 4 is a diagram schematically showing how the HSK tooling is attached to the tooling holding portion
  • FIG. 4 is a diagram schematically showing how the HSK tooling is attached to the tooling holding portion
  • FIG. 4 is a conceptual diagram schematically showing a process of detecting mounting abnormality of HSK tooling
  • FIG. 2 is a diagram showing an example of the hardware configuration of a CPU (Central Processing Unit) unit
  • CPU Central Processing Unit
  • CNC Computer Numerical Control
  • FIG. 4 is a flow chart showing part of the processing executed by the control unit of the machine tool
  • FIG. 4 is a diagram schematically showing how the HSK tooling is attached to the tooling holding portion
  • FIG. 4 is a diagram schematically showing how the HSK tooling is attached to the tooling holding portion
  • FIG. 5 is a diagram showing an example of a functional configuration of a machine tool according to a modified example
  • FIG. 5 is a diagram showing an example of a functional configuration of a machine tool according to a modified example
  • FIG. 1 is a diagram showing the appearance of a machine tool 100. As shown in FIG.
  • Machine tool as used in this specification is a concept that includes various devices equipped with the function of machining a workpiece.
  • the machine tool 100 may be a horizontal machining center or a vertical machining center.
  • machine tool 100 may be a lathe, an additional processing machine, or other cutting or grinding machine.
  • the machine tool 100 has a tool storage section 40A and a processing machine main body 40B. Each of the tool storage section 40A and the processing machine body 40B is compartmentalized by a cover.
  • a magazine 150 and an ATC (Automatic Tool Changer) 160 are provided in the tool storage section 40A.
  • a main shaft 170 is provided in the processing machine main body 40B.
  • a worker can attach a tool to the magazine 150 through the door D1.
  • the processing machine main body 40B uses at least one of the plurality of tools held in the magazine 150 to process the workpiece.
  • the machine tool 100 drives the magazine 150 to move one tool corresponding to the machining process (hereinafter also referred to as the "next tool to be used”) to the first tool change position.
  • the machine tool 100 also drives the spindle 170 to move the tool attached to the spindle 170 (hereinafter also referred to as "used tool”) to the second tool change position.
  • the ATC 160 replaces the next used tool waiting at the first tool changing position with the used tool waiting at the second tool changing position.
  • Tools are exchanged through a door D2 provided in a partition between the processing machine main body 40B and the tool storage section 40A.
  • the door D2 is, for example, a sliding door, and is opened and closed by a drive source such as a motor.
  • the spindle 170 processes the workpiece using the mounted next-use tool.
  • the machine tool 100 is provided with an operation panel 500 .
  • the operation panel 500 includes a display 505 for displaying various information regarding machining, and operation keys 506 for accepting various operations for the machine tool 100 .
  • FIG. 2 is a diagram showing an example of a drive mechanism of the machine tool 100. As shown in FIG.
  • the machine tool 100 includes a control section 50, drive sections 110, 120, 130, a magazine 150, an ATC 160, and a spindle 170.
  • the direction of gravity is hereinafter also referred to as the "X-axis direction”.
  • One direction on the horizontal plane perpendicular to the X-axis is also referred to as "Y-axis direction”.
  • a direction perpendicular to both the X-axis direction and the Y-axis direction is referred to as a "Z-axis direction.”
  • control unit 50 means a device that controls the machine tool 100.
  • the device configuration of the control unit 50 is arbitrary.
  • the control section 50 may be composed of a single control unit, or may be composed of a plurality of control units.
  • the control section 50 is composed of a CPU unit 200 , a CNC unit 300 and an information processing device 400 .
  • the control unit 50 may include the operation panel 500 (see FIG. 1) described above.
  • the CPU unit 200 and CNC unit 300 communicate with each other via bus B, for example.
  • CNC unit 300 and information processing device 400 communicate with each other, for example, via network NW.
  • the CPU unit 200 is, for example, a PLC (Programmable Logic Controller).
  • the CPU unit 200 controls the driving section 110 according to a predesigned PLC program.
  • the PLC program is written in, for example, a ladder program.
  • the drive unit 110 is a drive mechanism for rotating the magazine 150 .
  • the device configuration of the drive unit 110 is arbitrary.
  • the driving section 110 may be composed of a single driving unit, or may be composed of a plurality of driving units. In the example of FIG. 2, the driving section 110 is composed of a motor driver 111M and a motor 112M.
  • the motor driver 111M drives the magazine 150 according to control instructions from the CPU unit 200.
  • the magazine 150 is provided with a motor 112M.
  • the motor 112M may be a servo motor, a stepping motor, or any other type of motor.
  • the motor driver 111M receives input of the target rotation speed from the CPU unit 200 and controls the motor 112M.
  • the motor 112M rotationally drives the magazine 150 according to the output current from the motor driver 111M, and drives the specified next use tool T1 in the magazine 150 to the specified position.
  • Drive unit 120 is a drive mechanism for driving ATC 160 .
  • the device configuration of the drive unit 120 is arbitrary.
  • the driving section 120 may be composed of a single driving unit, or may be composed of a plurality of driving units. In the example of FIG. 2, the driving section 120 is composed of an ATC driver 121A and motors 122A and 122B.
  • the ATC driver 121A is, for example, a two-axis integrated driver, and controls driving of motors 122A and 122B connected to the ATC 160.
  • ATC 160 includes a central shaft 165 and arms 166 .
  • Arm 166 is, for example, a double arm capable of holding two tools at the same time. That is, the arm 166 includes a tool gripping portion 166A extending from the central axis 165 in one direction (for example, the X-axis direction) orthogonal to the axial direction of the central axis 165, and a tool gripping portion 166A extending from the central axis 165 in the direction opposite to the one direction. and an extending tool gripper 166B.
  • Each of the motors 122A and 122B may be a servo motor, a stepping motor, or other types of motors.
  • ATC driver 121A receives, for example, a target rotation speed input for motor 122A and a target rotation speed input for motor 122B from CPU unit 200, and controls motors 122A and 122B.
  • the motor 122A feeds and drives the arm 166 of the ATC 160 according to the output current from the ATC driver 121A, and drives the arm 166 to an arbitrary position in the axial direction of the center shaft 165.
  • the motor 122B rotates the arm 166 of the ATC 160 in accordance with the output current from the ATC driver 121A, and drives the arm 166 to an arbitrary rotation angle with the central axis 165 as the center of rotation.
  • the ATC 160 acquires the tool to be used next T1 from the magazine 150 based on receiving the tool replacement command. After that, the ATC 160 removes the used tool T2 from the spindle 170 and attaches the next tool T1 to the spindle 170 . After that, the ATC 160 stores the used tool T2 pulled out from the spindle 170 in the magazine 150 .
  • the CNC unit 300 Upon receiving a machining start command from the CPU unit 200, the CNC unit 300 starts executing a pre-designed machining program.
  • the machining program is written in, for example, an NC (Numerical Control) program.
  • the CNC unit 300 drives the driving section 130 according to the machining program.
  • the drive unit 130 is a drive mechanism for moving the main shaft 170 .
  • the device configuration of the drive unit 130 is arbitrary.
  • the driving section 130 may be composed of a single driving unit, or may be composed of a plurality of driving units.
  • the driving section 130 is composed of motor drivers 131B, 131C, 131X, 131Y and 131Z and motors 132B, 132C, 132X, 132Y and 132Z.
  • the motor driver 131B sequentially receives input of the target rotational speed from the CNC unit 300 and controls the motor 132B.
  • the motor 132B rotationally drives the main shaft 170 about the Y-axis direction.
  • the motor 132B may be an AC motor, a stepping motor, a servo motor, or any other type of motor.
  • the motor driver 131B calculates the actual rotational speed of the motor 132B from a feedback signal from an encoder (not shown) for detecting the rotational angle of the motor 132B. Then, the motor driver 131B increases the rotation speed of the motor 132B when the calculated actual rotation speed is lower than the target rotation speed, and increases the rotation speed of the motor 132B when the calculated actual rotation speed is higher than the target rotation speed. lower the Thus, the motor driver 131B brings the rotational speed of the motor 132B closer to the target rotational speed while sequentially receiving the feedback of the rotational speed of the motor 132B.
  • the motor driver 131C sequentially receives input of target positions from the CNC unit 300 and controls the motor 132C.
  • the motor 132C rotationally drives the main shaft 170 with the axial direction of the main shaft 170 as the center of rotation.
  • the motor 132C may be an AC motor, a stepping motor, a servo motor, or any other type of motor. Since the method of controlling motor 132C by motor driver 131C is the same as that of motor driver 131B, description thereof will not be repeated.
  • the motor driver 131X sequentially receives input of target positions from the CNC unit 300 and controls the motor 132X.
  • the motor 132X feeds and drives the main shaft 170 to move the main shaft 170 to an arbitrary position in the X-axis direction.
  • the motor 132X may be an AC motor, a stepping motor, a servo motor, or any other type of motor. Since the method of controlling motor 132X by motor driver 131X is the same as that of motor driver 131B, description thereof will not be repeated.
  • the motor driver 131Y sequentially receives input of target positions from the CNC unit 300 and controls the motor 132Y.
  • the motor 132Y feeds and drives the main shaft 170 to move the main shaft 170 to an arbitrary position in the Y-axis direction.
  • the motor 132Y may be an AC motor, a stepping motor, a servo motor, or any other type of motor. Since the method of controlling motor 132Y by motor driver 131Y is the same as that of motor driver 131B, description thereof will not be repeated.
  • the motor driver 131Z sequentially receives input of target positions from the CNC unit 300 and controls the motor 132Z.
  • the motor 132Z feeds and drives the main shaft 170 to move the main shaft 170 to an arbitrary position in the Z-axis direction.
  • the motor 132Z may be an AC motor, a stepping motor, a servo motor, or any other type of motor. Since the method of controlling motor 132Z by motor driver 131Z is the same as that of motor driver 131B, description thereof will not be repeated.
  • the information processing device 400 is a computer.
  • the information processing apparatus 400 may be a desktop computer, a notebook computer, or a tablet terminal.
  • a camera 180 is connected to the information processing device 400 .
  • a predetermined image processing program is installed in the information processing device 400 , and the information processing device 400 detects abnormal mounting of the tool based on the input image from the camera 180 . Details of the detection process will be described later.
  • FIG. 3 is a perspective view showing the HSK tooling 60.
  • FIG. 4 is a side view of the HSK tooling 60 viewed from the X-axis direction shown in FIG.
  • FIG. 5 is a view showing a cross section of the HSK tooling 60 from the X-axis direction shown in FIG.
  • HSK Tooling 60 is a type of tooling standard stipulated by ISO (International Organization for Standardization). HSK tooling 60 functions as a connection interface between tools and machine tool 100 .
  • the HSK tooling 60 is composed of a tool holder 62 (tool holding portion), a flange 63 and an HSK shank 64.
  • the tool holder 62 is configured to be able to hold a tool.
  • the tool holder 62 is connected to one end of the flange 63 .
  • the HSK shank 64 is connected to the other end of the flange 63.
  • HSK shank 64 has a hollow cylindrical portion. The inner and outer surfaces of the cylindrical portion extend in the axial direction of the central axis AX.
  • the axial direction of the central axis AX corresponds to the attachment/detachment direction of the tool with respect to the tool holder 62 .
  • the HSK shank 64 also includes a groove portion 65A (first groove portion) having a depth "DA" in the axial direction of the central axis AX and a groove portion 65B (second groove portion) having a depth "DB" in the axial direction of the central axis AX. ) and
  • the direction parallel to the central axis AX and the direction in which the tool is attached to and detached from the HSK tooling 60 is also referred to as the "Z-axis direction”.
  • the direction perpendicular to the Z-axis direction which is the direction from the groove portion 65A to the groove portion 65B, is also referred to as the "X-axis direction.”
  • a direction orthogonal to both the Z-axis direction and the X-axis direction is also referred to as a "Y-axis direction.”
  • the groove portion 65A has a concave shape that is depressed in the Z-axis direction.
  • the groove portion 65B has a concave shape that is depressed in the Z-axis direction.
  • the groove portion 65A and the groove portion 65B are provided at positions opposed to each other about the central axis AX.
  • the depth "DA" of the groove 65A in the Z-axis direction is different from the depth "DB" of the groove 65B in the Z-axis direction.
  • the depth "DA" of groove 65A is shallower than the depth "DB" of groove 65B.
  • FIGS. 6 and 7 schematically show how the HSK tooling 60 is attached to the tooling holder 70.
  • FIG. 6 and 7 schematically show how the HSK tooling 60 is attached to the tooling holder 70.
  • the HSK tooling 60 functions as a connection interface between the tool T and the tooling holder 70.
  • tooling holder 70 means any unit capable of holding HSK tooling 60 .
  • the tooling holding portion 70 include the above-described magazine 150 (see FIG. 1), the above-described ATC 160 (see FIG. 1), the above-described spindle 170 (see FIG. 1), or a tool rest (not shown).
  • the tooling holding portion 70 has an insertion opening 75 for the HSK tooling 60 .
  • the insertion opening 75 is formed in accordance with the shape of the HSK shank 64 described above.
  • the HSK tooling 60 has grooves 65A recessed in the Z-axis direction.
  • the tooling holding portion 70 has an engaging portion 75A (first engaging portion) that engages the groove portion 65A when the HSK shank 64 of the HSK tooling 60 is inserted into the insertion port 75 .
  • the HSK tooling 60 also has a groove 65B recessed in the Z-axis direction.
  • the tooling holding portion 70 has an engaging portion 75B (second engaging portion) that engages with the groove portion 65B when the HSK shank 64 of the HSK tooling 60 is inserted into the insertion port 75 .
  • the width of the engaging portion 75A in the central axis AX direction is equal to the depth "DA" (see FIG. 4) of the groove portion 65A in the central axis AX direction.
  • the width of the engaging portion 75B in the axial direction of the central axis AX is equal to the depth "DB" (see FIG. 5) of the groove portion 65B in the axial direction of the central axis AX.
  • the width of the engaging portion 75B in the central axis AX direction is longer than the width of the engaging portion 75A in the central axis AX direction.
  • the two grooves 65A and 65B provided in the HSK tooling 60 are provided facing each other around the central axis AX. Also, the depth of the groove portion 65A "DA ” and the depth “DB” of the groove portion 65B is very small, the HSK tooling 60 may be attached to the tooling holding portion 70 180 degrees reversed.
  • FIG. 6 shows how the HSK tooling 60 is normally attached to the tooling holding portion 70 .
  • the width of the gap between the HSK tooling 60 and the tooling holder 70 is "D1".
  • FIG. 7 shows how the HSK tooling 60 is abnormally attached to the tooling holding portion 70 .
  • the width of the gap between the HSK tooling 60 and the tooling holding portion 70 is "D2".
  • the gap width "D2" at the time of abnormal mounting is longer than the gap width "D1" at the time of normal mounting.
  • the machine tool 100 determines whether the HSK tooling 60 is normally attached to the tooling holding portion 70 based on physical information indicating the state of the gap between the HSK tooling 60 and the tooling holding portion 70 .
  • “Physical information” as used herein is a concept including any index that correlates with the width of the gap between the HSK tooling 60 and the tooling holder 70 .
  • the physical information includes image information indicating the state of the gap between the HSK tooling 60 and the tooling holder 70 .
  • the physical information includes distance information indicating the width of the gap between the HSK tooling 60 and the tooling holder 70 .
  • the machine tool 100 executes a predetermined warning process. This allows the operator to notice that the HSK tooling 60 has been abnormally attached to the tooling holding portion 70 .
  • FIG. 8 is a diagram showing an example of the functional configuration of the machine tool 100. As shown in FIG.
  • the control unit 50 of the machine tool 100 includes an acquisition unit 54, a determination unit 56, and an execution unit 58 as functional configurations. These configurations will be described in order below.
  • each functional configuration shown in FIG. 8 can be implemented in any unit that configures the control unit 50.
  • part or all of the functional configuration shown in FIG. 8 is implemented in the aforementioned CPU unit 200 (see FIG. 2).
  • part or all of the functional configuration shown in FIG. 8 is implemented in the above-described CNC unit 300 (see FIG. 2).
  • part or all of the functional configuration shown in FIG. 8 is implemented in the information processing apparatus 400 (see FIG. 2) described above.
  • part or all of the functional configuration shown in FIG. 8 is implemented in the operation panel 500 (see FIG. 1) described above.
  • a part of the functional configuration shown in FIG. 8 may be implemented in an external device such as a server, or may be implemented in dedicated hardware.
  • FIG. 9 is a front view of the magazine 150.
  • the acquisition unit 54 is implemented in the information processing device 400 (see FIG. 2).
  • the acquisition unit 54 acquires physical information indicating the state of the gap between the HSK tooling 60 and the tooling holding unit 70 from the detection unit 45 while the HSK tooling 60 is attached to the tooling holding unit 70 .
  • a camera 180 is shown in FIG. 8 as an example of the detection unit 45 .
  • the acquisition unit 54 outputs a photographing instruction to the camera 180 at least one timing while the HSK tooling 60 is attached to the tooling holding unit 70 .
  • the acquiring unit 54 acquires an input image 125 (see FIG. 10), which will be described later, representing the mounting portion of the HSK tooling 60 and the tooling holding unit 70 from the camera 180 as the physical information.
  • the camera 180 is provided, for example, to photograph the magazine 150 inside the tool storage section 40A (see FIG. 1).
  • Magazine 150 includes motor 112 M, drive sprocket 113 , driven sprocket 114 and endless chain 115 .
  • the drive sprocket 113 is connected to the output shaft of the motor 112M (see FIG. 2).
  • the drive sprocket 113 rotates when power is transmitted from the motor 112M.
  • the endless chain 115 is stretched between a driving sprocket 113 and a driven sprocket 114.
  • Motor 112M rotationally drives driving sprocket 113, whereby the power of motor 112M is transmitted to driven sprocket 114 via endless chain 115.
  • driven sprocket 114 and endless chain 115 rotate in conjunction with drive sprocket 113 .
  • the endless chain 115 is provided with a plurality of pots 70P.
  • the pot 70P is an example of the above tooling holding portion 70 (see FIG. 6).
  • One HSK tooling 60 may be attached to each of the pots 70P.
  • Machine tool 100 can drive a designated tool to an arbitrary position by controlling motor 112M.
  • the machine tool 100 drives the empty pot 70P in front of the above-described door D1 based on the operator calling the pot 70P. After that, the operator opens the door D1 and mounts the HSK tooling 60 on the empty pot 70P. After that, the worker closes the door D1.
  • the acquisition unit 54 Based on the fact that the operator has attached the HSK tooling 60 to the pot 70P, the acquisition unit 54 outputs a photographing instruction to the camera 180 and acquires an input image 125, which will be described later, showing the portion where the HSK tooling 60 and the pot 70P are attached. get.
  • the camera 180 is provided in the above-described tool storage section 40A (see FIG. 1) so that the gap between the HSK tooling 60 and the pot 70P is included in the field of view CR of the camera 180. Thereby, the camera 180 acquires image information indicating the state of the gap between the HSK tooling 60 and the pot 70P.
  • a photographing instruction to the camera 180 is output at any timing while the HSK tooling 60 is attached to the tooling holding portion 70 .
  • the photographing instruction is output at the timing when the operator attaches the HSK tooling 60 to the pot 70P.
  • the door D1 (see FIG. 1) of the machine tool 100 is provided with an open/close sensor (not shown). After mounting the HSK tooling 60 on the pot 70P, the operator closes the door D1. Therefore, the acquisition unit 54 outputs a photographing instruction to the camera 180 based on the change in the output value of the opening/closing sensor from the value indicating the open state of the door D1 to the value indicating the closed state of the door D1.
  • the machine tool 100 is provided with a tool attachment completion button (not shown).
  • the camera 180 may be provided inside the processing machine body 40B.
  • the control unit 50 drives the driving unit 130 described above to move the spindle 170 on which the HSK tooling 60 is mounted in front of the camera 180 .
  • the main shaft 170 is an example of the above-described tooling holding portion 70 (see FIG. 6).
  • the acquisition unit 54 outputs a photographing instruction to the camera 180 and acquires the input image 125 representing the mounting portion of the HSK tooling 60 and the tooling holding unit 70 .
  • the camera 180 may be provided to photograph a tool post (not shown) inside the machine tool 100 .
  • the tool post is an example of the above tooling holder 70 (see FIG. 6).
  • the tool post has a turret.
  • the turret is configured so that a plurality of HSK toolings 60 can be attached.
  • the turret is configured to be pivotable, and pivots the HSK tooling 60 to a predetermined position when machining a workpiece.
  • the control unit 50 moves the HSK tooling 60 in front of the camera 180 based on the fact that the HSK tooling 60 is attached to the tool post.
  • the acquisition unit 54 outputs a photographing instruction to the camera 180 and acquires an input image 125 representing the mounting portion of the HSK tooling 60 and the tooling holding unit 70 .
  • FIG. 10 is a conceptual diagram schematically showing the process of detecting a mounting abnormality of the HSK tooling 60.
  • FIG. A reference image 124 and an input image 125 are shown in FIG.
  • the determination unit 56 compares the input image 125 acquired by the acquisition unit 54 with the reference image 124 to determine whether the HSK tooling 60 is normally attached to the tooling holding unit 70 .
  • the reference image 124 is an image obtained by photographing the HSK tooling 60 in advance when the HSK tooling 60 is normally attached to the tooling holding portion 70 .
  • the reference image 124 is stored in advance in the storage device of the machine tool 100, for example.
  • the determination unit 56 subtracts the reference image 124 from the input image 125 to generate the difference image 126 . Based on the difference image 126, the determination unit 56 determines whether the HSK tooling 60 is normally attached to the tooling holding unit 70 or not.
  • the determining unit 56 assigns “0” (black) to pixels whose pixel values are equal to or less than the threshold th in the difference image 126, and assigns “0” (black) to pixels whose pixel values are greater than the threshold th in the difference image 126. Assign to "255" (white). Thereby, the determination unit 56 generates a binarized image from the difference image 126 . After that, the determination unit 56 counts the number of pixels having a pixel value of "0", and if the count value is equal to or greater than a predetermined value, the HSK tooling 60 is normally attached to the tooling holding unit 70. I judge. On the other hand, the determination unit 56 determines that the HSK tooling 60 is abnormally attached to the tooling holding unit 70 when the count value is smaller than the predetermined value.
  • the judgment unit 56 does not necessarily need to use the reference image 124 when detecting the mounting abnormality of the HSK tooling 60 .
  • Various image processing algorithms can be used for the detection process.
  • the determination unit 56 detects a mounting abnormality of the HSK tooling 60 using the learned model.
  • the trained model is generated in advance by learning processing using the training data set.
  • the learning data set includes a plurality of learning images showing how the HSK tooling 60 and tooling holder 70 are mounted. Each learning image is associated with a label indicating whether the HSK tooling 60 is normally attached to the tooling holder 70 .
  • the internal parameters of the trained model are optimized in advance by learning processing using such a learning data set.
  • CNN convolutional neural network
  • FCN full-layer convolutional neural network
  • support vector machine etc.
  • the determination unit 56 Based on the acquisition of the input image 125 from the camera 180, the determination unit 56 inputs the input image 125 into the learned model. As a result, the learned model outputs a probability indicating that the HSK tooling 60 is incorrectly worn. The determination unit 56 determines that the HSK tooling 60 is abnormally attached to the tooling holding unit 70 when the probability exceeds a predetermined value.
  • execution unit 58 (E3. Execution unit 58) Next, functions of the execution unit 58 shown in FIG. 8 will be described.
  • the execution unit 58 is implemented, for example, in the information processing device 400 described above or the operation panel 500 described above.
  • the execution unit 58 executes predetermined warning processing when the determination unit 56 determines that the HSK tooling 60 is abnormally attached to the tooling holding unit 70 .
  • the warning processing is processing for notifying the operator that the HSK tooling 60 has been abnormally attached to the tooling holding portion 70 .
  • the execution unit 58 displays a warning on the display 505 of the operation panel 500 indicating that the HSK tooling 60 is abnormally mounted.
  • the warning includes, for example, a message prompting the tooling holder 70 to remount the HSK tooling 60 by inverting it 180 degrees. As a result, the operator can easily grasp how the HSK tooling 60 should be reattached to the tooling holding portion 70 .
  • the warning indicating the mounting abnormality is displayed on the display 505 of the operation panel 500
  • the warning may be displayed on other display units.
  • the output mode of the warning is not limited to display.
  • the warning may be output as a sound such as a buzzer sound or voice.
  • the warning may be sent to another device by e-mail or the like.
  • FIG. 11 is a diagram showing an example of the hardware configuration of the CPU unit 200. As shown in FIG.
  • the CPU unit 200 includes a control circuit 201 , a ROM (Read Only Memory) 202 , a RAM (Random Access Memory) 203 , a fieldbus controller 204 and an auxiliary storage device 220 . These components are connected to internal bus 209 .
  • the control circuit 201 is composed of, for example, at least one integrated circuit.
  • An integrated circuit is composed of, for example, at least one CPU, at least one GPU (Graphics Processing Unit), at least one ASIC (Application Specific Integrated Circuit), at least one FPGA (Field Programmable Gate Array), or a combination thereof can be
  • the control circuit 201 controls the operation of the CPU unit 200 by executing various programs such as the control program 222 .
  • the control circuit 201 reads the control program 222 from the auxiliary storage device 220 or the ROM 202 to the RAM 203 based on the reception of the instruction to execute the control program 222 .
  • the RAM 203 functions as a working memory and temporarily stores various data necessary for executing the control program 222 .
  • the fieldbus controller 204 is a communication unit for realizing communication with various units connected to the fieldbus.
  • EtherCAT registered trademark
  • EtherNet/IP registered trademark
  • CC-Link registered trademark
  • CompoNet registered trademark
  • units connected to the field bus include the motor driver 111M, the ATC driver 121A, and the CNC unit 300 described above.
  • the auxiliary storage device 220 is, for example, a storage medium such as a hard disk or flash memory.
  • the auxiliary storage device 220 stores a control program 222 and the like.
  • the storage location of the control program 222 is not limited to the auxiliary storage device 220, and may be stored in the storage area of the control circuit 201 (for example, cache memory), ROM 202, RAM 203, external equipment (for example, server), or the like. good.
  • control program 222 may be provided not as a standalone program but as part of an arbitrary program. In this case, various processes according to the present embodiment are implemented in cooperation with arbitrary programs. Even a program that does not include such a part of modules does not deviate from the gist of control program 222 according to the present embodiment. Furthermore, some or all of the functions provided by control program 222 may be implemented by dedicated hardware. Furthermore, the CPU unit 200 may be configured in the form of a so-called cloud service in which at least one server executes part of the processing of the control program 222 .
  • FIG. 12 is a diagram showing an example of the hardware configuration of the CNC unit 300. As shown in FIG. 12
  • the CNC unit 300 includes a control circuit 301, a ROM 302, a RAM 303, a communication interface 304, a communication interface 305, a fieldbus controller 306, and an auxiliary storage device 320. These components are connected to internal bus 309 .
  • the control circuit 301 is composed of, for example, at least one integrated circuit.
  • An integrated circuit may comprise, for example, at least one CPU, at least one ASIC, at least one FPGA, or a combination thereof.
  • the control circuit 301 controls the operation of the CNC unit 300 by executing various programs such as the machining program 322 .
  • the machining program 322 is a program for realizing workpiece machining.
  • the control circuit 301 reads the machining program 322 from the ROM 302 to the RAM 303 based on the acceptance of the instruction to execute the machining program 322 .
  • the RAM 303 functions as a working memory and temporarily stores various data necessary for executing the machining program 322 .
  • a LAN, WLAN, Bluetooth (registered trademark), or the like is connected to the communication interface 304 .
  • CNC unit 300 exchanges data with external devices via communication interface 304 .
  • Examples of the external device include the information processing apparatus 400 described above, the operation panel 500 described above, a server (not shown), and the like.
  • a communication interface 305 is an interface for realizing communication with an external device.
  • CNC unit 300 exchanges data with external devices via communication interface 305 .
  • the external device includes various drive units (for example, the motor drivers 131B, 131C, 131X to 131Z, etc. described above) for machining a workpiece.
  • the fieldbus controller 306 is a communication unit for realizing communication with various units connected to the fieldbus.
  • EtherCAT, EtherNet/IP, CC-Link, CompoNet, or the like is adopted as a field network communication standard.
  • An example of a unit connected to the fieldbus is the CPU unit 200 or the like.
  • the auxiliary storage device 320 is, for example, a storage medium such as a hard disk or flash memory.
  • the auxiliary storage device 320 stores a machining program 322 and the like.
  • the storage location of the machining program 322 is not limited to the auxiliary storage device 320, and may be stored in the storage area of the control circuit 301 (eg, cache memory), ROM 302, RAM 303, external device (eg, server), etc. good.
  • FIG. 13 is a diagram showing an example of the hardware configuration of the information processing device 400. As shown in FIG. 13
  • the information processing device 400 includes a control circuit 401 , a ROM 402 , a RAM 403 , a communication interface 404 , a camera interface 405 and an auxiliary storage device 420 . These components are connected to internal bus 409 .
  • the control circuit 401 is composed of, for example, at least one integrated circuit.
  • An integrated circuit may be comprised of, for example, at least one CPU, at least one GPU, at least one ASIC, at least one FPGA, or combinations thereof.
  • the control circuit 401 controls the operation of the information processing device 400 by executing various programs such as a control program 422 for detecting mounting abnormalities of the HSK tooling 60 .
  • the control circuit 401 reads a program to be executed from the auxiliary storage device 420 or the ROM 402 to the RAM 403 on the basis of receiving execution instructions for various programs.
  • a RAM 403 functions as a working memory and temporarily stores various data necessary for program execution.
  • the communication interface 404 is an interface for realizing communication using LAN, WLAN, Bluetooth, or the like.
  • Information processing apparatus 400 exchanges data with external devices (for example, CNC unit 300 or a server) via communication interface 404 .
  • the information processing device 400 may be configured such that the control program 422 can be downloaded via the communication interface 404 .
  • a camera interface 405 is an interface for connecting to the camera 180 by wire or wirelessly.
  • the camera 180 may be a CCD (Charge Coupled Device) camera, an infrared camera (thermography), or other types of cameras.
  • CCD Charge Coupled Device
  • thermography infrared camera
  • the auxiliary storage device 420 is, for example, a storage medium such as a hard disk or flash memory.
  • Auxiliary storage device 420 stores, for example, reference image 124 and control program 422 described above.
  • the storage location of the reference image 124 and the control program 422 is not limited to the auxiliary storage device 420, but is stored in the storage area of the control circuit 401 (for example, cache memory), ROM 402, RAM 403, external equipment (for example, server), and the like. may be
  • control program 422 may be provided as a part of an arbitrary program, not as a standalone program. In this case, processing according to the present embodiment is realized in cooperation with an arbitrary program. Even a program that does not include some of such modules does not deviate from the gist of machine tool 100 according to the present embodiment. Furthermore, part or all of the functions provided by control program 422 according to the present embodiment may be realized by dedicated hardware. Furthermore, machine tool 100 and a server may work together to realize the processing according to the present embodiment. Furthermore, information processing apparatus 400 may be configured in the form of a so-called cloud service in which at least one server implements processing according to the present embodiment.
  • FIG. 14 is a diagram showing an example of the hardware configuration of the operation panel 500. As shown in FIG. 14,
  • the operation panel 500 includes a control circuit 501, a ROM (Read Only Memory) 502, a RAM (Random Access Memory) 503, a communication interface 504, a display 505, operation keys 506, and an auxiliary storage device 520. These components are connected to internal bus 509 .
  • the control circuit 501 is composed of, for example, at least one integrated circuit.
  • An integrated circuit may be comprised of, for example, at least one CPU, at least one GPU, at least one ASIC, at least one FPGA, or combinations thereof.
  • the control circuit 501 controls the operation of the operation panel 500 by executing various programs such as the control program 522 .
  • Control program 522 defines commands for controlling operation panel 500 .
  • the control circuit 501 reads the control program 522 from the auxiliary storage device 520 or the ROM 502 to the RAM 503 based on the reception of the instruction to execute the control program 522 .
  • the RAM 503 functions as a working memory and temporarily stores various data necessary for executing the control program 522 .
  • the communication interface 504 is a communication unit for realizing communication using a LAN (Local Area Network) cable, WLAN, Bluetooth, or the like.
  • the operation panel 500 realizes communication with external devices such as the CNC unit 300 described above via the communication interface 504 .
  • the display 505 is, for example, a liquid crystal display, an organic EL display, or other display device.
  • the display 505 sends an image signal for displaying an image to the display 505 according to a command from the control circuit 501 or the like.
  • the display 505 is configured by, for example, a touch panel, and receives various operations for the machine tool 100 by touch operations.
  • the operation key 506 is composed of a plurality of hardware keys and accepts various user operations on the operation panel 500. A signal corresponding to the pressed key is output to the control circuit 501 .
  • the auxiliary storage device 520 is, for example, a storage medium such as a hard disk or flash memory.
  • Auxiliary storage device 520 stores a control program 522 and the like.
  • the storage location of the control program 522 is not limited to the auxiliary storage device 520, and may be stored in the storage area of the control circuit 501 (for example, cache memory), ROM 502, RAM 503, external equipment (for example, server), or the like.
  • FIG. 15 is a flow chart showing part of the processing executed by control unit 50 of machine tool 100 .
  • the processing shown in FIG. 15 is implemented by the control unit 50 executing a control program (eg, the control program 422 or the control program 522 described above). In other aspects, part or all of the processing may be performed by circuit elements or other hardware.
  • a control program eg, the control program 422 or the control program 522 described above.
  • step S110 the control unit 50 determines whether the HSK tooling 60 is attached to the tooling holding unit 70. Whether or not the HSK tooling 60 is attached to the tooling holder 70 is determined by various methods.
  • the door D1 (see FIG. 1) of the machine tool 100 is provided with an open/close sensor (not shown).
  • the operator closes the door D1 when the mounting of the HSK tooling 60 to the tooling holding portion 70 is completed. Therefore, the control unit 50 determines that the HSK tooling 60 is attached to the tooling holding unit 70 based on the fact that the output value of the open/close sensor changes from the value indicating the open state of the door D1 to the value indicating the closed state of the door D1. I judge.
  • the machine tool 100 is provided with an installation completion button (not shown).
  • the operator presses the attachment completion button when the attachment of the HSK tooling 60 to the tooling holding portion 70 is completed. Therefore, the control unit 50 determines that the HSK tooling 60 is attached to the tooling holding unit 70 based on the pressing of the attachment completion button.
  • control unit 50 determines that the HSK tooling 60 is attached to the tooling holding unit 70 (YES in step S110), it switches the control to step S112. Otherwise (NO in step S110), control unit 50 executes the process of step S110 again.
  • step S112 the control unit 50 functions as the acquisition unit 54 (see FIG. 8) described above, and outputs a photographing instruction to the camera 180 described above. As a result, the control unit 50 acquires the above-described input image 125 (see FIG. 10) representing the mounting portion of the HSK tooling 60 and the tooling holding unit 70 .
  • step S114 the control unit 50 compares the input image 125 acquired in step S112 with the reference image 124.
  • the method of comparing the reference image 124 and the input image 125 is as described above with reference to FIG. 10 and the like, and thus description thereof will not be repeated.
  • step S120 the control unit 50 functions as the determination unit 56 (see FIG. 8) described above, and determines whether the HSK tooling 60 is abnormally attached to the tooling holding unit 70 based on the comparison result in step S114. to decide.
  • control unit 50 determines that HSK tooling 60 is abnormally attached to tooling holding unit 70 (YES in step S120)
  • control is switched to step S122. Otherwise (NO in step S120), control unit 50 terminates the process shown in FIG.
  • step S122 the control unit 50 functions as the above-described execution unit 58 (see FIG. 8) and executes a predetermined warning process.
  • the control unit 50 displays a warning indicating that the HSK tooling 60 is incorrectly mounted on the display 505 of the operation panel 500 .
  • the warning includes, for example, a message prompting the tooling holder 70 to remount the HSK tooling 60 by inverting it 180 degrees.
  • the machine tool 100 detects the mounting abnormality of the HSK tooling 60 with respect to the tooling holding portion 70 by photographing the state of the gap between the HSK tooling 60 and the tooling holding portion 70 with the camera 180 .
  • machine tool 100 according to the present modification uses a position sensor for detecting physical information correlated with the width of the gap between HSK tooling 60 and tooling holding portion 70 to detect the HSK tooling relative to tooling holding portion 70 . 60 is detected.
  • the position sensor it is as described above, so the description other than that will not be repeated below.
  • FIGS. 16 and 17 schematically show how the HSK tooling 60 is attached to the tooling holder 70.
  • FIG. 16 and 17 schematically show how the HSK tooling 60 is attached to the tooling holder 70.
  • the tooling holding portion 70 has an interlocking member 90 interlocking with the HSK shank 64 when the HSK shank 64 is inserted into the insertion port 75 .
  • the interlocking member 90 is provided in the tooling holding portion 70 so as to be movable in the axial direction with respect to the central axis AX.
  • Interlocking member 90 is, for example, a pin extending in the axial direction of central axis AX.
  • a hole H is provided in the tooling holding portion 70 .
  • the hole H extends in the axial direction of the central axis AX.
  • the interlocking member 90 is provided in the tooling holding portion 70 so as to pass through the inside of the hole H. As shown in FIG.
  • FIG. 16 shows how the HSK tooling 60 is normally attached to the tooling holding portion 70 .
  • the groove portion 65A contacts the interlocking member 90 and the groove portion 65B contacts the engaging portion 75B.
  • the interlocking member 90 is pushed in the insertion direction of the HSK tooling 60 (that is, the axial direction of the central axis AX) by the groove portion 65A.
  • FIG. 17 shows how the HSK tooling 60 is attached to the tooling holder 70 abnormally.
  • the groove portion 65A contacts the engaging portion 75B and the groove portion 65B contacts the interlocking member 90 .
  • the interlocking member 90 is pushed in the insertion direction of the HSK tooling 60 (that is, the axial direction of the central axis AX) by the groove portion 65B.
  • the amount of movement of the interlocking member 90 when the HSK tooling 60 is inserted into the tooling holding portion 70 correlates with the width of the gap between the HSK tooling 60 and the tooling holding portion 70 . Therefore, the amount of movement can be an index for determining whether or not the HSK tooling 60 is normally attached to the tooling holding portion 70 .
  • the machine tool 100 uses the position sensor 190 to detect the amount of movement of the interlocking member 90 when the HSK tooling 60 is attached to the tooling holding portion 70 .
  • the position sensor 190 detects the position of the interlocking member 90 as physical information indicating the state of the gap between the HSK tooling 60 and the tooling holding portion 70 .
  • position sensor 190 is not particularly limited. Any sensor capable of distinguishing the position of the interlocking member 90 in at least two stages can be employed as the position sensor 190 .
  • position sensor 190 is a non-contact proximity sensor capable of detecting the presence or absence of an object within its detectable range.
  • the position sensor 190 may be a contact switch capable of detecting contact of the interlocking member 90 .
  • the position sensor 190 may be a distance sensor capable of detecting the distance from itself to the interlocking member 90 .
  • FIGS. 16 and 17 show a non-contact proximity sensor as an example of the position sensor 190.
  • the position sensor 190 is provided in the tooling holding portion 70 so that the interlocking member 90 moves between the inside and outside of the detectable range of the position sensor 190 when the HSK tooling 60 is attached to the tooling holding portion 70 .
  • the interlocking member 90 moves from outside the detectable range of the position sensor 190 to within the detectable range of the position sensor 190 .
  • the interlocking member 90 does not move within the detectable range of the position sensor 190 .
  • the machine tool 10 can detect the mounting abnormality of the HSK tooling 60 according to the output value of the position sensor 190 .
  • FIG. 18 is a diagram showing an example of a functional configuration of machine tool 100 according to the modification.
  • the control unit 50 of the machine tool 100 includes an acquisition unit 54A, a determination unit 56A, and an execution unit 58 as functional configurations.
  • the functional configuration shown in FIG. 18 differs from the functional configuration shown in FIG. 8 in that it includes an acquisition unit 54A instead of the acquisition unit 54 and a determination unit 56A instead of the determination unit 56. different. Since the function of execution unit 58 is as described above, the description thereof will not be repeated below.
  • (a) Acquisition unit 54A First, the function of the acquisition unit 54A shown in FIG. 18 will be described. As an example, the acquisition unit 54A is implemented in the information processing device 400 (see FIG. 2).
  • the acquisition unit 54 acquires physical information indicating the state of the gap between the HSK tooling 60 and the tooling holding unit 70 from the detection unit 45 .
  • FIG. 18 shows the position sensor 190 described above as an example of the detection unit 45 .
  • the position sensor 190 detects a detection value indicating the state of the gap between the HSK tooling 60 and the tooling holder 70 as the physical information.
  • the timing at which the acquisition unit 54A acquires the detection value of the position sensor 190 is arbitrary. Typically, the acquisition unit 54A acquires the detection value from the position sensor 190 based on the operator mounting the HSK tooling 60 on the tooling holding unit 70. FIG.
  • the door D1 (see FIG. 1) of the machine tool 100 is provided with an open/close sensor (not shown).
  • the operator closes the door D1 when the mounting of the HSK tooling 60 to the tooling holding portion 70 is completed. Therefore, the acquisition unit 54A acquires the detection value from the position sensor 190 based on the change in the output value of the opening/closing sensor from the value indicating the open state of the door D1 to the value indicating the closed state of the door D1.
  • the machine tool 100 is provided with an installation completion button (not shown).
  • determination section 56A (b) Determination section 56A Next, the function of the determination section 56A shown in FIG. 18 will be described. As an example, determination unit 56A is implemented in information processing device 400 (see FIG. 2).
  • the determination portion 56A determines that the HSK tooling 60 is abnormally attached to the tooling holding portion 70. I judge.
  • the algorithm for determining abnormal attachment by the determination unit 56A is designed according to the type of the position sensor 190.
  • position sensor 190 is a proximity sensor that indicates the presence or absence of an object in binary.
  • the output value of position sensor 190 being “0” indicates that interlocking member 90 is not present in front of position sensor 190 .
  • the fact that the output value of the position sensor 190 is “1” indicates that the interlocking member 90 is present in front of the position sensor 190 .
  • the determination portion 56A determines that the HSK tooling 60 is abnormally attached to the tooling holding portion 70. do.
  • the determining portion 56A determines that the HSK tooling 60 is normally attached to the tooling holding portion 70. to decide.
  • the position sensor 190 is a distance sensor that outputs the distance to an object.
  • the fact that the output value of the position sensor 190 is equal to or greater than the predetermined value indicates that the interlocking member 90 does not exist in front of the position sensor 190 .
  • the fact that the output value of the position sensor 190 is smaller than the predetermined value indicates that the interlocking member 90 is present in front of the position sensor 190 .
  • the determination portion 56A determines that the HSK tooling 60 is abnormally attached to the tooling holding portion 70. do.
  • the determining portion 56A determines that the HSK tooling 60 is normally attached to the tooling holding portion 70. to decide.
  • the machine tool 100 acquires physical information indicating the state of the gap between the HSK tooling 60 and the tooling holding portion 70 from the detecting portion 45 while the HSK tooling 60 is attached to the tooling holding portion 70. do. Then, the machine tool 100 determines whether the HSK tooling 60 is normally attached to the tooling holding portion 70 based on the physical information. When it is determined that the HSK tooling 60 is not properly attached to the tooling holding portion 70, the machine tool 100 executes a predetermined warning process. This allows the operator to notice that the HSK tooling 60 has been abnormally attached to the tooling holding portion 70 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Automatic Tool Replacement In Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Gripping On Spindles (AREA)
  • Numerical Control (AREA)

Abstract

工作機械(100)は、ツーリング(60)の挿入口を有するツーリング保持部(70)を備える。ツーリング(60)は、工具を保持するための工具保持部(62)と、挿入口に挿入されるHSKシャンク(64)とを含む。工作機械(100)は、さらに、ツーリング(60)とツーリング保持部(70)との隙間の状態を示す物理情報を検出するための検出部(45)と、工作機械(100)を制御するための制御部(50)とを備える。制御部(50)は、ツーリング(60)がツーリング保持部(70)に装着されている間に、検出部(45)から物理情報を取得するための取得部(54)と、取得された物理情報に基づいて、ツーリング(60)がツーリング保持部(70)に正常に装着されているか否かを判断するための判断部(56)と、ツーリング(60)がツーリング保持部(70)に正常に装着されていないと判断された場合に、予め定められた処理を実行するための実行部(58)とを含む。

Description

工作機械、制御方法、および制御プログラム
 本開示は、工作機械、制御方法、および制御プログラムに関する。
 特開2006-315158号公報(特許文献1)は、ツールホルダの装着異常を検出することを目的とする工作機械を開示している。当該工作機械は、「ツールホルダのフランジ外周面の変位量の経時変化に基づいてツールホルダの主軸への装着状態の異常を判定する」。
特開2006-315158号公報
 工具は、ツーリングを介して工作機械に装着される。すなわち、ツーリングは、工具と工作機械との接続インターフェイスとして機能する。
 ツーリングは、工具の保持部分であるツールホルダと、工作機械との接続部分であるシャンクとで構成されている。シャンクの規格としては、たとえば、BTシャンク、BBTシャンク、およびHSKシャンクなどがある。特許文献1に開示される工作機械は、BTシャンクまたはBBTシャンクのツールホルダに関して装着異常を検出している。
 HSKシャンクには、深さの異なる2つの溝部が設けられている。HSKシャンクが主軸やマガジンなどのツーリング保持部に挿入された際に、HSKシャンクの2つの溝部は、ツーリング保持部に設けられている1つまたは2つの係合部に係合する。これにより、ツーリングがツーリング保持部に対して固定される。
 HSKシャンクに設けられている2つの溝部は、互いに対向して設けられている。各溝部の深さの差異は非常に小さいため、HSKシャンクは、本来とは180度反転してツーリング保持部に装着されてしまうことがある。HSKシャンクがツーリング保持部に異常に装着された状態で加工が行われると、ワークの加工精度が低下する可能性がある。また、HSKシャンクがワークの加工中に落下する可能性もある。HSKシャンクが落下すると、ワーク、工具、または工作機械の本体が破損するおそれがある。したがって、工作機械に対するHSKシャンクの装着異常を検出するための技術が望まれている。
 本開示の一例では、工作機械は、ツーリングの挿入口を有するツーリング保持部を備える。上記ツーリングは、工具を保持するための工具保持部と、上記挿入口に挿入されるHSKシャンクとを含む。上記工作機械は、さらに、上記ツーリングと上記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部と、上記工作機械を制御するための制御部とを備える。上記制御部は、上記ツーリングが上記ツーリング保持部に装着されている間に、上記検出部から上記物理情報を取得するための取得部と、上記取得された物理情報に基づいて、上記ツーリングが上記ツーリング保持部に正常に装着されているか否かを判断するための判断部と、上記ツーリングが上記ツーリング保持部に正常に装着されていないと判断された場合に、予め定められた処理を実行するための実行部とを含む。
 本開示の一例では、上記検出部は、カメラを含む。上記カメラは、上記隙間を表わす画像を上記物理情報として取得する。
 本開示の一例では、上記ツーリング保持部は、上記HSKシャンクが上記挿入口に挿入された際に当該HSKシャンクと連動する連動部材を含む。上記検出部は、上記連動部材の位置を上記物理情報として検出するための位置センサを含む。
 本開示の一例では、上記HSKシャンクは、円筒部分を有する。上記円筒部分は、当該円筒部分の中心軸の方向において第1の深さを有する第1溝部と、上記方向において第2の深さを有する第2溝部とを含む。上記第2の深さは、上記第1の深さとは異なる。上記ツーリング保持部は、上記HSKシャンクが上記挿入口に挿入された際に上記第1溝部に係合する第1係合部と、上記HSKシャンクが上記挿入口に挿入された際に上記第2溝部に係合する第2係合部とを含む。
 本開示の一例では、上記判断部は、上記隙間の幅が所定値以上であることを上記物理情報が示す場合に、上記ツーリングが上記ツーリング保持部に正常に装着されていないと判断する。
 本開示の一例では、上記ツーリング保持部は、マガジンと、主軸と、刃物台との少なくとも1つを含む。
 本開示の他の例では、工作機械の制御方法が提供される。上記工作機械は、ツーリングの挿入口を有するツーリング保持部を備える。上記ツーリングは、工具を保持するための工具保持部と、上記挿入口に挿入されるHSKシャンクとを含む。上記工作機械は、さらに、上記ツーリングと上記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部を備える。上記制御方法は、上記ツーリングが上記ツーリング保持部に装着されている間に、上記検出部から上記物理情報を取得するステップと、上記取得された物理情報に基づいて、上記ツーリングが上記ツーリング保持部に正常に装着されているか否かを判断するステップと、上記ツーリングが上記ツーリング保持部に正常に装着されていないと判断された場合に、予め定められた処理を実行するステップとを実行する。
 本開示の他の例では、工作機械の制御プログラムが提供される。上記工作機械は、ツーリングの挿入口を有するツーリング保持部を備える。上記ツーリングは、工具を保持するための工具保持部と、上記挿入口に挿入されるHSKシャンクとを含む。上記工作機械は、さらに、上記ツーリングと上記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部を備える。上記制御プログラムは、上記工作機械に、上記ツーリングが上記ツーリング保持部に装着されている間に、上記検出部から上記物理情報を取得するステップと、上記取得された物理情報に基づいて、上記ツーリングが上記ツーリング保持部に正常に装着されているか否かを判断するステップと、上記ツーリングが上記ツーリング保持部に正常に装着されていないと判断された場合に、予め定められた処理を実行するステップとを実行させる。
 本発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解される本発明に関する次の詳細な説明から明らかとなるであろう。
工作機械の外観を示す図である。 工作機械の駆動機構の一例を示す図である。 HSKツーリングを示す斜視図である。 HSKツーリングの側面を図3に示されるX軸方向から表わした図である。 HSKツーリングの断面を図3に示されるX軸方向から表わした図である。 ツーリング保持部に対するHSKツーリングの装着態様を概略的に示す図である。 ツーリング保持部に対するHSKツーリングの装着態様を概略的に示す図である。 工作機械の機能構成の一例を示す図である。 マガジンを正面から示す図である。 HSKツーリングの装着異常を検出する処理を概略的に示す概念図である。 CPU(Central Processing Unit)ユニットのハードウェア構成の一例を示す図である。 CNC(Computer Numerical Control)ユニットのハードウェア構成の一例を示す図である。 情報処理装置のハードウェア構成の一例を示す図である。 操作盤のハードウェア構成の一例を示す図である。 工作機械の制御部が実行する処理の一部を表わすフローチャートである。 ツーリング保持部に対するHSKツーリングの装着態様を概略的に示す図である。 ツーリング保持部に対するHSKツーリングの装着態様を概略的に示す図である。 変形例に従う工作機械の機能構成の一例を示す図である。
 以下、図面を参照しつつ、本発明に従う各実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらについての詳細な説明は繰り返さない。なお、以下で説明される各実施の形態および各変形例は、適宜選択的に組み合わされてもよい。
 <A.工作機械100>
 まず、図1を参照して、実施の形態に従う工作機械100について説明する。図1は、工作機械100の外観を示す図である。
 本明細書でいう「工作機械」とは、ワークを加工する機能を備えた種々の装置を包含する概念である。工作機械100は、横形のマシニングセンタであってもよいし、立形のマシニングセンタであってもよい。あるいは、工作機械100は、旋盤であってもよいし、付加加工機であってもよいし、その他の切削機械や研削機械であってもよい。
 工作機械100は、工具収納部40Aと、加工機本体40Bとを有する。工具収納部40Aおよび加工機本体40Bのそれぞれは、カバーによって区画化されている。
 工具収納部40Aには、マガジン150と、ATC(Automatic Tool Changer)160とが設けられている。加工機本体40Bには、主軸170が設けられている。
 作業者は、ドアD1を介してマガジン150に工具を装着することができる。加工機本体40Bは、マガジン150に保持されている複数の工具の内の少なくとも1つを用いてワークを加工する。
 より具体的には、工作機械100は、マガジン150を駆動し、加工工程に応じた一の工具(以下、「次使用工具」ともいう。)を第1の工具交換位置に移動する。また、工作機械100は、主軸170を駆動し、主軸170に装着されている工具(以下、「使用済工具」ともいう。)を第2の工具交換位置に移動する。その後、ATC160は、第1の工具交換位置で待機している次使用工具と、第2の工具交換位置で待機している使用済工具とを交換する。工具の交換は、加工機本体40Bと工具収納部40Aとの間の仕切に設けられているドアD2を介して行なわれる。ドアD2は、たとえば、スライド式のドアであり、モータなどの駆動源により開閉される。その後、主軸170は、装着された次使用工具を用いてワークを加工する。
 また、工作機械100には、操作盤500が設けられている。操作盤500は、加工に関する各種情報を表示するためのディスプレイ505と、工作機械100に対する各種操作を受け付ける操作キー506とを含む。
 <B.工作機械100の駆動機構>
 次に、図2を参照して、工作機械100の各種構成について説明する。図2は、工作機械100の駆動機構の一例を示す図である。
 図2に示されるように、工作機械100は、制御部50と、駆動部110,120,130と、マガジン150と、ATC160と、主軸170とを含む。
 説明の便宜のために、以下では、重力方向を「X軸方向」とも称する。X軸に直交する水平面上の一方向を「Y軸方向」とも称する。X軸方向およびY軸方向の両方に直交する方向を「Z軸方向」と称する。
 本明細書でいう「制御部50」とは、工作機械100を制御する装置を意味する。制御部50の装置構成は、任意である。制御部50は、単体の制御ユニットで構成されてもよいし、複数の制御ユニットで構成されてもよい。図2の例では、制御部50は、CPUユニット200と、CNCユニット300と、情報処理装置400とで構成されている。なお、制御部50は、上述の操作盤500(図1参照)を含んでもよい。
 CPUユニット200およびCNCユニット300は、たとえば、バスBを介して互いに通信を行なう。CNCユニット300および情報処理装置400は、たとえば、ネットワークNWを介して互いに通信を行う。
 CPUユニット200は、たとえば、PLC(Programmable Logic Controller)である。CPUユニット200は、予め設計されているPLCプログラムに従って、駆動部110を制御する。当該PLCプログラムは、たとえば、ラダープログラムで記述されている。
 駆動部110は、マガジン150を回転駆動するための駆動機構である。駆動部110の装置構成は、任意である。駆動部110は、単体の駆動ユニットで構成されてもよいし、複数の駆動ユニットで構成されてもよい。図2の例では、駆動部110は、モータドライバ111Mと、モータ112Mとで構成されている。
 モータドライバ111Mは、CPUユニット200からの制御指令に従って、マガジン150を駆動する。マガジン150には、モータ112Mが設けられている。モータ112Mは、サーボモータであってもよいし、ステッピングモータであってもよいし、その他の種類のモータであってもよい。
 より具体的な処理として、モータドライバ111Mは、目標回転速度の入力をCPUユニット200から受け、モータ112Mを制御する。モータ112Mは、モータドライバ111Mからの出力電流に従ってマガジン150を回転駆動し、マガジン150内の指定された次使用工具T1を指定された位置に駆動する。
 また、CPUユニット200は、予め設計されているPLCプログラムに従って、駆動部120を制御する。駆動部120は、ATC160を駆動するための駆動機構である。駆動部120の装置構成は、任意である。駆動部120は、単体の駆動ユニットで構成されてもよいし、複数の駆動ユニットで構成されてもよい。図2の例では、駆動部120は、ATCドライバ121Aと、モータ122A,122Bとで構成されている。
 ATCドライバ121Aは、たとえば、2軸一体型のドライバであり、ATC160に接続されるモータ122A,122Bの駆動を制御する。ATC160は、中心軸165と、アーム166とを含む。アーム166は、たとえば、同時に2つの工具を保持できるダブルアームである。すなわち、アーム166は、中心軸165の軸方向に直交する一方向(たとえば、X軸方向)に中心軸165から延出している工具把持部166Aと、当該一方向の反対方向に中心軸165から延出している工具把持部166Bとを有する。
 モータ122A,122Bの各々は、サーボモータであってもよいし、ステッピングモータであってもよいし、その他の種類のモータであってもよい。ATCドライバ121Aは、たとえば、モータ122Aの目標回転速度の入力と、モータ122Bの目標回転速度の入力とのそれぞれをCPUユニット200から受け、モータ122A,122Bのそれぞれを制御する。モータ122Aは、ATCドライバ121Aからの出力電流に従ってATC160のアーム166を送り駆動し、中心軸165の軸方向の任意の位置にアーム166を駆動する。モータ122Bは、ATCドライバ121Aからの出力電流に従ってATC160のアーム166を回転駆動し、中心軸165を回転中心として任意の回転角度にアーム166を駆動する。
 一例として、ATC160は、工具の交換命令を受けたことに基づいて、マガジン150から次使用工具T1を取得する。その後、ATC160は、使用済工具T2を主軸170から抜き取るとともに、次使用工具T1を主軸170に装着する。その後、ATC160は、主軸170から抜き取った使用済工具T2をマガジン150に収納する。
 CNCユニット300は、CPUユニット200からの加工開始指令を受けたことに基づいて、予め設計されている加工プログラムの実行を開始する。当該加工プログラムは、たとえば、NC(Numerical Control)プログラムで記述されている。CNCユニット300は、当該加工プログラムに従って、駆動部130を駆動する。
 駆動部130は、主軸170を移動するための駆動機構である。駆動部130の装置構成は、任意である。駆動部130は、単体の駆動ユニットで構成されてもよいし、複数の駆動ユニットで構成されてもよい。図2の例では、駆動部130は、モータドライバ131B,131C,131X,131Y,131Zと、モータ132B,132C,132X,132Y,132Zとで構成されている。
 モータドライバ131Bは、CNCユニット300から目標回転速度の入力を逐次的に受け、モータ132Bを制御する。モータ132Bは、Y軸方向を中心として主軸170を回転駆動する。モータ132Bは、交流モータであってもよいし、ステッピングモータであってもよいし、サーボモータであってもよいし、その他の種類のモータであってもよい。
 モータ132Bがサーボモータである場合、モータドライバ131Bは、モータ132Bの回転角度を検出するためのエンコーダ(図示しない)のフィードバック信号からモータ132Bの実回転速度を算出する。そして、モータドライバ131Bは、算出した実回転速度が目標回転速度よりも小さい場合にはモータ132Bの回転速度を上げ、算出した実回転速度が目標回転速度よりも大きい場合にはモータ132Bの回転速度を下げる。このように、モータドライバ131Bは、モータ132Bの回転速度のフィードバックを逐次的に受けながらモータ132Bの回転速度を目標回転速度に近付ける。
 モータドライバ131Cは、CNCユニット300から目標位置の入力を逐次的に受け、モータ132Cを制御する。モータ132Cは、主軸170の軸方向を回転中心として主軸170を回転駆動する。モータ132Cは、交流モータであってもよいし、ステッピングモータであってもよいし、サーボモータであってもよいし、その他の種類のモータであってもよい。モータドライバ131Cによるモータ132Cの制御方法は、モータドライバ131Bと同様であるので、その説明については繰り返さない。
 モータドライバ131Xは、CNCユニット300から目標位置の入力を逐次的に受け、モータ132Xを制御する。モータ132Xは、主軸170を送り駆動し、X軸方向の任意の位置に主軸170を移動する。モータ132Xは、交流モータであってもよいし、ステッピングモータであってもよいし、サーボモータであってもよいし、その他の種類のモータであってもよい。モータドライバ131Xによるモータ132Xの制御方法は、モータドライバ131Bと同様であるので、その説明については繰り返さない。
 モータドライバ131Yは、CNCユニット300から目標位置の入力を逐次的に受け、モータ132Yを制御する。モータ132Yは、主軸170を送り駆動し、Y軸方向の任意の位置に主軸170を移動する。モータ132Yは、交流モータであってもよいし、ステッピングモータであってもよいし、サーボモータであってもよいし、その他の種類のモータであってもよい。モータドライバ131Yによるモータ132Yの制御方法は、モータドライバ131Bと同様であるので、その説明については繰り返さない。
 モータドライバ131Zは、CNCユニット300から目標位置の入力を逐次的に受け、モータ132Zを制御する。モータ132Zは、主軸170を送り駆動し、Z軸方向の任意の位置に主軸170を移動する。モータ132Zは、交流モータであってもよいし、ステッピングモータであってもよいし、サーボモータであってもよいし、その他の種類のモータであってもよい。モータドライバ131Zによるモータ132Zの制御方法は、モータドライバ131Bと同様であるので、その説明については繰り返さない。
 情報処理装置400は、コンピュータである。一例として、情報処理装置400は、デスクトップ型のコンピュータであってもよいし、ノート型のコンピュータであってもよいし、タブレット端末であってもよい。
 情報処理装置400には、カメラ180が接続されている。情報処理装置400には、所定の画像処理プログラムがインストールされており、情報処理装置400は、カメラ180からの入力画像に基づいて、工具の装着異常を検出する。当該検出処理の詳細については後述する。
 <C.HSKツーリング>
 次に、図3~図5を参照して、HSKツーリングの構造について説明する。図3は、HSKツーリング60を示す斜視図である。図4は、HSKツーリング60の側面を図3に示されるX軸方向から表わした図である。図5は、HSKツーリング60の断面を図3に示されるX軸方向から表わした図である。
 HSKツーリング60は、ISO(International Organization for Standardization)に規定されている工具規格の一種である。HSKツーリング60は、工具と工作機械100との接続インターフェイスとして機能する。
 HSKツーリング60は、ツールホルダ62(工具保持部)と、フランジ63と、HSKシャンク64とで構成されている。
 ツールホルダ62は、工具を保持可能に構成される。ツールホルダ62は、フランジ63の一端に繋がっている。
 HSKシャンク64は、フランジ63の他端に繋がっている。HSKシャンク64は、中空の円筒部分を有する。当該円筒部分の内面および外面は、中心軸AXの軸方向に延在している。中心軸AXの軸方向は、ツールホルダ62に対する工具の脱着方向に相当する。また、HSKシャンク64は、中心軸AXの軸方向において深さ「DA」を有する溝部65A(第1溝部)と、中心軸AXの軸方向において深さ「DB」を有する溝部65B(第2溝部)とを有する。
 説明の便宜のために、以下では、中心軸AXと平行な方向であり、HSKツーリング60に対する工具の脱着方向を「Z軸方向」とも称する。また、Z軸方向に直交する方向であり、溝部65Aから溝部65Bに向かう方向を「X軸方向」とも称する。また、Z軸方向およびX軸方向に共に直交する方向を「Y軸方向」とも称する。
 溝部65Aは、Z軸方向に窪んでいる凹形状を有する。同様に、溝部65Bは、Z軸方向に窪んでいる凹形状を有する。溝部65Aおよび溝部65Bは、中心軸AXを中心として互いに対向した位置に設けられている。
 Z軸方向における溝部65Aの深さ「DA」は、Z軸方向における溝部65Bの深さ「DB」とは異なる。図4および図5の例では、溝部65Aの深さ「DA」は、溝部65Bの深さ「DB」よりも浅い。
 <D.HSKツーリングの装着態様>
 次に、図6および図7を参照して、ツーリング保持部70に対するHSKツーリング60の装着態様について説明する。図6および図7は、ツーリング保持部70に対するHSKツーリング60の装着態様を概略的に示す図である。
 図6および図7に示されるように、HSKツーリング60は、工具Tとツーリング保持部70との接続インターフェイスとして機能する。本明細書で言う「ツーリング保持部70」は、HSKツーリング60を保持することが可能な任意のユニットを意味する。ツーリング保持部70の例としては、上述のマガジン150(図1参照)、上述のATC160(図1参照)、上述の主軸170(図1参照)、または刃物台(図示しない)などが挙げられる。
 ツーリング保持部70は、HSKツーリング60の挿入口75を有する。挿入口75は、上述のHSKシャンク64の形状に合わせて形成される。
 上述のように、HSKツーリング60は、Z軸方向に凹んだ溝部65Aを有する。これに対して、ツーリング保持部70は、HSKツーリング60のHSKシャンク64が挿入口75に挿入された際に溝部65Aに係合する係合部75A(第1係合部)を有する。
 また、HSKツーリング60は、Z軸方向に凹んだ溝部65Bを有する。これに対して、ツーリング保持部70は、HSKツーリング60のHSKシャンク64が挿入口75に挿入された際に溝部65Bに係合する係合部75B(第2係合部)を有する。
 中心軸AX方向における係合部75Aの幅は、中心軸AX方向における溝部65Aの深さ「DA」(図4参照)と等しい。中心軸AXの軸方向における係合部75Bの幅は、中心軸AXの軸方向における溝部65Bの深さ「DB」(図5参照)と等しい。また、中心軸AX方向における係合部75Bの幅は、中心軸AX方向における係合部75Aの幅よりも長い。
 上述のように、HSKツーリング60に設けられている2つの溝部65A,65Bは、中心軸AXを中心として互いに対向して設けられている。また、溝部65Aの深さ「DA
」と溝部65Bの深さ「DB」との差は非常に小さいため、HSKツーリング60は、本来とは180度反転してツーリング保持部70に装着されてしまうことがある。
 図6には、HSKツーリング60がツーリング保持部70に正常に装着されている様子が示されている。図6に示されるように、HSKツーリング60がツーリング保持部70に対して正常に装着された場合には、HSKツーリング60とツーリング保持部70との隙間の幅が「D1」となっている。
 図7には、HSKツーリング60がツーリング保持部70に異常に装着されている様子が示されている。図7に示されるように、HSKツーリング60がツーリング保持部70に対して反転して装着されている場合には、HSKツーリング60とツーリング保持部70との隙間の幅が「D2」となっている。異常装着時における隙間の幅「D2」は、正常装着時における隙間の幅「D1」よりも長くなる。
 そこで、工作機械100は、HSKツーリング60とツーリング保持部70との隙間の状態を示す物理情報に基づいて、HSKツーリング60がツーリング保持部70に正常に装着されているか否かを判断する。本明細書でいう「物理情報」とは、HSKツーリング60とツーリング保持部70との隙間の幅に相関する任意の指標を含む概念である。一例として、当該物理情報は、HSKツーリング60とツーリング保持部70との隙間の状態を示す画像情報を含む。他の例として、当該物理情報は、HSKツーリング60とツーリング保持部70との隙間の幅を示す距離情報を含む。
 工作機械100は、HSKツーリング60がツーリング保持部70に正常に装着されていないと判断された場合には、予め定められた警告処理を実行する。これにより、作業者は、HSKツーリング60がツーリング保持部70に異常に装着されたことに気付くことができる。
 <E.工作機械100の機能構成>
 図8~図10を参照して、HSKツーリング60の装着異常を検出するための機能構成について説明する。図8は、工作機械100の機能構成の一例を示す図である。
 工作機械100の制御部50は、機能構成として、取得部54と、判断部56と、実行部58とを含む。以下では、これらの構成について順に説明する。
 なお、図8に示される各機能構成は、制御部50を構成する任意のユニットに実装され得る。一例として、図8に示される機能構成の一部または全部は、上述のCPUユニット200(図2参照)に実装される。他の例として、図8に示される機能構成の一部または全部は、上述のCNCユニット300(図2参照)に実装される。他の例として、図8に示される機能構成の一部または全部は、上述の情報処理装置400(図2参照)に実装される。他の例として、図8に示される機能構成の一部または全部は、上述の操作盤500(図1参照)に実装される。
 なお、図8に示される機能構成の一部は、サーバーなどの外部装置に実装されてもよいし、専用のハードウェアに実装されてもよい。
 (E1.取得部54)
 まず、図9を参照して、図8に示される取得部54の機能について説明する。図9は、マガジン150を正面から示す図である。一例として、取得部54は、情報処理装置400(図2参照)に実装される。
 取得部54は、HSKツーリング60がツーリング保持部70に装着されている間に、HSKツーリング60とツーリング保持部70との隙間の状態を示す物理情報を検出部45から取得する。図8には、検出部45の一例として、カメラ180が示されている。
 取得部54は、HSKツーリング60がツーリング保持部70に装着されている間の少なくとも一タイミングにおいてカメラ180に撮影指示を出力する。これにより、取得部54は、HSKツーリング60とツーリング保持部70との装着部分を表わす後述の入力画像125(図10参照)を上記物理情報としてカメラ180から取得する。
 カメラ180は、たとえば、工具収納部40A(図1参照)内のマガジン150を撮影するために設けられている。マガジン150は、モータ112Mと、駆動スプロケット113と、従動スプロケット114と、無端チェーン115とを含む。
 駆動スプロケット113には、上述のモータ112M(図2参照)の出力軸が連結されている。駆動スプロケット113は、モータ112Mから動力が伝達されることにより回転する。
 無端チェーン115は、駆動スプロケット113と、従動スプロケット114とによって張架されている。モータ112Mが駆動スプロケット113を回転駆動することにより、モータ112Mの動力が無端チェーン115を介して従動スプロケット114に伝達される。その結果、従動スプロケット114および無端チェーン115は、駆動スプロケット113に連動して回転する。
 また、無端チェーン115には、複数のポット70Pが設けられる。ポット70Pは、上述のツーリング保持部70(図6参照)の一例である。ポット70Pの各々には、1つのHSKツーリング60が装着され得る。工作機械100は、モータ112Mを制御することで、指定された工具を任意の位置に駆動することができる。
 作業者は、HSKツーリング60をマガジン150に装着することができる。具体的な装着手順として、作業者がポット70Pを呼び出したことに基づいて、工作機械100は、空のポット70Pを上述のドアD1の前に駆動する。その後、作業者は、ドアD1を開けて、HSKツーリング60を当該空のポット70Pに装着する。その後、作業者は、ドアD1を閉じる。
 作業者がHSKツーリング60をポット70Pに装着したことに基づいて、取得部54は、カメラ180に撮影指示を出力し、HSKツーリング60とポット70Pとの装着部分を表わした後述の入力画像125を取得する。
 カメラ180は、HSKツーリング60とポット70Pとの隙間がカメラ180の撮影視野CRに含まれるように上述の工具収納部40A(図1参照)内に設けられている。これにより、カメラ180は、HSKツーリング60とポット70Pとの隙間の状態を示す画像情報を取得する。
 カメラ180への撮影指示は、HSKツーリング60がツーリング保持部70に装着されている間の任意のタイミングに出力される。典型的には、当該撮影指示は、作業者がHSKツーリング60をポット70Pに装着したタイミングに出力される。
 より具体的には、工作機械100のドアD1(図1参照)には、開閉センサ(図示しない)が設けられている。作業者は、HSKツーリング60をポット70Pに装着したことに基づいて、ドアD1を閉める。そこで、取得部54は、当該開閉センサの出力値がドアD1の開状態を示す値からドアD1の閉状態を示す値に変化したことに基づいて、カメラ180に撮影指示を出力する。
 他の例として、工作機械100には、工具の装着完了ボタン(図示しない)が設けられている。作業者は、HSKツーリング60をポット70Pに装着したことに基づいて、当該装着完了ボタンを押下する。そこで、取得部54は、当該装着完了ボタンが押下されたことに基づいて、カメラ180に撮影指示を出力する。
 なお、上述の例では、カメラ180が工具収納部40Aの内部に設けられている前提で説明を行ったが、カメラ180は、必ずしも工具収納部40Aの内部に設けられる必要はない。一例として、カメラ180は、加工機本体40Bの内部に設けられてもよい。この場合、制御部50は、上述の駆動部130を駆動し、HSKツーリング60が装着された主軸170をカメラ180の前に移動する。主軸170は、上述のツーリング保持部70(図6参照)の一例である。その後、取得部54は、カメラ180に撮影指示を出力し、HSKツーリング60とツーリング保持部70との装着部分を表わした入力画像125を取得する。
 他の例として、カメラ180は、工作機械100内の刃物台(図示しない)を撮影するように設けられても良い。刃物台は、上述のツーリング保持部70(図6参照)の一例である。刃物台は、タレットを有する。当該タレットは、複数のHSKツーリング60を装着可能に構成される。タレットは、旋回可能に構成され、ワークの加工時には所定の位置にHSKツーリング60を旋回する。制御部50は、HSKツーリング60が刃物台に装着されたことに基づいて、当該HSKツーリング60をカメラ180の前に移動する。その後、取得部54は、カメラ180に撮影指示を出力し、HSKツーリング60とツーリング保持部70との装着部分を表わした入力画像125を取得する。
 (E2.判断部56)
 次に、図10を参照して、図8に示される判断部56の機能について説明する。一例として、判断部56は、情報処理装置400(図2参照)に実装される。
 図10は、HSKツーリング60の装着異常を検出する処理を概略的に示す概念図である。図10には、基準画像124と入力画像125とが示されている。判断部56は、取得部54によって取得された入力画像125を基準画像124と比較することで、HSKツーリング60がツーリング保持部70に正常に装着されたか否かを判断する。
 基準画像124は、HSKツーリング60がツーリング保持部70に正常に装着されている際にHSKツーリング60を予め撮影して得られた画像である。基準画像124は、たとえば、工作機械100の記憶装置に予め格納されている。
 一例として、判断部56は、入力画像125から基準画像124を差分し、差分画像126を生成する。そして、判断部56は、差分画像126に基づいて、HSKツーリング60がツーリング保持部70に正常に装着されたか否かを判断する。
 より具体的には、まず、判断部56は、差分画像126において画素値が閾値th以下である画素に「0」(黒色)を割り当て、差分画像126において画素値が閾値thよりも大きい画素に「255」(白色)に割り当てる。これにより、判断部56は、差分画像126から2値化画像を生成する。その後、判断部56は、「0」の画素値を有する画素の数をカウントし、当該カウント値が所定値以上である場合には、HSKツーリング60がツーリング保持部70に正常に装着されていると判断する。一方で、判断部56は、当該カウント値が所定値よりも小さい場合には、HSKツーリング60がツーリング保持部70に異常に装着されていると判断する。
 なお、判断部56は、HSKツーリング60の装着異常を検出する際に基準画像124を必ずしも用いる必要はない。当該検出処理には、種々の画像処理アルゴリズムが用いられ得る。一例として、判断部56は、学習済モデルを用いてHSKツーリング60の装着異常を検出する。
 当該学習済みモデルは、学習用データセットを用いた学習処理により予め生成されている。学習用データセットは、HSKツーリング60とツーリング保持部70との装着状態を示す複数の学習用画像を含む。各学習用画像には、HSKツーリング60がツーリング保持部70に正常に装着されているか否かを示すラベルが関連付けられている。学習済みモデルの内部パラメータは、このような学習用データセットを用いた学習処理により予め最適化されている。
 学習済みモデルを生成するための学習手法には、種々の機械学習アルゴリズムが採用され得る。一例として、当該機械学習アルゴリズムとして、ディープラーニング、コンボリューションニューラルネットワーク(CNN)、全層畳み込みニューラルネットワーク(FCN)、サポートベクターマシンなどが採用される。
 判断部56は、カメラ180から入力画像125を取得したことに基づいて、当該入力画像125を学習済モデルに入力する。その結果、当該学習済モデルは、HSKツーリング60の装着異常を示す確率を出力する。判断部56は、当該確率が所定値を超えた場合、HSKツーリング60がツーリング保持部70に対して異常に装着されたと判断する。
 (E3.実行部58)
 次に、図8に示される実行部58の機能について説明する。実行部58は、たとえば、上述の情報処理装置400または上述の操作盤500に実装される。
 実行部58は、HSKツーリング60がツーリング保持部70に異常に装着されたと判断部56によって判断された場合に、予め定められた警告処理を実行する。当該警告処理は、HSKツーリング60がツーリング保持部70に異常に装着されたことを作業者に報知するための処理である。
 一例として、実行部58は、HSKツーリング60の装着異常を示す警告を操作盤500のディスプレイ505に表示する。当該警告は、たとえば、ツーリング保持部70に対してHSKツーリング60を180度反転して装着し直すことを促すメッセージを含む。これにより、作業者は、HSKツーリング60をツーリング保持部70に対してどのように装着し直せばよいのかを容易に把握することができる。
 なお、上述では、装着異常を示す警告が操作盤500のディスプレイ505に表示される例について説明を行なったが、当該警告は、その他の表示部に表示されてもよい。また、当該警告の出力態様は、表示に限定されない。一例として、当該警告は、ブザー音や音声などの音で出力されてもよい。あるいは、当該警告は、メールなどにより他の装置に送信されてもよい。
 <F.CPUユニット200のハードウェア構成>
 図11を参照して、上述の図2に示されるCPUユニット200のハードウェア構成について説明する。図11は、CPUユニット200のハードウェア構成の一例を示す図である。
 CPUユニット200は、制御回路201と、ROM(Read Only Memory)202と、RAM(Random Access Memory)203と、フィールドバスコントローラ204と、補助記憶装置220とを含む。これらのコンポーネントは、内部バス209に接続される。
 制御回路201は、たとえば、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU、少なくとも1つのGPU(Graphics Processing Unit)、少なくとも1つのASIC(Application Specific Integrated Circuit)、少なくとも1つのFPGA(Field Programmable Gate Array)、またはそれらの組み合わせなどによって構成され得る。
 制御回路201は、制御プログラム222などの各種プログラムを実行することでCPUユニット200の動作を制御する。制御回路201は、制御プログラム222の実行命令を受け付けたことに基づいて、補助記憶装置220またはROM202からRAM203に制御プログラム222を読み出す。RAM203は、ワーキングメモリとして機能し、制御プログラム222の実行に必要な各種データを一時的に格納する。
 フィールドバスコントローラ204は、フィールドバスに接続される各種ユニットとの通信を実現するための通信ユニットである。フィールドネットワークの通信規格としては、たとえば、EtherCAT(登録商標)、EtherNet/IP(登録商標)、CC-Link(登録商標)、またはCompoNet(登録商標)などが採用される。当該フィールドバスに接続されるユニットの一例として、上述のモータドライバ111M、ATCドライバ121A、上述のCNCユニット300などが挙げられる。
 補助記憶装置220は、たとえば、ハードディスクやフラッシュメモリなどの記憶媒体である。補助記憶装置220は、制御プログラム222などを格納する。なお、制御プログラム222の格納場所は、補助記憶装置220に限定されず、制御回路201の記憶領域(たとえば、キャッシュメモリ)、ROM202、RAM203、外部機器(たとえば、サーバー)などに格納されていてもよい。
 また、制御プログラム222は、単体のプログラムとしてではなく、任意のプログラムの一部に組み込まれて提供されてもよい。この場合、本実施の形態に従う各種の処理は、任意のプログラムと協働して実現される。このような一部のモジュールを含まないプログラムであっても、本実施の形態に従う制御プログラム222の趣旨を逸脱するものではない。さらに、制御プログラム222によって提供される機能の一部または全部は、専用のハードウェアによって実現されてもよい。さらに、少なくとも1つのサーバーが制御プログラム222の処理の一部を実行する所謂クラウドサービスのような形態でCPUユニット200が構成されてもよい。
 <G.CNCユニット300のハードウェア構成>
 次に、図12を参照して、上述の図2に示されるCNCユニット300のハードウェア構成について説明する。図12は、CNCユニット300のハードウェア構成の一例を示す図である。
 CNCユニット300は、制御回路301と、ROM302と、RAM303と、通信インターフェイス304と、通信インターフェイス305と、フィールドバスコントローラ306と、補助記憶装置320とを含む。これらのコンポーネントは、内部バス309に接続される。
 制御回路301は、たとえば、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU、少なくとも1つのASIC、少なくとも1つのFPGA、またはそれらの組み合わせなどによって構成され得る。
 制御回路301は、加工プログラム322などの各種プログラムを実行することでCNCユニット300の動作を制御する。加工プログラム322は、ワーク加工を実現するためのプログラムである。制御回路301は、加工プログラム322の実行命令を受け付けたことに基づいて、ROM302からRAM303に加工プログラム322を読み出す。RAM303は、ワーキングメモリとして機能し、加工プログラム322の実行に必要な各種データを一時的に格納する。
 通信インターフェイス304には、LAN、WLAN、またはBluetooth(登録商標)などが接続される。CNCユニット300は、通信インターフェイス304を介して外部機器とデータをやり取りする。当該外部機器としては、たとえば、上述の情報処理装置400、上述の操作盤500、サーバー(図示しない)などが挙げられる。
 通信インターフェイス305は、外部機器との通信を実現するためのインターフェイスである。一例として、CNCユニット300は、通信インターフェイス305を介して外部機器とデータをやり取りする。当該外部機器は、ワーク加工のための各種駆動ユニット(たとえば、上述のモータドライバ131B,131C,131X~131Zなど)などを含む。
 フィールドバスコントローラ306は、フィールドバスに接続される各種ユニットとの通信を実現するための通信ユニットである。フィールドネットワークの通信規格としては、たとえば、EtherCAT、EtherNet/IP、CC-Link、またはCompoNetなどが採用される。当該フィールドバスに接続されるユニットの一例として、CPUユニット200などが挙げられる。
 補助記憶装置320は、たとえば、ハードディスクやフラッシュメモリなどの記憶媒体である。補助記憶装置320は、加工プログラム322などを格納する。なお、加工プログラム322の格納場所は、補助記憶装置320に限定されず、制御回路301の記憶領域(たとえば、キャッシュメモリ)、ROM302、RAM303、外部機器(たとえば、サーバー)などに格納されていてもよい。
 <H.情報処理装置400のハードウェア構成>
 次に、図13を参照して、上述の図2に示される情報処理装置400のハードウェア構成について説明する。図13は、情報処理装置400のハードウェア構成の一例を示す図である。
 情報処理装置400は、制御回路401と、ROM402と、RAM403と、通信インターフェイス404と、カメラインターフェイス405と、補助記憶装置420とを含む。これらのコンポーネントは、内部バス409に接続される。
 制御回路401は、たとえば、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU、少なくとも1つのGPU、少なくとも1つのASIC、少なくとも1つのFPGA、またはそれらの組み合わせなどによって構成され得る。
 制御回路401は、HSKツーリング60の装着異常を検出するための制御プログラム422などの各種プログラムを実行することで情報処理装置400の動作を制御する。制御回路401は、各種プログラムの実行命令を受け付けたことに基づいて、補助記憶装置420またはROM402からRAM403に実行対象のプログラムを読み出す。RAM403は、ワーキングメモリとして機能し、プログラムの実行に必要な各種データを一時的に格納する。
 通信インターフェイス404には、LAN、WLAN、またはBluetoothなどを用いた通信を実現するためのインターフェイスである。情報処理装置400は、通信インターフェイス404を介して外部機器(たとえば、CNCユニット300やサーバー)とデータをやり取りする。情報処理装置400は、通信インターフェイス404を介して制御プログラム422をダウンロードできるように構成されてもよい。
 カメラインターフェイス405は、有線または無線でカメラ180に接続するためのインターフェイスである。カメラ180は、CCD(Charge Coupled Device)カメラであってもよいし、赤外線カメラ(サーモグラフィ)であってもよいし、その他の種類のカメラであってもよい。
 補助記憶装置420は、たとえば、ハードディスクやフラッシュメモリなどの記憶媒体である。補助記憶装置420は、たとえば、上述の基準画像124と、制御プログラム422とを格納する。基準画像124および制御プログラム422の格納場所は、補助記憶装置420に限定されず、制御回路401の記憶領域(たとえば、キャッシュメモリなど)、ROM402、RAM403、外部機器(たとえば、サーバー)などに格納されていてもよい。
 なお、制御プログラム422は、単体のプログラムとしてではなく、任意のプログラムの一部に組み込まれて提供されてもよい。この場合、任意のプログラムと協働して本実施の形態に従う処理が実現される。このような一部のモジュールを含まないプログラムであっても、本実施の形態に従う工作機械100の趣旨を逸脱するものではない。さらに、本実施の形態に従う制御プログラム422によって提供される機能の一部または全部は、専用のハードウェアによって実現されてもよい。さらに、工作機械100とサーバーとが協働して、本実施の形態に従う処理を実現するようにしてもよい。さらに、少なくとも1つのサーバーが本実施の形態に従う処理を実現する、所謂クラウドサービスの形態で情報処理装置400が構成されてもよい。
 <I.操作盤500のハードウェア構成>
 次に、図14を参照して、上述の図2に示される操作盤500のハードウェア構成について説明する。図14は、操作盤500のハードウェア構成の一例を示す図である。
 操作盤500は、制御回路501と、ROM(Read Only Memory)502と、RAM(Random Access Memory)503と、通信インターフェイス504と、ディスプレイ505と、操作キー506と、補助記憶装置520とを含む。これらのコンポーネントは、内部バス509に接続される。
 制御回路501は、たとえば、少なくとも1つの集積回路によって構成される。集積回路は、たとえば、少なくとも1つのCPU、少なくとも1つのGPU、少なくとも1つのASIC、少なくとも1つのFPGA、またはそれらの組み合わせなどによって構成され得る。
 制御回路501は、制御プログラム522などの各種プログラムを実行することで操作盤500の動作を制御する。制御プログラム522は、操作盤500を制御するための命令を規定している。制御回路501は、制御プログラム522の実行命令を受け付けたことに基づいて、補助記憶装置520またはROM502からRAM503に制御プログラム522を読み出す。RAM503は、ワーキングメモリとして機能し、制御プログラム522の実行に必要な各種データを一時的に格納する。
 通信インターフェイス504は、LAN(Local Area Network)ケーブル、WLAN、またはBluetoothなどを用いた通信を実現するための通信ユニットである。一例として、操作盤500は、通信インターフェイス504を介して、上述のCNCユニット300などの外部機器との通信を実現する。
 ディスプレイ505は、たとえば、液晶ディスプレイ、有機ELディスプレイ、またはその他の表示機器である。ディスプレイ505は、制御回路501などからの指令に従って、ディスプレイ505に対して、画像を表示するための画像信号を送出する。ディスプレイ505は、たとえば、タッチパネルで構成されており、工作機械100に対する各種操作をタッチ操作で受け付ける。
 操作キー506は、複数のハードウェアキーで構成され、操作盤500に対する各種のユーザ操作を受け付ける。押下されたキーに応じた信号が制御回路501に出力される。
 補助記憶装置520は、たとえば、ハードディスクやフラッシュメモリなどの記憶媒体である。補助記憶装置520は、制御プログラム522などを格納する。制御プログラム522の格納場所は、補助記憶装置520に限定されず、制御回路501の記憶領域(たとえば、キャッシュメモリ)、ROM502、RAM503、外部機器(たとえば、サーバー)などに格納されていてもよい。
 <J.フローチャート>
 次に、図15を参照して、工作機械100の制御構造について説明する。図15は、工作機械100の制御部50が実行する処理の一部を表わすフローチャートである。
 図15に示される処理は、制御部50が制御プログラム(たとえば、上述の制御プログラム422または上述の制御プログラム522など)を実行することにより実現される。他の局面において、処理の一部または全部が、回路素子またはその他のハードウェアによって実行されてもよい。
 ステップS110において、制御部50は、HSKツーリング60がツーリング保持部70に装着されたか否かを判断する。HSKツーリング60がツーリング保持部70に装着されたか否かは、種々の方法で判断される。
 一例として、工作機械100のドアD1(図1参照)には、開閉センサ(図示しない)が設けられている。作業者は、ツーリング保持部70に対するHSKツーリング60の装着が完了したことに基づいてドアD1を閉める。そこで、制御部50は、当該開閉センサの出力値がドアD1の開状態を示す値からドアD1の閉状態を示す値に変化したことに基づいて、HSKツーリング60がツーリング保持部70に装着されたと判断する。
 他の例として、工作機械100には、装着完了ボタン(図示しない)が設けられている。作業者は、ツーリング保持部70に対するHSKツーリング60の装着が完了したことに基づいて、当該装着完了ボタンを押下する。そこで、制御部50は、当該装着完了ボタンが押下されたことに基づいて、HSKツーリング60がツーリング保持部70に装着されたと判断する。
 制御部50は、HSKツーリング60がツーリング保持部70に装着されたと判断した場合(ステップS110においてYES)、制御をステップS112に切り替える。そうでない場合には(ステップS110においてNO)、制御部50は、ステップS110の処理を再び実行する。
 ステップS112において、制御部50は、上述の取得部54(図8参照)として機能し、上述のカメラ180に撮影指示を出力する。これにより、制御部50は、HSKツーリング60とツーリング保持部70との装着部分を表わす上述の入力画像125(図10参照)を取得する。
 ステップS114において、制御部50は、ステップS112で取得した入力画像125を基準画像124と比較する。基準画像124と入力画像125との比較方法については上述の図10などで説明した通りであるので、その説明については繰り返さない。
 ステップS120において、制御部50は、上述の判断部56(図8参照)として機能し、ステップS114での比較結果に基づいて、HSKツーリング60がツーリング保持部70に異常に装着されたか否かを判断する。制御部50は、HSKツーリング60がツーリング保持部70に異常に装着されたと判断した場合(ステップS120においてYES)、制御をステップS122に切り替える。そうでない場合には(ステップS120においてNO)、制御部50は、図15に示される処理を終了する。
 ステップS122において、制御部50は、上述の実行部58(図8参照)として機能し、予め定められた警告処理を実行する。一例として、制御部50は、HSKツーリング60の装着異常を示す警告を操作盤500のディスプレイ505に表示する。当該警告は、たとえば、ツーリング保持部70に対してHSKツーリング60を180度反転して装着し直すことを促すメッセージを含む。
 <K.変形例>
 (K1.概要)
 次に、HSKツーリング60の装着異常を検出する方法の変形例について説明する。
 上述では、工作機械100は、HSKツーリング60とツーリング保持部70との隙間の状態をカメラ180で撮影することで、ツーリング保持部70に対するHSKツーリング60の装着異常を検出していた。これに対して、本変形例に従う工作機械100は、HSKツーリング60とツーリング保持部70との隙間の幅に相関する物理情報を検出するための位置センサを用いて、ツーリング保持部70に対するHSKツーリング60の装着異常を検出する。当該位置センサを用いる点以外については上述の通りであるので、以下ではそれ以外の説明については繰り返さない。
 (K2.HSKツーリングの装着態様)
 まず、図16および図17を参照して、ツーリング保持部70に対するHSKツーリング60の装着態様について説明する。図16および図17は、ツーリング保持部70に対するHSKツーリング60の装着態様を概略的に示す図である。
 本変形例に従うツーリング保持部70は、HSKシャンク64が挿入口75に挿入された際にHSKシャンク64と連動する連動部材90を有する。連動部材90は、中心軸AXとの軸方向に移動可能なようにツーリング保持部70に設けられている。連動部材90は、たとえば、中心軸AXの軸方向に延設されるピンである。
 ツーリング保持部70には、孔Hが設けられている。孔Hは、中心軸AXの軸方向に延びている。連動部材90は、孔Hの内部を通るようにツーリング保持部70に設けられている。
 図16には、HSKツーリング60がツーリング保持部70に正常に装着されている様子が示されている。HSKツーリング60がツーリング保持部70に正常に装着されている場合には、溝部65Aが連動部材90に接触し、かつ溝部65Bが係合部75Bに接触する。その結果、連動部材90は、溝部65Aによって、HSKツーリング60の挿入方向(すなわち、中心軸AXの軸方向)に押し込まれる。
 図17には、HSKツーリング60がツーリング保持部70に異常に装着されている様子が示されている。HSKツーリング60がツーリング保持部70に異常に装着されている場合には、溝部65Aが係合部75Bに接触し、かつ溝部65Bが連動部材90に接触する。その結果、連動部材90は、溝部65Bによって、HSKツーリング60の挿入方向(すなわち、中心軸AXの軸方向)に押し込まれる。
 HSKツーリング60がツーリング保持部70に挿入された際の連動部材90の移動量は、HSKツーリング60とツーリング保持部70との隙間の幅に相関する。そのため、当該移動量は、HSKツーリング60がツーリング保持部70に正常に装着されたか否かを判断するための指標になり得る。
 そこで、本変形例に従う工作機械100は、HSKツーリング60がツーリング保持部70に装着された際における連動部材90の移動量を、位置センサ190を用いて検出する。位置センサ190は、HSKツーリング60とツーリング保持部70との隙間の状態を示す物理情報として連動部材90の位置を検出する。
 なお、位置センサ190の種類は特に限定されない。少なくとも2段階で連動部材90の位置を区別することが可能な任意のセンサが位置センサ190として採用され得る。一例として、位置センサ190は、その検出可能範囲内において物体の有無を検出することが可能な非接触式の近接センサである。他の例として、位置センサ190は、連動部材90が接触したことを検出することが可能な接触式のスイッチであってもよい。他の例として、位置センサ190は、自身から連動部材90までの距離を検出することが可能な距離センサであってもよい。
 図16および図17には、位置センサ190の一例として、非接触式の近接センサが示されている。位置センサ190は、HSKツーリング60がツーリング保持部70に装着された際に、連動部材90が位置センサ190の検出可能範囲の内外間を移動するようにツーリング保持部70に設けられている。
 より具体的には、HSKツーリング60がツーリング保持部70に正常に挿入された際には、連動部材90は、位置センサ190の検出可能範囲外から位置センサ190の検出可能範囲内に移動する。一方で、HSKツーリング60がツーリング保持部70に異常に装着された際には、連動部材90は、位置センサ190の検出可能範囲内まで移動しない。これにより、工作機械10は、位置センサ190の出力値に応じて、HSKツーリング60の装着異常を検出することができる。
 (K3.機能構成)
 次に、図18を参照して、変形例に従う工作機械100の機能構成について説明する。図18は、変形例に従う工作機械100の機能構成の一例を示す図である。
 図18に示されるように、工作機械100の制御部50は、機能構成として、取得部54Aと、判断部56Aと、実行部58とを含む。図18に示される機能構成は、上述の図8に示される機能構成と比較すると、取得部54の代わりに取得部54Aを備える点と、判断部56の代わりに判断部56Aを備える点とで異なる。実行部58の機能については上述の通りであるので、以下ではその説明については繰り返さない。
 (a)取得部54A
 まず、図18に示される取得部54Aの機能について説明する。一例として、取得部54Aは、情報処理装置400(図2参照)に実装される。
 取得部54は、HSKツーリング60とツーリング保持部70との隙間の状態を示す物理情報を検出部45から取得する。図18には、検出部45の一例として、上述の位置センサ190が示されている。位置センサ190は、HSKツーリング60とツーリング保持部70との隙間の状態を示す検出値を上記物理情報として検出する。
 取得部54Aが位置センサ190の検出値を取得するタイミングは、任意である。典型的には、取得部54Aは、作業者がHSKツーリング60をツーリング保持部70に装着したことに基づいて、位置センサ190から検出値を取得する。
 より具体的には、工作機械100のドアD1(図1参照)には、開閉センサ(図示しない)が設けられている。作業者は、ツーリング保持部70に対するHSKツーリング60の装着が完了したことに基づいてドアD1を閉める。そこで、取得部54Aは、当該開閉センサの出力値がドアD1の開状態を示す値からドアD1の閉状態を示す値に変化したことに基づいて、位置センサ190から検出値を取得する。
 他の例として、工作機械100には、装着完了ボタン(図示しない)が設けられている。作業者は、ツーリング保持部70に対するHSKツーリング60の装着が完了したことに基づいて、当該装着完了ボタンを押下する。そこで、取得部54Aは、当該装着完了ボタンが押下されたことに基づいて、位置センサ190から検出値を取得する。
 (b)判断部56A
 次に、図18に示される判断部56Aの機能について説明する。一例として、判断部56Aは、情報処理装置400(図2参照)に実装される。
 判断部56Aは、HSKツーリング60とツーリング保持部70との隙間の幅が所定値以上であることを位置センサ190の検出値が示す場合に、HSKツーリング60がツーリング保持部70に異常に装着されたと判断する。
 判断部56Aによる装着異常の判断アルゴリズムは、位置センサ190の種類に応じて設計される。一例として、位置センサ190が物体の有無を2値で示す近接センサであるとする。この場合、位置センサ190の出力値が「0」であることは、位置センサ190の前に連動部材90が存在しないことを示す。一方で、位置センサ190の出力値が「1」であることは、位置センサ190の前に連動部材90が存在することを示す。
 そこで、判断部56Aは、HSKツーリング60がツーリング保持部70に装着された際における位置センサ190の検出値が「0」を示す場合、HSKツーリング60がツーリング保持部70に異常に装着されたと判断する。一方で、判断部56Aは、HSKツーリング60がツーリング保持部70に装着された際における位置センサ190の検出値が「1」を示す場合、HSKツーリング60がツーリング保持部70に正常に装着されたと判断する。
 他の例として、位置センサ190が物体までの距離を出力する距離センサであるとする。この場合、位置センサ190の出力値が所定値以上であることは、位置センサ190の前に連動部材90が存在しないことを示す。一方で、位置センサ190の出力値が所定値よりも小さいことは、位置センサ190の前に連動部材90が存在することを示す。
 そこで、判断部56Aは、HSKツーリング60がツーリング保持部70に装着された際における位置センサ190の検出値が所定値以上である場合、HSKツーリング60がツーリング保持部70に異常に装着されたと判断する。一方で、判断部56Aは、HSKツーリング60がツーリング保持部70に装着された際における位置センサ190の検出値が所定値よりも小さい場合、HSKツーリング60がツーリング保持部70に正常に装着されたと判断する。
 <L.まとめ>
 以上のようにして、工作機械100は、HSKツーリング60がツーリング保持部70に装着されている間に、HSKツーリング60とツーリング保持部70との隙間の状態を示す物理情報を検出部45から取得する。そして、工作機械100は、当該物理情報に基づいて、HSKツーリング60がツーリング保持部70に正常に装着されているか否かを判断する。HSKツーリング60がツーリング保持部70に正常に装着されていないと判断された場合には、工作機械100は、予め定められた警告処理を実行する。これにより、作業者は、HSKツーリング60がツーリング保持部70に異常に装着されたことに気付くことができる。
 今回開示された実施の形態は全ての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内での全ての変更が含まれることが意図される。
 10 工作機械、40A 工具収納部、40B 加工機本体、45 検出部、50 制御部、54 取得部、54A 取得部、56 判断部、56A 判断部、58 実行部、60 HSKツーリング、62 ツールホルダ、63 フランジ、64 HSKシャンク、65A 溝部、65B 溝部、70 ツーリング保持部、70P ポット、75 挿入口、75A 係合部、75B 係合部、90 連動部材、100 工作機械、110 駆動部、111M モータドライバ、112M モータ、113 駆動スプロケット、114 従動スプロケット、115 無端チェーン、120 駆動部、121A ATCドライバ、122A モータ、122B モータ、124 基準画像、125 入力画像、126 差分画像、130 駆動部、131B モータドライバ、131C モータドライバ、131X モータドライバ、131Y モータドライバ、131Z モータドライバ、132B モータ、132C モータ、132X モータ、132Y モータ、132Z モータ、150 マガジン、165 中心軸、166 アーム、166A 工具把持部、166B 工具把持部、170 主軸、180 カメラ、190 位置センサ、200 CPUユニット、201 制御回路、202 ROM、203 RAM、204 フィールドバスコントローラ、209 内部バス、220 補助記憶装置、222 制御プログラム、300 CNCユニット、301 制御回路、302 ROM、303 RAM、304 通信インターフェイス、305 通信インターフェイス、306 フィールドバスコントローラ、309 内部バス、320 補助記憶装置、322 加工プログラム、400 情報処理装置、401 制御回路、402 ROM、403 RAM、404 通信インターフェイス、405 カメラインターフェイス、409 内部バス、420 補助記憶装置、422 制御プログラム、500 操作盤、501 制御回路、502 ROM、503 RAM、504 通信インターフェイス、505 ディスプレイ、506 操作キー、509 内部バス、520 補助記憶装置、522 制御プログラム。

Claims (9)

  1.  工作機械であって、
     ツーリングの挿入口を有するツーリング保持部を備え、
     前記ツーリングは、
      工具を保持するための工具保持部と、
      前記挿入口に挿入されるHSKシャンクとを含み、
     前記工作機械は、さらに、
      前記ツーリングと前記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部と、
      前記工作機械を制御するための制御部とを備え、
     前記制御部は、
      前記ツーリングが前記ツーリング保持部に装着されている間に、前記検出部から前記物理情報を取得するための取得部と、
      前記取得された物理情報に基づいて、前記ツーリング保持部に対する前記ツーリングの挿入方向を中心として前記ツーリングが前記ツーリング保持部に反転して装着されているか否かを判断するための判断部と、
      前記ツーリングが前記ツーリング保持部に反転して装着されていると判断された場合に、予め定められた処理を実行するための実行部とを含む、工作機械。
  2.  前記検出部は、カメラを含み、
     前記カメラは、前記隙間を表わす画像を前記物理情報として取得する、請求項1に記載の工作機械。
  3.  前記ツーリング保持部は、前記HSKシャンクが前記挿入口に挿入された際に当該HSKシャンクと連動する連動部材を含み、
     前記検出部は、前記連動部材の位置を前記物理情報として検出するための位置センサを含む、請求項1または2に記載の工作機械。
  4.  前記HSKシャンクは、円筒部分を有し、
     前記円筒部分は、
      当該円筒部分の中心軸の方向において第1の深さを有する第1溝部と、
      前記方向において第2の深さを有する第2溝部とを含み、
     前記第2の深さは、前記第1の深さとは異なり、
     前記ツーリング保持部は、
      前記HSKシャンクが前記挿入口に挿入された際に前記第1溝部に係合する第1係合部と、
      前記HSKシャンクが前記挿入口に挿入された際に前記第2溝部に係合する第2係合部とを含む、請求項1~3のいずれか1項に記載の工作機械。
  5.  前記判断部は、前記隙間の幅が所定値以上であることを前記物理情報が示す場合に、前記ツーリングが前記ツーリング保持部に反転して装着されていると判断する、請求項1~4のいずれか1項に記載の工作機械。
  6.  前記ツーリング保持部は、マガジンと、主軸と、刃物台との少なくとも1つを含む、請求項1~5のいずれか1項に記載の工作機械。
  7.  前記工作機械は、さらに、ディスプレイを備え、
     前記予め定められた処理は、前記ツーリングの装着異常を示す警告を前記ディスプレイ
    に表示する処理を含み、
     前記警告は、前記ツーリング保持部に対して前記ツーリングを反転して装着し直すこと
    を促すメッセージを含む、請求項1~6のいずれか1項に記載の工作機械。
  8.  工作機械の制御方法であって、
     前記工作機械は、ツーリングの挿入口を有するツーリング保持部を備え、
     前記ツーリングは、
      工具を保持するための工具保持部と、
      前記挿入口に挿入されるHSKシャンクとを含み、
     前記工作機械は、さらに、前記ツーリングと前記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部を備え、
     前記制御方法は、
      前記ツーリングが前記ツーリング保持部に装着されている間に、前記検出部から前記物理情報を取得するステップと、
      前記取得された物理情報に基づいて、前記ツーリング保持部に対する前記ツーリングの挿入方向を中心として前記ツーリングが前記ツーリング保持部に反転して装着されているか否かを判断するステップと、
      前記ツーリングが前記ツーリング保持部に反転して装着されていると判断された場合に、予め定められた処理を実行するステップとを備える、制御方法。
  9.  工作機械の制御プログラムであって、
     前記工作機械は、ツーリングの挿入口を有するツーリング保持部を備え、
     前記ツーリングは、
      工具を保持するための工具保持部と、
      前記挿入口に挿入されるHSKシャンクとを含み、
     前記工作機械は、さらに、前記ツーリングと前記ツーリング保持部との隙間の状態を示す物理情報を検出するための検出部を備え、
     前記制御プログラムは、前記工作機械に、
      前記ツーリングが前記ツーリング保持部に装着されている間に、前記検出部から前記物理情報を取得するステップと、
      前記取得された物理情報に基づいて、前記ツーリング保持部に対する前記ツーリングの挿入方向を中心として前記ツーリングが前記ツーリング保持部に反転して装着されているか否かを判断するステップと、
      前記ツーリングが前記ツーリング保持部に反転して装着されていると判断された場合に、予め定められた処理を実行するステップとを実行させる、制御プログラム。
PCT/JP2022/034708 2021-09-21 2022-09-16 工作機械、制御方法、および制御プログラム Ceased WO2023048078A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22872832.5A EP4406696A4 (en) 2021-09-21 2022-09-16 MACHINE TOOL, CONTROL METHOD AND CONTROL PROGRAM
US18/693,188 US20250001538A1 (en) 2021-09-21 2022-09-16 Machine tool, control method, and control program
CN202280063309.8A CN118076462A (zh) 2021-09-21 2022-09-16 机床、控制方法以及控制程序

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-152818 2021-09-21
JP2021152818A JP7055928B1 (ja) 2021-09-21 2021-09-21 工作機械、制御方法、および制御プログラム

Publications (1)

Publication Number Publication Date
WO2023048078A1 true WO2023048078A1 (ja) 2023-03-30

Family

ID=81289271

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/034708 Ceased WO2023048078A1 (ja) 2021-09-21 2022-09-16 工作機械、制御方法、および制御プログラム

Country Status (5)

Country Link
US (1) US20250001538A1 (ja)
EP (1) EP4406696A4 (ja)
JP (1) JP7055928B1 (ja)
CN (1) CN118076462A (ja)
WO (1) WO2023048078A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7055928B1 (ja) * 2021-09-21 2022-04-18 Dmg森精機株式会社 工作機械、制御方法、および制御プログラム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002331442A (ja) * 2001-05-07 2002-11-19 Yamazaki Mazak Corp 工作機械のツールホルダの偏心検出装置
JP2006315158A (ja) 2005-05-16 2006-11-24 Tokyo Seimitsu Co Ltd 工作機械及びツールホルダの装着状態異常判定方法
WO2016139726A1 (ja) * 2015-03-02 2016-09-09 株式会社牧野フライス製作所 工具装着評価方法および工作機械
JP6868147B1 (ja) * 2020-08-04 2021-05-12 Dmg森精機株式会社 工作機械、検知方法、および、検知プログラム

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4415306A1 (de) * 1994-04-30 1995-11-02 Chiron Werke Gmbh Werkzeugmaschine
ITBO20010385A1 (it) * 2001-06-18 2002-12-18 Marposs Spa Metodo e apparecchiatura per il controllo della posizione operativa di un utensile
DE10323593A1 (de) * 2003-05-16 2004-12-09 Chiron-Werke Gmbh & Co Kg Werkzeugmaschine
US9205524B2 (en) * 2009-01-16 2015-12-08 John Wayne Stoneback Test gauge
AT512250B1 (de) * 2011-11-18 2013-11-15 Anger Machining Gmbh Werkzeugmaschine mit einer vielzahl feststehender werkzeugspindeln
US11660677B2 (en) * 2018-05-30 2023-05-30 Amera-Seiki Direct, Llc Tooling assemblies for lathe machines, CNC threading lathes, and methods of milling threads in tubular workpieces
JP7055928B1 (ja) * 2021-09-21 2022-04-18 Dmg森精機株式会社 工作機械、制御方法、および制御プログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002331442A (ja) * 2001-05-07 2002-11-19 Yamazaki Mazak Corp 工作機械のツールホルダの偏心検出装置
JP2006315158A (ja) 2005-05-16 2006-11-24 Tokyo Seimitsu Co Ltd 工作機械及びツールホルダの装着状態異常判定方法
WO2016139726A1 (ja) * 2015-03-02 2016-09-09 株式会社牧野フライス製作所 工具装着評価方法および工作機械
JP6868147B1 (ja) * 2020-08-04 2021-05-12 Dmg森精機株式会社 工作機械、検知方法、および、検知プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4406696A4

Also Published As

Publication number Publication date
JP7055928B1 (ja) 2022-04-18
EP4406696A4 (en) 2025-01-01
JP2023044778A (ja) 2023-04-03
CN118076462A (zh) 2024-05-24
EP4406696A1 (en) 2024-07-31
US20250001538A1 (en) 2025-01-02

Similar Documents

Publication Publication Date Title
KR102431825B1 (ko) 공작기계
US10293499B2 (en) Movable robot
JP3923053B2 (ja) ロボット教示装置
US10118295B2 (en) Manual feed apparatus of robot for calculating operable range of robot
JP6994411B2 (ja) 工作機械システム
JP7288367B2 (ja) 工作機械システム
US9227327B2 (en) Robot system and method for operating robot system
WO2021039829A1 (ja) 生産システム
KR102195024B1 (ko) 비전카메라를 이용한 사출성형기용 취출 로봇 시스템
JP2019098479A (ja) 工作機械
JP2002018680A (ja) 工作機械
JP6709315B1 (ja) 工作機械
KR20130074854A (ko) 주조용 핸들링 로봇과 그 제어방법
JP7055928B1 (ja) 工作機械、制御方法、および制御プログラム
JP2022029120A (ja) 工作機械、検知方法、および、検知プログラム
JP2024034689A (ja) 工作機械用ロボット、及び工作機械遠隔操作システム
JP6832408B1 (ja) 生産システム
JP6784804B1 (ja) 加工システム、工作機械、加工システムの制御方法、および、加工システムの制御プログラム
JP7239393B2 (ja) 工作機械、行動種別の判別方法、および、行動種別の判別プログラム
WO2023042249A1 (ja) 工作機械、制御方法、および制御プログラム
JP7042939B1 (ja) 工作機械、工作機械の制御方法、および工作機械の制御プログラム
KR20220038984A (ko) 로봇자동화를 위한 선반의 제어방법
JP7029491B2 (ja) 工作機械、工作機械の制御方法、および工作機械の制御プログラム
JP7038939B1 (ja) 工作機械、工作機械の制御方法、および工作機械の制御プログラム
Heimann et al. Mobile Machine Tending with ROS2: Evaluation of system capabilities

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: 22872832

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18693188

Country of ref document: US

Ref document number: 202280063309.8

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2022872832

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022872832

Country of ref document: EP

Effective date: 20240422

WWW Wipo information: withdrawn in national office

Ref document number: 2022872832

Country of ref document: EP