Inspection device and inspection method

The inspection device automates parameter setting and detection of defects in sheet-like objects by using an image sensor and processing circuit to record master data, improving accuracy and efficiency in diverse product handling.

JP7531823B2Active Publication Date: 2024-08-13MICROTECHNICA CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020024038
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-02-17
Publication Date
2024-08-13
Estimated Expiration
2040-02-17

AI Technical Summary

Technical Problem

Conventional inspection methods for sheet-like objects require manual parameter setting for each product type, which is time-consuming and prone to errors, especially when handling diverse products with varying patterns and cycles.

Method used

An inspection device that includes an image sensor with photodetection cells capturing one-dimensional images and a processing circuit that automatically determines surface patterns and sets inspection parameters, recording master data on a medium to facilitate accurate detection of defects and seams.

Benefits of technology

Enables high-accuracy detection of characteristic parts like seams and defects in sheet-like objects with reduced manual intervention, minimizing parameter setting errors and enhancing efficiency across diverse product types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007531823000001
    Figure 0007531823000001
  • Figure 0007531823000002
    Figure 0007531823000002
  • Figure 0007531823000003
    Figure 0007531823000003
Patent Text Reader

Abstract

To provide an inspection device with which it is possible to accurately detect a characteristic portion, such as a joint or a defect, of a sheet-like object.SOLUTION: An inspection device 200 inspects a sheet-like object 10 that is conveyed in a first direction by a conveyance device 100. The inspection device comprises an image sensor 220 and a processing circuit 210. The image sensor includes a plurality of light detection cells arrayed in a second direction that crosses the first direction and repeatedly images a portion of the object being conveyed, thereby repeatedly outputting an image signal that includes at least one-dimensional image information. The processing circuit calculates an average value of a plurality of pixel values in an image signal each time the image signal is outputted from the image sensor and records, in a recording medium 214, master data that indicates temporal change of the average value and is referred to when inspecting the object.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an apparatus and method for inspecting a sheet-like or film-like inspection object. [Background technology]

[0002] 2. Description of the Related Art Various methods are known for inspecting sheet-like objects such as film or paper for abnormalities such as foreign matter or defects.

[0003] For example, Patent Document 1 discloses an inspection device that inspects a sheet-like object for defects by imaging the surface of the object. The inspection device of Patent Document 1 includes a linear imaging element and a linear illumination device having a plurality of light-emitting regions arranged in a direction along the cell row of the linear imaging element. The light-emitting regions are turned on for each data transfer operation of the linear imaging element. This inspection device inspects the object for defects based on the plurality of images generated by the linear imaging element.

[0004] Patent Document 2 discloses an inspection device that includes two front-side light sources that irradiate a sheet, which is an object to be inspected, from the front side, one back-side light source that irradiates light from the back side, and a camera. The camera acquires a bright-field image of the inspection area when the two front-side light sources are emitting light, and acquires a dark-field image of the inspection area when the back-side light source is emitting light. As to whether to acquire a bright-field image or a dark-field image, one or both are selected according to the properties of the sheet, depending on which is appropriate for the inspection. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2014-163771 A [Patent Document 2] JP 2000-108316 A Summary of the Invention [Problem to be solved by the invention]

[0006] The present disclosure provides a novel method for detecting features such as seams or defects in sheet-like objects. [Means for solving the problem]

[0007] An inspection device according to one embodiment of the present disclosure is an inspection device for inspecting a sheet-like object transported in a first direction by a transport device, and includes an image sensor that includes a plurality of photodetection cells arranged in a second direction intersecting the first direction, and that repeatedly outputs an image signal including at least one-dimensional image information by repeatedly capturing images of a portion of the object being transported, and a processing circuit that calculates an average value of a plurality of pixel values ​​in the image signal each time the image signal is output from the image sensor, and records on a recording medium master data indicating a change in the average value over time, the master data being referenced when inspecting the object.

[0008] An inspection device according to another aspect of the present disclosure is an inspection device for inspecting a sheet-like object transported in a first direction by a transport device, and includes an image sensor that includes a plurality of photodetection cells arranged in a second direction intersecting the first direction, and that repeatedly outputs an image signal including at least one-dimensional image information by repeatedly capturing images of a portion of the object being transported, and a processing circuit that calculates an average value of a plurality of pixel values ​​in the image signal each time the image signal is output from the image sensor, and outputs a signal to an external device if the change in the average value over time deviates from the change in the average value over time in pre-recorded master data.

[0009] A general or specific aspect of the present disclosure may be realized as an apparatus, a system, a method, an integrated circuit, a computer program, or a recording medium, or may be realized as any combination of an apparatus, a system, a method, an integrated circuit, a computer program, and a recording medium. Effect of the Invention

