Processing system, processing method, and processing program

The processing system reduces designer burden by initiating new visual inspections based on predetermined conditions in existing systems, enabling seamless integration of new inspections without modifying settings or programs.

JP2025135677APending Publication Date: 2025-09-19OMRON CORP +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024033562
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Expanding existing workpiece visual inspection systems to include new inspections requires modifying the settings or program, placing a burden on designers.

Method used

A processing system that includes a memory unit, an image acquisition unit, a control unit, and an image inspection unit, which monitors designated folders for predetermined conditions and initiates inspections without requiring notifications from the image acquisition unit, allowing new inspections to be performed using existing image files without changing the system's settings or program.

Benefits of technology

Enables the expansion of inspection systems while reducing the burden on designers by allowing new visual inspections to be integrated using existing image files, facilitating the use of both existing and new inspection systems in combination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025135677000001_ABST
    Figure 2025135677000001_ABST
Patent Text Reader

Abstract

To expand an inspection system while reducing the burden on designers.SOLUTION: A processing system 1 includes: a memory unit; an image acquisition unit 100 that captures an image of a workpiece to generate one or more image files and stores the one or more image files in the memory unit; a control unit 251 that monitors the state of a designated folder F1 in the memory unit and, when the state of the designated folder F1 satisfies predetermined conditions, outputs an inspection instruction for performing an external inspection of the workpiece to be inspected that appears in a predetermined image file among the one or more image files; and an image inspection unit 252 that performs the external inspection based on the inspection instruction.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a processing system, a processing method, and a processing program for performing visual inspection of a workpiece. [Background technology]

[0002] As disclosed in Japanese Patent Laid-Open No. 2022-48186 (Patent Document 1), factories use inspection systems that take images of workpieces being processed on a production line and inspect the appearance of the workpieces. In the following explanation, workpieces refer to objects to be processed on a production line, and are a general term for raw materials before processing, intermediate products, and finished products. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Publication No. 2022-48186 Summary of the Invention [Problem to be solved by the invention]

[0004] In recent years, an increasing number of manufacturers are considering implementing new workpiece visual inspections in addition to the visual inspections currently performed with existing systems, with the aim of improving yield and adding inspection items. Before implementing a new workpiece visual inspection system, it is necessary to conduct a trial of the new workpiece visual inspection using image files generated for the workpiece visual inspection in the existing system to confirm the reliability and effectiveness of the new visual inspection. Even after implementing a new workpiece visual inspection system, there are cases where it is desirable to use both the workpiece visual inspection performed by the existing system and the new workpiece visual inspection system in combination. However, in the past, expanding such an inspection system required modifying the settings or program of the existing system, which placed a burden on the designer.

[0005] An object of the present disclosure is to expand the inspection system while reducing the burden on the designer. [Means for solving the problem]

[0006] A processing system according to one aspect of the present disclosure includes a memory unit having a plurality of folders, an image acquisition unit that captures an image of a workpiece to generate one or more image files and stores the one or more image files in the memory unit, a control unit that monitors the state of a designated folder in the memory unit and, when the state of the designated folder satisfies predetermined conditions, outputs an inspection instruction to instruct an external inspection of the workpiece to be inspected that appears in a predetermined image file among the one or more image files, and an image inspection unit that performs the external inspection based on the inspection instruction.

[0007] According to this configuration, the control unit monitors the status of a designated folder in the storage unit, in which one or more image files generated by the image acquisition unit are saved. Furthermore, according to this configuration, when the status of the designated folder satisfies a predetermined condition, the control unit outputs an inspection instruction to the image inspection unit, instructing the image inspection unit to perform a visual inspection of the workpiece to be inspected, which is shown in a predetermined image file among the one or more image files, and the visual inspection by the image inspection unit is initiated. In other words, no notification from the image acquisition unit is required to initiate the visual inspection by the image inspection unit. Therefore, by adopting an imaging device or the like that generates image files for the visual inspection of workpieces using an existing system as the image acquisition unit, a new visual inspection of workpieces can be performed using the image files generated for the visual inspection of workpieces in the existing system without changing the settings or program of the existing system. This allows the inspection system to be expanded while reducing the burden on the designer.

[0008] In the above disclosure, preferably, the predetermined condition is that an image file having a predetermined file name or an image folder having a predetermined folder name has been saved in a designated folder.

[0009] According to this configuration, the appearance inspection by the image inspection unit can be started in response to an image file having a predetermined file name or an image folder having a predetermined folder name being saved in a designated folder.

[0010] In the above disclosure, preferably, the control unit obtains the work ID of the work to be inspected from the file name of the specified image file or path information indicating the storage location of the specified image file, and includes the work ID in the inspection instruction.

[0011] According to this configuration, the image inspection unit can identify the workpiece to be inspected based on the workpiece ID.

[0012] In the above disclosure, preferably, the control unit obtains identification information indicating the type of workpiece to be inspected from the file name of a specified image file or path information indicating the storage location of the specified image file, identifies the type of visual inspection flow based on the identification information, and includes an identification number indicating the type of flow in the inspection instruction.

[0013] According to this configuration, the type of flow of the visual inspection by the image inspection unit can be switched depending on the type of workpiece to be inspected.

[0014] In the above disclosure, the image inspection unit preferably transmits the inspection results to a control device that controls one or more devices that perform processing on the workpiece to be inspected.

[0015] According to this configuration, the control device can control one or more devices based on the test results.

[0016] In the above disclosure, preferably, one or more image files are saved in a designated folder.

[0017] According to this configuration, when the state of the designated folder in which one or more image files are saved satisfies a predetermined condition, the image inspection unit can start an appearance inspection.

[0018] In the above disclosure, preferably, the predetermined condition is that an image folder having a predetermined folder name is saved in the designated folder. The predetermined image file is saved in the image folder.

[0019] According to this configuration, when the image folder in which the predetermined image file is saved is saved in the designated folder, the appearance inspection by the image inspection unit can be started.

[0020] In the above disclosure, preferably, the processing system further includes a setting unit that sets a designated folder and predetermined conditions in response to a user input.

[0021] According to this configuration, the user can arbitrarily set the designated folder and predetermined conditions.

[0022] A processing method according to another aspect of the present disclosure includes capturing an image of a workpiece to generate one or more image files, storing the one or more image files in a memory unit having a plurality of folders, monitoring the state of a designated folder in the memory unit, and when the state of the designated folder satisfies a predetermined condition, outputting an inspection instruction to instruct an external inspection of the workpiece to be inspected that appears in a predetermined image file among the one or more image files, and performing the external inspection based on the inspection instruction.

[0023] This configuration allows the inspection system to be expanded while reducing the burden on the designer.

[0024] A processing program according to another aspect of the present disclosure causes one or more computers to execute the above processing method.

[0025] This configuration allows the inspection system to be expanded while reducing the burden on the designer. [Effects of the Invention]

[0026] According to the present disclosure, it is possible to expand an inspection system while reducing the burden on designers. [Brief explanation of the drawings]

[0027] [Figure 1] This is a diagram showing an example of a processing system according to the present embodiment. [Figure 2] This is a diagram showing an example of the hardware configuration of the processing device 200. [Figure 3] This is a diagram showing an example of a first setting screen used for setting the monitoring process. [Figure 4] This is a diagram showing an example of a second setting screen used for setting the monitoring process. [Figure 5] This is a diagram for explaining an example when a first condition is set as a predetermined condition. [Figure 6] This is a diagram for explaining an example when a second condition is set as a predetermined condition. [Figure 7] This is a diagram for explaining an example when a third condition is set as a predetermined condition. [Figure 8] This is a flowchart showing an example of the procedure of the monitoring process. [Figure 9] This is a flowchart showing an example of the procedure of the output process of the inspection instruction. [Figure 10] This is a flowchart showing an example of the processing procedure of the appearance inspection by the image inspection unit 252. [Figure 11] This is a diagram showing an example of the monitoring log screen. [Embodiments for Carrying Out the Invention]

