Inspection system and inspection method
The inspection system addresses the issue of misidentifying carried-in air bubbles as leaks by using image analysis and transport mechanisms to enhance accuracy and automate the detection of leaks in underwater inspections.
Patent Information
- Application Number
- JP2023045901
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing inspection systems mistakenly identify air bubbles carried in during underwater inspections as leaked air bubbles, leading to inaccurate results.
An inspection system that uses an imaging unit to capture underwater images, a control unit to identify and distinguish between brought-in and leaked air bubbles by comparing image data over time, and a transport mechanism to move objects for continuous inspection.
Accurately distinguishes between brought-in and leaked air bubbles, improving inspection accuracy and efficiency by reducing false positives and automating the detection process.
Smart Images

Figure 2024135283000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an inspection system and an inspection method. [Background technology]
[0002] Patent Document 1 discloses an inspection system in which a die-cast product is immersed in a water tank and inspected based on air bubbles generated from the die-cast product. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-155682 A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, an actuator is used to put an object into a water tank, and after inspection of the object is completed, the object is removed from the water tank again (Figure 2 in the document). This causes a problem that, if air bubbles that adhere to the object when it is submerged break off from the object and rise up, the air bubbles are mistakenly determined to be leaking air bubbles.
[0005] An object of the present disclosure is to improve the accuracy of object inspection. [Means for solving the problem]
[0006] The first aspect is directed to an inspection system, and includes an imaging unit (30) that images an object (10) underwater, and a control unit (40) that identifies air bubbles (B) generated from the object (10) based on image data of the object (10) imaged by the imaging unit (30), and the control unit (40) includes a determination unit (40a) that determines whether or not a candidate air bubble (C) in the image data is an air bubble (D) that was brought in when the object (10) was immersed in water.
[0007] In the first aspect, it is possible to suppress erroneous determination of a leaking bubble caused by the brought-in air bubble (D). In addition, by storing the position of the determined brought-in air bubble (D), even if the brought-in air bubble (D) subsequently moves away from the target object (10), it is possible to prevent the brought-in air bubble (D) from being identified as a leaking bubble. Therefore, the accuracy of inspection of the target object (10) is improved.
[0008] In the second aspect, in the first aspect, when a deviation in the relative position of each of the air bubble candidates (C) in the first image data and the second image data of the object (10) captured by the imaging unit (30) at a first time and a subsequent second time, respectively, with respect to the object (10), is within a predetermined range, the determination unit (40a) determines that each of the air bubble candidates (C) in the first image data and the second image data is the brought-in air bubble (D).
[0009] In the second embodiment, image data can be used to easily determine whether a potential bubble (C) is a carry-in bubble (D).
[0010] In the third aspect, in the second aspect, when it is determined that the brought-in air bubble (D) has moved in third image data of the object (10) captured by the imaging unit (30) at a third time later than the second time, the determination unit (40a) excludes the brought-in air bubble (D) from the identified bubble (B).
[0011] In the third aspect, it is possible to more reliably prevent erroneous determination of leakage bubbles caused by brought-in bubbles (D).
[0012] In the fourth aspect, in the third aspect, when a new bubble candidate (C) appears in image data of the object (10) captured by the imaging unit (30) at a later time after the brought-in bubble (D) has moved, at a location where the relative position shift is within the specified range, the determination unit (40a) determines that the bubble candidate (C) is a leaking bubble.
[0013] In the fourth embodiment, it is possible to distinguish the bubble candidate (C) from the carried-in bubble (D) and determine that it is a leaking bubble.
[0014] In the fifth aspect, in the first aspect, if a bubble candidate (C) in first image data captured by the imaging unit (30) at a first time has a relative positional deviation with respect to the target object (10) outside a predetermined range in image data captured by the imaging unit (30) at a later time, the determination unit (40a) determines that the bubble candidate (C) is a carry-in bubble (D), and if a new bubble candidate (C) appears at a location where the relative positional deviation is within the predetermined range in image data captured by the imaging unit (30) at a later time, the determination unit (40a) determines that the bubble candidate (C) is a leaking bubble.
[0015] In the fifth aspect, it is possible to distinguish the bubble candidate (C) from the carried-in bubble (D) and determine that it is a leaking bubble.
[0016] A sixth aspect is any one of the first to fifth aspects, further comprising a transport section (25) that moves the object (10) in a first direction underwater, and the imaging section (30) captures an image of the object (10) transported by the transport section (25).
[0017] In the sixth aspect, by moving a plurality of objects (10) by the transport unit (25), it is possible to continuously determine whether or not air bubbles are generated from each object (10), thereby improving the inspection efficiency.
[0018] In the seventh aspect, in the sixth aspect, the control unit (40) identifies the bubble (B) using a first index as a parameter, the first index indicating a change in position of the object (10) accompanying movement of the object (10) in the first direction.
[0019] In the seventh aspect, the air bubble (B) is identified taking into consideration the change in position of the object (10) in the first direction. This is because when the object (10) moves in the first direction, the coordinate position of the air bubble candidate (C) in the image data changes in accordance with the movement of the object (10).
[0020] In the eighth aspect, in the seventh aspect, when the positional deviation of the air bubble candidate (C) in each of the two image data of the object (10) captured by the imaging unit (30) is within a predetermined range, the control unit (40) performs a first process to remove the air bubble candidate (C) in the two image data from the identified targets of the air bubble (B), and in the first process, corrects the position of the air bubble candidate (C) in the image data captured later of the two image data based on the first index.
[0021] In the eighth aspect, in the first process performed by the control unit (40), if the positional deviation of the air bubble candidate (C) in each of the two image data is within a predetermined range, the air bubble candidate (C) in the two image data is excluded from the target of identification of the air bubble (B). This is because, if the positional deviation of the air bubble candidate (C) is within the predetermined range, the air bubble candidate (C) is highly likely to be an air bubble (D) brought in when the target object (10) is submerged in water or a light reflecting part in the piping. On the other hand, if the air bubble candidate (C) is an air bubble (D) brought in or the like, the air bubble candidate (C) changes with the movement of the target object (10) in the first direction. Therefore, in the first process, the control unit (40) corrects the position of the air bubble candidate (C) in the image data captured later out of the two image data based on the first index. This allows the movement of the target object (10) to be taken into consideration, and therefore it is possible to suppress erroneous determination that the brought-in air bubble (D) or the like is identified as an air bubble (B).
[0022] A ninth aspect is any one of the first to eighth aspects, in which, when a condition is established indicating that the brightness difference between the bubble candidates (C) in each of the two image data of the object (10) captured by the imaging section (30) is smaller than a predetermined value, the control section (40) performs a second process of identifying the bubble candidates (C) in the two image data as bubbles (B).
[0023] In the ninth aspect, when a condition is met indicating that the brightness difference between the air bubble candidates (C) in the two image data is smaller than a predetermined value, the control unit (40) determines that the two air bubble candidates (C) match, and identifies these air bubble candidates (C) as targets for identifying air bubbles (B).
[0024] A tenth aspect is any one of the first to ninth aspects, wherein the control unit (40) identifies a leakage point of the object (10) based on the position of the lowest air bubble (B) among multiple image data in which the same air bubble (B) is identified.
[0025] In the tenth aspect, when there are multiple image data in which the same air bubble (B) is identified, the position of the lowest air bubble (B) is closest to the leakage point in the target object (10). Therefore, the control unit (40) identifies the leakage point in the target object (10) based on the position of this air bubble (B).
[0026] In an eleventh aspect, in the tenth aspect, the control unit (40) identifies the leakage point of the object (10) based on first data that previously associates the position of the air bubble (B) with the leakage point of the object (10) and the position of the air bubble (B) that is located at the lowest position.
[0027] In the eleventh aspect, the first data correlating the position of the bubble (B) with the leakage location of the object (10) is further used, whereby the leakage location of the object (10) can be classified.
[0028] A twelfth aspect is any one of the first to eleventh aspects, wherein the control unit (40) identifies bubbles (B) generated from the target object (10) using a convolutional neural network (CNN) or template matching.
[0029] In the twelfth aspect, by using CNN or template matching, it is possible to improve the accuracy of identifying bubbles (B) without binarizing the image data.
[0030] A thirteenth aspect is any one of the first to twelfth aspects, further comprising an alarm unit (45) that notifies the user that air bubbles (B) are being generated from the object (10) or that the object (10) is leaking in response to the identification of the air bubbles (B) by the control unit (40).
[0031] In the thirteenth aspect, an inspector or the like can be notified of the occurrence of air bubbles (B) or leakage of the object (10) by the notification section (45).
[0032] The fourteenth aspect relates to an inspection method, in which an image of a compressor (10) having a sealed casing (11) in water is captured by an imaging unit (30), air bubbles (B) generated from the compressor (10) are identified by a control unit (40) based on image data of the compressor (10) captured by the imaging unit (30), and a determination unit (40a) determines whether or not an air bubble candidate (C) in the image data is an air bubble (D) brought in when the object (10) is immersed in water.
[0033] In the fourteenth aspect, it is possible to suppress erroneous determination of a leaking bubble caused by the brought-in air bubble (D). In addition, by storing the position of the determined brought-in air bubble (D), even if the brought-in air bubble (D) subsequently moves away from the object (10), it is possible to prevent the brought-in air bubble (D) from being identified as a leaking bubble. This improves the accuracy of inspection of the object (10). [Brief description of the drawings]
[0034] [Figure 1] FIG. 1 is a schematic plan view of an inspection system according to an embodiment. [Diagram 2] FIG. 2 is an enlarged front view of the compressor in the water tank. [Diagram 3] FIG. 3 is a block diagram of the inspection system. [Figure 4] FIG. 4 is a first flowchart of the inspection method. [Diagram 5] FIG. 5 is a second flowchart of the inspection method. [Figure 6] FIG. 6 shows how the range in which a compressor exists in image data is identified. [Figure 7] FIG. 7 shows an example of a bubble candidate in image data. [Figure 8]FIG. 8 shows the change in the position of the reflecting part of the compressor in two image data. [Figure 9] FIG. 9 shows the change in compressor position for two image data. [Figure 10] FIG. 10 shows the change in bubble position in the two image data. [Figure 11] FIG. 11 shows an example of how to determine whether or not the bubble is an introduced air bubble. [Figure 12] FIG. 12 shows the change in bubble position in the three image data. [Figure 13] FIG. 13 is an example of the first data that associates the leakage point in the compressor with the position of the air bubble. [Figure 14] FIG. 14 shows an example of how to identify the location of a leak in a compressor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0035] (Key Points of This Disclosure) In order to improve the efficiency of inspection of objects during underwater airtight testing to check the airtightness of compressors, the applicant of the present application has developed a technology in which a compressor with internal pressure is moved horizontally, a video of the compressor is taken with an imaging device (camera) to obtain images, and the images are then subjected to image processing to detect brightness and motion, thereby automatically detecting air bubbles.
[0036] There is a problem that air bubbles that adhere to the compressor when it is submerged (hereinafter referred to as carried-in air bubbles) may be mistakenly determined to be leaking air bubbles if they separate from the compressor and rise during inspection.
[0037] Therefore, when performing an airtightness test on an object underwater, the coordinate positions of air bubbles that exist from the time the object is submerged are registered, and if the air bubbles do not rise, they are not determined to be leaking air bubbles. Even if the air bubbles rise, they are not determined to be leaking air bubbles if they rise from the registered coordinate positions. Furthermore, if new air bubbles repeatedly appear from the same coordinate positions, they are determined to be leaking air bubbles.
[0038] A method of determining that a carried-in bubble is not a leaking bubble when it moves away from the object and rises is, for example, carried out as follows. First, while the carried-in bubble is attached to the object, the positional deviation in the comparison of two images in the motion detection process is within a predetermined range, so the bubble is excluded from the leaking bubble candidates, and the coordinate information of the bubble candidates excluded by this process is stored in a list file. In the conventional technology, if the carried-in bubble moves away from the object and rises at some point during the inspection, the positional deviation in the comparison of the two images is outside the predetermined range, and the bubble is determined to be a leaking bubble. However, in the technology disclosed herein, if the bubble in the compared image is a bubble whose coordinate position is registered in the above-mentioned list file, it is determined that the carried-in bubble has simply risen, and the bubble is excluded from the leaking bubble candidates. In this case, the coordinate position information of the bubble excluded from the leaking bubble candidates is stored in the list file, so that even in the next image (frame) and after, if a bubble whose coordinate position is registered in the list file rises, it is not determined to be a leaking bubble.
[0039] Although visual inspection can prevent false positives due to air bubbles, it places a heavy burden on the operator. In addition, air bubbles that adhere to the object when it is submerged in water can be removed with a brush before the inspection, but this complicates the inspection process and makes it difficult to completely remove the air bubbles.
[0040] (Embodiment) Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings. Note that the present disclosure is not limited to the embodiments shown below, and various modifications are possible within the scope of the technical idea of the present disclosure. Since each drawing is intended to conceptually explain the present disclosure, dimensions, ratios, or numbers may be exaggerated or simplified as necessary for ease of understanding. The specific numerical values of various parameters described in the following embodiments are merely examples and are not limited thereto.
[0041] <Inspection system configuration> An inspection system (20) according to an embodiment inspects an object for the presence or absence of a leak. In this example, the object is a hermetic compressor (10). The inspection system (20) identifies air bubbles (B) generated from the compressor (10) in water. The inspection system (20) determines the presence or absence of a leak in the compressor (10) based on the air bubbles (B).
[0042] 1 and 2, the inspection system (20) includes a water tank (21), a transport unit (25), and a camera (30). As shown in Fig. 3, the inspection system (20) includes a control unit (40) and a terminal device (45).
[0043] Water is stored in the water tank 21. The side wall 22 of the water tank 21 is made of a transparent material (such as resin, glass, or acrylic material).
[0044] The conveying section (25) includes a driving source (26), a cable (27) driven by the driving source (26), and a plurality of arms (28) supported by the cable (27). The driving source (26) is, for example, an electric motor. The cable (27) extends in a first direction (horizontal direction in this example) along the side wall (22) of the water tank (21). The driving source (26) conveys the cable (27) in the first direction. Each of the arms (28) is fixed to the cable (27). The arms (28) are configured in pairs to extend on both sides of the cable (27) (horizontal direction perpendicular to the first direction), and the compressor (10) is suspended from the tip of each arm (28). When the cable (27) is driven by the driving source (26), the compressor (10) moves in the horizontal direction together with the cable (27) and the arm (28). As a result, the conveyor (25) moves the multiple compressors (10) arranged in two rows underwater in the first direction, and the multiple compressors (10) pass sequentially through the imaging area of the camera (30) underwater. The conveyor (25) may be configured to move the compressors (10) arranged in three or more rows in the first direction. The conveyor (25) may be configured so that the compressors (10) describe an arc-shaped trajectory.
[0045] A plurality of cameras (30) serving as the imaging unit are disposed outside the water tank (21). Each camera (30) may be disposed at a different imaging angle with respect to the first direction. For example, a camera (30) facing a direction perpendicular to the first direction and a camera (30) facing a direction different from the perpendicular direction (diagonal direction) may be disposed on both sides of the conveying unit (25). The latter camera (30) facing in a diagonal direction is suitable for obtaining image data in which the compressors (10) do not overlap each other. Each camera (30) captures a video of a predetermined imaging area in the water tank (21). Each camera (30) may be configured to start capturing a video for a specified number of seconds when it receives a signal indicating that the compressor (10) has passed a predetermined position. Each camera (30) captures an image of the compressor (10) in the corresponding imaging area and obtains image data of the compressor (10). Two or more compressors (10) may be included in the image data. If there is a leak in the compressor (10), the image data will include air bubbles (B) generated from the compressor (10).
[0046] The cameras (30) and the control unit (40) are connected to each other via a first communication line (W1). The first communication line (W1) is wired or wireless. Each camera (30) captures an image of a predetermined imaging area based on a command from the control unit (40). A moving image captured by each camera (30) is composed of a plurality of image data, which are still images. The interval t between successive image data is, for example, 0.1 seconds. In other words, the frame rate of the image data acquired by each camera (30) is, for example, 10 fps. Each camera (30) transmits image data of the captured compressor (10) to the control unit (40) via the first communication line (W1).
[0047] The control unit (40) includes an MCU (Micro Control Unit), an electric circuit, and an electronic circuit. The MCU includes a CPU (Central Processing Unit), a memory, and a communication interface. The memory stores various programs to be executed by the CPU.
[0048] The control unit (40) receives the image data captured by each camera (30). The control unit (40) identifies air bubbles (B) generated in the compressor (10) based on the image data. The control unit (40) determines whether or not there is a leak in the compressor (10) based on the identified air bubbles (B).
[0049] The control unit (40) has a determination unit (40a) and a memory unit (41). The determination unit (40a) determines whether or not an air bubble candidate (C) in the image data is an air bubble (D) that was brought in when the compressor (10) was immersed in water. The memory unit (41) includes a hard disk drive (HDD), a random access memory (RAM), a solid state drive (SSD), etc.
[0050] The storage unit (41) sequentially stores the image data captured by each camera (30). In addition, the storage unit (41) stores data (hereinafter also referred to as first data) associating the position (coordinates) of the air bubble (B) with the leakage location in the compressor (10). The operator causes the storage unit (41) to store in advance the first data corresponding to the compressor (10) to be inspected. The control unit (40) identifies the leakage location in the compressor (10) based on the identified position of the air bubble (B) and the first data.
[0051] The terminal device 45 is a terminal used by an operator, such as a personal computer, etc. The terminal device 45 may be a tablet or a smartphone, or may be a dedicated terminal for inspection.
[0052] The control unit 40 and the terminal device 45 are connected to each other via a second communication line W2. The second communication line W2 is wired or wireless. The control unit 40 and the terminal device 45 may be connected to each other via a network.
[0053] When the control unit (40) determines that there is a leak in the compressor (10), it outputs a signal indicating the presence of a leak to the terminal device (45). The terminal device (45), which serves as a notification unit, notifies the operator that there is a leak in the compressor (10) by displaying a screen, lighting, sound, or the like.
[0054] <Compressor Overview> An overview of the compressor (10) that is the subject of the present invention will be described with reference to FIG.
[0055] The compressor (10) is a rotary fluid machine. The compressor (10) is a so-called high-pressure dome type compressor. The compressor (10) has a casing (11), a suction pipe (12), a discharge pipe (13), and a terminal (14). The casing (11) is a hollow sealed container. The casing (11) has a body (11a), a bottom (11b), and a top (11c). The body (11a) is formed in a vertically elongated cylindrical shape with both axial ends open. The bottom (11b) closes the open portion at one end (lower end in FIG. 2) in the longitudinal direction (axial direction) of the body (11a). The top (11c) closes the open portion at the other end (upper end in FIG. 2) in the longitudinal direction (axial direction) of the body (11a).
[0056] The suction pipe (12) is fixed to the body (11a). The suction pipe (12) penetrates the lower part of the body (11a) in the radial direction. The suction pipe (12) is provided with an accumulator (15). The accumulator (15) is a container that stores liquid refrigerant. The suction pipe (12) guides the refrigerant into the cylinder of the compression mechanism.
[0057] The discharge pipe (13) is fixed to the top portion (11c) and passes through the top portion (11c) in the axial direction. The discharge pipe (13) guides the refrigerant compressed by the compression mechanism to the outside of the casing.
[0058] The terminal 14 is fixed to the top of the casing 11. The terminal 14 has a relay terminal for conducting power from the power supply circuit to the motor.
[0059] The casing (11) accommodates an electric motor, a drive shaft, and a compression mechanism (not shown). When the electric motor rotates the drive shaft, a piston rotates inside the cylinder of the compression mechanism. As a result, a fluid (refrigerant) flows from the suction pipe into the cylinder. The compression mechanism compresses the refrigerant. The refrigerant compressed by the compression mechanism flows into the inside of the casing and then out of the casing via the discharge pipe.
[0060] <Operation of the inspection system> The operation of the inspection system 20 will now be described in detail.
[0061] During operation of the inspection system (20), the conveyor (25) moves the cable (27) in a first direction. As a result, the multiple compressors (10) supported by each arm (28) of the cable (27) pass through the imaging areas of the multiple cameras (30) in sequence. Each camera (30) captures a monochrome video of the compressor (10) passing through the corresponding imaging area. Each camera (30) sequentially transmits image data of the captured compressor (10) to the control unit (40). Each camera (30) may capture a color video of the compressor (10).
[0062] When the control unit 40 acquires image data from each camera 30, the control unit 40 determines whether there is a leak in the compressor 10 according to the steps shown in Figures 4 and 5. The image data is a collection of multiple subdivided pixels.
[0063] In step S11, the control unit 40 trims the image data. In step S11, the control unit 40 removes unnecessary areas from the image data. These unnecessary areas include, for example, areas outside the water tub 21 and areas far away from the compressor 10.
[0064] In step S111, the control unit (40) identifies the positional relationship (e.g., position coordinates) of the work in the image data captured by the camera (30) at the time when the camera (30) captured the image of the compressor (10) to be inspected (hereinafter, also referred to as the work) based on the moving speed of the work in the first direction. For example, the control unit (40) may set the time when the camera (30) received the image capture start signal or the time when the camera (30) captured the first image as a reference time, calculate the elapsed time from the reference time to the time when the image data including the work was captured, and multiply the elapsed time by the work moving speed to identify the position coordinates of the work. The control unit (40) may also extract image data in which the work does not overlap from a plurality of image data captured by the cameras (30) at different times, and perform a binarization process on the image data to identify the contour of each work, calculate the tilt angle of each work using the identified contour, and use the calculated tilt angle to correct the tilt of the presence range of each work to determine each presence range.
[0065] In step S112, the control unit (40) performs mask processing on areas other than the determined presence range of each workpiece in the image data captured by each camera (30), and stores the image data after the mask processing.
[0066] FIG. 6 shows how to specify the range of existence of the compressor (10) in the image data. More specifically, as shown in (a) to (c) of FIG. 6, since the compressor (10) moves horizontally at a constant speed, the positional relationship of each compressor (10) can be roughly obtained by, for example, calculating the elapsed time from the start of shooting by the camera (30) and the moving speed, the range of existence of each of the front and rear compressors (10) is provisionally determined and, for example, surrounded by a frame line. Next, as shown in (d) of FIG. 6, image data in a position where the compressors (10) do not overlap is binarized to extract the contour of the compressor (10), the inclination angle of the compressor (10) due to the imaging angle of the camera (30) is calculated, and the inclination of the area surrounded by the frame line is corrected to determine the range of existence of the compressor (10). Next, as shown in (e) of FIG. 6, a mask process is performed on areas other than the range of existence of the compressor (10), and all image data in which each compressor (10) has been identified is stored in a predetermined folder of the storage unit (41).
[0067] In step S12, the control unit (40) performs a binarization process on the image data processed in steps S11, S111, and S112. Specifically, the control unit (40) performs the binarization process based on the luminance value of the image data. When the luminance value of the image data is in the range of 0 to 255, the threshold value of the luminance value for the binarization process is set to, for example, 200. In this case, the control unit (40) changes the luminance value of pixels of the image data having a luminance value of 200 or more to 255. The control unit (40) changes the luminance value of pixels of the image data having a luminance value of less than 200 to 0. Through this binarization process, the image data is substantially converted into image data consisting of white pixels and black pixels.
[0068] In step S13, the control unit (40) performs blob analysis and extracts white lump regions from the image data as air bubble candidates (C). This process makes it possible to determine the area and circumscribing rectangle of the air bubble candidate (C). Figure 7 shows an example of an air bubble candidate (C) in the image data. One rectangular block represents one pixel.
[0069] In step S14, the control unit (40) determines whether or not to remove the air bubble candidate (C) from targets for identifying air bubbles based on the area of the air bubble candidate (C). Specifically, in step S14, the control unit (40) calculates the area of a mass (bl) of white pixels in the image data that has been processed in step S13 (see FIG. 7). In step S14, if the area is within a predetermined range, the control unit (40) maintains the air bubble candidate (C) as a target for identifying air bubbles. In step S14, if the area is outside the predetermined range, the control unit (40) removes the air bubble candidate (C) from targets for identifying air bubbles (step S25 in FIG. 5).
[0070] In step S15, the control unit (40) determines whether or not to exclude the bubble candidate (C) from targets for identifying bubbles, based on the aspect ratio of the cluster (bl) of white pixels. Specifically, in step S15, the control unit (40) extracts a circumscribing rectangle of the cluster (bl) (the portion surrounded by the dashed line in FIG. 7). The control unit (40) obtains an aspect ratio h / w of the vertical length h and horizontal length w of the circumscribing rectangle. Here, h corresponds to the maximum vertical height of the bubble candidate (C), and w corresponds to the maximum horizontal width of the bubble candidate (C). In step S15, if h / w is less than a predetermined value (e.g., 0.5), the control unit (40) excludes the bubble candidate (C) from targets for identifying bubbles (step S25). In step S15, if h / w is greater than a predetermined value (2.0), the control unit (40) removes the air bubble candidate (C) from the targets for identifying air bubbles (step S25). In other words, in step S15 in this example, if h / w is within the range of 0.5 to 2.0, the control unit (40) maintains the air bubble candidate (C) as a target for identifying air bubbles.
[0071] In step S16, the control unit (40) uses a Laplacian of Gaussian (LoG) filter to determine the bubble candidate (C). The control unit (40) obtains the luminance of each pixel of the target data. The LoG filter is a filter that corresponds to the luminance distribution of a general bubble. A bubble has a characteristic that the luminance is high at the center and decreases from the center to the outer periphery. In the LoG filter, a numerical value corresponding to the coordinates of each pixel of the bubble candidate (C) is set so as to correspond to the luminance characteristic of the bubble. Specifically, in the LoG filter, the numerical value at the center is low and the numerical value at the outer periphery is high. In the LoG filter of this example, the numerical value at the center is large in the negative direction, and the numerical value at the outer periphery is small in the negative direction or positive. In step S16, the control unit (40) performs a convolution operation on the bubble candidate (C) using the LoG filter.
[0072] Specifically, the control unit (40) multiplies the brightness of each pixel of the bubble candidate (C) by a numerical value corresponding to the coordinates of each pixel of the LoG filter. Next, the control unit (40) adds up the multiplied values for all pixels of the bubble candidate (C) to obtain a post-filtering value N. For example, if the brightness of the bubble candidate (C) is close to the characteristics of a bubble, the value N obtained here becomes relatively small, e.g., a negative value. Conversely, if the brightness of the bubble candidate (C) is far from the characteristics of a bubble, the value N obtained here becomes relatively large, e.g., a positive value. If the post-filtering value N is smaller than a predetermined threshold (e.g., 0), the control unit (40) maintains the bubble candidate (C) as a target for identifying a bubble. If the post-filtering value N is equal to or greater than the threshold (e.g., 0), the control unit (40) removes the bubble candidate (C) from the targets for identifying a bubble (step S25).
[0073] In step S17, the control unit (40) extracts bubble candidates (C) by CNN (Convolutional Neural Network) or template matching, separately from steps S12 to S16. CNN and template matching have the advantage that they can identify bubbles without the binarization process in step S12.
[0074] The control unit (40) extracts bubble candidates (C) from the image data based on a trained model (CNN model) created by CNN. Image data including bubbles is used as training data for constructing the CNN model. The constructed CNN model is stored in a storage unit (41) of the control unit (40). The control unit (40) uses the CNN model to extract portions of the image data that are similar to bubbles in the training data as bubble candidates (C).
[0075] The control unit (40) may extract bubble candidates (C) from image data using template matching instead of CNN. In this case, the control unit (40) compares image data to be processed (target data) with image data (comparison data) containing bubbles that has been prepared in advance. Specifically, if the matching rate between the brightness of a portion of the target data that is assumed to be a bubble and the brightness of the bubble portion of the comparison data is 75% or more, the control unit (40) extracts the portion of the target data as a bubble candidate (C). Strictly speaking, the control unit (40) obtains the matching rate between the brightness of each pixel of the target data and the brightness of each pixel corresponding to these pixels in the comparison data. If the average matching rate is 75% or more, this portion is extracted as a bubble candidate (C).
[0076] In steps S18 and S19, processing is performed to prevent any object in the image data that is not a leaking bubble, such as air bubbles that adhere to the compressor (10) when it is submerged in water (hereinafter referred to as “carry-in air bubbles”) or light reflecting portions in the piping, from being mistakenly detected as an air bubble.
[0077] 8, when a part of the piping of the compressor (10) reflects white light, the control unit (40) may mistakenly recognize the reflecting portion (R) as an air bubble. Moreover, it is difficult to distinguish carried-in air bubbles that adhere to the compressor (10) when it is submerged in water from air leaking from the compressor (10).
[0078] Therefore, the determination unit (40a) compares the coordinates of the air bubble candidate (C) in the target image data (hereinafter referred to as image data A) with the coordinates of the air bubble candidate (C) in the image data acquired immediately before the image data A (hereinafter referred to as image data B). That is, the image data B is the first image data captured by the camera (30) at a first time, and the image data A is the second image data captured by the camera (30) at a second time after the first time. When the condition that the coordinates of the air bubble candidate (C) in both sets of data are unchanged is satisfied, the determination unit (40a) excludes the air bubble candidate (C) in the image data A from the identification target of the air bubble (step S25). At this time, when the determination unit (40a) determines in step S191 that the air bubble candidate (C) in the image data A and B is the brought-in air bubble (D), it stores the position of the brought-in air bubble (D) in the image data A. Specifically, the position information (e.g., position coordinates) of the brought-in air bubble (D) is saved in a list file in the storage unit (41). If the condition of step S19 is not met, the determination unit (40a) maintains the air bubble candidate (C) in the image data A as a target for identifying an air bubble.
[0079] However, unlike air bubbles (B), the reflecting portion (R) of the compressor (10) and the like moves in the water by the transport portion (25). There are cases where the brought-in air bubbles (D) also move in the water while remaining attached to the compressor (10). For this reason, if the coordinate position of the image data A is obtained without taking into account the movement of the compressor (10) in the first direction (horizontal direction), the positional deviation between the image data A and the image data B becomes large, resulting in an erroneous determination in step S19. Therefore, in step S18, the control portion (40) of this embodiment corrects the position of the air bubble candidate (C) in the image data A, taking into account the change in the position of the compressor (10) accompanying the movement of the compressor (10) in the horizontal direction.
[0080] Specifically, for example, the moving speed of the compressor (10) is v, and the interval between the imaging operations of the camera (30) is t. In this case, the amount of change in the x-coordinate of the air bubble candidate (C) in image data A and image data B caused by the movement of the compressor (10) can be expressed as Δx=vt. If the coordinates of position P1 of the air bubble candidate (C) in image data A are (x1, y1), the corrected coordinates are (x1-vt, y1). In this example, the amount of change Δx (=vt) is the first index.
[0081] In step S19, the determination unit (40a) compares the coordinates (x1-vt, y1) of the corrected position P1 of the air bubble candidate (C) in the image data A with the coordinates (x2, y2) of the position P2 of the air bubble candidate (C) in the image data B. The positional deviation ΔP between the two coordinates can be expressed by the following equation.
[0082]
number
[0083] In step S19, if ΔP is smaller than a predetermined value, the determination unit (40a) removes the air bubble candidate (C) from the target for identifying an air bubble (step S25). If ΔP is equal to or greater than a predetermined value, the determination unit (40a) maintains the air bubble candidate (C) as a target for identifying an air bubble. Here, the predetermined value is, for example, 10 pixels (corresponding to 1.4 mm / 0.1 seconds). The predetermined value may be zero. FIG. 9 shows how the position of the carried-in air bubble (D) changes with the compressor (10) in the two image data.
[0084] In step S19, when the positional deviation ΔP of the air bubble candidate (C) between the image data A (second image data) and the image data B (first image data) is equal to or greater than a predetermined value, the determination unit (40a) may determine whether the air bubble candidate (C) is a brought-in air bubble (D) by using image data captured before the first time. The image data captured before the first time may be, for example, an image acquired by another imaging unit during the period from when the compressor (10) is placed in water until when imaging by the camera (30) begins.
[0085] Steps S18, S19, and S25 correspond to the first process of the present disclosure.
[0086] In step S20, the control unit (40) determines whether the air bubble candidate (C) is rising. If the air bubble candidate (C) is rising, there is a high possibility that the air bubble candidate (C) is an air bubble (B). In step S20, as shown in Fig. 10, for example, the control unit (40) compares a position P1 of the air bubble candidate (C) in image data A (see Fig. 10(B)) with a position P2 of the air bubble candidate (C) in image data B (see Fig. 10(A)).
[0087] Specifically, the control unit (40) judges whether the following conditions 1 and 2 are met. In this example, when conditions 1 and 2 are both met, the control unit (40) sets the air bubble candidate (C) in the image data A as a target for identifying an air bubble (B), and proceeds to step S21. When either or both of conditions 1 and 2 are not met, the control unit (40) removes the air bubble candidate (C) in the image data A from the target for identifying an air bubble (B) (step S25).
[0088] Condition 1) The control unit (40) compares positions P1 and P2 in the X coordinate (horizontal direction). The control unit (40) determines whether the coordinate x1 of the position P1 of the air bubble candidate (C) in the image data A is within a predetermined range with respect to the coordinate x2 of the position P2 of the air bubble candidate (C) in the image data B. Here, the predetermined range is, for example, a range of -50 pixels to +50 pixels (corresponding to -7 mm to +7 mm / 0.1 seconds). Even if the air bubble (B) rises in the successive image data, strictly speaking, the position of the X coordinate of the air bubble (B) does not change. However, in this determination, a slight deviation between the positions P1 and P2 in the X coordinate is allowed, taking into consideration an error in the imaging by the camera (30) and an error in the processing by the control unit (40), etc.
[0089] Condition 2) The control unit (40) compares the position P1 with the position P2 in the Y coordinate (vertical direction). The control unit (40) judges whether the coordinate y1 of the position P1 of the air bubble candidate (C) in the image data A is within a predetermined range with respect to the coordinate y2 of the position P2 of the air bubble candidate (C) in the image data B. Here, the predetermined range is, for example, a range of 40 to 200 pixels (corresponding to 5.6 mm to 28 mm / 0.1 seconds). In the consecutive image data, when the air bubble (B) rises, the air bubble candidate (C) in the image data A moves higher than the air bubble candidate (C) in the image data B. For this reason, the lower limit of this range is set to a predetermined value greater than 0. Also, even if the air bubble (B) moves upward, there is an upper limit to the rising speed. For this reason, a predetermined upper limit value is also set for this range.
[0090] In step S21, if a condition is met indicating that the brightness of the bubble candidate (C) in the image data A is close to the brightness of the bubble candidate (C) in the image data B, the control unit (40) performs a second process of determining the bubble candidate (C) in the image data A as a target for identifying a bubble (B). Strictly speaking, if this condition is met, the control unit (40) provisionally determines that the bubble candidate (C) in the image data A is a bubble (B) and proceeds to step S201. If this condition is not met in step S21, the bubble candidate (C) in the image data A is excluded from the target for identifying a bubble (B) (step S25).
[0091] Specifically, in step S21, the control unit (40) compares the bubble candidates (C) in the image data A and image data B that have not been subjected to binarization processing. First, a circumscribing rectangle of the bubble candidate (C) is obtained in the image data A, and the circumscribing rectangle is applied to the bubble candidate (C) in the image data B. The control unit (40) sequentially obtains the matching rates of pixels that have the same coordinates based on the circumscribing rectangle in the image data A and image data B. In step S21, if the average matching rate of all pixels in the circumscribing rectangle is 75% or more, the control unit (40) proceeds to step S201. If the matching rate is less than 75%, the control unit (40) excludes the bubble candidate (C) from the targets for identifying a bubble (B) (step S25).
[0092] In step S201, the determination unit (40a) determines whether or not the bubble candidate (C) determined to be rising in step S20 and provisionally determined to be a bubble (B) in step S21 is identical to the brought-in bubble (D) stored in the list file in step S191. If it is determined that the bubble candidate (C) is not identical to the brought-in bubble (D), then in step S22, the bubble candidate (C) is determined to be a bubble (B). If it is determined that the bubble candidate (C) is identical to the brought-in bubble (D), then the bubble candidate (C) is excluded from the identification target of the bubble (B) (step S25). At this time, in step S202, the determination unit (40a) stores the position of the brought-in bubble (D). Specifically, the position information (e.g., position coordinates) of the brought-in bubble (D) is stored in the list file of the storage unit (41).
[0093] 11 illustrates an example of a situation in which a bubble candidate (C) determined to be a brought-in bubble (D) as not moving in the comparison of the first and second image data, but moved in the comparison of the second and third image data, and a suspicion of a leaking bubble arises, the brought-in bubble (D) is determined to have risen based on the position coordinates of the brought-in bubble (D) in the second image data stored in the list file. In this case, as shown in FIG. 11, the determination unit (40a) determines that the bubble candidate (C) in the second and third image data is a brought-in bubble (D), and stores the position of the brought-in bubble (D) in the third image data in step S202. As a result, when a bubble candidate (C) determined to be a brought-in bubble (D) is moved in the comparison of the third and fourth time data, and a suspicion of a leaking bubble arises again, it becomes possible to determine that the brought-in bubble (D) has risen based on the position coordinates of the brought-in bubble (D) in the third image data stored in the list file. By repeating the above process, it is possible to prevent a bubble candidate (C) that has once been determined to be a carry-in bubble (D) from being determined to be a leaking bubble.
[0094] When the air bubble (B) is identified in the above manner, in step S23, the control unit (40) associates the same address with the air bubble (B) identified in the image data A and the air bubble (B) in the image data B that corresponds to this air bubble (B). These air bubbles (B) are those that were determined in step S21 to have a matching rate of 75% or more. By assigning an address to the air bubble (B) in each image data in this manner, the same air bubble (B) can be identified in multiple image data.
[0095] Furthermore, if an air bubble (B) is identified, in step S24, the control unit (40) determines that there is leakage, and in step S31, the control unit (40) identifies the coordinates of the position of the air bubble (B) located at the lowest position among the multiple image data in which the air bubble (B) is identified. The control unit (40) in this example identifies the coordinates of the position of the air bubble (B) located at the lowest position among three consecutive image data, as shown in FIG. 12. Here, in step S23, the same address is assigned to the air bubble (B) in the latest image data (image data A) and the air bubble (B) in the image data one image data before that (image data B) among these three image data. Similarly, the same address is assigned to the air bubble (B) in the image data B and the air bubble (B) in the image data (image data C) before that in step S23. Therefore, if the air bubble (B) in the image data A can be identified, the air bubble (B) in the image data C two images before that can be identified, and the coordinate position P3 of the air bubble (B) in the image data C can be obtained.
[0096] The coordinate position P3 (x3, y3) of the air bubble (B) in the image data C is below the coordinate position P1 (x1, y1) of the air bubble (B) in the image data A and the coordinate position P2 (x2, y2) of the air bubble (B) in the image data B. Therefore, the coordinate position P3 of the air bubble (B) in the image data C serves as an index indicating the location where the air bubble (B) has occurred from the compressor (10). Note that, although the control unit (40) in this example illustrates a case in which the location where the air bubble (B) has occurred is identified from three consecutive image data, a similar determination may be made using two or four or more consecutive image data.
[0097] In step S311, the control unit (40) performs a conversion process to match the position coordinates and size of the compressor (10) in the image data C with the position coordinates and size of the compressor (10) serving as a reference in the first data (data in which the positions of the air bubbles (B) are previously associated with the leakage points of the compressor (10)) stored in the storage unit (41). Size matching is also necessary due to differences in the shooting angles of the cameras (30).
[0098] In step S32, the control unit (40) identifies the leakage point of the compressor (10) based on the first data converted in step S311 and the coordinate position P3 of the air bubble (B) in the image data C.
[0099] 13, the first data associates a leakage point in the compressor (10) with a range of coordinate positions (x, y) of the air bubble (B) corresponding to the leakage point. Examples of the leakage point include a joint between the body (11a) and the top (11c) of the casing (11), a joint between the body (11a) and the bottom (11b) of the casing (11), a joint between the body (11a) and the suction pipe (12) of the casing (11), a joint between the body (11a) and the suction pipe (12) of the casing (11), a joint between the suction pipe (12) and the accumulator (15), a joint between the top (11c) and the discharge pipe (13), a joint between the top (11c) and the terminal (14), etc. The first data includes coordinate ranges corresponding to these items.
[0100] In step S32, the control unit (40) determines which coordinate range of the first data the coordinate position P3 of the bubble (B) acquired in step S31 belongs to. For example, if the coordinate x of the bubble (B) acquired in step S31 is in the range of a to b and the coordinate y is in the range of c to d, the control unit (40) identifies the joint between the body (11a) and the top portion (11c) as the leakage location.
[0101] Fig. 14 shows how the leak location of the compressor is identified in steps S311 and S32. As shown in Fig. 14, first, the position coordinates and size of the compressor (10) in the image data C are calculated based on, for example, the time elapsed since the start of image capture by the camera (30), and then the size of the reference compressor (10) is adjusted to the size of the compressor (10) in the image data C, and then the position coordinates of the reference compressor (10) are adjusted to the position coordinates of the compressor (10) in the image data C. This makes it easy to determine which coordinate range of the first data the coordinate position P3 of the bubble (B) acquired in step S31 belongs to. Fig. 14 shows an example of how the joint between the body (11a) and the bottom (11b) of the casing (11) is identified as the leak location.
[0102] If the coordinate position P3 of the bubble (B) acquired in step S31 does not belong to any coordinate range of the first data, the bubble (B) acquired in step S31 may be determined again to be a carried-in bubble (D) rather than a leaking bubble. Assuming that the carried-in bubble (D) happens to be attached to the coordinate range (welded portion, etc.) of the first data, it may be determined that the bubble is a leaking bubble if it occurs two or more times from the same coordinate range, and that the bubble is a carried-in bubble (D) if it occurs only once. Furthermore, if it is still not possible to determine whether the bubble is a leaking bubble even after doing the above, other measures may be taken, such as inspecting the target area in detail using a soapy water test after the underwater airtight test of this embodiment, or performing the underwater airtight test again.
[0103] In step S33, the control unit (40) outputs a first signal including the information obtained in the processes up to this point to the terminal device (45). The first signal includes information indicating that the compressor (10) is leaking. In addition, the first signal includes information indicating that air bubbles (B) are being generated from the compressor (10), the coordinate position of the air bubbles (B), and the location of the leak in the compressor (10).
[0104] When the first signal is input to the terminal device (45), the terminal device (45) notifies the operator that the compressor (10) is leaking or that air bubbles (B) are being generated from the compressor (10) by displaying a screen, lighting, sound, or the like. In addition, the terminal device (45) displays the coordinate position of the air bubbles (B) and the leakage location of the compressor (10) on the screen in response to an operation by the operator. This allows the operator to know the location of the air bubbles (B) and the leakage location of the compressor (10). The terminal device may notify the operator of the location of the air bubbles (B) and the leakage location of the compressor (10) by sound or the like.
[0105] <Features of the embodiment> The inspection system (20) of the embodiment includes a camera (30) that captures an image of the compressor (10) underwater, and a control unit (40) that identifies air bubbles (B) generated from the compressor (10) based on image data of the compressor (10) captured by the camera (30). The control unit (40) includes a determination unit (40a) that determines whether or not an air bubble candidate (C) in the image data is an air bubble (D) that was brought in when the compressor (10) was immersed in water. This can prevent erroneous determination of a leaking air bubble caused by the brought-in air bubble (D). In addition, by storing the position of the determined brought-in air bubble (D), it is possible to prevent the brought-in air bubble (D) from being identified as a leaking air bubble even if the brought-in air bubble (D) subsequently moves away from the compressor (10). This improves the accuracy of the inspection of the compressor (10). In addition, by automating (mechanizing) the detection of air bubbles leaking from the compressor (10), it is possible to reduce manpower and costs, and to keep the inspection cost constant globally, regardless of the inspection location. In addition, by automating (mechanizing) the detection of air bubbles leaking from the compressor (10), it is possible to reduce the variation in detection standards between operators, and therefore the quality of the compressor (10) can be stabilized, and the quality of the compressor (10) can be stabilized globally, regardless of the inspection location. In addition, since visual inspection of air bubbles leaking from the compressor (10) can be eliminated, repetitive work can be eliminated and the burden on the operator can be reduced. Furthermore, if it is possible to prevent erroneous determination of air bubbles leaking due to the carried-in air bubbles (D), it is possible to reduce erroneous detections that occurred in conventional visual inspections and inspection systems, and therefore it is possible to reduce unnecessary man-hours such as confirmation work in a post-process such as a soapy water test. In addition, since it is possible to detect not only the presence or absence of air bubbles but also the location of the leak, a significant cost reduction effect is expected.
[0106] In the inspection system (20) of the embodiment, the determination unit (40a) may determine that each of the air bubble candidates (C) in the first image data and the second image data of the compressor (10) captured by the camera (30) at a first time and a subsequent second time, is an introduced air bubble (D) if the deviation of the relative position of each of the air bubble candidates (C) in the first image data and the second image data of the compressor (10) with respect to the compressor (10) is within a predetermined range. This makes it possible to easily determine whether the air bubble candidate (C) is an introduced air bubble (D) using the image data.
[0107] In the inspection system (20) of the embodiment, when it is determined that the brought-in air bubble (D) has moved in the third image data of the compressor (10) captured by the camera (30) at a third time later than the second time, the determination unit (40a) may exclude the brought-in air bubble (D) from the identification target of the air bubble (B). This makes it possible to more reliably prevent erroneous determination of a leaking air bubble caused by the brought-in air bubble (D).
[0108] In the inspection system (20) of the embodiment, when a new air bubble candidate (C) appears at a location where the relative position deviation is within the predetermined range in image data of the compressor (10) captured by the camera (30) at a later time after the brought-in air bubble (D) has moved, the determination unit (40a) may determine that the air bubble candidate (C) is a leaking air bubble. This makes it possible to distinguish the air bubble candidate (C) from the brought-in air bubble (D) and determine that the air bubble candidate (C) is a leaking air bubble.
[0109] In the inspection system (20) of the embodiment, the determination unit (40a) may determine that an air bubble candidate (C) in first image data captured by the camera (30) at a first time is a brought-in air bubble (D) if the relative positional deviation with respect to the compressor (10) is outside a predetermined range in image data captured by the camera (30) at a later time, and may determine that the air bubble candidate (C) is a leaking air bubble if a new air bubble candidate (C) appears at a location where the relative positional deviation is within the predetermined range in image data captured by the camera (30) at a later time. This makes it possible to determine that the air bubble candidate (C) is a leaking air bubble, distinguishing it from the brought-in air bubble (D).
[0110] The inspection system (20) of the embodiment may further include a transport unit (25) that moves the compressor (10) in a first direction underwater, and the camera (30) may capture an image of the compressor (10) transported by the transport unit (25). In this way, by moving the multiple compressors (10) by the transport unit (25), it is possible to continuously determine whether or not air bubbles are generated from each compressor (10), thereby improving the inspection efficiency.
[0111] In the inspection system (20) of the embodiment, the control unit (40) may identify the air bubble (B) using as a parameter a first index indicating a change in position of the compressor (10) accompanying movement of the compressor (10) in the first direction. In this manner, the air bubble (B) may be identified in consideration of the change in position of the compressor (10) accompanying the first direction. This is because, when the compressor (10) moves in the first direction, the coordinate position of the air bubble candidate (C) in the image data changes in association with the movement of the compressor (10).
[0112] In the inspection system (20) of the embodiment, when the positional deviation of the air bubble candidate (C) in each of the two image data of the compressor (10) captured by the camera (30) is within a predetermined range, the control unit (40) may perform a first process of removing the air bubble candidate (C) in the two image data from the target of identification of the air bubble (B), and in the first process, correct the position of the air bubble candidate (C) in the image data captured later of the two image data based on a first index. In this way, in the first process performed by the control unit (40), when the positional deviation of the air bubble candidate (C) in each of the two image data is within a predetermined range, the air bubble candidate (C) in the two image data may be removed from the target of identification of the air bubble (B). This is because, when the positional deviation of the air bubble candidate (C) is within the predetermined range, the air bubble candidate (C) is highly likely to be an air bubble (D) carried in when the compressor (10) is submerged in water, a light reflecting part in the piping, or the like. On the other hand, if the air bubble candidate (C) is a brought-in air bubble (D) or the like, the air bubble candidate (C) changes in accordance with the movement of the compressor (10) in the first direction. Therefore, in the first process, the control unit (40) corrects the position of the air bubble candidate (C) in the image data captured later of the two image data based on the first index, thereby taking into account the movement of the object (10) and suppressing erroneous determination that the brought-in air bubble (D) or the like is identified as an air bubble (B).
[0113] In the inspection system (20) of the embodiment, the control unit (40) may perform a second process in which, when a condition is established indicating that the brightness difference between the air bubble candidates (C) in the two image data of the compressor (10) captured by the camera (30) is smaller than a predetermined value, the control unit (40) may determine that the two air bubble candidates (C) match and may set these air bubble candidates (C) as targets for identifying air bubbles (B) when a condition is established indicating that the brightness difference between the air bubble candidates (C) in the two image data is smaller than a predetermined value.
[0114] In the inspection system (20) of the embodiment, the control unit (40) may identify the leak point of the compressor (10) based on the position of the lowest air bubble (B) among multiple image data in which the same air bubble (B) is identified. This is because, when there are multiple image data in which the same air bubble (B) is identified, the position of the lowest air bubble (B) is closest to the leak point of the compressor (10). Therefore, the control unit (40) identifies the leak point of the target object (10) based on the position of this air bubble (B).
[0115] In the inspection system (20) of the embodiment, the control unit (40) may identify the leakage point of the compressor (10) based on the first data in which the position of the air bubble (B) is previously associated with the leakage point of the compressor (10) and the position of the lowest air bubble (B). In this manner, by further using the first data in which the position of the air bubble (B) is associated with the leakage point of the compressor (10), the leakage point of the compressor (10) can be classified.
[0116] In the inspection system 20 of the embodiment, the control unit 40 may use CNN or template matching to identify the air bubbles B generated in the compressor 10. This can improve the accuracy of identifying the air bubbles B without binarizing the image data.
[0117] The inspection system (20) of the embodiment may include a notification unit (terminal device (45)) that notifies the user that air bubbles (B) are being generated from the compressor (10) or that there is a leak from any part of the compressor (10) in response to the identification of the air bubbles (B) by the control unit (40). This allows an inspector or the like to quickly grasp that air bubbles are being generated from the compressor (10) or that there is a leak from the compressor (10). In addition, the terminal device (45) notifies the inspector of the location of the leak from the air bubbles (B), allowing the inspector to take measures quickly.
[0118] In the inspection method of the embodiment, a camera (30) captures an image of a compressor (10) having a sealed casing (11) in water, a control unit (40) identifies bubbles (B) generated from the compressor (10) based on image data of the compressor (10) captured by the camera (30), and a determination unit (40a) determines whether a bubble candidate (C) in the image data is a carried-in bubble (D) brought in when the compressor (10) is immersed in water. This makes it possible to suppress erroneous determination of a leaking bubble caused by the carried-in bubble (D). In addition, by storing the position of the determined carried-in bubble (D), it is possible to prevent the carried-in bubble (D) from being identified as a leaking bubble even if the carried-in bubble (D) subsequently moves away from the compressor (10). This improves the accuracy of inspection of the compressor (10).
[0119] (Other embodiments) In the above-described embodiment (including modified examples; the same applies below), the target object is not limited to a compressor, but may be anything that allows the location of a leak to be determined by air bubbles. The first direction in which the transport unit moves the target object does not necessarily have to be horizontal, and may be inclined relative to the horizontal. The transport unit may be a means for forming a water current to move the transport unit underwater. The transport unit does not have to be provided. The imaging unit does not have to be a camera, but may be an optical sensor. At least one imaging unit is required.
[0120] Although the embodiments and modifications have been described above, it will be understood that various modifications of form and details are possible without departing from the spirit and scope of the claims. Furthermore, the above embodiments, modifications, and other embodiments may be appropriately combined or substituted as long as the functions of the subject matter of this disclosure are not impaired. Furthermore, the descriptions "first," "second," "third," etc. described above are used to distinguish the words to which these descriptions are attached, and do not limit the number or order of the words. [Industrial Applicability]
[0121] INDUSTRIAL APPLICABILITY As described above, the present disclosure is useful for an inspection system and an inspection method. [Explanation of symbols]
[0122] 10 Compressor (object) 11 Casing 20 Inspection System 25 Conveyor 30 Camera (imaging unit) 40 Control section 40a Judgment part 45 Terminal device (notification unit)
Claims
1. an imaging unit (30) for imaging an object (10) underwater; a control unit (40) that identifies bubbles (B) generated from the object (10) based on image data of the object (10) captured by the imaging unit (30), The control unit (40) includes a determination unit (40a) that determines whether or not the air bubble candidate (C) in the image data is an air bubble (D) that was brought in when the object (10) was immersed in water. Inspection system.
2. 2. The inspection system of claim 1, the determination unit (40a) determines that the air bubble candidates (C) in the first image data and the second image data of the object (10) captured by the imaging unit (30) at a first time and a subsequent second time, respectively, have a relative positional deviation with respect to the object (10) within a predetermined range, and the air bubble candidates (C) in the first image data and the second image data are the brought-in air bubbles (D); Inspection system.
3. 3. The inspection system of claim 2, when it is determined that the brought-in air bubble (D) has moved based on third image data of the object (10) captured by the imaging unit (30) at a third time that is later than the second time, the determination unit (40a) excludes the brought-in air bubble (D) from the identification target of the air bubble (B); Inspection system.
4. In the inspection system of claim 3, when a new air bubble candidate (C) appears at a location where the deviation of the relative position is within the predetermined range in image data of the object (10) captured by the imaging unit (30) at a later time after the movement of the brought-in air bubble (D), the determination unit (40a) determines that the air bubble candidate (C) is a leaking air bubble. Inspection system.
5. 2. The inspection system of claim 1, The determination unit (40a) determines that an air bubble candidate (C) in first image data captured by the imaging unit (30) at a first time is a carry-in air bubble (D) when a relative positional deviation with respect to the target object (10) falls outside a predetermined range in image data captured by the imaging unit (30) at a later time, and determines that the air bubble candidate (C) is a leaking air bubble when a new air bubble candidate (C) appears at a location where the relative positional deviation is within the predetermined range in image data captured by the imaging unit (30) at a later time. Inspection system.
6. In the inspection system according to any one of claims 1 to 5, a conveying unit (25) that moves the object (10) in a first direction in water; The imaging unit (30) captures an image of the object (10) transported by the transport unit (25). Inspection system.
7. 7. The inspection system of claim 6, the control unit (40) identifies the bubble (B) using a first index, which indicates a change in position of the object (10) accompanying the movement of the object (10) in the first direction, as a parameter; Inspection system.
8. 8. The inspection system of claim 7, the control unit (40) performs a first process for removing the air bubble candidates (C) in the two image data of the object (10) captured by the imaging unit (30) from targets for identifying air bubbles (B) when a positional deviation of the air bubble candidates (C) in the two image data is within a predetermined range, and corrects, in the first process, the position of the air bubble candidate (C) in the image data captured later of the two image data, based on the first index; Inspection system.
9. In the inspection system according to any one of claims 1 to 5, the control unit (40) performs a second process of identifying the air bubble candidates (C) in the two image data of the object (10) captured by the imaging unit (30) as air bubbles (B) when a condition is established indicating that a luminance difference between the air bubble candidates (C) in the two image data is smaller than a predetermined value. Inspection system.
10. In the inspection system according to any one of claims 1 to 5, the control unit (40) identifies a leakage point of the object (10) based on the position of the lowest air bubble (B) among a plurality of image data in which the same air bubble (B) is identified. Inspection system.
11. The inspection system of claim 10, the control unit (40) identifies the leakage point of the object (10) based on first data in which the positions of the bubbles (B) are associated in advance with the leakage point of the object (10) and on the position of the lowest-positioned bubble (B); Inspection system.
12. In the inspection system according to any one of claims 1 to 5, The control unit (40) identifies bubbles (B) generated from the target (10) by using a convolutional neural network (CNN) or template matching. Inspection system.
13. In the inspection system according to any one of claims 1 to 5, and a notification unit (45) that notifies the user that air bubbles (B) are being generated from the object (10) or that the object (10) is leaking in response to the identification of the air bubbles (B) by the control unit (40). Inspection system.
14. an imaging section (30) imaging a compressor (10) having a sealed casing (11) in water; a control unit (40) identifies air bubbles (B) generated from the compressor (10) based on image data of the compressor (10) captured by the imaging unit (30); and a determination unit (40a) determines whether or not the air bubble candidate (C) in the image data is an air bubble (D) brought in when the object (10) is immersed in water; Testing method.
Citation Information
Patent Citations
Inspection system of die cast product, and inspection method of die cast product
JP2018155682A