[0010] According to the embodiments of the present disclosure, characteristic portions, such as seams or defects in a sheet-like object having a periodic pattern, can be detected with high accuracy. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating a schematic configuration of an inspection system according to an exemplary embodiment of the present disclosure. [Diagram 2] 1 is a cross-sectional view illustrating an example of a structure of a portion of an image sensor in an imaging device. [Diagram 3] FIG. 2 is a diagram for explaining functions of the processing device. [Figure 4] 4 is a flowchart outlining a process executed by a processor of the processing device. [Diagram 5] 13 is a flowchart showing a detailed example of a registration process and an inspection process. [Figure 6A] 1 is a diagram showing an example of changes over time in average values ​​of R, G, and B pixel values ​​for one line of an object 10 having a non-periodic pattern. [Figure 6B] 1 is a diagram showing an example of changes over time in average values ​​of R, G, and B pixel values ​​for one line of an object 10 having a periodic pattern. [Figure 7A] 11A and 11B are diagrams showing an example of an image learned in a registration process and an example of a waveform showing the time change of the average value of each of the RGB pixel values ​​for one line. [Figure 7B] 1A to 1C are diagrams showing an example of a captured image of an object to be inspected in an inspection process, and an example of a waveform showing the time change in the difference between the average value of one line of each RGB pixel value and a registered reference value. [Figure 8A] 11A to 11C are diagrams showing an example of an image learned in a registration process, an example of a waveform showing the change over time in the average value of one line of each of the RGB pixel values, and an example of a waveform to be registered as master data. [Figure 8B]1A to 1C are diagrams showing an example of a captured image of an object to be inspected in an inspection process, and an example of a waveform showing the time change in the difference between the average value of each RGB pixel value for one line and the corresponding value in master data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Before describing the embodiments of the present disclosure, the findings on which the present disclosure is based will be described.

[0013] In an inspection object such as a long continuous paper or film wound in a roll, characteristic parts such as tape at a seam or other defects may be present. In order to detect such characteristic parts, an imaging device capable of acquiring one-dimensional images, such as a line sensor camera or a contact image sensor, may be used. Inspection can be performed by continuously imaging the surface of a conveyed sheet-like object using such an imaging device. Such inspection can be performed, for example, as one of the inspection processes in a production line.

[0014] On the other hand, there are cases where multiple types of products are handled on a single production line. Among these types, there are plain ones and ones with periodic patterns, and the types and cycles of patterns can be diverse. With conventional inspection devices, it was necessary to set parameters such as detection thresholds, types of background patterns, and cycles for each type of product.

[0015] However, setting these parameters is complicated, time-consuming, and costly. As the number of varieties increases, the burden of recording and selecting also increases. Furthermore, these operations are largely manual, which can lead to errors. In such cases, proper inspections cannot be performed.

[0016] In order to solve the above problems, an inspection device according to an embodiment of the present disclosure has a function of automatically determining the surface pattern of an object to be inspected and appropriately setting inspection parameters such as detection thresholds, etc. These functions make it possible to avoid problems such as incorrect selection of product types.

[0017] An outline of an embodiment of the present disclosure will be described below.

[0018] An inspection device according to an embodiment of the present disclosure is used for inspecting a sheet-like object conveyed in a first direction by a conveying device. The inspection device includes an image sensor and a processing circuit. The image sensor includes a plurality of photodetection cells arranged in a second direction intersecting the first direction, and repeatedly captures images of a portion of the object being conveyed, thereby repeatedly outputting an image signal including at least one-dimensional image information. Each time the image signal is output from the image sensor, the processing circuit calculates an average value of a plurality of pixel values ​​in the image signal, and records, on a recording medium, master data indicating a change in the average value over time, which is to be referred to when inspecting the object.

[0019] Here, the image sensor may be a linear image sensor, for example a line sensor or a contact image sensor, which outputs a one-dimensional image signal. The image sensor may be configured to generate a two-dimensional image signal, which comprises a plurality of photodetection cells arranged two-dimensionally.

[0020] Each photodetection cell of the image sensor outputs an electric signal according to the intensity of the incident light. The image signal is a collection of electric signals output from a plurality of photodetection cells. Here, each photodetection cell may include three types of sub-pixels for detecting light of each color, for example, red (R), green (G), and blue (B). A color filter that mainly transmits red light may be disposed opposite the sub-pixel that detects red light. A color filter that mainly transmits green light may be disposed opposite the sub-pixel that detects green light. A color filter that mainly transmits blue light may be disposed opposite the sub-pixel that detects blue light. Alternatively, the image sensor may be configured to output a monochrome image signal. The image sensor may be configured to output not only a visible light image signal, but also an ultraviolet or infrared image signal.

[0021] The image sensor can be controlled to capture an image of a portion of the object being conveyed, for example, at regular intervals. If the conveying speed of the object is constant, the image may be captured at regular time intervals. This causes at least one-dimensional image signals to be output from the image sensor at regular intervals (or at regular time intervals if the speed is constant).