[0028] Hereinafter, embodiments and modifications according to the present disclosure will be described with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated. Note that the embodiments and modifications described below may be selectively combined as appropriate.

[0029] [Embodiment] [A. Application Example] An overview of a processing system according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of a processing system according to this embodiment. As shown in Fig. 1, the processing system 1 according to this embodiment includes an image acquisition unit 100, a processing device 200, an input device 300, a display device 400, a control device 500, a storage 600, and a storage 700. The processing system 1 is installed at a production site such as a factory.

[0030] The image acquisition unit 100 is an imaging device included in an existing inspection system that performs a first visual inspection of one or more workpieces processed on a production line. The first visual inspection is, for example, a conventional visual inspection of workpieces that is performed without using AI (Artificial Intelligence). For the first visual inspection of one or more workpieces, the image acquisition unit 100 captures images of the one or more workpieces and generates one or more image files for the one or more workpieces. The image acquisition unit 100 saves the one or more image files in the storage 600. The one or more image files generated by the image acquisition unit 100 may include multiple image files obtained by capturing images of a workpiece under different imaging conditions. The storage 600 is an example of a "storage unit" in the present disclosure. The storage 600 includes multiple folders F.

[0031] The processing device 200 includes a control unit 251, an image inspection unit 252, a setting unit 253, and a storage 203. The control unit 251 and the setting unit 253 are realized by a processor 201 (see FIG. 2) that executes a program 231 (see FIG. 2) described below.

[0032] The control unit 251 performs a monitoring process of monitoring the state of a designated folder F1 designated in advance from among multiple folders F and outputting an inspection instruction to the image inspection unit 252. More specifically, the control unit 251 monitors the state of the designated folder F1. When the state of the designated folder F1 satisfies a predetermined condition, the control unit 251 outputs an inspection instruction to the image inspection unit 252 to instruct an appearance inspection of the inspection target workpiece that appears in the inspection target file among one or more image files in the storage 600. The inspection target file is an example of a "predetermined image file" in the present disclosure. Candidates for the inspection target file are designated in advance. The inspection instruction includes path information indicating the storage location of the inspection target file.

[0033] The image inspection unit 252 performs a second visual inspection of the work to be inspected based on the inspection instruction. More specifically, the image inspection unit 252 acquires the inspection target file from the storage 600 based on the path information included in the inspection instruction. The image inspection unit 252 performs a second visual inspection of the inspection target work shown in the inspection target file.

[0034] The second type of visual inspection is different from the first type of visual inspection. The second type of visual inspection is, for example, a visual inspection of workpieces using AI. By using AI in the visual inspection of workpieces, it is possible to inspect a wider variety of items than with conventional visual inspections. Therefore, visual inspection using AI is expected to improve yields compared to conventional visual inspections.

[0035] When the appearance inspection is completed, the image inspection unit 252 transmits a completion notification to the control unit 251. Furthermore, the image inspection unit 252 stores the inspection target file used in the appearance inspection by the image inspection unit 252 in the storage 700 as an inspected image file.

[0036] The inspection results by the image inspection unit 252 are displayed on the display device 400. The display device 400 includes a display. The inspection results by the image inspection unit 252 may be transmitted to the control device 500. The control device 500 is a computer such as a PLC (Programmable Logic Controller) or an industrial PC (Personal Computer), for example. The control device 500 controls one or more field devices that perform processing on the inspection target work.

[0037] The setting unit 253 sets the settings of the control unit 251 according to user input via the input device 300. For example, the setting unit 253 sets the specified folder F1 and predetermined conditions according to user input. Also, the setting unit 253 sets candidates for inspection target files used for the appearance inspection by the image inspection unit 252 according to user input. The setting information is stored in the storage 203. The input device 300 may include a keyboard and a mouse, or may include a touch panel.

[0038] As described above, the control unit 251 monitors the specified folder F1 in the storage 600 where one or more image files generated for the first appearance inspection are stored. When the state of the specified folder F1 satisfies a predetermined condition, the control unit 251 outputs an inspection instruction for instructing an appearance inspection of the inspection target work shown in a predetermined image file among the one or more image files to the image inspection unit 252. The image inspection unit 252 executes a second appearance inspection of the work based on the inspection instruction. That is, a notification from the image acquisition unit 100 is not required to start the appearance inspection by the image inspection unit 252. Therefore, according to the processing system 1, a new appearance inspection of the work can be performed using the image files generated for the appearance inspection of the work in the existing system without changing the settings or programs of the existing system. Therefore, according to the processing system 1, the inspection system can be extended while reducing the burden on the designer.

[0039] <B. Hardware Configuration of Processing Device 200> The hardware configuration of the processing device 200 will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the hardware configuration of the processing device 200. As shown in Fig. 2, the processing device 200 includes, for example, a processor 201, a memory 202, a storage 203, an input interface 204, a display interface 205, a communication interface 206, and an image inspection unit 252.

[0040] The processor 201 is, for example, a CPU (Central Processing Unit). The processor 201 reads out a program 231 stored in a storage 203, loads it into a memory 202, and executes it.

[0041] The memory 202 is configured as a volatile storage device such as a dynamic random access memory (DRAM) or a static random access memory (SRAM).

[0042] The storage 203 is configured by a non-volatile storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory.

[0043] The storage 203 stores a program 231. The program 231 includes a plurality of computer-readable instructions for controlling the processing device 200. The program 231 includes a "processing program" in this disclosure. By executing the program 231, the processor 201 controls each unit of the processing device 200 and realizes various processes according to the present embodiment.

[0044] The program 231 may be provided not as a standalone program but as part of an arbitrary program. In this case, the program 231 cooperates with the arbitrary program to realize the processing according to this embodiment. Even a program that does not include some of these modules does not deviate from the spirit of the processing device 200 according to this embodiment. Furthermore, some or all of the functions provided by the program 231 may be realized by dedicated hardware.

[0045] The storage 203 further stores setting information 232 specified via the input device 300. The setting information 232 includes information specified on setting screens G1 and G2 (see FIGS. 3 and 4) described below, and information specified on a monitoring log screen G3 (see FIG. 11) described below.

[0046] The storage 203 further stores history information 233. The history information 233 includes the file name and update date and time of the image file used in the visual inspection of the workpiece by the image inspection unit 252. In the present disclosure, the update date and time means the date and time when the image file, image folder, or CSV file was saved in the storage 600. The history information 233 is saved in the storage 203 by the processing of step S6 (see FIG. 8) described below.

[0047] The input interface 204 receives, from the input device 300, an operation signal corresponding to an operation accepted by the input device 300. The input interface 204 transmits the operation signal to the processor 201.

[0048] The display interface 205 transmits, to the display device 400, screen data representing a screen to be displayed on the display device 400 in accordance with an instruction from the processor 201.

[0049] The communication interface 206 exchanges data with devices connected to the network (for example, the control device 500, the storage 600, and the storage 700, etc.) via the network.

[0050] The image inspection unit 252 performs a second appearance inspection of the workpiece according to the instruction of the processor 201.

[0051] <C. Setting Screen> Referring to FIGS. 3 and 4, a setting screen used for setting the monitoring process will be described. FIG. 3 is a diagram showing an example of a first setting screen used for setting the monitoring process.

