Information processing device and machine tool

By processing the images captured by the camera using an information processing device, the problem of inconsistent coordinates caused by camera installation errors in the machine tool was solved, ensuring accurate coolant spraying and improving processing efficiency.

CN117897256BActive Publication Date: 2026-11-27DMG MORI CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202280059787.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-09-06
Filing Date
2022-08-17
Publication Date
2026-11-27
Estimated Expiration
2042-08-17

AI Technical Summary

Technical Problem

In machine tools, camera installation errors can cause the coordinates of the captured area displayed on the screen to be inconsistent with the captured area recognized by the software, resulting in errors in the coolant spray control target setting and affecting processing efficiency.

Method used

The information processing device processes the images captured by the camera, including storing, correcting and controlling the display of reference information, adjusting the camera angle to match the shooting area with the software recognition area, and using grid division and image rotation technology to ensure accurate coolant spraying.

Benefits of technology

Even when camera angle adjustment is limited, it can still accurately match the shooting area displayed on the screen with the area recognized by the software, thus improving the accuracy of coolant injection control and processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117897256B_ABST
    Figure CN117897256B_ABST
Patent Text Reader

Abstract

An information processing apparatus of one scheme processes a captured image (P0) used in a machine tool that sprays fluid toward a target based on a captured image (P0) captured by a camera with respect to a capturing region. The information processing apparatus includes a reference information storage section that stores in advance a line (BL) along an outline of a specific region (SA) of the machine tool in a display image, a correction section that rotates the captured image (P0) in a rotation direction of an optical axis of the camera so that the outline of the specific region (SA) displayed in the captured image (P0) coincides with the line (BL), and a display control section that causes the corrected captured image to be displayed in a display section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an information processing device for processing captured images used in machine tools. Background Technology

[0002] In machine tools, chips are generated when a workpiece is machined. When a large amount of chips accumulates in the machining chamber, continuing machining becomes difficult. Therefore, in the past, operators would periodically stop the machine tool to remove chips using blowers or other methods. However, such manual chip removal reduces the machine tool's efficiency.

[0003] Therefore, in recent years, a system has been proposed that automatically removes chips by installing a camera in the machining chamber and analyzing the images it captures (see Patent Document 1). In this system, control is performed as follows: the chip scattering location is determined based on the analysis results, and coolant is injected targeting that scattering location (hereinafter also referred to as "cleaning control"). Furthermore, a technique has been proposed that overlays the chip scattering range with the captured image displayed on a monitor, allowing the operator to specify the coolant injection range on this screen. In the cleaning control software, the correspondence between the coordinates of the area captured by the camera and the coordinates of the control commands for the coolant is pre-set.

[0004] [Existing technical documents]

[0005] [Patent Literature]

[0006] Patent Document 1: Japanese Patent No. 6887033 Summary of the Invention

[0007] [The problem the invention aims to solve]

[0008] When introducing such a system, it is also envisioned that it be installed on an existing machine tool. In this case, due to installation errors of the added camera, there is a possibility that the coordinates of the shooting area displayed on the screen may not match the coordinates of the shooting area recognized by the software. Therefore, it is necessary to adjust the camera angle before using the machine tool to eliminate this inconsistency. However, depending on the structure and placement of the added camera, it is also envisioned that the camera angle adjustment may be constrained.

[0009] [Technical solutions used to address technical problems]

[0010] One aspect of the present invention is an information processing apparatus that processes images captured by a camera on a shooting area and used in a machine tool to inject fluid into a target based on the captured images. The information processing apparatus includes: a reference information storage unit that pre-stores lines outlining a specific area of ​​the machine tool in a display image; a correction unit that rotates the captured image along the rotation direction of the camera's optical axis so that the outline of the specific area displayed in the captured image matches the lines; and a display control unit that displays the corrected captured image on a display unit.

[0011] Another aspect of the present invention is an information processing apparatus that processes images captured by a camera on a shooting area and used in a machine tool to inject fluid into a target based on information from the captured images. The information processing apparatus includes: a display control unit that controls the display of a line along the contour of a specific area of ​​the machine tool at a specific position on a display unit; and a correction unit that, while displaying the captured image on the display unit in a state where the captured image overlaps with the line, rotates the captured image so that the contour of the specific area of ​​the machine tool captured in the captured image matches the line. The display control unit displays the corrected captured image on the display unit.

[0012] Another aspect of the present invention is a machine tool. The machine tool includes: a camera for capturing images of a shooting area set in a machining chamber; an information processing unit for processing the captured images; and a jetting unit for jetting fluid toward a target based on the processed captured images. The information processing unit includes: a reference information storage unit for pre-storing lines along the contour of a specific area set in the machining chamber in a displayed image; a correction unit for rotating the captured image along the rotation direction of the camera's optical axis, such that the contour of the specific area displayed in the captured image matches the lines; and a display control unit for displaying the corrected captured image on a display unit.

[0013] Invention Effects

[0014] According to the present invention, even if there are limitations on the angle adjustment of the camera in the machine tool, it is possible to achieve a match between the shooting area displayed on the screen and the shooting area recognized by the software. Attached Figure Description

[0015] Figure 1 This is a perspective view showing the appearance of the machine tool in the embodiment.

[0016] Figure 2 This is a hardware configuration diagram of the machine tool.

[0017] Figure 3 It is a three-dimensional diagram showing the structure of the processing chamber.