[0022] The processing circuit calculates an average value of a plurality of pixel values ​​in the image signal output from the image sensor. Then, master data indicating the change over time of the average value over a predetermined time length (or a predetermined transport distance) is recorded. Here, the "pixel value" may include a luminance value of a pixel in the image signal, or at least one value of R, G, and B. When the image signal includes a luminance value of each pixel, the processing circuit calculates an average value of the luminance value for each line. When the image signal includes R, G, and B values ​​for each pixel, the processing circuit calculates an average value of at least one value of R, G, and B for each line. Data indicating the change over time of the average value is recorded as master data.

[0023] According to the above configuration, the master data to be referred to during the inspection of the object can be recorded without manual operation, so that the inspection can be performed more easily even when the object types are diverse.

[0024] The processing circuit may determine periodicity of the object based on a change over time in the average value of the pixel values, and if periodicity is present, record the master data on the recording medium.

[0025] If there is no periodicity, the processing circuit may record, for example, an average value of the pixel values ​​over a predetermined period of time as a reference value to be referred to during inspection.

[0026] When the periodicity is present, the processing circuit may record data indicating a change over time of, for example, two or more periods of the average pixel values ​​as the master data on the recording medium.

[0027] When generating the master data, the processing circuit may determine a threshold value to be used when inspecting the object and record the threshold value together with the master data on the recording medium. By automatically recording the threshold value together with the master data, the work required for setting the threshold value can be reduced.

[0028] After recording the master data, the processing device may calculate an average value of multiple pixel values ​​in the image signal each time the image signal is output from the image sensor, and output a signal to an external device if the change in the average value over time deviates from the change in the average value over time in the master data.

[0029] An inspection device according to another embodiment of the present disclosure is used for inspecting a sheet-like object conveyed in a first direction by a conveying device. The inspection device includes an image sensor and a processing circuit. The image sensor includes a plurality of photodetection cells arranged in a second direction intersecting the first direction, and repeatedly captures images of a portion of the object being conveyed, thereby repeatedly outputting an image signal including at least one-dimensional image information. Each time the image signal is output from the image sensor, the processing circuit calculates an average value of a plurality of pixel values ​​in the image signal, and outputs a signal to an external device when a change in the average value over time deviates from a change in the average value over time in prerecorded master data.

[0030] The processing circuit calculates an average value of a plurality of pixel values ​​in the image signal output from the image sensor. If the change in the average value over time deviates from the change in the average value over time in the prerecorded master data, the processing circuit notifies an external device. If the image signal includes a luminance value of each pixel, the processing circuit compares the average value of the luminance value for each line with a corresponding value in the prerecorded master data. If the image signal includes R, G, and B values ​​for each pixel, the processing circuit compares the average value of at least one of R, G, and B values ​​with a corresponding value in the master data for each line. Whether or not the change in the average value over time deviates from the change in the average value over time in the master data can be determined based on, for example, whether the difference between the average value and the corresponding value in the master data exceeds a preset threshold value.

[0031] The output signal indicates that an unusual part exists on the surface of the object. For example, if the object is a plurality of sheets joined together with tape, the above process detects the tape at the joint, and a signal indicating this is sent to an external device. If the object has printing defects, stains, or foreign matter, these are detected and a signal is sent to an external device. This allows the external device to display that an unusual part exists on the surface of the object, or to send a stop instruction to the conveying device. The external device may be any electronic device connected to the processing circuit by wire or wirelessly. The external device may be, for example, a display, a personal digital assistant, a personal computer, or other device.

[0032] The processing circuit may output the signal to the external device when, during inspection of the object, the difference between the average pixel value and the average pixel value in the master data exceeds the threshold value for a predetermined time or longer (or for a predetermined transport distance or longer).

[0033] Each of the photodetection cells in the image sensor may be capable of detecting light of a respective color of red, green, and blue. In this case, the image signal may include one-dimensional image information for each of the colors of red, green, and blue. The processing circuit may notify the external device when a time-dependent change in average values ​​of pixel values ​​for at least one color of red, green, and blue in the image signal deviates from a time-dependent change in the average values ​​for the at least one color in the master data.

[0034] The image sensor may be a linear image sensor. The linear image sensor may be a contact image sensor. The linear image sensor outputs a one-dimensional image signal according to an amount of light detected by the plurality of light detection cells at regular intervals. The processing circuit may generate and output a two-dimensional image signal from the plurality of one-dimensional image signals output from the linear image sensor.

[0035] An inspection system according to another embodiment of the present disclosure includes any one of the inspection devices described above and the conveying device.