[0052] Referring to FIG. 3, the setting screen G1 is an example of a first setting screen used for setting the monitoring process. The setting screen G1 is displayed within the screen W1 displayed on the display device 400. The screen W1 and the setting screen G1 are operated by the user via the input device 300. The setting screen G1 includes setting areas 11, 21, 31, 41, 51.

[0053] The setting area 11 is used to specify the inspection start timing. More specifically, the setting area 11 is used to set the designated folder F1 monitored by the control unit 251 and a predetermined condition.

[0054] The setting area 11 includes an input field 12. The input field 12 is used to specify path information indicating the storage location of the designated folder F1. The setting unit 253 sets the folder indicated by the path information input into the input field 12 as the designated folder F1.

[0055] The setting area 11 further includes radio buttons 13, 15, 17 and input fields 14, 16, 18. The radio buttons 13, 15, 17 and the input fields 14, 16, 18 are used to specify a predetermined condition. As the predetermined conditions that can be set, the following three conditions are prepared. The user specifies one of the following three conditions as the predetermined condition.

[0056] The first condition is that an image file having a predetermined file name is saved in the designated folder F1. The second condition is that an image folder having a predetermined folder name is saved in the designated folder F1. The third condition is that a CSV file having a predetermined file name is saved in the designated folder F1. In the present disclosure, the CSV file includes work information of the workpiece depicted in the image file generated by the image acquisition unit 100. The work information includes a workpiece ID and a type ID, which will be described later. The CSV file is generated by the generation unit 150 (see FIG. 7), which will be described later, and saved in the storage 600.

[0057] The radio button 13 and the input field 14 are used to specify the first condition as the predetermined condition. When the radio button 13 is selected and a file name is entered in the input field 14, the setting unit 253 sets the predetermined condition as follows: an image file having the file name entered in the input field 14 has been saved in the designated folder F1.

[0058] The radio button 15 and input field 16 are used to specify the second condition as the predetermined condition. When the radio button 15 is selected and a folder name is entered in the input field 16, the setting unit 253 sets the predetermined condition as follows: an image folder having the folder name entered in the input field 16 has been saved in the designated folder F1.

[0059] The radio button 17 and the input field 18 are used to specify the third condition as the predetermined condition. When the radio button 17 is selected and a file name is entered in the input field 18, the setting unit 253 sets the predetermined condition as follows: a csv file having the file name entered in the input field 18 has been saved in the specified folder F1. Note that the input fields 14, 16, and 18 may include wildcards.

[0060] In the example shown in Fig. 3, "Monitor" is specified as the designated folder F1. Also, in the example shown in Fig. 3, the predetermined condition is that an image file having a file name ending in "_CAM2.bmp" is saved in the designated folder F1.

[0061] The setting area 21 is used to specify candidates for files to be inspected. The setting area 21 includes an input field 22. The input field 22 is used to specify path information indicating the location of a folder in which the candidates for files to be inspected are stored. The setting unit 253 sets the folder indicated by the path information entered in the input field 22 as the folder in which the candidates for files to be inspected are stored.

[0062] The setting area 21 further includes radio buttons 23 and 25 and input fields 24 and 26. The radio buttons 23 and 25 and input fields 24 and 26 are used to specify candidates for files to be inspected. The following two methods are available for specifying candidates for files to be inspected.

[0063] The first method for specifying candidate files to be inspected is to specify the candidate files to be inspected by file name. The second method for specifying candidate files to be inspected is to specify the candidate files to be inspected by the folder name of the image folder in which the candidate files to be inspected are stored. The user specifies candidate files to be inspected by using one of the two methods.

[0064] Radio button 23 and input field 24 are used when specifying a candidate file to be inspected by file name. When radio button 23 is selected and a file name is entered in input field 24, setting unit 253 sets an image file that is stored in the folder indicated by the path information entered in input field 22 and has the file name entered in input field 24 as a candidate file to be inspected.

[0065] Radio button 25 and input field 26 are used to specify candidates for files to be inspected by the folder name of an image folder in which the candidate is stored. When radio button 25 is selected and a folder name is entered in input field 26, setting unit 253 sets, as candidates for files to be inspected, image files that are stored in the folder indicated by the path information entered in input field 22 and that are stored in the image folder having the folder name entered in input field 26.

[0066] Note that wildcards may be included in the input fields 24 and 26. Furthermore, multiple file names may be input in the input field 24.

[0067] In the example shown in Figure 3, an image file stored in "Monitor" and having a file name ending in "_CAM1.bmp" and an image file stored in "Monitor" and having a file name ending in "_CAM2.bmp" are specified as candidates for files to be inspected.

[0068] The setting area 31 is used to specify how to obtain the image ID number of the file to be inspected. The image ID number is an identification number that indicates a group of image files. For example, the same image ID number is assigned to multiple image files generated by capturing images of a workpiece under different imaging conditions.

[0069] The setting area 31 includes radio buttons 32 and 33 and an input field 34. The radio buttons 32 and 33 and the input field 34 are used to specify a method for obtaining an image ID number. The following two methods are available for obtaining an image ID number.

[0070] The first method for obtaining the image ID number is to obtain it from the path information that indicates the storage location of the file to be inspected. The second method for obtaining the image ID number is to obtain it from the file name of the file to be inspected. The user specifies one of these two methods as the method for obtaining the image ID number.

[0071] Radio button 32 is used to specify that the image ID number is to be obtained from the path information indicating the storage location of the file to be inspected. Radio button 33 is used to specify that the image ID number is to be obtained from the file name of the file to be inspected. Input field 34 is used to specify whether the path information or the file name is to be obtained as the image ID number.

[0072] When radio button 32 is selected, setting unit 253 sets the character string specified in input field 34 from the path information indicating the storage location of the file to be inspected to be acquired as the image ID number of the file to be inspected.

[0073] When radio button 33 is selected, setting unit 253 sets that the character string specified in input field 34 in the file name of the file to be inspected is to be acquired as the image ID number of the file to be inspected.

[0074] In the example shown in FIG. 3, it is specified that the image ID number of the file to be inspected is to be the thirteenth three characters from the beginning of the character string indicating the file name of the file to be inspected.

[0075] The setting area 41 is used to specify how to obtain the work ID of the file to be inspected. The work ID is information for identifying the work.

[0076] The setting area 41 includes a pull-down menu 42, a check box 43, radio buttons 44 to 47, and an input field 48. The pull-down menu 42 and the check box 43 are used to specify an identifier to be used as a work ID. When one identifier is selected from among a plurality of identifiers included in the pull-down menu 42 and the check box 43 is selected, the setting unit 253 sets the selected identifier to be used as the work ID. In the example shown in FIG. 3, it is specified that the serial number of the work is to be used as the work ID.

[0077] The radio buttons 44 to 46 and the input field 48 are used to specify the method for obtaining the work ID. The following three methods are available for obtaining the work ID.

[0078] The first method for obtaining the work ID is to obtain it from the path information that indicates the storage location of the file to be inspected. The second method for obtaining the work ID is to obtain it from the file name of the file to be inspected. The third method for obtaining the work ID is to obtain it from within a CSV file. The user specifies one of these three methods as the method for obtaining the work ID. Note that the user can also choose not to obtain the work ID.

[0079] Radio button 44 is used to specify that the work ID is to be obtained from the path information indicating the storage location of the file to be inspected. Radio button 45 is used to specify that the work ID is to be obtained from the file name of the file to be inspected. Radio button 46 is used to specify that the work ID is to be obtained from within the CSV file. Radio button 47 is used to specify that the work ID is not to be obtained. Input field 48 is used to specify which character string indicating the path information, file name, or work information within the CSV file is to be obtained as the work ID of the file to be inspected.

[0080] When radio button 44 is selected, setting unit 253 sets the character string specified in input field 48 from the path information indicating the storage location of the file to be inspected to be acquired as the work ID of the file to be inspected.

