Information processing device and machine tool
By using image data processing and machine learning from the information processing device, combined with coolant injection, high-precision detection and efficient removal of chips inside the machine tool are achieved. This solves the problem of insufficient chip detection accuracy in existing technologies and improves the machine tool's operating rate and removal efficiency.
Patent Information
- Application Number
- CN202180032131.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-08-24
- Filing Date
- 2021-08-17
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-08-17
AI Technical Summary
Existing technologies that use thermal sensors to detect chips lack sufficient chip detection accuracy.
An information processing device is used to acquire image data inside the machine tool using a camera. Chips are detected by rasterization and region division. Combined with machine learning and image reliability judgment, the presence of chips is accurately detected, and the chips are efficiently removed by coolant spraying.
It achieves high-precision detection and efficient removal of chips inside the machine tool, improves machine tool uptime, reduces the number of manual removal operations, and shortens the removal time in the processing area.
Smart Images

Figure CN115551673B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an information processing device. Background Technology
[0002] In the aforementioned technical field, Patent Document 1 discloses a technique for detecting the location of chip adhesion and accumulation during processing.
[0003] [Prior Technology Documents]
[0004] [Patent Literature]
[0005] Patent Document 1: Japanese Patent No. 6367782 Summary of the Invention
[0006] [The problem the invention aims to solve]
[0007] However, the technology described in the above literature, which uses thermal sensors to detect chips instead of visual sensors such as cameras, has insufficient chip detection accuracy.
[0008] The purpose of this invention is to provide a technique for solving the above-mentioned problems.
[0009] [Technical solutions used to address technical problems]
[0010] To achieve the above objectives, the present invention has the configuration described in the claims.
[0011] [Invention Effects]
[0012] According to the present invention, objects inside a machine tool can be detected with high precision. Attached Figure Description
[0013] Figure 1 This is a block diagram illustrating the configuration of the information processing apparatus according to the first embodiment.
[0014] Figure 2A This is a block diagram showing the configuration of the machine tool system according to the second embodiment.
[0015] Figure 2B This is a graph illustrating the contrast index used in the machine tool system of the second embodiment.
[0016] Figure 3 This is a block diagram illustrating the configuration of the information processing apparatus according to the second embodiment.
[0017] Figure 4 This is a diagram illustrating the machine learning of the information processing apparatus of the second embodiment.
[0018] Figure 5 This is a flowchart illustrating the processing flow of the reliability determination unit in the second embodiment.
[0019] Figure 6 This is a diagram illustrating the chip removal status in the machine tool system of the second embodiment.
[0020] Figure 7 This is a diagram illustrating the chip removal status in the machine tool system of the second embodiment.
[0021] Figure 8 This is another example of a graph representing image data.
[0022] Figure 9 This is an example image showing a score chart. Detailed Implementation
[0023] Hereinafter, embodiments will be described in a detailed illustrative manner with reference to the accompanying drawings. However, the constituent elements described in the following embodiments are merely illustrative, and the technical scope of the present invention is not limited thereto.
[0024] [First Implementation]
[0025] Regarding the information processing apparatus 100 as the first embodiment, using Figure 1 The information processing device 100 is a device for detecting the object 130 located within the machine tool 110. The object 130, in addition to chips, can include powder or lumps of raw material remaining in the machine tool after further processing. The object 130 is the object to be removed by cleaning; it can also be referred to as the object to be removed.
[0026] The information processing device 100 includes a processing unit 101. The processing unit 101 uses image data 120 obtained by capturing images inside the machine tool 110 to detect an object 130 inside the machine tool 110.
[0027] The processing unit 101 associates the image data 120 with grid information that is divided into multiple grids including a first grid, a second grid, a third grid, and a fourth grid, and also associates the information of the machine tool with the area information that is divided into multiple areas including a first area (area B) including the first grid and the third grid and a second area (area A) including the second grid and the fourth grid.
[0028] Multiple grids are used to detect the presence (absence, quantity, probability, etc.) of an object within a single grid. Multiple regions, defined according to the machine tool's internal structure, are used to release fluid into each region, causing objects within that region to move outside. Therefore, by overlaying grid and region information onto an image, multiple grids are contained within a single region. For example, Figure 1In this context, region B contains grids 1 and 3. Region B may also contain multiple other grids. Alternatively, a collection of multiple grids can be defined as a region.
[0029] In the processing unit 101, for example, when an object is detected in the first grid, if the first grid containing the object is included in the first region (region B), a signal is sent to the machine tool instructing the release of fluid to move the object remaining on the structure of the machine tool corresponding to the first region (region B).
[0030] Based on the above configuration, since objects can be detected with high precision using images captured inside the machine tool, objects can be moved accurately within the machine tool. As a result, the time required for removing objects within the machine tool's machining area can be shortened. Furthermore, the removal of objects by humans can be eliminated, and the number of such removal operations can be reduced, thereby improving the machine tool's operating rate.
[0031] [Second Implementation]
[0032] Regarding the machine tool system 200 of the second embodiment, using Figures 2A to 6 Please provide an explanation. For example... Figure 2A As shown, the machine tool system 200 includes an information processing device 201 and a machine tool 202. In the first embodiment, in Figure 1 An example is shown where the information processing device 201 is installed separately from the machine tool 202, but the information processing device 201 can also be installed inside the machine tool 202. The information processing device 201 can also be connected to the machine tool 202 via a network such as a LAN (Local Area Network) or the Internet. The information processing device 201 can also be, for example, a server located in the cloud.
[0033] (System Overall Structure)
[0034] The machine tool 202 of this embodiment is a machine used to perform cutting, grinding, and other machining operations on workpieces 221 such as metal, wood, stone, and resin using a tool 223 mounted on a tool spindle 222. However, it is not limited to this method and may also be other machine tools that perform machining operations in addition to other machining operations. Furthermore, the machine tool may also be a composite machining machine that combines these functions. The coolant spraying unit 224 sprays coolant 225 to cool the tool 223 and the workpiece 221. Furthermore, the coolant spraying unit 224 of this embodiment may also spray coolant 225 to effectively move the object. The object is the chips 226, etc., generated by cutting the workpiece 221 with the tool 223. In addition, it may not be a liquid like coolant, but a gas such as air, as long as it is a fluid. Therefore, it may not be a coolant spraying unit 224, but a fluid spraying unit such as an air blowing unit. The fluid spraying unit may also be equipped with nozzles that can swing in the X and Z directions.
[0035] The machine tool 202 also includes a camera 227, a control unit 228, and a coolant pump 229.
[0036] Camera 227 is an imaging unit that acquires image data by taking pictures inside the machine tool 202. Here, camera 227 is provided as an example of an imaging unit.
[0037] The information processing device 201 includes a chip processing unit 211, an image reliability determination unit 212, and a notification unit 213.
[0038] The chip removal unit 211 uses image data 210 obtained by photographing the interior of the machine tool 202 (particularly the machining area) through the camera 227 to detect chips 226 that should be removed from the interior of the machine tool 202. Specifically, the image data 210 is divided into small regions (rasterized), and the presence or absence of chips 226, which are also considered as the degree of chip presence, is determined for each raster, which is also a small region. In this embodiment, the image is divided into each raster, but it is not limited to this. It is also possible to establish a relationship between the image and the raster information that has been divided into rasteres without dividing the image data.
[0039] Unlike image data and raster information, the chip processing unit 211 is associated with area information divided into multiple regions. These multiple regions refer to areas divided according to the structure within the machine tool 202. Figure 1 The examples shown are region A, region B, etc. If the regions divided by the grid are considered small regions, then regions A and B can be called medium regions. For example... Figure 1As shown, region A is the image area containing the tray, and region B is the image area containing the bottom of the processing area between the side cover and the tray. Alternatively, a collection of multiple grids can be divided into one region. In this case, the division is... Figure 1 The slanted lines in the overlapping areas shown in the example image data are not straight lines, but jagged lines corresponding to the size of the raster.
[0040] The chip processing unit 211 detects the presence of chips. That is, the chip processing unit 211 detects chips. The presence of chips includes not only the presence or absence of chips 22 within a single grid (small area), but also the size, quantity, shape, type, and prevalence of the chips 22 within that grid (small area). Since the chip size information is based on the presence of chips, it is one example of chip presence. Furthermore, the chip processing unit 211 can also detect multiple pieces of information, such as chip size and chip type.
[0041] The chip processing unit 211 extracts features from the image data 210. The features extracted by the chip processing unit 211 include the information content, frequency components, contrast, and brightness distribution of the captured image. The chip processing unit 211 improves detection accuracy by using a neural network to perform machine learning on a large number of teacher images known to have or lack thereof.
[0042] The control unit 228 controls the coolant pump 229 and the camera 227 to take pictures. For example, the control unit 228 controls the coolant pump 229 to stop the spraying of coolant 225 by controlling the coolant pump 229, then controls the camera 227 to take pictures, and then restarts the spraying of coolant after taking pictures. Regarding the coolant spraying operation, the processing unit 301 generates a signal indicating that fluid should be released in order to move objects remaining on the structure (e.g., tray) of the machine tool 202 corresponding to areas (e.g., area A) divided according to the structure within the machine tool 202. When the control unit 228 obtains a signal indicating a fluid release command through polling the periodic query signal from the processing unit 301, it controls the coolant pump 229 to spray coolant 225. In addition, the control unit 228 controls the fluid spraying unit, which includes a nozzle and a tilting mechanism, to tilt the nozzle toward the area to be cleaned according to the fluid release command. Furthermore, the situation is the same in the first embodiment, where the processing unit 101 generates a signal indicating that fluid should be released in order to move objects remaining on the structure (e.g., tray) of the machine tool 110 corresponding to the area (e.g., area A) divided according to the structure within the machine tool 202.
[0043] In addition, the control unit 228 determines whether to perform chip detection imaging based on the machining program (G code) or user operation. For example, the control unit 228 may shut off the coolant pump 229 to perform chip detection when machining is interrupted (time when cutting the other side of the workpiece), when tool change is performed by ATC, or when there is a timer indicated by the user.
[0044] The control unit 228 controls the coolant injection unit 224 to effectively inject coolant based on the position of the chips detected by the chip processing unit 211 (the grid where chips are detected), the amount of chips in one grid, the amount of chips in one area, etc.
[0045] The control unit 228 controls the coolant spray unit 224 by pushing the chips 226 toward the chute 230 with coolant, or by sweeping the chips 226 out with a broom.
[0046] The chip removal unit 211 may sometimes make incorrect judgments (inferences) due to the influence of lighting brightness, contrast, fog, etc. If the inference is incorrect, it may result in situations where chips are not removed even if they are present, or conversely, chips are removed meaninglessly even if they are not present.
[0047] Therefore, as an indicator of whether the chip processing unit 211 is performing inference normally, the image reliability determination unit 212 calculates the reliability of the image based on the characteristic factors of the image data that affect the inference result. That is, the image reliability determination unit 212 determines the image reliability based on the characteristic quantities of the image data 210, and the image reliability indicates whether the image data 210 is unsuitable for chip 226 detection.
[0048] Based on the determination result of the image reliability determination unit 212, the notification unit 213 notifies the user that image data 210 is unsuitable for chip 226 detection. The display control unit 320 operates on the display unit (touch panel, see reference) of the information processing device 201. Figure 3 Image data is displayed on the display unit 251 of the operation panel 250 provided in the machine tool 202 (e.g., Figure 1 upper part, Figure 6 , Figure 7 as well as Figure 8 Processing of images, etc.
[0049] (Image reliability)
[0050] The image reliability determination unit 212 uses three indicators—brightness, blur level, and fog concentration—as the image reliability. Specifically, the image reliability determination unit 212 includes a brightness determination unit 231, a blur determination unit 232, and a fog determination unit 233, which determines whether the estimated accuracy of chip detection decreases based on the effects of brightness, defocus, and fog. Furthermore, the thresholds for brightness determination, blur level determination, and fog determination can be changed according to the environment.
[0051] The reliability of each image is calculated based on image characteristic factors and their combinations, such as brightness value, frequency distribution, and contrast. Then, the chip removal unit 211 is judged to be functioning properly based on the image reliability value (0-1). If the image reliability of the image data of the target object is low, inappropriate chip removal can be avoided by not using that image data. If the image reliability decreases only due to sudden or transient reasons, it can be expected to improve over time.
[0052] In this embodiment, the above three indicators are used as image reliability, but the present invention is not limited to these, and other indicators (e.g., sharpness, contrast, grayscale, noise level, number of overexposed pixels, number of underexposed pixels, peak signal-to-noise ratio, etc.) may also be used.
[0053] If the image reliability remains low for a certain period, an alarm will be displayed to notify the user. This allows the user to recognize that the chip handling unit 211 is not functioning properly and to attempt to improve the environment. Specifically, by performing maintenance on the camera 227 or reassessing the shooting conditions, cleaning the lens, changing the lighting, or setting or operating the fog collector, the chip handling unit 211 can be restored to normal operation.
[0054] (Light and Dark Determination)
[0055] The brightness determination unit 231 determines that the image data is unsuitable for chip detection because it is too bright or too dark. Specifically, it uses the image's brightness value to monitor the brightness of the image. More specifically, it uses the average brightness value as a brightness index value and determines its relative value to a threshold. If the brightness index value remains lower or higher than the threshold for a certain period of time, the notification unit 213 notifies that the image data is unsuitable for chip detection because it is too bright or too dark. The notification unit 213 issues notifications such as, "Chip detection cannot be performed because the image is too dark. Please check the lamp's operating status," or "Chip detection cannot be performed because the image is too bright. Please check the camera's aperture."
[0056] (Fuzzy determination)
[0057] The blur determination unit 232 determines that the image data is unsuitable for chip detection due to blurring. Specifically, it monitors the degree of blurring by using the normalized value of the image data after applying a differential filter (Sobel filter) within the range of 0 to 1. In addition, the OTF (Optical Transfer Function, also known as the response function) of the image data can be calculated, and blurring can be determined by assessing the contrast (amplitude characteristic, MTF: Modulation Transfer Function) maintained at a given spatial frequency.
[0058] If the image blur level remains below a predetermined threshold for a certain period of time, notification unit 213 notifies the user that object detection is unsuitable due to defocusing. Notification unit 213 may, for example, display a message such as, "Due to image blur, chip detection cannot be performed. Please check the camera lens."
[0059] (Fog detection)
[0060] The fog detection unit 233 determines that the image captured under these conditions is unsuitable for chip detection because the concentration of fog generated when the coolant sprayed inside the machine tool is used to cool the workpiece or tool is too high.
[0061] Specifically, the fog determination unit 233 calculates an index of fog concentration based on a combination of the image's brightness value, frequency distribution, and contrast. In particular, in this embodiment, the fog index is the product of three feature quantities: "darkness level," "edge quantity," and "contrast." This is because these are all feature quantities that decrease as the fog level increases. The "darkness level," "edge quantity," and "contrast" are calculated based on the original image data before raster segmentation.
[0062] Since excessive fog can be mistakenly interpreted as a lack of chips, if the fog level remains below the threshold for a certain period, notification unit 213 notifies the user that chip detection is unsuitable due to the high concentration of coolant fog. For example, notification unit 213 may issue a notification such as, "Due to the high fog density, chip detection cannot be performed. Please check the operating status of the fog collector."
[0063] Here, as an example, the three feature quantities "degree of darkness", "edge amount" and "contrast" are defined as follows.
[0064] "Darkness level": The value obtained by subtracting the value obtained by normalizing the average brightness of each pixel unit within the range of 0 to 1 from 1.
[0065] "Edge value" = the maximum value (maximum drop) of the image data after passing through the differential filter (Sobel filter), i.e., Sobel max, which is the theoretical maximum value of 1140, and the normalized value within the range of 0 to 1.
[0066] "Contrast Ratio" = The value standardized within the range of 0 to 1, taking the workload of contrast correction (brightness histogram flattening) as the maximum value of 255.
[0067] Contrast correction (luminance histogram flattening) involves flattening the luminance histogram and quantifying the degree of absence of gaps in the processed histogram (numerical values of luminance values that are not zero). Figure 2B ).
[0068] In addition, the variance, standard deviation, or average of the differential filter output can also be used as an "edge quantity." Contrast can also be measured using the variance of luminance, the standard deviation of luminance, or the Michelson contrast ratio (a value calculated using the maximum and minimum luminance across all pixels).
[0069] Alternatively, the three features of "darkness level", "edge amount" and "contrast" can be weighted and accumulated here.
[0070] By using the methods described above for brightness determination, blur determination, and fog determination, the influence of image deviation can be suppressed, and robust determination results can be obtained.
[0071] Figure 3 This is a block diagram illustrating the internal structure of the information processing device 201. The information processing device 201 of this embodiment includes a processing unit 301, a memory 302, and a touch panel 303. However, it is not limited to these. The information processing device can be at least a processing unit 301 for detecting objects. Instead of a touch panel or other display unit 303 found on tablet terminals, the display unit 251 of a machine tool's control panel 250 can also be used. Alternatively, memory can be stored on an external server, and various data can be provided to the information processing device 201 via a network.
[0072] The processing unit 301 performs various arithmetic operations to realize various functions. The memory 302 stores various data and functions as the work area for the processing unit 301 during arithmetic operations. Specifically, the memory 302 stores the chip detection program 321, judgment parameters 323, judgment results 324, cleaning conditions 325 (including cleaning times, cleaning path information corresponding to the area, etc.), machine tool images 327, image reliability judgment program 328, and notification messages 329.
[0073] The touch panel 303 has both input functions, accepting instructions from the user, and display functions, such as displaying the judgment results of the chips.
[0074] The chip detection program 321 uses a chip determination model 322 obtained by applying the determination parameters 323 to the learning / inference model. The determination parameters 323 are parameters used for chip detection; they are obtained by using information related to a portion of the image (or an image portion corresponding to one grid) and the chips as teacher data, allowing the learning / inference model to learn in advance. The determination parameters 323 are stored in multiple different grid sizes. Additionally, learning parameters, such as the learning efficiency of the left and right chip determination models 322, can also be separately set in the memory 302.
[0075] like Figure 4 As shown, the determination result 324 is the result obtained by performing a chip detection procedure on the portion image 401 (the image portion corresponding to one grid) that divides the image 327 into grids. For example, the chip determination model 322 uses the concept of "class" as the determination result 324. This "class" is determined by comprehensively considering the amount, density, size, length, shape, etc. of the chips. Specifically, states that are easy to clean, such as few chips, scattered, small, short, and not easily hooked, are classified as low classes, while states that are difficult to clean, such as many chips, dense, large, long, and easily hooked, are classified as high classes. For each class, the probability of that class is stored as the determination result 324. For example, if three classes are set: "Class 0" (no chips), "Class 1" (few chips), and "Class 2" (many chips), the probability P0 for "Class 0", the probability P1 for "Class 1", and the probability P2 for "Class 2" are stored for each portion image.
[0076] return Figure 3 The cleaning condition 325 includes information such as the conditions for determining whether chip cleaning is necessary and the number of cleaning cycles. For example, the number of cleaning cycles includes the number of times the machine tool is continuously cleaned (i.e., the number of continuous cleaning cycles) and the number of times each grid area is continuously cleaned (i.e., the number of local continuous cleaning cycles).
[0077] The processing unit 301 is, for example, composed of a CPU (Central Processing Unit). By executing the chip detection program 321, the processing unit 301 can function as a region division unit 311, an image capture control unit 312, a grid division unit 313, a chip processing unit 314, and a coolant control unit 318. Furthermore, by executing the image reliability determination program 328, the processing unit 301 can function as an image reliability determination unit 212 and a notification unit 213.
[0078] The shooting control unit 312 outputs a shooting control signal to the camera 227 at a preset shooting time, acquires an image 327, and stores it in the memory 302. The shooting time is set between processes, when changing tools, at a certain time interval, or when a specified processing quantity is reached.
[0079] The grid segmentation unit 313 divides the image data of the machine tool into a grid structure so that it can be processed as a partial image, and establishes a correlation between the image data and the grid information. Therefore, since chip detection can be performed on a per-grid basis, accurate chip detection is possible. The grid segmentation unit 313 divides the image into partial images of determined sizes based on the dimensions of the chips, workpiece, and tool. This makes it easier to identify the edge shape of the workpiece or tool and the chips, reducing false detections. The grid is not limited to a checkerboard pattern (a mesh with square holes); it can also be diamond, triangular, honeycomb, etc. Furthermore, it is not necessary to segment the entire image into partial images; segmentation can be performed only on the area where chip detection is required.
[0080] like Figure 1 As shown, the area division unit 311 divides the image data into multiple areas, including a first area (area B) and a second area (area A), according to the internal structure of the machine tool. For example, area A is the area containing image data of images captured on the pallet, and area B is the area associated with the bottom of the machining area. Additionally, areas F and G are the areas containing image data of images captured of opening and closing doors located on the sidewalls or sides of the machine tool. Chips remaining inside the machine tool include chips remaining on the pallet, chips adhering to the sidewalls, etc. To ensure efficient movement of these chips, the method, direction, and spray path (cleaning path) of the coolant spray can be determined by area. The method, direction, and spray path (cleaning path) of the coolant spray are included in the cleaning conditions 325 and stored in the memory 302.
[0081] By efficiently moving the chips towards the chute, chip accumulation in a short period of time can be reduced. Furthermore, the chips moving towards the chute are removed by being discharged to a chip box outside the machine tool via a chip conveyor. For example, Figure 6 Region B is the bottom of the processing area, having a horizontal surface B1 and an inclined surface B2 that slopes relative to the horizontal surface. If a chip is detected within region B from the first grid corresponding to the inclined surface B2, as shown... Figure 6As shown, the coolant is first flowed in a straight line at the highest point of the inclined surface B2. The coolant flows from the inclined surface B2 towards the horizontal surface B1, and at the same time, it also flows on the inclined surface B2 corresponding to the first grid cell where the chip was detected. The chip is pushed by the coolant to the horizontal surface B1. After the coolant spraying onto the inclined surface B2 is completed, the control unit 228 controls the spraying of coolant onto the horizontal surface B1 in a zigzag pattern, pushing the chips on the horizontal surface into the flow channel. If the flow method involves causing the chips to fall from above and concentrating the accumulated chips at the bottom, the efficiency is better when there are few chips.
[0082] The chip processing unit 314 performs preprocessing on each part of the image to improve the accuracy of the determination, such as noise removal and image size conversion. Then, the chip processing unit 314 executes the chip detection program 321 on each part of the image, uses the chip determination model 322 to determine whether there are chips, and saves the determination result 324.
[0083] The chip processing unit 314 may use, for example, a deep learning method that is highly adaptable to environmental changes, particularly a model specialized for image category classification, namely a Convolutional Neural Network (CNN). However, it is not limited to this and other machine learning algorithms may also be used.
[0084] When using machine learning algorithms such as Support Vector Machines (SVM), filtering is performed on parts of the image to calculate the shape features of each part. These shape features can then be input into a learned chip determination model to classify each part of the image. Alternatively, non-machine learning algorithms such as deterministic algorithms can be used. For example, some images tend to be more complex with more chips and have more high-frequency components. Therefore, the chip processing unit 314 can perform frequency analysis such as Fast Fourier Transform (FFT) to compare the spectral statistics of each part of the image with the determination parameters to determine the category. Alternatively, a whole-area image of the region without chips can be prepared in advance, and its difference image with the whole-area image of the region to be determined can be divided into grids and subjected to Fast Fourier Transform to eliminate environmentally dependent components.
[0085] The chip processing unit 314 reads the determination results 324 of each part of the image from the memory 302 and displays them on the touch panel 303. Specifically, each part of the image is displayed in a way that the determination results can be recognized (e.g., different colors for different determination results).
[0086] For example, each grid cell is classified into four groups as shown below, based on the probability P0 of class 0 (no chips) and the probability P1 of class 1 (with chips), and is marked with different colors.
[0087] Group 1: P1 is 0–30% (P0 is 70–100%): Red
[0088] Group 2: P1 is 30-50% (P0 is 50-70%): Blue
[0089] Group 3: P1 is 50-70% (P0 is 30-50%): Green
[0090] Group 4: P1 is 70-100% (P0 is 0-30%): Yellow
[0091] Thus, for example, if the decision probability related to the detection of chips in the first grid is 0.98, P1 is 98%, and the grid is displayed in yellow (group 4). Alternatively, for example, if the decision probability related to the detection of chips in the second grid is 0.12, P1 is 12%, and the grid is displayed in red. Furthermore, while the decision probability related to the detection of chips in the second grid is 0.12, it can also be recorded as P0 being 88%.
[0092] From image confirmation to judgment result, the user can touch to select any part of the image that was misjudged and input the correct judgment result (other colors). For example, the following changes can be made: the part of the image that was classified as group 2 can be classified as group 1, the part of the image that was classified as group 3 can be classified as group 4, etc. The teaching processing unit 316 corrects the judgment result 324 in the memory 302 according to the user's input of the change in the judgment result.
[0093] The coolant control unit 318 controls the coolant pump 229 via the control unit 228. Specifically, in the observation mode where the condition inside the machine tool is directly captured and displayed on the touch panel 303, and in the chip detection mode where chips are detected by the chip processing unit 211, the coolant pump 229 is turned off. Alternatively, the coolant control unit 318, based on the determination result of the chip processing unit 314, controls the coolant spray unit 224 via the control unit 228 to spray coolant towards the target location. Whether to clean each area is determined by whether the accumulation amount in each area exceeds a threshold (set value). The accumulation amount in each area is calculated based on the determination result of each grid contained in the area.
[0094] No chips: 0 points
[0095] Less chipping: 3 points
[0096] More chips: 8 points
[0097] Example: Image capture and AI analysis results for region A (composed of 200 grids) at a specific time:
[0098] None ×165, Less ×30, More ×5
[0099] → Stacking score = 30x3 + 8x5 ≒ 130 > Threshold of region A
[0100] Then, the entire area A will be cleaned.
[0101] That is, the processing unit 301 calculates a score related to the probability of chip presence for each of the multiple grids obtained by segmenting a portion of the image data. Then, the processing unit 301 defines a region containing a predetermined number of grids and determines whether cleaning should be performed on a region-by-region basis based on the total score of the entire region. Specifically, if the total score of the region divided according to the structure within the machine tool 202 exceeds a threshold, the processing unit 301 generates a control signal that causes fluid to be injected from the fluid injection unit to flow fluid into the region, and sends the signal to the control unit 228 of the machine tool 202. The aforementioned total score (also referred to as "the amount of accumulation in the region" or "the accumulation score") is an example of "a score related to the accumulation of objects in the region".
[0102] For example, suppose from and Figure 6 Chips are detected in the first and third grids corresponding to the inclined surface B2. The chip handling unit 314 then obtains the area information divided by the area division unit 311 and sends the information detected in area B to the coolant control unit 318. The coolant control unit 318 sends a signal to the control unit for the following control: cleaning in area B is performed according to cleaning conditions by spraying coolant liquid in a straight line towards the inclined surface, and then spraying coolant liquid in a zigzag pattern towards the horizontal surface. The control unit, such as the NC, receives the signal sent from the coolant control unit 318 and drives the coolant nozzle accordingly to control the direction and amount of coolant liquid discharge. That is, the coolant control unit 318 sends a signal to the control unit to spray coolant according to the path of the coolant sprayed onto the part of the machine tool corresponding to the area. The coolant path is also for rinsing the chips from the machine tool and is also called the cleaning path. For example, in region F, which includes the side of the machine tool, if a chip is detected in the 5th grid, the cleaning path causes the coolant to flow in a straight horizontal direction at the side position of the machine tool corresponding to the 6th grid, which is at a higher position than the side. In this way, cleaning paths are set for each region and stored in memory. For example, in region A, which corresponds to the image area containing the tray, a serrated cleaning path is set. On the other hand, in regions G or other areas such as the side, a straight cleaning path is set.
[0103] Figure 5This is a flowchart illustrating the processing flow in the image reliability determination unit 212.
[0104] In step S501, if image data is acquired, the image reliability determination unit 212 performs brightness index calculation processing (S503), blur index calculation processing (S505), and fog index calculation processing (S507) in parallel. Furthermore, in steps S509 to S513, comparisons with each threshold are performed in parallel. If any index is below the threshold, the corresponding notification message 320 is read from the memory 302 and a notification is sent via the touch panel 303 (S515 to S519).
[0105] To summarize the above embodiments: The imaging control unit 312 controls the camera 227 at a predetermined time to acquire image data. The grid segmentation unit 313 segments the image data into partial images using a grid. The region division unit 311 divides the image data into multiple regions, each composed of a predetermined number of partial images, based on the internal structure of the machine tool. Figure 7 As shown, for example, area A contains a tray, and area B contains the bottom of the processing area. Cleaning paths for the coolant are pre-defined in each area. For example, a serrated cleaning path is defined in area A. Furthermore, in area B, a serrated cleaning path is defined for the horizontal surface B1, and a straight cleaning path is defined for the inclined surface B2.
[0106] The chip processing unit 314 determines the probability of chip presence for each segmented image segmented by a grid. Furthermore, for each region corresponding to the internal structure of the machine tool, the chip processing unit 314 calculates a total score related to the accumulation of objects in the entire region based on the probability of chip presence in multiple segmented images contained within that region. If the total score related to accumulation in any region exceeds a threshold, the coolant control unit 318 controls the spraying of coolant along a cleaning path for that region. If the total score for region A exceeds the threshold, coolant is sprayed along a serrated cleaning path for region A. If the total score for region B exceeds the threshold, coolant is sprayed along a serrated cleaning path on horizontal plane B1, and then along a straight cleaning path on inclined plane B2.
[0107] Figure 8 Another example representing image data. Figure 1 , Figure 6 and Figure 7 The image shown is an example of image data of the interior of a machine tool taken from above. Figure 8 As shown, image data taken from an oblique, upward angle can also be used. Figure 8The method for setting each region is explained below. The information processing device sets the fluid flow pattern for each region. When the quantity of objects in a region is a certain amount or more, information is processed by moving the objects through the set fluid flow pattern. Depending on the location (workbench, tray, sidewall, inclined plane, etc.), the accumulation amount and accumulation speed of objects vary. Therefore, it is preferable for the information processing device to set regions based on components within the image. However, detailed component identification during image processing is time-consuming; therefore, it is preferable to pre-divide the image into grids and pre-set regions by treating multiple grids as a single collection. The method for setting these regions is explained in detail below.
[0108] First, such as Figure 8 As shown, the image is divided into a raster pattern. Images can also be still images, moving images, or real-time videos. Figure 8 In the image, the grid is displayed as dashed lines, but whether it is displayed is arbitrary. Regardless of whether the image data is taken from above or from an oblique angle, the area corresponding to the internal structure of the machine tool is set according to the selected portion of the image (hereinafter referred to as the "selected portion image"). Figure 8 The illustrated region includes a first selected portion image 520 and a second selected portion image 530. The first selected portion image 520 has selected portion images 521 adjacent to its upper side, 522 adjacent to its right side, 523 adjacent to its lower side, and 524 adjacent to its left side surrounding it. Similarly, the second selected portion image 530 has selected portion images 531 adjacent to its upper side, 532 adjacent to its right side, and 533 adjacent to its left side surrounding it. The region in the above embodiment includes both the first selected portion image 520 and the second selected portion image 530. Furthermore, an example of the above embodiment includes the first selected portion image 520 and four adjacent selected portion images, and the second selected portion image 530 and three adjacent selected portion images. That is, any shape in the image data can be used as an extraction region. In this way, the selected area is "an area formed by selecting partial images according to the shape inside the machine tool," and is "an area containing the following selected partial images: (i) the selected first selected partial image 520, (ii) four selected partial images adjacent to the selected first selected partial image 520, (iii) the selected second selected partial image 530, and (iv) three selected partial images adjacent to the selected second selected partial image 530." This selected area, for example, in the case of a pallet, is... Figure 8 or Figure 1Region A in the image. In this way, by setting a region formed by combining partial images divided by a grid, the region can be flexibly set according to the machine's configuration, and the fluid flow pattern corresponding to the machine's structure can be set. Furthermore, the receiving unit of the information processing device 201 receives the selection of a region including the first selected partial image 520 and the second selected partial image 530. Region data that corresponds to multiple partial images contained in a candidate region can also be pre-stored in the memory 302, thereby enabling the selection of a region containing multiple partial images simultaneously. In this case, the receiving unit of the information processing device 201 receives the selection of the region to which the partial image belongs, for example, through touch operation on the touch panel 303 (display unit). For example, as with the shape of the tray 14, a region of a size corresponding to the shape of the machine tool's interior can be arbitrarily selected.
[0109] The display control unit 320 of the information processing device 201 can also perform... Figure 9 The score chart shown is displayed on the touch panel 303 (display unit).
[0110] like Figure 9 As shown, the score chart displays the total score of each captured area in a time sequence. The score chart is displayed on the touch panel 303 (display unit). Therefore, the display control unit 320 instructs the touch panel 303 (display unit) to display the threshold level of the total score on the chart displaying the total score of each captured area in a time sequence. The score chart also displays a threshold line 402 indicating the threshold level. A circular marker 404 is displayed on the total score of areas where the total score exceeds the threshold. The machine tool performs cleaning when the total score of an area exceeds the threshold. That is, the round marked with a circular marker 404 indicates that cleaning has been performed.
[0111] In this example, as shown by threshold line 402, the threshold is set to "100". For instance, the total score of the area from the 1st to the 4th iteration does not exceed the threshold, so no cleaning is performed. Therefore, during this period, chips increase, and the total score of the area rises. In the 5th iteration, cleaning is performed when the total score of the area exceeds the threshold. By cleaning, chips decrease, and the total score of the area decreases in the 6th iteration. This process repeats, showing the increase in the total score of the area during periods without cleaning and the decrease in the total score of the area based on cleaning. By observing the indicator chart, the user can easily understand the changes in the chip condition in the areas corresponding to the internal structure of the machine tool.
[0112] Furthermore, according to this embodiment, it is possible to determine whether an image obtained by photographing the interior of a machine tool is suitable for detecting objects to be removed. Moreover, the reliability of the detection results for the removed objects can be assessed, and if the reliability is low, methods to solve the problem can be investigated. Consequently, objects to be removed inside the machine tool can be detected with higher precision.
[0113] [other]
[0114] This invention can be applied to systems consisting of multiple devices, as well as to single devices. Furthermore, this invention can also be applied when an information processing program for implementing the functions of the embodiments is provided to the system or device and executed by a built-in processor. In order to implement the functions of this invention via a computer, the program installed on the computer or the medium storing the program, the server downloading the program, and the processor executing the program are also included within the scope of this invention. In particular, at least, a non-transitory computer-readable medium storing a program that causes a computer to perform the processing steps included in the above embodiments is included within the scope of this invention.
Claims
1. An information processing apparatus for processing image data captured by the imaging unit of a machine tool, which includes an imaging unit for capturing an object located within a machine tool and a fluid jetting unit for jetting fluid to move the object. It includes a processing unit that performs the following processing: (i) Receiving the image data, dividing a portion of the image data into a plurality of grids including a first grid, a second grid, a third grid, and a fourth grid, and further dividing the portion of the image data according to the structure within the machine tool into a plurality of regions including (a) a first region including the first grid and the third grid and (b) a second region including the second grid and the fourth grid. (ii) Detect the object associated with the first grid. (iii) If the object is detected in the first grid, a signal is generated for controlling the following: fluid is ejected from the fluid jet to make the fluid flow through the first region containing the first grid; The fluid jetting unit sprays fluid based on spraying conditions determined separately for each of the plurality of regions, the spraying conditions including at least one of the method, direction, path, and volume of the fluid being sprayed.
2. The information processing apparatus as described in claim 1, When the object is detected in the first grid and the score related to the accumulation of the object in the first region exceeds a threshold, the processing unit generates the signal.
3. The information processing apparatus as described in claim 1, The injection conditions include: The fluid is sprayed in a straight line onto the inclined surface; The fluid is sprayed in a zigzag pattern onto a horizontal surface.
4. A machine tool, comprising: The photographing section for objects inside the machine tool. A fluid jetting section that sprays fluid to move the object, and The information processing apparatus as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Signal transmission with checking function
JP1988067782B2
Processing machine system capable of removing chip generated by processing
JP2016168661A
Machine tool washing system
JP2018024094A
Three-dimensional measuring device and method for detecting abnormality in three-dimensional measuring device
JP2019028004A
Processed waste detecting device and machine tool
JP2019030917A