[0036] An inspection method according to another embodiment of the present disclosure is a method for inspecting a sheet-like object transported in a first direction by a transport device, comprising the steps of: acquiring an image signal including at least one-dimensional image information generated by an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction by repeatedly capturing images of a portion of the object being transported; and calculating an average value of a plurality of pixel values ​​in the image signal; and recording on a recording medium master data indicating a change in the average value over time, the master data being referenced when inspecting the object.

[0037] An inspection method according to another embodiment of the present disclosure is a method for inspecting a sheet-like object transported in a first direction by a transport device, comprising the steps of: acquiring an image signal including at least one-dimensional image information generated by an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction by repeatedly capturing images of a portion of the object being transported; calculating an average value of a plurality of pixel values ​​in the image signal; and notifying an external device if a change in the average value over time deviates from a change in the average value over time in pre-recorded master data.

[0038] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail. However, more detailed explanations than necessary may be omitted. For example, detailed explanations of already well-known matters or duplicate explanations of substantially identical configurations may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art. Note that the inventor provides the accompanying drawings and the following explanation so that those skilled in the art can fully understand the present disclosure, and does not intend to limit the subject matter described in the claims. In this specification, the same reference symbols are used for the same or similar components.

[0039] (Embodiment) FIG. 1 is a diagram showing a schematic overview of the configuration of an inspection system according to an exemplary embodiment of the present disclosure. The inspection system includes a conveying device 100 and an inspection device 200. FIG. 1 also shows a computer 300 connected to the conveying device 100 and the inspection device 200. The computer 300 may be a general-purpose information processing device such as a server computer, a personal computer (PC), or a mobile terminal. The computer 300 may be included in the inspection system or may be an external element of the inspection system.

[0040] The conveying device 100 includes a controller 110 and a conveyor 130. The conveyor 130 conveys a sheet-like object 10 such as paper or film. The controller 110 is a circuit that controls the overall operation of the conveying device 100. The controller 110 receives instructions input from the computer 300 and drives the conveyor 130. In this way, the conveying device 100 conveys the object 10.

[0041] The inspection device 200 operates in conjunction with the conveying device 100 to inspect the normality of the pattern or design on the surface of the object 10. The inspection device 200 is connected to the conveying device 100 and a computer 300. The inspection device 200 includes an imaging device 220 and a processing device 210.

[0042] The imaging device 220 is disposed on the conveying path of the object 10 having a predetermined pattern or design. The imaging device 220 captures an image of a linear area intersecting (typically perpendicular to) the conveying direction of the object 10. The imaging device 220 captures an image of a part of the object 10 at regular intervals and outputs an image signal. When the object 10 is conveyed at a constant speed, the imaging device 220 captures an image of a part of the object 10 at regular intervals and outputs an image signal. The imaging device 220 includes an image sensor and an optical system such as a lens. Light incident on the imaging device 220 from the object 10 is focused by the optical system and enters the imaging surface of the image sensor. The image sensor is a linear image sensor (also called a "line sensor"), and repeatedly generates a one-dimensional image signal based on the incident light, for example, at regular intervals (at regular intervals when the speed is constant).

[0043] FIG. 2 is a cross-sectional view showing a schematic example of a structure of a part of an image sensor in an imaging device 220. The image sensor in this example includes a semiconductor substrate 221 and a plurality of photodetection cells 227a, 227b, 227c, etc., which are arranged one-dimensionally on the surface of the semiconductor substrate 221. A wiring layer 225 is formed on the surface of the semiconductor substrate 221 to connect the photodetection cells 227a, 227b, 227c, etc., to a driving circuit (not shown). The image sensor further includes an array 223 of a plurality of microlenses that condense light onto the photodetection cells 227a, 227b, 227c, etc. The photodetection cells 227a, 227b, 227c, etc., are arranged in a second direction intersecting with the transport direction (first direction) of the object 10. Each photodetection cell includes a photoelectric conversion element such as a photodiode. Each photodetection cell generates a signal charge according to the amount of incident light. The electric charges accumulated in each photodetector cell are read out at regular intervals and output as a one-dimensional image signal. With this structure, the image sensor captures an image of a part of the object 10, for example, at regular intervals of distance (or at regular intervals if the speed is constant).

[0044] The image sensor is not limited to the configuration shown in FIG. 2, and any linear image sensor can be used. The linear image sensor may be, for example, a CMOS type or a CCD type. The linear image sensor may be a contact image sensor. The image sensor is not limited to a one-dimensional image sensor, and an image sensor that outputs a two-dimensional image signal may be used. In this case, the signal of a specific line extracted from the two-dimensional image signal may be subjected to the processing described below.

[0045] Each of the multiple photodetection cells in the image sensor may be configured to detect light of the respective colors of red, green, and blue. In this case, each photodetection cell includes three types of subpixels that detect light of the respective colors of red, green, and blue. A color filter that mainly transmits red light may be disposed opposite the subpixel that detects red light. A color filter that mainly transmits green light may be disposed opposite the subpixel that detects green light. A color filter that mainly transmits blue light may be disposed opposite the subpixel that detects blue light. In this case, the image signal output from the image sensor includes one-dimensional or two-dimensional image information for each of the colors of red, green, and blue.