[0081] When the radio button 45 is selected, the setting unit 253 sets that the character string specified in the input field 48 in the file name of the file to be inspected is to be acquired as the work ID of the file to be inspected.

[0082] When the radio button 46 is selected, the setting unit 253 sets that the character string specified in the input field 48 from among the character strings in the csv file is to be acquired as the work ID of the file to be inspected.

[0083] When the radio button 47 is selected, the setting unit 253 sets that the work ID of the file to be inspected is not to be acquired.

[0084] In the example shown in FIG. 3, it is specified that the work ID of the file to be inspected is to be the first 12 characters from the beginning of the character string indicating the file name of the file to be inspected.

[0085] The setting area 51 is used to enable the inspection flow switching function. The inspection flow switching function is a function that switches the flow of the visual inspection of a workpiece by the image inspection unit 252 depending on the type of workpiece. The setting area 51 includes a check box 52, radio buttons 53 to 55, an input field 56, and an input field 57.

[0086] The check box 52 is used to enable the inspection flow switching function. When the check box 52 is selected, the setting unit 253 sets the inspection flow switching function to be enabled.

[0087] Radio buttons 53 to 55 and input field 56 are used to specify the method for obtaining the type ID of the workpiece to be inspected that appears in the inspection target file. The type ID is an example of "identification information that indicates the type of workpiece to be inspected." The following three methods are available for obtaining the type ID:

[0088] The first method for obtaining the type ID is to obtain it from the path information that indicates the storage location of the file to be inspected. The second method for obtaining the type ID is to obtain it from the file name of the file to be inspected. The third method for obtaining the type ID is to obtain it from within a CSV file. The user specifies one of these three methods as the method for obtaining the type ID.

[0089] Radio button 53 is used to specify that the type ID should be obtained from the path information indicating the storage location of the file to be inspected. Radio button 54 is used to specify that the type ID should be obtained from the file name of the file to be inspected. Radio button 55 is used to specify that the type ID should be obtained from within a CSV file. Input field 56 is used to specify which character string should be obtained as the type ID from among character strings indicating path information, file name, or work information within a CSV file.

[0090] When radio button 53 is selected, setting unit 253 sets that the character string specified in input field 56 from the path information indicating the storage location of the file to be inspected is to be acquired as the type ID of the file to be inspected.

[0091] When the radio button 54 is selected, the setting unit 253 sets that the character string specified in the input field 56 in the file name of the file to be inspected is to be acquired as the type ID of the file to be inspected.

[0092] When the radio button 55 is selected, the setting unit 253 sets that the character string specified in the input field 56 from among the character strings in the csv file is to be acquired as the type ID of the file to be inspected.

[0093] The input field 57 is used to associate the type ID with the inspection flow number. The inspection flow number is an example of an identification number that indicates the type of flow of the visual inspection of the workpiece by the image inspection unit 252.

[0094] In the example shown in Fig. 3, it is specified that the first four characters from the beginning of the path information string indicating the storage location of the file to be inspected are obtained as the type ID. Also, in the example shown in Fig. 3, the type ID "w101" is associated with the inspection flow number "1", and the type ID "w102" is associated with the inspection flow number "2".

[0095] The screen W1 includes a button 91 and a button 92. When the setting screen G1 is displayed on the screen W1, the button 91 is used to instruct saving of information specified on the setting screen G1 as setting information 232. When the button 91 is pressed while the setting screen G1 is displayed on the screen W1, the setting unit 253 saves the information specified on the setting screen G1 as setting information 232 in the storage 203.

[0096] When the setting screen G1 is displayed on the screen W1, the button 92 is used to instruct the information specified on the setting screen G1 to be saved as the setting information 232 and to enable the monitoring process. When the button 92 is pressed while the setting screen G1 is displayed on the screen W1, the setting unit 253 saves the information specified on the setting screen G1 as the setting information 232 in the storage 203 and enables the monitoring process.

[0097] Fig. 4 is a diagram showing an example of a second setting screen used for setting the monitoring process. Referring to Fig. 4, setting screen G2 is displayed within screen W1 displayed on display device 400. Setting screen G2 is operated by a user via input device 300. Setting screen G2 includes setting areas 61 to 64, 66.

[0098] The setting area 61 is used to enable or disable the original data deletion function. The original data deletion function is a function that deletes the original image file stored in the storage 600 after the appearance inspection by the image inspection unit 252 is performed.

[0099] The setting area 62 is used to specify the period for monitoring the specified folder F1. The setting area 63 is used to specify information necessary for communication between the control unit 251 and the image inspection unit 252. The setting area 64 is used to specify an inspection command to be sent from the control unit 251 to the image inspection unit 252. The inspection command is a command that instructs performing an appearance inspection of the workpiece in accordance with an inspection list, which will be described later. The setting area 66 is used to specify the management mode of the operation log of the monitoring process.

[0100] When the setting screen G2 is displayed on the screen W1, the button 91 is used to instruct saving of information specified on the setting screen G2 as setting information 232. When the button 91 is pressed while the setting screen G2 is displayed on the screen W1, the setting unit 253 saves the information specified on the setting screen G2 as setting information 232 in the storage 203.

[0101] When the setting screen G2 is displayed on the screen W1, the button 92 is used to instruct the information specified on the setting screen G2 to be saved as the setting information 232 and to enable the monitoring process. When the button 92 is pressed while the setting screen G2 is displayed on the screen W1, the setting unit 253 saves the information specified on the setting screen G2 as the setting information 232 in the storage 203 and enables the monitoring process.

[0102] <D. Specific Example 1 of Monitoring Process> Referring to FIG. 5, a case where the above first condition is set as a predetermined condition will be described. FIG. 5 is a diagram for explaining an example when the first condition is set as a predetermined condition.

[0103] The storage 600 includes a plurality of folders F. In the example shown in FIG. 5, one or more image files generated by the image acquisition unit 100 are stored in the folder 601 among the plurality of folders F. In the example shown in FIG. 5, the folder 601 is set as the designated folder F1. In the example shown in FIG. 5, as a predetermined condition, it is set that an image file having a file name ending with “_CAM2.bmp” is stored in the designated folder F1. In the example shown in FIG. 5, as candidates for the inspection target files, an image file having a file name ending with “_CAM1.bmp” in the folder 601 and an image file having a file name ending with “_CAM2.bmp” in the folder 601 are set.

[0104] The image files 611 and 612 are image files generated by the image acquisition unit 100 and stored in the folder 601. The image file 611 has not been used yet in the appearance inspection of the work by the image inspection unit 252 and has an update date and time after the previous inspection start timing. Also, the image file 611 has a file name ending with “_CAM1.bmp”. The image file 612 has not been used yet in the appearance inspection of the work by the image inspection unit 252 and has an update date and time after the previous inspection start timing. Also, the image file 612 has a file name ending with “_CAM2.bmp”. The image file 612 is an example of the “image file having a predetermined file name” in the present disclosure. The inspection start timing is the timing when the control unit 251 determines that the state of the designated folder F1 satisfies a predetermined condition. The update date and time of the image file 612 is the same as or later than the update date and time of the image file 611.

[0105] The monitoring process is enabled when the above-mentioned button 92 (see FIG. 3 or FIG. 4) or a button 73 (see FIG. 11) described later is pressed. When the monitoring process is enabled, the control unit 251 monitors the folder 601 as the designated folder F1 at the interval specified using the setting area 62 (see FIG. 4). More specifically, the control unit 251 determines whether the state of the folder 601 satisfies a predetermined condition.