[0018] Figure 4It is a diagram that schematically represents the structure of a camera.

[0019] Figure 5 This is a functional block diagram of an information processing device.

[0020] Figure 6 This is a block diagram showing the structure of the identification unit.

[0021] Figure 7 This is a diagram illustrating the correction methods for the displayed image.

[0022] Figure 8 This is a diagram illustrating the correction methods for the screen display.

[0023] Figure 9 This is a diagram illustrating the correction methods for the displayed image.

[0024] Figure 10 This is a diagram illustrating the correction methods for the screen display.

[0025] Figure 11 This is an example of a screen that an operator is working on.

[0026] Figure 12 This is a flowchart illustrating the correction process.

[0027] Figure 13 It is a flowchart that roughly represents the cleaning control process.

[0028] Figure 14 This is a diagram illustrating the structure of a modified information processing system.

[0029] Figure 15 This is a diagram illustrating a modified image processing method. Detailed Implementation

[0030] Hereinafter, with reference to the accompanying drawings, one embodiment of the present invention will be described.

[0031] Figure 1 This is a perspective view showing the appearance of the machine tool in the embodiment.

[0032] Machine tool 1 is configured as a multi-tool that processes workpieces into desired shapes while appropriately changing tools. A machining chamber 2 is provided inside the housing of machine tool 1. A machining device for processing workpieces is provided in the machining chamber 2. An operation panel 4 is provided on the front surface of the housing for operating the machining device.

[0033] Figure 2 This is a hardware configuration diagram of machine tool 1.

[0034] Machine tool 1 includes an information processing unit 100, a machining control unit 102, a machining unit 104, a tool changing unit 106, a tool receiving unit 108, and a camera unit 110. The machining control unit 102 functions as a numerical control unit, outputting control signals to the machining unit 104 according to the machining program (NC program). The machining unit 104, following instructions from the machining control unit 102, moves the tool spindle (not shown; hereinafter simply referred to as the "spindle") to machine the workpiece.

[0035] In addition to the mechanism for driving the spindle, the machining apparatus 104 also includes: a liquid reservoir 112 for storing coolant; and a liquid jetting unit 114 for jetting coolant. The coolant is used as a cutting oil for heat removal and lubrication of the tool and workpiece during machining, but also as a cleaning fluid for removing chips scattered into the machining chamber 2. The liquid jetting unit 114 includes: a pump for drawing coolant from the liquid jetting unit 114; a nozzle for jetting coolant; and an actuator for driving the nozzle.

[0036] The information processing unit 100 includes an operation panel 4, which outputs control commands to the machining control unit 102 based on operator input. The information processing unit 100 also controls the screen displayed on the monitor 4 according to operator input. A tool receiving section 108 holds tools. A tool changing section 106 corresponds to an ATC (Automatic Tool Changer), which, according to a changing instruction from the machining control unit 102, removes a tool from the tool receiving section 108 and exchanges the tool on the spindle with the removed tool.

[0037] The camera unit 110, for example, is a camera equipped with a CCD or CMOS imaging element, and captures images of an area set within the machining chamber 2. The "shooting area" is pre-defined as an area where chips generated during workpiece processing are expected to exist. The camera's viewing angle is set to allow for a wide-range view of the chip distribution and accumulation within the machining chamber 2. The camera unit 110 outputs the captured images to the information processing device 100.

[0038] Figure 3 This is a three-dimensional diagram showing the structure inside processing chamber 2. Figure 3 (A) indicates the view from an obliquely upward angle. Figure 3 (B) indicates the view from a diagonal downward angle.

[0039] like Figure 3As shown in (A), the machining chamber 2 is surrounded by four sides, in one of which the spindle 10 is movable up, down, left, and right. The spindle 10 has a horizontal axis of rotation, and a tool T is coaxially mounted at its front end. A revolving door 12 is located on the side opposite the spindle 10 in the axial direction. A support plate 14 extends horizontally from the revolving door 12. The revolving door 12 is a door capable of rotating about a vertical axis.

[0040] Below the support plate 14, a worktable 16 is provided. A tray 18 is detachably mounted on the worktable 16, and workpieces are placed and fixed on the tray 18. By pre-preparing multiple trays 18 with workpieces fixed, the workpieces can be changed by changing the trays 18, thus achieving time efficiency.

[0041] The worktable 16 is capable of moving along the axis of the spindle 10 and also of rotating in the horizontal plane. By rotating the worktable 16, the workpiece on the tray 18 can be rotated. By linearly driving the worktable 16, the workpiece will approach or move away from the tool T. In other words, by controlling the rotation and movement of the worktable 16 and the movement of the spindle 10, the workpiece can be machined into the desired shape.

[0042] At the position furthest from the spindle 10 on the worktable 16, the support plate 14 engages with the tray 18. In this state, the rotary door 12 is rotated, thereby causing the support plate 14 to separate the tray 18 from the worktable 16 and rotate integrally with the tray 18. This allows the tray 18, with the workpiece already processed, to be transported out of the machining chamber 2, and the tray 18, holding the next workpiece to be processed, to be transported into the machining chamber 2.

[0043] Below the worktable 16 and spindle 10, a chip conveyor belt 20 is provided for transporting chips out of the machining chamber 2. The worktable 16 moves above the chip conveyor belt 20. Below the worktable 16, a chute 22 is provided. The chute 22 guides chips that flow down from above due to cleaning onto the chip conveyor belt 20.