[0046] Referring again to FIG. 1, the processing device 210 includes a processor 212, a RAM 214 and a ROM 216 which are storage media, and an input / output interface (IF) 218. The processor 212 includes a processing circuit such as a CPU or a GPU. The ROM 216 stores a computer program executed by the processor 212. The program includes a group of instructions for causing the processor 212 to execute, for example, a process shown in a flowchart described below, or a part thereof. The RAM 214 is a work memory for loading the program when the processor 212 executes the program. The processor 212 of the processing device 210 is connected to the computer 300, the controller 110, and the imaging device 220 via the interface 218.

[0047] Fig. 3 is a diagram for explaining the function of the processing device 210. Fig. 4 is a flowchart showing an outline of the processing executed by the processor 212 of the processing device 210. The processor 212 executes a registration process (step S100) and an inspection process (step S200). The registration process includes processes such as one horizontal line averaging, standard deviation calculation, periodicity determination, average value registration (when there is no periodicity), and pattern registration (when there is periodicity). The inspection process includes processes such as one horizontal line averaging and seam detection.

[0048] The registration process is a process of generating and recording master data to be referenced during the inspection process for an object of the same type as the object 10 to be inspected. The processor 212 records data indicating the change over time of the average value of a plurality of pixel values ​​in the image signal repeatedly output from the imaging device 220 as master data in a recording medium (e.g., RAM 214). At this time, the processor 212 determines the periodicity of the object 10 based on the change over time of the average value of the pixel values, and if there is periodicity, generates data indicating the change over time of the average value of the pixel values ​​as master data and records it in the recording medium. On the other hand, if there is no periodicity, the processor 212 records a value obtained by averaging the average value of the pixel values ​​over a predetermined time (e.g., an integer multiple of the period) or a predetermined transport distance. When recording the master data or the average value, the processor 212 also records the respective threshold values ​​to be referenced during the inspection process.

[0049] The inspection process is a process for inspecting the surface pattern of the object 10 based on the registered average value or master data. In this process, the tape 12 at the seam of the sheet-like object 10 and other defects are detected.

[0050] Fig. 5 is a flowchart showing details of the registration process (step S100) and the inspection process (step S200). The registration process includes steps S101 to S107 shown in Fig. 5. The inspection process includes steps S211 to S214 (when there is no periodicity) and steps S221 to S224 (when there is periodicity) shown in Fig. 5. The process of each step will be described below.

[0051] <Registration process> In step S101, processor 212 acquires one line of image signals output from imaging device 220. In step S102, processor 212 calculates the average value of a plurality of pixel values ​​in the acquired image signal for each of the colors R, G, and B, and records the average value for each color in RAM 214. In the following step S103, processor 212 calculates the standard deviation of the average values ​​calculated so far for each color. Here, the standard deviation is zero at the time of the first calculation, and gradually increases as the loop of steps S101 to S105 is repeated to a certain extent. In step S104, processor 212 determines whether or not the pattern on the surface of object 10 has periodicity based on the value of the standard deviation.

[0052] 6A and 6B are diagrams for explaining a method of determining periodicity in step S104. FIG. 6A shows an example of a change over time of the average value of each of the R, G, and B pixel values ​​for one line of an object 10 having a pattern with no periodicity. FIG. 6B shows an example of a change over time of the average value of each of the R, G, and B pixel values ​​for one line of an object 10 having a periodic pattern. As shown in the figure, the pixel values ​​of R, G, and B are averaged in the horizontal direction to generate a waveform showing the time change of the average value. Then, a standard deviation is calculated from each waveform, and the presence or absence of periodicity can be determined based on the magnitude of the standard deviation. For example, the standard deviation of each color may be calculated from the data of the average value of the pixel values ​​of each color acquired over a sufficiently long predetermined time length, and if the standard deviation of at least one of the three colors exceeds a threshold value, it may be determined that there is periodicity. In this embodiment, the presence or absence of periodicity is determined based on the standard deviation of the average value of the R, G, and B pixel values, but the presence or absence of periodicity may be determined by other methods. For example, the periodicity may be detected by performing frequency analysis on the waveform of the average value of at least one of the R, G, and B pixel values.

[0053] Periodicity is detected after at least two cycles of transport have been performed since the start of transport of the object 10. Until then, no periodicity is detected in step S104, and the process proceeds to step S105. In step S105, the processor 212 determines whether or not a time twice the upper limit of the cycle set in advance (hereinafter referred to as the "cycle upper limit") has elapsed since the start of the operation. The cycle upper limit is set to a time sufficiently longer than the expected cycle of the object 10. If the determination is No, the process returns to step S101. Thereafter, the operations of steps S101 to S105 are repeated until periodicity is detected in step S104 or until it is determined in step S105 that a time twice the cycle upper limit has elapsed since the start of the operation.