[0106] More specifically, the control unit 251 determines whether the state of the folder 601 satisfies a predetermined condition, taking into account the update date and time of the image file. That is, if an image file having an update date and time after the start timing of the previous examination and having a file name ending in "_CAM2.bmp" is stored in the folder 601, the control unit 251 determines that the state of the folder 601 satisfies the predetermined condition.

[0107] If the folder 601 has not been updated, the control unit 251 may determine that the state of the folder 601 does not satisfy a predetermined condition. This can speed up the determination of whether the state of the folder 601 satisfies the predetermined condition.

[0108] In the example shown in FIG. 5 , since image file 612 is stored in folder 601, control unit 251 determines that the state of folder 601 satisfies a predetermined condition. Next, control unit 251 determines whether one or more files to be inspected are stored in folder 601. An inspection target file is an image file, among image files set as candidates for the inspection target file, that has an updated date and time since the previous inspection start timing and has not yet been used in the visual inspection of a workpiece by image inspection unit 252. In the example shown in FIG. 5 , the inspection target files are image files 611 and 612. If one or more files to be inspected are stored in folder 601, control unit 251 accesses the one or more files to be inspected based on path information indicating the storage locations of the one or more files to be inspected and confirms that the one or more files to be inspected are not corrupted. On the other hand, if no files to be inspected are stored in folder 601, control unit 251 waits until the next monitoring timing for folder 601 arrives.

[0109] The control unit 251 checks the image files 611 and 612 and confirms that the image files 611 and 612 are not corrupted. In the example shown in FIG. 5, it is assumed that the image files 611 and 612 are not corrupted. If an image file is corrupted, the control unit 251 excludes the corrupted image file from the files to be inspected. The control unit 251 may notify the user of the corrupted image file. As an example, the control unit 251 may cause the display device 400 to display information indicating the corrupted image file.

[0110] If it is set to acquire a workpiece ID, the control unit 251 acquires the workpiece ID of the workpiece to be inspected that appears in each inspection target file in accordance with the acquisition method specified using the setting area 41 (see FIG. 3). In the example shown in FIG. 5, it is assumed that it is set to acquire the workpiece ID from the file name of the inspection target file. The control unit 251 acquires the workpiece ID of the workpiece to be inspected that appears in the image file 611 from the file name of the image file 611. The control unit 251 also acquires the workpiece ID of the workpiece to be inspected that appears in the image file 612 from the file name of the image file 612.

[0111] When the inspection flow switching function is enabled, the control unit 251 acquires the type ID of the workpiece to be inspected that appears in each inspection target file according to the acquisition method specified using the setting area 51 (see FIG. 3). The control unit 251 identifies the type of flow for the visual inspection of the workpiece by the image inspection unit 252 based on the type ID. More specifically, the control unit 251 identifies the inspection flow number that corresponds to the type ID based on the information set using the input field 57 (see FIG. 3).

[0112] 5, it is assumed that the inspection flow switching function is enabled and that the type ID is set to be obtained from the file name of the inspection target file. The control unit 251 obtains the type ID of the inspection target workpiece shown in the image file 611 from the file name of the image file 611, and identifies the inspection flow number corresponding to the type ID. The control unit 251 also obtains the type ID of the inspection target workpiece shown in the image file 612 from the file name of the image file 612, and identifies the inspection flow number corresponding to the type ID.

[0113] The control unit 251 generates an inspection list for the visual inspection of the workpiece by the image inspection unit 252. More specifically, first, the control unit 251 acquires the image ID number of each file to be inspected in accordance with the acquisition method specified using the setting area 31 (see FIG. 3). In the example shown in FIG. 5, it is assumed that the image ID number is set to be acquired from the file name of the file to be inspected. The control unit 251 acquires the image ID number of image file 611 from the file name of image file 611. Furthermore, the control unit 251 acquires the image ID number of image file 612 from the file name of image file 612.

[0114] Next, the control unit 251 sorts the one or more files to be inspected in order of update date and time for each file format (image format) and image ID number of the file to be inspected. The control unit 251 then determines the sorted order of the one or more files to be inspected as the inspection order for the visual inspection of the workpieces by the image inspection unit 252. The control unit 251 then generates an inspection list including the inspection order of each of the one or more files to be inspected and path information indicating the storage location of each of the one or more files to be inspected. If the acquisition of workpiece IDs is enabled, the control unit 251 further includes in the inspection list the workpiece IDs of the workpieces to be inspected that appear in each of the one or more files to be inspected. If the inspection flow switching function is enabled, the control unit 251 further includes in the inspection list the inspection flow number identified for each of the one or more files to be inspected. In the example shown in FIG. 5, the control unit 251 generates an inspection list including the inspection order, path information indicating the storage location, workpiece ID, and inspection flow number of the image file 611, and the inspection order, path information indicating the storage location, workpiece ID, and inspection flow number of the image file 612.

[0115] The control unit 251 outputs an inspection instruction to the image inspection unit 252. The inspection instruction includes an inspection command and the above-mentioned inspection list. The inspection command is a command to instruct to perform a visual inspection of the workpiece in accordance with the inspection list.

[0116] When the image inspection unit 252 receives an inspection instruction, it acquires the file to be inspected based on the path information included in the inspection list. If the inspection list includes multiple pieces of path information, the image inspection unit 252 acquires multiple files to be inspected corresponding to the multiple pieces of path information. In the example shown in FIG. 5, the image inspection unit 252 acquires image files 611 and 612 from the folder 601.

[0117] The image inspection unit 252 performs a visual inspection of the workpiece to be inspected that appears in each inspection target file in accordance with the inspection order included in the inspection list. If the inspection list includes an inspection flow number, the image inspection unit 252 performs a visual inspection of the workpiece to be inspected that appears in the inspection target file in the inspection flow corresponding to the inspection flow number of the inspection target file. In the example shown in FIG. 5, the image inspection unit 252 performs a visual inspection of the workpiece to be inspected that appears in the image file 611 in the inspection flow corresponding to the inspection flow number of the image file 611. In addition, the image inspection unit 252 performs a visual inspection of the workpiece to be inspected that appears in the image file 612 in the inspection flow corresponding to the inspection flow number of the image file 612.

[0118] When the visual inspection of all the workpieces to be inspected that appear in all the files to be inspected indicated by the inspection list has been completed, the image inspection unit 252 sends a visual inspection completion notification to the control unit 251. The image inspection unit 252 saves one or more files to be inspected that have been used in the visual inspection of the workpieces by the image inspection unit 252 in the storage 700 as inspected image files. The image inspection unit 252 sends the inspection results to the display device 400, and the display device 400 displays the inspection results. The image inspection unit 252 may also send the inspection results to the control device 500.

[0119] When the control unit 251 receives the completion notice, it deletes the inspection list. If the original data deletion function is set to be effective, the control unit 251 deletes the original image files of one or more inspection target files used for the appearance inspection of the work by the image inspection unit 252 from the storage 600. In the example shown in FIG. 5, it is assumed that the original data deletion function is set to be effective. The control unit 251 deletes the image files 611 and 612 from the storage 600.

[0120] In addition, in the example shown in FIG. 5, it may be set to obtain at least one of the work ID, type ID, and image ID number from the path information indicating the storage location of the inspection target file.

[0121] <E. Specific Example 2 of Monitoring Process> Referring to FIG. 6, a case where the second condition described above is set as a predetermined condition will be described. FIG. 6 is a diagram for explaining an example when the second condition is set as a predetermined condition.