[0044] In the machining chamber 2, the bottom surfaces on both sides of the worktable 16 become inclined surfaces 24 and slope downward toward the slide 22, making it easier for the chips scattered during machining to flow toward the slide 22.

[0045] like Figure 3 As shown in (B), the upper part of the processing chamber 2 is shielded by a cover 26 (roof). Multiple nozzles 28 are provided in the cover 26 for supplying coolant. In this embodiment, the nozzles 28 are designed to be replaceable as a whole with the cover 26. The nozzles 28 constitute a liquid injection section 114 and are connected to the liquid reservoir 112 (see reference 112) via piping, valves, and pumps (not shown). Figure 2The nozzle 28 is configured to rotate in three dimensions. By rotating the nozzle 28, the spray direction of the coolant can be controlled. By determining the orientation of the nozzle 28, the pump is driven, thereby spraying coolant onto the target inside the machining chamber 2. Chips generated during workpiece machining are washed away by the coolant and transported out of the machining chamber 2 by the chip conveyor 20. In this embodiment, two nozzles 28 are provided, but the number can be appropriately set.

[0046] Multiple cameras 30 are also installed in the upper part of the machining chamber 2, which photograph the interior of the machining chamber 2 from above. That is, the cameras 30 are fixed to the machine tool 1. In this embodiment, two cameras 30 are installed on the side wall slightly below the cover 26 in the machining chamber 2. In this embodiment, the cameras 30 are designed to be non-integral with the cover 26 depending on wiring and other factors. The cameras 30 constitute the imaging unit 110, which photographs the machining status of the workpiece based on the tool T, and also photographs the chips generated during machining (see reference). Figure 2 Since two cameras 30 are provided, areas that cannot be captured by one camera 30 can be captured by the other camera 30. The camera unit 110 outputs the captured images to the information processing device 100.

[0047] Figure 4 This is a schematic diagram illustrating the structure of camera 30.

[0048] The camera 30 of this embodiment has a structure that restricts its rotation around the optical axis L. That is, the camera 30 can rotate freely around a yaw axis L1 orthogonal to the optical axis L and a pitch axis L2 orthogonal to both the optical axis L and the yaw axis L1, but cannot rotate around the optical axis L. Therefore, if the coordinates of the shooting area displayed on the screen are inconsistent with the coordinates of the shooting area recognized by the software due to installation errors of the camera 30, manual adjustment becomes difficult. Therefore, the information processing device 100 performs correction processing when the operator adjusts the camera angle, and this correction processing is used to eliminate these inconsistencies in coordinates.

[0049] Figure 5 This is a functional block diagram of the information processing device 100.

[0050] The components of the information processing device 100 are implemented by the following elements: an arithmetic logic unit (ALU) such as a CPU (Central Processing Unit) and various computer processors; a storage device such as memory; hardware including wired or wireless communication lines connecting them; and software stored in the storage device and supplying processing commands to the ALU. Computer programs may also consist of the following elements: device drivers, an operating system, various application programs located at their higher levels, and libraries that provide common functionality to these programs. The boxes described below do not represent the composition of hardware units, but rather the boxes of functional units.

[0051] The information processing device 100 includes a user interface processing unit 130, a data processing unit 132, and a data storage unit 134. The user interface processing unit 130, in addition to receiving operation input from the operator, is also responsible for user interface-related processing such as image display. The data processing unit 132 performs various processes based on data obtained from the user interface processing unit 130 and data stored in the data storage unit 134. The data processing unit 132 also functions as an interface between the user interface processing unit 130 and the data storage unit 134. The data storage unit 134 stores various programs and setting data.

[0052] The user interface processing unit 130 includes an input unit 140 and an output unit 142. The input unit 140 accepts operator input via a touch panel or similar device on the monitor in the operation panel 4. The output unit 142 includes a display unit 144, which displays images or the like on the monitor screen. The output unit 142 provides various information to the operator through this display. The display unit 144 displays images captured by the camera unit 110.

[0053] The data processing unit 132 includes an acquisition unit 150, a grid setting unit 152, a detection unit 154, an identification unit 156, a correction unit 158, a display control unit 160, and a jet control unit 162.

[0054] The acquisition unit 150 acquires the image captured by the imaging unit 110. The grid setting unit 152 divides the captured image into multiple grids to determine (analyze) the presence of a predetermined physical quantity (chip) in the captured area. The grids have a specific shape (in this embodiment, a square, but any geometric shape is acceptable) (details will be described later). Hereinafter, the area in the captured image divided by multiple grids will be referred to as a "grid area." Furthermore, an image composed of multiple grids will be referred to as a "grid image."

[0055] The detection unit 154 detects the operator's input via the input unit 140. Details will be described later, but the operator can grasp the chip accumulation status in the machining chamber 2 by referring to the captured image displayed on the display unit 144. The operator can specify the area of ​​the captured image via the touch panel, thereby indicating the cleaning range (spray range) based on the coolant. The detection unit 154 detects the operator's instruction input as the indicated position in the captured image. Alternatively, the detection unit 154 can detect the indicated position based on a grid area created by the grid setting unit 152.

