Inspection system and inspection method
The inspection system enhances efficiency by using a transport and imaging system to analyze air bubbles from multiple objects underwater, addressing the inefficiencies of individual immersion and removal in existing systems.
Patent Information
- Application Number
- JP2023045900
- 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 for die-cast products are inefficient as they require objects to be individually immersed and removed from a water tank, limiting continuous inspection of multiple objects.
An inspection system that uses a transport unit to move objects underwater, combined with imaging units and a control unit to analyze air bubbles, allowing simultaneous inspection of multiple objects by specifying their existence range and correcting inclination angles.
Improves inspection efficiency by enabling the simultaneous detection of air bubbles across multiple objects, reducing labor and costs, and stabilizing detection standards globally.
Smart Images

Figure 2024135282000001_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 object is placed in a water tank by an actuator, and after the inspection of the object is completed, the object is removed from the water tank again (FIG. 2 in the same document). For this reason, it is not possible to inspect multiple objects consecutively.
[0005] An object of the present disclosure is to improve the efficiency of object inspection. [Means for solving the problem]
[0006] The first aspect is directed to an inspection system, and includes a transport unit (25) that moves a plurality of objects (10) in a first direction underwater, an imaging unit (30) that images the plurality of objects (10) transported by the transport unit (25), and a control unit (40) that identifies bubbles (B) generated from the plurality of objects (10) based on image data of the plurality of objects (10) imaged by the imaging unit (30). The control unit (40) identifies the presence range of each of the plurality of objects (10) by identifying a positional relationship of the plurality of objects (10) in the image data of the plurality of objects (10) imaged by the imaging unit (30) at the time based on the time when the imaging unit (30) images the plurality of objects (10) and the moving speed of the plurality of objects (10) in the first direction.
[0007] In a first aspect, a transport unit (25) transports a plurality of objects (10) in a first direction. An imaging unit (30) appropriately captures images of the plurality of objects (10) being transported. A control unit (40) identifies an existence range of each of the objects (10) in the image data of the plurality of objects (10) based on the imaging time and the moving speed of the plurality of objects (10). This allows the occurrence of bubbles (B) to be determined collectively for the plurality of objects (10), thereby improving the efficiency of the inspection.
[0008] In the second aspect, in the first aspect, the control unit (40) extracts image data in which the multiple objects (10) do not overlap from the multiple image data of the multiple objects (10) captured by the imaging unit (30) at different times, and performs a binarization process on the image data to identify the contours of each of the multiple objects (10), calculates the inclination angle of the multiple objects (10) using the identified contours, and uses the calculated inclination angle to correct the inclination of the existence range of each of the multiple objects (10) to determine each existence range.
[0009] In the second aspect, the range of existence of each object (10) in the image data can be accurately identified by selectively using image data in which each object (10) can be individually identified, regardless of the imaging angle of the multiple objects (10) captured by the imaging unit (30).
[0010] In a third aspect, in the second aspect, the control unit (40) performs a masking process on areas other than the determined existence range of each of the plurality of objects (10) in the image data of the plurality of objects (10) captured by the imaging unit (30).
[0011] In the third aspect, by performing a masking process on the image data of multiple objects (10) to remove the determined range of existence of each object (10), it is possible to easily identify the bubbles (B) generated from each object (10).
[0012] In the fourth aspect, in the second aspect, the control unit (40) performs masking processing on areas other than the determined existence range of each of the plurality of objects (10) in the image data of the plurality of objects (10) captured by the imaging unit (30), and stores the image data subjected to the masking processing.
[0013] In the fourth aspect, image data of a plurality of objects (10) is masked to remove the determined range of existence of each object (10), and the image data that has been subjected to the masking process can be used to easily identify bubbles (B) emerging from each object (10).
[0014] In a fifth aspect, in the third or fourth aspect, the control unit (40) uses the image data on which the masking process has been performed to identify the air bubbles (B) for each of the plurality of objects (10) using a first index as a parameter that indicates a change in position of each of the plurality of objects (10) accompanying movement of the plurality of objects (10) in the first direction.
[0015] In the fifth aspect, bubbles (B) are identified taking into consideration the change in position of each object (10) in the first direction. This is because when each object (10) moves in the first direction, the coordinate positions of bubble candidates in the image data change in accordance with the movement of each object (10).
[0016] In the sixth aspect, in the fifth aspect, when the positional deviation of the air bubble candidates (C) in the two image data of the plurality of objects (10) captured by the imaging section (30) is within a predetermined range, the control section (40) performs a first process of excluding the air bubble candidates (C) in the two image data from identified targets of the air bubble (B).
[0017] In a sixth 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 identified target 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 that adhered to each object (10) when it was submerged in water (hereinafter referred to as a "carry-in air bubble"), a light reflecting portion in the piping, or the like.
[0018] In the seventh aspect, in the sixth aspect, the control unit (40) includes a determination unit (40a) that determines whether or not a bubble candidate (C) in the image data is an air bubble (D) that was brought in when the object (10) was immersed in water.
[0019] In the seventh aspect, it is possible to suppress erroneous determination of a leaking bubble. Also, by storing the position of the brought-in bubble (D) that has been excluded from the identification target of the bubble (B), even if the brought-in bubble (D) subsequently moves away from each target (10), it is possible to prevent the brought-in bubble (D) from being identified as a bubble (B), i.e., a leaking bubble.
[0020] In the eighth aspect, in the seventh 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) imaged 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).
[0021] In the eighth embodiment, image data can be used to easily determine whether a potential bubble (C) is a carried-in bubble (D).
[0022] In a ninth aspect, in any one of the first to eighth aspects, the control unit (40) performs a conversion process to match the position coordinates and size of each of the multiple objects (10) in image data in which the lowest bubble (B) is identified among multiple image data in which the same bubble (B) is identified with the position coordinates and size of a reference object (10) in first data in which the position of the bubble (B) is previously associated with the leakage points of the multiple objects (10).
[0023] In the ninth 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 of each object (10). Therefore, the control unit (40) identifies the leakage point of each object (10) based on the position of this air bubble (B).
[0024] In a tenth aspect, in the ninth aspect, the control unit (40) identifies leakage points of the plurality of objects (10) based on the first data on which the conversion process has been performed and the position of the lowest-positioned air bubble (B).
[0025] In the tenth aspect, by using the first data that associates the position of the bubble (B) with the leakage location of each object (10), the leakage location of each object (10) can be accurately classified.
[0026] An eleventh aspect is any one of the first to tenth aspects, wherein the control unit (40) identifies bubbles (B) generated from the plurality of objects (10) using a Convolutional Neural Network (CNN) or template matching.
[0027] In the eleventh aspect, by using CNN or template matching, it is possible to improve the accuracy of identifying the air bubbles (B) without binarizing the image data.
[0028] A twelfth aspect is any one of the first to eleventh aspects, further comprising an alarm unit (45) that, in response to the identification of the bubble (B) by the control unit (40), notifies that a bubble (B) is being generated from any of the plurality of objects (10) or that a leak is occurring from any of the plurality of objects (10).
[0029] In the twelfth 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).
[0030] A thirteenth aspect is any one of the first to twelfth aspects, wherein the transport section (25) moves the plurality of objects (10) in a horizontal direction as the first direction.
[0031] In the thirteenth aspect, the transport unit (25) moves each of the objects (10) in the water in the horizontal direction, which simplifies the configuration of the transport unit (25).
[0032] The fourteenth aspect is directed to an inspection system, and includes a transport unit (25) that moves a plurality of objects (10) arranged in two or more rows underwater in a first direction, a plurality of imaging units (30) that capture images of the plurality of objects (10) transported by the transport unit (25) and are arranged at different imaging angles with respect to the first direction, and a control unit (40) that identifies air bubbles (B) generated from the plurality of objects (10) based on a plurality of image data of the plurality of objects (10) captured by the plurality of imaging units (30).
[0033] In the fourteenth aspect, the transport unit (25) moves a plurality of objects (10) in a first direction, arranged in two or more rows. A plurality of imaging units (30) arranged at different imaging angles with respect to the first direction appropriately capture images of the plurality of objects (10) being transported. This allows the control unit (40) to identify the presence range of each of the objects (10) in the image data of the plurality of objects (10) based on the imaging time and moving speed of the plurality of objects (10). Therefore, the occurrence of bubbles (B) can be determined for the plurality of objects (10) collectively, thereby improving the inspection efficiency.
[0034] A fifteenth aspect is directed to an inspection method, in which a plurality of compressors (10), each having a sealed casing (11), are moved in a first direction underwater by a transport unit (25), the plurality of compressors (10) transported by the transport unit (25) are imaged by an imaging unit (30), and bubbles (B) generated from the plurality of compressors (10) are identified by a control unit (40) based on image data of the plurality of compressors (10) imaged by the imaging unit (30). The control unit (40) identifies the presence ranges of each of the plurality of compressors (10) by identifying a positional relationship of the plurality of compressors (10) in the image data of the plurality of compressors (10) imaged by the imaging unit (30) at the time based on the time when the imaging unit (30) images the plurality of compressors (10) and the moving speeds of the plurality of compressors (10) in the first direction.
[0035] In the fifteenth aspect, the occurrence of air bubbles (B) can be determined collectively for a plurality of compressors (10), thereby improving the efficiency of leakage inspection of the compressors (10).
[0036] The sixteenth aspect is directed to an inspection method, in which a plurality of compressors (10), each having a sealed casing (11), are arranged in two or more rows underwater by a conveying section (25) and moved in a first direction, the plurality of compressors (10) conveyed by the conveying section (25) are imaged by a plurality of imaging sections (30) arranged at different imaging angles with respect to the first direction, and air bubbles (B) generated from the plurality of compressors (10) are identified by a control section (40) based on image data of the plurality of compressors (10) imaged by the plurality of imaging sections (30).
[0037] In the sixteenth aspect, the occurrence of air bubbles (B) can be determined collectively for a plurality of compressors (10), thereby improving the efficiency of leakage inspection of the compressors (10).
[0038] In a seventeenth aspect, in the fifteenth or sixteenth aspect, the air bubble (B) is identified using a first index as a parameter, the first index indicating a change in position of each of the plurality of compressors (10) accompanying movement of the plurality of compressors (10) in the first direction.
[0039] In the seventeenth aspect, the air bubbles (B) are identified taking into consideration the change in position of each compressor (10) in the first direction. This is because when each compressor (10) moves in the first direction, the coordinate positions of air bubble candidates in the image data change in accordance with the movement of each compressor (10). [Brief description of the drawings]
[0040] [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 potential air bubble 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 of 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
[0041] (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.
[0042] If two compressors are hung in parallel on a hanger and moved sideways, and photographed with a camera from a direction perpendicular to the direction of movement, the problem arises that the air bubbles generated by the compressor located behind the camera cannot be photographed when the camera and the two compressors are aligned in a straight line or at any time before or after that. In addition, if multiple compressors are captured in a single captured image, it becomes necessary to identify each compressor and each leaking bubble individually. In addition, if an image is captured from an oblique direction other than perpendicular to the direction of movement (hereinafter simply referred to as an oblique direction), the compressors will appear to be moving away from the camera, so in order to identify the leak location, it is necessary to correct not only the position coordinates of the compressors but also their size and angle.
[0043] By arranging multiple cameras in a direction parallel to the direction of compressor movement and taking videos of the compressors from an oblique direction, it is possible to take pictures of both of the compressors lined up in two rows. In this case, each compressor and each leaking bubble can be identified, for example, by the following procedure. (1) For example, based on the time that has elapsed since the image capture start signal was received, the positional relationship between each compressor is identified, and the range in which each compressor exists is tentatively determined. (2) To correct the inclination of the compressors in the image, in order to read the outline of each compressor, the image is binarized when the compressors are not overlapping each other, the outline of each compressor is extracted, the inclination angle is calculated, and the inclination of the area in which each compressor is present is corrected and determined. (3) Areas other than the area where each compressor is present are masked, and images in which each compressor is individually identified are saved in a designated folder (for example, in the case of the compressor in the front, a folder named "Compressor (front) folder"), after which the image is processed to detect the lowest point of the leaking bubble. (4) When photographing from an oblique angle, the size of the compressor changes over time, which may lead to a misidentification of the leak location. Therefore, in the image in which the lowest point of the leakage bubble is detected, a correction is performed to match the size change over time using a coefficient for resizing the compressor to match the passage of time, and the size is adjusted to match the standard compressor size registered in a database of potential leak locations (welded locations, etc.), thereby identifying the leak location.
[0044] If the two compressors are hung from a hanger in a staggered position rather than parallel and moved sideways, it becomes easier to identify each compressor and each leaking bubble, but the inspection efficiency decreases. Also, if a camera is installed in a position looking down on the compressors diagonally from above and only the compressor at the back is photographed from the camera's perspective, or an underwater camera is installed between two compressors hung in parallel, it becomes easier to identify each compressor and each leaking bubble, but the number of cameras installed increases, and the inspection costs increase.
[0045] (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.
[0046] <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).
[0047] 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).
[0048] 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).
[0049] 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.
[0050] 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).
[0051] 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).
[0052] 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.
[0053] 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).
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] <Compressor Overview> An overview of the compressor (10) that is the subject of the present invention will be described with reference to FIG.
[0060] 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).
[0061] 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.
[0062] 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.
[0063] 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.
[0064] 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.
[0065] <Operation of the inspection system> The operation of the inspection system 20 will now be described in detail.
[0066] 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).
[0067] 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.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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).
[0072] 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.
[0073] 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.
[0074] 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).
[0075] 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.
[0076] 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.
[0077] 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).
[0078] 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.
[0079] 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).
[0080] 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).
[0081] 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.
[0082] 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).
[0083] 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.
[0084] 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.
[0085] 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.
[0086] 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.
[0087]
number
[0088] 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.
[0089] 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.
[0090] Steps S18, S19, and S25 correspond to the first process of the present disclosure.
[0091] 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)).
[0092] 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).
[0093] 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.
[0094] 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.
[0095] 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).
[0096] 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).
[0097] 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).
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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.
[0102] 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).
[0103] 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.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] 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.
[0108] 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).
[0109] 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.
[0110] <Features of the embodiment> The inspection system (20) of the embodiment includes a transport unit (25) that moves the multiple compressors (10) in a first direction underwater, a camera (30) that captures images of the multiple compressors (10) transported by the transport unit (25), and a control unit (40) that identifies air bubbles (B) generated from the multiple compressors (10) based on image data of the multiple compressors (10) captured by the camera (30). The control unit (40) identifies the positional relationship of each compressor (10) in the image data of each compressor (10) captured by the camera at the time based on the time when the camera (30) captured an image of each compressor (10) and the moving speed of each compressor (10) in the first direction, thereby identifying the range in which each compressor (10) exists. This allows the generation of air bubbles (B) to be determined collectively for the multiple compressors (10), thereby improving the inspection efficiency. 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 it is possible to stabilize the quality of the compressor (10), and it is also possible to stabilize the quality of the compressor (10) globally, regardless of the inspection location. In addition, it is possible to eliminate visual inspection of air bubbles leaking from the compressor (10), and therefore it is possible to eliminate repetitive work and reduce the burden on the operator. Furthermore, it is possible to identify the location of air bubbles leaking from the compressor (10), and therefore it is possible to reduce the burden and cost in the subsequent process, such as a soapy water test. In particular, by automating the detection of air bubbles leaking in a mass production line of two hanging compressors, as in this embodiment, a significant cost reduction effect is expected.
[0111] In the inspection system (20) of the embodiment, the control unit (40) may extract image data in which the compressors (10) do not overlap from among the multiple image data of the multiple compressors (10) captured by the camera (30) at different times, and perform a binarization process on the image data to identify the contour of each compressor (10), calculate the inclination angle of each compressor (10) using the identified contour, and correct the inclination of the existence range of each compressor (10) using the calculated inclination angle to determine each existence range. In this way, it is possible to accurately identify the existence range of each compressor (10) in the image data by selectively using image data that allows each compressor (10) to be individually identified, regardless of the image capturing angle of the compressor (10) captured by the camera (30).
[0112] In the inspection system (20) of the embodiment, the control unit (40) may perform a mask process on areas other than the determined presence range of each compressor (10) in the image data of the multiple compressors (10) captured by the camera (30), thereby making it possible to easily identify the air bubbles (B) generated from each compressor (10).
[0113] In the inspection system (20) of the embodiment, the control unit (40) may perform masking on areas other than the determined presence range of each compressor (10) in the image data of the multiple compressors (10) captured by the camera (30) and store the image data after the masking. This makes it possible to easily identify bubbles (B) generated from each compressor (10) using the image data after the masking.
[0114] In the inspection system (20) of the embodiment, the control unit (40) may use the masked image data to identify air bubbles (B) for each of the compressors (10) using a first index, which indicates a change in position of each of the compressors (10) accompanying movement of the compressors (10) in the first direction, as a parameter. In this manner, air bubbles (B) are identified in consideration of the change in position of each of the compressors (10) accompanying the first direction because, when each compressor (10) moves in the first direction, the coordinate position of the air bubble candidate in the image data changes accompanying the movement of each compressor (10).
[0115] In the inspection system (20) of the embodiment, the control unit (40) may perform a first process of excluding the air bubble candidate (C) in the two image data of the compressors (10) captured by the camera (30) from targets for identifying the air bubble (B) when the positional deviation of the air bubble candidate (C) in the two image data is within a predetermined range. 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 carried in when each compressor (10) is submerged in water or a light reflecting part in the piping. In this case, the control unit (40) may correct the position of the air bubble candidate (C) in the image data captured later of the two image data based on the first index in the first process. In this way, by correcting the position of the air bubble candidate (C) in consideration of the movement of the compressor (10), it is possible to suppress erroneous determination of a part (reflection part (R)) of the compressor (10) as an air bubble (B) due to the movement of the position of the part (reflection part (R)) of the compressor (10) as shown in FIG. 8, for example.
[0116] In the inspection system (20) of the embodiment, the control unit (40) may include a determination unit (40a) that determines whether or not the bubble candidate (C) in the image data is a carried-in bubble (D) that was carried in when the compressor (10) was immersed in water. This makes it possible to suppress erroneous determination of a leaking bubble. In addition, by storing the position of the carried-in bubble (D) that has been excluded from the identification target of the bubble (B), even if the carried-in bubble (D) subsequently moves away from each target (10), it is possible to prevent the carried-in bubble (D) from being identified as a bubble (B), i.e., a leaking bubble.
[0117] 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.
[0118] In the inspection system (20) of the embodiment, the control unit (40) may perform a conversion process to match the position coordinates and size of each of the plurality of compressors (10) in the image data in which the lowest air bubble (B) is identified among the plurality of image data in which the same air bubble (B) is identified with the position coordinates and size of the reference compressor (10) in the first data in which the position of the air bubble (B) is previously associated with the leakage points of the plurality of compressors (10). That is, when there are a plurality of image data in which the same air bubble (B) is identified, the position of the lowest air bubble (B) (e.g., the air bubble (B) in the image data C in FIG. 12) is closest to the leakage point of each target object (10). Therefore, the control unit (40) identifies the leakage point of each compressor (10) based on the position of this air bubble (B).
[0119] In the inspection system (20) of the embodiment, the control unit (40) identifies the leakage point of each compressor (10) based on the first data that has been subjected to the conversion process and the position of the lowest air bubble (B). In this manner, by using the first data that associates the position of the air bubble (B) with the leakage point of each compressor (10), it is possible to accurately classify the leakage point of each compressor (10).
[0120] In the inspection system 20 of the embodiment, the control unit 40 may use CNN or template matching to identify air bubbles B generated from the multiple compressors 10. This can improve the accuracy of identifying the air bubbles B without binarizing the image data.
[0121] In the inspection system (20) of the embodiment, 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 perform a second process in which the air bubble candidates (C) in the two image data are identified as air bubbles (B). This can improve the accuracy of identifying the air bubbles (B).
[0122] The inspection system (20) of the embodiment may include a notification unit (terminal device (45)) that notifies that air bubbles (B) are being generated from any of the plurality of compressors (10) or that any of the plurality of compressors (10) is leaking, 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 air bubble (B) leakage, allowing the inspector to take measures quickly.
[0123] In the inspection system 20 according to the embodiment, the transport unit 25 may move each of the objects 10 in the water in a horizontal direction, thereby simplifying the configuration of the transport unit 25.
[0124] Another aspect of the inspection system (20) of the embodiment includes a transport unit (25) that moves a plurality of compressors (10) arranged in two or more rows in water in a first direction, a plurality of cameras (30) that capture images of the plurality of compressors (10) transported by the transport unit (25) and are arranged at different image capturing angles with respect to the first direction, and a control unit (40) that identifies bubbles (B) generated from the plurality of compressors (10) based on a plurality of image data of the plurality of compressors (10) captured by the plurality of cameras (30). This allows the control unit (40) to identify the presence range of each compressor (10) in the image data of the plurality of compressors (10) based on the image capturing time and the moving speed of the plurality of compressors (10). Therefore, the generation of bubbles (B) can be determined for the plurality of compressors (10) collectively, thereby improving the inspection efficiency.
[0125] In the inspection method of the embodiment, a plurality of compressors (10), each having a sealed casing (11), are moved in a first direction underwater by a conveying unit (25), the plurality of compressors (10) conveyed by the conveying unit (25) are imaged by a camera (30), and air bubbles (B) generated from the plurality of compressors (10) are identified by a control unit (40) based on image data of the plurality of compressors (10) captured by the camera (30). The control unit (40) identifies the positional relationship of the plurality of compressors (10) in the image data of the plurality of compressors (10) captured by the camera (30) at the time based on the time when the camera (30) captured the images of the plurality of compressors (10) and the moving speed of the plurality of compressors (10) in the first direction, thereby identifying the existence range of each of the plurality of compressors (10). This allows the generation of air bubbles (B) to be determined collectively for the plurality of compressors (10), thereby improving the efficiency of leakage inspection of the compressors (10).
[0126] In another aspect of the inspection method of the embodiment, a plurality of compressors (10), each having a sealed casing (11), are arranged in two or more rows underwater by a conveyor unit (25) and moved in a first direction, the plurality of compressors (10) conveyed by the conveyor unit (25) are imaged by a plurality of cameras (30) arranged at different imaging angles with respect to the first direction, and air bubbles (B) generated from the plurality of compressors (10) are identified by a control unit (40) based on image data of the plurality of compressors (10) captured by the plurality of cameras (30). This allows the generation of air bubbles (B) to be determined collectively for the plurality of compressors (10), thereby improving the efficiency of leakage inspection of the compressors (10).
[0127] In the inspection method of the embodiment, the air bubble (B) may be identified using as a parameter a first index indicating a change in position of each of the multiple compressors (10) accompanying movement of the multiple compressors (10) in the first direction. In this manner, the air bubble (B) is identified taking into consideration the change in position of each compressor (10) accompanying the first direction because, when each compressor (10) moves in the first direction, the coordinate position of the air bubble candidate in the image data changes accompanying the movement of each compressor (10).
[0128] (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 imaging unit does not have to be a camera, but may be an optical sensor.
[0129] 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]
[0130] INDUSTRIAL APPLICABILITY As described above, the present disclosure is useful for an inspection system and an inspection method. [Explanation of symbols]
[0131] 10 Compressor (object) 11 Casing 20 Inspection System 25 Conveyor 30 Camera (imaging unit) 40 Control section 40a Judgment part 45 Terminal device (alarm unit)
Claims
1. a conveying unit (25) that moves a plurality of objects (10) in a first direction underwater; an imaging section (30) that captures images of the plurality of objects (10) transported by the transport section (25); a control unit (40) that identifies bubbles (B) generated from the plurality of objects (10) based on image data of the plurality of objects (10) captured by the imaging unit (30), the control unit (40) specifies a positional relationship of the multiple objects (10) in image data of the multiple objects (10) captured by the imaging unit (30) at a time based on the time and the moving speed of the multiple objects (10) in the first direction, thereby specifying a presence range of each of the multiple objects (10); Inspection system.
2. 2. The inspection system of claim 1, the control unit (40) extracts image data in which the plurality of objects (10) do not overlap from among the plurality of image data of the plurality of objects (10) captured by the imaging unit (30) at different times, and performs a binarization process on the image data to identify contours of the plurality of objects (10), calculates inclination angles of the plurality of objects (10) using the identified contours, and corrects the inclination of the existence range of each of the plurality of objects (10) using the calculated inclination angles to determine each existence range. Inspection system.
3. 3. The inspection system of claim 2, the control unit (40) performs a mask process on an area other than the determined existence range of each of the plurality of objects (10) in the image data of the plurality of objects (10) captured by the imaging unit (30); Inspection system.
4. 3. The inspection system of claim 2, the control unit (40) performs a mask process on an area other than the determined existence range of each of the plurality of objects (10) in the image data of the plurality of objects (10) captured by the imaging unit (30), and stores the image data subjected to the mask process. Inspection system.
5. In the inspection system of claim 3, the control unit (40) uses the image data that has been subjected to the mask processing to identify the air bubbles (B) for each of the plurality of objects (10) using as a parameter a first index that indicates a change in position of each of the plurality of objects (10) accompanying the movement of the plurality of objects (10) in the first direction; Inspection system.
6. 6. The inspection system of claim 5, the control unit (40) performs a first process of excluding the air bubble candidates (C) in the two image data of the plurality of objects (10) captured by the imaging unit (30) from identified targets of air bubbles (B) when a positional shift between the air bubble candidates (C) in the two image data is within a predetermined range; Inspection system.
7. 7. The inspection system of claim 6, 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.
8. The inspection system of claim 7, 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.
9. In the inspection system according to any one of claims 1 to 8, the control unit (40) performs a conversion process of matching the position coordinates and size of each of the plurality of objects (10) in the image data in which the lowest-positioned bubble (B) is identified among the plurality of image data in which the same bubble (B) is identified with the position coordinates and size of a reference object (10) in first data in which the position of the bubble (B) is previously associated with the leakage point of the plurality of objects (10); Inspection system.
10. 10. The inspection system of claim 9, the control unit (40) identifies leakage points of the plurality of objects (10) based on the first data that has been subjected to the conversion process and the position of the lowest-positioned air bubble (B). Inspection system.
11. In the inspection system according to any one of claims 1 to 8, The control unit (40) identifies bubbles (B) generated from the plurality of objects (10) by using a convolutional neural network (CNN) or template matching. Inspection system.
12. In the inspection system according to any one of claims 1 to 8, and a notification unit (45) that notifies the user that a bubble (B) is being generated from any one of the plurality of objects (10) or that any one of the plurality of objects (10) is leaking in response to the identification of the bubble (B) by the control unit (40). Inspection system.
13. In the inspection system according to any one of claims 1 to 8, The conveying section (25) moves the plurality of objects (10) in a horizontal direction as the first direction. Inspection system.
14. a conveying unit (25) that moves a plurality of objects (10) arranged in two or more rows in a first direction underwater; a plurality of imaging units (30) that capture images of the plurality of objects (10) transported by the transport unit (25) and are arranged at different imaging angles with respect to the first direction; and a control unit (40) that identifies bubbles (B) generated from the plurality of objects (10) based on a plurality of image data of the plurality of objects (10) captured by the plurality of imaging units (30). Inspection system.
15. a plurality of compressors (10), each having a sealed casing (11), are moved in a first direction by a conveying section (25) underwater; an imaging section (30) images the compressors (10) transported by the transport section (25); a control unit (40) identifying air bubbles (B) generated from the plurality of compressors (10) based on image data of the plurality of compressors (10) captured by the imaging unit (30); the control unit (40) specifies a positional relationship of the multiple compressors (10) in image data of the multiple compressors (10) captured by the imaging unit (30) at the time based on the time and the moving speeds of the multiple compressors (10) in the first direction, thereby specifying a presence range of each of the multiple compressors (10). Testing method.
16. a plurality of compressors (10), each having a sealed casing (11), are arranged in two or more rows and moved in a first direction by a conveying section (25) underwater; capturing images of the compressors (10) transported by the transport section (25) using a plurality of imaging sections (30) arranged at different imaging angles with respect to the first direction; a control unit (40) identifying air bubbles (B) generated from the plurality of compressors (10) based on image data of the plurality of compressors (10) captured by the plurality of imaging units (30); Testing method.
17. 17. The inspection method according to claim 15 or 16, identifying the air bubbles (B) using a first index, which indicates a change in position of each of the plurality of compressors (10) accompanying the movement of the plurality of compressors (10) in the first direction, as a parameter; Testing method.
Citation Information
Patent Citations
Inspection system of die cast product, and inspection method of die cast product
JP2018155682A
Cited By
Method and system for inspecting leak defects in industrial gas cylinder sealing process using artificial intelligence technology
KR102858148B1