[0122] The storage 600 includes a plurality of folders F. In the example shown in FIG. 6, one or more image files generated by the image acquisition unit 100 are stored in the folder 601 among the plurality of folders F. In the example shown in FIG. 6, the folder 601 is set as the designated folder F1. In the example shown in FIG. 6, it is set as a predetermined condition that an image folder having a folder name ending with "_CAM1-2" is stored in the designated folder F1. In the example shown in FIG. 6, as candidates for the inspection target files, an image file having a file name ending with "_CAM1.bmp" in the folder 601 and an image file having a file name ending with "_CAM2.bmp" in the folder 601 are set.

[0123] The image files 611 and 612 are as described above. In the example shown in Fig. 6, the image files 611 and 612 are saved in an image folder 621 created in folder 601. The image folder 621 has an update date and time after the start of the previous examination, and has a folder name that ends with "_CAM1-2". The image folder 621 is an example of an "image folder with a predetermined folder name" in the present disclosure.

[0124] The monitoring process is enabled when the above-mentioned button 92 (see FIG. 3 or FIG. 4) or a button 73 (see FIG. 11) described later is pressed. When the monitoring process is enabled, the control unit 251 monitors the folder 601 as the designated folder F1 at the interval specified using the above-mentioned setting area 62 (see FIG. 4). More specifically, the control unit 251 determines whether the state of the folder 601 satisfies a predetermined condition.

[0125] More specifically, the control unit 251 determines whether the state of the folder 601 satisfies a predetermined condition, taking into account the update date and time of the image folder. That is, if an image folder with an update date and time after the start timing of the previous examination and a folder name ending in "_CAM1-2" is stored in the folder 601, the control unit 251 determines that the state of the folder 601 satisfies the predetermined condition.

[0126] If the folder 601 has not been updated, the control unit 251 may determine that the state of the folder 601 does not satisfy a predetermined condition. This can speed up the determination of whether the state of the folder 601 satisfies the predetermined condition.

[0127] In the example shown in FIG. 6, since the image folder 621 is stored in the folder 601, the control unit 251 determines that the state of the folder 601 satisfies a predetermined condition. Next, the control unit 251 determines whether one or more inspection target files are stored in the folder 601. In the example shown in FIG. 6, the inspection target files are image files 611 and 612. When one or more inspection target files are stored in the folder 601, the control unit 251 accesses the one or more inspection target files based on the path information indicating the storage location of the one or more inspection target files, and confirms that the one or more inspection target files are not damaged. The subsequent processing is as described with reference to FIG. 5.

[0128] Note that in the example shown in FIG. 6, it is set to obtain the work ID, type ID, and image ID number from the path information indicating the storage location of the inspection target file. However, in the example shown in FIG. 6, it may be set to obtain at least one of the work ID, type ID, and image ID number from the file name of the inspection target file.

[0129] <F. Specific Example 3 of Monitoring Process> Referring to FIG. 7, the case where the above third condition is set as a predetermined condition will be described. FIG. 7 is a diagram for explaining an example when the third condition is set as a predetermined condition.

[0130] The storage 600 includes a plurality of folders F. In the example shown in FIG. 7, one or more image files generated by the image acquisition unit 100 are stored in the folder 601 among the plurality of folders F. In the example shown in FIG. 7, the processing system 1 further includes a generation unit 150. As an example, the generation unit 150 is included in an existing inspection system that performs a first appearance inspection of a work processed on a production line.

[0131] The generation unit 150 generates a CSV file and saves it in a folder 602 in the storage 600. As described above, the CSV file includes work information about the work shown in the image file generated by the image acquisition unit 100. The work information includes a work ID and a type ID.

[0132] In the example shown in Fig. 7, folder 602 is set as designated folder F1. In the example shown in Fig. 7, the predetermined condition is set as a csv file having a file name ending in "_CAM1-2.csv" being saved in designated folder F1. In the example shown in Fig. 7, an image file in folder 601 having a file name ending in "_CAM1.bmp" and an image file in folder 601 having a file name ending in "_CAM2.bmp" are set as candidates for files to be inspected.

[0133] The image files 611 and 612 are as described with reference to Fig. 5. The csv file 631 is a csv file generated by the generation unit 150 and saved in the folder 602. The csv file 631 has the update date and time since the start of the previous inspection, and has a file name ending in "_CAM1-2.csv". The csv file 631 includes workpiece information about the workpiece shown in the image file 611 and workpiece information about the workpiece shown in the image file 612.

[0134] The monitoring process is enabled when the above-mentioned button 92 (see FIG. 3 or FIG. 4) or a button 73 (see FIG. 11) described later is pressed. When the monitoring process is enabled, the control unit 251 monitors the folder 602 as the designated folder F1 at the interval specified using the above-mentioned setting area 62 (see FIG. 4). More specifically, the control unit 251 determines whether the state of the folder 602 satisfies a predetermined condition.

[0135] More specifically, the control unit 251 determines whether the state of the folder 602 satisfies a predetermined condition, taking into consideration the update date and time of the csv file. That is, if a csv file having an update date and time after the start timing of the previous inspection and a file name ending with "_CAM1-2.csv" is stored in the folder 602, the control unit 251 determines that the state of the folder 602 satisfies the predetermined condition.

[0136] If the folder 602 has not been updated, the control unit 251 may determine that the state of the folder 602 does not satisfy a predetermined condition. This can speed up the determination of whether the state of the folder 602 satisfies the predetermined condition.

[0137] In the example shown in FIG. 7, since a csv file 631 is stored in folder 602, control unit 251 determines that the state of folder 602 satisfies a predetermined condition. Next, control unit 251 determines whether one or more files to be inspected are stored in folder 601. In the example shown in FIG. 7, the files to be inspected are image files 611 and 612. If one or more files to be inspected are stored in folder 601, control unit 251 accesses the one or more files to be inspected based on path information indicating the storage locations of the one or more files to be inspected, and confirms that the one or more files to be inspected are not corrupted. The subsequent processing is as described with reference to FIG. 5.

[0138] 7, it is set that the work ID and type ID are obtained from the csv file 631. Also, in the example shown in Fig. 7, it is set that the image ID number is obtained from the path information indicating the storage location of the file to be inspected.

[0139] However, in the example shown in FIG. 7, it may be set to obtain at least one of the work ID and the type ID from the file name of the file to be inspected. Also, in the example shown in FIG. 7, it may be set to obtain at least one of the work ID and the type ID from the path information indicating the storage location of the file to be inspected. Further, in the example shown in FIG. 7, it may be set to obtain the image ID number from the file name of the file to be inspected.

[0140] <G. Processing Procedure> Referring to FIGS. 8 and 9, the procedure of the monitoring process will be described. FIG. 8 is a flowchart showing an example of the procedure of the monitoring process.

[0141] First, in step S1, the processor 201 reads the setting value regarding the operation setting of the monitoring process from the setting information 232 and performs the operation setting of the monitoring process. Also, in step S1, the processor 201 performs the processing necessary for communication with the image inspection unit 252. As an example, the processor 201 creates a UDP (User Datagram Protocol) socket for communication with the image inspection unit 252.

[0142] Next, in step S2, the processor 201 reads the activation setting of the monitoring process from the setting information 232 and determines whether the monitoring process is valid. When the above-described button 92 (see FIG. 3 or FIG. 4) or a button 73 (see FIG. 11) described later is pressed, the monitoring process becomes valid. On the other hand, when a button 72 or a button 74 described later is pressed, the monitoring process becomes invalid. If the monitoring process is valid (YES in step S2), the processor 201 advances the process to step S3. On the other hand, if the monitoring process is not valid (NO in step S2), the processor 201 ends the monitoring process.

[0143] In step S3, the processor 201 determines whether it is time to check the designated folder F1. The designated folder F1 is designated in advance using the above-mentioned input field 12 (see FIG. 3). The cycle for checking the designated folder F1 is designated in advance using the above-mentioned setting area 62 (see FIG. 4). If it is time to check the designated folder F1 (YES in step S3), the processor 201 proceeds to step S4. On the other hand, if it is not time to check the designated folder F1 (NO in step S3), the processor 201 repeats the processing of step S3.