[0056] The identification unit 156 automatically identifies chips based on a grid area set in the captured image, determines whether chips exist in the grid area, and further determines the amount of chips present. These determinations are also referred to as "chip determinations." When the identification unit 156 determines that chips exist in the grid area, it identifies the position on the captured image corresponding to the grid area as the chip accumulation position. When a chip accumulation position is identified, an automatic detection signal is output to the injection control unit 162. The automatic detection signal contains at least information related to a predetermined position that is identified as having accumulated chips in the captured image.

[0057] Before the execution of cleaning control, the correction unit 158 ​​performs a correction process based on the operator's operation. This correction process matches the coordinates of the area captured by the camera 30 with the coordinates of the control commands for the coolant. This correction process assumes the existence of installation errors in the camera 30, and therefore is performed when the camera 30 is installed in the processing chamber 2. Details of this process will be described later.

[0058] The display control unit 160 displays the image captured by the camera 30 on the display unit 144. When correction is performed based on the correction unit 158, the display control unit 160 displays an operation screen for the correction and also displays the corrected image. The grid setting unit 152 divides the corrected image into a grid. The display control unit 160 displays the corrected image on the display unit 144, overlapping the grid. The recognition unit 156 analyzes the presence of targets within the grid. Examples of display screens related to this correction will be described in detail later.

[0059] When performing cleaning control, the injection control unit 162 outputs a coolant injection command toward the target position to the machining control device 102. This injection command includes information determining the location of the injected coolant (such as information determining the injection path). Upon receiving this injection command, the machining control device 102 drives the liquid injection unit 114 to control the injection of coolant.

[0060] The cleaning control uses coolant to flush away chips within the machining chamber 2 (i.e., cleans the machining chamber 2). In this embodiment, both automatic and manual cleaning modes can be selected. In automatic cleaning mode, the spray control unit 162 automatically sets the position for spraying coolant based on the automatic detection signal output by the recognition unit 156 and outputs a spray command. Furthermore, in manual cleaning mode, the position for spraying coolant is set based on the operator's area designation detected by the detection unit 154, and a spray command is output.

[0061] In addition to various programs including correction processing programs for performing the aforementioned correction processes and cleaning control programs for performing cleaning control, the data storage unit 134 also stores various data required for these processes. The data storage unit 134 includes a correction information storage unit 146 and a reference information storage unit 148. During correction processing, the correction information storage unit 146 stores images acquired by the acquisition unit 150, grid areas (grid images) created by the grid setting unit 152, information about predetermined locations where chips are identified by the recognition unit 156 and information related to the amount of chips, and location information detected by the detection unit 154. The correction information storage unit 146 also stores correction information (calibration data) acquired during the correction processing described later. The reference information storage unit 148 stores images used to guide operator input during correction processing. The data storage unit 134 also functions as a workpiece area during computational processing.

[0062] Here, a summary of the chip identification performed by the identification unit 156 will be described.

[0063] Figure 6 This is a block diagram showing the structure of the identification unit 156.

[0064] The recognition unit 156 includes a model learning unit 41, a calculation unit 43, and a decision unit 44.

[0065] The model learning unit 41 creates a learning model. The learning model is one that, when one of the grid regions created by the grid setting unit 152 is input, calculates which of the predetermined items related to the chips within that grid region it belongs to, calculates its probability, and outputs it. This learning model can be created, for example, by pre-inputting pairs of input and output data as training data into a CNN (Convolutional Neural Network) and allowing it to learn. In this embodiment, the grid region can be used as input data, and information related to the presence and quantity of chips within that grid region can be used as output data.

[0066] The data storage unit 134 includes a model storage unit 42. The model storage unit 42 stores a learning model that automatically determines whether or not chips are present. The learning model is read into the calculation unit 43 as needed.

[0067] The calculation unit 43 calculates the probability of conforming to predetermined items related to chips in grid units based on the captured image. Specifically, the calculation unit 43 uses the learning model learned in the model learning unit 41 to calculate the probability of conforming to one of the three items: "more chips (class 2)," "fewer chips (class 1)," and "no chips (class 0)" for the grid area. These classes represent the degree of presence of substances (chips, etc.) identified in the captured area.

[0068] Regarding the input grid area, the determination unit 44 determines which class (0-2) the chips in the grid area belong to based on the probability calculated by the calculation unit 43. If the determination unit 44 determines that chips exist in the grid area (i.e., determines that it is class 2 or class 1), it outputs an automatic detection signal to the display control unit 160 and the injection control unit 162. This automatic detection signal contains position information on the captured image corresponding to the position of the grid area in the grid image.

[0069] In this way, the identification unit 156 can perform automatic cleaning during or after the workpiece is machined. This automatic cleaning automatically identifies chips based on images captured by the camera unit 110 and sprays coolant. This automatic cleaning can be performed periodically or by some kind of instruction, such as instructions given by the operator.

[0070] Next, the correction method in this embodiment will be described in detail.

[0071] As already described, when the above-mentioned cleaning control system is implemented, there is a possibility that the coordinates of the shooting area displayed on the screen may not match the coordinates of the shooting area recognized by the software. Therefore, in this embodiment, before using the machine tool 1, the operator adjusts the angle of the camera 30 and performs other operations to eliminate this inconsistency. In addition, for ease of explanation, the state in which the two coordinates are consistent is also described as the "screen matching state".