[0054] If no periodicity is detected in step S104, and furthermore, a time twice the upper periodic limit has elapsed in step S105, it is determined that there is no periodicity in the pattern on the surface of the object 10. In this case, the processor 212 records the average value of the pixel values ​​of each color recorded up to that point in the RAM 214 as a reference value (step S106). Thereafter, the processor 212 executes the processes of steps S211 to S214 in the inspection process.

[0055] If periodicity is detected in step S104 before a time twice the upper period limit has elapsed since the start of operation, processor 212 records waveform data indicating the pattern of the average value for two periods as master data in RAM 214 (step S107). After that, processor 212 executes the processes of steps S221 to S224 in the inspection process.

[0056] <Inspection process> If the pattern on the surface of the object 10 does not have periodicity, the processor 212 acquires one line of image signals from the image sensor again in step S211. Next, in step S212, the processor 212 calculates the average value of a plurality of pixel values ​​in the acquired image signal for each of the colors R, G, and B. The operations of steps S211 and S212 are the same as those of steps S101 and S102, respectively. In the following step S213, the processor 212 compares the calculated average value of each color with the reference value recorded in step S106, and determines whether or not the difference therebetween is equal to or greater than a preset threshold value. The threshold value may be determined in step S106, or may be set in advance before the operation starts. If the determination in step S213 is No, the process returns to step S211. Thereafter, the operations from step S211 to S213 are repeated until the determination in step S213 is Yes. If the determination in step S213 is Yes, this means that the pattern of the object 10 is different from the registered pattern. In that case, processor 212 outputs or records a signal indicating an error (step S214), and then returns to step S211, and the above-described operations are repeated.

[0057] The processor 212 may transmit a signal indicating an error to an external device such as the computer 300. The processor 212 may transmit a signal indicating an error to the computer 300 when the operation of step S214 has been executed a predetermined number of times or more. When the computer 300 receives this signal, it may display an image indicating an error on a display (not shown), for example. Alternatively, when the computer 300 receives the signal, it may instruct the controller 110 of the transport device 100 to stop the operation.

[0058] 7A and 7B are diagrams showing an example of inspection in the case where the pattern of the object 10 is of a variety that does not have periodicity. FIG. 7A shows an example of an image registered (also referred to as "learning") in the registration process, and an example of a waveform showing the time change of the average value of each pixel value of the RGB for one line. FIG. 7B shows an example of a captured image of the object 10 inspected in the inspection process, and an example of a waveform showing the time change of the difference between the average value of each pixel value of the RGB for one line and the registered reference value. When periodicity does not exist, the processor 212 determines a threshold value based on a value obtained by averaging the average value of each pixel value of the RGB for one line over a predetermined time length and the standard deviation of the average value. In the example of FIG. 7B, at the timing when the tape 12 at the joint is imaged, the difference between the average value of at least one pixel value of the RGB for one line and the reference value exceeds the threshold value. In such a case, the result of the determination in step S213 is Yes.

[0059] Next, an inspection process when the pattern on the surface of the object 10 has periodicity will be described.

[0060] If the pattern on the surface of the object 10 has periodicity, the processor 212 acquires one line of image signals again from the image sensor in step S221. Next, in step S222, the processor 212 calculates the average value of a plurality of pixel values ​​in the acquired image signal for each of the colors R, G, and B. The operations of steps S221 and S222 are the same as those of steps S101 and S102, respectively. In the following step S223, the processor 212 compares the calculated average value of each color with the corresponding value in the master data recorded in step S107, and determines whether or not the difference therebetween is equal to or greater than a preset threshold value. The threshold value may be determined in step S107, or may be set in advance before the operation starts. If the determination in step S223 is No, the process returns to step S221. Thereafter, the operations from step S221 to S223 are repeated until the determination in step S223 is Yes. If the determination in step S223 is Yes, it means that the pattern of the object 10 is different from the registered pattern. In that case, processor 212 outputs or records a signal indicating an error (step S224), and then returns to step S221, where the above-described operations are repeated.

[0061] The processor 212 may transmit a signal indicating an error to an external device such as the computer 300. The processor 212 may transmit a signal indicating an error to the computer 300 when the operation of step S224 has been executed a predetermined number of times or more. When the computer 300 receives this signal, it may display an image indicating an error on a display (not shown), for example. Alternatively, when the computer 300 receives the signal, it may instruct the controller 110 of the transport device 100 to stop the operation.