[0144] In step S4, the processor 201 determines whether the state of the designated folder F1 satisfies a predetermined condition. The predetermined condition is specified in advance using the radio buttons 13, 15, and 17 and the input fields 14, 16, and 18 (see FIG. 3). If the state of the designated folder F1 satisfies the predetermined condition (YES in step S4), the processor 201 proceeds to step S5. On the other hand, if the state of the designated folder F1 does not satisfy the predetermined condition (NO in step S4), the processor 201 returns the process to step S2.

[0145] In step S5, the processor 201 performs an output process of an inspection instruction. Here, the procedure of the output process of an inspection instruction will be described with reference to Fig. 9. Fig. 9 is a flowchart showing an example of the procedure of the output process of an inspection instruction.

[0146] First, in step S11, processor 201 determines whether or not one or more files to be inspected are stored in a folder specified using input field 22 (see FIG. 3). If one or more files to be inspected are stored in a folder specified using input field 22 (YES in step S11), processor 201 proceeds to step S12. On the other hand, if no files to be inspected are stored in a folder specified using input field 22 (NO in step S11), processor 201 proceeds to step S6.

[0147] In step S12, the processor 201 accesses one or more files to be inspected that are stored in a folder designated using the input field 22, and checks whether the one or more files to be inspected are corrupted. If an image file is corrupted, the processor 201 excludes the corrupted image file from the files to be inspected.

[0148] Next, in step S13, the processor 201 acquires the work ID of the work to be inspected that appears in each file to be inspected, according to the acquisition method specified using the setting area 41 (see FIG. 3). Note that if it is not set to acquire the work ID, the processing of step S13 is skipped.

[0149] Next, in step S14, the processor 201 determines whether the inspection flow switching function is enabled. If the inspection flow switching function is enabled (YES in step S14), the processor 201 proceeds to step S15. On the other hand, if the inspection flow switching function is not enabled (NO in step S14), the processor 201 proceeds to step S16.

[0150] In step S15, the processor 201 identifies an inspection flow number for each file to be inspected. More specifically, the processor 201 first acquires the type ID of the work to be inspected that appears in each file to be inspected according to the acquisition method specified using the setting area 51 (see FIG. 3). Next, the processor 201 identifies the inspection flow number associated with the type ID based on the information set using the input field 57 (see FIG. 3). After step S15, the processor 201 proceeds to step S16.

[0151] In step S16, the processor 201 generates an inspection list for the visual inspection of the workpieces by the image inspection unit 252. More specifically, first, the processor 201 acquires the image ID number of each file to be inspected according to the acquisition method specified using the setting area 31 (see FIG. 3). Next, the processor 201 sorts the one or more files to be inspected in order of update date and time for each file format (image format) and image ID number of the file to be inspected. Next, the processor 201 determines the sorted order of the one or more files to be inspected as the inspection order for the visual inspection of the workpieces by the image inspection unit 252. Next, the processor 201 generates an inspection list including the inspection order of each of the one or more files to be inspected and path information indicating the storage location of each of the one or more files to be inspected. If it is set to acquire workpiece IDs, the processor 201 further includes in the inspection list the workpiece IDs of the workpieces to be inspected that appear in each of the one or more files to be inspected. If the inspection flow switching function is set to be enabled, the processor 201 further includes in the inspection list the inspection flow number identified for each of the one or more files to be inspected.

[0152] Next, in step S17, the processor 201 outputs an inspection instruction to the image inspection unit 252. The inspection instruction includes the above-mentioned inspection command and the inspection list generated in step S16.

[0153] Next, in step S18, the processor 201 determines whether or not it has received a notification that the visual inspection of the workpiece has been completed by the image inspection unit 252. If it has received a notification that the visual inspection of the workpiece has been completed by the image inspection unit 252 (YES in step S18), the processor 201 proceeds to step S19. On the other hand, if it has not received a notification that the visual inspection of the workpiece has been completed by the image inspection unit 252 (NO in step S18), the processor 201 repeats the processing of step S18.

[0154] In step S19, the processor 201 determines whether the original data deletion function is enabled. If the original data deletion function is enabled (YES in step S19), the processor 201 proceeds to step S20. On the other hand, if the original data deletion function is not enabled (NO in step S19), the processor 201 proceeds to step S21.

[0155] In step S20, the processor 201 deletes the original image file of the inspection target file used in the visual inspection of the workpiece by the image inspection unit 252 from the storage 600. After step S20, the processor 201 advances the process to step S21.

[0156] In step S21, the processor 201 deletes the examination list generated in step S16. After step S21, the processor 201 advances the process to step S6.

[0157] 8 again, in step S6, processor 201 updates history information 233 (see FIG. 2). More specifically, processor 201 saves the file name and update date and time of the image file used in the current appearance inspection by image inspection unit 252 in storage 203 as history information 233. After step S6, processor 201 returns the process to step S2.

[0158] 10 is a flowchart showing an example of a processing procedure for appearance inspection by the image inspection unit 252. The processing shown in FIG.

[0159] First, in step S31, the image inspection unit 252 acquires a file to be inspected based on path information included in the inspection list. If the inspection list includes multiple pieces of path information, the image inspection unit 252 acquires multiple files to be inspected corresponding to the multiple pieces of path information.

[0160] Next, in step S32, the image inspection unit 252 performs an appearance inspection of the inspection target work shown in each inspection target file in accordance with the inspection order included in the inspection list. When the inspection list includes an inspection flow number, the image inspection unit 252 performs an appearance inspection of the inspection target work shown in the inspection target file using the inspection flow corresponding to the inspection flow number of the inspection target file. When the appearance inspections of all inspection target works shown in all inspection target files indicated by the inspection list are completed, the image inspection unit 252 advances the process to step S33.

[0161] In step S33, the image inspection unit 252 transmits a completion notice of the appearance inspection to the control unit 251 and transmits the inspection result to the display device 400. The display device 400 displays the inspection result. Note that the image inspection unit 252 may transmit the inspection result to the control device 500. When the image inspection unit 252 transmits the inspection result to the control device 500, the control device 500 can control one or more field devices based on the inspection result. Also, the image inspection unit 252 stores the inspection target file used for the appearance inspection of the work by the image inspection unit 252 as an inspected image file in the storage 7,00. After step S33, the process of the appearance inspection by the image inspection unit 252 ends.

[0162] <H. Monitoring Log Screen> Referring to FIG. 11, a monitoring log screen on which an operation log of the monitoring process is displayed will be described. FIG. 11 is a diagram showing an example of the monitoring log screen.

[0163] The monitoring log screen G3 is displayed on the display device 400. The monitoring log screen G3 includes an area 71 in which an operation log of the monitoring process is displayed. The operation log of the monitoring process is stored in a mode specified using the setting area 66 (see FIG. 4).

[0164] The monitoring log screen G3 further includes buttons 72 to 74. The buttons 72 to 74 are operated by the user via the input device 300. The button 72 is used to instruct to suspend the ongoing monitoring process. When the button 72 is pressed, the setting unit 253 disables the monitoring process. The button 73 is used to instruct to resume the suspended monitoring process. When the button 73 is pressed, the setting unit 253 enables the monitoring process. The button 74 is used to instruct to end the ongoing monitoring process. When the button 74 is pressed, the setting unit 253 disables the monitoring process.

[0165] 11, the user can check the operation log of the monitoring process on the monitoring log screen G3. The user can also enable or disable the monitoring process from the monitoring log screen G3.