[0072] As with Figure 4 As explained in connection with this embodiment, the rotation of the camera 30 around its optical axis is limited, thus limiting its adjustment. Therefore, without intervention, there is a possibility of setting errors in the target for coolant injection control. Therefore, in this embodiment, the correction unit 158 ​​corrects the target setting error by rotating the image captured by the camera 30. Details will be described below.

[0073] Figures 7-10 This is a diagram illustrating the correction methods for the screen display.

[0074] Furthermore, in this embodiment, multiple cameras 30 are provided, so modifications are made for each camera 30. However, for convenience, the modification for one camera will be described as an example. The modifications for the other cameras 30 are the same, so the description is omitted.

[0075] Camera 30 is positioned in machining chamber 2 such that it enters the field of view within a predetermined shooting area. The shooting area includes a region where chip scattering and accumulation can be predicted. Here, the camera 30 is positioned in machining chamber 2 to ensure... Figure 7 The captured image P0 is displayed on the screen of the display unit 144 (see screen 170). When the operation input of the operator is switched to the maintenance mode for correcting the screen display (described later), the display control unit 160 displays the baseline BL (thick line) and the auxiliary line AL (dotted line) overlapping the captured image P0.

[0076] The baseline BL is a line set along the outline of a specific region SA in the processing chamber 2 when the image is in a matching state, and is pre-stored in the reference information storage unit 148. In this embodiment, the area surrounded by the boundary line based on the slope 24 and the edge of the tray 18 is denoted as the specific region SA. The auxiliary line AL in this embodiment is a crosshair auxiliary line passing through the center C of the captured image P0. In the processing chamber 2, a mark M is attached, the center C of which overlaps when the image is in a matching state. The mark M is attached to a center setting position, which is pre-set in the shooting area.

[0077] In the illustrated state, the center C of the captured image P0 is off-center from the marker M. Furthermore, the outline of a specific region SA deviates from the baseline BL. Therefore, the image is not in a matching state. Consequently, the operator first manually adjusts the angle of camera 30 within the possible range to bring it closer to a matching state.

[0078] That is, the operator rotates the camera 30 about the yaw axis L1 and about the pitch axis L2, thereby achieving the desired effect. Figure 8 As shown in (A), the center C of the captured image P0 overlaps with the mark M. This can then be easily performed manually. However, in the illustrated example, even at this stage, the outline of a specific region SA deviates from the baseline BL. Therefore, any inconsistency can be eliminated if the camera 30 can be rotated around the optical axis L, but in this embodiment, as described above, the rotation of the camera 30 around the optical axis L is restricted.

[0079] Therefore, as Figure 8As shown in (B), the captured image P0 is rotated around the center C (i.e., the rotation direction along the optical axis L of the camera 30), causing the correction unit 158 ​​to match the outline of a specific region SA with the baseline BL. This brings the image to a matching state, correcting the setting error of the target in the coolant injection control. However, at this time, the captured image P0 will be tilted relative to the reference image 170, which may result in an unnatural or disjointed display.

[0080] like Figure 9 As shown in (A), the grid area GA is initially set based on an ideal state without installation errors of the camera 30. In this ideal state, the aspect ratio (screen ratio) of the captured image P0 (refer to the dashed line) is set to 4:3, and the grid number is set to 28×21. Therefore, assuming that the captured image P0 is rotated around the optical axis, sometimes there may be an excess or deficiency of grid at the periphery of the captured image P0. If the image does not correspond to each grid, the degree of chip accumulation cannot be accurately determined.

[0081] Therefore, in the grid region GA, the region that reliably contains the image (refer to the dashed line) is denoted as the decision region JA, such that only this decision region JA is used for chip determination. That is, as... Figure 9 As shown in (B), the display control unit 160 extracts an image of a specific shape by cropping the outer periphery from the captured image P0 after the viewing angle has been rotated. Hereinafter, the image extracted at this time will be referred to as "extracted image P1". In this embodiment, the "specific shape" is set to a rectangular shape having the same aspect ratio (4:3) as the captured image P0. Furthermore, the term "cropping" here can mean either deleting the outer periphery of the captured image P0 and retaining the image portion of the determination region JA as data for the extracted image P1, or extracting the image portion of the determination region JA as data for the extracted image P1 without deleting the outer periphery.

[0082] On the other hand, the image processing for chip detection is performed in grid units. Therefore, the display control unit 160 performs clipping from the outer periphery of the captured image P0 in units of at least one of the rows and columns of the grid. In the illustrated example, the rotation angle θ of the captured image P0 is set to 3 degrees, and the portion of the grid image of the outer periphery (i.e., the two rows at the top and bottom and the two columns at the left and right) that overlaps with the grid image of the outer periphery in the captured image P0 is clipped. As a result, the grid number becomes 26 × 19.

[0083] However, when the extracted image P1 is displayed directly, it becomes smaller than the reference image 170, potentially creating blank space around it and resulting in a sense of incongruity. Therefore, as... Figure 10As shown in (A), the extracted image P1 is enlarged to a preset display size and displayed on the reference screen 170. Here, the enlargement is performed at the same scale as the original captured image P0. The result is as follows: Figure 10 As shown in (B), the extracted image P1 will be the same size as the reference image 170 and will be displayed in such a way that the sides of its rectangle are in the same position as the sides of the rectangle of the original captured image P0.

[0084] Furthermore, the identification and determination of the material (chips) performed by the identification unit 156 is based on the initially set grid area (grid number: 26×19). Since the outer periphery of the captured image P0 is clipped, the screen display performed by the display control unit 160 may sometimes become part of it.