[0062] 8A and 8B are diagrams showing an example of an inspection in the case where the object 10 is a variety having a periodic pattern. FIG. 8A shows an example of an image learned in the registration process, an example of a waveform showing the time change of the average value of each pixel value of the RGB for one line, and an example of a waveform registered as master data. FIG. 8B shows an example of a captured image of the object 10 inspected in the inspection process, and an example of a waveform showing the time change of the difference between the average value of each pixel value of the RGB for one line and the corresponding value in the master data. When periodicity exists as in this example, the processor 212 compares the registered master waveform with the waveform of the average value of each pixel value of the RGB for one line. In the example of FIG. 8B, at the timing when the tape 12 at the joint is imaged, the difference between the average value of at least one pixel value of the RGB for one line and the corresponding value in the master waveform exceeds a threshold value. In such a case, the result of the determination in step S223 is Yes.

[0063] As described above, the processing device 210 in this embodiment calculates the average value of multiple pixel values ​​in the image signal every time an image signal is acquired from the imaging device 220 at regular intervals. Then, if the change over time of the average value deviates from the change over time of the average value in the pre-recorded master data, it outputs a signal to an external device (computer 300 in this example). Through this operation, foreign objects or defects such as tape at seams, which were previously difficult to detect, can be detected with high accuracy.

[0064] According to this embodiment, even when handling a wide variety of objects, inspection can be performed without manual selection of the type. Also, the setting of parameters such as thresholds used in the inspection can be minimized. Furthermore, since data averaged for each line is used instead of image data itself, the memory and arithmetic circuit (or software) can be made small-scale. Similarly, since the amount of data handled is small, it is easy to apply to objects transported at high speed.

[0065] According to this embodiment, since data averaged in the width direction is used, foreign objects such as tape that are large in the width direction can be detected with high accuracy. Therefore, this embodiment can be suitably used for detecting tape that is attached to the joints of long pieces of paper or film.

[0066] In addition, in applications where an object with no size in the width direction is to be detected, a memory for storing two-dimensional image data and a calculation function for two-dimensional images may be added to the configuration of this embodiment. With such a configuration, it is possible to develop it so that two-dimensional image processing can be performed while still utilizing the automatic product type switching function and the period detection function. Also, even when applied to the inspection of an object with no size in the width direction, such as the detection of dirt or defects, it is possible to reduce manual switching and setting.

[0067] In conventional inspection machines, it is generally necessary to manually set parameters such as the presence or absence of a period, the period length, the detection level, etc. In contrast, the inspection device of this embodiment can automatically set these parameters.

[0068] In this embodiment, at the start of operation, there is a phase (step S100) in which the type of inspection object (for example, the presence or absence of periodicity) is automatically determined, and after a period of about twice the expected maximum period has elapsed, the process moves to a phase (step S200) in which the presence or absence of a foreign object such as a tape is inspected. In this configuration, if the data is not stable due to speed unevenness at the start, the determination phase may be further extended.

[0069] In the above embodiment, when the pattern or design of the object has periodicity, the processor 212 records data indicating the change over time of the average pixel values ​​for two periods as the master data. The master data is not limited to data for two periods, and may be waveform data for a time length longer than two periods.

[0070] 5, the inspection step (step S200) is performed immediately after the registration step (step S100), but there may be a relatively long time lag between the registration step and the inspection step. Also, the inspection method of the present disclosure may include only one of the registration step and the inspection step.

[0071] The above configurations and operations are merely examples, and the technology of the present disclosure is not limited to the above aspects. Inspection devices, inspection systems, and inspection methods obtained by appropriately modifying the above configurations and operations are also included in the scope of the present disclosure.

[0072] For example, the "sheet-like object" is not limited to paper and film, but may be any object that is transported for inspection. For example, it may be a tablet or food enclosed in a sheet. The technology of the present disclosure can be applied to applications for inspecting the unevenness, color, quality, etc. of the tablet or food.

[0073] The inspection apparatus may also include a light source that emits light to illuminate the object. The light source may be of any illumination type, such as epi-illumination, blackout illumination, or transmitted illumination.

[0074] The conveying device 100 is not limited to a mechanism that conveys the object 10 by rollers and a motor, but may be a device such as an electrically operated movable belt. In this case, the product placed on the movable belt does not need to have a sheet-like structure. In a form in which a non-sheet-like product is conveyed on the belt, the combination of the belt and the product is interpreted as a "sheet-like object." [Industrial Applicability]

[0075] The technology disclosed herein can be used for applications such as product inspection in factories or warehouses. [Explanation of symbols]

[0076] 10. Object 100 Transport device 110 Controller 130 Conveyor 200 Inspection Equipment 210 Processing equipment 212 processors 214 RAM 216 ROM 220 Imaging Device 300 Computers

Claims