[0166] In this manner, the image acquisition unit 100 captures images of one or more workpieces, generates one or more image files, and stores the one or more image files in the storage 600, which includes multiple folders. The control unit 251 monitors the status of the designated folder F1 in the storage 600. If the status of the designated folder F1 satisfies a predetermined condition, the control unit 251 outputs an inspection instruction to the image inspection unit 252, instructing the image inspection unit 252 to perform a visual inspection of the workpieces shown in a predetermined image file among the one or more image files. The image inspection unit 252 then performs a visual inspection of the workpieces based on the inspection instruction. In other words, no notification from the image acquisition unit 100 is required to start the visual inspection by the image inspection unit 252. Therefore, by employing an imaging device or the like that generates image files for visual inspection of workpieces using an existing system as the image acquisition unit 100, a new visual inspection of the workpieces can be performed using the image files generated for visual inspection of the workpieces in the existing system without changing the settings or programs of the existing system. Therefore, the processing system 1 according to this embodiment allows for the expansion of the inspection system while reducing the burden on the designer.

[0167] Furthermore, according to the processing system 1 of this embodiment, when the state of the designated folder F1 satisfies a predetermined condition, the visual inspection by the image inspection unit 252 is automatically started. Furthermore, according to the processing system 1 of this embodiment, no notification from the image acquisition unit 100 is required to start the visual inspection by the image inspection unit 252. Therefore, according to the processing system 1 of this embodiment, it is possible to prevent forgetting to carry out a new visual inspection of a workpiece without changing the settings or programs of the existing system.

[0168] In the above embodiment, the control unit 251 and the image inspection unit 252 are included in one device, but the control unit 251 and the image inspection unit 252 may be included in different devices.

[0169] [Note] The above-described embodiment and modifications include the following technical ideas.

[0170] [Configuration 1] a storage unit (600) having a plurality of folders (F); an image acquisition unit (100) that captures an image of a workpiece, generates one or more image files, and stores the one or more image files in the storage unit (600); a control unit (251) that monitors the state of the designated folder (F1) in the storage unit (600), and when the state of the designated folder (F1) satisfies a predetermined condition, outputs an inspection instruction to instruct an appearance inspection of the workpiece to be inspected that is shown in a predetermined image file among the one or more image files; and an image inspection unit (252) that performs the appearance inspection based on the inspection instruction.

[0171] [Configuration 2] 2. The processing system according to configuration 1, wherein the predetermined condition is that an image file having a predetermined file name or an image folder having a predetermined folder name is saved in the designated folder (F1).

[0172] [Configuration 3] The processing system according to configuration 1 or 2, wherein the control unit (251) obtains a work ID of the work to be inspected from the file name of the specified image file or path information indicating the storage location of the specified image file, and includes the work ID in the inspection instruction.

[0173] [Configuration 4] The control unit (251) Acquire identification information indicating the type of the workpiece to be inspected from the file name of the predetermined image file or path information indicating the storage location of the predetermined image file; Identifying the type of flow of the visual inspection based on the identification information; 3. The processing system according to configuration 1 or 2, wherein the inspection instruction includes an identification number indicating the type of the flow.

[0174] [Configuration 5] The processing system according to configuration 1 or 2, wherein the image inspection unit (252) transmits the inspection results to a control device (500) that controls one or more devices that perform processing on the workpiece to be inspected.

[0175] [Configuration 6] 3. The processing system according to configuration 1 or 2, wherein the one or more image files are saved in the designated folder (F1).

[0176] [Configuration 7] The predetermined condition is that an image folder having a predetermined folder name has been saved in the designated folder (F1), 2. The processing system according to claim 1, wherein the predetermined image file is stored in the image folder.

[0177] [Configuration 8] 3. The processing system according to configuration 1 or 2, wherein the processing system (1) further comprises a setting unit (253) that sets the designated folder (F1) and the predetermined conditions in response to a user input.

[0178] [Configuration 9] capturing an image of a workpiece to generate one or more image files, and storing the one or more image files in a storage unit (600) having a plurality of folders (F); monitor the state of the designated folder (F1) in the storage unit (600), and when the state of the designated folder (F1) satisfies a predetermined condition, output an inspection instruction to instruct an appearance inspection of the workpiece to be inspected that is shown in a predetermined image file among the one or more image files; and performing the visual inspection based on the inspection instruction.

[0179] [Configuration 10] A processing program that causes one or more computers to execute the processing method according to configuration 9.

[0180] The embodiments disclosed herein should be considered to be illustrative in all respects and not restrictive. The scope of the present disclosure is defined by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0181] 1 Processing system, 11, 21, 31, 41, 51, 61, 62, 63, 64, 66 Setting area, 12, 14, 16, 18, 22, 24, 26, 34, 48, 56, 57 Input field, 13, 15, 17, 23, 25, 32, 33, 44, 45, 46, 47, 53, 54, 55 Radio button, 42 Pull-down menu, 43, 52 Check box, 71 Area, 72, 73, 74, 91, 92 Button, 100 Image acquisition unit, 150 Generation unit, 200 Processing device, 201 Processor, 202 Memory, 203, 600, 700 Storage, 204 Input interface, 205 Display interface, 206 Communication interface, 231 Program, 232 Setting information, 233 History information, 251 Control unit, 252 image inspection unit, 253 setting unit, 300 input device, 400 display device, 500 control device, 601, 602, F folder, 611, 612 image file, 621 image folder, 631 csv file, F1 specified folder, G1, G2 setting screen, G3 monitoring log screen, W1 screen.

Claims

1. a storage unit having a plurality of folders; an image acquisition unit that captures an image of a workpiece to generate one or more image files and stores the one or more image files in the storage unit; a control unit that monitors the state of a designated folder in the storage unit, and when the state of the designated folder satisfies a predetermined condition, outputs an inspection instruction to instruct an appearance inspection of a workpiece to be inspected that is shown in a predetermined image file among the one or more image files; an image inspection unit that performs the appearance inspection based on the inspection instruction.

2. 2. The processing system according to claim 1, wherein the predetermined condition is that an image file having a predetermined file name or an image folder having a predetermined folder name is saved in the designated folder.

3. The processing system of claim 1 or 2, wherein the control unit obtains a work ID of the work to be inspected from the file name of the specified image file or path information indicating the storage location of the specified image file, and includes the work ID in the inspection instruction.

4. The control unit Acquire identification information indicating the type of the workpiece to be inspected from the file name of the predetermined image file or path information indicating the storage location of the predetermined image file; Identifying the type of flow of the visual inspection based on the identification information; The processing system according to claim 1 , wherein the inspection instruction includes an identification number indicating the type of the flow.

5. The processing system according to claim 1 or 2, wherein the image inspection unit transmits inspection results to a control device that controls one or more devices that perform processing on the workpiece to be inspected.

6. The processing system according to claim 1 , wherein the one or more image files are stored in the designated folder.

7. the predetermined condition is that an image folder having a predetermined folder name has been saved in the designated folder; The processing system according to claim 1 , wherein the predetermined image file is stored in the image folder.

8. The processing system according to claim 1 , further comprising a setting unit that sets the designated folder and the predetermined conditions in response to a user input.

9. capturing an image of a workpiece to generate one or more image files, and storing the one or more image files in a storage unit having a plurality of folders; monitor the state of a designated folder in the storage unit, and when the state of the designated folder satisfies a predetermined condition, output an inspection instruction to instruct an appearance inspection of a workpiece to be inspected that is shown in a predetermined image file among the one or more image files; and performing the visual inspection based on the inspection instruction.

10. A processing program that causes one or more computers to execute the processing method according to claim 9.

Citation Information

Patent Citations

  • Sensor system, information processing device, and sensor management method

    JP2022048186A