[0085] Through the above correction process, the coordinates of the shooting area displayed on the reference screen 170 can be matched with the coordinates of the shooting area recognized by the software, and the coolant can be accurately sprayed towards the target position. The position of the grid set by the grid setting unit 152 will be consistent with the position of the grid recognized by the operator from the image. The position indicated by the operator via the touch panel corresponds to any grid, and the area of ​​the image where the grid overlaps is set as the target of coolant spraying (target position).

[0086] Even when the outer perimeter of the grid area is clipped and displayed as described above, the position of the grid in the display corresponds accurately to the actual position of the shooting area. Therefore, it is possible to maintain high-precision control of coolant injection.

[0087] Figure 11 This is an example of a screen that an operator is working on.

[0088] On the monitor of control panel 4, it displays Figure 11 Screen 200 is shown in (A). Screen 200 includes the aforementioned reference screen 170 and operation screen 202 arranged horizontally. Operation screen 202 includes an automatic cleaning button 210, a manual cleaning button 212, a cleaning path adjustment button 214, and a details setting button 216.

[0089] The automatic cleaning button 210 is selected when the automatic cleaning mode is executed. The manual cleaning button 212 is selected when the manual cleaning mode is executed. The cleaning path adjustment button 214 is selected when adjusting the coolant-based cleaning path. When each button is selected, a drop-down menu will be displayed, allowing selection of the operation items in each cleaning mode; however, details regarding these options are omitted.

[0090] When the details setting button 216 is selected, as shown in the figure, the maintenance button 220, the guide line display button 222, and the image rotation operation unit 224 are displayed. Since the operator selects the maintenance button 220, the system transitions to maintenance mode, and the baseline BL is displayed overlapping the captured image P0. Furthermore, when the guide line display button 222 is turned on, the guide line AL is displayed.

[0091] While observing the reference screen 170, the operator adjusts the pan and pitch angles of the camera 30 as described above, so that the center C of the captured image P0 overlaps with the mark M. Then, the rotation angle θ of the captured image P0 can be adjusted by touching the "+" or "-" button on the image rotation operation unit 224. Regarding the correction unit 158, each time the "+" button is touched by the operator, the captured image P0 rotates 0.1 degrees clockwise, and each time the "-" button is touched, the captured image P0 rotates 0.1 degrees counterclockwise. Figure 11 As shown in (B), when the auxiliary line display button 222 is set to off, the auxiliary line AL is set to not be displayed.

[0092] Figure 12 This is a flowchart illustrating the correction process.

[0093] This process is initiated by the operator's selection of maintenance button 220.

[0094] The display control unit 160 displays the captured image P0 as a maintenance screen on the reference screen 170 (S10) and displays the baseline BL overlaid (S12).

[0095] At this time, when the operator sets the auxiliary line display button 222 to "on" ("Yes" in S14), the display control unit 160 displays the auxiliary line AL (S16). When the auxiliary line display button 222 is "off" ("No" in S14), the auxiliary line AL is set to not be displayed (S18). When an image rotation instruction is given through the operation of the image rotation operation unit 224 ("Yes" in S20), the display control unit 160 rotates the captured image P0 (S22).

[0096] By doing so, the outline of the specific region SA will overlap with the baseline BL. When the operator selects the OK button (without illustration) ("Yes" in S24), the correction unit 158 ​​will calculate the determination region JA (S26). That is, based on the tilt of the captured image P0, the region in the grid region GA that reliably contains the image is set as the determination region JA. This determination region JA functions as an "AI inference region" for performing chip determination in grid units.

[0097] The display control unit 160 extracts image P1 based on the determination region JA by cropping the outer periphery from the captured image P0 (S28), adjusts (enlarges) the extracted image P1, and displays it on the reference screen 170 (S30). The correction unit 158 ​​stores this series of correction information as calibration data in the correction information storage unit 146 (S32). This correction information includes the set angle (rotation angle θ) of the captured image P0, the setting of the determination region JA, and the magnification (set magnification) of the extracted image P1. If the OK button ("No" in S24) cannot be selected, the processing of S26 to S32 is skipped.

[0098] Then, when other buttons are selected by the operator, and the predetermined maintenance end conditions are met ("Yes" in S34), the control unit 160 displays the maintenance end screen (S36). If the maintenance end conditions are not met ("No" in S34), the process returns to S14.

[0099] Figure 13 It is a flowchart that roughly represents the cleaning control process.

[0100] When cleaning control begins in either automatic or manual cleaning mode, the acquisition unit 150 acquires the captured image P0 (S40). Next, the correction unit 158 ​​reads the correction information (calibration data) stored in the correction information storage unit 146 (S42) and internally processes the correction information to reflect the captured image P0.

[0101] That is, the correction unit 158 ​​rotates the captured image P0 by a set angle (S44), sets the determination area (S46), and extracts the image (S48). Next, the extracted image is magnified at a set magnification (S50) and displayed on the screen as the captured image (S52). Then, when the display indication of the chip accumulation condition is entered by the operator ("Yes" in S54), the display control unit 160 displays a grid image superimposed on the captured image (S56), thereby displaying the chip accumulation condition (S58). This chip accumulation condition is displayed using color differentiation or other means according to the type determined by the recognition unit 156.