1. An inspection apparatus that inspects a sheet-like object transported in a first direction by a transport device, an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction, and configured to repeatedly capture images of a portion of the object being conveyed, thereby repeatedly outputting an image signal including at least one-dimensional image information; A processing circuit; Equipped with The processing circuitry includes: Each time the image signal is output from the image sensor, an average value of a plurality of pixel values ​​in the image signal is calculated; determining a periodicity of the object based on the change in the average value over time; recording, in a recording medium, master data indicating a change over time in the average value when the periodicity exists, the master data being referenced when inspecting the object; if there is no periodicity, a value obtained by averaging the average value over a predetermined time period is recorded in the recording medium as a reference value to be referred to during the inspection. Inspection equipment.

2. 2 . The inspection device according to claim 1 , wherein the processing circuit records, when the periodicity exists, data indicating a change over time of the average pixel value for two or more periods as the master data on the recording medium.

3. 3. The inspection device according to claim 1, wherein the processing circuit determines a threshold value to be used when inspecting the object when generating the master data, and records the threshold value together with the master data on the recording medium.

4. 4. The inspection device according to claim 1, wherein the processing circuit calculates an average value of a plurality of pixel values ​​in the image signal each time the image signal is output from the image sensor after recording the master data, and outputs a signal to an external device if the change in the average value over time deviates from the change in the average value over time in the master data.

5. 5. The inspection device according to claim 1, wherein the processing circuit, after recording the reference value, calculates an average value of a plurality of pixel values ​​in the image signal each time the image signal is output from the image sensor, and outputs a signal to an external device if the average value deviates from the reference value.

6. An inspection apparatus that inspects a sheet-like object transported in a first direction by a transport device, an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction, and configured to repeatedly capture images of a portion of the object being conveyed, thereby repeatedly outputting an image signal including at least one-dimensional image information; A processing circuit; Equipped with The processing circuitry includes: Each time the image signal is output from the image sensor, an average value of a plurality of pixel values ​​in the image signal is calculated; determining a periodicity of the object based on the change in the average value over time; outputting a signal to an external device when the object has periodicity and the change in the average value over time deviates from the change in the average value over time in prerecorded master data; If the object does not have periodicity, and if the average value deviates from a prerecorded reference value, a signal is output to the external device. Inspection equipment.

7. The inspection device according to claim 4 or 6, wherein the processing circuit outputs the signal to the external device when a difference between an average value of the plurality of pixel values ​​and an average value of the pixel values ​​in the master data exceeds a threshold value for a predetermined time or longer or for a predetermined distance or longer.

8. each of the plurality of photodetection cells in the image sensor is capable of detecting light of a respective color of red, green, and blue; the image signal includes one-dimensional image information for each of the colors red, green, and blue; the processing circuit outputs the signal to the external device when a change over time of an average value of pixel values ​​for at least one color of red, green, and blue in the image signal deviates from a change over time of the average value for the at least one color in the master data.

8. An inspection device according to any one of claims 4, 6 and 7.

9. 9. The inspection device according to claim 1, wherein the image sensor is a linear image sensor.

10. the linear image sensor outputs a one-dimensional image signal at regular intervals according to an amount of light detected by the plurality of light detection cells; the processing circuit generates and outputs a two-dimensional image signal from the plurality of one-dimensional image signals output from the linear image sensor.

10. The inspection apparatus according to claim 9.

11. An inspection device according to any one of claims 1 to 10, The conveying device; An inspection system comprising:

12. 1. A method for inspecting a sheet-like object being transported in a first direction by a transport device, comprising: acquiring an image signal including at least one-dimensional image information generated by an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction, capturing an image of a portion of the object being conveyed at regular intervals; calculating an average of a plurality of pixel values ​​in the image signal; determining a periodicity of the object based on the change in the average value over time; recording, in a recording medium, master data indicating a change over time of the average value when the periodicity exists, the master data being referenced when inspecting the object; if there is no periodicity, recording a value obtained by averaging the average value over a predetermined time in the recording medium as a reference value to be referred to during the inspection; The method includes:

13. 1. A method for inspecting a sheet-like object being transported in a first direction by a transport device, comprising: acquiring an image signal including at least one-dimensional image information generated by an image sensor including a plurality of photodetection cells arranged in a second direction intersecting the first direction, capturing an image of a portion of the object being conveyed at regular intervals; calculating an average of a plurality of pixel values ​​in the image signal; determining a periodicity of the object based on the change in the average value over time; a step of notifying an external device when the object has periodicity and the change in the average value over time deviates from the change in the average value over time in prerecorded master data; If the object does not have periodicity, and if the average value deviates from a prerecorded reference value, a signal is output to the external device. The method includes:

Citation Information

Patent Citations

  • Apparatus for inspecting quality

    JP2000108316A

  • Sign panel inspecting apparatus

    JP2000275187A

  • Picture reader

    JP2001238053A

  • Defect inspection device and defect inspection method of circuit pattern

    JP2009036747A

  • Image processing method, image processing apparatus, program and recording medium

    JP2011137657A