[0102] When the operator indicates the coolant injection position (target) based on the displayed image ("Yes" in S60), the detection unit 154 detects it. The injection control unit 162 sets the coolant injection path based on the injection position (S62) and outputs the injection command to the machining control device 102 to spray coolant based on the injection path (S64).

[0103] Then, when the predetermined conditions for ending the cleaning mode are met, such as when other buttons are selected by the operator ("Yes" in S66), the display control unit 160 displays the end-of-cleaning operation screen (S68). If the conditions for ending the cleaning mode are not met ("No" in S66), the process returns to S40.

[0104] The above description pertains to the machine tool, based on the implementation method.

[0105] In this embodiment, even if there is an installation error in the camera 30 in the machining chamber 2, the operator can confirm the captured image P0 and make fine adjustments to the angles (yaw and pitch) of the camera 30. Structurally, the camera 30 cannot be adjusted for rotation (roll angle) around the optical axis, but this can be corrected by rotating the captured image P0. That is, according to this embodiment, even if there are limitations to the angle adjustment of the camera 30 in the machine tool 1, it is possible to achieve a match between the captured area displayed on the screen and the captured area recognized by the software. Therefore, even if the operator gives a coolant-based chip cleaning instruction based on the captured image displayed on the screen, the cleaning instruction position will match the coolant spray position. In other words, a high level of accuracy in cleaning control can be maintained.

[0106] According to this embodiment, even if there are limitations on the angle adjustment of the camera 30 in the machine tool 1, the correction unit 158 ​​will perform the following correction: rotate the captured image along the rotation direction of the camera's optical axis, so that the outline of a specific area of ​​the machine tool displayed in the captured image matches a preset line. The grid setting unit 152 divides the captured image into a grid based on the corrected captured image, and the display control unit 160 displays the corrected captured image and the grid overlapping on the display unit. Thus, it is possible to achieve a match between the captured area displayed on the screen (grid display) and the captured area recognized by the software. Because the position of the grid set in the captured image becomes consistent with the position of the grid that the operator can recognize from the image, it is possible to accurately spray fluid onto the target within the grid.

[0107] Furthermore, in this embodiment, when correcting the captured image P0, the extracted image P1 is extracted by cutting off the outer periphery from the rotated and tilted captured image P0, and then enlarged to a preset display size for display. Therefore, the frame shape of the captured image displayed on the screen can be maintained as rectangular, matching the size to the screen. Thus, the appearance of the captured image does not change significantly due to whether or not it is corrected (i.e., due to individual differences in the camera settings), and the corrected image does not cause any sense of incongruity to the operator.

[0108] [Variation Example]

[0109] In the above embodiment, machine tool 1 was described as a composite machining machine, but it could also be a turning machining center or a machining center. Furthermore, it could be an additional machining machine that performs machining while simultaneously dissolving material (e.g., metal powder) with a laser. In this case, the material scattered during machining becomes a "physical quantity" recognized by the material identification unit.

[0110] In the above embodiment, coolant is exemplified as the fluid sprayed to remove chips. In a variation, it can be a liquid other than coolant (cleaning fluid) or a gas such as air. In this case, a gas jet section is provided instead of a liquid jet section.

[0111] In the above embodiment, an example is shown where the rotation angle θ of the captured image P0 is 3 degrees during the correction process. Figure 8 (B)), but the rotation angle θ will of course vary depending on the camera 30 settings. When the aspect ratio of the extracted image P1 is set to 4:3, for example, when θ = 1°, the grid number can be set to 27×20, when θ = 2°, the grid number can be set to 26×20, when θ = 4°, the grid number can be set to 25×19, and when θ = 5°, the grid number can be set to 25×18.

[0112] In the above embodiments, an example is shown where the information processing device 100 is integrated with the operation panel 4 as an internal computer of the machine tool 1. However, it is also possible for it to be configured independently of the operation panel 4. In this case, the information processing device may also function as a display unit by using the monitor of the operation panel as a remote desktop. Alternatively, the information processing device may be an external computer connected to the machine tool. In this case, the information processing device may be a general-purpose laptop PC (Personal Computer) or tablet computer.

[0113] Figure 14 This is a diagram illustrating the configuration of an information processing system in a modified example. Furthermore, configurations identical to those described in the above embodiment are labeled with the same reference numerals, and detailed descriptions thereof are omitted.

[0114] In this modified example, the information processing device is located outside the machine tool. That is, the information processing system includes the machine tool 301, the data processing device 310, and the data storage device 312. The data processing device 310 functions as an "information processing device".

[0115] Machine tool 301 includes a machining control device 102, a machining device 104, a tool changing unit 106, a tool receiving unit 108, a data processing unit 330, an operation panel 304, and a camera unit 110. The data processing unit 330 includes a communication unit 332, a grid setting unit 152, a detection unit 154, an identification unit 156, and a jet control unit 162. The communication unit 332 has a receiving unit and a transmitting unit, and is responsible for communication with external devices, including the data processing device 310 and a data storage device 312.

[0116] The control panel 304 includes a user interface processing unit 130 and a data processing unit 334. The data processing unit 334 outputs control commands to the processing control device 102 based on the operator's input. In addition, it controls the screen displayed on the display unit 144 according to the operator's input.

[0117] The data processing device 310 includes a communication unit 320, a correction unit 158, and a display control unit 160. The communication unit 320 has a receiving unit and a transmitting unit, and is responsible for communication with the machine tool 301. The data storage device 312 includes a correction information storage unit 146 and a reference information storage unit 148. In this variation, the data storage device 312 is wired to the data processing device 310, but it can also be wirelessly connected. In other variations, the data storage device 312 can also be assembled as part of the data processing device 310.

[0118] In this variation, the functions of the information processing device 100 in the above embodiment are implemented in such a way that it is divided into an internal and an external part of the machine tool. With this configuration, the same effects as in the above embodiment can also be obtained.

[0119] In the above embodiments, although not described, the size and shape of the grid can be configured to be changed as needed. In this case, it is preferable to crop the outer periphery of the captured image according to grid units to obtain the extracted image.

[0120] In the above embodiments, the following example is shown: To eliminate installation errors of the camera 30, the operator manually adjusts the angles of the 30 around the yaw axis and around the pitch axis. In a variation, regarding camera angle control, the information processing device may include a drive control unit that controls a first rotation around the yaw axis and a second rotation around the pitch axis. Before corrections are made by the correction unit, the drive control unit controls the first and second rotations so that the optical axis of the camera is located at a pre-set center position (marked M) within the shooting area.

[0121] In the above embodiment, the restricted state of the camera 30 around the optical axis exemplifies a configuration in which the camera 30 cannot rotate around the optical axis. In a modified example, although the camera 30 can rotate around the optical axis by a predetermined amount, its rotation angle may be restricted. Alternatively, although the camera 30 itself is a rotatable structure, its rotation may be restricted to avoid interference with surrounding structures.

[0122] In the above embodiments, such as Figure 7 and Figure 8 As shown, an example is illustrated where the center C of the captured image P0 is aligned with the optical axis L of the camera 30, and the captured image P0 is rotated around the optical axis L. In a modified example, the captured image can also be rotated independently of the optical axis. In this case, the correction unit also rotates the captured image so that the outline of a specific area matches the baseline. Specifically, it is preferable to rotate the image around an orthogonal axis that is orthogonal to the surface of the captured image and passes through the center of the captured image.

[0123] Figure 15 This is a diagram illustrating a modified image processing method.

[0124] In this variation, it is possible to Figure 15 The image shown above is like Figure 15 The correction is as shown in the lower part. That is, the grid setting unit 152 performs the following process: it overlaps the grid lines with a preset position of the captured image received from the camera unit 110 (grid line segmentation processing). When this process is performed, the overlap between the grid lines and the captured image P10 sometimes becomes... Figure 15 The relationship is as shown in the upper diagram. Regarding the data obtained by overlaying the grid lines with the captured image P10, for the outermost grid that overlaps with the captured image P10, there are grid areas where the grid lines on all four sides are not displayed. In this case, the display control unit 160 can perform the following processing: ignore the grid areas where all four sides do not overlap with the captured image, and only display the grid areas where all four sides overlap with the captured image P10 in a manner that matches the size of the reference screen. Figure 15 (Lower part). Alternatively, the grid setting unit 152 may detect the existence of a grid area whose four sides do not overlap with the captured image P10 (or a grid area whose four sides are not displayed), and perform the following processing: adjust the grid lines in the mesh shape by moving them up, down, left, and right as a whole, so that the four sides overlap with the captured image P10.

[0125] Furthermore, the present invention is not limited to the above-described embodiments or modifications, and the constituent elements can be modified and embodied without departing from the spirit of the invention. Various inventions can also be formed by appropriately combining multiple constituent elements disclosed in the above-described embodiments or modifications. Additionally, it is also possible to delete some constituent elements from all the constituent elements shown in the above-described embodiments or modifications.

[0126] This patent application claims priority to Japanese Patent Application No. 2021-144424 (filed on September 6, 2021), which is incorporated herein by reference in its entirety.

Claims

1. An information processing device that processes the captured image used in a machine tool that captures an area by a camera, corrects the captured image, divides it into a grid, analyzes the presence of a target within the grid, and injects fluid into the target. The information processing device includes: The reference information storage unit pre-stores lines along the contours of specific areas of the machine tool in the displayed image. The correction unit rotates the captured image along the rotation direction of the camera's optical axis, such that the outline of the specific area displayed in the captured image matches the line. The display control unit displays the captured image, after correction by the correction unit, overlapping the grid on the display unit.

2. An information processing device that processes the captured image used in a machine tool that takes a picture of a shooting area by a camera, corrects the captured image, divides it into a grid, analyzes the presence of a target within the grid, and sprays fluid onto the target. The information processing device includes: The display control unit displays the control at a specific position on the display unit along the outline of a specific area of ​​the machine tool, and The correction unit, while displaying the captured image on the display unit with the captured image overlapping the line, rotates the captured image so that the outline of a specific area of ​​the machine tool captured in the captured image matches the line; The display control unit causes the captured image, after being corrected by the correction unit, to be displayed on the display unit overlapping the grid.

3. A machine tool, comprising: A camera that takes pictures of the area set up in the processing room. The information processing apparatus according to claim 1 or 2, and The jetting section sprays fluid into targets within a grid based on the processed captured image.

Citation Information

Patent Citations

  • Computer program

    JP2021144424A

  • Image processor, image processing method, program, and image pickup device

    JP2010045733A

  • Information processing device

    JP6921354B1